/* ==========================================================================
   おひさまホームクリニック - Organic Warmth Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --main-orange: #F5A962;
    --main-orange-deep: #E89044;
    --main-orange-soft: #FFCF9E;
    --main-orange-pale: #FFF0E0;
    --sub-beige: #FFF8F0;
    --accent-green: #7CB342;
    --accent-green-deep: #5E9C1B;
    --accent-green-soft: #A5D66F;
    --accent-green-pale: #E8F5D9;
    --accent-pink: #FFB5BA;
    --accent-blue: #A8D8EA;
    --text-main: #3D3832;
    --text-sub: #7A7268;
    --bg-cream: #FFFDF9;
    --bg-white: #FFFFFF;
    --orange-a4: rgba(245, 169, 98, 0.04);
    --orange-a6: rgba(245, 169, 98, 0.06);
    --orange-a8: rgba(245, 169, 98, 0.08);
    --orange-a10: rgba(245, 169, 98, 0.1);
    --orange-a12: rgba(245, 169, 98, 0.12);
    --orange-a15: rgba(245, 169, 98, 0.15);
    --orange-a20: rgba(245, 169, 98, 0.2);
    --shadow-dreamy: 0 8px 40px var(--orange-a12);
    --shadow-soft: 0 4px 20px rgba(61, 56, 50, 0.06);
    --shadow-lift: 0 16px 48px rgba(245, 169, 98, 0.18);
    --radius-round: 28px;
    --radius-pill: 100px;
    --radius-blob: 60% 40% 50% 50% / 50% 50% 40% 60%;
    --container-max: 1200px;
    --content-lg: 1000px;
    --content-md: 900px;
    --content-sm: 800px;
    --content-xs: 700px;
    --container-padding: 1.5rem;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.9;
    /* Progressive enhancement: improve Japanese line breaking (supported browsers). */
    word-break: normal;
    word-break: auto-phrase;
    overflow-x: hidden;
    position: relative;
}

/* Progressive enhancement: nicer multi-line wrapping (supported browsers). */
.section-header__title,
.page-header__title,
.hero__title,
.cta__title {
    text-wrap: balance;
}

.section-header__text,
.hero__description,
.cta__text,
.apply-info__text,
.contact-intro__text,
.cost-info__text {
    text-wrap: pretty;
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: var(--container-max);
    background: rgba(255, 253, 249, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-radius: var(--radius-round);
    box-shadow: 0 4px 24px rgba(61, 56, 50, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    padding: 10px 28px;
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid var(--orange-a8);
}

.header--scrolled {
    background: rgba(255, 253, 249, 0.95);
    box-shadow: 0 8px 32px rgba(61, 56, 50, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    padding: 6px 28px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-spring);
}

.header__logo:hover {
    transform: scale(1.02);
}

.header__logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.5s var(--ease-spring);
}

.header--scrolled .header__logo-icon {
    width: 40px;
    height: 40px;
}

.header__logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.header__logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.header__logo-text small {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Caveat', cursive;
    font-size: 13px;
    font-weight: 600;
    color: var(--main-orange);
    letter-spacing: 0;
}

.header__badge {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: var(--main-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.header__nav-list {
    display: flex;
    gap: 2px;
}

.header__nav-link {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.35s var(--ease-out-expo);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--main-orange);
    border-radius: 2px;
    transition: all 0.35s var(--ease-out-expo);
    transform: translateX(-50%);
}

.header__nav-link:hover {
    color: var(--main-orange);
}

.header__nav-link:hover::after {
    width: 20px;
}

.header__cta {
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 100%);
    color: white;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 169, 98, 0.3);
    transition: all 0.4s var(--ease-spring);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.header__cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(245, 169, 98, 0.4);
}

/* Mobile Menu */
.header__menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 10;
}

.header__menu-icon {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    position: relative;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.header__menu-icon::before,
.header__menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: transform 0.4s var(--ease-out-expo);
    border-radius: 2px;
}

.header__menu-icon::before { top: -7px; }
.header__menu-icon::after { bottom: -7px; }

.header__menu-btn[aria-expanded="true"] .header__menu-icon {
    background-color: transparent;
}
.header__menu-btn[aria-expanded="true"] .header__menu-icon::before {
    transform: translateY(7px) rotate(45deg);
}
.header__menu-btn[aria-expanded="true"] .header__menu-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */
main {
    padding-top: 100px;
}

