@charset "UTF-8";
/* =====================================================================
   南大沢歯科・矯正歯科  リニューアルデザイン
   ホワイト × ブルー × グレー ／ 清潔感と上質さ
   ===================================================================== */

:root {
  --white: #ffffff;
  --ice: #f3f6fa;
  --mist: #e8edf3;
  --line: #dbe2ea;
  --line-2: #c7d2de;
  --gray: #6b7684;
  --gray-2: #8f99a6;
  --ink: #1a2433;
  --navy: #0b2545;
  --navy-2: #12345e;
  --deep: #071a33;
  --blue: #2563a8;
  --blue-2: #3d82c6;
  --sky: #dde9f6;
  --sky-2: #eef4fb;
  --silver: linear-gradient(120deg, #b9c5d3 0%, #f4f7fa 45%, #aeb9c7 100%);

  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --num: "Cormorant Garamond", "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --hd-h: 84px;
  --sec: clamp(64px, 8vw, 112px);
  --shadow: 0 24px 60px -28px rgba(11, 37, 69, .35);
  --shadow-sm: 0 10px 30px -18px rgba(11, 37, 69, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--jp); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  font-feature-settings: "palt" 1, "lnum" 1; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 768px) { .pc { display: none; } }
@media (min-width: 769px) { .sp { display: none; } }

svg[aria-hidden="true"]:not([class]), .arrow { width: 16px; height: 16px; flex: none; }
.arrow { transition: transform .4s var(--ease); }
a:hover > .arrow, a:hover .arrow { transform: translateX(4px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }

/* ---------- typography parts ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--en); font-style: italic; font-weight: 500; font-size: 19px; letter-spacing: .06em; color: var(--blue); line-height: 1.2;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: #9ec3ea; }
.h-title {
  font-family: var(--mincho); font-weight: 600; color: var(--navy);
  font-size: clamp(27px, 3.3vw, 42px); line-height: 1.5; letter-spacing: .06em;
}
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { margin-top: 18px; color: var(--gray); max-width: 640px; }
.sec-head-center { text-align: center; }
.sec-head-center p { margin-inline: auto; }
.sec-head-row { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px 48px; }
.sec-head-row p { margin: 0; padding-bottom: 8px; }
.sec-head-row .more { padding-bottom: 10px; }
@media (max-width: 860px) { .sec-head-row { grid-template-columns: minmax(0, 1fr); } .sec-head-row .more { justify-self: start; } }

.giant {
  position: absolute; pointer-events: none; user-select: none; white-space: nowrap; z-index: 0;
  font-family: var(--en); font-style: italic; font-weight: 500; line-height: 1;
  font-size: clamp(80px, 15vw, 240px); color: transparent; -webkit-text-stroke: 1px rgba(37, 99, 168, .14);
}

.more {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14.5px; color: var(--navy);
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s;
}
.more:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 28px; border-radius: 0; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; letter-spacing: .08em; line-height: 1.4; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.btn svg:not(.arrow) { width: 18px; height: 18px; }
.btn-lg { padding: 19px 34px; font-size: 16px; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--blue); transform: translateY(-2px); }
.btn-line { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.6); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky); transform: translateY(-2px); }
.tag {
  display: inline-block; padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 0;
  font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: var(--blue); background: #fff; white-space: nowrap;
}
.tag-type { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =====================================================================
   HEADER
   ===================================================================== */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd-h);
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, height .3s;
}
.hd.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(11,37,69,.3); }
.hd-in { height: 100%; display: flex; align-items: center; gap: 24px; padding-inline: clamp(16px, 3vw, 40px); }
.hd-logo { flex: none; }
.hd-logo img { width: clamp(170px, 16vw, 228px); }
.gn { margin-left: auto; height: 100%; }
.gn-list { list-style: none; display: flex; height: 100%; }
.gn-item { position: relative; height: 100%; }
.gn-link {
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 clamp(8px, 1vw, 15px);
  font-size: 14.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.3; color: var(--ink); position: relative; transition: color .3s;
}
.gn-link small { font-family: var(--en); font-style: italic; font-size: 12.5px; color: var(--gray-2); letter-spacing: .04em; margin-top: 2px; }
.gn-link::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 0; height: 1px; background: var(--blue); transition: width .35s var(--ease), left .35s var(--ease); }
.gn-link:hover, .gn-link[aria-current] { color: var(--blue); }
.gn-link:hover::after, .gn-link[aria-current]::after { width: 24px; left: calc(50% - 12px); }
.gn-sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 260px;
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.gn-item:hover .gn-sub, .gn-item:focus-within .gn-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gn-sub-in { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px 24px; border-radius: 0; }
.gn-sub-head { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 16px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.gn-sub-head span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; color: var(--blue); font-size: 14px; }
.gn-sub ul { list-style: none; display: grid; gap: 0 20px; }
.gn-item:first-child .gn-sub { min-width: 500px; }
.gn-item:first-child .gn-sub ul { grid-template-columns: 1fr 1fr; }
.gn-sub a { display: block; padding: 7px 0 7px 14px; font-size: 14px; position: relative; white-space: nowrap; transition: color .25s, padding .25s; }
.gn-sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 1px; background: var(--blue-2); }
.gn-sub a:hover { color: var(--blue); padding-left: 18px; }

.hd-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.hd-tel { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.hd-tel small { font-size: 11px; color: var(--gray); letter-spacing: .06em; }
.hd-tel b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--num); font-weight: 600; font-size: 24px; letter-spacing: .04em; color: var(--navy); }
.hd-tel b svg { width: 17px; height: 17px; color: var(--blue); }
.hd-reserve { padding: 12px 22px; font-size: 14px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 0; background: var(--navy); position: relative; flex: none; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; transition: transform .3s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 23.5px; right: 21px; } .menu-btn span:nth-child(3) { top: 29px; }

@media (max-width: 1360px) { .gn-link small { display: none; } .gn-link::after { bottom: 22px; } }
@media (max-width: 1240px) { .hd-tel { display: none; } }
@media (max-width: 1080px) {
  .gn { display: none; }
  .menu-btn { display: block; }
  .hd-cta { margin-left: auto; }
}
@media (max-width: 768px) {
  :root { --hd-h: 64px; }
  .hd-reserve { display: none; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span { left: 13px; right: 13px; } .menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 21.5px; right: 19px; } .menu-btn span:nth-child(3) { top: 27px; }
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(7, 26, 51, .5); }
.drawer[hidden] { display: none; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(560px, 100%); overflow-y: auto; background: var(--navy); color: #fff;
  padding: 20px clamp(20px, 5vw, 44px) 40px; animation: drawerIn .45s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-title { font-family: var(--en); font-style: italic; font-size: 28px; }
.drawer-close { width: 48px; height: 48px; border-radius: 0; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.drawer-group h4 { font-family: var(--mincho); font-weight: 600; font-size: 16px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-group h4 span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; color: #9ec3ea; font-size: 14px; }
.drawer-group ul { list-style: none; }
.drawer-group a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,.86); }
.drawer-group a:hover { color: #fff; }
.drawer-cta { margin-top: 32px; display: grid; gap: 12px; }
.drawer-tel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 0; font-family: var(--num); font-size: 24px; font-weight: 600; }
.drawer-tel svg { width: 18px; height: 18px; }
.drawer-tel small { width: 100%; text-align: center; font-family: var(--jp); font-size: 12px; font-weight: 400; color: rgba(255,255,255,.7); margin-top: -4px; }
@media (max-width: 480px) { .drawer-nav { grid-template-columns: minmax(0, 1fr); } }

/* HOME : HERO は末尾の「メインビジュアル（コピーを写真に重ねる）」を参照 */
@keyframes heroZoom { from { transform: scale(1.08); } }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 16px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2fa66b; box-shadow: 0 0 0 4px rgba(47,166,107,.18); animation: pulse 2s infinite; }
.status.break::before { background: #e3a43a; box-shadow: 0 0 0 4px rgba(227,164,58,.2); }
.status.closed::before { background: var(--gray-2); box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,166,107,0); } }

