/* はなてん おとな・こども歯科 松井デンタルクリニック ｜ インプラントLP */

:root {
  --deep: #1C4274;
  --text: #2A5C99;
  --tint: #EAF1F8;
  --line: #C8D6E6;
  --ink: #34383F;
  --sub: #575D66;
  --ivory: #F6F2EA;
  --border: #E0DAD0;
  --rule: #DDE2E8;
  --min: 'Zen Old Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', sans-serif;
  --jost: 'Jost', 'Century Gothic', sans-serif;
  --pad: clamp(20px, 4.2vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #FFFFFF;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  overflow-x: clip;
}

p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: var(--sub); }
a:hover { color: #1F2329; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.ib { display: inline-block; }
.sp-only { display: none; }

/* ---------- ヘッダー ---------- */
.logo { display: block; line-height: 0; }
.logo img { display: block; height: clamp(40px, 3.4vw, 50px); width: auto; }

.gnav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 13.5px; letter-spacing: 0.1em; }
.gnav a { color: var(--ink); text-decoration: none; transition: opacity 0.2s; }
.gnav a:hover { opacity: 0.7; }
.gnav__tel { font-family: var(--jost); font-size: 22px; letter-spacing: 0.06em; line-height: 1; }
.gnav .gnav__btn {
  display: flex; align-items: center; min-height: 44px; padding: 0 26px 1px; border-radius: 22px;
  background: var(--deep); color: #FFFFFF;
  font-family: var(--min); font-weight: 600; font-size: 14px; letter-spacing: 0.18em;
}

/* スクロール後に上から出てくる白いヘッダー */
.fixed-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px clamp(16px, 3.4vw, 48px);
  background: #FFFFFF; box-shadow: 0 2px 14px rgba(20, 36, 60, 0.1);
  transform: translateY(-110%); visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.fixed-header.is-shown { transform: none; visibility: visible; transition: transform 0.35s ease, visibility 0s; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 66px; padding: 0 12px 0 34px; border-radius: 33px;
  background: var(--deep); color: #FFFFFF; text-decoration: none;
  font-family: var(--min); font-weight: 600; font-size: 17px; letter-spacing: 0.14em;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.86; color: #FFFFFF; }
.btn__arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: #FFFFFF; color: var(--deep);
  display: flex; align-items: center; justify-content: center;
}
.btn--white { background: #FFFFFF; color: var(--deep); }
.btn--white:hover { color: var(--deep); }
.btn--white .btn__arrow { background: var(--deep); color: #FFFFFF; }
.btn--sm { min-width: min(300px, 100%); min-height: 62px; padding: 0 10px 0 32px; border-radius: 31px; font-size: 16.5px; }

.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 22px 1px; border-radius: 22px;
  border: 1px solid var(--deep); color: var(--deep); text-decoration: none;
  font-family: var(--min); font-weight: 600; font-size: 14px; letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}
.btn-line:hover { background: var(--deep); color: #FFFFFF; }

.tel { display: flex; flex-direction: column; color: inherit; text-decoration: none; line-height: 1.4; }
.tel:hover { color: inherit; opacity: 0.8; }
.tel__label { font-size: 12px; letter-spacing: 0.14em; }
.tel__num { font-family: var(--jost); font-size: 30px; letter-spacing: 0.06em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; }

/* ---------- セクション見出し ---------- */
.sec-title { text-align: center; }
.feature > .sec-title, .doctor > .sec-title { padding: 0 20px; }
.sec-title__en {
  font-family: var(--jost); font-weight: 300; font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: 0.14em; line-height: 1; color: #DFE5EC;
}
.sec-title__ja {
  margin-top: 12px;
  font-family: var(--min); font-weight: 600; font-size: clamp(20px, 2.4vw, 33px);
  line-height: 1.8; letter-spacing: 0.1em;
}
.sec-title::after { content: ""; display: block; width: 44px; height: 2px; margin: 20px auto 0; background: var(--text); }
.sec-title--tint .sec-title__en { color: var(--line); }
.sec-title--ivory .sec-title__en { color: #E3D9C8; }
.sec-title--dark .sec-title__en { color: rgba(255, 255, 255, 0.2); font-size: clamp(34px, 5.2vw, 74px); }
.sec-title--dark::after { display: none; }

.point-label { font-family: var(--jost); font-weight: 500; font-size: 12px; letter-spacing: 0.3em; line-height: 1.5; color: var(--text); }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative; min-height: 740px; display: flex; flex-direction: column;
  color: #FFFFFF; background: #16263A; overflow: hidden;
}
.hero__img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
  transform: scale(1.39); transform-origin: 0% 26%;
}
.hero__ov {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 44, 0.5) 0px, rgba(14, 26, 44, 0) 150px),
    linear-gradient(90deg, rgba(14, 26, 44, 0.84) 0%, rgba(14, 26, 44, 0.7) 40%, rgba(14, 26, 44, 0.18) 74%, rgba(14, 26, 44, 0.26) 100%);
}
.hero__arc { position: absolute; left: -8%; right: -8%; bottom: -104px; height: 160px; border-radius: 50%; background: var(--tint); }
.hero__head {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px clamp(16px, 3.4vw, 48px);
}
.hero__head .logo img { height: clamp(40px, 3.5vw, 52px); }
.hero__head .gnav a { color: #FFFFFF; }
.hero__head .gnav .gnav__btn { background: #FFFFFF; color: var(--deep); }
.hero__main {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px);
  padding: 20px clamp(20px, 5.6vw, 84px) 156px;
}
.hero__tate {
  padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
  font-family: var(--min); font-weight: 500; font-size: 18px; line-height: 2.3; letter-spacing: 0.3em;
}
.hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; }
.hero__label { font-family: var(--jost); font-size: 13px; letter-spacing: 0.34em; line-height: 1.6; }
.hero__label span { margin: 0 12px; opacity: 0.6; }
.hero__title {
  font-family: var(--min); font-weight: 700; font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.42; letter-spacing: 0.08em; text-shadow: 0 0 24px rgba(6, 14, 26, 0.5);
}
.hero__lead { font-family: var(--min); font-weight: 500; font-size: clamp(15px, 1.65vw, 23px); line-height: 1.8; letter-spacing: 0.12em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 14px; }