/* --------------------------------------------------------------------------
   Section Headers (shared)
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header__label {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-header__title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    position: relative;
    display: inline-block;
}

.section-header__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--main-orange), var(--main-orange-soft));
    border-radius: 3px;
    margin: 14px auto 0;
}

.section-header__text {
    font-size: 15px;
    color: var(--text-sub);
    max-width: 480px;
    margin: 0 auto;
    line-height: 2;
}

/* --------------------------------------------------------------------------
   Page Header (sub-pages)
   -------------------------------------------------------------------------- */
.page-header {
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--main-orange-pale) 0%, var(--bg-cream) 100%);
}

/* Decorative floating circles */
.page-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--orange-a10) 0%, transparent 70%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.08) 0%, transparent 70%);
}

.page-header__inner {
    position: relative;
    z-index: 1;
}

.page-header__label {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.page-header__title {
    font-size: 34px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.page-header__image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    opacity: 0.25;
    border-radius: 50%;
    filter: blur(0.5px);
}

/* --------------------------------------------------------------------------
   Hero Section (TOP)
   -------------------------------------------------------------------------- */
.hero {
    min-height: calc(100vh - 100px);
    padding: 40px 40px 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232, 245, 217, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 207, 158, 0.3) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-cream) 0%, var(--main-orange-pale) 50%, var(--sub-beige) 100%);
    z-index: 0;
}

/* Floating decorative shapes */
.hero__bg::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    background: radial-gradient(circle at 30% 30%, var(--orange-a8), transparent 70%);
    animation: morphBlob 12s ease-in-out infinite;
}

.hero__bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
    background: radial-gradient(circle at 60% 60%, rgba(124, 179, 66, 0.06), transparent 70%);
    animation: morphBlob 15s ease-in-out infinite reverse;
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg) scale(1); }
    33% { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; transform: rotate(5deg) scale(1.05); }
    66% { border-radius: 55% 45% 60% 40% / 40% 60% 50% 50%; transform: rotate(-3deg) scale(0.97); }
}

.hero__content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__text {
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal 1s var(--ease-out-expo) 0.2s forwards;
}

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero__catch {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero__catch::after {
    content: ' ~';
}

.hero__title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

.hero__title-highlight {
    color: var(--main-orange);
    position: relative;
    display: inline-block;
}

.hero__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -4px;
    right: -4px;
    height: 10px;
    background: linear-gradient(90deg, var(--main-orange-pale), rgba(255, 240, 224, 0.4));
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-0.5deg);
}

.hero__description {
    font-size: 15.5px;
    color: var(--text-sub);
    margin-bottom: 20px;
    max-width: 420px;
    line-height: 2;
}

.hero__opening {
    display: inline-block;
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 100%);
    color: white;
    padding: 8px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(245, 169, 98, 0.25);
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__btn {
    padding: 16px 34px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.4s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.03em;
}

.hero__btn--primary {
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(245, 169, 98, 0.3);
}

.hero__btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(245, 169, 98, 0.4);
}

.hero__btn--secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    border: 2px solid var(--main-orange-soft);
    backdrop-filter: blur(8px);
}

.hero__btn--secondary:hover {
    border-color: var(--main-orange);
    color: var(--main-orange);
    background: white;
    transform: translateY(-2px);
}

.hero__btn-icon {
    font-size: 18px;
    transition: transform 0.3s var(--ease-spring);
}

.hero__btn--primary:hover .hero__btn-icon {
    transform: translateX(4px);
}

.hero__visual {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal 1s var(--ease-out-expo) 0.5s forwards;
}

.hero__illustration {
    position: relative;
    width: 100%;
}

.hero__illustration img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-dreamy);
}

