/* ==========================================================================
   札幌インターナショナルクリニック - Organic Warmth Design
   ========================================================================== */
:root {
    --main-teal: #85C4BD;
    --main-teal-text: #3A6F68;   /* 小さめテキスト用（白背景で4.6:1） */
    --accent-coral-text: #A9543C; /* 小さめテキスト用（白背景で約5:1） */
    --main-teal-deep: #5FA69E;
    --main-teal-soft: #B7DED9;
    --main-teal-pale: #E6F3F1;
    --sub-mint: #F3FAF8;
    --accent-coral: #E8927C;
    --accent-coral-deep: #D97B64;
    --accent-coral-soft: #F2B5A5;
    --accent-coral-pale: #FBE9E4;
    --accent-pink: #FFB5BA;
    --accent-blue: #A8D8EA;
    --text-main: #3A4442;
    --text-sub: #66736F;
    --bg-cream: #FAFCFB;
    --bg-white: #FFFFFF;
    --main-a4: rgba(133, 196, 189, 0.04);
    --main-a6: rgba(133, 196, 189, 0.06);
    --main-a8: rgba(133, 196, 189, 0.08);
    --main-a10: rgba(133, 196, 189, 0.1);
    --main-a12: rgba(133, 196, 189, 0.12);
    --main-a15: rgba(133, 196, 189, 0.15);
    --main-a20: rgba(133, 196, 189, 0.2);
    --shadow-dreamy: 0 8px 40px var(--main-a12);
    --shadow-soft: 0 4px 20px rgba(58, 68, 66, 0.06);
    --shadow-lift: 0 16px 48px rgba(133, 196, 189, 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;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font-family: inherit; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 110px; }

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;
    word-break: normal;
    line-break: strict;
    overflow-x: hidden;
    position: relative;
}

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

/* --------------------------------------------------------------------------
   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(250, 252, 251, 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(58, 68, 66, 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(--main-a8);
}
.header--scrolled {
    background: rgba(250, 252, 251, 0.95);
    box-shadow: 0 8px 32px rgba(58, 68, 66, 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 svg { width: 100%; height: 100%; }
.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: 'Quicksand', sans-serif;
    font-size: 11px; font-weight: 600;
    color: var(--main-teal); letter-spacing: 0.08em;
}
.header__medical-code {
    display: block; margin-top: 1px;
    color: var(--text-sub);
    font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.03em;
}
.header__badge {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: var(--main-teal-text);
    color: #fff; font-size: 13px; font-weight: 700;
    padding: 2px 10px; border-radius: var(--radius-pill);
    letter-spacing: 0.05em; line-height: 1.4;
    white-space: nowrap;
}
.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;
    white-space: nowrap;
}
.header__nav-link::after {
    content: ''; position: absolute;
    bottom: 6px; left: 50%; width: 0; height: 2px;
    background: var(--main-teal); border-radius: 2px;
    transition: all 0.35s var(--ease-out-expo);
    transform: translateX(-50%);
}
.header__nav-link:hover { color: var(--main-teal); }
.header__nav-link:hover::after { width: 20px; }
.header__cta {
    background: linear-gradient(135deg, #4E938B 0%, #3F7A72 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(133, 196, 189, 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(133, 196, 189, 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
   -------------------------------------------------------------------------- */
.site-main { padding-top: 100px; }

