/*
Theme Name: Sakura International Clinic
Author: Sakura Team
Description: WordPress theme for Sakura International Clinic landing page.
Version: 1.0.0
*/

        :root {
            --accent: #ef6a63;
            --accent-dark: #e65f57;
            --accent-soft: #fbd7d1;
            --accent-cream: #fff2e7;
            --ink: #333333;
            --muted: #7a7a7a;
            --shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
            --shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.08);
        }

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

        body {
            font-family: "Noto Sans JP", sans-serif;
            color: var(--ink);
            line-height: 1.6;
            background: #ffffff;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .site-header .container {
            max-width: none;
            width: 90%;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: #ffffff;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        }

        .header-inner {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 16px 0;
        }

        .site-logo img {
            height: 80px;
            width: auto;
        }

        .site-nav {
            display: flex;
            align-items: center;
            gap: 26px;
            color: #666666;
            font-size: 18px;
            font-weight: 600;
            margin-left: auto;
            margin-top: 18px;
        }

        .site-nav a:hover {
            color: var(--accent);
        }

        .header-actions {
            display: flex;
            align-items: flex-end;
            flex-direction: column;
            gap: 10px;
            margin-left: 30px;
        }

        .site-header .btn-primary {
            padding: 10px 22px;
            font-size: 20px;
            border-radius: 999px;
        }

        .lang-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #e2e2e2;
            border-radius: 999px;
            padding: 6px 14px;
            background: #ffffff;
            color: #666666;
            font-size: 12px;
            cursor: pointer;
        }

        .lang-icon {
            width: 16px;
            height: 16px;
        }

        .lang-caret {
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 5px solid #777777;
        }

/* =============================================================
   Language Dropdown Styles

   The language dropdown appears when the user clicks the language button.
   It is absolutely positioned relative to the .header-actions container to
   prevent shifting the overall header layout. Each menu item is styled to
   resemble a clickable list and the currently active language is
   highlighted and disabled.
   ============================================================= */

/* Ensure header actions container serves as the positioning context */
.header-actions {
    position: relative;
}

/* Base container for the language menu */
.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 100;
    font-size: 14px;
}

/* Remove default list styling from the menu */
.lang-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-menu li {
    margin: 0;
    padding: 0;
}

/* Style for each link and the current language label */
.lang-menu a,
.lang-menu .current-lang {
    display: block;
    padding: 8px 16px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
}

/* Hover state for links */
.lang-menu a:hover {
    background-color: #f7f7f7;
}

