@charset "utf-8";

/* ==========================================================================
   Design System & Tokens
   ========================================================================== */
:root {
    --text-main: #4a4a4a;
    --white: #ffffff;
    --pink-pastel: #fdf2f4;
    --pink-accent: #f8c2cc;
    --gray-bg: #f8f8f8;
    --gray-placeholder: #ededed;
    --font-main: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --radius-l: 24px;
    --radius-m: 16px;
    --header-height: 80px;

    /* FV Original Tokens */
    --slide-width: 384.5782px;
    --slide-height: 573.047px;
    --slide-gap: 15px;
}

/* Utilities */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}

@media screen and (min-width: 769px) {
    .sp-only {
        display: none !important;
    }
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    /* Default sidebar margin */
}

/* Overall margin narrow adjustment for PC (-20px each side) */
@media screen and (min-width: 769px) {
    .container {
        padding: 0 0px;
    }
}

.container--narrow {
    max-width: 800px;
}

.section {
    padding: 80px 0;
}

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

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Components */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.section-title img {
    max-width: 548px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-title--left {
    text-align: left;
}

.section-title--left img {
    margin-left: 0;
    margin-right: 0;
}

.icon-svg {
    width: 32px;
    height: 32px;
    fill: var(--pink-accent);
}

.bg-pastel {
    background-color: var(--pink-pastel);
}

.bg-white {
    background-color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}


.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn--tel {
    background-color: var(--pink-accent);
    color: var(--white);
    border: 2px solid var(--pink-accent);
}

.btn--tel-pink {
    background-color: var(--pink-accent) !important;
    color: var(--white) !important;
    border: 2px solid var(--pink-accent) !important;
}


.btn--web {
    background-color: var(--white);
    color: var(--pink-accent);
    border: 2px solid var(--pink-accent);
}

.btn--hp {
    background-color: #7bc7ad;
    color: var(--white);
    border: 2px solid #7bc7ad;
}

.btn--reserve {
    background-color: #71cfd5;
    color: var(--white);
    border: 2px solid #71cfd5;
    white-space: nowrap;
}

.btn--round {
    border-radius: 9999px !important;
    min-width: 96px;
    padding: 8px 20px;
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Fixed height within 72-80px range */
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    /* Vertical-align center */
}

.header__inner {
    width: 100%;
    max-width: 100%;
    /* Spreads more towards the edges */
    margin: 0 auto;
    padding: 0 30px;
    /* Exactly 30px from the display edges */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__logo img {
    height: 60px;
    /* Resized to fit band well */
    width: auto;
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* MUST be in 1 line, NO wrapping */
    gap: clamp(10px, 1.5vw, 20px);
    /* Adjust gap based on screen width */
}

.header__list {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 16px);
    flex-wrap: nowrap;
}

.header__list a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: clamp(12px, 0.85vw, 15px);
    /* Shrink font to fit */
    white-space: nowrap;
}

.header__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Hamburger */
.header__hamburger {
    display: none;
    /* Hide by default */
}

@media screen and (max-width: 768px) {
    .header__hamburger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 2001;
        /* Above drawer if necessary */
    }
}

.header__hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--pink-accent);
    left: 0;
    transition: all 0.3s;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 11px;
}

.header__hamburger span:nth-child(3) {
    top: 22px;
}

.header__hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* SP Menu */
.sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.sp-menu.active {
    transform: translateX(0);
}

.sp-menu__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
}

.sp-menu__close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--pink-accent);
    top: 50%;
}

.sp-menu__close span:nth-child(1) {
    transform: rotate(45deg);
}

.sp-menu__close span:nth-child(2) {
    transform: rotate(-45deg);
}

.sp-menu__list {
    margin-bottom: 40px;
}

.sp-menu__list li {
    margin-bottom: 25px;
    text-align: center;
}

.sp-menu__list a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.sp-menu__cta {
    display: flex;
    flex-direction: row;
    /* Horizontal in SP as well */
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

/* FV */
.fv {
    position: relative;
    width: 100%;
    margin-top: var(--header-height);
    background: #fff;
    overflow: hidden;
}

.fv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1;
}