/* --------------------------------------------------------------------------
   Section Headers (shared)
   -------------------------------------------------------------------------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header__label {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-coral-text);
    margin-bottom: 12px; letter-spacing: 0.32em;
}
.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: 8px; height: 8px; border-radius: 50%;
    background: var(--main-teal);
    box-shadow: -18px 0 0 var(--accent-coral-soft), 18px 0 0 var(--main-teal-soft);
    margin: 18px auto 0;
}
.section-header__text {
    font-size: 15px; color: var(--text-sub);
    max-width: 480px; margin: 0 auto; line-height: 2;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.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(251, 233, 228, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(183, 222, 217, 0.3) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-cream) 0%, var(--main-teal-pale) 50%, var(--sub-mint) 100%);
    z-index: 0;
}
.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(--main-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(232, 146, 124, 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__stats-wrap { display: inline-flex; align-items: center; gap: 12px; }
.hero__stats-wrap--lead { margin-bottom: 40px; }
.hero__badge {
    background-color: var(--main-teal-text);
    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: 16px 24px; border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: inline-flex; gap: 22px;
    flex-wrap: wrap; justify-content: center;
    border: 1px solid var(--main-a10);
}
.hero__stat { text-align: center; }
.hero__stat-value {
    font-size: 20px; font-weight: 900;
    color: var(--main-teal-deep);
    line-height: 1.4; letter-spacing: 0.02em;
    white-space: nowrap;
}
.hero__stat-label {
    font-size: 11px; color: var(--text-sub);
    font-weight: 500; letter-spacing: 0.05em; margin-top: 2px;
}


/* 多職種連携アーチ（名札付きバッジの10人が一人ずつぽんっと現れる） */
.hero__message { position: relative; margin-top: 34px; padding: 112px 80px 118px; }
.hero__ring { position: absolute; inset: 0; pointer-events: none; }
.hero__ring-item {
    position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px;
    opacity: 0; transform: translate(-50%, -50%) scale(0.3);
    animation: ringPop 0.9s var(--ease-spring) forwards;
}
.hero__ring-item svg {
    width: 54px; height: 54px; border-radius: 50%;
    border: 2.5px solid #fff; background: #fff;
    /* box-shadowはiOS Safariで角丸を無視して四角く描画されるためdrop-shadowを使う */
    filter: drop-shadow(0 4px 7px rgba(78, 111, 105, 0.22));
    display: block;
    animation: ringFloat 4.8s ease-in-out infinite;
}
.hero__ring-item:nth-child(even) svg { animation-duration: 5.8s; animation-delay: 1.2s; }
.hero__ring-item:nth-child(3n) svg { animation-duration: 5.2s; animation-delay: 0.6s; }
.hero__ring-label {
    font-style: normal; font-size: 10px; font-weight: 700;
    color: var(--main-teal-deep); background: rgba(255, 255, 255, 0.92);
    padding: 1.5px 9px; border-radius: 999px; letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(78, 111, 105, 0.10); white-space: nowrap;
}
/* バッジの背景色（キャラごと） */
.hero__ring-item--1 svg  { background: #F3EFE7; }
.hero__ring-item--2 svg  { background: #DFF0EA; }
.hero__ring-item--3 svg  { background: #EAF4EF; }
.hero__ring-item--4 svg  { background: #FCF6E8; }
.hero__ring-item--5 svg  { background: #EDF4F0; }
.hero__ring-item--6 svg  { background: #E6F3F1; }
.hero__ring-item--7 svg  { background: #FDF0E4; }
.hero__ring-item--8 svg  { background: #FBEFE9; }
.hero__ring-item--9 svg  { background: #E6EFF3; }
.hero__ring-item--10 svg { background: #EFF4E9; }
/* 全円: 医師を頂点に36度間隔の楕円で等間隔配置。時計回りに一人ずつ登場 */
.hero__ring-item--6  { left: 50%;   top: 8.5%;  animation-delay: 1.0s; }  /* 医師(頂点) */
.hero__ring-item--7  { left: 80%;   top: 15%;   animation-delay: 1.7s; }  /* ご利用者様 */
.hero__ring-item--8  { left: 94.5%; top: 37.2%; animation-delay: 2.4s; }  /* ケアマネ */
.hero__ring-item--9  { left: 94.5%; top: 62.8%; animation-delay: 3.1s; }  /* MSW */
.hero__ring-item--10 { left: 84%;   top: 84.5%; animation-delay: 3.8s; }  /* 施設スタッフ */
.hero__ring-item--1  { left: 50%;   top: 91.5%; animation-delay: 4.5s; }  /* こども */
.hero__ring-item--2  { left: 17%;   top: 84.5%; animation-delay: 5.2s; }  /* ご家族 */
.hero__ring-item--3  { left: 5.5%;  top: 62.8%; animation-delay: 5.9s; }  /* ヘルパー */
.hero__ring-item--5  { left: 5.5%;  top: 37.2%; animation-delay: 6.6s; }  /* 薬剤師 */
.hero__ring-item--4  { left: 20.5%; top: 15%;   animation-delay: 7.3s; }  /* 看護師 */
/* PC: 円が綺麗に見えるようテキストは中央寄せ・ひかえめサイズ */
@media (min-width: 1024px) {
    .hero__message { text-align: center; }
    .hero__message .hero__title { font-size: 38px; }
    .hero__message .hero__description { font-size: 14.5px; margin-left: auto; margin-right: auto; }
    .hero__message .hero__notes { justify-content: center; }
}
@keyframes ringPop {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ringFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (max-width: 1023px) {
    .hero__message { margin-top: 76px; padding: 20px 70px 0; }
    /* 中央寄せレイアウトではタイトルの上の虹形（左から右へ順に登場） */
    .hero__ring-item--1  { left: 4%;   top: 18%; animation-delay: 1.0s; }
    .hero__ring-item--2  { left: 11%;  top: 5%; animation-delay: 1.7s; }
    .hero__ring-item--3  { left: 23%;  top: 0%; animation-delay: 2.4s; }
    .hero__ring-item--4  { left: 33.5%; top: -5%; animation-delay: 3.1s; }
    .hero__ring-item--5  { left: 44.5%; top: -7.5%; animation-delay: 3.8s; }
    .hero__ring-item--6  { left: 55.5%; top: -7.5%; animation-delay: 4.5s; }
    .hero__ring-item--7  { left: 66.5%; top: -5%; animation-delay: 5.2s; }
    .hero__ring-item--8  { left: 77%;  top: 0%; animation-delay: 5.9s; }
    .hero__ring-item--9  { left: 89%;  top: 5%; animation-delay: 6.6s; }
    .hero__ring-item--10 { left: 96%;  top: 18%; animation-delay: 7.3s; }
}
@media (max-width: 767px) {
    .hero__ring-item svg { width: 40px; height: 40px; }
    .hero__ring-label { font-size: 8.5px; padding: 1px 6px; }
    .hero__message { margin-top: 76px; padding: 74px 0 0; }
    /* 本文を下へずらし、キャッチ＋タイトルの周りに全周の輪をつくる */
    .hero__message .hero__description { margin-top: 118px; }
    .hero__ring-item { flex-direction: column-reverse; }  /* 名札は上側 */
    .hero__title { font-size: 29.5px; }
    .hero__ring-item--6  { left: 50%;  top: 5px; }    /* 医師(頂点) */
    .hero__ring-item--7  { left: 77%;  top: 30px; }   /* こども */
    .hero__ring-item--8  { left: 96%;  top: 92px; }   /* ケアマネ */
    .hero__ring-item--9  { left: 96%;  top: 170px; }  /* MSW */
    .hero__ring-item--10 { left: 79%;  top: 266px; }  /* 施設スタッフ */
    .hero__ring-item--1  { left: 50%;  top: 292px; }  /* 患者さん */
    .hero__ring-item--2  { left: 21%;  top: 266px; }  /* ご家族 */
    .hero__ring-item--3  { left: 4%;   top: 170px; }  /* ヘルパー */
    .hero__ring-item--5  { left: 4%;   top: 92px; }   /* 薬剤師 */
    .hero__ring-item--4  { left: 23%;  top: 30px; }   /* 看護師 */
    /* 下半分の3人は名札を下側に（文字から離す） */
    .hero__ring-item--10, .hero__ring-item--1, .hero__ring-item--2 { flex-direction: column; }
    /* 登場順: 医師から時計回りに一周 */
    .hero__ring-item--6  { animation-delay: 1.0s; }
    .hero__ring-item--7  { animation-delay: 1.7s; }
    .hero__ring-item--8  { animation-delay: 2.4s; }
    .hero__ring-item--9  { animation-delay: 3.1s; }
    .hero__ring-item--10 { animation-delay: 3.8s; }
    .hero__ring-item--1  { animation-delay: 4.5s; }
    .hero__ring-item--2  { animation-delay: 5.2s; }
    .hero__ring-item--3  { animation-delay: 5.9s; }
    .hero__ring-item--5  { animation-delay: 6.6s; }
    .hero__ring-item--4  { animation-delay: 7.3s; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__ring-item { opacity: 1; animation: none; transform: translate(-50%, -50%); }
    .hero__ring-item svg { animation: none; }
}

.hero__catch {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-coral-text);
    margin-bottom: 16px; letter-spacing: 0.32em;
}
.hero__catch::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-coral-soft);
}
.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-teal-text); position: relative; display: inline-block; }
.hero__description {
    font-size: 15.5px; color: var(--text-sub);
    margin-bottom: 20px; max-width: 420px; line-height: 2;
}
.hero__notes { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__note {
    font-size: 12px; font-weight: 700;
    color: var(--main-teal-text);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--main-a20);
    padding: 4px 16px; border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
}
a.hero__note--link {
    text-decoration: none;
}
a.hero__note--link::after {
    content: ' \2192'; font-weight: 400;
}
a.hero__note--link:hover {
    border-color: var(--main-teal-text);
}
.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 svg {
    width: 100%; height: auto;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-dreamy);
    display: block;
}
.hero__visual-actions {
    margin-top: 24px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero__opening {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, var(--main-teal-deep) 0%, #4E938B 100%);
    color: white; padding: 8px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(133, 196, 189, 0.25);
    min-height: 44px;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__btn {
    padding: 8px 28px;
    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;
    min-height: 44px;
}
.hero__btn--primary {
    background: linear-gradient(135deg, var(--main-teal-deep) 0%, #4E938B 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(133, 196, 189, 0.3);
}
.hero__btn--primary:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(133, 196, 189, 0.4); }
.hero__btn--secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    border: 2px solid var(--main-teal-soft);
    backdrop-filter: blur(8px);
}
.hero__btn--secondary:hover { border-color: var(--main-teal); color: var(--main-teal); 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); }

/* --------------------------------------------------------------------------
   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-mint);
    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(--main-a6);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: var(--main-a12);
}
.feature-card__icon {
    width: 88px; height: 88px;
    margin: 0 auto 24px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 38px;
    box-shadow: 0 0 0 6px white, 0 0 0 8px var(--main-a20), var(--shadow-soft);
    transition: transform 0.5s var(--ease-spring);
}
.feature-card__icon svg {
    width: 56%; height: 56%;
    display: block;
}
.feature-card__icon img {
    width: 82%; height: 82%;
    object-fit: contain;
    display: block;
}
.feature-card:hover .feature-card__icon { transform: scale(1.08); box-shadow: 0 0 0 6px white, 0 0 0 8px var(--main-teal), var(--shadow-soft); }
.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
   -------------------------------------------------------------------------- */
.message {
    padding: 120px 40px;
    background: linear-gradient(180deg, white 0%, var(--main-teal-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(133, 196, 189, 0.07) 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 svg { width: 100%; height: auto; display: block; }
.message__content { position: relative; }
.message__quote {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-coral-text);
    letter-spacing: 0.32em;
    margin-bottom: 14px;
}
.message__quote::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-coral-soft);
}
.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 14px 32px;
    position: relative; font-size: 15px;
    border-bottom: 1px solid var(--main-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-teal), var(--main-teal-soft));
    box-shadow: 0 2px 8px rgba(133, 196, 189, 0.3);
}
.message__link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent-coral-text);
    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: #A85540; }

/* --------------------------------------------------------------------------
   News Section
   -------------------------------------------------------------------------- */
.news { padding: 100px 40px; background: var(--sub-mint); }
.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(--main-a6);
}
.news__item {
    padding: 24px 32px;
    border-bottom: 1px solid var(--main-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-teal-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-teal-text);
    color: white; white-space: nowrap;
    font-weight: 700; letter-spacing: 0.04em;
}
.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-teal); }


