/*
Theme Name: Kaigotaxi Theme
Theme URI: https://hidamari-kaigotaxi.com
Description: 介護タクシー事業者検索サイト用テーマ
Version: 1.0.0
Author: Hidamari
Author URI: https://hidamari-kaigotaxi.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaigotaxi-theme
Domain Path: /languages
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
}

.site-description {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

/* Main Content */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 12px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.service-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.service-checkbox label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.search-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

/* Operators List */
.operators-section {
    margin-bottom: 2rem;
}

.operators-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.operator-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.operator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.operator-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.operator-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-operating {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.status-booking {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.operator-info {
    margin-bottom: 1rem;
}

.operator-info-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.operator-info-label {
    font-weight: 600;
    color: var(--text-light);
    min-width: 80px;
}

.operator-catchphrase {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--secondary-color);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.operator-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.business-hours {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.site-footer p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-nav {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.75;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-nav-sep {
    margin: 0 0.6rem;
    opacity: 0.4;
}

/* 特定商取引法ページ */
.tokusho-main {
    padding: 2rem 1rem 4rem;
}

.tokusho-container {
    max-width: 860px;
    margin: 0 auto;
}

.tokusho-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.tokusho-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.tokusho-table th,
.tokusho-table td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.7;
    vertical-align: top;
}

.tokusho-table th {
    background: var(--secondary-color);
    font-weight: 600;
    width: 30%;
    white-space: nowrap;
}

.tokusho-table small {
    display: block;
    color: #666;
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.tokusho-table a {
    color: var(--primary-color);
}

.tokusho-note {
    font-size: 0.9rem;
    color: #555;
}

.tokusho-note a {
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .tokusho-table th {
        width: 40%;
        white-space: normal;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.875rem;
    }

    .search-filters {
        grid-template-columns: 1fr;
    }

    .operators-grid {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   事業者一覧ページ
   ======================================== */
.directory-main {
    padding: 2rem 0;
    background: #f7f9fc;
    min-height: 60vh;
}

.directory-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.directory-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    border-left: 5px solid #e85d04;
    padding-left: 0.75rem;
}

.directory-count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* TOP固定カード */
.featured-section {
    position: relative;
    margin-bottom: 2.5rem;
}

.featured-label {
    display: inline-block;
    background: #e85d04;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.05em;
}

.operator-card--featured {
    border: 2px solid #e85d04 !important;
    background: #fffdf9 !important;
    border-radius: 0 8px 8px 8px !important;
    padding: 1.5rem !important;
}

.operator-card--featured .operator-name a {
    color: #e85d04;
    text-decoration: none;
    font-size: 1.4rem;
}

.operator-card--featured .operator-name a:hover {
    text-decoration: underline;
}

.operator-details {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1rem;
}

.operator-details li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #333;
    border-bottom: 1px dashed #eee;
}

.operator-details li:last-child {
    border-bottom: none;
}

.detail-label {
    display: inline-block;
    width: 90px;
    font-weight: 600;
    color: #555;
    font-size: 0.85rem;
}

.operator-details a {
    color: #1a73e8;
    text-decoration: none;
}

.operator-details a:hover {
    text-decoration: underline;
}

.btn-website {
    display: inline-block;
    background: #e85d04;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.btn-website:hover {
    background: #c94e00;
}

/* 市区町村フィルター */
.municipality-filter {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.municipality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.municipality-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f0f4ff;
    color: #2c5282;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.municipality-tag:hover {
    background: #2c5282;
    color: #fff;
}

.tag-count {
    background: #2c5282;
    color: #fff;
    border-radius: 10px;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    min-width: 1.2rem;
    text-align: center;
}

.municipality-tag:hover .tag-count {
    background: #fff;
    color: #2c5282;
}

/* 市区町村セクション */
.municipality-section {
    margin-bottom: 2.5rem;
}

.municipality-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    background: #2c5282;
    color: #fff;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

/* 事業者グリッド */
.operator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #e8edf5;
    padding: 1rem;
    border-radius: 0 0 6px 6px;
}

/* 事業者カード（共通） */
.operator-card {
    background: #fff;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}

.operator-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.operator-card .operator-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.operator-catchphrase {
    font-size: 0.82rem;
    color: #e85d04;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.operator-info {
    font-size: 0.78rem;
    color: #555;
    line-height: 1.5;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .operator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .directory-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .operator-grid {
        grid-template-columns: 1fr;
    }
    .detail-label {
        width: 75px;
    }
}

/* ========================================
   トップページ（カード一覧）
   ======================================== */
.hp-main {
    background: #f0f4f8;
    min-height: 80vh;
}

/* ヒーロー */
.hp-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c6fad 100%);
    padding: 2rem 1rem;
    text-align: center;
}
.hp-hero-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}
.hp-hero-sub {
    color: #b8d4ef;
    font-size: 0.95rem;
}

/* コンテナ */
.hp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* エリア絞り込みバー */
.area-filter-bar {
    background: #2c5282;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}
.area-filter-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.area-filter-label {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}
.area-select {
    flex: 1;
    min-width: 160px;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    border: none;
    font-size: 0.9rem;
    background: #fff;
    color: #1a1a1a;
}
.area-select:disabled {
    background: #cbd5e0;
    color: #718096;
    cursor: not-allowed;
}
.area-filter-btn {
    padding: 0.45rem 1.2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.area-filter-btn:hover {
    background: var(--primary-dark);
}

/* 都道府県セクション（全国表示時） */
.prefecture-section {
    margin-bottom: 2.5rem;
}
.prefecture-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
    margin-bottom: 1rem;
}
.operator-area {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.25rem 0 0.5rem;
}

/* 先着無料アピールバナー */
.free-slot-banner {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: white;
    padding: 0.9rem 1rem;
}
.free-slot-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.free-slot-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.free-slot-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}
.free-slot-text strong {
    font-size: 1.05rem;
    display: inline;
}
.free-slot-sub {
    display: block;
    font-size: 0.82rem;
    opacity: 0.88;
    margin-top: 0.15rem;
}
.free-slot-cta {
    background: #fff;
    color: #0f766e;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.45rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.free-slot-cta:hover {
    opacity: 0.85;
}
@media (max-width: 600px) {
    .free-slot-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .free-slot-cta {
        align-self: stretch;
        text-align: center;
    }
}

/* 有料会員募集バナー */
.recruitment-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 0.85rem 1.5rem;
    margin-bottom: 0;
}
.recruitment-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.recruitment-badge {
    background: #fff;
    color: #d97706;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.recruitment-text {
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
}
.recruitment-price {
    font-size: 0.95rem;
    font-weight: 700;
    background: rgba(0,0,0,0.15);
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
}
.recruitment-feature {
    font-size: 0.82rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}