/* PC FV */
@media screen and (min-width: 769px) {
    .fv {
        height: calc(100vw * (610 / 1366));
    }

    .fv__main-slider {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        height: calc(100vw * (573.047 / 1366));
        z-index: 2;
        overflow: hidden;
    }

    .fv__main-track {
        display: flex;
        width: fit-content;
        gap: calc(100vw * (15 / 1366));
        animation: fv-scroll-pc 35s linear infinite;
    }

    .fv__main-item {
        width: calc(100vw * (384.5782 / 1366));
        height: calc(100vw * (573.047 / 1366));
        flex-shrink: 0;
    }

    .fv__main-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    @keyframes fv-scroll-pc {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-1 * (100vw * (384.5782 / 1366) + 100vw * (15 / 1366)) * 7));
        }
    }
}

/* SP FV */
@media screen and (max-width: 768px) {
    .fv {
        height: calc(100vw * (518.312 / 375));
    }

    .fv__main-slider {
        position: absolute;
        top: 10px;
        /* 10px margin from the top edge of FV */
        width: 100%;
        height: calc(60.1vw * (573.047 / 384.5782));
        z-index: 5;
    }

    .fv__main-track {
        display: flex;
        width: fit-content;
        gap: 10px;
        animation: fv-scroll-sp 45s linear infinite;
    }

    .fv__main-item {
        width: 60.1vw;
        height: 100%;
    }

    .fv__main-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @keyframes fv-scroll-sp {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-1 * (60.1vw + 10px) * 7));
        }
    }
}

.fv__ue {
    position: absolute;
    top: 0;
    right: 0;
    width: 14%;
    z-index: 5;
}

.fv__sita {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.fv__ue-sp {
    position: absolute;
    top: 0;
    right: 0;
    width: 24%;
    z-index: 5;
}

.fv__naka-sp {
    position: absolute;
    bottom: calc(100vw * (889 / 2701));
    width: 100%;
    z-index: 15;
    display: block;
    line-height: 0;
    vertical-align: bottom;
}

/* Height of sita: 889/2701 */
.fv__sita-sp {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 10;
    display: block;
    line-height: 0;
    vertical-align: bottom;
}

/* Consultation */
.section.consultation {
    background: linear-gradient(to bottom, #fbe8e9 0%, #ffffff 70%);
    padding-bottom: 80px;
}

.consultation__box {
    background: var(--white);
    border: 3px solid #6abfea;
    border-radius: var(--radius-l);
    padding: 24px 30px !important;
}

.consultation__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #6abfea;
    letter-spacing: 0.05em;
}


.consultation__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding: 0;
}

.consultation__list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: #ebfffd;
    /* Highlighted inner box bg */
    padding: 30px 15px;
    border-radius: var(--radius-m);
    box-shadow: 0 4px 12px rgba(106, 191, 234, 0.15);
    /* Drop shadow with light blue tint */
}

.consultation__icon {
    width: 70px;
    /* Updated to 70px as requested */
    height: 70px;
    object-fit: contain;
}

.consultation__bottom {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
    .consultation__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section.about {
    background: #ffffff;
}


.container--about {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Reduced gap to bring items closer */
}

.about__content {
    flex: 1;
}

.about__image {
    flex: 1;
}

.about__image img {
    width: 100%;
}

/* Section Transitions */
.section-wave {
    display: none;
    /* Hide for now as requested background revert */
}

/* Wave Divider Animation */
.wave-container {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin-top: -1px;
    /* Prevent gap at the top */
    margin-bottom: -1px;
    /* Prevent gap at the bottom */
    z-index: 10;
}

.wave-container svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: calc(200% + 2px);
    /* 左右の隙間も消すために少し幅を広げる */
    margin-left: -1px;
    height: 80px;
    display: block;
    /* 隙間の原因になるインライン要素の挙動を防ぐ */
    shape-rendering: geometricPrecision;
    /* 描画を滑らかにする */
    animation: wave-move 8s linear infinite;
}

.wave-container .shape-fill {
    fill: #fdf2f4;
}