/* --------------------------------------------------------------------------
   Photo Stream（日々のようす: 写真がゆっくり流れる帯）
   -------------------------------------------------------------------------- */
.photostream {
    padding: 110px 0 100px;
    background: white;
    overflow: hidden;
    position: relative;
}
.photostream .section-header { margin-bottom: 44px; }
.photostream__viewport { overflow: hidden; }
.photostream__track {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: max-content;
    padding: 10px 0 14px;
    animation: photoFlow 50s linear infinite;
}
.photostream__viewport:hover .photostream__track { animation-play-state: paused; }
.photostream__item {
    display: block;
    background: white;
    padding: 10px 10px 12px;
    border-radius: 18px;
    border: 1px solid var(--main-a10);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transform: rotate(-1.2deg);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.photostream__item:nth-child(even) { transform: rotate(1.3deg); }
.photostream__item:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-dreamy); }
.photostream__item img {
    height: 190px; width: auto; display: block;
    border-radius: 10px;
}
.photostream__caption {
    display: block;
    width: 0;
    min-width: 100%;
    margin-top: 9px;
    text-align: center;
    font-size: 11.5px;
    color: var(--text-sub);
    letter-spacing: 0.03em;
}
@keyframes photoFlow {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 767px) {
    .photostream { padding: 70px 0 80px; }
    .photostream__item img { height: 150px; }
    .photostream__track { gap: 22px; animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
    .photostream__track { animation: none; width: auto; overflow-x: auto; padding-left: 20px; padding-right: 20px; }
    .photostream__viewport { overflow-x: auto; }
    .photostream__item--dup { display: none; }
}

/* --------------------------------------------------------------------------
   Section (shared)
   -------------------------------------------------------------------------- */
.section { padding: 100px 40px; position: relative; }
.section--beige { background: var(--sub-mint); }
.section--white { background: white; }

/* --------------------------------------------------------------------------
   Medical Care
   -------------------------------------------------------------------------- */
.medical-intro {
    max-width: var(--content-md);
    margin: 0 auto 64px;
    text-align: center;
}
.medical-intro__text {
    font-size: 15px; color: var(--text-sub); line-height: 2.1;
    max-width: var(--content-xs); margin: 0 auto;
}
.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(--main-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-teal-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-teal-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-teal), var(--main-teal-soft));
}