.hero__stats-wrap {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero__badge {
    background-color: var(--main-orange);
    color: #fff;
    font-size: clamp(18px, 1.2vw + 14px, 24px);
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.hero__stats {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 20px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    gap: 32px;
    border: 1px solid var(--orange-a10);
}

.hero__stat {
    text-align: center;
}

.hero__stat-value {
    font-size: 26px;
    font-weight: 900;
    color: var(--main-orange);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero__stat-label {
    font-size: 11px;
    color: var(--text-sub);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features {
    padding: 120px 40px;
    background: white;
    position: relative;
}

.features__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
}

.features__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.features__grid {
    max-width: var(--content-lg);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--sub-beige);
    padding: 40px 28px;
    border-radius: var(--radius-round);
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--orange-a6);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: var(--orange-a12);
}

.feature-card__image {
    width: 100%;
    height: 160px;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.feature-card:hover .feature-card__image img {
    transform: scale(1.06);
}

.feature-card__icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: white;
    border-radius: var(--radius-blob);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s var(--ease-spring);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

.feature-card__text {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Message Section (院長メッセージ / TOP)
   -------------------------------------------------------------------------- */
.message {
    padding: 120px 40px;
    background: linear-gradient(180deg, white 0%, var(--accent-green-pale) 100%);
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.05) 0%, transparent 70%);
}

.message__inner {
    max-width: var(--content-lg);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.message__visual {
    position: relative;
}

.message__image {
    width: 100%;
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-dreamy);
}

.message__image img {
    width: 100%;
    height: auto;
    display: block;
}

.message__badge {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100px;
    height: 100px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.4);
    transform: rotate(10deg);
}

.message__badge-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.message__badge-text {
    font-size: 10px;
}

.message__content {
    position: relative;
}

.message__quote {
    font-family: 'Caveat', cursive;
    font-size: 72px;
    font-weight: 700;
    color: var(--main-orange-soft);
    line-height: 1;
    margin-bottom: -20px;
    opacity: 0.6;
}

.message__title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.message__text {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 32px;
    line-height: 2;
}

.message__points {
    list-style: none;
    margin-bottom: 36px;
}

.message__point {
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    border-bottom: 1px solid var(--orange-a15);
    transition: padding-left 0.3s var(--ease-out-expo);
}

.message__point:hover {
    padding-left: 38px;
}

.message__point::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-orange), var(--main-orange-soft));
    box-shadow: 0 2px 8px rgba(245, 169, 98, 0.3);
}

.message__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.35s var(--ease-out-expo);
    letter-spacing: 0.02em;
}

.message__link:hover {
    gap: 14px;
    color: var(--accent-green-deep);
}

/* --------------------------------------------------------------------------
   News Section
   -------------------------------------------------------------------------- */
.news {
    padding: 100px 40px;
    background: var(--sub-beige);
}

.news__inner {
    max-width: var(--content-md);
    margin: 0 auto;
}

.news__list {
    background: white;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--orange-a6);
}

.news__item {
    padding: 24px 32px;
    border-bottom: 1px solid var(--orange-a10);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.35s var(--ease-out-expo);
}

.news__item:last-child {
    border-bottom: none;
}

.news__item:hover {
    background: var(--main-orange-pale);
    padding-left: 40px;
}

.news__date {
    font-size: 13px;
    color: var(--text-sub);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.news__tag {
    font-size: 11px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--main-orange);
    color: white;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.news__tag--recruit {
    background: var(--accent-green);
}

.news__title {
    flex: 1;
    font-size: 15px;
    color: var(--text-main);
}

.news__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.news__title a:hover {
    color: var(--main-orange);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 60%, #D87A3A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.08;
}

.cta__bg-img {
    width: 400px;
    height: auto;
}

.cta__inner {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 30px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.cta__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 2;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.cta__btn {
    padding: 18px 44px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.4s var(--ease-spring);
    letter-spacing: 0.03em;
}

.cta__btn--primary {
    background: white;
    color: var(--main-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cta__btn--primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cta__btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.cta__phone {
    color: white;
    display: inline-block;
    text-align: left;
}

.cta__phone-label {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.cta__phone-number,
.cta__phone-fax {
    font-size: 36px;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    letter-spacing: 0.06em;
    color: white;
    line-height: 1.4;
}

.cta__phone-term {
    display: inline-block;
    width: 5.6em;
    min-width: 5.6em;
    flex-shrink: 0;
    white-space: nowrap;
}

.cta__phone-value {
    display: inline-block;
}

.cta__phone-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: #2E2A25;
    color: white;
    padding: 80px 40px 40px;
    position: relative;
}

.footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
}

.footer__wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

.footer__inner {
    max-width: var(--content-lg);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__brand-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.footer__brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer__brand-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer__info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
}

.footer__title {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    font-weight: 600;
    color: var(--main-orange);
    margin-bottom: 18px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    padding-left: 0;
}

.footer__links a:hover {
    color: var(--main-orange-soft);
    padding-left: 6px;
}

.footer__bottom {
    max-width: var(--content-lg);
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer__copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Buttons (shared)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
    font-family: inherit;
    letter-spacing: 0.03em;
}

.btn--primary {
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(245, 169, 98, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(245, 169, 98, 0.4);
}

.btn--secondary {
    background: white;
    color: var(--text-main);
    border: 2px solid var(--main-orange-soft);
}

.btn--secondary:hover {
    border-color: var(--main-orange);
    color: var(--main-orange);
    transform: translateY(-2px);
}

.btn--tel {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.35);
}

.btn--tel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 179, 66, 0.45);
}

.btn--large {
    padding: 20px 48px;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Section (shared)
   -------------------------------------------------------------------------- */
.section {
    padding: 100px 40px;
    position: relative;
}

.section--beige {
    background: var(--sub-beige);
}

.section--white {
    background: white;
}

.section--green-pale {
    background: var(--accent-green-pale);
}

.section__title {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

.section__text {
    text-align: center;
    max-width: var(--content-xs);
    margin: 0 auto 40px;
    color: var(--text-sub);
    font-size: 15px;
    line-height: 2;
}

/* --------------------------------------------------------------------------
   Medical Care Page
   -------------------------------------------------------------------------- */
.medical-intro {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.medical-intro__image {
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-dreamy);
}

.medical-intro__image img {
    width: 100%;
    height: auto;
    display: block;
}

.medical-intro__text {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 2.1;
}

.medical-list {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.medical-list__category {
    background: white;
    padding: 36px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-a6);
    transition: all 0.4s var(--ease-out-expo);
}

.medical-list__category:hover {
    box-shadow: var(--shadow-dreamy);
    transform: translateY(-3px);
}

.medical-list__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--main-orange);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-orange-pale);
    letter-spacing: 0.03em;
}