@keyframes wave-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Scroll Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.animate-ready.is-animated {
    opacity: 1;
    transform: translateY(0);
}


/* 追加CTAセクションのスタイル */

/* CTA Container (Green Box) */
.custom-cta-section {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #f4f9f7;
    border: 2px solid #82c8b0;
    border-radius: 40px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 24px;
    padding-bottom: 24px;
    max-width: 1100px;
    width: calc(100% - 40px);
    margin: 30px auto 80px;
    color: #555;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.section.about,
#medical {
    padding-bottom: 0;
}

.cta-title {
    color: #82c8b0;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    /* Restored for general use if needed */
    margin-top: 0;
    letter-spacing: 0.1em;
}

.cta-flex-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.schedule-wrapper,
.button-wrapper {
    flex: 1;
    min-width: 300px;
    margin: 0 !important;
}

.schedule-table-card {
    background: #ffffff;
    border: 1px solid #82c8b0;
    border-radius: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    box-sizing: border-box;
}

.schedule-table th {
    color: #82c8b0;
    background-color: #f1f8f6;
    padding: 10px 8px;
    font-weight: 500;
    font-size: 18px;
    border-bottom: 1px solid #82c8b0;
    white-space: nowrap;
    /* Prevent wrapping */
}

.schedule-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #82c8b0;
    font-size: 18px;
    color: #444;
    white-space: nowrap;
    /* Prevent wrapping */
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.time-col {
    font-size: 18px;
    color: #444;
    padding-left: 15px !important;
    white-space: nowrap;
    text-align: left;
}

.symbol {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    line-height: 1;
}

.pink {
    background-color: #f2a7b8;
    border-radius: 50%;
}

.blue {
    background-color: #76c0e6;
    border-radius: 6px;
}

.double {
    border: 2px solid #f2a7b8;
    border-radius: 50%;
    position: relative;
    background: transparent;
}

.double::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    border: 2px solid #f2a7b8;
    border-radius: 50%;
}

.schedule-footer {
    margin-top: 10px;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.note-red {
    color: #f2a7b8;
    font-weight: 700;
}

.button-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 280px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}


.btn-tel {
    background-color: #82c8b0;
    color: #fff;
}

.btn-web {
    background-color: #fff;
    color: #82c8b0;
    border: 2px solid #82c8b0;
}

.cta-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .custom-cta-section {
        padding: 30px 15px !important;
        border-radius: 20px;
        margin: 20px auto;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-flex-container {
        gap: 20px;
    }

    .schedule-table th {
        font-size: 1rem;
    }

    .time-col {
        font-size: 0.9rem;
        padding-left: 4px !important;
        padding-right: 4px !important;
        text-align: center;
    }

    .symbol {
        font-size: 1.2rem;
    }

    .cta-btn {
        height: 60px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .container--about {
        flex-direction: column-reverse;
    }

    .section-title img {
        max-width: 100%;
    }
}

/* Features (Side by Side) */
.section.features {
    background: #fdf2f4;
    /* Thin pink */
    padding-bottom: 80px;
}

.features__list {
    display: grid;
    gap: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-item--rev {
    flex-direction: row-reverse;
}

.feature-item__img {
    flex: 1;
}

.feature-item__img img:not(.section-title img) {
    width: 100%;
    border-radius: var(--radius-m);
    filter: drop-shadow(10px 10px 0 #f4a6bb);
    aspect-ratio: 16/10;
    object-fit: cover;
}

.feature-item__img .section-title img {
    filter: none;
}

.feature-item__text {
    flex: 1;
}

.feature-item__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

@media screen and (max-width: 768px) {

    .feature-item,
    .feature-item--rev {
        flex-direction: column;
        gap: 30px;
    }
}

.section.medical {
    background: var(--white);
}

/* Medical (Cards) */
.medical__grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.medical-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius-m);
    overflow: hidden;
}

.medical-card__image {
    background: #ffffff;
}

.medical-card__image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    /* Prevent cropping */
    padding: 10px;
    /* Optional: adds a little breathing room */
}

.medical-card__content {
    padding: 30px;
}