/* Current language styling */
.lang-menu .current-lang {
    font-weight: 700;
    cursor: default;
    color: #999999;
}

        .menu-toggle {
            border: none;
            background: transparent;
            padding: 0;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .menu-toggle img {
            width: 48px;
            height: 40px;
        }

        .hero .container {
            position: relative;
        }

        .section-title {
            font-family: "Noto Sans JP", sans-serif;
            font-size: 40px;
            font-weight: 700;
            color: var(--accent);
            text-align: center;
            margin-bottom: 12px;
        }

        .section-subtitle {
            text-align: center;
            color: #8a8a8a;
            font-size: 18px;
            max-width: 780px;
            margin: 0 auto 40px;
        }

        .service-lead {
            text-align: center;
            color: #e68b64;
            font-size: 20px;
            font-weight: 600;
            max-width: 820px;
            margin: 0 auto 10px;
        }

        .service-sub {
            text-align: center;
            color: #555;
            font-size: 16px;
            font-weight: 600;
            max-width: 820px;
            margin: 0 auto 40px;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 38px;
            border-radius: 999px;
            background: var(--accent);
            color: #ffffff;
            font-weight: 600;
            font-size: 20px;
            box-shadow: 0 8px 20px rgba(239, 106, 99, 0.35);
        }

        .btn-primary span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 20px;
            background: url("assets/images/calendar_check.svg") center/contain no-repeat;
            font-size: 0;
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 38px;
            border-radius: 999px;
            border: 2px solid var(--accent);
            color: var(--accent);
            font-weight: 600;
            font-size: 16px;
            background: #ffffff;
        }

        .hero {
            position: relative;
            padding: 130px 0 230px;
            min-height: 640px;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: url("assets/images/Mask group (2).webp") center/cover no-repeat;
            z-index: 0;
            pointer-events: none;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(95deg, rgba(233, 165, 156, 0.78) 0%, rgba(233, 165, 156, 0.45) 38%, rgba(255, 255, 255, 0.05) 80%);
            z-index: 1;
            pointer-events: none;
        }


        .hero-curve {
            position: absolute;
            left: 0;
            right: 0;
            bottom: -20px;
            height: 140px;
            background: #ffffff;
            z-index: 2;
            pointer-events: none;
            -webkit-mask: radial-gradient(120% 140px at 50% 0, transparent 62%, #000 63%);
            mask: radial-gradient(120% 140px at 50% 0, transparent 62%, #000 63%);
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
            color: #ffffff;
        }

        .hero h1 {
            font-family: "Noto Serif JP", serif;
            font-size: 38px;
            font-weight: 600;
            line-height: 1.35;
            margin-bottom: 18px;
            text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
        }

        .hero p {
            font-size: 30px;
            margin-bottom: 24px;
            color: #f2c971;
            font-weight: 700;
            text-shadow: -1px 1px 0 rgba(97, 70, 45, 0.5);
        }

        .hero small {
            display: block;
            color: #fce5c8;
            font-weight: 600;
            margin-bottom: 26px;
        }

        .hero-actions {
            margin-top: 18px;
        }

        .hero-stats {
            position: relative;
            left: 0;
            bottom: 0;
            transform: none;
            z-index: 4;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 40px;
            width: min(980px, 90%);
            margin: -160px auto 0;
        }

        .stat-card {
            background: #ffffff;
            border-radius: 14px;
            padding: 18px 20px 16px;
            text-align: center;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
        }

        .stat-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .stat-icon img {
            width: 100px;
            height: 100px;
        }

        .stat-title {
            color: var(--accent);
            font-weight: 700;
            font-size: 20px;
            margin-bottom: 6px;
        }

        .stat-value {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 18px;
            font-weight: 700;
            color: #555;
            margin-bottom: 6px;
        }

        .stat-value::before {
            content: "★";
            color: #666666;
            font-size: 1em;
        }

        .stat-note {
            font-size: 16px;
            color: #8a8a8a;
            line-height: 1.2;
        }

        .brand-strip {
            padding: 70px 0 90px;
            text-align: center;
        }

        .brand-logos {
            display: flex;
            justify-content: center;
            gap: 70px;
            flex-wrap: wrap;
        }

        .brand-logos img {
            height: 120px;
        }

        .about {
            padding: 70px 0 130px;
        }

        .about-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
            gap: 50px;
            align-items: center;
        }

        .about-photo {
            position: relative;
            width: 100%;
            height: auto;
            /* apply elliptical cropping and border */
            overflow: hidden;
            border: 6px solid #c5d7ef;
            /* horizontal and vertical radii for an oval shape */
            border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
            margin: 0;
        }

        .about-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* inherit the same border-radius from the parent container */
            border-radius: inherit;
        }

        .about-title {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 0px;
			font-size: 40px;
        }

        .about-heading {
            font-family: "Noto Sans JP", sans-serif;
			font-size: 40px;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .about-feature {
            display: grid;
            grid-template-columns: 60px 1fr;
            gap: 16px;
            margin-bottom: 18px;
        }

        .about-feature img {
            width: 100px;
        }

        .about-feature h4 {
            font-size: 20px;
            color: #444;
            margin-bottom: 0px;
        }

        .about-feature p {
            font-size: 16px;
            color: #7a7a7a;
        }

        .about-langs {
            display: flex;
            gap: 12px;
            margin-top: 12px;
        }

        .about-langs span {
            border: 1px solid #777;
            border-radius: 12px;
            padding: 4px 10px;
            font-size: 12px;
            color: #555;
        }

        .center-btn {
            text-align: center;
            margin-top: 36px;
        }

        @media (min-width: 901px) {
            .about-grid .center-btn {
                grid-column: 1 / -1;
                justify-self: center;
            }
        }

        .about .center-btn .btn-primary {
            padding: 10px 26px;
            font-size: 20px;
            box-shadow: 0 8px 16px rgba(239, 106, 99, 0.28);
        }

        .service {
            padding: 140px 0 150px;
            background: var(--accent-cream);
            position: relative;
            overflow: hidden;
        }

        .service .container {
            position: relative;
            z-index: 1;
            max-width: none;
        }

        .service::before {
            content: "";
            position: absolute;
            left: -120px;
            top: -40px;
            width: 300px;
            height: 300px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.18;
            pointer-events: none;
            z-index: 0;
        }

        .service::after {
            content: "";
            position: absolute;
            right: -80px;
            top: 120px;
            width: 380px;
            height: 380px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.12;
            pointer-events: none;
            z-index: 0;
        }

        .service-image {
            margin: 30px auto 50px;
            max-width: 760px;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 18px;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            padding: 0 24px;
        }

        .service-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 22px 16px;
            text-align: center;
            box-shadow: var(--shadow-soft);
            min-height: 220px;
            border: 1px solid #f1e3df;
        }

        .service-card img {
            height: 38px;
            margin: 0 auto 12px;
        }

        .service-card h4 {
            font-size: 20px;
            color: #555;
            margin-bottom: 8px;
        }

        .service-card p {
            font-size: 16px;
            color: #8a8a8a;
            line-height: 1.4;
        }

        .department {
            padding: 140px 0 130px;
            position: relative;
        }

        .department .section-title {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }

        .department .section-title img {
            width: 80px;
        }

        .department-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 40px;
            justify-content: center;
        }

        .department-card {
            flex: 0 1 calc(20% - 18px);
            border: 1px solid #e5e5e5;
            border-radius: 10px;
            padding: 20px 20px;
            min-height: 140px;
            background: #ffffff;
        }

        .dept-head {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .dept-head img {
            width: 35px;
            height: 35px;
        }

        .dept-head span {
            color: var(--accent);
            font-size: 20px;
            font-weight: 600;
        }

        .department-card h4 {
            display: none;
        }

        .department-card ul {
            list-style: none;
            font-size: 16px;
            color: #777;
            line-height: 1.7;
            padding-left: 12px;
        }

        .department-card ul li::before {
            content: "•";
            color: #999;
            margin-right: 6px;
        }

        .department-footer {
            text-align: center;
            margin-top: 30px;
            color: #666;
        }

        .book-steps {
            background: #fbd6d1;
            padding: 140px 0 140px;
            position: relative;
            overflow: hidden;
        }

        .book-steps .container {
            position: relative;
            z-index: 1;
        }

        .book-steps::before {
            content: "";
            position: absolute;
            left: -120px;
            top: -40px;
            width: 280px;
            height: 280px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.18;
            pointer-events: none;
            z-index: 0;
        }

        .book-steps::after {
            content: "";
            position: absolute;
            right: -120px;
            bottom: 80px;
            width: 360px;
            height: 360px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.14;
            pointer-events: none;
            z-index: 0;
        }

        .book-steps .section-title,
        .book-steps .section-subtitle {
            position: relative;
            z-index: 2;
        }

        .steps-grid {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 60px;
            margin-top: 40px;
			margin-bottom: 100px;
        }

        .step-card {
            background: #ffffff;
            border-radius: 14px;
            overflow: visible;
            box-shadow: var(--shadow-soft);
            position: relative;
        }

        .step-card img {
            height: 170px;
            width: 100%;
            object-fit: cover;
            border-radius: 14px 14px 0 0;
        }

        .step-body {
            padding: 20px 18px 16px 22px;
            text-align: center;
        }

        .step-number {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: #ffffff;
            border: 2px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #6aa4ff;
            margin: -70px 0 8px 16px;
            position: relative;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
			font-size: 30px;
        }

        .step-body h4 {
            color: #6aa4ff;
            font-size: 20px;
            margin-bottom: 6px;
        }

        .step-body p {
            font-size: 16px;
            color: #777;
        }

        .step-arrow {
            position: absolute;
            top: 50%;
            right: -45px;
            width: 40px;
            height: 150px;
            background: url("assets/images/Vector 5.png") center/contain no-repeat;
            transform: translateY(-50%);
        }

        .step-card:nth-child(1) .step-arrow,
        .step-card:nth-child(2) .step-arrow {
            display: block;
        }

        .step-card:nth-child(3) .step-arrow {
            display: none;
        }

        .steps-checklist {
            margin: 36px auto 40px;
            max-width: 820px;
            background: #ffffff;
            border: 1px dashed #999;
            border-radius: 14px;
            padding: 18px 24px;
            font-size: 13px;
            color: #666;
            display: grid;
            grid-template-columns: 180px 1fr;
            gap: 18px;
            align-items: center;
        }

        .checklist-label {
            font-weight: 600;
            color: #666;
            text-align: center;
        }

        .steps-checklist ul {
            list-style: none;
            display: grid;
            gap: 6px;
            padding-left: 0;
        }

        .steps-checklist li::before {
            content: "\2714";
            margin-right: 8px;
            color: #6aa4ff;
        }

        .steps-card {
            max-width: 820px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 18px;
            padding: 32px 36px;
            text-align: center;
            box-shadow: var(--shadow-soft);
        }

        .steps-card h3 {
            color: var(--accent);
            font-size: 30px;
            margin-bottom: 10px;
			line-height: 1.0
        }

        .steps-card p {
            font-size: 16px;
            color: #777;
            margin-bottom: 14px;
        }

        .steps-pill {
            display: block;
            background: var(--accent);
            color: #ffffff;
            padding: 6px 18px;
            border-radius: 999px;
            font-size: 18px;
            margin: 10px auto 18px;
            max-width: 520px;
        }

        .steps-rows {
            display: grid;
            gap: 18px;
            text-align: left;
            max-width: 520px;
            margin: 0 auto;
        }

        .steps-row {
            display: grid;
            grid-template-columns: 90px 1fr;
            gap: 16px;
            align-items: center;
        }

        .steps-row img {
            width: 80px;
			margin-left: auto;
			margin-right: auto;
        }

        .steps-row h4 {
            color: var(--accent);
            font-size: 20px;
            margin-bottom: 4px;
        }

        .pricing {
            padding: 140px 0;
            position: relative;
        }

        .pricing .container {
            position: relative;
            z-index: 1;
        }

        .pricing::before {
            content: "";
            position: absolute;
            left: -100px;
            top: -40px;
            width: 300px;
            height: 300px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.16;
            z-index: 0;
            pointer-events: none;
        }

        .pricing::after {
            content: "";
            position: absolute;
            left: 40px;
            top: 120px;
            width: 220px;
            height: 220px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.12;
            z-index: 0;
        }

        .pricing-content {
            position: relative;
            z-index: 1;
            max-width: 760px;
            margin: 0 auto;
        }

        .pricing-table {
            border: 1px solid #f1d8d4;
            border-radius: 18px;
            padding: 24px 30px;
            background: #ffffff;
        }

        .pricing-table h3 {
            font-family: "Noto Serif JP", serif;
            text-align: center;
            color: #777;
            margin-bottom: 18px;
			font-size: 30px;
        }

        .pricing-head {
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 35px;
            padding: 10px 12px;
            background: #fbeee8;
            border-radius: 10px;
            font-size: 18px;
            color: #777;
            font-weight: 600;
        }

        .pricing-row {
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 35px;
            align-items: center;
            padding: 12px;
            border-bottom: 1px dashed #ddd;
            font-size: 14px;
            color: #666;
        }

        .pricing-row:last-child {
            border-bottom: none;
        }

        .pricing-badge {
            background: #f7ede6;
            color: #888;
            border-radius: 999px;
            padding: 4px 0px;
            text-align: center;
            font-size: 11px;
            font-weight: 600;
        }

        .pricing-amount {
            text-align: right;
            font-weight: 600;
            color: #555;
        }

        .pricing-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 24px auto 0;
            padding: 10px 32px;
            border-radius: 999px;
            border: 1px solid var(--accent);
            color: var(--accent);
            font-weight: 600;
            background: #ffffff;
            cursor: pointer;
        }

        .pricing-accordion {
            margin-top: 18px;
        }

        .pricing-accordion summary {
            list-style: none;
        }

        .pricing-accordion summary::-webkit-details-marker {
            display: none;
        }

        .pricing-accordion summary .pricing-more {
            margin-top: 0;
        }

        .pricing-accordion[open] summary .pricing-more span:last-child {
            transform: rotate(180deg);
        }

        .pricing-accordion img {
            margin: 20px auto 0;
            border-radius: 18px;
            box-shadow: var(--shadow-soft);
        }

        .additional-charge {
            margin: 20px auto 0;
            border-radius: 18px;
            padding: 24px 26px 28px;
            background: #ffffff;
            box-shadow: var(--shadow-soft);
            color: #666;
        }

        .additional-charge h4 {
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            color: #777;
            margin-bottom: 6px;
        }

        .additional-note {
            text-align: center;
            font-size: 12px;
            color: #8a8a8a;
            margin-bottom: 18px;
        }

        .additional-table {
            border: 1px solid #f1d8d4;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .additional-head {
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 35px;
            padding: 12px;
            background: #fbeee8;
            font-size: 18px;
            color: #777;
            font-weight: 600;
			justify-items: start;
        }

        .additional-row {
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 35px;
            align-items: center;
            padding: 12px;
            border-bottom: 1px dashed #e1e1e1;
            font-size: 16px;
            color: #666;
        }

        .additional-row:last-child {
            border-bottom: none;
        }

        .additional-item {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .additional-item > div {
            min-width: 0;
        }

        .additional-item strong {
            display: block;
            font-weight: 600;
            color: #666;
            font-size: 14px;
        }

        .additional-item span {
            display: block;
            font-size: 11px;
            color: #888;
        }

        .additional-dots {
            flex: 1;
            border-bottom: 2px dotted #bcbcbc;
            opacity: 0.7;
            margin-top: 6px;
        }

        .additional-amount {
            text-align: right;
            font-weight: 600;
            color: #666;
			font-size: 14px;
        }

        .additional-footnote h5 {
            font-size: 20px;
            color: #777;
            margin-bottom: 8px;
            font-weight: 600;
            text-align: left;
        }

        .additional-footnote ul {
            list-style: none;
            display: grid;
            gap: 6px;
            padding-left: 0;
            font-size: 14px;
            color: #777;
            text-align: left;
        }

        .additional-footnote li::before {
            content: "・";
            margin-right: 6px;
            color: #999;
        }

        .doctor {
            background: linear-gradient(0deg, #ffffff 0%, #f7c6c2 40%, #f5c1bd 100%);
            padding: 70px 0 100px;
            position: relative;
            overflow: visible;
        }

        .doctor .container {
            position: relative;
            z-index: 1;
        }

        .doctor::before {
            content: "";
            position: absolute;
            left: -120px;
            top: 80px;
            width: 260px;
            height: 260px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.18;
            pointer-events: none;
            z-index: 0;
        }

        .doctor::after {
            content: "";
            position: absolute;
            right: 80px;
            top: 40px;
            width: 200px;
            height: 200px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.35;
            z-index: 0;
        }

        .doctor-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: 50px;
            align-items: start;
        }

        .doctor-photo {
            position: relative;
            border-radius: 20px;
            overflow: visible;
            /* box-shadow: var(--shadow-soft); */
        }

        .doctor-photo::before {
            content: "";
            position: absolute;
            top: -15px;
            left: -15px;
            right: 30px;
            bottom: 30px;
            /* background: #f5a8a0; */
            border-radius: 20px;
            z-index: -1;
        }

        .doctor-photo img {
            border-radius: 20px;
            position: relative;
            z-index: 1;
        }

        .doctor-sakura-decor {
            position: absolute;
            top: -25px;
            right: -10px;
            width: 50px;
            height: 50px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            z-index: 2;
            opacity: 0.8;
        }

        .doctor-media {
            display: grid;
            gap: 18px;
            margin-top: -120px;
        }

        .doctor-media .doctor-photo {
            border-radius: 20px;
        }

        .doctor-thumbs {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .doctor-thumb {
            border-radius: 18px;
            overflow: hidden;
            /* box-shadow: var(--shadow-soft); */
        }

        .doctor-thumb-small {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .doctor-thumb-small img {
            width: 85%;
        }

        .doctor-info {
            padding-top: 100px;
        }

        .doctor-info h4 {
            color: var(--accent);
            text-transform: capitalize;
            font-size: 40px;
            font-weight: 600;
            margin-bottom: 8px;
            text-align: left;
        }

        .doctor-info h3 {
            font-family: "Noto Serif JP", serif;
            font-size: 42px;
            font-weight: 400;
            margin-bottom: 24px;
            color: #333333;
            text-align: left;
        }

        .doctor-info p {
            font-size: 14px;
            color: #6f6f6f;
            line-height: 1.8;
            text-align: left;
            font-family: "Noto Sans JP", sans-serif;
        }

        .access {
            padding: 20px 0;
            text-align: center;
            position: relative;
        }

        .access .container {
            position: relative;
            z-index: 1;
        }

        .access::before {
            content: "";
            position: absolute;
            left: -40px;
            top: 60px;
            width: 220px;
            height: 220px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.16;
            z-index: 0;
        }

        .access::after {
            content: "";
            position: absolute;
            right: -120px;
            bottom: -20px;
            width: 260px;
            height: 260px;
            background: url("assets/images/sakura_international_clinic_logo 3.png") center/contain no-repeat;
            opacity: 0.14;
            pointer-events: none;
            z-index: 0;
        }

        .access h5 {
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #999;
            margin-bottom: 8px;
        }

        .access h2 {
            font-family: "Noto Sans JP", sans-serif;
            color: var(--accent);
            font-size: 34px;
            font-weight: 700;
            margin-bottom: 24px;
        }

        .access-map {
            max-width: 760px;
            margin: 0 auto 24px;
            border-radius: 12px;
            overflow: hidden;
        }

        .access-info {
            max-width: 720px;
            margin: 0 auto;
            color: #666;
            font-size: 16px;
            line-height: 1.7;
            text-align: left;
        }

        .group-clinics {
            padding: 120px 0 140px;
        }

        .group-header small {
            display: block;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #999;
            margin-bottom: 8px;
            text-align: center;
        }

        .clinic-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 28px;
            margin-top: 40px;
        }

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

        .clinic-card img {
            border-radius: 16px;
            box-shadow: var(--shadow-soft);
        }

        .clinic-card h4 {
            margin: 0;
            color: var(--accent);
            font-size: 20px;
        }

        .clinic-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 18px;
            margin-bottom: 6px;
			justify-content: flex-start;
        }

        .clinic-title img {
            width: 40px;
            height: 40px;
        }

        .clinic-card p {
            color: #888;
            font-size: 14px;
			display: flex;
			justify-content: flex-start;
        }

        .clinic-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 6px;
            margin: 12px 0;
        }

        .clinic-tags span {
            border: 1px solid var(--accent);
            color: var(--accent);
            border-radius: 999px;
            padding: 3px 10px;
            font-size: 12px;
        }

        .clinic-link {
            color: var(--accent);
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 10px;
        }

        .clinic-link::after {
            content: "";
            width: 34px;
            height: 1px;
            background: var(--accent);
            display: inline-block;
        }

        .booking {
            background: #fdeeee;
            padding: 130px 0 140px;
            position: relative;
            overflow: hidden;
        }

        .booking::before {
            content: "";
            position: absolute;
            left: 140px;
            top: 80px;
            width: 220px;
            height: 220px;
            background: url("assets/images/sakura_international_clinic_logo 4 (1).png") center/contain no-repeat;
            opacity: 0.08;
            pointer-events: none;
        }

        .booking h5 {
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #999;
            text-align: center;
            margin-bottom: 6px;
        }

        .booking h2 {
            font-family: "Noto Sans JP", sans-serif;
            color: var(--accent);
            font-size: 40px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 40px;
        }

        .booking-grid {
            display: grid;
            grid-template-columns: 160px 1fr;
            gap: 20px 24px;
            max-width: 760px;
            margin: 0 auto;
            align-items: start;
        }

        .booking-label {
            font-size: 13px;
            color: #777;
            padding-top: 12px;
        }

        .booking-input,
        .booking-select {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 10px 12px;
            font-size: 12px;
            color: #999;
            background: #ffffff;
        }

        .booking-input.has-icon {
            padding-right: 36px;
            background: #ffffff url("assets/images/calendar_check.svg") no-repeat right 12px center;
            background-size: 16px;
        }

        .times-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
        }

        .time-slot {
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
            padding: 8px 0;
            font-size: 12px;
            color: #777;
            background: #ffffff;
        }

        .time-slot.active {
            background: var(--accent);
            color: #ffffff;
            border-color: var(--accent);
        }

        .booking-submit {
            grid-column: 2 / 3;
            margin-top: 10px;
        }

        .site-footer {
            background: #4f4f4f;
            color: #f1f1f1;
            padding: 48px 0 28px;
        }

        .footer-inner {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr auto;
            gap: 32px;
            align-items: start;
        }

        .footer-title {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #f1f1f1;
        }

        .footer-list {
            list-style: none;
            display: grid;
            gap: 6px;
            font-size: 12px;
            color: #dddddd;
        }

        .footer-list li {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-list li::before {
            content: "";
        }

        .footer-column:first-of-type .footer-list li::before {
            content: "●";
            font-size: 7px;
            color: #f0f0f0;
        }

        .footer-column:not(:first-of-type) .footer-list li {
            gap: 0;
        }

        .footer-brand {
            display: flex;
            justify-content: flex-end;
        }

        .footer-brand img {
            height: 100px;
            width: auto;
        }

        .footer-bottom {
            margin-top: 18px;
            padding: 0;
            border-top: none;
            text-align: right;
            color: #cfcfcf;
            font-size: 11px;
        }

        .footer-bottom .container {
            display: flex;
            justify-content: flex-end;
        }

        @media (max-width: 1100px) {
            .hero-stats {
                position: static;
                transform: none;
                margin-top: 50px;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .service-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .department-grid {
                justify-content: center;
            }

            .department-card {
                flex: 0 1 calc(33.333% - 18px);
            }

            .clinic-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .footer-inner {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .footer-brand {
                justify-content: flex-start;
            }
        }

        @media (max-width: 900px) {
            .header-inner {
                padding: 14px 0;
            }

            .site-logo img {
                height: 40px;
            }

            .site-nav {
                display: none;
            }

            .header-actions .btn-primary {
                display: none;
            }

            .menu-toggle {
                display: inline-flex;
            }

            .header-actions {
                flex: 1;
                display: flex;
                align-items: center;
                flex-direction: row;
                justify-content: flex-end;
                gap: 10px;
                margin-left: auto;
            }

            .header-actions .lang-button {
                order: 1;
            }

            .header-actions .menu-toggle {
                order: 2;
            }

            .hero {
                padding: 120px 0 150px;
            }

            .hero-stats {
                margin-top: 40px;
            }

            .about-grid,
            .doctor-grid {
                grid-template-columns: 1fr;
            }

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

            .step-card {
                max-width: 320px;
                margin: 0 auto;
            }

            .step-arrow {
                display: none;
            }

            .step-card::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -50px;
                width: 80px;
                height: 40px;
                background: url("assets/images/Vector 6.png") center/contain no-repeat;
                transform: translateX(-50%);
            }

            .step-card:last-child::after {
                display: none;
            }

            .steps-rows {
                grid-template-columns: 1fr;
            }

            .steps-checklist {
                grid-template-columns: 1fr;
                text-align: center;
            }

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

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

            .booking-submit {
                grid-column: auto;
            }

            .footer-inner {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 22px;
            }

            .footer-list {
                justify-items: center;
            }

            .footer-list li {
                justify-content: center;
            }

            .footer-brand {
                justify-content: center;
                margin-top: 0;
                order: -1;
            }

            .footer-column:first-of-type .footer-list {
                justify-items: center;
                text-align: center;
            }

            .footer-column:first-of-type .footer-list li {
                justify-content: center;
            }

            .footer-bottom {
                text-align: center;
                margin-top: 12px;
            }

            .footer-bottom .container {
                justify-content: center;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 18px;
            }

            .header-inner {
                padding: 10px 0;
                gap: 12px;
            }

            .site-logo img {
                height: 50px;
            }

            .lang-button {
                padding: 5px 10px;
            }

            .lang-label {
                display: none;
            }

            .section-title {
                font-size: 28px;
            }

            .section-subtitle {
                font-size: 16px;
            }

            .hero {
                padding: 70px 0 40px;
                min-height: 615px;
                
                margin-bottom: 0;
                overflow: visible;
                justify-content: space-between;
            }

            /* .hero::before,
            .hero::after {
                height: auto;
                bottom: 200px;
                top: 0;
            } */

            .hero::before {
                background-position: center top;
            }

            .hero-curve {
                display: none;
            }

            .hero-content {
                max-width: 100%;
                justify-content: space-between;
            }

            .hero h1 {
                font-size: 24px;
                text-align: left;
            }

            .hero p {
                font-size: 20px;
				line-height: 1.4;
            }

            .hero small {
                font-size: 12px;
            }

            .hero-actions {
                text-align: center;
                margin-bottom: 30px;
            }

            .btn-primary {
                padding: 12px 28px;
                font-size: 18px;
            }

            .hero-stats {
                position: relative;
                grid-template-columns: 1fr;
                gap: 16px;
                margin-top: 0;
                padding: 30px 0;
                background: transparent;
                z-index: 10;
            }

            .stat-card {
                max-width: 100%;
                margin: 0;
                padding: 20px 18px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
                border-radius: 14px;
            }

            .stat-icon {
                width: 100px;
                height: 100px;
                margin: 0 auto 8px;
            }

            .stat-icon img {
                width: 100px;
                height: 100px;
            }

            .stat-title {
                font-size: 20px;
                margin-bottom: 4px;
            }

            .stat-value {
                font-size: 18px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
            }

            .stat-value::before {
                content: "★";
                color: #ffc107;
            }

            .stat-note {
                font-size: 12px;
                margin-top: 6px;
            }

            .brand-logos {
                gap: 14px;
                flex-wrap: nowrap;
            }

            .brand-logos img {
                height: 42px;
            }

            .about-photo {
                width: calc(100% - 40px);
                height: auto;
                margin: 0 auto 16px;
                /* mobile: circular crop with thinner border */
                border: 4px solid #c5d7ef;
                border-radius: 50%;
                overflow: hidden;
            }

            .about-photo img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                /* inherit rounded corners from parent */
                border-radius: inherit;
            }

            .about {
                padding: 80px 0 110px;
            }

            .about-title {
                font-size: 30px;
                text-align: left;
				padding-left: 30px;
            }

            .about-heading {
                font-size: 30px;
                line-height: 1.25;
                text-align: left;
                margin-bottom: 16px;
				padding-left: 30px;
            }

            .about-feature {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;
                margin-bottom: 20px;
                text-align: left;
                padding: 0 12px;
            }

            .about-feature img {
                width: 100px;
            }

            .about-feature div {
                width: 100%;
            }

            .about-feature h4 {
                font-size: 18px;
                line-height: 1.5;
            }

            .about-feature p {
                font-size: 14px;
                line-height: 1.6;
            }

            .about-langs {
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }

            .about-langs span {
                font-size: 11px;
                padding: 3px 10px;
            }

            .service {
                padding: 120px 0 130px;
            }

            .service-lead,
            .service-sub {
                text-align: left;
            }

            .service-image {
                margin: 20px auto 26px;
                border-radius: 22px;
            }

            .service-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .service-card {
                padding: 24px 20px;
                min-height: auto;
            }

            .service-card img {
                height: 42px;
            }

            .service-card h4 {
                font-size: 18px;
            }

            .service-card p {
                font-size: 16px;
            }

            .department {
                padding: 120px 0 80px;
            }

            .department .section-title {
                flex-direction: column;
                gap: 6px;
            }

            .department-grid {
                justify-content: center;
                align-items: stretch;
                flex-direction: column;
                gap: 16px;
            }

            .department-card {
                flex: 0 1 100%;
                padding: 16px 18px;
            }

            .department-card ul {
                padding-left: 0;
            }

            .department-footer {
                text-align: center;
                font-size: 12px;
            }

            .book-steps {
                padding: 80px 0 120px;
            }

            .book-steps::before {
                top: -60px;
                height: 120px;
                border-bottom-left-radius: 100% 80px;
                border-bottom-right-radius: 100% 80px;
            }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .step-card {
                max-width: 100%;
                position: relative;
            }

            .step-card::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -50px;
                width: 80px;
                height: 40px;
                background: url("assets/images/Vector 6.png") center/contain no-repeat;
                transform: translateX(-50%);
            }

            .step-card:last-child::after {
                display: none;
            }

            .step-card img {
                height: 180px;
            }

            .step-body {
                text-align: center;
                padding: 18px 18px 24px;
            }

            .step-number {
                margin: -35px 0 8px 12px;
                background-color: white;
                z-index: 99;
            }

            .steps-checklist {
                display: none;
            }

            .steps-card {
                max-width: 100%;
                padding: 40px 20px 24px;
                text-align: center;
                margin-top: 30px;
            }

            .steps-row {
                grid-template-columns: 1fr;
                text-align: left;
            }

            .steps-row img {
                margin-bottom: 10px;
            }

            .steps-pill {
                margin: 12px 0 18px;
                text-align: center;
            }

            .pricing {
                padding: 120px 0;
            }

            .pricing-content {
                max-width: 100%;
            }

            .pricing-table {
                padding: 18px;
            }

            .pricing-head,
            .pricing-row {
                grid-template-columns: 58px 1fr 80px;
                font-size: 11px;
            }

            .pricing-more {
                width: 60%;
                justify-content: center;
            }

            .additional-charge {
                padding: 20px 18px 22px;
            }

            .additional-head {
                grid-template-columns: 64px 1fr;
                font-size: 11px;
            }

            .additional-head span:last-child {
                display: none;
            }

            .additional-row {
                grid-template-columns: 64px 1fr;
                row-gap: 6px;
                font-size: 11px;
            }

            .additional-item {
                align-items: flex-start;
            }

            .additional-item strong {
                font-size: 11px;
            }

            .additional-item span {
                font-size: 10px;
            }

            .additional-dots {
                display: none;
            }

            .additional-amount {
                grid-column: 2;
                text-align: right;
				font-size: 11px;
            }

            .additional-footnote h5 {
                font-size: 13px;
            }

            .additional-footnote ul {
                font-size: 11px;
            }

            .doctor {
                padding: 50px 0 70px;
                margin-top: 0;
                background: linear-gradient(180deg, #f6c0bb 0%, #f9d6d2 100%);
            }

            .doctor .container {
                max-width: 420px;
            }

            .doctor-grid {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 18px;
            }

            .doctor::before {
                display: none;
            }

            .doctor::after {
                right: 18px;
                top: 16px;
                width: 90px;
                height: 90px;
                background: url("assets/images/sakura_international_clinic_logo 4.png") center/contain no-repeat;
                opacity: 0.45;
            }

            .doctor-media {
                margin-top: 0;
                width: 100%;
                max-width: 360px;
                justify-self: center;
                order: 3;
            }

            .doctor-photo::before {
                display: none;
            }

            .doctor-photo {
                border-radius: 18px;
                overflow: hidden;
                background: transparent;
                padding: 0;
                box-shadow: none;
            }

            .doctor-photo img {
                border-radius: 18px;
            }

            .doctor-thumbs {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
                margin-top: 15px;
            }

            .doctor-info {
                display: contents;
            }

            .doctor-info h4 {
                font-size: 40px;
                letter-spacing: 0em;
                text-align: center;
                order: 1;
            }

            .doctor-info h3 {
                font-size: 26px;
                margin-bottom: 16px;
                font-family: "Noto Serif JP", serif;
                font-weight: 400;
                letter-spacing: 0.04em;
                text-align: center;
                order: 2;
            }

            .doctor-info p {
                font-size: 14px;
                line-height: 1.7;
                text-align: center;
                color: #6b6b6b;
                order: 4;
                max-width: 320px;
            }

            .doctor-thumbs {
                display: none;
            }

            .access {
                padding: 120px 0;
                text-align: center;
            }

            .access h5,
            .access h2 {
                text-align: center;
            }

            .access-map {
                margin: 0 0 20px;
            }

            .access-info {
                font-size: 12px;
            }

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

            .group-clinics {
                padding: 50px 0 80px;
            }

            .group-header,
            .group-header small,
            .group-header .section-title,
            .group-header .section-subtitle,
            .booking h5,
            .booking h2 {
                text-align: center;
            }

            .group-header {
                text-align: left;
            }

            .group-header .section-title,
            .group-header .section-subtitle {
                text-align: center;
            }

            .clinic-card {
                text-align: left;
            }

            .clinic-title {
                justify-content: flex-start;
            }

            .clinic-tags {
                justify-content: flex-start;
            }

            .clinic-link {
                justify-content: flex-start;
            }

            .booking {
                padding: 80px 0 120px;
            }

            .booking h5,
            .booking h2 {
                text-align: left;
            }

            .booking-grid {
                grid-template-columns: 1fr;
                gap: 12px 0;
            }

            .booking-submit {
                grid-column: auto;
                margin-top: 16px;
            }

            .times-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
    

/* Added adjustments for hero stats card layout to unify heights */
.hero-stats {
  align-items: stretch;
}

/*
 * Responsive tweaks for the About section image
 * On smaller screens the oval becomes a circle and the border
 * width is reduced for better visual balance.
 */
@media (max-width: 768px) {
    .about-photo {
        border-radius: 50%;
        border-width: 4px;
    }
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.stat-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-value {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-note {
  min-height: 88px;
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 16px;
}

/* Tablet adjustments */
@media (max-width: 1100px) {
  .hero-stats {
    align-items: stretch;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .hero-stats {
    align-items: stretch;
  }
  .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  .stat-title {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .stat-value {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 25px;
  }
  .stat-note {
    min-height: 72px;
    display: flex;
    align-items: center;
    text-align: center;
  }
}


/* Override stat heights to ignore line breaks */
.stat-title {
  height: 60px;
}
.stat-value {
  height: 40px;
}
.stat-note {
  flex: 1;
}

@media (max-width: 640px) {
  .stat-title {
    height: 48px;
  }
  .stat-value {
    height: 32px;
  }
  .stat-note {
    flex: 1;
  }
}

/* Added to unify clinic card image sizes */
.clinic-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ================================================
 * Mobile Hamburger Menu Styles
 * 
 * These styles control the appearance of the mobile navigation (#sp-menu)
 * and the visibility of the toggle button (#sp-menu-toggle). The menu is
 * hidden by default and revealed when the 'open' class is added by JS.
 * ================================================ */

/* Hide the mobile menu by default */
#sp-menu {
    display: none;
}

/* Show the mobile menu when the 'open' class is present */
#sp-menu.open {
    display: flex;
    flex-direction: column;
}

/* Style links inside the mobile menu */
#sp-menu a {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--ink);
    background: #ffffff;
    text-decoration: none;
}

/* Only apply positioning and layout on smaller screens */
@media (max-width: 900px) {
    /* Ensure the toggle button is visible (in addition to .menu-toggle rules) */
    #sp-menu-toggle {
        display: inline-flex;
        background: transparent;
        border: none;
        align-items: center;
        justify-content: center;
    }
}

/* ==================================================
 * Updated mobile menu design: full-screen overlay
 * Covers the entire viewport with a semi-transparent dark background.
 * Navigation items are centered, with a CTA and logo at the bottom.
 * ================================================== */
@media (max-width: 900px) {
    #sp-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        z-index: 9999;
    }
    #sp-menu.open {
        display: flex;
    }
    #sp-menu a {
        /* Override default white background on mobile links */
        background: transparent;
        color: #ffffff;
        font-size: 24px;
        padding: 1rem 0;
        border-bottom: none;
        width: auto;
        display: block;
    }
    #sp-menu .mobile-menu-cta {
        /* Restore original CTA styling for the mobile menu */
        margin-top: 30px;
        padding: 12px 28px;
        background-color: var(--accent);
        color: #ffffff;
        border-radius: 30px;
        font-size: 18px;
        font-weight: 600;
    }
    #sp-menu .mobile-menu-logo {
        margin-top: 40px;
    }
    #sp-menu .mobile-menu-logo img {
        max-width: 160px;
        height: auto;
    }

    /* Close button inside the full-screen mobile menu */
    #sp-menu .sp-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
		padding-right: 40px;
		padding-top: 40px
    }
}