/* =====================================================================
   HOME : NEWS
   ===================================================================== */
.h-news { background: var(--ice); padding: 8px 0 clamp(40px, 5vw, 64px); }
.h-news-in { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px 40px; align-items: center; background: #fff; padding: 26px clamp(20px, 3vw, 40px); border-radius: 0; box-shadow: var(--shadow-sm); max-width: calc(var(--wrap)); }
.h-news-head { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 18px; line-height: 1.3; }
.h-news-head span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 30px; color: var(--blue); }
@media (max-width: 860px) { .h-news-in { grid-template-columns: minmax(0, 1fr); margin-inline: var(--gutter); width: auto; } }

.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 110px auto 1fr 18px; align-items: center; gap: 8px 20px; padding: 18px 4px; transition: background .3s, padding .3s; }
.news-list a:hover { background: var(--sky-2); padding-inline: 14px; }
.news-list time { font-family: var(--num); font-size: 17px; font-weight: 600; color: var(--blue); letter-spacing: .06em; }
.news-list .news-title { font-weight: 500; }
.news-list .arrow { color: var(--blue); }
.news-list-compact { border-top: 0; }
.news-list-compact li:last-child { border-bottom: 0; }
.news-list-compact a { padding: 10px 4px; }
@media (max-width: 640px) {
  .news-list a { grid-template-columns: auto 1fr 18px; }
  .news-list .news-title { grid-column: 1 / 3; }
  .news-list .arrow { grid-row: 1 / 3; grid-column: 3; }
  .news-list a > .tag { justify-self: start; }
}
.empty-inline { color: var(--gray); }

/* =====================================================================
   HOME : MESSAGE
   ===================================================================== */