.recruitment-cta {
    background: #fff;
    color: #d97706;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.recruitment-cta:hover {
    opacity: 0.85;
}

/* お問い合わせページ */
.contact-main {
    padding: 2rem 1rem 4rem;
}
.contact-container {
    max-width: 700px;
    margin: 0 auto;
}
.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}
.contact-info-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.contact-info-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.75rem;
}
.contact-info-list {
    margin: 0.5rem 0 0.75rem 1.25rem;
    line-height: 1.9;
}
.contact-info-note {
    font-size: 0.85rem;
    color: #78350f;
    margin-top: 0.5rem;
}
.contact-success {
    background: #d1fae5;
    border: 2px solid var(--success-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #065f46;
}
.contact-errors {
    background: #fee2e2;
    border: 2px solid var(--danger-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
}
.contact-errors ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.9;
}
.contact-form {
    display: grid;
    gap: 1.25rem;
}
.form-group {
    display: grid;
    gap: 0.4rem;
}
.form-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}
.required {
    background: var(--danger-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    margin-left: 0.3rem;
    vertical-align: middle;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-color);
    background: #fff;
    transition: border-color 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 140px;
}
.form-submit {
    text-align: center;
    margin-top: 0.5rem;
}
.form-btn {
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 3rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.form-btn:hover {
    background: var(--primary-dark);
}
.form-privacy {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* 件数ヘッダー */
.result-header {
    margin-bottom: 1rem;
}
.result-count {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3a5c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.count-badge {
    background: #2c5282;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
}

/* カードグリッド */
.operator-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* カード共通 */
.op-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.op-card:hover {
    box-shadow: 0 5px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* おすすめカード */
.op-card--featured {
    border: 2px solid #e85d04;
    position: relative;
}
.op-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #e85d04;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 0 0 6px 0;
    letter-spacing: 0.05em;
}

/* カードヘッド */
.op-card-head {
    background: #f0f5fb;
    padding: 0.85rem 1rem 0.6rem;
    border-bottom: 1px solid #e2e8f0;
}
.op-card--featured .op-card-head {
    background: #fff8f5;
    padding-top: 1.6rem;
}
.op-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.op-card-name a {
    color: #e85d04;
    text-decoration: none;
}
.op-card-name a:hover {
    text-decoration: underline;
}
.op-card-area {
    font-size: 0.8rem;
    color: #4a6fa5;
    font-weight: 600;
}

/* カードボディ */
.op-card-body {
    padding: 0.75rem 1rem;
    flex: 1;
}
.op-card-catch {
    font-size: 0.83rem;
    color: #c94e00;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

/* 情報リスト */
.op-card-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.op-card-info li {
    font-size: 0.82rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}
.op-card-info a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}
.op-card-info a:hover {
    text-decoration: underline;
}

/* タグ */
.info-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.info-tag--tel  { background: #e3f2fd; color: #1565c0; }
.info-tag--addr { background: #e8f5e9; color: #2e7d32; }
.info-tag--lic  { background: #fff3e0; color: #e65100; }

/* カードフッター */
.op-card-foot {
    padding: 0.6rem 1rem;
    border-top: 1px solid #e8edf5;
    background: #f7faff;
    text-align: center;
}
.op-card-link {
    display: block;
    color: #2c5282;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.op-card-link:hover {
    color: #e85d04;
    text-decoration: underline;
}
.op-card-link-plain {
    display: block;
    color: #aaa;
    font-size: 0.82rem;
}

/* レスポンシブ */
@media (max-width: 680px) {
    .operator-cards-grid {
        grid-template-columns: 1fr;
    }
    .hp-hero-title {
        font-size: 1.4rem;
    }
}

/* ===== Operator Card Thumbnail ===== */
.op-card-thumb {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f0f0f0;
    flex-shrink: 0;
}
.op-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.op-card-thumb .op-card-badge {
    position: absolute;
    top: 8px;
    left: 0;
    margin: 0;
}

/* ===== Service & Vehicle Tags ===== */
.op-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.service-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #e8f4fd;
    color: #1a6fa8;
    border: 1px solid #b8d9f0;
    white-space: nowrap;
}
.op-card--featured .service-tag {
    background: #fff3e0;
    color: #c47c00;
    border-color: #f5c97a;
}
.info-tag--car {
    background: #e8f5e9;
    color: #2e7d32;
}
.op-card-link--plain {
    color: #1a6fa8;
    text-decoration: none;
    font-size: 13px;
}
.op-card-link--plain:hover {
    text-decoration: underline;
}