/* フローティングバナーの初期状態は非表示 */
.floating-banner {
    display: none;
    position: fixed;
    bottom: 20px;                 /* 下から少し浮かせます。任意で調整 */
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);     /* 画面端に少し余白を残しつつ中央寄せ */
    max-width: 480px;             /* 大画面では広がりすぎないよう制限 */
    z-index: 9999;
    background-color: #ffffff00;  /* 透過背景 */
    padding: 10px 0;
    text-align: center;
    border-radius: 30px;          /* バナー全体にも丸みを付ける場合 */
}

.floating-banner-button {
    display: inline-block;
    font-size: 18px;
    padding: 12px 60px;
    border-radius: 999px;
    background-color: #ef6a63;    /* CTAの背景色 */
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* 影を付ける場合は追加 */
}

/* スマホ幅でバナーの表示を制御する */
@media (max-width: 900px) {
    /* デフォルトではモバイルでも非表示にしておき、
     * JavaScript から .active クラスを付与されたときにのみ表示する。 */
    .floating-banner {
        display: none;
    }
    .floating-banner.active {
        display: block;
    }
    /* ハンバーガーメニューが開いている間はバナーを非表示にする */
    #sp-menu.open ~ .floating-banner {
        display: none !important;
    }
}

body {
  overflow-x: hidden;
}