/* Partners (施設・連携機関向け) */
.partner-grid {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.partner-card {
    background: white;
    padding: 40px 36px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--main-a6);
    transition: all 0.4s var(--ease-out-expo);
}
.partner-card:hover { box-shadow: var(--shadow-dreamy); transform: translateY(-3px); }
.partner-card__tag {
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--main-teal-text);
    background: var(--main-teal-pale);
    padding: 5px 16px; border-radius: var(--radius-pill);
    margin-bottom: 16px;
}
.partner-card__title {
    font-size: 17px; font-weight: 700;
    margin-bottom: 14px; color: var(--text-main);
    letter-spacing: 0.03em; line-height: 1.7;
}
.partner-card__text { font-size: 14.5px; color: var(--text-sub); line-height: 2; }



/* --------------------------------------------------------------------------
   Doctors
   -------------------------------------------------------------------------- */
.doctor-profile {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid; grid-template-columns: 260px 1fr; gap: 48px;
    align-items: center;
}
.doctor-profile__image-placeholder {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--main-teal-soft) 0%, var(--main-teal) 50%, var(--main-teal-deep) 100%);
    border-radius: var(--radius-round);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px; font-weight: 700;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-dreamy);
}
.doctor-profile__image-placeholder img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    position: relative; z-index: 1;
}
.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__role {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    color: var(--main-teal-text);
    background: var(--main-teal-pale);
    padding: 3px 14px; border-radius: var(--radius-pill);
    margin-bottom: 10px; letter-spacing: 0.1em;
}
.doctor-profile__name {
    font-size: 22px; font-weight: 900;
    margin-bottom: 6px; letter-spacing: 0.04em;
}
.doctor-profile__name-en {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--main-teal-text);
    margin-bottom: 24px;
}
.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-md);
    margin: 48px auto 0;
    background: white;
    padding: 44px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--main-a6);
}
.profile-card__row {
    display: flex; gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid var(--main-a12);
}
.profile-card__row:last-child { border-bottom: none; }
.profile-card__row dt {
    flex-shrink: 0; width: 120px;
    font-weight: 700; color: var(--main-teal-text);
    font-size: 15px; letter-spacing: 0.03em;
}
.profile-card__row dd { font-size: 15px; color: var(--text-main); margin: 0; }
.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-teal-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-category { max-width: var(--content-sm); margin: 0 auto; }
.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(--main-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);
    color: var(--text-main);
    gap: 16px; letter-spacing: 0.02em;
    line-height: 1.8;
}
@media (hover: hover) and (pointer: fine) {
    .faq-item:hover { box-shadow: var(--shadow-dreamy); border-color: var(--main-a10); }
    .faq-item__question:hover { background-color: rgba(230, 243, 241, 0.5); }
}
.faq-item__icon {
    width: 28px; height: 28px;
    position: relative; flex-shrink: 0;
    background: var(--main-teal-pale);
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
}
.faq-item.is-open .faq-item__icon { background: var(--main-teal); }
.faq-item__icon::before, .faq-item__icon::after {
    content: ''; position: absolute;
    background-color: var(--main-teal);
    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.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; }

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    padding: 100px 40px;
    background: linear-gradient(135deg, #4E938B 0%, #3F7A72 60%, #35645C 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__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: #FFFFFF;
    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-teal-text);
    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: 1; 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-number a { color: inherit; text-decoration: none; }
.cta__phone-term {
    display: inline-block; width: 5.6em; min-width: 5.6em;
    flex-shrink: 0; white-space: nowrap;
}
.cta__phone-note { font-size: 12px; opacity: 0.92; margin-top: 4px; letter-spacing: 0.03em; display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--main-teal-pale);
    color: var(--text-main);
    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 svg { width: 100%; height: 100%; }
.footer__brand-text { font-size: 16px; font-weight: 700; letter-spacing: 0.03em; color: var(--text-main); }
.footer__info { font-size: 13px; color: #59665F; line-height: 2; }
.footer__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.25em;
    color: #38695F;
    margin-bottom: 18px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    color: #59665F;
    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-teal-text); padding-left: 6px; }
