@charset "utf-8";

/* ==========================================================================
   Design System & Tokens
   ========================================================================== */
:root {
    --text-main: #4a4a4a;
    --white: #ffffff;
    --pink-pastel: #eef5fb;
    --pink-accent: #5ba2e6;
    --mint-pastel: #f0f6fc;
    --mint-accent: #2a529d;
    --gray-bg: #f8f8f8;
    --gray-placeholder: #ededed;
    --font-main: 'Zen Kaku Gothic New', '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;
}

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: 36px;
    /* 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 */
/* ==========================================================================
   New FV Styles
   ========================================================================== */
.fv-new {
    position: relative;
    width: 100%;
    margin-top: var(--header-height);
    background: linear-gradient(135deg, rgba(123, 199, 173, 0.25) 0%, rgba(232, 135, 154, 0.25) 100%);
    overflow: hidden;
    padding: 100px 0;
}

@keyframes fv-fade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fv-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fv-new__main-title {
    font-size: calc(2.8rem + 5px);
    font-weight: bold;
    color: var(--pink-accent);
    line-height: 1.5;
    margin-bottom: 25px;
    font-family: 'Zen Old Mincho', serif;
    letter-spacing: -0.5px;
}

.fv-new__sub-title {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 500;
}

.fv-new__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fv-new__actions .btn {
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.fv-new__actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.fv-new__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fv-new__image-card {
    width: 100%;
    max-width: 540px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 6px solid #ffffff;
    background: #ffffff;
    transition: transform 0.5s ease;
}

.fv-new__image-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media screen and (max-width: 991px) {
    .fv-new {
        padding: 60px 0;
    }

    .fv-new__main-title {
        font-size: 2.2rem;
    }

    .fv-new__sub-title {
        font-size: 1.1rem;
    }
}


/* 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(4, 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: 24px 12px;
    border-radius: var(--radius-m);
    box-shadow: 0 4px 12px rgba(106, 191, 234, 0.15);
    /* Drop shadow with light blue tint */
}

.consultation__list li span {
    font-size: 14px;
    line-height: 1.6;
}

.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__box {
        padding: 20px 15px !important;
    }

    .consultation__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .consultation__list li {
        padding: 20px 10px;
        gap: 10px;
    }

    .consultation__icon {
        width: 50px;
        height: 50px;
    }

    .consultation__list li span {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 480px) {
    .consultation__list {
        grid-template-columns: 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;
    background: #FFFFFF;
    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: #f0f6fc;
}

@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 Kaku Gothic New', sans-serif;
    background-color: #f4f9f7;
    border: 2px solid #2a529d;
    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: #2a529d;
    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 #2a529d;
    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: #2a529d;
    background-color: #ffffff;
    padding: 10px 8px;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #2a529d;
    white-space: nowrap;
    /* Prevent wrapping */
}

.schedule-table th:first-child {
    border-top-left-radius: 18px;
}

.schedule-table th:last-child {
    border-top-right-radius: 18px;
}

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

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

.time-col {
    font-size: 16px;
    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;
}

.symbol.pink {
    background-color: var(--pink-accent) !important;
    border-radius: 50%;
}

.symbol.mint {
    background-color: var(--mint-accent) !important;
    border-radius: 50%;
}

.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: #2a529d;
    color: #fff;
}

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

.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: transparent;
    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;
    color: #2a529d;
}

.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;
    }
}

/* OWNER */
.OWNER__wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.OWNER__image {
    width: 40%;
    max-width: 350px;
    flex-shrink: 0;
}
.OWNER__image img {
    width: 100%;
    height: auto;
}
.OWNER__content {
    flex-grow: 1;
}
@media screen and (max-width: 768px) {
    .OWNER__wrap {
        flex-direction: column;
    }
    .OWNER__image {
        width: 100%;
        margin: 0 auto 30px;
    }
}

/* 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%;
    }


    /* 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繧ｫ繝・ヨ蠕後・0%諡｡螟ｧ */
        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;
    border-radius: 16px !important;
    overflow: hidden !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

.auto-slider__item img {
    height: 260px;
    width: 282px;
    /* 13:12 ratio of slide (1) */
    display: block;
    object-fit: cover;
    border-radius: 16px !important;
    overflow: hidden !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

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

    .auto-slider__item img {
        height: 180px;
        width: 195px;
        /* 13:12 ratio on mobile */
        border-radius: 10px;
        object-fit: cover;
    }

    .auto-slider__track {
        gap: 20px;
        animation: auto-slide 15s linear infinite;
    }

    .auto-slider__item {
        border-radius: 10px !important;
        overflow: hidden !important;
    }
}