/* スマホ幅で背景装飾と矢印をカットする */
.service,
.access {
  overflow: hidden;
}

/* はみ出す背景画像や矢印を非表示にする */
.service::after,
.access::after,
.step-card:nth-child(1) .step-arrow,
.step-card:nth-child(2) .step-arrow {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Multi‑step form progress indicator styling                        */
/*                                                                   */
/* The progress indicator appears below the "Booking Request" heading */
/* and visually guides the user through three steps: Appointment,     */
/* Patient Info and Contact & Consent.  It consists of a light track */
/* with a coloured bar representing the current progress and three    */
/* circular dots with numbers and labels.  The active step is        */
/* highlighted with a filled circle and white text.                  */

.ms-progress {
  width: 100%;
  margin: 40px 0 30px;
  position: relative;
}

/* Horizontal line running behind the dots */
.ms-progress-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #dcd2ec; /* light lavender for inactive track */
  border-radius: 2px;
  overflow: hidden;
}

/* Filled portion of the progress line.  Its width is controlled via JS. */
.ms-progress-line #ms-progress,
.ms-progress-line .ms-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #6a4fb3; /* purple active colour */
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Container for the dots; spaced evenly across the width */
.ms-progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Individual dot wrapper */
.ms-progress-steps .dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

/* Circular number element */
.ms-progress-steps .dot-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background-color: #dcd2ec; /* inactive dot colour */
  color: #6a4fb3;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* Highlight active dot */