.footer__bottom {
    max-width: var(--content-lg);
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--main-a20);
    text-align: center;
}
.footer__copyright { font-size: 12px; color: #59665F; letter-spacing: 0.04em; }
.footer__updated { font-size: 11px; color: #59665F; letter-spacing: 0.04em; margin-top: 6px; }
.page-header__updated { font-size: 12px; color: var(--text-sub); margin-top: 10px; letter-spacing: 0.03em; }

/* --------------------------------------------------------------------------
   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); }
.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: minmax(0, 1fr); gap: 48px; }
    .hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero__catch { order: 1; }
    .hero__title { order: 2; }
    .hero__description { order: 3; margin-left: auto; margin-right: auto; }
    .hero__notes { order: 4; justify-content: center; }
    .hero__stats-wrap--lead { order: 5; display: flex; justify-content: center; margin-top: 28px; margin-bottom: 0; }
    .hero__visual { max-width: 500px; margin: 0 auto; }
    .hero__visual-actions { justify-content: center; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .message__inner { grid-template-columns: 1fr; gap: 48px; }
    .medical-list { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: 1fr; }
    .doctor-profile { grid-template-columns: 1fr; text-align: center; }
    .doctor-profile__image-placeholder { max-width: 240px; 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(250, 252, 251, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: var(--shadow-lift);
        padding: 16px;
        border: 1px solid var(--main-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; }
    .site-main { padding-top: 90px; }
    .hero { padding: 24px 20px 80px; }
    .hero__title { font-size: 32px; }
    .hero__stats { padding: 16px 20px; gap: 20px; }
    .hero__stat-value { font-size: 20px; }
    .hero__badge { font-size: 16px; padding: 8px 16px; }
    .features { padding: 90px 20px; }
    .features__grid { grid-template-columns: 1fr; }
    .message { padding: 90px 20px; }
    .message__title { font-size: 22px; }
    .news { padding: 80px 20px; }
    .news__item { flex-wrap: wrap; gap: 10px; padding: 20px; }
    .news__title { flex-basis: 100%; }
    .section { padding: 80px 20px; }
    .section-header__title { font-size: 26px; }
    .cta { padding: 80px 20px; }
    .cta__title { font-size: 24px; }
    .cta__phone-number, .cta__phone-fax { font-size: 24px; }
    .cta__phone-term { width: 4.6em; min-width: 4.6em; font-size: 15px; }
    .footer { padding: 70px 20px 32px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .header__logo-text { font-size: 13px; }
    .header__logo-icon { width: 40px; height: 40px; }
    .header__medical-code { display: none; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .fade-in, .hero__text, .hero__visual { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Page Header (sub-pages)
   -------------------------------------------------------------------------- */
.page-header {
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--main-teal-pale) 0%, var(--bg-cream) 100%);
}
.page-header::before {
    content: ''; position: absolute;
    top: -60px; right: -40px; width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--main-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(232, 146, 124, 0.08) 0%, transparent 70%);
}
.page-header__inner { position: relative; z-index: 1; }
.page-header__label {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-coral-text);
    margin-bottom: 10px; letter-spacing: 0.32em;
}
.page-header__title {
    font-size: 34px; font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Responsive - Mobile 調整（表示崩れ対策・視認性）
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* ヘッダー: 1行に収める（英字とバッジは非表示、ロゴを縮小） */
    .header { padding: 8px 16px; }
    .header--scrolled { padding: 6px 16px; }
    .header__logo { gap: 8px; min-width: 0; }
    .header__logo-icon { width: 36px; height: 36px; }
    .header__logo-text { font-size: 13px; line-height: 1.4; white-space: nowrap; }
    .header__logo-text small { display: none; }

    /* ヒーロー: バッジ→統計カードを縦に整列 */
    .hero__stats-wrap--lead { flex-direction: column; align-items: center; gap: 14px; width: 100%; }
    .hero__stats {
        width: 100%; max-width: 340px;
        justify-content: space-around; gap: 10px;
        padding: 14px 12px;
    }
    .hero__stat-value { font-size: 17px; }
    .hero__stat-label { font-size: 10px; }
    .hero__badge { font-size: 15px; padding: 8px 20px; }
    .hero__title { font-size: 29px; line-height: 1.65; }
    .hero__catch { font-size: 11px; letter-spacing: 0.26em; }
    .hero__notes { justify-content: center; }
    .hero__note { font-size: 11px; padding: 4px 12px; }

    /* ヒーローのボタン類: 縦に揃えて中央寄せ */
    .hero__visual-actions { flex-direction: column; align-items: center; gap: 12px; }
    .hero__opening { justify-content: center; width: 100%; max-width: 320px; }
    .hero__buttons { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
    .hero__btn { width: 100%; max-width: 320px; justify-content: center; }

    /* 見出し・ラベル */
    .section-header { margin-bottom: 44px; }
    .section-header__label { font-size: 11px; letter-spacing: 0.26em; }
    .page-header { padding: 48px 20px 40px; }
    .page-header__title { font-size: 26px; }

    /* カード類の余白 */
    .feature-card { padding: 32px 22px; }
    .partner-card { padding: 30px 22px; }
    .medical-list__category { padding: 28px 22px; }

    /* 医師紹介 */
    .doctor-profile__name { font-size: 20px; }
    .profile-card { padding: 28px 20px; }
    .profile-card__row { flex-direction: column; gap: 6px; padding: 16px 0; }
    .profile-card__row dt { width: auto; }

    /* FAQ */
    .faq-item__question { padding: 18px 20px; font-size: 14px; }
    .faq-item__answer { padding: 0 20px; }
    .faq-item.is-open .faq-item__answer { padding: 0 20px 20px; }

    /* CTA: ボタンを縦に */
    .cta__buttons { flex-direction: column; align-items: center; gap: 12px; }
    .cta__btn { width: 100%; max-width: 320px; text-align: center; }
    .cta__phone { text-align: center; }
    .cta__phone-term { width: auto; min-width: 0; margin-right: 10px; font-size: 15px; }
    .cta__phone-number, .cta__phone-fax { justify-content: center; }

    /* メッセージ・お知らせ */
    .message__quote { font-size: 11px; letter-spacing: 0.26em; }
    .news__list { border-radius: 20px; }
}

/* --------------------------------------------------------------------------
   パンくずリスト
   -------------------------------------------------------------------------- */
.breadcrumb {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px 0;
}
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-sub); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--main-teal); }
.breadcrumb a { color: var(--main-teal-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   アクセシビリティ（フォーカス・スキップリンク・現在ページ表示）
   -------------------------------------------------------------------------- */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--main-teal-deep);
    outline-offset: 3px;
    border-radius: 6px;
}
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--main-teal-text); color: #fff;
    font-weight: 700; font-size: 14px;
    padding: 12px 22px; border-radius: 0 0 14px 0;
    z-index: 2000; text-decoration: none;
}
.skip-link:focus { left: 0; }
.header__nav-link--active { color: var(--main-teal-text); font-weight: 700; }
.header__nav-link--active::after { width: 20px; background: var(--main-teal-deep); }

/* --------------------------------------------------------------------------
   プライバシーポリシー
   -------------------------------------------------------------------------- */
.policy {
    max-width: var(--content-sm);
    margin: 0 auto;
    background: white;
    padding: 48px 44px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--main-a6);
}
.policy > p { font-size: 15px; color: var(--text-sub); margin-bottom: 24px; }
.policy h2 {
    font-size: 17px; font-weight: 700;
    color: var(--main-teal-text);
    margin: 32px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-teal-pale);
    letter-spacing: 0.03em;
}
.policy ul { margin: 0 0 16px; }
.policy li {
    padding: 6px 0 6px 26px; position: relative;
    font-size: 15px; color: var(--text-main);
}
.policy 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-teal), var(--main-teal-soft));
}
.policy__date { text-align: right; font-size: 14px; color: var(--text-sub); margin-top: 28px; }
@media (max-width: 767px) {
    .policy { padding: 28px 20px; }
}

/* --------------------------------------------------------------------------
   アクセス・医院概要
   -------------------------------------------------------------------------- */
.access-grid {
    max-width: var(--content-sm);
    margin: 0 auto;
}
.info-table {
    width: 100%; border-collapse: collapse;
    background: white; border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    overflow: hidden; font-size: 14.5px;
    border: 1px solid var(--main-a6);
}
.info-table th, .info-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--main-a10); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th {
    width: 110px; white-space: nowrap;
    color: var(--main-teal-text); font-weight: 700;
    background: var(--main-teal-pale);
}

/* --------------------------------------------------------------------------
   お問い合わせフォーム
   -------------------------------------------------------------------------- */
