/* しろはと歯科医院（デモ）
   白の地 × 水色（表の線・印）× 木の色（ベンチや天板のような差し色）。角は4px。
   区切りに鳩の羽を小さく1つ。 */

:root {
  --white: #FFFFFF;
  --sora: #F2F8FB;        /* ごく淡い水色の地 */
  --mizu: #6FB7D9;        /* 水色（線・印・ボタンの地） */
  --mizu-l: #D6EBF5;
  --mizu-line: #BFDDEC;   /* 表の細い線 */
  --mizu-d: #2A7AA2;      /* 文字にするときの水色 */
  --ki: #C9A27E;          /* 木の色 */
  --ki-l: #F5EDE4;
  --ki-d: #86603E;        /* 文字にするときの木の色 */
  --sumi: #33404A;        /* 文字 */
  --sumi-2: #5C6972;
  --gray: #C3CBD0;
  --btn-ink: #12344A;

  --kaku: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --inter: "Inter", "Zen Kaku Gothic New", sans-serif;
  --r: 4px;
  --head-h: 84px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--sumi);
  font-family: var(--kaku); font-weight: 400;
  font-size: clamp(15px, .2vw + 14.2px, 17px); line-height: 1.9; letter-spacing: .03em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; font-feature-settings: "palt"; letter-spacing: .06em; line-height: 1.5; text-wrap: balance; word-break: auto-phrase; }