.h-msg { position: relative; background: var(--ice); padding: clamp(24px, 3vw, 48px) 0 var(--sec); overflow: clip; }
.giant-msg { right: -2vw; top: 10px; }
.h-msg-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.h-msg-visual { position: relative; padding: 0 0 40px 0; }
.h-msg-panel { position: absolute; z-index: 0; top: 22%; bottom: 0; left: calc(var(--edge) * -1); right: 18%; background: var(--navy); border-radius: 0; }
.h-msg-panel::after { content: ""; position: absolute; inset: 22px 22px auto auto; width: 90px; height: 1px; background: var(--silver); }
.h-msg-photo { position: relative; z-index: 1; width: min(400px, 82%); margin-left: 6%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0; box-shadow: var(--shadow); background: #fff; }
.h-msg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.h-msg-name { position: relative; z-index: 1; color: #fff; font-family: var(--mincho); font-weight: 600; font-size: 22px; margin: 22px 0 0 6%; letter-spacing: .12em; line-height: 1.5; }
.h-msg-name small { display: block; font-family: var(--jp); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; color: #b9cbe0; }
.h-msg-name span { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 17px; letter-spacing: .06em; margin-left: 14px; color: #9ec3ea; }
.h-msg-body p { margin-top: 22px; color: #3c4756; }
.h-msg-body .h-title { margin-bottom: 8px; }
.h-msg-body .btn { margin-top: 34px; }
@media (max-width: 860px) {
  .h-msg-in { grid-template-columns: minmax(0, 1fr); }
  .h-msg-visual { max-width: 460px; }
}

/* =====================================================================
   HOME : FEATURES
   ===================================================================== */
.feat-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: feat; }
.feat:nth-child(2) { transform: translateY(56px); }
.feat a { display: block; position: relative; height: 100%; background: #fff; padding: 0 clamp(20px, 2.4vw, 32px) 32px; border: 1px solid var(--line); border-radius: 0; transition: box-shadow .4s, border-color .4s, transform .4s var(--ease); }
.feat a:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.feat-img { margin: -28px calc(clamp(20px, 2.4vw, 32px) * -1 + 20px) 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; box-shadow: var(--shadow-sm); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feat a:hover .feat-img img { transform: scale(1.06); }
.feat-num { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 64px; line-height: 1; margin-top: -30px; position: relative; color: var(--blue); text-shadow: 0 0 0 #fff, 4px 4px 0 #fff; }
.feat h3 { font-family: var(--mincho); font-weight: 600; font-size: 21px; color: var(--navy); margin-top: 12px; letter-spacing: .06em; }
.feat p { margin-top: 12px; color: var(--gray); font-size: 14.5px; line-height: 1.85; }
.feat-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--blue); }
.h-feat { padding-bottom: calc(var(--sec) + 40px); }
@media (max-width: 900px) {
  .feat-list { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 520px; margin-inline: auto; }
  .feat:nth-child(2) { transform: none; }
  .h-feat { padding-bottom: var(--sec); }
}

/* =====================================================================
   HOME : TREATMENT
   ===================================================================== */
.h-treat { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); padding-top: 0; }
.h-treat-in { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.h-treat-head { position: sticky; top: calc(var(--hd-h) + 32px); }
.h-treat-head p { margin: 20px 0 28px; color: var(--gray); font-size: 15px; }
.treat-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.treat a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0; background: var(--navy); }
.treat:nth-child(3n+1) a { border-radius: 0; }
.treat figure, .treat img { position: absolute; inset: 0; width: 100%; height: 100%; }
.treat img { object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1s var(--ease), opacity .5s; }
.treat a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,0) 35%, rgba(11,37,69,.86) 100%); transition: opacity .4s; }
.treat a:hover img { transform: scale(1.07); opacity: .85; }
.treat-body { position: absolute; z-index: 1; left: 18px; right: 40px; bottom: 16px; color: #fff; display: grid; line-height: 1.45; }
.treat-body small { font-family: var(--en); font-style: italic; font-size: 15px; color: #b8d4f2; }
.treat-body b { font-size: 16.5px; font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
.treat-body span { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 4px; }
.treat .arrow { position: absolute; z-index: 1; right: 16px; bottom: 20px; color: #fff; }
.treat-more { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; grid-column: 2; }
.treat-more a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 0; font-size: 14px; transition: border-color .3s, color .3s; }
.treat-more a:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 960px) {
  .h-treat-in { grid-template-columns: minmax(0, 1fr); }
  .h-treat-head { position: static; }
  .treat-more { grid-column: auto; }
}
@media (max-width: 560px) {
  .treat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .treat a { aspect-ratio: 1; }
  .treat-body { left: 12px; right: 12px; bottom: 12px; }
  .treat-body span, .treat .arrow { display: none; }
  .treat-body b { font-size: 14px; }
}

/* =====================================================================
   HOME : PICK UP
   ===================================================================== */
.h-pick { background: var(--ice); padding: 0 0 var(--sec); }
.h-pick-head { font-family: var(--mincho); font-weight: 600; font-size: 18px; color: var(--navy); display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.h-pick-head span { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 30px; color: var(--blue); }
.pick-list { list-style: none; display: grid; grid-template-columns: 1.469fr 1.469fr 2.553fr; gap: 16px; }
.pick-list a { display: block; overflow: hidden; border-radius: 0; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; background: #fff; }
.pick-list a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pick-list img { width: 100%; }
@media (max-width: 860px) { .pick-list { grid-template-columns: 1fr 1fr; } .pick-list li:last-child { grid-column: 1 / -1; } }

/* =====================================================================
   HOME : ORTHODONTIC
   ===================================================================== */
.h-ortho { position: relative; padding-block: var(--sec); overflow: clip; }
.h-ortho::before { content: ""; position: absolute; right: 0; top: 18%; bottom: 0; width: 62%; background: var(--sky-2); border-radius: 0; }
.h-ortho-in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-right: var(--edge); }
.h-ortho-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; box-shadow: var(--shadow); }
.h-ortho-photo img { width: 100%; height: 100%; object-fit: cover; }
.h-ortho-sub { position: absolute; left: calc(54.5% - 100px); top: -40px; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; border-radius: 0; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: var(--shadow); }
.h-ortho-sub img { width: 100%; height: 100%; object-fit: cover; }
.h-ortho-body p { margin-top: 20px; color: #3c4756; }
.h-ortho-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 32px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.h-ortho-facts div { padding: 16px 12px; border-left: 1px solid var(--line-2); }
.h-ortho-facts div:first-child { border-left: 0; padding-left: 0; }
.h-ortho-facts dt { font-size: 12px; line-height: 1.5; color: var(--gray); }
.h-ortho-facts dd { font-family: var(--num); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); color: var(--navy); line-height: 1.2; margin-top: 6px; }
.h-ortho-facts dd small { font-family: var(--jp); font-size: 12px; font-weight: 500; margin-left: 2px; }
@media (max-width: 900px) {
  .h-ortho::before { width: 100%; top: 30%; border-radius: 0; }
  .h-ortho-in { grid-template-columns: minmax(0, 1fr); padding-inline: 0 var(--gutter); }
  .h-ortho-photo { margin-right: 12%; }
  .h-ortho-sub { left: auto; right: var(--gutter); top: calc((100vw - var(--gutter)) * .88 * .75 - 90px); bottom: auto; }
  .h-ortho-body { padding-left: var(--gutter); }
}

/* =====================================================================
   HOME : IMPLANT（濃紺・写真がはみ出す）
   ===================================================================== */
.h-imp { position: relative; margin-top: 90px; background: radial-gradient(120% 80% at 85% 0%, #1a4a7e 0%, var(--navy) 55%, var(--deep) 100%); color: #fff; padding-bottom: var(--sec); }
.giant-imp { right: 3vw; bottom: 10px; -webkit-text-stroke-color: rgba(255,255,255,.08); }
.h-imp-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.h-imp-visual { position: relative; margin-top: -90px; }
.h-imp-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.h-imp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.h-imp-sub { position: absolute; right: -40px; bottom: -48px; width: 52%; aspect-ratio: 16 / 9; overflow: hidden; border: 6px solid var(--navy-2); border-radius: 0; box-shadow: var(--shadow); }
.h-imp-sub img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; left: -36px; top: 40%; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp-ring text { font-family: var(--en); font-size: 13px; letter-spacing: 2.2px; fill: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
.stamp-in { display: grid; text-align: center; line-height: 1; }
.stamp-in small { font-family: var(--en); font-style: italic; font-size: 13px; color: var(--gray); }
.stamp-in b { font-family: var(--num); font-size: 52px; font-weight: 600; }
.stamp-in span { font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-top: 2px; }
.h-imp-body { padding-top: var(--sec); }
.h-imp-body .h-title { color: #fff; }
.h-imp-body > p { margin-top: 20px; color: rgba(255,255,255,.82); }
.imp-links { list-style: none; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.imp-links a { display: grid; grid-template-columns: 44px 1fr 18px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .3s, padding .3s; }
.imp-links a:hover { background: rgba(255,255,255,.06); padding-inline: 14px; }
.imp-links i { font-family: var(--en); font-style: italic; font-size: 22px; color: #9ec3ea; }
.imp-links b { display: block; font-weight: 500; letter-spacing: .06em; }
.imp-links small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.5; }
.imp-consult { margin-top: 32px; padding: 24px 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 0; display: grid; gap: 18px; background: rgba(255,255,255,.04); }
.imp-consult p { font-size: 14px; color: rgba(255,255,255,.8); }
.imp-consult b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.imp-consult .btn { justify-self: start; }
@media (max-width: 900px) {
  .h-imp-in { grid-template-columns: minmax(0, 1fr); }
  .h-imp-visual { max-width: 460px; width: 86%; }
  .h-imp-sub { right: -14%; }
  .stamp { left: auto; right: -10%; top: -40px; width: 116px; height: 116px; }
  .stamp-in b { font-size: 40px; }
  .h-imp-body { padding-top: 40px; }
}

/* =====================================================================
   CARDS（コラム・症例）
   ===================================================================== */
.pcards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.pcard a { display: block; height: 100%; }
.pcard-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 0; background: var(--mist); }
.pcard-img > img, .pcard-img picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard a:hover .pcard-img img { transform: scale(1.06); }
.pcard-ba { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.pcard-ba > span { position: relative; overflow: hidden; }
.pcard-ba img { width: 100%; height: 100%; object-fit: cover; }
.pcard-ba i { position: absolute; left: 8px; top: 8px; font-family: var(--en); font-style: italic; font-size: 13px; color: #fff; background: rgba(11,37,69,.75); padding: 1px 10px; border-radius: 0; }
.pcard-body { display: grid; gap: 8px; padding: 18px 4px 0; }
.pcard-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pcard-meta time { font-family: var(--num); font-weight: 600; font-size: 16px; color: var(--blue); letter-spacing: .06em; }
.pcard-title { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--navy); letter-spacing: .04em; transition: color .3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard a:hover .pcard-title { color: var(--blue); }
.pcard-excerpt { font-size: 13.5px; color: var(--gray); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pcards { grid-template-columns: minmax(0, 1fr); } }

.h-case { background: #fff; }
.case-empty { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--ice); border-radius: 0; }
.case-empty figure { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0; }
.case-empty img { width: 100%; height: 100%; object-fit: cover; }
.case-empty b { display: block; font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 21px; }
.case-empty p { margin: 12px 0 18px; color: var(--gray); font-size: 14.5px; }
@media (max-width: 760px) { .case-empty { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   HOME : CLINIC / GALLERY
   ===================================================================== */
.h-clinic { background: var(--ice); padding-block: var(--sec); overflow: clip; }
.h-clinic-head { display: grid; grid-template-columns: auto 1fr; gap: 16px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: 40px; }
.h-clinic-head p { color: var(--gray); max-width: 620px; padding-bottom: 6px; }
@media (max-width: 860px) { .h-clinic-head { grid-template-columns: minmax(0, 1fr); } }
.gallery { overflow: hidden; }
.gallery-track { list-style: none; display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.gallery li { width: clamp(260px, 30vw, 420px); }
.gallery li:nth-child(even) { margin-top: 40px; }
.gallery figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0; }
.gallery li:nth-child(3n) figure { border-radius: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(11,37,69,.7); padding: 3px 12px; border-radius: 0; letter-spacing: .06em; }
.clinic-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.clinic-card { position: relative; display: grid; gap: 4px; padding: 24px 52px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 0; transition: box-shadow .4s, border-color .4s; }
.clinic-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.clinic-card small { font-family: var(--en); font-style: italic; font-size: 15px; color: var(--blue); }
.clinic-card b { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 18px; letter-spacing: .06em; }
.clinic-card span { font-size: 13.5px; color: var(--gray); line-height: 1.7; }
.clinic-card .arrow { position: absolute; right: 22px; top: 50%; margin-top: -8px; color: var(--blue); }
@media (max-width: 860px) { .clinic-cards { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   HOME : DOCTOR
   ===================================================================== */
.h-doc-in { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-doc-head p { margin: 20px 0 28px; color: var(--gray); font-size: 15px; }
.doc-list { list-style: none; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; align-items: end; }
.doc figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0; background: var(--mist); margin-bottom: 14px; }
.doc-main figure { border-radius: 0; box-shadow: var(--shadow-sm); }
.doc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doc small { display: block; font-size: 12px; color: var(--blue); letter-spacing: .06em; }
.doc b { display: block; font-family: var(--mincho); font-weight: 600; font-size: 19px; color: var(--navy); letter-spacing: .1em; line-height: 1.5; }
.doc span { display: block; font-size: 12px; color: var(--gray); line-height: 1.6; margin-top: 4px; }
@media (max-width: 960px) { .h-doc-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .doc-list { grid-template-columns: 1fr 1fr; } .doc-main { grid-column: 1 / -1; display: grid; grid-template-columns: 46% 1fr; gap: 0 16px; align-items: end; } .doc-main figure { grid-row: 1 / 5; margin: 0; } }

/* =====================================================================
   HOME : COLUMN / VISIT / ACCESS
   ===================================================================== */
.h-column { background: var(--ice); }
.h-visit { padding-block: var(--sec); }
.h-visit-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.h-visit-photo { position: relative; aspect-ratio: 16 / 10; }
.h-visit-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--line-2); border-radius: 0; }
.h-visit-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: var(--shadow); }
.h-visit-body p { margin-top: 18px; color: #3c4756; }
.visit-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.visit-tags li { padding: 6px 16px; background: var(--sky-2); color: var(--navy); border-radius: 0; font-size: 13.5px; font-weight: 500; }
@media (max-width: 860px) { .h-visit-in { grid-template-columns: minmax(0, 1fr); } .h-visit-photo { margin-right: 24px; } }

.h-access { background: #fff; padding-top: 0; }
.h-access-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.h-access-info .h-title { margin-bottom: 26px; }
.h-access-map { position: sticky; top: calc(var(--hd-h) + 24px); }
.gmap { position: relative; overflow: hidden; border-radius: 0; background: var(--mist); }
.gmap iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.35) contrast(1.02); }
.gmap-tall iframe { height: 560px; }
.gmap-link { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; font-size: 14px; }
.gmap-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }
@media (max-width: 900px) { .h-access-in { grid-template-columns: minmax(0, 1fr); } .h-access-map { position: static; } .gmap-tall iframe { height: 360px; } }

/* hours table */
.table-wrap { overflow-x: auto; }
.hours { min-width: 520px; text-align: center; font-size: 14px; background: #fff; }
.hours th, .hours td { padding: 14px 6px; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--navy); color: #fff; font-weight: 500; letter-spacing: .1em; }
.hours thead th:first-child { text-align: left; padding-left: 18px; border-radius: 0; }
.hours thead th:last-child { border-radius: 0; }
.hours thead .sat { color: #b8d4f2; } .hours thead .sun { color: #f3c3c3; }
.hours tbody th { text-align: left; padding-left: 18px; font-family: var(--num); font-size: 19px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.hours tbody th small { display: block; font-family: var(--jp); font-size: 11.5px; font-weight: 400; color: var(--gray); }
.hours .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.hours .is-today { background: var(--sky-2); }
.hours thead .is-today { background: var(--blue); }
.hours-note { margin-top: 12px; font-size: 13.5px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hours-note b { color: var(--navy); margin-right: 8px; }

.info-list { margin-top: 28px; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-list dt { color: var(--navy); font-weight: 500; }
.info-list dd { color: #3c4756; }
.info-list a { color: var(--blue); }
@media (max-width: 560px) { .info-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* =====================================================================
   PAGE HERO（下層）
   ===================================================================== */
.pg-hero { position: relative; padding-top: var(--hd-h); background: var(--ice); overflow-x: clip; }
.pg-hero-giant-wrap { overflow: hidden; }
.pg-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-left: var(--edge); }
.pg-hero-copy { padding-block: clamp(40px, 5vw, 72px) clamp(36px, 4vw, 56px); }
.pg-hero h1 { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.45; letter-spacing: .08em; }
.pg-hero-lead { margin-top: 18px; color: #3c4756; font-size: 15px; line-height: 1.95; max-width: 560px; }
.pg-hero-img { position: relative; height: clamp(240px, 30vw, 420px); margin-bottom: -48px; overflow: hidden; border-radius: 0; box-shadow: var(--shadow); }
.pg-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 10s ease-out both; }
.pg-hero-giant { position: absolute; left: var(--edge); bottom: 0; clip-path: inset(0 0 0 0); z-index: 0; font-family: var(--en); font-style: italic; font-weight: 500; font-size: clamp(64px, 10vw, 160px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(37,99,168,.12); pointer-events: none; }
.pg-hero + .crumbs { padding-top: 48px; }
@media (max-width: 860px) {
  .pg-hero-in { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter) 0; gap: 0; }
  .pg-hero-img { order: -1; height: 52vw; margin: 0 0 0 0; border-radius: 0; }
  .pg-hero-copy { padding: 26px var(--gutter) 30px 0; }
  .pg-hero + .crumbs { padding-top: 0; }
  .pg-hero-giant { font-size: 72px; bottom: -14px; }
}

.crumbs { font-size: 12.5px; color: var(--gray); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 14px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid var(--gray-2); border-right: 1px solid var(--gray-2); transform: rotate(45deg); margin: 0 12px 0 8px; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

/* =====================================================================
   PAGE BODY / SIDE
   ===================================================================== */
.pg-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(16px, 2.4vw, 32px); padding-bottom: var(--sec); }
.pg-body.is-single { display: block; max-width: calc(1040px + var(--gutter) * 2); }
.side { position: sticky; top: calc(var(--hd-h) + 24px); max-height: calc(100vh - var(--hd-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.side-head { font-family: var(--mincho); font-weight: 600; font-size: 17px; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid var(--navy); line-height: 1.4; }
.side-head span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 16px; color: var(--blue); }
.side-head ~ .side-head { margin-top: 28px; }
.side-list, .side-posts { list-style: none; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 6px 11px 16px; font-size: 14px; border-bottom: 1px solid var(--line); position: relative; transition: color .25s, background .25s; }
.side-list a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 1px; background: var(--line-2); transition: width .25s, background .25s; }
.side-list a:hover, .side-list a[aria-current] { color: var(--blue); background: var(--sky-2); }
.side-list a[aria-current] { font-weight: 700; }
.side-list a:hover::before, .side-list a[aria-current]::before { width: 10px; background: var(--blue); }
.side-list small { font-family: var(--num); color: var(--gray-2); font-size: 14px; }
.side-posts a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; }
.side-posts a:hover { color: var(--blue); }
.side-posts time { display: block; font-family: var(--num); color: var(--blue); font-weight: 600; font-size: 14px; }
.side-empty { display: block; padding: 12px 0; font-size: 13px; color: var(--gray); }
.side-cta { margin-top: 24px; padding: 22px 20px; background: var(--navy); color: #fff; border-radius: 0; display: grid; gap: 4px; text-align: center; }
.side-cta small { font-size: 12px; color: #b9cbe0; }
.side-cta-tel { font-family: var(--num); font-weight: 600; font-size: 26px; letter-spacing: .04em; }
.side-cta span { font-size: 12px; color: #b9cbe0; }
.side-cta .btn { margin-top: 12px; background: #fff; color: var(--navy); }
.side-cta .btn:hover { background: var(--sky); }
@media (max-width: 960px) {
  .pg-body { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; max-height: none; order: 2; }
  .side-cta { display: none; }
}

/* table of contents */
.toc { margin-bottom: clamp(36px, 4vw, 56px); padding: 24px clamp(20px, 3vw, 32px); background: var(--ice); border-radius: 0; }
.toc-head { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 16px; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.toc-head span { font-family: var(--en); font-style: italic; font-weight: 500; color: var(--blue); font-size: 19px; }
.toc ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.toc a { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; line-height: 1.6; transition: color .25s; }
.toc a:hover { color: var(--blue); }
.toc i { font-family: var(--en); font-style: italic; color: var(--blue); font-size: 16px; flex: none; }
@media (max-width: 640px) { .toc ol { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   PROSE（各ページ本文）
   ===================================================================== */
.prose { min-width: 0; }
.prose > section { margin-bottom: clamp(56px, 6vw, 88px); scroll-margin-top: calc(var(--hd-h) + 16px); }
.prose > section:last-child { margin-bottom: 0; }
.prose h2 {
  position: relative; font-family: var(--mincho); font-weight: 600; color: var(--navy);
  font-size: clamp(23px, 2.5vw, 31px); line-height: 1.55; letter-spacing: .06em;
  padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 1px; background: var(--blue); }
.prose h2 .en { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 18px; letter-spacing: .06em; color: var(--blue); margin-bottom: 4px; }
.prose h3 { font-size: clamp(18px, 1.7vw, 20px); font-weight: 700; color: var(--navy); line-height: 1.6; margin: 44px 0 16px; padding-left: 18px; border-left: 3px solid var(--blue); letter-spacing: .05em; }
.prose h2 + h3 { margin-top: 0; }
.prose h4 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose p a, .prose section ul:not([class]) li a, .prose section ol:not([class]) li a, .prose .checks a, .prose td a, .prose dd a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(37,99,168,.35); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.prose p a:hover { text-decoration-color: var(--blue); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose strong, .prose b { color: var(--navy); }
.prose > section > *:not(:last-child) { margin-bottom: 1.4em; }

/* 写真と文章 */
.media { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 52px); align-items: center; margin-block: 8px 32px; }
.media.reverse > figure, .media.reverse > .ph { order: -1; }
.media > div > p:last-child { margin-bottom: 0; }
.ph { position: relative; }
.ph.has-img { padding: 0 16px 16px 0; }
.ph.has-img::before { content: ""; position: absolute; inset: 16px 0 0 16px; border: 1px solid var(--line-2); border-radius: 0; z-index: 0; }
.media.reverse .ph.has-img { padding: 0 0 16px 16px; }
.media.reverse .ph.has-img::before { inset: 16px 16px 0 0; }
.ph.sand.has-img::before { border: 0; background: var(--ice); }
.ph img { position: relative; z-index: 1; width: 100%; border-radius: 0; }
.ph.is-tall img { max-height: 640px; width: auto; margin-inline: auto; }
.ph.wide { margin-block: 12px 32px; }
.ph.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; }
.ph.trio::before { display: none; }
.ph.trio img { border-radius: 0; }
.ph:not(.has-img) { aspect-ratio: 1; border-radius: 0; background: linear-gradient(160deg, var(--sky-2), var(--mist)); }
.ph:not(.has-img)::after { content: ""; position: absolute; inset: 0; margin: auto; width: 38%; height: 38%; opacity: .35; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='1.2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  .media { grid-template-columns: minmax(0, 1fr); }
  .media.reverse > figure, .media.reverse > .ph { order: 0; }
  .ph.trio { grid-template-columns: 1fr 1fr; }
}

/* カード */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-block: 8px 32px; }
.card { position: relative; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 0; transition: box-shadow .4s, border-color .4s, transform .4s var(--ease); }
.card:hover { box-shadow: var(--shadow-sm); border-color: transparent; transform: translateY(-3px); }
.card-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 0; background: var(--sky-2); color: var(--blue); margin-bottom: 16px; }
.card-ic svg { width: 26px; height: 26px; }
.card > b { display: block; font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.55; margin-bottom: 8px; }
.card > b a { color: inherit; text-decoration: none; }
.card > b a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.8; margin: 0; }
.card .num { font-family: var(--num); }

/* 表 */
.tbl-wrap { overflow-x: auto; margin-block: 8px 24px; border-top: 1px solid var(--navy); }
.tbl { font-size: 14.5px; min-width: 480px; }
.tbl caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 10px; }
.tbl th, .tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; }
.tbl thead th { background: var(--ice); color: var(--navy); font-weight: 500; font-size: 13.5px; letter-spacing: .08em; }
.tbl tbody th { font-weight: 500; color: var(--navy); background: #fafbfd; width: 38%; }
.tbl tbody th small { color: var(--gray); font-weight: 400; }
.tbl td.num, .tbl .num { font-family: var(--num); font-weight: 600; font-size: 18px; color: var(--navy); text-align: right; white-space: nowrap; letter-spacing: .04em; }
.tbl tr:hover td, .tbl tr:hover th { background: var(--sky-2); }
.tbl-caption { font-size: 13px; color: var(--gray); margin-top: -12px; }
.career { list-style: none; }
.career li { position: relative; padding-left: 16px; }
.career li::before { content: ""; position: absolute; left: 0; top: .9em; width: 6px; height: 1px; background: var(--blue); }

/* 補足 */
.note { padding: 22px 26px; background: var(--sky-2); border-left: 3px solid var(--blue); border-radius: 0; margin-block: 8px 28px; }
.note > b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.note p { font-size: 14.5px; color: #3c4756; margin: 0; }
.note p + p { margin-top: .6em; }
.note.sand { background: var(--ice); border-left-color: var(--gray-2); }

/* ステップ */
.steps { list-style: none; counter-reset: step; margin-block: 8px 32px; }
.steps > li { position: relative; padding: 0 0 26px 68px; counter-increment: step; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 0; background: var(--navy); color: #fff; font-family: var(--en); font-style: italic; font-size: 19px; }
.steps > li::after { content: ""; position: absolute; left: 23px; top: 46px; bottom: 2px; width: 1px; background: var(--line-2); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps > li > b { display: block; font-size: 16.5px; color: var(--navy); line-height: 1.6; padding-top: 6px; }
.steps > li > p { font-size: 14.5px; color: var(--gray); margin: 6px 0 0; }

/* チェックリスト */
.checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px 24px; margin-block: 8px 28px; padding: 22px 26px; background: var(--ice); border-radius: 0; }
.checks li { position: relative; padding-left: 32px; line-height: 1.7; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 0; background: var(--blue); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.25em + 5px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* よくある質問 */
.faq { border-top: 1px solid var(--line); margin-block: 8px 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 44px; font-weight: 500; color: var(--navy); line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 14px; font-family: var(--en); font-style: italic; font-size: 26px; color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { position: relative; padding: 0 16px 22px 44px; color: #3c4756; font-size: 15px; }
.faq .ans::before { content: "A"; position: absolute; left: 6px; top: -8px; font-family: var(--en); font-style: italic; font-size: 26px; color: var(--gray-2); }

/* 関連リンク */
.related { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 0; font-size: 14.5px; font-weight: 500; color: var(--navy); background: #fff; transition: background .3s, color .3s, border-color .3s; }
.related a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 人物 */
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 22px; }
.person { font-size: 14px; color: #3c4756; line-height: 1.8; }
.person .ph { margin-bottom: 14px; padding: 0 !important; }
.person .ph::before { display: none; }
.person .ph img { aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.person > small { display: block; color: var(--blue); font-size: 12.5px; letter-spacing: .06em; }
.person > b { display: block; font-family: var(--mincho); font-weight: 600; font-size: 19px; color: var(--navy); letter-spacing: .08em; margin-bottom: 6px; }
.person > b .en { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 15px; color: var(--gray-2); letter-spacing: .04em; }
.person p { margin-bottom: .6em; }
.director { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 32px; }
.director-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.director-role { font-size: 13px; color: var(--blue); margin-bottom: 4px !important; }
.director-name { font-family: var(--mincho); font-weight: 600; font-size: 30px; color: var(--navy); letter-spacing: .12em; line-height: 1.4; }
.director-name span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 17px; color: var(--gray-2); letter-spacing: .06em; }
@media (max-width: 760px) { .director { grid-template-columns: minmax(0, 1fr); } .director-photo { max-width: 340px; } }

.access-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.access-in .info-list { margin-top: 0; }
@media (max-width: 760px) { .access-in { grid-template-columns: minmax(0, 1fr); } }
.empty { padding: 40px 28px; text-align: center; background: var(--ice); border-radius: 0; color: var(--gray); }
.empty b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }

/* フォーム */
.form { display: grid; gap: 20px; max-width: 760px; }
.field { display: grid; gap: 8px; }
.field > label, .field > span:first-child, .field legend { font-weight: 500; color: var(--navy); font-size: 15px; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 0; font-size: 11.5px; font-weight: 500; vertical-align: 2px; }
.req { background: var(--navy); color: #fff; }
.opt { background: var(--mist); color: var(--gray); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 0; transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,168,.12); }
.form textarea { min-height: 180px; resize: vertical; }
.form button[type="submit"], .form .btn { justify-self: start; }
.form button[type="submit"]:not(.btn) { padding: 17px 44px; background: var(--navy); color: #fff; border-radius: 0; font-weight: 500; letter-spacing: .1em; transition: background .3s; }
.form button[type="submit"]:not(.btn):hover { background: var(--blue); }
.form-note { font-size: 13px; color: var(--gray); }
.form-errors, .form-done { padding: 20px 24px; border-radius: 0; margin-top: 24px; }
.form-errors { background: #fdf1f1; border-left: 3px solid #c24848; }
.form-errors b { color: #a33; }
.form-errors ul { padding-left: 1.2em; margin-top: 6px; font-size: 14.5px; }
.form-done { background: var(--sky-2); border-left: 3px solid var(--blue); }
.form-done b { display: block; color: var(--navy); font-size: 17px; }

/* =====================================================================
   POSTS
   ===================================================================== */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 0; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.cat-nav a small { font-family: var(--num); color: var(--gray-2); font-size: 14px; }
.cat-nav a:hover { border-color: var(--blue); color: var(--blue); }
.cat-nav a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-nav a[aria-current] small { color: #b9cbe0; }
.list-sec { margin-bottom: clamp(56px, 6vw, 88px) !important; }
.list-sec .pcard-title { font-size: 17px; margin: 0; padding: 0; border: 0; font-family: var(--jp); }
.list-sec .pcard-title::after { display: none; }
.case-note { margin-top: 28px !important; font-size: 13px; color: var(--gray); line-height: 1.8; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; font-family: var(--num); font-size: 17px; font-weight: 600; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager-prev, .pager-next { font-family: var(--jp) !important; font-size: 14px !important; font-weight: 500 !important; }

.post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.post-head time { font-family: var(--num); font-weight: 600; font-size: 20px; color: var(--blue); letter-spacing: .06em; margin-right: 6px; }
.post-eyecatch { margin-bottom: 36px; overflow: hidden; border-radius: 0; }
.post-eyecatch img { width: 100%; }
.post-body { font-size: 16px; line-height: 2; }
.post-body > * + * { margin-top: 1.2em; }
.post-body h2 { margin-top: 2.2em; }
.post-body h3 { margin-top: 2em; }
.post-body img { border-radius: 0; margin-block: 8px; }
.post-body blockquote { padding: 18px 24px; background: var(--ice); border-left: 3px solid var(--line-2); color: #3c4756; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.ba-item { position: relative; overflow: hidden; border-radius: 0; background: var(--mist); }
.ba-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-item figcaption { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; align-items: baseline; padding: 4px 14px; border-radius: 0; background: rgba(11,37,69,.82); color: #fff; font-size: 12.5px; }
.ba-item figcaption span { font-family: var(--en); font-style: italic; font-size: 15px; }
.ba-after figcaption { background: var(--blue); }
@media (max-width: 560px) { .ba { grid-template-columns: minmax(0, 1fr); } }
.case-spec { margin-bottom: 36px !important; }
.case-spec .tbl { min-width: 0; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 0; background: #fff; }
.author figure { width: 96px; height: 96px; border-radius: 0; overflow: hidden; }
.author img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.author small { font-size: 12px; color: var(--blue); letter-spacing: .06em; }
.author b { display: block; font-family: var(--mincho); font-weight: 600; font-size: 19px; color: var(--navy); letter-spacing: .1em; line-height: 1.5; }
.author b span { display: block; font-family: var(--jp); font-weight: 400; font-size: 12px; letter-spacing: .04em; color: var(--gray); }
.author p { font-size: 13.5px; color: var(--gray); margin: 8px 0 !important; }
.author a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--blue); }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a small { display: block; font-size: 12px; color: var(--blue); }
.post-nav a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.6; }
.post-nav-next { text-align: right; }
.post-nav-list { padding: 12px 26px; border: 1px solid var(--navy); border-radius: 0; font-size: 14px; color: var(--navy); transition: background .3s, color .3s; }
.post-nav-list:hover { background: var(--navy); color: #fff; }
.post-nav-prev:hover span, .post-nav-next:hover span { color: var(--blue); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta-photo { position: absolute; inset: 0 0 0 45%; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,37,69,.6) 45%, rgba(11,37,69,.2) 100%); }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 7vw, 100px); }
.cta h2 { font-family: var(--mincho); font-weight: 600; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.5; letter-spacing: .08em; }
.cta-copy p { margin-top: 18px; color: rgba(255,255,255,.82); max-width: 520px; }
.cta-actions { display: grid; gap: 14px; padding: 28px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); border-radius: 0; }
.cta-tel { display: grid; text-align: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); }
.cta-tel small { font-size: 12.5px; color: #b9cbe0; }
.cta-tel b { display: inline-flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--num); font-weight: 600; font-size: clamp(34px, 3.4vw, 44px); letter-spacing: .04em; line-height: 1.3; }
.cta-tel b svg { width: 26px; height: 26px; }
.cta-sub { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.82); }
.cta-sub:hover { color: #fff; }
@media (max-width: 860px) { .cta-in { grid-template-columns: minmax(0, 1fr); } .cta-photo { inset: 0; } .cta-photo img { opacity: .25; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ft { position: relative; background: var(--deep); color: #c3cfde; padding-top: clamp(56px, 6vw, 88px); overflow: hidden; font-size: 14px; }
.ft-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.ft-logo img { width: 230px; }
.ft-brand address { margin-top: 20px; line-height: 1.9; font-size: 13.5px; }
.ft-tel { margin: 18px 0 20px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ft-tel a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--num); font-weight: 600; font-size: 30px; color: #fff; }
.ft-tel a svg { width: 20px; height: 20px; }
.ft-tel small { font-size: 12.5px; }
.ft .hours { min-width: 0; font-size: 12.5px; background: transparent; color: #c3cfde; }
.ft .hours th, .ft .hours td { padding: 8px 2px; border-color: rgba(255,255,255,.12); }
.ft .hours thead th { background: rgba(255,255,255,.08); }
.ft .hours tbody th { color: #fff; font-size: 15px; padding-left: 10px; }
.ft .hours thead th:first-child { padding-left: 10px; }
.ft .hours tbody th small { color: #92a3b8; font-size: 10.5px; }
.ft .hours .dot { width: 8px; height: 8px; background: #9ec3ea; }
.ft .hours .is-today { background: rgba(158,195,234,.12); }
.ft-note { margin-top: 10px; font-size: 12.5px; }
.ft-links { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px 28px; align-content: start; }
.ft-col-wide ul { columns: 2; column-gap: 24px; }
.ft-col ul + h4 { margin-top: 26px; }
@media (max-width: 1100px) { .ft-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ft-links { grid-template-columns: minmax(0, 1fr); } }
.ft-col h4 { font-family: var(--mincho); font-weight: 600; color: #fff; font-size: 15px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ft-col h4 span { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 14px; color: #9ec3ea; }
.ft-col ul { list-style: none; }
.ft-col a { display: block; padding: 4px 0; font-size: 13px; transition: color .25s; }
.ft-col a:hover { color: #fff; }
.ft-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.ft-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-style: italic; font-size: 16px; color: #fff; }
.ft-top .arrow { transform: rotate(-90deg); }
.ft-top:hover .arrow { transform: rotate(-90deg) translateX(4px); }
.ft-giant { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); font-family: var(--en); font-style: italic; font-size: clamp(56px, 10vw, 150px); white-space: nowrap; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; }
@media (max-width: 900px) { .ft-in { grid-template-columns: minmax(0, 1fr); } }

/* mobile bar */
.mbar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 90; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -8px 24px -12px rgba(11,37,69,.3); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.2; }
  .mbar a svg { width: 22px; height: 22px; }
  .mbar small { display: block; font-size: 10.5px; font-weight: 400; opacity: .8; }
  .mbar-tel { color: var(--navy); }
  .mbar-web { background: var(--navy); color: #fff; }
}

/* =====================================================================
   動き
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--reveal-delay, 0s), transform 1s var(--ease) var(--reveal-delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .feat.reveal.is-in:nth-child(2) { transform: translateY(56px); }
@media (max-width: 900px) { .js .feat.reveal.is-in:nth-child(2) { transform: none; } }
.js .rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease) var(--reveal-delay, 0s); }
.js .rv-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gallery { overflow-x: auto; }
  .js .reveal, .js .rv-img { opacity: 1; transform: none; clip-path: none; }
}

/* スマホでは診療時間表を画面幅に収める */
@media (max-width: 560px) {
  .hours { min-width: 0; font-size: 12.5px; }
  .hours th, .hours td { padding: 10px 2px; }
  .hours thead th:first-child, .hours tbody th { padding-left: 8px; }
  .hours tbody th { font-size: 15px; }
  .hours .dot { width: 9px; height: 9px; }
}


/* =====================================================================
   角丸を使わない表現（2026-10-05）
   写真の内側に細い白線のフレーム、主要な写真の角にブルーの直線
   ===================================================================== */
.hero-main img, .pg-hero-img img, .h-msg-photo img, .h-imp-photo img, .h-ortho-photo img, .h-visit-photo img, .feat-img img, .doc-main img {
  outline: 1px solid rgba(255,255,255,.55); outline-offset: -14px;
}
.hero-main, .pg-hero-img, .h-ortho-photo, .h-imp-photo, .h-msg-photo { position: relative; }
.hero-main::after, .pg-hero-img::after, .h-ortho-photo::after, .h-imp-photo::after, .h-msg-photo::after {
  content: ""; position: absolute; z-index: 2; left: 0; bottom: 0; width: 72px; height: 72px; pointer-events: none;
  border-left: 3px solid var(--blue-2); border-bottom: 3px solid var(--blue-2);
}
.h-imp-photo::after { border-color: #9ec3ea; }
/* 円形だったものは正方形に */
.stamp { border-radius: 0; box-shadow: var(--shadow), inset 0 0 0 6px #fff, inset 0 0 0 7px var(--blue); }
.stamp-ring { display: none; }
.stamp-in small { margin-bottom: 4px; }
.menu-btn span { left: 14px; right: 14px; }
.card-ic { background: var(--sky-2); box-shadow: inset 0 0 0 1px rgba(37,99,168,.18); }
.steps > li::before { font-style: normal; }
/* ボタンは角を立て、細い線で上質に */
.btn { letter-spacing: .12em; }
.btn-line { border-width: 1px; }
.related a, .cat-nav a, .pager a, .pager span, .post-nav-list, .treat-more a { border-radius: 0; }
.h-ortho-sub { left: 28%; top: auto; bottom: -40px; }
.h-ortho-facts div:last-child dd small { display: block; margin: 2px 0 0; }
@media (max-width: 900px) { .h-ortho-sub { left: auto; } }


/* =====================================================================
   メインビジュアル（コピーを写真に重ね、本日の診療・写真はその下）2026-10-14
   ===================================================================== */
.hero { position: relative; padding-top: var(--hd-h); background: var(--ice); }
.hero h1 { font-weight: inherit; }
.hero-stage { position: relative; display: flex; align-items: center; min-height: min(680px, calc(100svh - var(--hd-h) - 40px)); }
.hero .hero-main { position: absolute; top: 0; bottom: 0; right: 0; left: 16%; margin: 0; overflow: hidden; box-shadow: none; }
.hero .hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 28%; outline: 0; animation: heroZoom 14s ease-out both; }
.hero .hero-main::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ice) 0%, rgba(243,246,250,.92) 18%, rgba(243,246,250,.55) 36%, rgba(243,246,250,0) 52%); }
.hero .hero-main::after { display: none; }
.hero-copy { position: relative; z-index: 2; padding: 48px 0 48px var(--edge); }
.hero-kicker { font-family: var(--en); font-style: italic; color: var(--blue); font-size: 17px; letter-spacing: .08em; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero-kw { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--navy); padding: 5px 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.9); margin-bottom: 22px; }
.hero-catch { display: block; font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: clamp(38px, 5vw, 76px); line-height: 1.36; letter-spacing: .06em; text-shadow: 0 0 24px rgba(255,255,255,.9), 0 0 2px rgba(255,255,255,.9); }
.hero-catch em { font-style: normal; white-space: nowrap; background: linear-gradient(transparent 70%, rgba(61,130,198,.28) 70%); padding-inline: 2px; }
.hero-vertical { position: absolute; z-index: 2; right: 18px; bottom: 40px; writing-mode: vertical-rl; font-family: var(--en); font-size: 13px; letter-spacing: .5em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

/* 写真の下：本日の診療・院内写真・ご案内 */
.hero-under { position: relative; z-index: 3; display: grid; grid-template-columns: 300px 300px minmax(0, 1fr); gap: 20px 28px; align-items: stretch; padding-top: 28px; padding-bottom: 36px; }
.hero .today { position: static; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 24px; min-width: 0; background: #fff; border-left: 3px solid var(--blue); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: none; backdrop-filter: none; }
.today-date { font-size: 13px; color: var(--gray); letter-spacing: .08em; }
.hero .status { font-size: 20px; }
.today-hours { font-family: var(--num); font-weight: 600; font-size: 17px; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.hero .today small { font-size: 11.5px; color: var(--gray); }
.hero .hero-sub { position: relative; left: auto; bottom: auto; width: auto; aspect-ratio: auto; height: 100%; min-height: 170px; border: 0; overflow: hidden; box-shadow: var(--shadow-sm); }
.hero .hero-sub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero-lead { color: #3c4756; font-size: 15px; line-height: 1.9; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-btns .btn-line { font-family: var(--num); font-size: 21px; font-weight: 600; letter-spacing: .04em; padding-block: 14px; }
.hero-btns .btn-line svg { width: 18px; height: 18px; }
.hero-badges { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 16px clamp(24px, 4vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); }
.hero-badges li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero-badges b { font-family: var(--num); font-weight: 600; font-size: clamp(30px, 2.8vw, 40px); color: var(--navy); line-height: 1; }
.hero-badges b small { font-family: var(--jp); font-size: 14px; font-weight: 500; margin-left: 2px; }
.hero-badges span { font-size: 12.5px; line-height: 1.55; color: var(--gray); }

@media (max-width: 1100px) {
  .hero-under { grid-template-columns: 1fr 1fr; }
  .hero-text { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-stage { display: block; min-height: 0; }
  .hero .hero-main { position: relative; left: auto; display: block; aspect-ratio: 4 / 3; }
  .hero .hero-main img { object-position: 78% 30%; }
  .hero .hero-main::before { background: linear-gradient(180deg, rgba(243,246,250,0) 50%, rgba(243,246,250,.8) 80%, var(--ice) 97%); }
  .hero-copy { margin-top: -92px; padding: 0 var(--gutter) 8px; }
  .hero-kicker { display: none; }
  .hero-kw { margin-bottom: 10px; font-size: 12.5px; }
  .hero-vertical { display: none; }
  .hero-under { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 18px; }
  .hero .today { padding: 14px; }
  .hero .status { font-size: 16px; }
  .today-hours { font-size: 14px; white-space: normal; }
  .hero-btns .btn { width: 100%; }
  .hero-badges { justify-content: space-between; gap: 14px; }
  .hero-badges li { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =====================================================================
   SEO・AIO 用の部品（2026-10-14）
   ===================================================================== */
/* このページのポイント（冒頭の要約） */
.summary { margin-block: 0 clamp(32px, 4vw, 48px); padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.summary-title { font-family: var(--mincho); font-weight: 600; color: var(--navy); font-size: 17px; margin-bottom: 10px !important; }
.summary ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 6px; }
.summary li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.75; }
.summary li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
/* 見出し直下の短い答え */
.answer { padding: 14px 18px; background: var(--sky-2); border-left: 3px solid var(--blue); font-weight: 500; color: var(--navy); }
/* 監修者 */
.supervisor { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: clamp(48px, 5vw, 72px); padding: 24px; background: #fff; border: 1px solid var(--line); }
.supervisor figure { width: 88px; height: 88px; overflow: hidden; }
.supervisor img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.supervisor-label { font-size: 12px; color: var(--blue); letter-spacing: .06em; margin: 0 !important; }
.supervisor-name { font-family: var(--mincho); font-weight: 600; font-size: 20px; color: var(--navy); letter-spacing: .1em; line-height: 1.5; margin: 0 !important; }
.supervisor-name small { display: block; font-family: var(--jp); font-weight: 400; font-size: 12px; letter-spacing: .02em; color: var(--gray); }
.supervisor-text { font-size: 13.5px; color: #3c4756; margin: 8px 0 4px !important; }
.supervisor-date { font-size: 12.5px; color: var(--gray); margin: 0 !important; }
.supervisor-date a { color: var(--blue); margin-left: 8px; }
@media (max-width: 560px) { .supervisor { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; } .supervisor figure { width: 64px; height: 64px; } }
/* トップのよくある質問 */
.h-faq { background: var(--ice); }
.h-faq-in { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.h-faq-head p { margin-top: 18px; color: var(--gray); font-size: 15px; }
.h-faq .faq { margin: 0; background: #fff; padding: 4px 24px; border-top: 0; }
.h-faq .faq details:last-child { border-bottom: 0; }
@media (max-width: 860px) { .h-faq-in { grid-template-columns: minmax(0, 1fr); } }
.pager .pager-gap { border: 0; min-width: 20px; padding: 0; color: var(--gray); }
.author-clinic { grid-template-columns: 1fr; }
/* 記事の目次 */
.post-toc { margin: 0 0 36px; }
.post-toc ol { grid-template-columns: 1fr; }
.post-body h2[id] { scroll-margin-top: calc(var(--hd-h) + 16px); }
.post-body .post-toc { margin: 32px 0 40px; } .post-body .post-toc p { margin: 0 0 10px; } .post-body .post-toc ol { padding: 0; margin: 0; list-style: none; }