.contact-form {
    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(--main-a6);
}
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--text-main); }
.form-badge {
    display: inline-block; margin-left: 8px;
    font-size: 11px; font-weight: 700; line-height: 1.6;
    padding: 0 10px; border-radius: var(--radius-pill);
    background: var(--accent-coral-text); color: #fff;
    vertical-align: 1px;
}
.form-badge--opt { background: #67746F; }
.form-input, .form-select, .form-textarea {
    width: 100%; box-sizing: border-box;
    padding: 13px 16px;
    border: 2px solid #D8E6E2; border-radius: 14px;
    font-family: inherit; font-size: 15px; color: var(--text-main);
    background: #FDFDFC;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--main-teal);
    box-shadow: 0 0 0 3px var(--main-a15);
}
.form-textarea { min-height: 170px; resize: vertical; }
.form-agree { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; margin-bottom: 26px; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--main-teal-deep); }
.form-submit {
    display: block; margin: 0 auto;
    width: 100%; max-width: 320px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--main-teal-deep) 0%, #4E938B 100%);
    color: #fff; font-family: inherit; font-size: 15px; font-weight: 700;
    letter-spacing: 0.06em;
    border: none; border-radius: var(--radius-pill); cursor: pointer;
    box-shadow: 0 6px 20px rgba(95, 166, 158, 0.35);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(95, 166, 158, 0.45); }
.form-note { font-size: 13px; color: var(--text-sub); text-align: center; margin-bottom: 26px; line-height: 1.9; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   コラム（ブログ）
   -------------------------------------------------------------------------- */
.post-list {
    max-width: var(--content-md);
    margin: 0 auto;
    display: grid; gap: 16px;
}
.post-card {
    display: block;
    background: white;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--main-a6);
    text-decoration: none; color: inherit;
    transition: all 0.35s var(--ease-out-expo);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-dreamy); }