.medical-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-medical {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-medical:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}


.btn-medical--blue {
    background-color: #6abfea;
}

.btn-medical--pink {
    background-color: #f2a7b8;
}

.btn-medical--green {
    background-color: #7bc7ad;
}


.medical-card__list {
    margin-bottom: 25px;
    padding: 0;
}

.medical-card__list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.medical-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--pink-accent);
}

.medical__full-box {
    margin-top: 60px;
    background: var(--pink-pastel);
    padding: 50px;
    border-radius: var(--radius-l);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.medical__full-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/medical_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* Even fainter for texture feel */
    z-index: -1;
}

.medical__full-box>* {
    position: relative;
    z-index: 2;
}

.medical__full-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.medical__full-list span {
    background: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
}

@media screen and (max-width: 900px) {
    .medical__grid-cards {
        grid-template-columns: 1fr;
    }
}

/* Voice */
.voice__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.voice .btn--outline {
    border: 2px solid var(--pink-accent);
    color: var(--pink-accent);
    padding: 12px 40px;
    border-radius: 50px;
    background: var(--white);
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.voice-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-m);
}

.voice-card__stars {
    color: #ffbf00;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .voice__grid {
        grid-template-columns: 1fr;
    }
}

/* Greeting */
.section.greeting {
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 25px 25px, rgba(242, 167, 184, 0.2) 5px, transparent 5px),
        radial-gradient(circle at 75px 75px, rgba(113, 207, 213, 0.2) 5px, transparent 5px),
        radial-gradient(circle at 125px 35px, rgba(123, 199, 173, 0.2) 5px, transparent 5px);
    background-size: 150px 100px;
    background-repeat: repeat;
}


.greeting__intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.greeting__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-l);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.doctor-card__image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
}

.doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card__role {
    color: var(--pink-accent);
    font-weight: 700;
    text-align: center;
}

.doctor-card__name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .greeting__grid {
        grid-template-columns: 1fr;
    }
}

/* Access */
.container--access {
    display: flex;
    gap: 50px;
}

.access__content {
    flex: 1;
}

.access__map {
    flex: 1;
}

.access__map iframe {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-m);
}

.access__content .section-title img {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 70%;
    object-fit: contain;
    /* Prevent cutting */
}



.access__list {
    padding: 0;
}

.access__list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.access__holiday {
    color: #f2a7b8;
    /* Match pink accent */
    font-weight: 700;
}

.access__schedule {
    margin-top: 30px;
}

.access__schedule .schedule-table-card {
    border-radius: 12px;
}

.access__schedule .schedule-table th,
.access__schedule .schedule-table td,
.access__schedule .time-col {
    font-size: 14px;
    /* Smaller font for access column */
    padding: 8px 4px;
}

.access__schedule .symbol {
    width: 14px;
    height: 14px;
}