.medical-list__items {
    list-style: none;
}

.medical-list__items li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-main);
    transition: padding-left 0.3s var(--ease-out-expo);
}

.medical-list__items li:hover {
    padding-left: 32px;
}

.medical-list__items li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-orange), var(--main-orange-soft));
}

/* Flow List */
.flow-list {
    max-width: var(--content-sm);
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.flow-list__item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    padding: 32px 0;
    position: relative;
}

.flow-list__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--main-orange-soft), rgba(255, 207, 158, 0.2));
}

.flow-list__number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-orange) 0%, var(--main-orange-deep) 100%);
    color: white;
    font-size: 24px;
    font-weight: 900;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(245, 169, 98, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-spring);
}

.flow-list__item:hover .flow-list__number {
    transform: scale(1.08);
}

.flow-list__content {
    padding-top: 16px;
}

.flow-list__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

.flow-list__content p {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 2;
}

/* Area */
.area-section {
    max-width: var(--content-md);
    margin: 0 auto;
}

.area-section__map {
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.area-section__map img {
    width: 100%;
    height: auto;
    display: block;
}

/* 診療案内ページの地図は70%サイズ */
#area .area-section__map {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#area .area-section__map img {
    width: 100%;
}

.area-section__text {
    text-align: center;
    font-size: 15px;
    color: var(--text-sub);
}

/* Cost */
.cost-info {
    max-width: var(--content-xs);
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--orange-a6);
}

.cost-info__text {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 24px;
    line-height: 2;
}

.cost-info__heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--main-orange);
    margin-bottom: 16px;
}

.cost-info--spaced {
    margin-top: 40px;
}

.cost-info--wide {
    max-width: var(--content-md);
    text-align: left;
}

.cost-info__notes {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 24px;
    line-height: 1.9;
}

.cost-table-wrap {
    overflow-x: auto;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 540px;
}

.cost-table thead th {
    background: var(--main-orange);
    color: #fff;
    font-weight: 600;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.cost-table thead th:first-child {
    background: transparent;
    width: 120px;
}

.cost-table__sub {
    display: block;
    font-weight: 400;
    font-size: 12px;
    opacity: 0.9;
}

.cost-table tbody th {
    background: #FFF3E6;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.cost-table tbody td {
    padding: 14px 16px;
    text-align: center;
    color: var(--text-sub);
}

.cost-table tbody tr:nth-child(even) td {
    background: var(--orange-a4);
}

.cost-table th,
.cost-table td {
    border: 1px solid var(--orange-a20);
}

.medical-list--single {
    grid-template-columns: 1fr;
}

.medical-list--narrow {
    max-width: var(--content-sm);
    margin: 0 auto;
}

.medical-list--area {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.medical-list__category--centered {
    max-width: var(--content-xs);
    margin: 0 auto;
}

.medical-list__category--compact {
    padding: 24px;
}

.medical-list__note {
    margin-top: 16px;
    color: var(--text-sub);
    font-size: 14px;
}

.medical-list__note--right {
    text-align: right;
}

.area-section__grid {
    max-width: var(--content-xs);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Doctors Page
   -------------------------------------------------------------------------- */
.doctor-profile {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 52px;
    align-items: start;
}

.doctor-profile__image {
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-dreamy);
}

.doctor-profile__image img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-profile__image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--main-orange-soft) 0%, var(--main-orange) 50%, var(--main-orange-deep) 100%);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.doctor-profile__image-placeholder::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -20%;
    width: 140%;
    height: 60%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.doctor-profile__content {
    padding-top: 8px;
}