.post-card__date { font-size: 12.5px; color: var(--text-sub); letter-spacing: 0.05em; }
.post-card__title { font-size: 16.5px; font-weight: 700; color: var(--text-main); margin: 6px 0 8px; line-height: 1.7; }
.post-card__excerpt { font-size: 13.5px; color: var(--text-sub); line-height: 1.9; }
.post {
    max-width: var(--content-xs);
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--main-a6);
    padding: 48px 44px;
}
.post__meta { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; letter-spacing: 0.05em; }
.post__title { font-size: 26px; font-weight: 900; line-height: 1.6; margin-bottom: 28px; letter-spacing: 0.03em; }
.post h2 {
    font-size: 19px; font-weight: 700;
    margin: 40px 0 16px;
    padding: 10px 16px;
    background: var(--main-teal-pale);
    border-left: 5px solid var(--main-teal);
    border-radius: 6px;
    color: var(--text-main);
}
.post p { font-size: 15px; color: var(--text-main); line-height: 2.1; margin-bottom: 18px; }
.post ul { margin: 0 0 18px 4px; }
.post ul li { padding: 5px 0 5px 26px; position: relative; font-size: 15px; line-height: 1.9; }
.post ul li::before {
    content: ''; position: absolute; left: 4px; top: 16px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--main-teal);
}
.post__photo { display: block; width: 100%; max-width: 460px; height: auto; margin: 8px auto 6px; border-radius: 20px; box-shadow: var(--shadow-soft); }
.post__photo-caption { text-align: center; font-size: 12.5px; color: var(--text-sub); margin-bottom: 24px; }
.post__supervisor {
    margin-top: 36px; padding: 18px 22px;
    background: var(--sub-mint); border-radius: 14px;
    font-size: 13.5px; color: var(--text-sub);
}
.post__back { text-align: center; margin-top: 36px; }
.post-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.post-table th, .post-table td { border: 1px solid var(--main-a20); padding: 10px 14px; text-align: left; line-height: 1.8; }
.post-table thead th { background: var(--main-teal-text); color: #fff; font-weight: 700; text-align: center; }
.post-table tbody th { background: var(--main-teal-pale); color: var(--main-teal-text); white-space: nowrap; }

@media (max-width: 1023px) {
}
@media (max-width: 767px) {
    .contact-form { padding: 30px 20px; }
    .post { padding: 32px 22px; }
    .post__title { font-size: 21px; }
    .info-table th { width: 90px; padding: 12px 14px; }
    .info-table td { padding: 12px 14px; }
}

/* --------------------------------------------------------------------------
   診療当日の流れ
   -------------------------------------------------------------------------- */
.visit-steps {
    max-width: var(--content-sm);
    margin: 0 auto;
    display: grid; gap: 18px;
}
.visit-step {
    display: grid; grid-template-columns: 112px 1fr; gap: 24px;
    align-items: center;
    background: white;
    border: 1px solid var(--main-a6);
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    padding: 24px 28px;
    position: relative;
}
.visit-step__art {
    width: 112px; height: 112px;
    background: var(--sub-mint);
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.visit-step__art svg { width: 84%; height: 84%; }
.visit-step__num {
    position: absolute; top: -10px; left: -10px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--main-teal-deep), #4E938B);
    color: #fff; font-weight: 900; font-size: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(95, 166, 158, 0.4);
}
.visit-step__title { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.03em; }
.visit-step__text { font-size: 14px; color: var(--text-sub); line-height: 1.95; }
.visit-note {
    max-width: var(--content-sm);
    margin: 36px auto 0;
    background: var(--main-teal-pale);
    border-radius: 20px;
    padding: 22px 26px;
    font-size: 13.5px; color: var(--text-main); line-height: 2;
}
.visit-note strong { color: var(--main-teal-text); }
@media (max-width: 767px) {
    .visit-step { grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 18px; }
    .visit-step__art { width: 84px; height: 84px; border-radius: 18px; }
}

@media (max-width: 1023px) {
    .medical-list[style] { grid-template-columns: 1fr !important; }
}

/* 中間幅でナビが窮屈になる場合の調整 */
@media (min-width: 1024px) and (max-width: 1339px) {
    .header { padding: 10px 18px; }
    .header--scrolled { padding: 6px 18px; }
    .header__inner { gap: 8px; }
    .header__logo { gap: 8px; }
    .header__logo-icon { width: 40px; height: 40px; }
    .header__nav-list { gap: 0; }
    .header__nav-link { padding: 9px 8px; font-size: 12.5px; }
    .header__logo-text { font-size: 13.5px; white-space: nowrap; }
    .header__logo-text small { font-size: 10px; }
    .header__cta { padding: 10px 14px; font-size: 12.5px; }
}

/* タブレット幅でのロゴ折り返し対策 */
@media (min-width: 768px) and (max-width: 1023px) {
    .header__logo-text { font-size: 15px; white-space: nowrap; }
    .header__logo-text small { white-space: nowrap; }
}

/* ==========================================================
   ヒーローイラストのアニメーション（往診ストーリー）
   24秒で「出発→小道を上る→玄関へ→お出迎え」→逆再生で帰り道
   ========================================================== */
.anim-walker {
    animation: walkTour 90s ease-in-out infinite;
    transform-origin: 253px 368px;
    transform-box: view-box;
}
/* 村の回診ツアー: 出発→家1→家2→家3→帰宅（歩行速度は全区間ほぼ一定） */
@keyframes walkTour {
    0%, 4%       { transform: translate(0, 0) scale(1); }
    14%          { transform: translate(52px, -92px) scale(0.74); }
    25.5%, 31%   { transform: translate(168px, -52px) scale(0.62); }
    38.5%, 44%   { transform: translate(245px, -70px) scale(0.5); }
    80%, 85.5%   { transform: translate(-141px, -80px) scale(0.56); }
    100%         { transform: translate(0, 0) scale(1); }
}
.anim-bob {
    animation: walkBob 0.62s ease-in-out infinite alternate;
    transform-box: view-box;
}
@keyframes walkBob {
    from { transform: translateY(0); }
    to   { transform: translateY(-2.2px); }
}
.anim-heart {
    animation: heartFloat 2.6s ease-in-out infinite;
    transform-origin: 268px 295px;
    transform-box: view-box;
}
@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1);   opacity: 0.9; }
    50%      { transform: translateY(-4px) scale(1.14); opacity: 1; }
}
.anim-greeters {
    opacity: 0;
    animation: greetTour1 90s ease-in-out infinite;
    transform-origin: 451px 313px;
    transform-box: view-box;
}
@keyframes greetTour1 {
    0%, 23%     { opacity: 0; transform: translateY(7px) scale(0.85); }
    26%         { opacity: 1; transform: translateY(0) scale(1); }
    28%         { opacity: 1; transform: translateY(-2px) scale(1); }
    30%, 32%    { opacity: 1; transform: translateY(0) scale(1); }
    36%, 100%   { opacity: 0; transform: translateY(7px) scale(0.85); }
}
.anim-greet-heart {
    animation: heartTour1 90s ease-in-out infinite;
    transform-origin: 452px 285px;
    transform-box: view-box;
}
@keyframes heartTour1 {
    0%, 25%     { opacity: 0; transform: translateY(4px) scale(0.6); }
    28%         { opacity: 1; transform: translateY(-2px) scale(1.1); }
    32%         { opacity: 0.9; transform: translateY(-4px) scale(1); }
    36%, 100%   { opacity: 0; transform: translateY(4px) scale(0.6); }
}
/* 家2: 青服のおばあちゃん */
.anim-greeters2 {
    opacity: 0;
    animation: greetTour2 90s ease-in-out infinite;
    transform-origin: 523px 290px;
    transform-box: view-box;
}
@keyframes greetTour2 {
    0%, 36.5%   { opacity: 0; transform: translateY(6px) scale(0.85); }
    39.5%       { opacity: 1; transform: translateY(0) scale(1); }
    41%         { opacity: 1; transform: translateY(-2px) scale(1); }
    43%, 45%    { opacity: 1; transform: translateY(0) scale(1); }
    49%, 100%   { opacity: 0; transform: translateY(6px) scale(0.85); }
}
.anim-greet-heart2 {
    animation: heartTour2 90s ease-in-out infinite;
    transform-origin: 523px 264px;
    transform-box: view-box;
}
@keyframes heartTour2 {
    0%, 38.5%   { opacity: 0; transform: translateY(4px) scale(0.6); }
    41.5%       { opacity: 1; transform: translateY(-2px) scale(1.1); }
    45%         { opacity: 0.9; transform: translateY(-4px) scale(1); }
    49%, 100%   { opacity: 0; transform: translateY(4px) scale(0.6); }
}
/* 家3: 杖のおじいちゃん */
.anim-greeters3 {
    opacity: 0;
    animation: greetTour3 90s ease-in-out infinite;
    transform-origin: 94px 282px;
    transform-box: view-box;
}
@keyframes greetTour3 {
    0%, 78%     { opacity: 0; transform: translateY(6px) scale(0.85); }
    81%         { opacity: 1; transform: translateY(0) scale(1); }
    82.5%       { opacity: 1; transform: translateY(-2px) scale(1); }
    84.5%, 86.5% { opacity: 1; transform: translateY(0) scale(1); }
    90.5%, 100% { opacity: 0; transform: translateY(6px) scale(0.85); }
}
.anim-greet-heart3 {
    animation: heartTour3 90s ease-in-out infinite;
    transform-origin: 94px 254px;
    transform-box: view-box;
}
@keyframes heartTour3 {
    0%, 80%     { opacity: 0; transform: translateY(4px) scale(0.6); }
    83%         { opacity: 1; transform: translateY(-2px) scale(1.1); }
    86.5%       { opacity: 0.9; transform: translateY(-4px) scale(1); }
    90.5%, 100% { opacity: 0; transform: translateY(4px) scale(0.6); }
}
/* わんちゃん */
.anim-dog {
    animation: dogHop 1.3s ease-in-out 0.25s infinite;
    transform-origin: 144px 350px;
    transform-box: view-box;
}
@keyframes dogHop {
    0%, 60%, 100% { transform: translateY(0); }
    75%           { transform: translateY(-3.5px); }
    88%           { transform: translateY(-0.5px); }
}
.anim-dog-tail {
    animation: tailWag 0.45s ease-in-out infinite alternate;
    transform-origin: 133px 344px;
    transform-box: view-box;
}
@keyframes tailWag {
    from { transform: rotate(-14deg); }
    to   { transform: rotate(18deg); }
}
/* 小鳥の群れ: 空をゆっくり横断してループ */
.anim-birds {
    animation: birdsFly 40s linear infinite;
    transform-box: view-box;
}
@keyframes birdsFly {
    from { transform: translateX(-70px); }
    to   { transform: translateX(670px); }
}
.anim-bird--1 { animation: birdBob1 3.2s ease-in-out infinite alternate; }
.anim-bird--2 { animation: birdBob2 2.6s ease-in-out infinite alternate; }
.anim-bird--3 { animation: birdBob1 2.9s ease-in-out 0.7s infinite alternate; }
@keyframes birdBob1 { from { translate: 0 0; } to { translate: 0 -6px; } }
@keyframes birdBob2 { from { translate: 0 -4px; } to { translate: 0 3px; } }
.anim-wing {
    animation: wingFlap 0.5s ease-in-out infinite alternate;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes wingFlap {
    from { transform: scaleY(1); }
    to   { transform: scaleY(0.45); }
}
.anim-clouds {
    animation: cloudDrift 18s ease-in-out infinite alternate;
}
@keyframes cloudDrift {
    from { transform: translateX(-18px); }
    to   { transform: translateX(26px); }
}
/* 雲ごとに速度と向きを変えて奥行き感を出す */
.anim-clouds ellipse:nth-of-type(4),
.anim-clouds ellipse:nth-of-type(5) {
    animation: cloudDriftB 13s ease-in-out infinite alternate;
}
.anim-clouds ellipse:nth-of-type(6) {
    animation: cloudDriftB 22s ease-in-out infinite alternate-reverse;
}
@keyframes cloudDriftB {
    from { transform: translateX(10px); }
    to   { transform: translateX(-14px); }
}
.anim-sun {
    animation: sunFloat 6s ease-in-out infinite alternate;
    transform-origin: 487px 84px;
    transform-box: view-box;
}
@keyframes sunFloat {
    from { transform: translateY(-2px) scale(1); }
    to   { transform: translateY(5px) scale(1.035); }
}
/* 野原で遊ぶ子どもたち */
.anim-kid1 {
    animation: kidHop 1.3s ease-in-out infinite;
    transform-origin: 168px 350px;
    transform-box: view-box;
}
@keyframes kidHop {
    0%, 55%, 100% { transform: translateY(0); }
    20%           { transform: translateY(-4.5px); }
    35%           { transform: translateY(-1px); }
}
.anim-kid2 {
    animation: kidHop2 1.3s ease-in-out infinite;
    transform-origin: 202px 350px;
    transform-box: view-box;
}
@keyframes kidHop2 {
    0%, 45%, 100% { transform: translateY(0); }
    65%           { transform: translateY(-4.5px); }
    80%           { transform: translateY(-1px); }
}
.anim-ball-x {
    animation: ballX 1.3s linear infinite alternate;
    transform-box: view-box;
}
@keyframes ballX {
    from { transform: translateX(0); }
    to   { transform: translateX(26px); }
}
.anim-ball-y {
    animation: ballY 0.65s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    transform-box: view-box;
}
@keyframes ballY {
    from { transform: translateY(0); }
    to   { transform: translateY(-13px); }
}
@media (prefers-reduced-motion: reduce) {
    .anim-walker, .anim-bob, .anim-heart, .anim-clouds, .anim-sun,
    .anim-clouds ellipse, .anim-kid1, .anim-kid2, .anim-ball-x, .anim-ball-y,
    .anim-dog, .anim-dog-tail, .anim-birds, .anim-bird--1, .anim-bird--2, .anim-bird--3, .anim-wing,
    .anim-greeters, .anim-greet-heart,
    .anim-greeters2, .anim-greet-heart2, .anim-greeters3, .anim-greet-heart3 { animation: none; }
    .anim-birds { transform: translateX(300px); }
    .anim-greeters, .anim-greet-heart, .anim-greeters2, .anim-greeters3 { opacity: 1; }
    .anim-greet-heart2, .anim-greet-heart3 { opacity: 0.9; }
}

@media (max-width: 359px) {
    /* iPhone SE等の狭幅: ロゴがメニューに、バッジがタイトルに重なるのを防ぐ */
    .header__logo-text { font-size: 11.5px; }
    .hero__title { font-size: 25px; }
    .hero__ring-item svg { width: 34px; height: 34px; }
    .hero__ring-label { font-size: 7.5px; padding: 1px 5px; }
}

/* 受け入れ状況バッジ（連携ページのカード＋トップページの帯） */
.avail-card {
    max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px;
    padding: 26px 30px; text-align: center;
    box-shadow: 0 8px 24px rgba(78, 111, 105, 0.10);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.avail-card__badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 900; letter-spacing: 0.04em;
    padding: 12px 26px; border-radius: 999px;
}
.avail-card__dot, .referral-band__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.referral-band__dot { width: 9px; height: 9px; }
.avail-card--ok .avail-card__badge, .referral-band--ok .referral-band__badge { background: #E6F3F1; color: #2F6B62; }
.avail-card--ok .avail-card__dot, .referral-band--ok .referral-band__dot { background: #4E938B; }
.avail-card--consult .avail-card__badge, .referral-band--consult .referral-band__badge { background: #FBF3E2; color: #8A6134; }
.avail-card--consult .avail-card__dot, .referral-band--consult .referral-band__dot { background: #E3AE63; }
.avail-card--pause .avail-card__badge, .referral-band--pause .referral-band__badge { background: #F1EFE8; color: #5F5E5A; }
.avail-card--pause .avail-card__dot, .referral-band--pause .referral-band__dot { background: #9C9A92; }
.avail-card__date { font-size: 13px; color: var(--text-sub); }
.referral-band { background: #fff; border-top: 1px solid #E3EFEA; border-bottom: 1px solid #E3EFEA; padding: 13px 24px; }
.referral-band__inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.referral-band__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 999px;
}
.referral-band__date { font-size: 12.5px; color: var(--text-sub); }
.referral-band__link { font-size: 13.5px; font-weight: 700; color: var(--main-teal-text); white-space: nowrap; }
@media (max-width: 767px) {
    .avail-card__badge { font-size: 16.5px; padding: 10px 20px; }
    .referral-band { padding: 12px 16px; }
    .referral-band__inner { gap: 8px; flex-direction: column; }
}
