/* あさぎ皮フ科（デモ）
   浅葱 #7DBFB8・白・灰緑 #4F6B66。文字は #2E403C。地の薄い色は #EEF6F4。
   書体は IBM Plex Sans JP だけ（見出し 600・本文 400・時刻と料金の数字 500）。本文 16px、表の中は 15px。
   あしらいは、ロゴと同じ「角の丸い四角が2つ重なった印」。写真の角は 24px。表の線は浅葱の 1px。
   ボタンは灰緑の地に白の字。浅葱の地に白の字は使わない（読みにくい）。 */

:root {
  --asagi: #7DBFB8;
  --asagi-m: #BFE0DC;      /* 浅葱の中間（図の薄い塗り） */
  --pale: #EEF6F4;
  --gg: #4F6B66;
  --gg-d: #3E5752;
  --ink: #2E403C;
  --font: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --r: 24px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (min-width: 1100px) { html { scroll-padding-top: 150px; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gg); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.5; letter-spacing: .03em; text-wrap: balance; word-break: auto-phrase; font-feature-settings: "palt"; }
p { text-wrap: pretty; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gg); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.wrap--n { width: min(920px, 100% - 64px); margin-inline: auto; }
@media (max-width: 599px) { .wrap, .wrap--n { width: calc(100% - 36px); } }
.small { font-size: 14px; line-height: 1.75; color: var(--gg); }

/* ---------- 印（ロゴと同じ2つの四角） ---------- */
.mk__a { fill: var(--asagi); }
.mk__b { fill: var(--gg); }
.mk { display: inline-block; width: 22px; height: 22px; flex: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: .55em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .06em; text-decoration: none; line-height: 1.4;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--fill { background: var(--gg); color: #fff; }
.btn--fill:hover { background: var(--gg-d); color: #fff; }
.btn--line { background: #fff; color: var(--gg); box-shadow: inset 0 0 0 1.5px var(--gg); }
.btn--line:hover { background: var(--pale); color: var(--ink); }
.btn--lg { min-height: 56px; padding-inline: 1.7em; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.arw { width: 16px; height: 10px; position: relative; flex: none; }
.arw::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arw::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .arw { transform: translateX(3px); transition: transform .25s var(--ease); }
.ic-tel { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--asagi-m); }
.hd__in { display: flex; align-items: center; gap: 10px; min-height: 72px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo { display: block; height: 44px; width: auto; }
.logo__name { font-family: var(--font); font-weight: 600; font-size: 23px; fill: var(--ink); }
.logo__sub { font-family: var(--font); font-weight: 400; font-size: 11px; fill: var(--gg); }
.demo { align-self: center; font-size: 10px; letter-spacing: .14em; color: var(--gg); border: 1px solid var(--asagi); border-radius: 4px; padding: 0 .4em; line-height: 1.7; }
.hd__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hd__tel { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; font-size: 19px; letter-spacing: .04em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.hd__tel .ic-tel { color: var(--gg); width: 18px; height: 18px; }
.hd__btn { min-height: 44px; padding-inline: 1.5em; }
.menu { display: none; }
.gn ul { display: flex; gap: 0; }
.gn a { display: block; position: relative; padding: 12px 22px 14px; font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; letter-spacing: .05em; }
.gn li:first-child a { padding-left: 0; }
.gn a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--asagi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gn li:first-child a::after { left: 0; }
.gn a:hover::after, .gn a[aria-current="page"]::after { transform: scaleX(1); }
.gn a[aria-current="page"] { color: var(--gg-d); }
@media (min-width: 1100px) {
  .gn { border-top: 1px solid var(--pale); }
}
@media (max-width: 1099px) {
  .hd__in { min-height: 64px; }
  .logo { height: 40px; }
  .hd__tel { display: none; }
  .hd__btn { display: none; }
  .menu {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    width: 56px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; color: var(--ink);
  }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--gg); position: relative; transition: transform .3s var(--ease), opacity .2s; }
  .menu__bars { margin-top: 8px; margin-bottom: 9px; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }
  .menu__label { font-size: 10px; letter-spacing: .14em; font-weight: 500; }
  .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); }
  .gn { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--asagi-m); box-shadow: 0 18px 30px -20px rgba(46,64,60,.35); }
  .is-menu .gn { display: block; }
  .gn ul { flex-direction: column; padding-block: 8px 18px; }
  .gn a, .gn li:first-child a { padding: 14px 4px; border-bottom: 1px solid var(--pale); font-size: 16px; }
  .gn a::after, .gn li:first-child a::after { left: 0; right: auto; width: 4px; top: 14px; bottom: 14px; height: auto; transform: scaleY(0); }
  .gn a[aria-current="page"] { padding-left: 16px; }
  .gn a[aria-current="page"]::after { transform: scaleY(1); }
}

/* ---------- 区画 ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec--w { background: #fff; }
.sec--p { background: var(--pale); }
.sec--rule { border-top: 1px solid var(--asagi-m); }
.sh { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.sh h2 { font-size: clamp(22px, 2.5vw, 29px); }
.sh .mk { width: 24px; height: 24px; }
.more { margin-top: 18px; font-size: 15px; text-align: right; }
.more a { font-weight: 500; }
.more--btn { text-align: center; margin-top: 44px; }

/* ---------- 最初の画面 ---------- */
.hero { background: var(--pale); padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__place { font-size: 14px; font-weight: 500; color: var(--gg); letter-spacing: .08em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__place::before { content: ""; width: 26px; height: 1.5px; background: var(--asagi); }
.hero__title { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.55; letter-spacing: .04em; }
.hero__title > span { display: block; }
.hero__lead { margin-top: 22px; font-size: 16px; line-height: 1.95; max-width: 34em; }
.hero__walkin { margin-top: 18px; display: inline-flex; align-items: center; gap: .6em; font-weight: 500; font-size: 15px; background: #fff; border-radius: 999px; padding: .35em 1.1em .35em .8em; box-shadow: inset 0 0 0 1px var(--asagi); }
.hero__walkin::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--asagi); box-shadow: 4px 4px 0 var(--gg); margin-right: 4px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__photos { position: relative; aspect-ratio: 1 / .9; }
.hero__back { position: absolute; right: 0; top: 0; width: 88%; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.3; }
.hero__back img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__front { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 896 / 1024; border-radius: calc(var(--r) + 6px); overflow: hidden; border: 6px solid #fff; background: #fff; box-shadow: 0 24px 40px -28px rgba(46,64,60,.45); }
.hero__front img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.hero__sq { position: absolute; border: 1.5px solid var(--asagi); border-radius: 36px; pointer-events: none; }
.hero__sq--a { width: 38%; aspect-ratio: 1; right: -6%; bottom: -8%; }
.hero__sq--b { width: 30%; aspect-ratio: 1; right: 14%; bottom: -16%; border-color: var(--asagi-m); }

@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__photos { width: min(560px, 100%); margin-inline: auto; }
}
@media (max-width: 599px) {
  .hero { padding-top: 32px; }
  .hero__title { font-size: 26px; }
  .hero__lead { font-size: 15.5px; }
  .btns .btn { flex: 1 1 100%; }
}

/* ---------- 診療時間の表 ---------- */
.jikan__in { display: grid; grid-template-columns: 6fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hours__t { width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; border: 1px solid var(--asagi); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.hours__t th, .hours__t td { text-align: center; padding: 14px 6px; border-bottom: 1px solid var(--asagi); }
.hours__t thead th { background: var(--asagi); color: var(--ink); font-weight: 600; padding-block: 10px; }
.hours__t tbody th { font-weight: 500; text-align: left; padding-left: 18px; white-space: nowrap; }
.hours__t tbody tr:last-child th, .hours__t tbody tr:last-child td { border-bottom: 0; }
.hours__t td { font-weight: 500; font-size: 18px; color: var(--gg); }
.hours__t td.x { color: #8FA5A1; }
.hours__t td + td, .hours__t th + td, .hours__t thead th + th { border-left: 1px solid var(--asagi-m); }
.hours__note { margin-top: 14px; font-size: 14.5px; line-height: 1.8; }
@media (max-width: 599px) {
  .hours__t th, .hours__t td { padding: 12px 2px; }
  .hours__t tbody th { padding-left: 8px; font-size: 13px; }
  .hours__t thead th { font-size: 13px; }
  .hours__t td { font-size: 16px; }
}

.news { border-left: 1px solid var(--asagi-m); padding-left: clamp(24px, 3vw, 40px); }
.news__title { font-size: 18px; margin-bottom: 10px; }
.news__list li { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--asagi-m); font-size: 15px; }
.news__list time { font-weight: 500; color: var(--gg); font-variant-numeric: tabular-nums; }
.news--page { border-left: 0; padding-left: 0; }
@media (max-width: 899px) {
  .jikan__in { grid-template-columns: 1fr; }
  .news { border-left: 0; padding-left: 0; border-top: 1px solid var(--asagi-m); padding-top: 26px; }
}
@media (max-width: 479px) { .news__list li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- HF-2 混みやすい時間帯 ---------- */
.konzatsu__in { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.konzatsu__text p { margin-bottom: 26px; }
.konzatsu__fig .small { margin-top: 12px; }
.hf2 { position: relative; background: #fff; border-radius: var(--r); padding: 26px clamp(16px, 3vw, 32px) 22px; }
.hf2__tag { position: absolute; right: 22px; top: 16px; font-size: 12.5px; font-weight: 500; color: var(--gg); }
.hf2__t { width: 100%; font-size: 15px; }
.hf2__t th, .hf2__t td { text-align: center; padding: 10px 6px; border-bottom: 1px solid var(--asagi-m); }
.hf2__t thead th { font-weight: 600; font-size: 14px; color: var(--ink); padding-top: 22px; border-bottom: 1px solid var(--asagi); }
.hf2__t tbody th { font-weight: 600; width: 3em; }
.hf2__t tbody tr:last-child th, .hf2__t tbody tr:last-child td { border-bottom: 0; }
.cz { position: relative; }
.cz__d { display: inline-flex; gap: 4px; vertical-align: middle; }
.cz__d i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--asagi); box-shadow: inset 0 0 0 1px #5FA39C; }
.cz--3 .cz__d i { background: var(--gg); box-shadow: none; }
.cz__x { color: #8FA5A1; font-weight: 500; }
.cz__note { display: block; font-size: 12px; color: var(--gg); line-height: 1.4; margin-top: 2px; white-space: nowrap; }
.hf2__foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; justify-content: space-between; }
.lg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.lg li { display: inline-flex; align-items: center; gap: 8px; }
.lg .cz__d i { width: 10px; height: 10px; }
.hf2__sun { font-size: 13.5px; color: var(--gg); }
.hf2--big .hf2__t thead th { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hf2--big .cz__d i { width: 14px; height: 14px; }
.hf2__scroll { overflow-x: auto; }
@media (max-width: 899px) { .konzatsu__in { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .hf2--big { padding-inline: 10px; }
  .hf2--big .hf2__t thead th { font-size: 12px; white-space: normal; padding-inline: 1px; line-height: 1.35; }
  .hf2--big .hf2__t thead th span { display: block; }
  .hf2--big .hf2__t th, .hf2--big .hf2__t td { padding-inline: 1px; }
  .hf2--big .hf2__t tbody th { width: 2em; }
  .hf2--big .cz__d { gap: 2px; }
  .hf2--big .cz__d i { width: 9px; height: 9px; }
  .hf2--big .cz__note { font-size: 10px; white-space: normal; }
}

.konzatsu__body { margin-top: 26px; margin-bottom: 8px; }

/* ---------- 診ている皮膚の病気 ---------- */
.dz__head { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: end; margin-bottom: 36px; }
.dz__head .sh { margin-bottom: 0; }
.dz__head p { padding-bottom: 4px; }
.dz__cols { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 4vw, 56px); }
.dz__ch { font-size: 14px; font-weight: 600; color: var(--gg); letter-spacing: .12em; padding-bottom: 10px; border-bottom: 2px solid var(--asagi); }
.dz__col--adult .dz__list { columns: 2; column-gap: clamp(24px, 4vw, 56px); }
.dz__list li { break-inside: avoid; border-bottom: 1px solid var(--asagi-m); }
.dz__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 4px; color: var(--ink); text-decoration: none; font-weight: 500; transition: color .2s, transform .25s var(--ease); }
.dz__list a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--asagi); border-right: 1.5px solid var(--asagi); transform: rotate(45deg); flex: none; transition: transform .25s var(--ease), border-color .2s; }
.dz__list a:hover { color: var(--gg); }
.dz__list a:hover::after { border-color: var(--gg); transform: translateX(3px) rotate(45deg); }
@media (max-width: 899px) {
  .dz__head { grid-template-columns: 1fr; }
  .dz__cols { grid-template-columns: 1fr; }
}
@media (max-width: 479px) { .dz__col--adult .dz__list { columns: 1; } }

/* ---------- HF-1 保険と自費 ---------- */
.hoken__in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hoken__text p + p { margin-top: 14px; }
.hoken__text .btn { margin-top: 26px; }
.hf1__t { width: 100%; font-size: 15px; line-height: 1.75; border-collapse: separate; border-spacing: 8px 0; margin-inline: -8px; width: calc(100% + 16px); }
.hf1__t thead th { padding: 14px 16px; font-size: 16px; font-weight: 600; text-align: left; border-radius: 16px 16px 0 0; }
.hf1__ins { background: var(--asagi); color: var(--ink); }
.hf1__self { background: #fff; color: var(--gg); box-shadow: inset 0 0 0 1.5px var(--gg); }
.hf1__t thead th span { display: inline-flex; align-items: center; gap: 8px; }
.hf1__t thead th span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.hf1__ins span::before { background: #fff; }
.hf1__self span::before { background: var(--gg); }
.hf1__blank { width: 9.5em; }
.hf1__t tbody th { text-align: left; font-weight: 600; font-size: 14px; color: var(--gg); padding: 16px 4px; vertical-align: top; border-bottom: 1px solid var(--asagi-m); }
.hf1__t tbody td { padding: 16px 16px; vertical-align: top; border-bottom: 1px solid var(--asagi-m); }
.hf1__t tbody td:nth-child(2) { background: color-mix(in srgb, var(--pale) 70%, #fff); }
.hf1__t tbody td:nth-child(3) { box-shadow: inset 1.5px 0 0 var(--gg), inset -1.5px 0 0 var(--gg); }
.hf1__t tbody tr:last-child td:nth-child(2) { border-radius: 0 0 16px 16px; }
.hf1__t tbody tr:last-child td:nth-child(3) { border-radius: 0 0 16px 16px; box-shadow: inset 1.5px 0 0 var(--gg), inset -1.5px 0 0 var(--gg), inset 0 -1.5px 0 var(--gg); }
.hf1__t tbody tr:last-child th, .hf1__t tbody tr:last-child td { border-bottom: 0; }
.hf1__join td { background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--asagi) !important; border-radius: 16px !important; text-align: center; font-weight: 500; }
.hf1__join th, .hf1__join td { padding-top: 18px; }
.hf1--full .hf1__t tbody tr:nth-last-child(2) td:nth-child(2) { border-radius: 0 0 16px 16px; border-bottom: 0; }
.hf1--full .hf1__t tbody tr:nth-last-child(2) td:nth-child(3) { border-radius: 0 0 16px 16px; border-bottom: 0; box-shadow: inset 1.5px 0 0 var(--gg), inset -1.5px 0 0 var(--gg), inset 0 -1.5px 0 var(--gg); }
.hf1--full .hf1__t tbody tr:nth-last-child(2) th { border-bottom: 0; }
.hf1--full .hf1__t tbody tr.hf1__join th, .hf1--full .hf1__t tbody tr.hf1__join td { padding-top: 16px; }
.hf1--full .hf1__t { border-spacing: 8px 0; }
.hf1--full .hf1__join td { display: table-cell; }
.hf1__cap { margin-top: 14px; text-align: right; font-size: 13.5px; color: var(--gg); }
.hf1--full .hf1__join > * { border-top: 12px solid transparent; background-clip: padding-box; }
.diff__note { margin-top: 18px; }
@media (max-width: 899px) { .hoken__in { grid-template-columns: 1fr; } .hoken__fig { order: 2; } }
@media (max-width: 599px) {
  .hf1__t, .hf1__t thead, .hf1__t tbody, .hf1__t tr, .hf1__t th, .hf1__t td { display: block; width: auto; }
  .hf1__t { margin-inline: 0; width: 100%; }
  .hf1__t thead { display: none; }
  .hf1__t tbody tr { border-bottom: 1px solid var(--asagi-m); padding-block: 6px 14px; }
  .hf1__t tbody th { padding: 14px 0 8px; border: 0; }
  .hf1__t tbody td { border: 0; border-radius: 12px !important; padding: 12px 14px; margin-top: 8px; box-shadow: none; }
  .hf1__t tbody td:nth-child(2)::before, .hf1__t tbody td:nth-child(3)::before { display: block; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
  .hf1__t tbody td:nth-child(2) { background: var(--pale); }
  .hf1__t tbody td:nth-child(2)::before { content: "保険の診療"; color: var(--ink); }
  .hf1__t tbody td:nth-child(3) { box-shadow: inset 0 0 0 1.5px var(--gg) !important; }
  .hf1__t tbody td:nth-child(3)::before { content: "自費の診療"; color: var(--gg); }
  .hf1__t tbody tr:last-child td:nth-child(3) { box-shadow: inset 0 0 0 1.5px var(--gg) !important; }
  .hf1--full .hf1__join > * { border-top: 0; }
  .hf1__t tbody .hf1__join td::before { content: none; }
  .hf1__join td { text-align: left; }
  .hf1__t tbody tr:last-child { border-bottom: 0; }
}

/* ---------- はじめて（トップ） ---------- */
.first__in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.first__card, .bring__card { background: #fff; border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); position: relative; }
.first__card .btn { margin-top: 24px; }
.mlist li { position: relative; padding: 12px 0 12px 36px; font-weight: 500; border-bottom: 1px dashed var(--asagi-m); }
.mlist li:last-child { border-bottom: 0; }
.mlist li::before, .mlist li::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 4px; }
.mlist li::before { left: 2px; top: calc(12px + .5em); background: var(--asagi); }
.mlist li::after { left: 8px; top: calc(18px + .5em); background: var(--gg); opacity: .9; mix-blend-mode: multiply; }
.mlist--line li { font-weight: 400; }
@media (max-width: 899px) { .first__in { grid-template-columns: 1fr; } }

/* ---------- 院長から ---------- */
.dr__in, .greet__in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.dr__words { border-left: 2px solid var(--asagi); padding-left: clamp(18px, 2.4vw, 28px); }
.dr__words p + p { margin-top: 1em; }
.dr__name { margin-top: 22px; font-weight: 500; letter-spacing: .1em; }
.dr__text .btn { margin-top: 26px; }
.dr__photo, .greet__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; position: relative; }
.dr__photo img, .greet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.dr__photo::after, .greet__photo::after { content: ""; position: absolute; inset: 10px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.75); pointer-events: none; }
@media (max-width: 899px) { .dr__in, .greet__in { grid-template-columns: 1fr; } .dr__photo, .greet__photo { order: -1; } }

/* ---------- アクセス ---------- */
.access__in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.access__list li { padding: 12px 0; border-bottom: 1px solid var(--asagi-m); }
.access__text .btn { margin-top: 26px; }
@media (max-width: 899px) { .access__in { grid-template-columns: 1fr; } .access__fig { order: 2; } }

/* ---------- HF-4 地図 ---------- */
.map { display: block; width: 100%; height: auto; font-family: var(--font); }
.map__bg { fill: #F6FAF9; stroke: var(--asagi-m); }
.map__rail rect { fill: var(--gg); }
.map__rail path { stroke: #fff; stroke-width: 2; stroke-dasharray: 14 10; }
.map__road { fill: #fff; stroke: var(--asagi-m); }
.map__st { fill: #fff; stroke: var(--gg); stroke-width: 1.5; }
.map__park rect { fill: #DDEFEC; }
.map__park circle { fill: var(--asagi-m); }
.map__p { fill: #fff; stroke: var(--gg); stroke-width: 1.2; stroke-dasharray: 5 4; }
.map__pi { fill: var(--gg); }
.map__pt { fill: #fff; font-weight: 600; font-size: 19px; }
.map__cl { fill: #fff; stroke: var(--asagi); stroke-width: 2.5; }
.map__ph { fill: #fff; stroke: var(--asagi-m); stroke-width: 1.2; }
.map__lb { fill: var(--ink); font-size: 17px; font-weight: 500; }
.map__lb--s { font-size: 15px; }
.map__lb--cl { font-weight: 600; font-size: 16px; }
.map__route circle { fill: var(--gg); }
.map__walk rect { fill: var(--ink); }
.map__walk text { fill: #fff; font-size: 15px; font-weight: 600; }
.hf4 { border-radius: var(--r); }

/* ---------- 共通の帯 ---------- */
.band { background: var(--pale); padding-block: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; border-radius: 40px; border: 1.5px solid var(--asagi-m); width: 220px; aspect-ratio: 1; pointer-events: none; }
.band::before { right: -60px; top: -90px; }
.band::after { right: 70px; top: -40px; border-color: var(--asagi); width: 140px; }
.band__in { display: grid; grid-template-columns: 1fr auto; gap: 28px 56px; align-items: center; position: relative; }
.band__title { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 12px; }
.band__act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.band__tel { display: inline-flex; align-items: center; gap: .5em; color: var(--ink); text-decoration: none; }
.band__tel .ic-tel { width: 22px; height: 22px; color: var(--gg); }
.band__num { font-weight: 500; font-size: 24px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.band__tel small { font-size: 13px; color: var(--gg); margin-left: .3em; }
@media (max-width: 899px) { .band__in { grid-template-columns: 1fr; } }

/* ---------- フッター ---------- */
.ft { background: #fff; border-top: 1px solid var(--asagi-m); padding-block: 48px 36px; }
.ft__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; }
.ft__brand .logo { height: 48px; }
.ft__info { font-size: 14px; line-height: 1.9; }
.ft__ask { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--asagi-m); }
.ft__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--pale); }
.ft__nav a { color: var(--ink); text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; color: var(--gg); }
.ft__copy { grid-column: 1 / -1; color: var(--gg); }
@media (max-width: 767px) { .ft__in { grid-template-columns: 1fr; } }

/* スマートフォンの下の2つのボタン */
.fixbar { display: none; }
@media (max-width: 767px) {
  .fixbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--asagi-m); }
  .fixbar a { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; letter-spacing: .06em; }
  .fixbar__web { background: var(--gg); color: #fff; }
  .fixbar__tel { background: #fff; color: var(--gg); box-shadow: inset 0 0 0 1.5px var(--gg); }
  body { padding-bottom: 70px; }
}

/* ---------- 下層のページの頭 ---------- */
.ph { position: relative; }
.ph__band { background: var(--pale); padding-block: clamp(40px, 6vw, 72px) clamp(120px, 16vw, 210px); }
.ph__title { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: .05em; }
.ph__lead { margin-top: 14px; max-width: 46em; }
.ph__photo { margin-top: calc(-1 * clamp(96px, 13vw, 180px)); border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 6; position: relative; }
.ph__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .ph__photo { aspect-ratio: 4 / 2.6; } }


/* ---------- 皮膚の病気 ---------- */
.pick__list { display: flex; flex-wrap: wrap; gap: 10px; }
.pick__list a { display: inline-flex; align-items: center; min-height: 46px; padding: .4em 1.3em; border-radius: 14px; background: var(--pale); color: var(--ink); text-decoration: none; font-weight: 500; box-shadow: inset 0 0 0 1px var(--asagi-m); transition: background-color .2s, box-shadow .2s; }
.pick__list a:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--asagi); }
.pick .sh { margin-bottom: 20px; }
.pick { padding-bottom: clamp(40px, 5vw, 64px); }
.dzg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.dzi { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--asagi-m); align-content: start; }
.dzi .mk { width: 18px; height: 18px; margin-top: .3em; }
.dzi__name { font-size: 18px; margin-bottom: 6px; }
.dzi > p { grid-column: 2; }
.dzi__link { margin-top: 10px; font-weight: 500; font-size: 15px; }
@media (max-width: 767px) { .dzg { grid-template-columns: 1fr; } }
.kodomo__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kodomo__list { background: #fff; border-radius: var(--r); padding: 6px clamp(20px, 3vw, 36px); }
.kodomo__list .dzi:last-child { border-bottom: 0; }
@media (max-width: 899px) { .kodomo__in { grid-template-columns: 1fr; } }
.notdo__in, .nolist__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.notdo__box, .nolist__box { border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); box-shadow: inset 0 0 0 1.5px var(--asagi); }
.notdo__box p + p { margin-top: .8em; }
.refer__title, .change__title { font-size: 18px; margin-bottom: 12px; padding-top: 4px; }
.refer__list li { padding: 10px 0; border-bottom: 1px dashed var(--asagi-m); font-weight: 500; }
.refer .small { margin-top: 12px; }
@media (max-width: 899px) { .notdo__in, .nolist__in { grid-template-columns: 1fr; } }

/* ---------- 自費の料金の表（リスクの行も同じ字の大きさ。たたまない） ---------- */
.price__lead { margin-bottom: 36px; }
.price .sh h2 { font-size: clamp(20px, 2.2vw, 26px); }
.jt { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 36px); scroll-margin-top: 110px; }
.jt + .jt { margin-top: 28px; }
.jt__title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.jt__title .mk { width: 20px; height: 20px; }
.jt__t { width: 100%; font-size: 15px; line-height: 1.85; }
.jt__t th, .jt__t td { font-size: 15px; vertical-align: top; padding: 16px 14px; border-top: 1px solid var(--asagi); text-align: left; }
.jt__t tr:last-child th, .jt__t tr:last-child td { border-bottom: 1px solid var(--asagi); }
.jt__t th { width: 12.5em; font-weight: 600; background: color-mix(in srgb, var(--asagi) 30%, #fff); color: var(--ink); }
.jt__t td { font-weight: 400; color: var(--ink); }
@media (max-width: 599px) {
  .jt__t, .jt__t tbody, .jt__t tr, .jt__t th, .jt__t td { display: block; width: auto; }
  .jt__t th { padding: 10px 12px; border-radius: 8px 8px 0 0; }
  .jt__t td { border-top: 0; padding: 10px 12px 18px; }
  .jt__t tr:last-child th { border-bottom: 0; }
}
.change p { margin-top: 0; }

/* ---------- はじめての方へ ---------- */
.bring__in { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.bring__card { box-shadow: inset 0 0 0 1.5px var(--asagi); }
.bring__card .small { margin-top: 12px; }
@media (max-width: 899px) { .bring__in { grid-template-columns: 1fr; } }
.hf3__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.hf3__st { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 10px; }
.hf3__st:not(:last-child)::after { content: ""; position: absolute; top: 62px; left: calc(50% + 68px); right: calc(-50% + 68px); height: 1.5px; background: var(--asagi); transform-origin: left; }
.hf3__box { width: 136px; height: 124px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--asagi); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; }
.hf3__ic { width: 46px; height: 46px; fill: none; stroke: var(--gg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hf3__no { position: absolute; left: -6px; top: -6px; width: 28px; height: 28px; border-radius: 9px; background: var(--gg); color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.hf3__name { font-weight: 600; font-size: 14px; line-height: 1.35; padding-inline: 4px; white-space: nowrap; }
.hf3__note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--gg); }
@media (max-width: 899px) {
  .hf3__list { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .hf3__st { flex-direction: row; text-align: left; gap: 18px; padding: 0; }
  .hf3__box { width: 128px; height: 88px; border-radius: 22px; flex: none; }
  .hf3__ic { width: 36px; height: 36px; }
  .hf3__name { font-size: 12.5px; }
  .hf3__st:not(:last-child)::after { display: none; }
  .hf3__note { margin-top: 0; }
}
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 10px; background: #fff; border-radius: 18px; padding: 20px 18px; align-content: start; }
.steps__no { width: 26px; height: 26px; border-radius: 8px; background: var(--asagi); color: var(--ink); font-weight: 600; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }
.steps h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.5; }
.steps p { font-size: 14.5px; line-height: 1.8; }
@media (max-width: 1099px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }
.ask__in { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 899px) { .ask__in { grid-template-columns: 1fr; } }
.kids__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kids__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.kids__photo img { width: 100%; height: 100%; object-fit: cover; }
.kids__text p + p { margin-top: 1em; }
@media (max-width: 899px) { .kids__in { grid-template-columns: 1fr; } }
.letter { padding-bottom: clamp(48px, 6vw, 72px); }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--asagi-m); }
.faq__item dt { font-weight: 600; display: flex; gap: 12px; }
.faq__item dd { margin-top: 8px; display: flex; gap: 12px; }
.faq__q, .faq__a { flex: none; width: 1.6em; font-weight: 600; }
.faq__q { color: var(--gg); }
.faq__a { color: #5FA39C; }

/* ---------- 医師と院内 ---------- */
.career__list li { display: grid; grid-template-columns: 7em 1fr; gap: 18px; padding: 14px 0 14px 22px; border-left: 2px solid var(--asagi); position: relative; }
.career__list li::before { content: ""; position: absolute; left: -7px; top: 23px; width: 12px; height: 12px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 2px var(--gg); }
.career__list li:last-child::before { background: var(--gg); }
.career__y { font-weight: 500; color: var(--gg); font-variant-numeric: tabular-nums; }
.rooms__list { display: grid; gap: clamp(28px, 4vw, 48px); }
.room { display: grid; grid-template-columns: 4fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.room:nth-child(even) { grid-template-columns: 5fr 4fr; }
.room:nth-child(even) .room__photo { order: 2; }
.room__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.room__text p { font-size: 16px; }
.room__text { max-width: 26em; }
.room:nth-child(even) .room__text { justify-self: end; }
.room__photo img { width: 100%; height: 100%; object-fit: cover; }
.room__text h3 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.room__text h3::before { content: ""; width: 26px; height: 1.5px; background: var(--asagi); }
@media (max-width: 767px) {
  .room, .room:nth-child(even) { grid-template-columns: 1fr; gap: 14px; }
  .room:nth-child(even) .room__photo { order: 0; }
}
.tools__t, .info__t { width: 100%; font-size: 15px; }
.tools__t th, .tools__t td, .info__t th, .info__t td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--asagi); vertical-align: top; }
.tools__t thead th { background: var(--asagi); color: var(--ink); font-weight: 600; }
.tools__t thead th:first-child { border-radius: 12px 0 0 0; } .tools__t thead th:last-child { border-radius: 0 12px 0 0; }
.tools__t tbody th, .info__t th { font-weight: 600; width: 13em; }
.info__t th { width: 6em; padding-left: 0; color: var(--gg); }
.tools .small { margin-top: 14px; }

/* ---------- 予約・アクセス ---------- */
.web__in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.web__text p + p { margin-top: 1em; }
@media (max-width: 899px) { .web__in { grid-template-columns: 1fr; } }
.mock { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--asagi), 0 20px 40px -30px rgba(46,64,60,.5); padding: clamp(20px, 3vw, 30px); font-size: 14.5px; }
.mock__steps { display: grid; gap: 14px; }
.mock__steps > li { display: grid; gap: 6px; }
.mock__lb { font-weight: 600; font-size: 13.5px; color: var(--gg); }
.mock__field { display: block; min-height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--asagi); padding: 8px 12px; color: var(--ink); background: #fff; }
.mock__slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mock__slot { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--asagi); font-weight: 500; font-variant-numeric: tabular-nums; }
.mock__slot.is-on { background: var(--gg); color: #fff; box-shadow: none; }
.mock__slot.is-full { background: #E5E9E8; color: #6B7A77; box-shadow: none; text-decoration: line-through; }
.mock__slot.is-full small { text-decoration: none; font-size: 11.5px; display: inline-block; }
.mock__seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--asagi); overflow: hidden; }
.mock__seg span { text-align: center; padding: 9px; font-weight: 500; }
.mock__seg .is-on { background: var(--pale); box-shadow: inset 0 0 0 1.5px var(--gg); border-radius: 10px; }
.mock__agree { grid-template-columns: auto 1fr !important; align-items: center; gap: 10px !important; }
.mock__check { width: 20px; height: 20px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--gg); position: relative; }
.mock__check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid var(--gg); border-bottom: 2px solid var(--gg); transform: rotate(45deg); }
.mock__btn { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; background: var(--gg); color: #fff; font-weight: 600; letter-spacing: .06em; }
.mock__under { margin-top: 12px; }
.line { margin-top: 28px; padding: 24px clamp(20px, 3vw, 28px); border-radius: 18px; background: var(--pale); }
.line .btn { margin-top: 14px; }
.line__note { margin-top: 14px; color: var(--ink); }
.map-sec__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 899px) { .map-sec__in { grid-template-columns: 1fr; } .map-sec__text { order: -1; } }
.call { margin-top: 28px; }
.call__title { font-size: 17px; margin-bottom: 6px; }
.call__tel { display: inline-flex; flex-wrap: wrap; align-items: center; white-space: nowrap; gap: .45em; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 26px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.call__tel .ic-tel { color: var(--gg); width: 22px; height: 22px; }
.call__tel small { font-size: 13px; color: var(--gg); font-weight: 400; }

/* ---------- 動き（transform と opacity だけ。html.js のときだけ隠す） ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero__back { animation: rise .65s var(--ease) .05s both; }
.js .hero__front { animation: rise .65s var(--ease) .35s both; }
.js .hero__sq { animation: fadein 1s var(--ease) .7s both; }
.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .fade.is-in { opacity: 1; transform: none; }
.js .dg .cz__d i, .js .dg .map__route circle { opacity: 0; }
.js .is-in .cz__d i, .js .dg.is-in .cz__d i { animation: pop .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms + .2s); }
.js .is-in .map__route circle, .js .dg.is-in .map__route circle { animation: fadein .3s linear both; animation-delay: calc(var(--i, 0) * 45ms + .3s); }
.js .is-in .map__walk, .js .dg.is-in .map__walk { animation: fadein .5s var(--ease) 1.6s both; }
.js .dg .map__walk { opacity: 0; }
.js .hf3 .hf3__st { opacity: 0; transform: translateY(14px); }
.js .hf3.is-in .hf3__st { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i) * 140ms); }
.js .hf3 .hf3__st::after { transform: scaleX(0); }
.js .hf3.is-in .hf3__st::after { animation: grow .5s var(--ease) both; animation-delay: calc(var(--i) * 140ms + .3s); }
.js .lg .cz__d i { opacity: 1 !important; animation: none !important; }
@media (max-width: 899px) { .js .hf3.is-in .hf3__st::after { animation: fadein .4s both; animation-delay: calc(var(--i) * 140ms + .3s); transform: none; } .js .hf3 .hf3__st::after { transform: none; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.nw { white-space: nowrap; }
@media (max-width: 767px) { .band::before, .band::after { display: none; } }
@media (max-width: 599px) { .hf3__list { grid-template-columns: 1fr; } }
/* スマートフォンでは地図の字を大きく（上の地図の決まりより後に置く） */
@media (max-width: 599px) {
  .map .map__lb { font-size: 19px; }
  .map .map__lb--s { font-size: 17px; }
  .map .map__walk text { font-size: 17px; }
}
.news--page, .news.news--page { border-top: 0; padding-top: 0; }