.doctor-profile__message {
    margin-bottom: 20px;
    line-height: 2.1;
    font-size: 15px;
    color: var(--text-sub);
}

.doctor-profile__signature {
    font-weight: 900;
    text-align: right;
    margin-top: 36px;
    font-size: 17px;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

.profile-card {
    max-width: var(--content-sm);
    margin: 0 auto;
    background: white;
    padding: 44px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-a6);
}

.profile-card__name {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 28px;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

.profile-card__row {
    display: flex;
    gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid var(--orange-a12);
}

.profile-card__row:last-child {
    border-bottom: none;
}

.profile-card__row dt {
    flex-shrink: 0;
    width: 120px;
    font-weight: 700;
    color: var(--main-orange);
    font-size: 15px;
    letter-spacing: 0.03em;
}

.profile-card__row dd {
    font-size: 15px;
    color: var(--text-main);
}

.profile-card__row dd ul {
    list-style: none;
}

.profile-card__row dd li {
    padding: 4px 0 4px 20px;
    position: relative;
}

.profile-card__row dd li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-orange-soft);
}

/* --------------------------------------------------------------------------
   FAQ Page
   -------------------------------------------------------------------------- */
.faq-category {
    max-width: var(--content-sm);
    margin: 0 auto 52px;
}

.faq-category__title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--main-orange);
    color: var(--text-main);
    letter-spacing: 0.04em;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--orange-a4);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: inherit;
    color: var(--text-main);
    gap: 16px;
    letter-spacing: 0.02em;
}

/* Touch devices can "stick" :hover after tap. Limit hover styles to hover-capable pointers. */
@media (hover: hover) and (pointer: fine) {
    .faq-item:hover {
        box-shadow: var(--shadow-dreamy);
        border-color: var(--orange-a10);
    }

    .faq-item__question:hover {
        background-color: rgba(255, 240, 224, 0.5);
    }
}

.faq-item__icon {
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
    background: var(--main-orange-pale);
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
}

.faq-item.is-open .faq-item__icon {
    background: var(--main-orange);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background-color: var(--main-orange);
    transition: all 0.4s var(--ease-out-expo);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
    background-color: white;
}

.faq-item__icon::before {
    top: 50%;
    left: 7px;
    right: 7px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-item__icon::after {
    top: 7px;
    bottom: 7px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after,
.faq-item.is-open .faq-item__icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
    padding: 0 28px;
}

.faq-item.is-open .faq-item__answer {
    max-height: 1000px;
    padding: 0 28px 24px;
}

.faq-item__answer p {
    color: var(--text-sub);
    line-height: 2;
    font-size: 15px;
}

.faq-item__map {
    margin-top: 20px;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Box (FAQ bottom) */
.cta-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-round);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cta-box__text {
    margin-bottom: 24px;
    color: var(--text-sub);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Recruit Page
   -------------------------------------------------------------------------- */
.recruit-hero {
    max-width: var(--content-sm);
    margin: 0 auto;
    text-align: center;
}

.recruit-hero__image {
    width: 220px;
    height: auto;
    margin: 0 auto 32px;
    border-radius: var(--radius-round);
}

.recruit-hero__text {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 2.1;
}

.recruit-hero__text p {
    margin-bottom: 16px;
}

.job-list {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.job-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--orange-a6);
}

.job-card:hover {
    box-shadow: var(--shadow-dreamy);
    transform: translateY(-3px);
}

.job-card__title {
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 22px;
    color: var(--main-orange);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--main-orange-pale);
    letter-spacing: 0.03em;
}

.job-card__table {
    width: 100%;
    border-collapse: collapse;
}