p { text-wrap: pretty; }
small { font-size: .82em; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--mizu-d); outline-offset: 3px; }
.num { font-family: var(--inter); font-feature-settings: "tnum"; letter-spacing: .02em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--n { width: min(860px, 100% - 48px); }
@media (max-width: 599px) { .wrap, .wrap--n { width: calc(100% - 36px); } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 50px; padding: .55em 1.5em; border-radius: var(--r);
  font-weight: 700; font-size: .95em; letter-spacing: .08em; text-decoration: none; line-height: 1.4;
  border: 1.5px solid var(--mizu); background: var(--white); color: var(--sumi);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn .arw { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--fill { background: var(--mizu); color: var(--btn-ink); }
.btn--fill:hover { background: #86C4E1; }
.btn--line:hover { background: var(--sora); }
.btn--wood { border-color: var(--ki); background: var(--ki-l); color: #4E3A28; }
.btn--wood:hover { background: #EFE2D3; }

/* ---------- ヘッダー ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--mizu-l); }
.head__in { display: flex; align-items: center; gap: 22px; height: var(--head-h); width: min(1400px, 100% - 40px); margin-inline: auto; }
.head__brand { display: flex; align-items: flex-end; gap: 8px; flex: none; }
.brand { display: block; text-decoration: none; }
.logo { display: block; overflow: visible; }
.brand--head .logo { width: 228px; height: auto; }
.logo__mark { color: var(--sumi); }
.logo .wing, #hato .wing { stroke: var(--mizu); }
.logo__name { font-family: var(--kaku); font-weight: 700; font-size: 20px; fill: var(--sumi); }
.logo__en { font-family: var(--inter); font-weight: 500; font-size: 7.6px; fill: var(--sumi-2); letter-spacing: .2em; }
.demo { font-family: var(--inter); font-size: 9px; font-weight: 500; letter-spacing: .14em; color: var(--sumi-2); border: 1px solid var(--gray); border-radius: 2px; padding: 0 4px; line-height: 1.6; margin-bottom: 6px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(12px, 1.4vw, 26px); }
.gnav a { position: relative; display: block; padding: 8px 0; font-size: 14.5px; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--mizu); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--mizu-d); }
.head__tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; flex: none; }
.tel { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--inter); font-weight: 700; font-size: 23px; letter-spacing: .02em; }
.tel .ico { width: 19px; height: 19px; color: var(--mizu-d); }
.head__tel small { font-size: 10.5px; color: var(--sumi-2); letter-spacing: .02em; margin-top: 3px; }
.head__btn { flex: none; min-height: 48px; padding-inline: 1.2em; font-size: 14px; }
.head__call, .menu { display: none; }

@media (max-width: 1279px) {
  .gnav { position: fixed; inset: var(--head-h) 0 auto 0; background: var(--white); border-bottom: 1px solid var(--mizu-l); padding: 8px 24px 24px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .gnav ul { flex-direction: column; gap: 0; max-width: 640px; margin-inline: auto; }
  .gnav li + li { border-top: 1px solid var(--mizu-l); }
  .gnav a { padding: 16px 4px; font-size: 16px; }
  .gnav a::after { display: none; }
  .gnav a[aria-current="page"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mizu); margin-right: 10px; vertical-align: middle; }
  .is-menu .gnav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .head__tel { margin-left: auto; }
  .menu { display: grid; justify-items: center; gap: 4px; width: 52px; height: 52px; padding: 10px 0 6px; border: 0; border-radius: var(--r); background: var(--sora); color: var(--sumi); cursor: pointer; flex: none; }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .3s var(--ease), opacity .2s; }
  .menu__bars { position: relative; margin-top: 7px; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .menu__label { font-family: var(--inter); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
}
@media (max-width: 899px) {
  :root { --head-h: 66px; }
  .head__in { gap: 10px; width: calc(100% - 28px); }
  .brand--head .logo { width: 176px; }
  .head__tel, .head__btn { display: none; }
  .head__call { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r); border: 1.5px solid var(--mizu); color: var(--mizu-d); flex: none; }
  .head__call .ico { width: 22px; height: 22px; }
  .menu { width: 48px; height: 48px; }
}
@media (max-width: 374px) { .brand--head .logo { width: 150px; } .demo { display: none; } }

/* ---------- 羽の区切り ---------- */
.hane { display: grid; place-items: center; padding: 6px 0; color: var(--mizu); }
.hane svg { width: 56px; height: 18px; }

/* ---------- 見出しの型 ---------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 48px); max-width: 720px; }
.sec-head h2, .sec h2 { font-size: clamp(24px, 1.6vw + 17px, 34px); }
.sec-head h2::before, .sec > .wrap > h2::before, .sec > .wrap--n > h2::before, .sec__h::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
.sec-head--c { margin-inline: auto; text-align: center; }
.sec-head--c h2::before { margin-inline: auto; }
.sec-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: flex-end; }
.note { font-size: .9em; color: var(--sumi-2); margin-top: 16px; }

/* ---------- トップ：最初の画面 ---------- */
.hero { display: grid; grid-template-columns: 40fr 60fr; min-height: min(calc(100svh - var(--head-h) - 72px), 780px); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 3vw, 48px) clamp(24px, 3.4vw, 64px) clamp(28px, 3vw, 48px) max(24px, calc((100vw - 1400px) / 2 + 20px)); }
.hero__eyebrow { color: var(--mizu-d); font-weight: 700; font-size: .92em; letter-spacing: .12em; }
.hero__title { font-size: clamp(28px, 2.3vw + 10px, 46px); line-height: 1.45; letter-spacing: .05em; }
.hero__title span { display: block; }
.hero__lead { font-size: .98em; color: var(--sumi-2); }
.hero__table { margin-top: 4px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { position: relative; overflow: hidden; border-bottom-left-radius: 40px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 10px; background: var(--ki); }

@media (max-width: 1099px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; aspect-ratio: 16 / 9; border-bottom-left-radius: 28px; }
  .hero__text { padding: 26px max(24px, calc((100% - 760px) / 2)) 34px; }
}
@media (max-width: 599px) {
  .hero__photo { aspect-ratio: 16 / 9.5; }
  .hero__text { padding: 22px 18px 30px; gap: 14px; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* ---------- D-2 診療時間 ---------- */
.hours table { width: 100%; table-layout: fixed; text-align: center; border-top: 2px solid var(--mizu); }
.hours th, .hours td { border-bottom: 1px solid var(--mizu-line); padding: 10px 2px; font-weight: 700; }
.hours thead th { font-size: .9em; padding: 8px 2px; background: var(--sora); }
.hours .hours__c { width: 27%; font-size: .82em; letter-spacing: .02em; }
.hours .hours__sun { width: 13%; font-size: .8em; letter-spacing: 0; white-space: nowrap; }
.hours tbody th { font-weight: 700; font-size: .95em; line-height: 1.25; }
.hours tbody th span { display: inline-block; white-space: nowrap; }
.mk { display: inline-block; font-weight: 700; line-height: 1; }
.mk--o { color: var(--mizu); font-size: 1.3em; }
.mk--t { color: var(--mizu-d); font-size: 1em; }
.mk--x { color: var(--gray); }
.hours figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-top: 10px; font-size: .84em; color: var(--sumi-2); }
.hours--s { max-width: 470px; }
.hours--s th, .hours--s td { padding: 7px 1px; }
.hours--s tbody th { font-size: .85em; }
.hours--l table { font-size: 1.08em; }
.hours--l th, .hours--l td { padding: 16px 2px; }
.hours--l .mk--o { font-size: 1.4em; }
.hours--l figcaption { font-size: .9em; }
@media (min-width: 600px) { .hours--l tbody th span + span { margin-left: .1em; } }
@media (max-width: 599px) {
  .hours tbody th span { display: block; }
  .hours .hours__c { width: 24%; }
  .hours th, .hours td { padding: 9px 0; }
  .hours .hours__sun { font-size: .68em; }
  .hours--l th, .hours--l td { padding: 13px 0; }
}

/* ---------- お知らせ ---------- */
.news { border-bottom: 1px solid var(--mizu-l); }
.news__in { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 36px; align-items: start; padding: 34px 0; }
.news__h { font-size: 20px; display: flex; align-items: center; gap: 12px; line-height: 1.4; padding-top: 4px; }
.news__h::before { content: ""; width: 4px; height: 22px; background: var(--ki); border-radius: 2px; }
.news__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--mizu-line); }
.news__list li:last-child { border-bottom: 0; }
.news__list time { color: var(--ki-d); font-weight: 500; font-size: .92em; padding-top: .12em; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: .92em; font-weight: 700; color: var(--mizu-d); text-decoration: none; padding: 10px 0; white-space: nowrap; align-self: end; }
.more .arw { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.more:hover .arw { transform: translateX(4px); }
@media (max-width: 899px) {
  .news__in { grid-template-columns: 1fr; padding: 26px 0; }
  .more { justify-self: end; }
}
@media (max-width: 599px) { .news__list li { grid-template-columns: 1fr; gap: 0; } }
.news--page .news__in { grid-template-columns: 180px 1fr; padding: 0; }
.news--page { border: 0; }
@media (max-width: 899px) { .news--page .news__in { grid-template-columns: 1fr; } }

/* ---------- 診療案内（札） ---------- */
.fuda { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--mizu-line); border-left: 1px solid var(--mizu-line); }
.fuda li { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 30px 28px 32px; border-right: 1px solid var(--mizu-line); border-bottom: 1px solid var(--mizu-line); background: var(--white); }
.fuda li::before { content: ""; position: absolute; left: -1px; top: -1px; width: 36px; height: 3px; background: var(--ki); }
.fuda svg { width: 56px; height: 56px; color: var(--mizu-d); margin-bottom: 10px; }
.fuda .wood { stroke: var(--ki); }
.fuda h3 { font-size: 1.14em; }
.fuda h3 small { font-weight: 700; }
.fuda p { font-size: .94em; color: var(--sumi-2); word-break: auto-phrase; }
@media (max-width: 899px) { .fuda { grid-template-columns: repeat(2, 1fr); } .fuda li { padding: 24px 20px; } }
@media (max-width: 559px) {
  .fuda { grid-template-columns: 1fr; }
  .fuda li { grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 16px; }
  .fuda svg { grid-row: 1 / 3; width: 46px; height: 46px; margin: 0; }
}
.js .fuda.rv li { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease-out); }
.js .fuda.rv.is-in li { opacity: 1; transform: none; }
.fuda li:nth-child(2) { transition-delay: .07s; } .fuda li:nth-child(3) { transition-delay: .14s; }
.fuda li:nth-child(4) { transition-delay: .21s; } .fuda li:nth-child(5) { transition-delay: .28s; } .fuda li:nth-child(6) { transition-delay: .35s; }

/* ---------- D-1 初診の流れ（横） ---------- */
.first-sec { background: var(--sora); }
.flow__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow__list::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 52px; height: 2px; background: var(--mizu); transform-origin: left; }
.flow__list li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.flow__dot { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--white); border: 2px solid var(--mizu); color: var(--mizu-d); margin-bottom: 12px; position: relative; z-index: 1; }
.flow__dot svg { width: 56px; height: 56px; }
.flow__dot .wood, .steps .wood, .kodomo__ico .wood, .tr .wood, .plan .wood { stroke: var(--ki); }
.flow__no { font-size: 15px; font-weight: 700; color: var(--white); background: var(--mizu-d); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; line-height: 1; margin-bottom: 4px; }
.flow__name { font-weight: 700; font-size: 1.12em; }
.flow__time { color: var(--ki-d); font-weight: 700; font-size: .95em; }
.flow__sub { font-size: .86em; color: var(--sumi-2); }
.flow figcaption { text-align: center; margin-top: 26px; font-size: .9em; color: var(--sumi-2); }
.flow figcaption::before, .flow figcaption::after { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--mizu); vertical-align: middle; margin: 0 10px; }
.first-sec__text { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 52px); padding: 26px 30px; background: var(--white); border-radius: var(--r); border: 1px solid var(--mizu-line); }
@media (max-width: 799px) {
  .flow__list { grid-template-columns: 1fr; gap: 18px; }
  .flow__list::before { left: 38px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; transform-origin: top; }
  .flow__list li { display: grid; grid-template-columns: 78px auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; }
  .flow__dot { grid-row: 1 / 3; width: 78px; height: 78px; margin: 0; }
  .flow__dot svg { width: 42px; height: 42px; }
  .flow__no { grid-row: 1 / 3; margin: 0; }
  .flow__name { grid-column: 3; align-self: end; }
  .flow__time, .flow__sub { grid-column: 3; align-self: start; }
  .flow__list li:has(.flow__time):has(.flow__sub) { grid-template-rows: auto auto auto; }
  .first-sec__text { padding: 20px; }
}
.js .flow.rv .flow__list::before { transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.js .flow.rv.is-in .flow__list::before { transform: none; }
.js .flow.rv li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.js .flow.rv.is-in li { opacity: 1; transform: none; }
.flow li:nth-child(2) { transition-delay: .35s; } .flow li:nth-child(3) { transition-delay: .7s; } .flow li:nth-child(4) { transition-delay: 1.05s; }
@media (max-width: 799px) { .js .flow.rv .flow__list::before { transform: scaleY(0); } .js .flow.rv.is-in .flow__list::before { transform: none; } }

/* ---------- 院長あいさつ ---------- */
.greet__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.greet__photo { position: relative; }
.greet__photo img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; position: relative; z-index: 1; }
.greet__photo::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; background: var(--ki-l); border-radius: var(--r); }
.greet__text { display: grid; gap: 22px; justify-items: start; }
.greet__text h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
.greet__text h2 { font-size: clamp(24px, 1.6vw + 17px, 34px); }
.letter { display: grid; gap: 1em; padding-left: 22px; border-left: 2px solid var(--mizu-l); }
.letter p { line-height: 2.05; }
.greet__name { font-weight: 700; letter-spacing: .1em; }
.greet__name small { color: var(--sumi-2); font-weight: 400; margin-left: .3em; }
@media (max-width: 799px) {
  .greet__in { grid-template-columns: 1fr; }
  .greet__photo { width: min(78%, 360px); }
  .greet__photo::before { inset: 18px -14px -14px 18px; }
  .letter { padding-left: 16px; }
}