@media screen and (max-width: 900px) {
    .container--access {
        flex-direction: column;
    }

    .container--about {
        flex-direction: column-reverse;
    }

    .section-title img {
        max-width: 100%;
    }

    /* Features (Side by Side) to 900px as well if desired, but user focused on CTA. 
   However, the styles below line 1360 are under a `max-width: 768px` block that ends way down.
   Let's check where the block starts. It starts at line 1333.
   The block I edited earlier for schedule wrapper was lines 1399-1445 (in original).
   Wait, in the file view, line 1333 is `@media screen and (max-width: 768px) {`.
   This block contains:
   - .container--about (duplicate?) No, line 957 has one. Line 1333 has another for access.
   - .custom-cta-section .cta-flex-container (lines 1399+)
*/

    /* Ideally, we should update the breakpoint for the stacked layout of the CTA section specifically. */
    /* I will only update the CTA related parts to a new media query, or change the existing one. */
    /* The block starting ~1333 contains many things. I should probably split it or update it cautiously. */
    /* User issue is specifically about the table alignment which is controlled by the .cta-flex-container rules. */
    /* I will replace the specific CTA block within the large media query or create a new one overriding it? */
    /* Better to edit the existing media query to 900px IF it makes sense for other elements, OR move CTA rules out. */
    /* Access section stacking at 900px is probably good too. */
    /* Features section stacking at 900px is probably good too. */
    /* So I will change the breakpoint at line 1333 to 900px. */

    /* SP Title Trimming */
    .section-title {
        overflow: hidden;
    }

    /* About and Features: Cut 40px from right */
    /* About and Features: Consistent SP sizes */
    #about .section-title img,
    #features .section-title img {
        width: calc((100% - 40px) * 1.2);
        /* 右側40pxカット後、20%拡大 */
        max-width: none;
        height: auto;
        object-fit: contain;
        object-position: left center;
        margin-left: 0;
    }

    /* Others: Cut 20px from both sides */
    #medical .section-title img,
    #voice .section-title img,
    #greeting .section-title img,
    #access .section-title img {
        width: calc(100% + 40px);
        max-width: none;
        object-fit: cover;
        object-position: center;
        margin-left: -20px;
    }

    #access .section-title img {
        width: 70%;
        margin-left: 0;
        object-fit: contain;
    }

    .features .container {
        display: flex;
        flex-direction: column;
    }


    /* SP Refinements */
    .about__image {
        margin-bottom: 10px !important;
    }

    .features .section-title {
        order: -1;
        width: 100%;
        margin-bottom: 30px;
    }

    .feature-item {
        flex-direction: column;
    }

    .custom-cta-section .cta-title {
        margin-bottom: 15px;
    }

    /* SP時のCTAコンテナを縦並びに */
    .custom-cta-section .cta-flex-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* 左右いっぱいに広げる */
        justify-content: flex-start;
        width: 100%;
        gap: 20px;
    }

    /* スケジュール表のラッパーを中央寄せ */
    .custom-cta-section .schedule-wrapper {
        width: 100%;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .custom-cta-section .schedule-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 0 !important;
        /* Ensure table doesn't get weirdly aligned */
        text-align: center;
    }

    .custom-cta-section .schedule-table {
        margin: 0 auto;
        width: 100%;
    }

    /* Restore uniform padding and center alignment */
    .custom-cta-section .schedule-table th,
    .custom-cta-section .schedule-table td {
        font-size: 11px;
        padding: 8px 4px;
        /* Increased padding slightly for balance */
        text-align: center;
        white-space: nowrap;
    }

    .time-col {
        font-size: 0.9rem;
        /* Remove padding-left: 0 !important override */
        padding-left: 4px !important;
        padding-right: 4px !important;
        text-align: center;
    }

    .schedule-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }

    .schedule-footer .note-red {
        width: 100%;
        margin-bottom: 5px;
    }

    /* ボタンエリアを元のサイズに戻す */
    .custom-cta-section .button-wrapper {
        width: 100%;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* ボタンを横幅いっぱいに */
        gap: 20px;
    }

    .consultation__box {
        padding: 30px 15px !important;
    }
}


/* Fixed CTA */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    /* Default hidden */
    grid-template-columns: 1fr 1fr;
    z-index: 1500;
}

@media screen and (max-width: 768px) {
    .fixed-cta {
        display: grid;
    }
}

.fixed-cta__btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.fixed-cta__btn--tel {
    background: #7bc7ad;
}

.fixed-cta__btn--web {
    background: #71cfd5;
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--gray-bg);
}

.footer__logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer__copy {
    font-size: 0.8rem;
    color: #999;
}

/* Auto Slider Section */
.auto-slider-section {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 60px 0;
}

.auto-slider {
    width: 100%;
    overflow: hidden;
}

.auto-slider__track {
    display: flex;
    gap: 40px;
    width: fit-content;
    animation: auto-slide 30s linear infinite;
}

.auto-slider__item {
    flex-shrink: 0;
    height: auto;
}

.auto-slider__item img {
    height: 200px;
    width: auto;
    display: block;
    object-fit: contain;
}

@keyframes auto-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

@media screen and (max-width: 768px) {
    .auto-slider-section {
        padding: 40px 0;
    }

    .auto-slider__item img {
        height: 120px;
    }

    .auto-slider__track {
        gap: 20px;
    }
}