.ms-progress-steps .dot.is-active .dot-number {
  background-color: #6a4fb3;
  color: #ffffff;
}

/* Step label beneath each dot */
.ms-progress-steps .dot-label {
  font-size: 14px;
  color: #6a4fb3;
  line-height: 1.2;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
  .ms-progress {
    margin: 30px 0 20px;
  }
  .ms-progress-line {
    top: 14px;
  }
  .ms-progress-steps .dot-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .ms-progress-steps .dot-label {
    font-size: 12px;
  }
}

/* Style for multi‑step form navigation buttons (Next/Back) */
#booking-form .ms-nav {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

#booking-form .ms-nav .button {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--accent);
  color: #ffffff;
}

/* Disabled state for buttons */
#booking-form .ms-nav .button.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Secondary (ghost) style for back button */
#booking-form .ms-nav .button.button--ghost {
  background-color: #ffffff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* ------------------------------------------------------------------ */
/* Booking progress indicator (custom classes to avoid CSS collisions) */
/* These classes mirror the .ms-progress rules above but use unique    */
/* names so they are not affected by form.css styles.                */

.booking-progress {
  width: 100%;
  margin: 40px 0 30px;
  position: relative;
}

/* horizontal track behind the steps */
.booking-progress-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #dcd2ec;
  border-radius: 2px;
  overflow: hidden;
}