/* ---------- お悩み ---------- */
.trouble { position: relative; display: flow-root; background: var(--tint); padding: 0 clamp(16px, 4.2vw, 60px) clamp(72px, 7vw, 104px); }
.points {
  position: relative; z-index: 3; max-width: 1200px; margin: -96px auto 0;
  background: #FFFFFF; border-radius: 0 44px 0 44px; box-shadow: 0 18px 44px rgba(20, 36, 60, 0.14);
  overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.points a {
  display: flex; flex-direction: column; gap: 5px;
  padding: 26px clamp(14px, 2vw, 30px) 28px;
  color: var(--ink); text-decoration: none; transition: background 0.2s;
}
.points a + a { border-left: 1px solid #E1E6EC; }
.points a:hover { background: #F6F9FC; }
.points__en { font-family: var(--jost); font-weight: 500; font-size: 11.5px; letter-spacing: 0.26em; line-height: 1.5; color: var(--text); }
.points__ja { font-family: var(--min); font-weight: 600; font-size: clamp(14.5px, 1.25vw, 17.5px); line-height: 1.55; letter-spacing: 0.08em; }
.trouble .sec-title { padding-top: clamp(64px, 6.4vw, 92px); }

.trb { margin: 44px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4.6vw, 68px); }
.trb li { display: flex; align-items: center; gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.trb li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.trb__icon {
  flex: none; width: 62px; height: 62px; border-radius: 50%;
  background: #FFFFFF; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.trb p { font-family: var(--min); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; letter-spacing: 0.08em; }
.trb em { font-style: normal; color: var(--text); }

.trouble__cta { max-width: 980px; margin: 52px auto 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.trouble__cta > p { font-family: var(--min); font-weight: 600; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.8; letter-spacing: 0.1em; }

/* ---------- 特長 ---------- */
.feature { padding-top: clamp(72px, 7vw, 104px); }

.f-main { position: relative; margin-top: 56px; padding: 0 var(--pad) 96px; }
.f-main__panel { position: absolute; top: 84px; right: 0; bottom: 0; left: clamp(0px, 14vw, 200px); background: var(--ivory); border-radius: 160px 0 0 0; }
.f-main__inner { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 84px clamp(36px, 5vw, 76px); }
.f-main__photo { flex: 0 1 590px; min-width: 0; position: relative; }
.f-main__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 40%; border-radius: 0 0 120px 0; }
.seal {
  position: absolute; left: -30px; bottom: -62px; width: 214px; height: 214px; border-radius: 50%;
  background: var(--deep); outline: 1px solid rgba(255, 255, 255, 0.55); outline-offset: -9px; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; font-family: var(--min); line-height: 1.5;
}
.seal small { font-weight: 500; font-size: 12.5px; letter-spacing: 0.12em; }
.seal strong { font-weight: 600; font-size: 24px; letter-spacing: 0.12em; }
.f-main__text { flex: 1 1 400px; min-width: 0; padding-top: 106px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.f-main__text h3 { font-family: var(--min); font-weight: 600; font-size: clamp(21px, 2.15vw, 30px); line-height: 1.7; letter-spacing: 0.08em; }
.f-main__text h3 em, .f-care h3 em { font-style: normal; color: var(--text); }
.f-main__text .btn { margin-top: 8px; }

.f-cards { max-width: 1300px; margin: 0 auto; padding: 96px var(--pad) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px clamp(36px, 5vw, 72px); }
.f-card { display: flex; flex-direction: column; gap: 12px; }
.f-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 96px 0 0; }
.f-card:nth-child(2) img { border-radius: 96px 0 0 0; }
.f-card .point-label { margin-top: 16px; }
.f-card h3 { font-family: var(--min); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.6; letter-spacing: 0.08em; color: var(--text); }
.f-card__text { font-size: 15px; }

.f-care { margin-top: clamp(72px, 7vw, 104px); padding: 0 var(--pad); }
.f-care__inner {
  max-width: 1180px; margin: 0 auto; background: var(--ivory); border-radius: 0 0 160px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(36px, 5vw, 72px);
  padding: clamp(28px, 4.2vw, 60px) clamp(22px, 4.6vw, 68px);
}
.collage { flex: 0 1 480px; min-width: 0; position: relative; padding: 0 76px 64px 0; }
.collage__main { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.collage__round { position: absolute; right: 0; bottom: 0; width: 196px; height: 196px; border-radius: 50%; object-fit: cover; object-position: 36% 50%; border: 6px solid var(--ivory); }
.f-care__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.f-care h3 { font-family: var(--min); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.7; letter-spacing: 0.08em; }
.f-care__body { font-size: 15px; }

/* ---------- 鎮静歯科治療 ---------- */
.sedation { margin-top: clamp(80px, 8vw, 120px); background: var(--tint); }
.sed-band { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #FFFFFF; }
.sed-band__half { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; }
.sed-band__half--l { left: 0; }
.sed-band__half--r { right: 0; }
.sed-band__half img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sed-band__half--l img { object-position: 24% 0%; transform: scale(1.3); transform-origin: 20% 0%; }
.sed-band__half--r img { object-position: 60% 50%; }
.sed-band__veil {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.16) 25%, rgba(255, 255, 255, 0.95) 42%, rgba(255, 255, 255, 0.95) 58%, rgba(255, 255, 255, 0.16) 75%, rgba(255, 255, 255, 0.16) 100%);
}
.sed-line { position: absolute; background: #FFFFFF; }
.sed-line--1 { left: 50%; top: 0; width: 1px; height: 92px; margin-left: 176px; }
.sed-line--2 { left: 50%; top: 92px; right: 0; height: 1px; margin-left: 176px; }
.sed-line--3 { right: 50%; bottom: 0; width: 1px; height: 92px; margin-right: 176px; }
.sed-line--4 { right: 50%; bottom: 92px; left: 0; height: 1px; margin-right: 176px; }
.sed-title { position: relative; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: clamp(10px, 1.4vw, 20px); padding: 58px 0; }
.sed-title__en { writing-mode: vertical-rl; text-orientation: upright; font-family: var(--jost); font-size: clamp(20px, 2.1vw, 29px); letter-spacing: 0.3em; line-height: 1; }
.sed-title__sub { margin-top: 50px; writing-mode: vertical-rl; font-family: var(--min); font-weight: 500; font-size: clamp(18px, 1.8vw, 25px); letter-spacing: 0.22em; line-height: 1.2; }
.sed-title h2 { writing-mode: vertical-rl; font-family: var(--min); font-weight: 600; font-size: clamp(40px, 4.3vw, 62px); letter-spacing: 0.14em; line-height: 1.15; color: var(--text); }
.sed-badge {
  position: absolute; width: 216px; height: 216px; border-radius: 50%; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--min); font-weight: 600; font-size: 18px; line-height: 1.65; letter-spacing: 0.1em;
}
.sed-badge small { margin-top: 8px; font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; }
.sed-badge--l { left: clamp(20px, 6.5vw, 96px); bottom: 46px; background: var(--deep); }
.sed-badge--r { right: clamp(20px, 6.5vw, 96px); top: 46px; background: var(--text); }
.sed-text { max-width: 940px; margin: 0 auto; padding: 52px 20px 84px; display: flex; flex-direction: column; gap: 18px; text-align: center; }
.sed-text__note { font-size: 13px; line-height: 1.9; color: var(--sub); }

/* ---------- 治療法の比較 ---------- */
.compare { background: var(--ivory); padding: clamp(72px, 7vw, 104px) var(--pad) clamp(76px, 7.4vw, 110px); }
.compare__lead { margin-top: 30px; text-align: center; font-size: 15px; }
.compare__panel { max-width: 1160px; margin: 34px auto 0; background: #FFFFFF; border-radius: 0 44px 0 44px; padding: clamp(18px, 3.2vw, 46px); }
.scroll-hint { margin-bottom: 10px; text-align: right; font-size: 12px; line-height: 1.6; color: var(--sub); }
.table-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 12px 0; font-size: 14.5px; line-height: 1.85; }
.cmp thead th { width: 27%; padding: 15px 12px 17px; border: 1px solid #D8CDBD; font-family: var(--min); font-weight: 600; font-size: 18px; letter-spacing: 0.18em; }
.cmp thead th:first-child { width: 15%; padding: 0; border: 0; }
.cmp thead th.is-main { width: 31%; padding: 16px 12px 18px; background: var(--deep); border-color: var(--deep); border-radius: 0 22px 0 0; color: #FFFFFF; font-size: 20px; }
.cmp tbody th { padding: 18px 8px; background: var(--ivory); border-bottom: 1px solid #FFFFFF; font-family: var(--min); font-weight: 600; font-size: 15px; }
.cmp tbody tr:last-child th { border-bottom: 0; }
.cmp td { padding: 18px 20px; border-left: 1px solid #E3DACD; border-right: 1px solid #E3DACD; border-bottom: 1px solid #E3DACD; }
.cmp td.is-main { background: var(--tint); border-left: 2px solid var(--deep); border-right: 2px solid var(--deep); border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child td.is-main { border-bottom: 2px solid var(--deep); }

/* ---------- 費用 ---------- */
.price { padding: clamp(72px, 7vw, 104px) var(--pad) 0; }
.menu { max-width: 1160px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.menu__card { background: var(--tint); border-radius: 0 44px 0 0; padding: 36px clamp(20px, 2.4vw, 32px) 30px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.menu__for { font-size: 13px; line-height: 1.7; }
.menu__card h3 { font-family: var(--min); font-weight: 600; font-size: 24px; letter-spacing: 0.12em; line-height: 1.5; color: var(--text); }
.menu__card h3 small { font-size: 15px; letter-spacing: 0.08em; }
.menu__desc { flex: 1; font-size: 14.5px; text-align: left; }
.menu__price { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; }
.menu__price strong { display: block; font-family: var(--min); font-weight: 600; font-size: 25px; letter-spacing: 0.04em; }

.price__row { max-width: 1160px; margin: 40px auto 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 28px 36px; }
.ptable { flex: 1.6 1 520px; min-width: 0; border-collapse: collapse; line-height: 1.7; font-size: 15.5px; }
.ptable th { text-align: left; font-family: var(--min); font-weight: 600; padding: 17px clamp(12px, 1.6vw, 22px); background: var(--ivory); border: 1px solid var(--border); }
.ptable th small { display: inline-block; margin-left: 8px; font-family: var(--sans); font-weight: 400; font-size: 12.5px; color: var(--sub); }
.ptable td { text-align: right; white-space: nowrap; padding: 17px clamp(12px, 1.6vw, 22px); border: 1px solid var(--border); font-family: var(--min); font-weight: 600; font-size: 21px; letter-spacing: 0.04em; }
.total { flex: 1 1 320px; min-width: 0; background: var(--deep); color: #FFFFFF; border-radius: 0 0 44px 0; padding: 30px clamp(20px, 2.4vw, 34px) 32px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.total__label { font-family: var(--min); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; }
.total__num { font-family: var(--min); font-weight: 600; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.5; letter-spacing: 0.03em; white-space: nowrap; }
.total__text { font-size: 13px; line-height: 1.9; }
.total__note { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.45); font-size: 13px; line-height: 1.9; }

.risk { max-width: 1160px; margin: 28px auto 0; background: var(--ivory); padding: 26px clamp(18px, 2.8vw, 38px) 28px; font-size: 13px; line-height: 2; }
.risk h3 { margin-bottom: 8px; font-family: var(--min); font-weight: 600; font-size: 16px; letter-spacing: 0.12em; }
.risk ul { list-style: disc; padding-left: 1.3em; }

/* ---------- 治療の流れ ---------- */
.flow { margin-top: clamp(80px, 8vw, 120px); background: var(--tint); padding: clamp(72px, 7vw, 104px) var(--pad) clamp(72px, 7vw, 100px); }
.flow__wrap { position: relative; max-width: 1180px; margin: 52px auto 0; }
.flow__wrap::before { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 39px; height: 1px; background: var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 18px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.steps__num {
  width: 78px; height: 78px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--jost); font-weight: 300; font-size: 30px; letter-spacing: 0.04em; line-height: 1; color: var(--text);
}
.steps li:last-child .steps__num { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
.steps h3 { margin-top: 10px; font-family: var(--min); font-weight: 600; font-size: 17px; line-height: 1.6; letter-spacing: 0.08em; }
.steps p { font-size: 13px; line-height: 1.9; text-align: left; }
.flow__note { margin-top: 40px; text-align: center; font-family: var(--min); font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); letter-spacing: 0.1em; }

/* ---------- 院長紹介 ---------- */
.doctor { padding-top: clamp(72px, 7vw, 104px); }
.doc-band { display: flex; flex-wrap: wrap; align-items: stretch; margin-top: 56px; }
.doc-band__photo { flex: 1.75 1 520px; min-width: 0; position: relative; min-height: 460px; overflow: hidden; border-radius: 0 0 180px 0; }
.doc-band__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 40% 0%; transform: scale(1.42); transform-origin: 38% 0%; }
.doc-band__copy { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 32px 24px; }
.doc-band__copy p { writing-mode: vertical-rl; font-family: var(--min); font-weight: 600; font-size: clamp(20px, 1.95vw, 27px); line-height: 2.2; letter-spacing: 0.2em; }

.doc-profile { max-width: 1180px; margin: 72px auto 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px clamp(36px, 5vw, 72px); }
.doc-profile__fig { flex: 0 1 430px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.doc-profile__fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 96px 0 0 0; }
.doc-profile__fig figcaption { line-height: 1.7; }
.doc-profile__role { display: block; font-size: 12.5px; color: var(--sub); }
.doc-profile__name { font-family: var(--min); font-weight: 600; font-size: 28px; letter-spacing: 0.26em; }
.doc-profile__en { margin-left: 12px; font-family: var(--jost); font-size: 13px; letter-spacing: 0.2em; color: var(--text); }
.doc-profile__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.career { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 2; }
.career h3 { margin-bottom: 4px; font-family: var(--min); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; color: var(--text); }
.career dl > div { display: flex; gap: 14px; }
.career dt { flex: none; width: 4.6em; }

/* ---------- よくあるご質問 ---------- */
.faq { padding: clamp(80px, 8vw, 120px) var(--pad) 0; }
.faq__list { max-width: 940px; margin: 30px auto 0; }
.faq__item { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.faq dt { display: flex; align-items: flex-start; gap: 18px; font-family: var(--min); font-weight: 600; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.7; letter-spacing: 0.08em; }
.faq dd { margin-top: 12px; display: flex; align-items: flex-start; gap: 18px; font-size: 15px; }
.faq__mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--jost); font-weight: 400; font-size: 18px; letter-spacing: 0; line-height: 1;
}
.faq__mark--q { background: var(--deep); color: #FFFFFF; }
.faq__mark--a { border: 1px solid var(--text); color: var(--text); }
.faq dt .faq__body { padding-top: 4px; }
.faq dd .faq__body { padding-top: 5px; }

/* ---------- アクセス ---------- */
.access { margin-top: clamp(80px, 8vw, 120px); background: var(--ivory); padding: clamp(72px, 7vw, 104px) var(--pad) clamp(120px, 11vw, 168px); }
.access__row { max-width: 1160px; margin: 48px auto 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px clamp(32px, 4.6vw, 64px); }
.access__map { flex: 1.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.map-frame { position: relative; aspect-ratio: 5 / 3; min-height: 320px; background: #FFFFFF; border: 1px solid var(--border); }
.map-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.access__spot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.access__spot img { display: block; width: min(220px, 46%); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 44px 0 0; }
.access__spot-text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.access__spot-text p { font-size: 14px; line-height: 1.8; }
.access__info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.info { width: 100%; border-collapse: collapse; background: #FFFFFF; font-size: 15px; line-height: 1.8; }
.info th { width: 26%; padding: 14px 12px; border: 1px solid var(--border); font-family: var(--min); font-weight: 600; color: var(--text); }
.info td { padding: 14px 18px; border: 1px solid var(--border); }
.info__tel { color: var(--ink); text-decoration: none; font-family: var(--jost); font-size: 22px; letter-spacing: 0.06em; }
.hours { width: 100%; border-collapse: collapse; background: #FFFFFF; text-align: center; font-size: 15px; line-height: 1.6; }
.hours thead th { padding: 11px 4px; background: var(--deep); color: #FFFFFF; font-family: var(--min); font-weight: 600; }
.hours tbody th { padding: 14px 8px; font-weight: 400; white-space: nowrap; border: 1px solid var(--border); }
.hours td { border: 1px solid var(--border); color: var(--text); }
.hours td.is-off { color: var(--ink); }
.hours__note { margin-top: -10px; font-size: 13px; line-height: 1.8; }
.hours__note span { color: var(--text); }

/* ---------- 相談のご案内 ---------- */
.consult { position: relative; background: var(--deep); color: #FFFFFF; padding: clamp(60px, 6vw, 88px) var(--pad) clamp(72px, 7vw, 100px); }
.consult__arc { position: absolute; left: 0; right: 0; top: -70px; height: 71px; overflow: hidden; }
.consult__arc::before { content: ""; position: absolute; left: -8%; right: -8%; top: 0; height: 190px; border-radius: 50%; background: var(--deep); }
.consult .sec-title { position: relative; }
.consult__lead { position: relative; margin-top: 16px; text-align: center; font-size: 15.5px; }
.consult__cards { position: relative; max-width: 920px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.consult__card { background: #FFFFFF; color: var(--ink); border-radius: 0 40px 0 40px; padding: 30px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.consult__card h3 { font-family: var(--min); font-weight: 600; font-size: 16px; letter-spacing: 0.14em; color: var(--text); }
.consult__tel { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.consult__tel-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--text); display: flex; align-items: center; justify-content: center; }
.consult__tel-num { font-family: var(--jost); font-size: clamp(28px, 2.9vw, 38px); letter-spacing: 0.05em; line-height: 1.3; }
.consult__card p { font-size: 13px; line-height: 1.8; }
.consult__card .btn { width: min(360px, 100%); min-height: 62px; padding: 0 10px 0 30px; border-radius: 31px; gap: 18px; font-size: 16.5px; letter-spacing: 0.12em; }

/* ---------- フッター ---------- */
.footer { position: relative; padding: clamp(52px, 5.4vw, 76px) var(--pad) 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer__logo { display: block; width: min(230px, 62%); height: auto; }
.footer__site { margin-top: 8px; font-size: 12.5px; letter-spacing: 0.3em; line-height: 1.8; color: var(--sub); }
.footer__addr { margin-top: 14px; font-size: 13.5px; line-height: 1.9; }
.footer__links { margin-top: 6px; font-size: 13.5px; }
.footer__copy { margin-top: 24px; padding-top: 20px; width: 100%; border-top: 1px solid var(--rule); font-family: var(--jost); font-size: 12px; letter-spacing: 0.16em; color: var(--sub); }
.pagetop {
  position: absolute; right: clamp(16px, 3vw, 44px); top: 52px; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--deep); color: var(--deep);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s;
}
.pagetop:hover { background: var(--deep); color: #FFFFFF; }

/* ---------- スマホ下部の固定ボタン ---------- */
.sp-bar { display: none; }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 69px; }
  .pc-only { display: none !important; }
  .sp-only { display: block; }

  .gnav { display: none; }
  .fixed-header { padding: 10px 16px; }

  .sp-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px; background: #FFFFFF; border-top: 1px solid var(--rule);
  }
  .sp-bar a {
    flex: 1; min-height: 52px; border-radius: 26px; text-decoration: none;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--min); font-weight: 600; letter-spacing: 0.14em;
  }
  .sp-bar__tel { border: 1px solid var(--deep); color: var(--deep); }
  .sp-bar a.sp-bar__web { flex: 1.3; background: var(--deep); color: #FFFFFF; }

  .btn { gap: 10px; padding-left: 22px; font-size: 15px; letter-spacing: 0.05em; white-space: nowrap; }

  .hero__img { transform: none; object-position: 64% 30%; }
  .hero__ov { background: rgba(14, 26, 44, 0.66); }
  .hero__tate { display: none; }
  .hero__main { padding: 8px 20px 132px; }
  .hero__label { font-size: 11px; letter-spacing: 0.22em; }

  .points { grid-template-columns: 1fr 1fr; margin-top: -84px; }
  .points a { padding: 18px 14px 20px; }
  .points a:nth-child(3) { border-left: 0; }
  .points a:nth-child(n+3) { border-top: 1px solid #E1E6EC; }

  .trb { grid-template-columns: 1fr; }
  .trb li:nth-child(2) { border-top: 0; }

  .seal { left: 6px; bottom: -50px; width: 160px; height: 160px; }
  .seal small { font-size: 10.5px; }
  .seal strong { font-size: 17px; }
  .f-main__text { padding-top: 44px; }
  .f-main__panel { left: 0; border-radius: 72px 0 0 0; }
  .collage { padding: 0 40px 44px 0; }
  .collage__round { width: 130px; height: 130px; }

  .sed-band { min-height: 440px; }
  .sed-badge, .sed-line { display: none; }
  .sed-text, .compare__lead, .consult__lead { text-align: left; }

  .ptable th { width: 54%; font-size: 13.5px; padding: 12px 10px; }
  .ptable td { font-size: 16px; padding: 12px 10px; white-space: normal; }

  .steps { grid-template-columns: 1fr 1fr; }
  .flow__wrap::before { display: none; }
  .steps h3 { font-size: 15px; letter-spacing: 0.04em; }

  .doc-band__photo { min-height: 240px; border-radius: 0 0 96px 0; }
  .doc-band__photo img { transform: scale(1.45); transform-origin: 50% 0; }
  .doc-band__copy { padding: 30px 20px 0; }
  .doc-band__copy p { writing-mode: horizontal-tb; font-size: 19px; line-height: 1.9; letter-spacing: 0.1em; }

  .pagetop { position: static; margin: 26px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