.job-card__table tr {
    border-bottom: 1px solid var(--orange-a8);
}

.job-card__table tr:last-child {
    border-bottom: none;
}

.job-card__table th,
.job-card__table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 15px;
}

.job-card__table th {
    width: 130px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--sub-beige);
    border-radius: 8px 0 0 8px;
}

.job-card__table td {
    color: var(--text-sub);
}

.apply-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.apply-info__text {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 32px;
    line-height: 2;
}

.apply-info__contact {
    margin-bottom: 32px;
    padding: 36px;
    background: white;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-a6);
}

.apply-info__contact-label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

.apply-info__tel {
    font-size: 28px;
    font-weight: 900;
    color: var(--main-orange);
    margin-bottom: 8px;
}

.apply-info__tel a {
    color: var(--main-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.apply-info__tel a:hover {
    color: var(--main-orange-deep);
}

.apply-info__hours {
    font-size: 13px;
    color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-intro {
    max-width: var(--content-xs);
    margin: 0 auto 48px;
    text-align: center;
}

.contact-intro__text {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 2;
}

.contact-form {
    max-width: var(--content-xs);
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-a6);
}

.contact-form__group {
    margin-bottom: 24px;
}

.contact-form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.contact-form__required {
    font-size: 11px;
    color: white;
    background: var(--main-orange);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    margin-left: 8px;
    font-weight: 500;
}

.contact-form__optional {
    font-size: 11px;
    color: var(--text-sub);
    background: rgba(124, 179, 66, 0.16);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    margin-left: 8px;
    font-weight: 500;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--orange-a15);
    border-radius: 16px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.35s var(--ease-out-expo);
    background: var(--bg-cream);
    color: var(--text-main);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--main-orange);
    box-shadow: 0 0 0 4px var(--orange-a10);
    background: white;
}

.contact-form__privacy {
    margin: 32px 0;
    padding: 24px;
    background: var(--sub-beige);
    border-radius: 20px;
}

.contact-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.contact-form__checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--main-orange);
}

.contact-form__privacy-text {
    font-size: 13px;
    color: var(--text-sub);
    margin-top: 12px;
}

/* Privacy Policy */
.privacy-policy {
    margin: 32px 0;
    padding: 32px;
    background: var(--sub-beige);
    border-radius: 20px;
}

.privacy-policy--in-form {
    margin: 32px 0;
}

.privacy-policy__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.privacy-policy__body {
    font-size: 16px;
    line-height: 2;
    color: var(--text-main);
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
}

.privacy-policy__body::-webkit-scrollbar {
    width: 6px;
}

.privacy-policy__body::-webkit-scrollbar-track {
    background: var(--orange-a6);
    border-radius: 3px;
}

.privacy-policy__body::-webkit-scrollbar-thumb {
    background: var(--main-orange);
    border-radius: 3px;
}

.privacy-policy__intro {
    margin-bottom: 24px;
}

.privacy-policy__article {
    margin-bottom: 24px;
}

.privacy-policy__article:last-child {
    margin-bottom: 0;
}

.privacy-policy__article-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.privacy-policy__article p {
    margin-bottom: 12px;
}

.privacy-policy__article p:last-child {
    margin-bottom: 0;
}

.privacy-policy__article ul {
    margin: 12px 0;
    padding-left: 1.5em;
}

.privacy-policy__article li {
    margin-bottom: 6px;
}

.privacy-policy__enacted {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-sub);
}

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

.contact-tel {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 44px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-a6);
}

.contact-tel__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

.contact-tel__number {
    font-size: 32px;
    font-weight: 900;
}