/* dynamic bar that fills the track */
.booking-progress-line #booking-progress-bar,
.booking-progress-line .booking-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #6a4fb3;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* container for step elements */
.booking-progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* each step wrapper */
.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

/* number circle */
.booking-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background-color: #dcd2ec;
  color: #6a4fb3;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* highlight active step */
.booking-progress-step.is-active .booking-step-number {
  background-color: #6a4fb3;
  color: #ffffff;
}

/* text label */
.booking-step-label {
  font-size: 14px;
  color: #6a4fb3;
  line-height: 1.2;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .booking-progress {
    margin: 30px 0 20px;
  }
  .booking-progress-line {
    top: 14px;
  }
  .booking-step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .booking-step-label {
    font-size: 12px;
  }
}

/* navigation styling for the new booking nav */
/*
 * The booking form navigation buttons are stacked vertically rather than side‑by‑side.
 * Each button takes up the full available width (100%) and uses a pill‑shaped
 * design similar to the original site: a gradient fill for primary buttons and
 * an outlined style for ghost (Back) buttons. The gap between the buttons
 * creates vertical spacing. Disabled buttons are dimmed and non‑interactive.
 */
#booking-form .booking-nav {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#booking-form .booking-nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  /* Primary button gradient based on accent colours */
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(239, 106, 99, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* disabled state */
#booking-form .booking-nav .button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 6px 14px rgba(239, 106, 99, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ghost (back) button */
#booking-form .booking-nav .button.button--ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

/* ghost button hover and active states mimic the original design */
#booking-form .booking-nav .button.button--ghost:hover {
  background: rgba(239, 106, 99, 0.08);
  transform: translateY(-1px);
}
#booking-form .booking-nav .button.button--ghost:active {
  transform: translateY(0);
}


