/* =========================
   Clinic Detail
========================= */

.clinic-detail-page {
    background: #fff;
}

.clinic-fv {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #fff;
    background: #071b36;
}

.clinic-fv-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.clinic-fv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.clinic-fv-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 38, .68) 0%,
            rgba(4, 18, 38, .42) 38%,
            rgba(4, 18, 38, .12) 72%,
            rgba(4, 18, 38, .04) 100%
        );
}

.clinic-fv-inner {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    min-height: 620px;
    margin: 0 auto;
    padding: 80px 30px;
    display: flex;
    align-items: center;
}

.clinic-fv-content {
    max-width: 760px;
}

.clinic-plan-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
}

.clinic-premium-label,
.clinic-standard-label,
.clinic-basic-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.clinic-premium-label {
    color: #071a33;
    background: linear-gradient(135deg, #d7aa54, #f0d48b);
}

.clinic-standard-label {
    color: #8a5b00;
    background: #fff4d8;
}

.clinic-basic-label {
    color: #334155;
    background: #f1f5f9;
}

.clinic-fv-title {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.35;
    letter-spacing: .05em;
}

.clinic-fv-address {
    margin: 0 0 18px;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
    font-weight: 700;
}

.clinic-fv-text {
    max-width: 680px;
    margin: 0 0 28px;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
    font-size: 15px;
    line-height: 2;
}

.clinic-fv-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-detail .clinic-fv {
    min-height: 700px;
}

.premium-detail .clinic-fv-inner {
    min-height: 700px;
}

.premium-detail .clinic-fv-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 38, .74) 0%,
            rgba(4, 18, 38, .38) 42%,
            rgba(4, 18, 38, .08) 78%,
            rgba(4, 18, 38, 0) 100%
        );
}

.premium-detail .clinic-fv::after {
    content: "PREMIUM CLINIC";
    position: absolute;
    right: 40px;
    bottom: 36px;
    z-index: 3;
    color: rgba(255, 255, 255, .16);
    font-size: 64px;
    letter-spacing: .12em;
    line-height: 1;
}

/* =========================
   Summary
========================= */

.clinic-summary-section {
    padding-top: 42px;
    padding-bottom: 42px;
}

.clinic-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.clinic-summary-card {
    padding: 24px 18px;
    text-align: center;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(7, 26, 51, .06);
}

.clinic-summary-card strong {
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

.clinic-summary-card span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
    font-size: 13px;
}

/* =========================
   Info
========================= */

.clinic-info-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.clinic-info-table {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

.clinic-info-table th,
.clinic-info-table td {
    padding: 16px;
    border-bottom: 1px solid #e5edf6;
}

.clinic-info-table tr:last-child th,
.clinic-info-table tr:last-child td {
    border-bottom: 0;
}

.clinic-info-table th {
    width: 180px;
    color: #071a33;
    text-align: left;
    background: #f7f9fc;
}

.clinic-info-table td {
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
}

.clinic-side-cta {
    position: sticky;
    top: 96px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(7, 26, 51, .08);
}

.clinic-side-cta h3 {
    margin-top: 0;
    font-size: 22px;
}

.clinic-side-cta .btn {
    width: 100%;
    margin-top: 10px;
}

/* =========================
   Gallery
========================= */

.clinic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.clinic-gallery-item {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(7, 26, 51, .08);
}

.clinic-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s ease;
}

.clinic-gallery-item:hover img {
    transform: scale(1.06);
}

/* =========================
   Doctor
========================= */

.doctor-profile-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(7, 26, 51, .06);
}

.doctor-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
}

.doctor-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #c79538;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.doctor-profile-body h3 {
    margin: 0 0 14px;
    font-size: 30px;
}

.doctor-profile-body p {
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
}

.doctor-premium-comment {
    margin-top: 18px;
    padding: 18px;
    background: #fff8e8;
    border-left: 4px solid #c79538;
    border-radius: 10px;
}

/* =========================
   Case
========================= */

.case-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.case-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(7, 26, 51, .06);
}

.case-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #071b36;
}

.case-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.case-card p {
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
}

/* =========================
   Video / Interview / FAQ
========================= */

.premium-video-section {
    color: #fff;
    background: #061b37;
}

.video-placeholder {
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}

.video-placeholder span {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #071b36;
    background: #fff;
    font-size: 30px;
}

.interview-box {
    padding: 36px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(7, 26, 51, .06);
}

.interview-lead {
    margin-top: 0;
    color: #071a33;
    font-size: 26px;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    margin-bottom: 0;
    color: #334155;
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
}

.basic-notice-box {
    padding: 28px;
    text-align: center;
    background: #f7f9fc;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
}

.clinic-footer-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* =========================
   Fade In
========================= */

.reveal-up {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
    .clinic-fv,
    .premium-detail .clinic-fv {
        min-height: auto;
    }

    .clinic-fv-inner,
    .premium-detail .clinic-fv-inner {
        min-height: auto;
        padding: 90px 18px 50px;
    }

    .clinic-fv-title {
        font-size: 30px;
    }

    .clinic-fv-overlay,
    .premium-detail .clinic-fv-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 18, 38, .42) 0%,
                rgba(4, 18, 38, .74) 52%,
                rgba(4, 18, 38, .94) 100%
            );
    }

    .premium-detail .clinic-fv::after {
        right: 18px;
        bottom: 16px;
        font-size: 28px;
    }

    .clinic-summary-grid,
    .clinic-info-layout,
    .clinic-gallery-grid,
    .doctor-profile-card,
    .case-card-grid {
        grid-template-columns: 1fr;
    }

    .clinic-side-cta {
        position: static;
    }

    .clinic-info-table th,
    .clinic-info-table td {
        display: block;
        width: 100%;
    }

    .clinic-info-table th {
        border-bottom: 0;
        padding-bottom: 6px;
    }

    .doctor-photo img {
        height: 260px;
    }

    .video-placeholder {
        height: 240px;
    }

    .clinic-fv-buttons .btn,
    .clinic-footer-buttons .btn {
        width: 100%;
    }
}