.calendar-mint {
    border: 2px solid var(--mint-accent) !important;
}

.calendar-mint th {
    color: var(--mint-accent) !important;
    background-color: var(--mint-pastel) !important;
}

.calendar-mint .symbol.pink {
    background-color: var(--mint-accent) !important;
}

.calendar-pink {
    border: 2px solid var(--pink-accent) !important;
}

.calendar-pink th {
    color: var(--pink-accent) !important;
    background-color: var(--pink-pastel) !important;
}

.calendar-pink .symbol.pink {
    background-color: var(--pink-accent) !important;
}

.calendars-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.calendars-row>div {
    flex: 1;
    min-width: 300px;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}

/* Additional Custom Styles for New Requests */
.about-bg-blur {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-bg-blur::before,
.about-bg-blur::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
}

.about-bg-blur::before {
    width: 600px;
    height: 600px;
    background: #2a529d;
    top: -100px;
    left: -200px;
}

.about-bg-blur::after {
    width: 500px;
    height: 500px;
    background: #5ba2e6;
    bottom: -100px;
    right: -150px;
}

/* Medical Card Redesign */
.medical-card-new {
    border-radius: 16px;
    background: #eef5fb;

    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.medical-card-new.pink-theme {
    background: #eef5fb;
    /* keeping same bg or #fdf8f8 */

}

.medical-card-new.mint-theme {
    background: #f0f6fc;

}

.medical-card-new__title {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.medical-card-new.mint-theme .medical-card-new__title::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    background-image: url('../img/menu1_mint.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.medical-card-new.pink-theme .medical-card-new__title::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    background-image: url('../img/menu2_pink.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.medical-card-new__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.medical-card-new__btn {
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
    background: transparent;
}

.medical-card-new.mint-theme .medical-card-new__btn {
    border: 1px solid #2a529d;
    color: #2a529d;
}

.medical-card-new.pink-theme .medical-card-new__btn {
    border: 1px solid #5ba2e6;
    color: #5ba2e6;
}

.medical-card-new__btn::after {
    content: '竊・;
 position: absolute;
    right: 20px;
}

.medical-card-new__btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.service-arch {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #fff;
}

.service-arch svg {
    display: block;
    width: 100%;
    height: 60px;
}

.medical-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.medical-badge {
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.mint-theme .medical-badge {
    color: #2a529d;
    border-color: #2a529d;
}

.pink-theme .medical-badge {
    color: #5ba2e6;
    border-color: #5ba2e6;
}

/* Fluid Shape for Features Images */
.feature-item__img {
    border-radius: 54% 46% 42% 58% / 60% 58% 42% 40%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.feature-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle-en {
    display: block;
    font-size: 20px;
    color: var(--mint-accent);
    opacity: 0.8;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
    font-weight: bold;
}

.section-title-jp {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(to right, var(--mint-accent), var(--pink-accent), var(--mint-accent));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 6s ease infinite;
    display: inline-block;
}

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Flow Section */
.flow__container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.flow__nav {
    position: sticky;
    top: 100px;
    width: 250px;
    flex-shrink: 0;
}

.flow__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.flow__nav-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 19px;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.flow__nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.flow__nav-item:last-child {
    margin-bottom: 0;
}

.flow__nav-item.is-active {
    opacity: 1;
}

.flow__nav-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.flow__nav-item.is-active .flow__nav-num {
    background-color: var(--mint-accent);
}

.flow__nav-text {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.flow__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow__step-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.flow__step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.flow__step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--mint-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.flow__step-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.flow__step-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.flow__btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--pink-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.flow__btn:hover {
    opacity: 0.8;
}

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

    .flow__nav {
        display: none;
    }

    .flow__step-card {
        padding: 25px;
    }
}


/* ==========================================================================
   Responsive Calendar Table Styles for Perfect SP Fit
   ========================================================================== */
@media screen and (max-width: 768px) {
    .schedule-table th {
        font-size: 12px !important;
        padding: 6px 3px !important;
    }

    .schedule-table td {
        font-size: 12px !important;
        padding: 6px 3px !important;
    }

    .time-col {
        font-size: 11px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .symbol {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 480px) {
    .schedule-table th {
        font-size: 10px !important;
        padding: 5px 2px !important;
    }

    .schedule-table td {
        font-size: 10px !important;
        padding: 5px 2px !important;
    }

    .time-col {
        font-size: 9px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .symbol {
        font-size: 11px !important;
    }
}

/* ==========================================
   全画面表示ファーストビュー（FV）スタイル
   ========================================== */
.fv-new {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, rgba(123, 199, 173, 0.25) 0%, rgba(232, 135, 154, 0.25) 100%);
    padding: 0;
}

/* 背景の装飾的なサークル */
.fv-new__circle {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--mint-pastel) 0%, transparent 70%);
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
}

.fv-new__container {
    position: relative;
    z-index: 4;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 6% !important;
    padding-right: 6% !important;
    box-sizing: border-box;
}

/* 左カラム：テキスト・コピー */
.fv-new__content-col {
    width: 40%;
    max-width: 640px;
    text-align: left;
    z-index: 5;
    padding-right: 20px;
}

.fv-new__logo {
    margin-bottom: 25px;
}

.fv-new__logo img {
    max-width: 285px;
    height: auto;
    display: block;
}

.fv-new__main-title {
    font-size: clamp(33px, 3.8vw, 47px);
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-color);
    font-family: 'Zen Old Mincho', serif;
    letter-spacing: 0.05em;
}

.fv-new__sub-title {
    font-size: clamp(15px, 1.6vw, 17px);
    margin-bottom: 35px;
    line-height: 1.8;
    color: #3a2b20;
    font-weight: 500;
}

.fv-new__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fv-new__actions .btn {
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: none;
    font-size: 15px;
}

.fv-new__actions .btn--line {
    background-color: var(--mint-accent);
    color: #fff;
}

.fv-new__actions .btn--line:hover {
    background-color: #4da685;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 184, 150, 0.25);
}

.fv-new__actions .btn--tel {
    background-color: var(--pink-accent);
    color: #fff;
}

.fv-new__actions .btn--tel:hover {
    background-color: #db6275;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 135, 154, 0.25);
}

.nobr {
    display: inline-block;
    white-space: nowrap;
}

/* 右カラム：流体画像スライドショー領域 */
.fv-new__image-col {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* 右端に寄せる */
    padding-right: 20px;
}

.fv-new__image-wrapper {
    position: relative;
    width: 720px;
    height: 720px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(44, 62, 53, 0.12);
    /* 初期流体シェイプ */
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    /* 浮遊アニメーションのみ適用（流体可変アニメーションは削除） */
    animation: fv-float 10s ease-in-out infinite;
    transform-origin: center center;
    margin-right: 90px;
    /* 右側にスケジュールを配置するスペースを確保 */
}

/* 流体（アメーバ）アニメーション */
@keyframes fluid-blob {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    25% {
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    }

    50% {
        border-radius: 50% 50% 30% 70% / 40% 60% 30% 70%;
    }

    75% {
        border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

/* ふわふわ浮遊するアニメーション */
@keyframes fv-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* スライドショー背景 */
.fv-new__bg-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fv-new__bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
}

.fv-new__bg-slide.slide-1 {
    background: url('../img/slide (2).jpg');
    animation: fv-fade-new 15s infinite;
}

.fv-new__bg-slide.slide-2 {
    background: url('../img/slide (4).jpg');
    animation: fv-fade-new 15s infinite;
    animation-delay: 5s;
}

.fv-new__bg-slide.slide-3 {
    background: url('../img/slide (6).jpg');
    animation: fv-fade-new 15s infinite;
    animation-delay: 10s;
}

@keyframes fv-fade-new {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

/* FV内カレンダー配置（画像の上にオーバーレイ - イーハトーブ歯科クリニック風の右寄せ配置） */
.fv-new__calendars-overlay {
    position: absolute;
    bottom: 60px;
    /* 画像の右下部分に重ねる */
    right: 20px;
    /* 右端にピッタリ寄せる */
    width: 460px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    /* よりはっきりとした背景 */
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* 柔らかい影 */
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.fv-new__calendars-overlay .schedule-wrapper {
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.fv-new__calendars-overlay h3 {
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    color: var(--mint-accent) !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
}

.fv-new__calendars-overlay .schedule-wrapper:last-of-type h3 {
    color: var(--pink-accent) !important;
}

/* 二重の四角を消すため、テーブルカードの背景や枠線を透過にする */
.fv-new__calendars-overlay .schedule-table-card {
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.fv-new__calendars-overlay .schedule-table {
    width: 100% !important;
    min-width: auto !important;
    border-collapse: collapse !important;
    background: transparent !important;
    border: none !important;
}

/* 一般内科のヘッダー：淡いミント背景 ＋ 下ボーダー */
.fv-new__calendars-overlay .calendar-mint .schedule-table th {
    background-color: rgba(123, 199, 173, 0.08) !important;
    color: var(--mint-accent) !important;
    border-bottom: 1px solid rgba(123, 199, 173, 0.3) !important;
}

/* 心療内科のヘッダー：淡いピンク背景 ＋ 下ボーダー */
.fv-new__calendars-overlay .calendar-pink .schedule-table th {
    background-color: rgba(232, 135, 154, 0.08) !important;
    color: var(--pink-accent) !important;
    border-bottom: 1px solid rgba(232, 135, 154, 0.3) !important;
}

.fv-new__calendars-overlay .schedule-table th,
.fv-new__calendars-overlay .schedule-table td {
    padding: 7px 5px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    border-right: none !important;
    /* 縦線なし */
    border-left: none !important;
    /* 縦線なし */
    background: transparent !important;
}

/* 横線のみ（ボーダーボトム） */
.fv-new__calendars-overlay .calendar-mint .schedule-table td {
    border-bottom: 1px solid rgba(123, 199, 173, 0.25) !important;
}

.fv-new__calendars-overlay .calendar-pink .schedule-table td {
    border-bottom: 1px solid rgba(232, 135, 154, 0.25) !important;
}

.fv-new__calendars-overlay .schedule-table tr:last-child td {
    border-bottom: none !important;
    /* 最下部のボーダーは削除 */
}

.fv-new__calendars-overlay .time-col {
    font-size: 11px !important;
    width: 92px !important;
    text-align: left !important;
    font-weight: bold !important;
    color: #444 !important;
}

.fv-new__calendars-overlay .symbol {
    width: 8px !important;
    height: 8px !important;
    display: inline-block !important;
    border-radius: 50% !important;
}

.fv-new__calendars-overlay .symbol.mint {
    background-color: var(--mint-accent) !important;
}

.fv-new__calendars-overlay .symbol.pink {
    background-color: var(--pink-accent) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
    .fv-new {
        height: auto;
        min-height: auto;
        margin-top: 0 !important;
        padding: 110px 0 60px;
        display: block;
    }

    .fv-new__container {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        height: auto;
    }

    .fv-new__content-col {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        position: relative;
        z-index: 5;
    }

    .fv-new__logo {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .fv-new__logo img {
        max-width: 250px;
        margin: 0 auto;
    }

    .fv-new__actions {
        justify-content: center;
    }

    .fv-new__image-col {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 0 !important;
        /* 右余白を完全にゼロに */
        margin-top: -60px;
        /* テキストと少し重なりを持たせる */
        z-index: 2;
        /* テキストの後ろに配置 */
    }

    .fv-new__image-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: clamp(300px, 85vw, 360px) !important;
        height: clamp(300px, 85vw, 360px) !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55% !important;
        /* 変形アニメーションを停止し、浮遊アニメーションのみにする */
        animation: fv-float 10s ease-in-out infinite !important;
        margin-right: 0 !important;
        /* 右マージンを完全にリセット */
    }

    .fv-new__calendars {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .fv-new {
        margin-top: 0 !important;
        padding: 90px 0 60px !important;
    }

    .fv-new__overlay {
        background: rgba(255, 255, 255, 0.88);
    }

    .fv-new__main-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .fv-new__sub-title {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .fv-new__actions {
        flex-direction: column;
        width: 100%;
    }

    .fv-new__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   SP Responsive Adjustments for Comfort and Legibility
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* 全体見出しサイズを20pxで統一 */
    .section-title,
    .section-title-jp,
    .final-cta__title,
    .cta-title,
    .section-title span {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .section-title img {
        width: auto !important;
        max-height: 35px !important;
        margin-left: 0 !important;
    }

    /* ヘッダー・ロゴ・ハンバーガーメニュー */
    .header {
        height: 60px !important;
        z-index: 2500 !important;
        /* ドロワー(2000)より手前に出す */
    }

    .header__inner {
        padding: 0 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .header__logo {
        margin-right: auto !important;
    }

    .header__logo img {
        height: 35px !important;
        width: auto !important;
    }

    .header__hamburger {
        display: block !important;
        position: relative !important;
        z-index: 2600 !important;
        /* 最前面に固定 */
        width: 26px !important;
        height: 18px !important;
    }

    .header__hamburger span {
        height: 2px !important;
        background: #2c3e35 !important;
        /* 薄いピンクからコントラストの高い濃い緑に変更 */
    }

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

    .header__hamburger span:nth-child(2) {
        top: 8px !important;
    }

    .header__hamburger span:nth-child(3) {
        top: 16px !important;
    }

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

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

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

    /* SPの大見出し（セクションタイトル、最終CTAタイトルなど）は24pxに統一 */
    .section-title,
    .section-title-jp,
    .final-cta__title,
    .cta-title,
    .section-title span,
    .about-new__title,
    h2 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }

    /* 各コンテンツブロックの小見出し（SERVICE特徴、FLOWステップ、医師名など）を20pxに統一 */
    .feature-item__title,
    .flow__step-title,
    .doctor-card__name,
    .medical-card-new__title,
    .greeting__intro h3,
    h3 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .doctor-card__name span {
        font-size: 13px !important;
    }

    /* 本文は基本16pxで統一（15px以下の注記や補足テキストはそのまま） */
    .about__text,
    .feature-item__desc,
    .medical-card-new__desc,
    .flow__step-body p,
    .message-text,
    .doctor-card__text {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    /* こんな症状はご相談ください (Consultation) */
    .consultation__list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }

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

    .consultation__title {
        font-size: 20px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }

    .consultation__list li {
        font-size: 16px !important;
        /* 本文16pxに統一 */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        text-align: center !important;
        padding: 25px 15px !important;
    }

    .consultation__list li span {
        text-align: center !important;
        display: block !important;
    }

    /* ABOUT (当院について) 本文だけ左揃え */
    .about__text {
        text-align: left !important;
        display: block !important;
    }

    /* 中間・最終CTA */
    .cta-row-new {
        gap: 15px !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* 電話番号 iPhone SE(320px) でも改行されないよう縮小 */
    .cta-row-new a[href^="tel:"] {
        font-size: 1.5rem !important;
    }

    .cta-row-new a[href*="reserve.ne.jp"] {
        font-size: 1.05rem !important;
        padding: 14px 30px !important;
        width: 100% !important;
        max-width: 290px !important;
        justify-content: center !important;
    }

    /* カレンダータイトルを16pxに統一し、完全に中央揃えにする */
    .schedule-wrapper {
        text-align: center !important;
    }

    .schedule-wrapper h3 {
        font-size: 16px !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* ACCESS (アクセス) のレスポンシブ崩れ対策 */
    .access__info {
        gap: 30px !important;
    }

    .access__info>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        box-sizing: border-box !important;
    }

    .access__map {
        flex: 1 1 100% !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .access__map iframe {
        height: 250px !important;
        /* スマホでは高さを縮小 */
    }

    /* カレンダー外枠線の削除 & 横スクロール */
    .schedule-table-card {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px !important;
        padding: 5px 15px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }

    .calendar-mint,
    .calendar-pink {
        border: none !important;
    }

    .schedule-table {
        min-width: 500px !important;
        /* 横スクロールを発生させて可読性を保つ */
        background: #fff !important;
        border-radius: 12px !important;
        border: none !important;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 11px !important;
        padding: 8px 4px !important;
    }

    .time-col {
        font-size: 10px !important;
    }

    /* FLOW (受診の流れ) 画像をDIVの中央に揃える */
    .flow__step-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 25px 20px !important;
    }

    .flow__step-img {
        flex: 1 1 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 15px !important;
        width: 100% !important;
    }

    .flow__step-img img {
        max-width: 280px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* MESSAGE (メッセージ) SP用グラデーション＆見出しフォントサイズ調整 */
    .message__fade-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%) !important;
    }

    #message h2 {
        font-size: 20px !important;
        line-height: 1.6 !important;
    }

    /* 固定CTA (SP用追従CTA) レスポンシブはみ出し防止 */
    .fixed-cta {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        z-index: 2001 !important;
        background: #fff !important;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.08) !important;
        box-sizing: border-box !important;
        padding: 10px !important;
        gap: 10px !important;

        /* 初期状態：非表示（透明化＆下スライド） */
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(100%) !important;
        transition: opacity 0.4s ease, transform 0.4s ease !important;
    }

    /* スクロールでFVを超えた時にアクティブ表示 */
    .fixed-cta.is-active {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .fixed-cta__btn {
        flex: 1 1 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 46px !important;
        border-radius: 23px !important;
        font-size: 13px !important;
        /* iPhone SE 縦画面での絶対的なはみ出し防止 */
        font-weight: bold !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        gap: 6px !important;
    }
}

@media screen and (min-width: 769px) {

    /* 通常時（PC）は追従CTAを非表示 */
    .fixed-cta {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .about__text br.pc-only {
        display: none !important;
    }
}

/* ──────────────────────────────────────────────────────────
   SP表示（スマートフォン向け）の見切れ防止・改行固定・レイアウト微調整
   ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    br.sp-only {
        display: inline !important;
    }

    .pc-only {
        display: none !important;
    }

    .fv-new__main-title {
        font-size: 32px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .fv-new__sub-title {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .fv-new__logo img {
        max-width: 210px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .fv-new__main-title {
        font-size: 30px !important;
    }

    .fv-new__sub-title {
        font-size: 12px !important;
    }

    .fv-new__logo img {
        max-width: 190px;
    }
}

/* ==========================================================================
   TOPへ戻るボタン (totop)
   ========================================================================== */
.totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--mint-accent);
    border-radius: 50%;
    z-index: 1800;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.totop::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.totop:hover {
    background-color: var(--pink-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.totop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* スマホ表示時（追従CTAの上に配置） */
@media screen and (max-width: 768px) {
    .totop {
        bottom: 80px !important;
        /* 追従CTAの高さ66pxを避けて配置 */
        right: 15px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .totop::before {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ==========================================================================
   コピー禁止・画像ドラッグ禁止設定
   ========================================================================== */
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

img {
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
}

/* ==========================================================================
   ABOUT Section (2 Column & Extra Large Portrait Slider reaching right edge)
   ========================================================================== */
#about.section.about {
    overflow: hidden !important;
    position: relative !important;
    padding: 80px 0 60px !important;
}

.container--about {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

/* テキストエリアの比率をコンパクトに調整し、スライダーの空間を広げる */
.about__content {
    flex: 0 0 35% !important;
    max-width: 440px !important;
}

/* スライダーエリアの占有幅を約65%に拡張し、画面右端までゆったり広げる */
.about__slider-wrapper {
    flex: 0 0 65% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-right: calc(-50vw + 50%) !important;
    overflow: hidden !important;
    padding: 50px 0 !important;
}

/* 超特大縦長スライド画像 */
.about__slider-wrapper .auto-slider__item img {
    height: 540px !important;
    width: 360px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16) !important;
}

.about__slider-wrapper .auto-slider__track {
    gap: 40px !important;
    padding-right: 40px !important;
}

@media screen and (max-width: 1200px) {
    .about__content {
        flex: 0 0 40% !important;
    }

    .about__slider-wrapper {
        flex: 0 0 60% !important;
    }

    .about__slider-wrapper .auto-slider__item img {
        height: 460px !important;
        width: 310px !important;
    }
}

@media screen and (max-width: 992px) {
    .container--about {
        gap: 30px !important;
    }

    .about__content {
        flex: 0 0 45% !important;
    }

    .about__slider-wrapper {
        flex: 0 0 55% !important;
    }

    .about__slider-wrapper .auto-slider__item img {
        height: 400px !important;
        width: 270px !important;
    }
}

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

    .about__content {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .about__slider-wrapper {
        flex: 1 1 100% !important;
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding: 30px 0 !important;
    }

    .about__slider-wrapper .auto-slider__item img {
        height: 350px !important;
        width: 240px !important;
        border-radius: 18px !important;
    }
}

/* ==========================================================================
   SERVICE (Features) Decoration Styles (Card Cover & Big Transparent Numbers)
   ========================================================================== */
#features.section.features {
    position: relative !important;
    padding: 80px 0 100px !important;
    background-image: url('../img/servicebg.jpg') !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.features__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 100px !important;
}

.feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    position: relative !important;
}

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

/* 1. 画像カバー（添付画像のような白い角丸カードフレーム＋ドロップシャドウ） */
.feature-item__img {
    flex: 1 1 50% !important;
    background: #ffffff !important;
    padding: 14px !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 45px rgba(50, 90, 130, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 11 !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.feature-item__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    filter: none !important;
    transform: none !important;
}

.feature-item:hover .feature-item__img {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 50px rgba(50, 90, 130, 0.14) !important;
}

/* 2. テキストエリア & 角の巨大うす薄ナンバー（01, 02, 03...） */
.feature-item__text {
    flex: 1 1 50% !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 10px 0 !important;
}

.feature-item__num {
    position: absolute !important;
    top: -65px !important;
    left: -20px !important;
    font-size: clamp(6.5rem, 12vw, 10.5rem) !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    color: rgba(75, 145, 215, 0.14) !important;
    /* 添付画像のような美しい透け感ブルー */
    line-height: 1 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    user-select: none !important;
    letter-spacing: -3px !important;
}

/* 偶数項目のテキスト右配置時は右上にナンバーを寄せる */
.feature-item--rev .feature-item__num {
    left: auto !important;
    right: -10px !important;
}

.feature-item__title {
    position: relative !important;
    z-index: 2 !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: #245246 !important;
    margin-bottom: 18px !important;
    letter-spacing: 0.5px !important;
}

.feature-item__desc {
    position: relative !important;
    z-index: 2 !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
    color: #444444 !important;
}

@media screen and (max-width: 992px) {
    .feature-item {
        gap: 40px !important;
    }

    .feature-item__num {
        font-size: 7rem !important;
        top: -45px !important;
    }
}

@media screen and (max-width: 768px) {
    .features__list {
        gap: 70px !important;
    }

    .feature-item,
    .feature-item--rev {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .feature-item__img,
    .feature-item__text {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .feature-item__text {
        margin-top: 15px !important;
    }

    .feature-item__img {
        padding: 10px !important;
        border-radius: 20px !important;
    }

    .feature-item__img img {
        border-radius: 12px !important;
    }

    .feature-item__num {
        font-size: 5.5rem !important;
        top: -35px !important;
        left: -10px !important;
    }

    .feature-item--rev .feature-item__num {
        right: 0px !important;
    }
}

/* ==========================================================================
   診療案内 Medical Grid (Icon Card Layout)
   ========================================================================== */
#medical.section.medical {
    background-color: #2a529d !important;
    padding: 80px 0 100px !important;
}

#medical .section-title-jp {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

/* 5列グリッド（PC）→ 2行 × 5列 = 10枚 */
.medical-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    margin-top: 50px !important;
}

.medical-card {
    position: relative !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 36px 20px 28px !important;
    text-align: center !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    cursor: default !important;
    min-height: 210px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.medical-card:hover {
    background: #fdf8ec !important;
    z-index: 2 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* 参考画像の縦書き英語ラベル（右端）*/
.medical-card__en {
    position: absolute !important;
    top: 0 !important;
    right: 10px !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    font-size: 0.52rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    color: #c8b560 !important;
    opacity: 0.75 !important;
    padding-top: 12px !important;
    line-height: 1 !important;
}

/* SVGアイコンエリア */
.medical-card__icon {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 1 !important;
}

.medical-card__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.medical-card:hover .medical-card__icon img {
    transform: scale(1.1) !important;
}

/* 薄い円形背景（参考画像のアクセント） */
.medical-card__icon::before {
    content: '' !important;
    position: absolute !important;
    inset: -8px !important;
    border-radius: 50% !important;
    background: rgba(212, 170, 0, 0.07) !important;
    z-index: -1 !important;
    transition: background 0.3s ease !important;
}

.medical-card:hover .medical-card__icon::before {
    background: rgba(212, 170, 0, 0.15) !important;
}

.medical-card__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #2a529d !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.02em !important;
    line-height: 1.3 !important;
}

.medical-card__desc {
    font-size: 0.75rem !important;
    color: #888 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
}

@media screen and (max-width: 1100px) {
    .medical-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

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

    .medical-card {
        min-height: 185px !important;
        padding: 28px 14px 22px !important;
    }

    .medical-card__icon {
        width: 56px !important;
        height: 56px !important;
        margin-bottom: 12px !important;
    }

    .medical-card__title {
        font-size: 0.9rem !important;
    }

    .medical-card__desc {
        font-size: 0.7rem !important;
    }
}

/* ==========================================================================
   料金案内セクション
   ========================================================================== */
.price__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.price-card {
    background: #ffffff;
    border: 2px solid rgba(42, 82, 157, 0.25);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a529d, #a8e6cf);
    border-radius: 20px 20px 0 0;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(42, 82, 157, 0.2);
    border-color: rgba(42, 82, 157, 0.5);
}

.price-card__icon {
    width: 100%;
    height: 200px;
    margin: 0;
    background: transparent;
    display: block;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.price-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-card:hover .price-card__icon {
    transform: scale(1.03);
}

.price-card__icon svg {
    width: 100%;
    height: 100%;
}

.price-card__label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--mint-accent);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.price-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
    line-height: 1.4;
}

.price-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mint-accent);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
}

.price-card__price-sub {
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    display: block;
    margin-top: 2px;
}

.price-card__desc {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.price__cta {
    text-align: center;
    padding: 32px 20px;
}

.price__note {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 16px;
}

.price__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mint-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(42, 82, 157, 0.3);
}

.price__link:hover {
    background: #5ab5b5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 82, 157, 0.4);
    opacity: 1;
}

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

@media screen and (max-width: 600px) {
    .price__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .price-card {
        padding: 0;
        text-align: center;
    }

    .price-card__content {
        padding: 24px 20px;
    }

    .price-card__icon {
        width: 100%;
        height: 180px;
        margin: 0;
    }

    .price-card__label {
        margin-bottom: 4px;
    }

    .price-card__price-sub {
        display: inline;
    }
}

/* ==========================================================================
   院長紹介セクション
   ========================================================================== */
.director__wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(4px);
}

.director__image {
    flex-shrink: 0;
    width: 220px;
}

.director__image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.director__content {
    flex: 1;
}

.director__clinic {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mint-accent);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.director__name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    font-family: 'Zen Old Mincho', serif;
}

.director__quote {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mint-accent);
    background: rgba(42, 82, 157, 0.08);
    border-left: 4px solid var(--mint-accent);
    border-radius: 0 12px 12px 0;
    padding: 14px 20px;
    margin-bottom: 24px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.director__quote-mark {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.4;
    font-family: Georgia, serif;
}

.director__text {
    font-size: 0.92rem;
    color: #555;
    line-height: 2;
    margin-bottom: 16px;
}

.director__text:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .director__wrap {
        flex-direction: column;
        gap: 28px;
        padding: 28px 24px;
    }

    .director__image {
        width: 160px;
        margin: 0 auto;
    }

    .director__name {
        font-size: 1.6rem;
        text-align: center;
    }

    .director__clinic {
        text-align: center;
    }
}

/* ==========================================================================
   fv-split (New First View)
   ========================================================================== */
.fv-split {
    position: relative;
    width: 100%;
    min-height: 80vh;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fv-split__bgs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.fv-split__col {
    flex: 1;
    height: 100%;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fade-in-left 0.5s forwards;
}

.fv-split__col:last-child {
    border-right: none;
}

.fv-split__col:nth-child(1) { animation-delay: 0.2s; }
.fv-split__col:nth-child(2) { animation-delay: 0.4s; }
.fv-split__col:nth-child(3) { animation-delay: 0.6s; }

.fv-split__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.fv-split__bg--2 {
    opacity: 0;
    animation: crossfade 12s infinite;
}
.fv-split__col:nth-child(1) .fv-split__bg--2 { animation-delay: 1s; }
.fv-split__col:nth-child(2) .fv-split__bg--2 { animation-delay: 3s; }
.fv-split__col:nth-child(3) .fv-split__bg--2 { animation-delay: 5s; }

.fv-split__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(194 215 255 / 75%);
    /* #2a529d with opacity */
    z-index: 2;
}

.fv-split__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.fv-split__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    padding: 60px 20px;
    opacity: 0;
    animation: fade-in-up 0.8s forwards;
    animation-delay: 1.0s;
}

.fv-split__logo img {
    height: 60px;
    margin-bottom: 30px;
}

.fv-split__main-title {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #fff !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.fv-split__badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.fv-split__badge {
    width: 150px;
    height: 150px;
    padding: 10px;
    border: 1px solid var(--mint-accent);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--mint-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.4;
    flex-shrink: 0;
}

@keyframes crossfade {
    0%, 35% { opacity: 0; }
    50%, 85% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fade-in-left {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
    .fv-split {
        min-height: 60vh;
    }

    .fv-split__bgs {
        flex-direction: column;
    }
    .fv-split__col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .fv-split__col:last-child {
        border-bottom: none;
    }

    .fv-split__main-title {
        font-size: 2.2rem;
    }

    .fv-split__logo img {
        height: 45px;
    }

    .fv-split__badges {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        max-width: 320px;
    }

    .fv-split__badge {
        width: 100%;
        max-width: 100px;
        height: auto;
        aspect-ratio: 1;
        font-size: 11px;
    }
}