/* ---------- 院内のご案内（トップ） ---------- */
.inside__list { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.inside__list li:nth-child(2) { margin-top: 56px; }
.inside__list li:nth-child(3) { margin-top: 18px; }
.inside__list figure img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.inside__list figcaption { word-break: auto-phrase; margin-top: 12px; font-size: .94em; padding-left: 14px; border-left: 2px solid var(--ki); line-height: 1.7; }
@media (max-width: 799px) {
  .inside__list { grid-template-columns: 1fr 1fr; }
  .inside__list li:first-child { grid-column: 1 / -1; }
  .inside__list li:nth-child(n) { margin-top: 0; }
}
@media (max-width: 479px) { .inside__list { grid-template-columns: 1fr; } }

/* ---------- 診療時間・アクセス（トップ） ---------- */
.info { background: linear-gradient(var(--white) 0 120px, var(--sora) 120px); }
.info__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.info__hours { background: var(--white); padding: clamp(20px, 2.4vw, 34px); border-radius: var(--r); border: 1px solid var(--mizu-line); }
.info__map { display: grid; gap: 20px; }
@media (max-width: 899px) { .info__grid { grid-template-columns: 1fr; } .info { background: var(--sora); } }
@media (max-width: 599px) { .info__hours { padding: 16px 12px; } }

.dtable { width: 100%; border-top: 1px solid var(--mizu-line); }
.dtable th, .dtable td { padding: 13px 4px; border-bottom: 1px solid var(--mizu-line); text-align: left; vertical-align: top; }
.dtable th { width: 7.5em; font-weight: 700; color: var(--mizu-d); white-space: nowrap; }
.dtable a { text-decoration: none; font-weight: 700; }

/* ---------- D-4 地図 ---------- */
.map svg { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--mizu-line); }
.map text { font-family: var(--kaku); font-size: 15px; font-weight: 700; fill: var(--sumi); }
.map .map__st { fill: #fff; font-size: 16px; }
.map .map__road { fill: var(--sumi-2); font-size: 14px; }
.map .map__name { font-size: 15px; }
.map .map__note { font-size: 12.5px; fill: var(--sumi-2); }
.map .map__pn { font-family: var(--inter); font-size: 15px; }
.map__walk-l text { font-size: 14px; fill: var(--mizu-d); }
.map #hato .wing, .map .wing { stroke: var(--mizu); }
.js .map.rv .map__walk { stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease) .3s; }
.map__walk { stroke-dashoffset: 0; }
.js .map.rv.is-in .map__walk { stroke-dashoffset: 0; }