.contact-tel__number a {
    color: var(--main-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-tel__number a:hover {
    color: var(--main-orange-deep);
}

.contact-tel__hours {
    color: var(--text-sub);
    margin-top: 8px;
    font-size: 14px;
}

.contact-form__errors {
    max-width: var(--content-xs);
    margin: 0 auto 24px;
    background: #FFF0F0;
    border: 2px solid #FFB5BA;
    border-radius: 16px;
    padding: 20px 28px;
}

.contact-form__errors ul {
    list-style: none;
}

.contact-form__errors li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 14px;
    color: #C62828;
}

.contact-form__errors li::before {
    content: '!';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #C62828;
}

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

.contact-form__success-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.contact-form__success-text {
    color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.fade-in.is-visible:nth-child(1) { transition-delay: 0s; }
.fade-in.is-visible:nth-child(2) { transition-delay: 0.12s; }
.fade-in.is-visible:nth-child(3) { transition-delay: 0.24s; }
.fade-in.is-visible:nth-child(4) { transition-delay: 0.36s; }
.fade-in.is-visible:nth-child(5) { transition-delay: 0.48s; }

/* --------------------------------------------------------------------------
   Responsive - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__text {
        text-align: center;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__stats-wrap {
        display: flex;
        justify-content: center;
    }

    .hero__stats {
        display: flex;
        justify-content: center;
    }

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

    .message__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .medical-intro {
        grid-template-columns: 1fr;
    }

    .medical-list {
        grid-template-columns: 1fr;
    }

    .doctor-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-profile__image {
        max-width: 340px;
        margin: 0 auto;
    }

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

    .header {
        top: 8px;
        width: calc(100% - 16px);
    }

    .header__menu-btn {
        display: block;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: rgba(255, 253, 249, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: var(--shadow-lift);
        padding: 16px;
        border: 1px solid var(--orange-a8);
    }

    .header__nav.is-open {
        display: block;
        animation: slideDown 0.4s var(--ease-out-expo);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-12px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .header__nav-list {
        flex-direction: column;
        gap: 0;
    }

    .header__nav-link {
        display: block;
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 15px;
    }

    .header__nav-link::after {
        display: none;
    }

    .header__cta {
        display: none;
    }

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

/* --------------------------------------------------------------------------
   Responsive - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    br.u-br-pc {
        display: none;
    }

    .section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .header {
        padding: 8px 16px;
    }

    main {
        padding-top: 80px;
    }

    .hero {
        padding: 20px 20px 80px;
        min-height: auto;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__stats-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__stats {
        gap: 16px;
        padding: 16px 20px;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .features,
    .message,
    .news,
    .section {
        padding: 80px 20px;
    }

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

    .section-header__title,
    .section__title {
        font-size: 24px;
    }

    .section-header__title::after {
        width: 36px;
        margin-top: 10px;
    }

    .page-header__title {
        font-size: 26px;
    }

    .message__title {
        font-size: 22px;
    }

    .news__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta {
        padding: 80px 20px;
    }

    .cta__title {
        font-size: 24px;
    }

    .cta__phone {
        text-align: center;
    }

    .cta__phone-number,
    .cta__phone-fax {
        font-size: 24px;
        flex-direction: column;
        align-items: center;
    }

    .cta__phone-term {
        width: auto;
        min-width: auto;
        font-size: 12px;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .doctor-profile {
        gap: 32px;
    }

    .profile-card {
        padding: 28px 24px;
    }

    .profile-card__name {
        font-size: 18px;
    }

    .cost-info__heading {
        font-size: 18px;
    }

    .profile-card__row {
        flex-direction: column;
        gap: 8px;
    }

    .profile-card__row dt {
        width: auto;
    }

    .flow-list__item {
        grid-template-columns: 60px 1fr;
        gap: 16px;
    }

    .flow-list__number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .flow-list__item:not(:last-child)::after {
        left: 30px;
        top: 60px;
    }

    .job-card {
        padding: 24px;
    }

    .job-card__table th {
        width: 90px;
        font-size: 13px;
        padding: 12px 10px;
    }

    .job-card__table td {
        padding: 12px 10px;
        overflow-wrap: anywhere;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .privacy-policy {
        padding: 24px 20px;
        margin: 24px 0;
    }

    .privacy-policy__title {
        font-size: 18px;
    }

    .privacy-policy__body {
        font-size: 15px;
        max-height: 240px;
    }

    .contact-tel {
        padding: 28px 20px;
    }

    .contact-tel__number {
        font-size: 24px;
    }

    .apply-info__tel {
        font-size: 24px;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header__image {
        display: none;
    }

    /* Disable stagger on mobile for faster feel */
    .fade-in.is-visible:nth-child(n) {
        transition-delay: 0s;
    }

    .faq-item__map {
        max-width: 100%;
    }

    .cost-table {
        font-size: 13px;
    }

    .cost-table thead th {
        padding: 10px 8px;
        font-size: 12px;
    }

    .cost-table thead th:first-child {
        width: 90px;
    }

    .cost-table tbody th,
    .cost-table tbody td {
        padding: 10px 8px;
    }

    .medical-list--area {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .hero__text,
    .hero__visual {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