/* ---------- 下層ページの頭 ---------- */
.crumb { padding: 14px 0 0; font-size: 12.5px; color: var(--sumi-2); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumb li + li::before { content: "/"; margin: 0 8px; color: var(--gray); }
.crumb a { text-decoration: none; color: var(--mizu-d); }
.phead h1 { font-size: clamp(30px, 2.4vw + 18px, 50px); letter-spacing: .08em; }
.phead h1::after { content: ""; display: block; width: 40px; height: 3px; background: var(--ki); margin-top: 14px; border-radius: 2px; }
.phead__text p { margin-top: 18px; max-width: 34em; color: var(--sumi-2); }
.phead--split .phead__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 40px); }
.phead--split .phead__photo img { border-radius: var(--r) var(--r) var(--r) 36px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.phead--plain { padding: clamp(32px, 5vw, 72px) 0 clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--mizu-l); }
.phead--plain .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 64px; align-items: end; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 14px; border: 1px solid var(--mizu-line); border-radius: var(--r); font-size: .9em; text-decoration: none; background: var(--white); }
.toc a:hover { background: var(--sora); }
.phead--doc .phead__in { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; padding-top: clamp(24px, 4vw, 48px); }
.phead--doc .phead__photo { justify-self: end; width: min(100%, 420px); position: relative; }
.phead--doc .phead__photo img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 30% 20%; border-radius: var(--r) var(--r) 0 0; }
.phead--doc { background: linear-gradient(transparent 0 60%, var(--sora) 60%); }
.phead--doc .phead__text { padding-bottom: 40px; }
.phead--wide .wrap { padding: clamp(26px, 4vw, 52px) 0 clamp(22px, 3vw, 36px); }
.phead__band { overflow: hidden; height: clamp(220px, 30vw, 440px); }
.phead__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.phead--ext .phead__band img { object-position: 50% 68%; }
@media (max-width: 799px) {
  .phead--split .phead__in, .phead--plain .wrap { grid-template-columns: 1fr; }
  .phead--split .phead__photo { order: -1; }
  .phead--doc .phead__in { grid-template-columns: 1fr; }
  .phead--doc .phead__photo { justify-self: center; width: min(82%, 340px); }
  .phead--doc .phead__text { padding-bottom: 0; }
  .phead--doc { background: linear-gradient(transparent 0 45%, var(--sora) 45%); }
}

/* ---------- はじめての方へ ---------- */
.yoyaku__in { display: grid; grid-template-columns: 220px 1fr; gap: 20px 40px; padding: clamp(26px, 3vw, 40px); background: var(--sora); border-radius: var(--r); }
.yoyaku__in > div { display: grid; gap: .8em; }
.yoyaku h2 { font-size: clamp(22px, 1.2vw + 17px, 28px); }
.bigtel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 6px; }
.bigtel a { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: clamp(28px, 2vw + 18px, 38px); line-height: 1.2; }
.bigtel .ico { width: .8em; height: .8em; color: var(--mizu-d); }
.bigtel small { color: var(--sumi-2); }
.bigtel--xl a { font-size: clamp(30px, 4vw + 16px, 54px); }
.sec.yoyaku { padding-bottom: 0; }
@media (max-width: 699px) { .yoyaku__in { grid-template-columns: 1fr; } }

.motsu h2 { margin-bottom: 26px; }
.motsu__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--mizu); }
.motsu__list li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; padding: 26px 14px; font-weight: 700; border-bottom: 1px solid var(--mizu-line); }
.motsu__list li + li { border-left: 1px dashed var(--mizu-line); }
.motsu__t { display: block; }
.motsu__list small { display: block; font-weight: 400; color: var(--sumi-2); }
.motsu__card { position: relative; width: 74px; height: 48px; border-radius: 5px; border: 2px solid var(--mizu-d); background: var(--white); }
.motsu__card i:first-child { position: absolute; left: 8px; top: 9px; width: 18px; height: 14px; border-radius: 2px; background: var(--mizu-l); }
.motsu__card i:last-child { position: absolute; left: 32px; right: 8px; top: 12px; height: 2px; background: var(--mizu); box-shadow: 0 8px 0 var(--mizu), 0 16px 0 var(--gray); }
.motsu__card--wood { border-color: var(--ki-d); }
.motsu__card--wood i:first-child { background: var(--ki-l); }
.motsu__book { position: relative; width: 46px; height: 56px; border-radius: 3px 6px 6px 3px; border: 2px solid var(--mizu-d); background: linear-gradient(90deg, var(--mizu-l) 0 8px, var(--white) 8px); }
.motsu__book::after { content: ""; position: absolute; left: 15px; right: 8px; top: 14px; height: 2px; background: var(--ki); box-shadow: 0 8px 0 var(--gray); }
@media (max-width: 699px) {
  .motsu__list { grid-template-columns: 1fr; }
  .motsu__list li { grid-template-columns: 80px 1fr; justify-items: start; text-align: left; align-items: center; padding: 16px 6px; }
  .motsu__list li + li { border-left: 0; }
  .motsu__list li > span:first-child { justify-self: center; }
}

.flow-sec { background: var(--sora); }
.flow-sec h2 { margin-bottom: 34px; }
.steps ol { position: relative; display: grid; gap: 18px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 47px; top: 96px; bottom: -18px; width: 2px; background: var(--mizu); transform-origin: top; }
.steps li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.steps .flow__dot { width: 96px; height: 96px; margin: 0; }
.steps li > div { background: var(--white); border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--mizu-line); }
.steps h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 1.2em; margin-bottom: 6px; }
.steps h3 b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mizu-d); color: #fff; font-size: 15px; line-height: 1; }
.steps__time { font-size: .78em; color: var(--ki-d); padding: 0 10px; border: 1px solid var(--ki); border-radius: var(--r); line-height: 1.8; }
.steps figcaption { margin: 22px 0 0 118px; font-size: .92em; color: var(--sumi-2); }
@media (max-width: 599px) {
  .steps li:not(:last-child)::before { left: 31px; top: 64px; }
  .steps li { grid-template-columns: 64px 1fr; gap: 12px; }
  .steps .flow__dot { width: 64px; height: 64px; }
  .steps .flow__dot svg { width: 36px; height: 36px; }
  .steps li > div { padding: 16px; }
  .steps figcaption { margin-left: 76px; }
}
.js .steps.rv li::before { transform: scaleY(0); transition: transform .5s var(--ease) .3s; }
.js .steps.rv.is-in li::before { transform: none; }
.js .steps.rv li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.js .steps.rv.is-in li { opacity: 1; transform: none; }
.steps li:nth-child(2) { transition-delay: .3s; } .steps li:nth-child(3) { transition-delay: .6s; } .steps li:nth-child(4) { transition-delay: .9s; }

.explain__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.explain__text { display: grid; gap: 1em; }
.explain__text h2 { margin-bottom: .3em; }
.explain__text h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
.explain__photo img { border-radius: 36px var(--r) var(--r) var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 799px) { .explain__in { grid-template-columns: 1fr; } }

.sec.kodomo { padding-top: 0; }
.kodomo__in { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 30px; border: 2px dashed var(--mizu-line); border-radius: 14px; }
.kodomo__in > div { display: grid; gap: .7em; }
.kodomo h2 { font-size: clamp(20px, 1vw + 16px, 26px); }
.kodomo__ico { width: 88px; height: 88px; color: var(--mizu-d); }
@media (max-width: 599px) { .kodomo__in { grid-template-columns: 1fr; padding: 22px 18px; } .kodomo__ico { width: 64px; height: 64px; } }

.next { display: flex; justify-content: center; padding: 8px 0 clamp(64px, 8vw, 104px); }
.next .btn { min-width: min(100%, 320px); min-height: 56px; }

/* ---------- 診療案内 ---------- */
.tr { display: grid; grid-template-columns: 1fr; padding: clamp(40px, 5vw, 72px) 0; }
.tr__item { padding: clamp(30px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--mizu-l); }
.tr__item > div { display: grid; gap: .8em; align-content: start; }
.tr__item h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(21px, 1vw + 17px, 27px); margin-bottom: .2em; }
.tr__item h2 svg { width: 44px; height: 44px; color: var(--mizu-d); flex: none; }
.tr__item--photo, .tr__item--wide { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.tr__item--photo figure img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tr__item--rev figure { order: 2; }
.tr__item--wide { grid-template-columns: 1fr; }
.tr__item:not(.tr__item--photo):not(.tr__item--wide) > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); column-gap: clamp(24px, 4vw, 64px); }
.tr__item:not(.tr__item--photo):not(.tr__item--wide) h2 { grid-row: 1 / span 3; align-self: start; }
.tr__item:not(.tr__item--photo):not(.tr__item--wide) p { grid-column: 2; }
.tr__item:not(.tr__item--photo):not(.tr__item--wide) { padding-inline: clamp(0px, 2vw, 28px); background: linear-gradient(90deg, var(--sora), transparent 46%); }
@media (max-width: 799px) {
  .tr__item:not(.tr__item--photo):not(.tr__item--wide) > div { grid-template-columns: 1fr; }
  .tr__item:not(.tr__item--photo):not(.tr__item--wide) h2, .tr__item:not(.tr__item--photo):not(.tr__item--wide) p { grid-row: auto; grid-column: auto; }
  .tr__item:not(.tr__item--photo):not(.tr__item--wide) { background: none; padding-inline: 0; }
  .tr__item--photo { grid-template-columns: 1fr; }
  .tr__item--rev figure { order: 0; }
}

/* D-3 定期検診の間隔 */
.cycle { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "start marks" ". what" "cap cap"; column-gap: 0; padding: 28px 28px 22px; margin: 10px 0 14px; background: var(--sora); border-radius: var(--r); }
.cycle__start { grid-area: start; display: grid; justify-items: center; gap: 8px; font-size: .86em; font-weight: 700; padding-top: 0; width: 9.5em; text-align: center; line-height: 1.4; white-space: nowrap; }
.cycle__pin { width: 22px; height: 22px; border-radius: 50%; background: var(--ki); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--ki); }
.cycle__marks { grid-area: marks; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.cycle__marks::before { content: ""; position: absolute; left: -4.75em; right: 0; top: 10px; height: 2px; background: var(--mizu); transform-origin: left; }
.cycle__marks li { position: relative; display: grid; justify-items: end; gap: 8px; font-family: var(--inter); font-weight: 700; font-size: .95em; text-align: right; }
.cycle__mk { width: 22px; height: 22px; border-radius: 50%; background: var(--mizu); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--mizu); }
.cycle__what { grid-area: what; justify-self: end; margin-top: 12px; padding: 2px 14px; font-size: .88em; border: 1px solid var(--mizu); border-radius: var(--r); background: var(--white); width: calc(100% - 4px); text-align: center; position: relative; }
.cycle figcaption { grid-area: cap; justify-self: end; margin-top: 12px; font-size: .82em; color: var(--sumi-2); }
@media (max-width: 599px) {
  .cycle { grid-template-columns: 1fr; grid-template-areas: "start" "marks" "what" "cap"; padding: 20px 18px; }
  .cycle__start { grid-auto-flow: column; justify-content: start; width: auto; }
  .cycle__marks { grid-template-columns: 1fr; gap: 14px; margin: 14px 0 0 0; padding-left: 0; }
  .cycle__marks::before { left: 10px; right: auto; top: -22px; bottom: 10px; width: 2px; height: auto; transform-origin: top; }
  .cycle__marks li { grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 12px; }
  .cycle__what { justify-self: start; width: auto; margin-left: 34px; }
  .cycle figcaption { justify-self: start; }
}
.js .cycle.rv .cycle__marks::before { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js .cycle.rv.is-in .cycle__marks::before { transform: none; }
.js .cycle.rv .cycle__mk { opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.js .cycle.rv.is-in .cycle__mk { opacity: 1; transform: none; }
.cycle li:nth-child(1) .cycle__mk { transition-delay: .5s; } .cycle li:nth-child(2) .cycle__mk { transition-delay: .85s; }
.cycle li:nth-child(3) .cycle__mk { transition-delay: 1.2s; } .cycle li:nth-child(4) .cycle__mk { transition-delay: 1.55s; }
@media (max-width: 599px) { .js .cycle.rv .cycle__marks::before { transform: scaleY(0); } .js .cycle.rv.is-in .cycle__marks::before { transform: none; } }

/* 自費の治療 */
.jihi { background: var(--white); }
.jihi > div { gap: 1em; }
.jihi__t { width: 100%; margin-top: 8px; font-size: .94em; border-top: 2px solid var(--mizu); }
.jihi__t th, .jihi__t td { padding: 16px 14px; border-bottom: 1px solid var(--mizu-line); text-align: left; vertical-align: top; line-height: 1.7; }
.jihi__t thead th { background: var(--sora); font-size: .9em; white-space: nowrap; }
.jihi__t tbody th { width: 19%; }
.jihi__t tbody th small { display: block; font-weight: 400; }
.jihi__yen { font-family: var(--inter); font-weight: 700; white-space: nowrap; }
.jihi__t td:last-child { width: 34%; }
@media (max-width: 899px) {
  .jihi__t, .jihi__t tbody, .jihi__t tr, .jihi__t th, .jihi__t td { display: block; width: auto !important; }
  .jihi__t thead { display: none; }
  .jihi__t { border-top: 0; }
  .jihi__t tr { border: 1px solid var(--mizu-line); border-top: 3px solid var(--mizu); border-radius: var(--r); margin-bottom: 16px; }
  .jihi__t tbody th { background: var(--sora); font-size: 1.05em; padding: 12px 16px; }
  .jihi__t td { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 16px; white-space: normal; }
  .jihi__t td::before { content: attr(data-l); font-family: var(--kaku); font-weight: 700; font-size: .88em; color: var(--mizu-d); }
  .jihi__t td:last-child { border-bottom: 0; }
}
@media (max-width: 479px) { .jihi__t td { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- 院長・スタッフ ---------- */
.dgreet h2, .career h2 { margin-bottom: 26px; }
.letter--lg { padding-left: 28px; font-size: 1.04em; }
.sec.career { background: var(--sora); }
.career__list { position: relative; display: grid; gap: 0; }
.career__list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--mizu-line); }
.career__list li span { color: var(--ki-d); font-weight: 700; }
.career__belong { margin-top: 22px; display: flex; gap: 14px; align-items: center; }
.career__belong span { font-size: .84em; font-weight: 700; color: var(--mizu-d); border: 1px solid var(--mizu); border-radius: var(--r); padding: 0 10px; }
@media (max-width: 479px) { .career__list li { grid-template-columns: 1fr; gap: 0; } }
.staff { padding-top: 0; }
.staff__photo { width: min(1180px, 100% - 48px); margin: 0 auto; }
.staff__photo img { border-radius: var(--r); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 55%; }
.staff__text { display: grid; gap: .8em; margin-top: -60px; position: relative; background: var(--white); padding: 34px 40px 0; border-radius: var(--r) var(--r) 0 0; }
.staff__text h2 { margin-bottom: .3em; }
.staff__text h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
@media (max-width: 699px) { .staff__photo { width: 100%; } .staff__photo img { border-radius: 0; aspect-ratio: 16 / 9; } .staff__text { margin-top: -28px; padding: 24px 18px 0; } }

/* ---------- 院内のご案内 ---------- */
.rooms { display: grid; gap: clamp(36px, 5vw, 72px); padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); }
.room { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(22px, 4vw, 60px); align-items: center; }
.room figure img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room--rev figure { order: 2; }
.room--rev { grid-template-columns: 1fr 1.3fr; }
.room > div { display: grid; gap: .6em; padding: 4px 0 4px 22px; border-left: 3px solid var(--ki); }
.room h2 { font-size: clamp(21px, 1vw + 17px, 27px); }
@media (min-width: 800px) {
  .room:nth-child(odd) > div { margin-top: 60px; }
}
@media (max-width: 799px) { .room, .room--rev { grid-template-columns: 1fr; } .room--rev figure { order: 0; } .room > div { padding-left: 16px; } }
.room__crop { overflow: hidden; border-radius: var(--r); }
.room__crop img { aspect-ratio: 4 / 3; object-position: 62% 78%; transform: scale(1.7); transform-origin: 62% 78%; }

/* D-4 間取り */
.plan-sec { background: var(--sora); }
.plan { background: var(--white); border-radius: var(--r); padding: clamp(18px, 3vw, 40px); border: 1px solid var(--mizu-line); }
.plan__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; grid-template-rows: auto auto auto auto; grid-template-areas:
  "units units units units"
  "counsel steri uke toilet"
  "tatami machi machi machi"; border: 3px solid var(--sumi); }
.plan__room { word-break: auto-phrase; position: relative; display: grid; place-items: center; text-align: center; min-height: 104px; padding: 12px; border: 1px solid var(--mizu-line); font-weight: 700; font-size: .92em; line-height: 1.5; }
.plan__room--units { grid-area: units; background: var(--white); display: grid; gap: 10px; padding: 16px; }
.plan__units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; }
.plan__units span { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-right: 2px solid var(--mizu); background: var(--sora); }
.plan__units span:last-child { border-right: 0; }
.plan__units svg { width: 44px; height: 44px; color: var(--mizu-d); }
.plan__units b { font-size: 15px; }
.plan__room--counsel { grid-area: counsel; }
.plan__room--steri { grid-area: steri; }
.plan__room--uke { grid-area: uke; background: var(--ki-l); }
.plan__room--toilet { grid-area: toilet; }
.plan__room--machi { grid-area: machi; background: #FBF7F2; min-height: 130px; }
.plan__room--machi::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 24px; height: 10px; background: var(--ki); border-radius: 2px; box-shadow: 0 -64px 0 var(--ki); opacity: .55; }
.plan__room--tatami { grid-area: tatami; background:
  repeating-linear-gradient(90deg, transparent 0 49%, rgba(134,96,62,.25) 49% 51%, transparent 51% 100%),
  repeating-linear-gradient(0deg, transparent 0 49%, rgba(134,96,62,.25) 49% 51%, transparent 51% 100%), #EFE9D2; background-size: 50% 50%; }
.plan__room--tatami .plan__label { background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 3px; }
.plan__door { position: relative; display: grid; justify-items: center; margin: 0 0 0 calc(27% + 3px); padding-top: 14px; }
.plan__door::before { content: ""; position: absolute; top: -3px; left: 18%; right: 18%; height: 3px; background: repeating-linear-gradient(90deg, var(--mizu-d) 0 8px, var(--white) 8px 14px); }
.plan__door .plan__label { color: var(--mizu-d); font-weight: 700; font-size: .92em; }
@media (max-width: 699px) {
  .plan__grid { grid-template-columns: 1fr 1fr; grid-template-areas:
    "units units" "counsel steri" "uke toilet" "tatami tatami" "machi machi"; }
  .plan__door { margin-left: 0; }
  .plan__room { min-height: 84px; font-size: .86em; padding: 8px; }
  .plan__units { grid-template-columns: repeat(2, 1fr); }
  .plan__units span:nth-child(2) { border-right: 0; }
  .plan__units span:nth-child(-n+2) { border-bottom: 2px solid var(--mizu); }
}
.js .plan.rv .plan__room { opacity: 0; transition: opacity .7s var(--ease); }
.js .plan.rv.is-in .plan__room { opacity: 1; }
.plan__room:nth-child(2) { transition-delay: .12s; } .plan__room:nth-child(3) { transition-delay: .2s; } .plan__room:nth-child(4) { transition-delay: .28s; }
.plan__room:nth-child(5) { transition-delay: .36s; } .plan__room:nth-child(6) { transition-delay: .44s; } .plan__room:nth-child(7) { transition-delay: .52s; }

/* ---------- ご予約・アクセス ---------- */
.a-hours__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.a-hours h2 { margin-bottom: 24px; }
.a-hours h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
@media (max-width: 899px) { .a-hours__in { grid-template-columns: 1fr; } }

/* D-5 カレンダー */
.cal { border: 1px solid var(--mizu-line); border-radius: var(--r); padding: 18px clamp(12px, 2vw, 24px) 16px; }
.cal__month { font-weight: 700; font-size: 1.1em; margin-bottom: 8px; }
.cal__month .num { font-size: 1.2em; }
.cal table { width: 100%; table-layout: fixed; text-align: center; }
.cal th { font-size: .82em; padding: 6px 0; color: var(--sumi-2); border-bottom: 1px solid var(--mizu-line); }
.cal th.sun { color: #B45A4B; } .cal th.sat { color: var(--mizu-d); }
.cal td { padding: 5px 0; }
.cal td span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 500; font-size: .95em; position: relative; }
.cal td.off span { background: var(--mizu); color: var(--btn-ink); font-weight: 700; }
.cal td.half span { background: linear-gradient(90deg, transparent 50%, var(--mizu) 50%); box-shadow: inset 0 0 0 2px var(--mizu); font-weight: 700; }
.cal figcaption { margin-top: 10px; font-size: .84em; color: var(--sumi-2); text-align: right; }
@media (max-width: 399px) { .cal td span { width: 34px; height: 34px; font-size: .88em; } }
.js .cal.rv td.off span, .js .cal.rv td.half span { opacity: 0; transform: scale(.5); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.js .cal.rv.is-in td.off span, .js .cal.rv.is-in td.half span { opacity: 1; transform: none; }
.cal tr:nth-child(2) span { transition-delay: .15s; } .cal tr:nth-child(3) span { transition-delay: .3s; } .cal tr:nth-child(4) span { transition-delay: .45s; } .cal tr:nth-child(5) span { transition-delay: .6s; }

.reserve { background: var(--sora); }
.reserve__in { display: grid; gap: 18px; justify-items: center; text-align: center; background: var(--white); padding: clamp(30px, 4vw, 56px) clamp(20px, 4vw, 56px); border-radius: var(--r); border-top: 3px solid var(--mizu); }
.reserve h2::before { margin-inline: auto; }
.reserve h2 { font-size: clamp(24px, 1.6vw + 17px, 34px); }
.reserve h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin: 0 auto 14px; border-radius: 2px; }
.line-box { display: grid; gap: 12px; justify-items: center; margin-top: 8px; padding-top: 24px; border-top: 1px dashed var(--mizu-line); width: 100%; }
.line-box__note { font-size: .86em; color: var(--sumi-2); }
.a-map__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.a-map h2 { margin-bottom: 24px; }
.a-map h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ki); margin-bottom: 14px; border-radius: 2px; }
@media (max-width: 899px) { .a-map__in { grid-template-columns: 1fr; } }
.sec.a-map { padding-top: 40px; }

.faq { background: var(--sora); }
.faq h2 { margin-bottom: 26px; }
.faq__list { display: grid; gap: 14px; }
.faq__list > div { background: var(--white); border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--mizu-line); }
.faq__list dt, .faq__list dd { position: relative; padding-left: 2.2em; }
.faq__list dt { font-weight: 700; margin-bottom: 8px; }
.faq__list dt::before, .faq__list dd::before { position: absolute; left: 0; top: 0; font-family: var(--inter); font-weight: 700; font-size: 1.05em; }
.faq__list dt::before { content: "Q."; color: var(--mizu-d); }
.faq__list dd::before { content: "A."; color: var(--ki-d); }
.sec > .wrap > h2.news__h::before { width: 4px; height: 22px; margin: 0; }

/* ---------- フッター ---------- */
.foot { border-top: 3px solid var(--mizu); background: var(--white); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; top: -3px; width: 120px; height: 3px; background: var(--ki); }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 28px 48px; padding: 48px 0 32px; }
.brand--foot .logo { width: 220px; }
.foot__addr { margin-top: 14px; font-size: .92em; }
.foot__addr a { text-decoration: none; font-weight: 700; }
.foot__dl { display: grid; gap: 10px; align-content: start; font-size: .92em; }
.foot__dl dt { font-size: .82em; color: var(--mizu-d); font-weight: 700; }
.foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-content: start; font-size: .9em; }
.foot__nav a { text-decoration: none; display: inline-block; padding: 4px 0; }
.foot__nav a:hover { color: var(--mizu-d); }
.foot__copy { text-align: center; padding: 14px 0 22px; font-size: 12px; color: var(--sumi-2); border-top: 1px solid var(--mizu-l); }
@media (max-width: 899px) { .foot__in { grid-template-columns: 1fr; padding: 40px 0 26px; } }

/* ---------- 動き ---------- */
.js .rv:not(.fuda):not(.flow):not(.steps):not(.cycle):not(.plan):not(.cal):not(.map) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.js .rv.is-in:not(.fuda):not(.flow):not(.steps):not(.cycle):not(.plan):not(.cal):not(.map) { opacity: 1; transform: none; }
/* 最初の画面：読み込みと同時に出す */
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.js .h-in { animation: up .9s var(--ease-out) both; }
.js .h-in:nth-child(2) { animation-delay: .12s; } .js .h-in:nth-child(3) { animation-delay: .24s; }
.js .h-in:nth-child(4) { animation-delay: .36s; } .js .h-in:nth-child(5) { animation-delay: .48s; }
.js .hero__photo img { animation: settle 2.4s var(--ease-out) both; }
.js .hero .h-in .rv { opacity: 1; transform: none; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(3deg); } }
.js .hane svg { animation: drift 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
