:root {
  --c-main: #2a7f9e;
  --c-main-dark: #1d5f78;
  --c-main-light: #e6f3f7;
  --c-accent: #f08a3c;
  --c-accent-light: #fff1e5;
  --c-off: #9aa5ab;
  --c-off-bg: #f1f3f4;
  --c-text: #2d3a40;
  --c-text-sub: #5f6f76;
  --c-line: #dbe5e8;
  --c-bg: #ffffff;
  --c-bg-soft: #f6fafb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 80, 100, .08);
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-main); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; margin: 0; }
p { margin: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-en {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-main); font-weight: 700; margin-bottom: 4px;
}
.section-title { font-size: 32px; }
.note { font-size: 13px; color: var(--c-text-sub); margin-top: 28px; line-height: 1.8; }
.pc-only { display: inline; }

/* ---------- 線アイコン ---------- */
.ico {
  width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); }
.logo-mark { width: 48px; height: 48px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.logo-sub { font-size: 10px; letter-spacing: .12em; color: var(--c-text-sub); }
.global-nav { display: flex; gap: 28px; margin-left: auto; }
.global-nav a {
  white-space: nowrap; text-decoration: none; color: var(--c-text); font-weight: 500; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s;
}
.global-nav a:hover { color: var(--c-main); border-color: var(--c-main); }
.header-tel {
  display: flex; flex-direction: column; align-items: center;
  background: var(--c-main); color: #fff; text-decoration: none;
  padding: 8px 20px; border-radius: 999px; line-height: 1.3; transition: .2s;
}
.header-tel:hover { background: var(--c-main-dark); }
.header-tel-label { font-size: 11px; }
.header-tel-num { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.menu-btn { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,0) 75%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 64px 24px;
}
.hero-place {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--c-main);
  border: 1px solid var(--c-main); border-radius: 999px; padding: 2px 14px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(30px, 4.6vw, 52px); color: var(--c-text); margin-bottom: 20px; letter-spacing: .02em; }
.hero-lead { font-size: 17px; color: var(--c-text-sub); margin-bottom: 36px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges li {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 20px; display: flex; flex-direction: column; line-height: 1.5;
  border-top: 4px solid var(--c-main);
}
.hero-badges li:first-child { border-top-color: var(--c-accent); }
.hero-badges strong { font-family: var(--font-head); font-size: 18px; }
.hero-badges li:first-child strong { color: var(--c-accent); }
.hero-badges span { font-size: 12px; color: var(--c-text-sub); }

/* ---------- 診療時間 ---------- */
.hours { background: var(--c-bg-soft); }
.weekend-callout {
  background: var(--c-accent-light);
  border: 2px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 24px 28px 24px 120px; text-align: center; margin: 0 auto 28px; max-width: 860px;
  position: relative;
}
.weekend-mascot {
  position: absolute; left: 18px; bottom: -6px; width: 96px; height: auto;
  transform: rotate(-6deg);
}
.weekend-main { font-family: var(--font-head); font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; }
.weekend-tag {
  display: inline-block; background: var(--c-accent); color: #fff;
  border-radius: 8px; padding: 0 12px; margin-right: 4px;
}
.weekend-main em, .weekend-tag { white-space: nowrap; }
.weekend-main em { font-style: normal; color: var(--c-accent); border-bottom: 3px solid var(--c-accent); }
.weekend-sub { font-size: 14px; color: var(--c-text-sub); margin-top: 6px; }


.table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.hours-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-align: center; font-size: 16px;
}
.hours-table th, .hours-table td { padding: 16px 6px; border-bottom: 1px solid var(--c-line); }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table thead th { background: var(--c-main); color: #fff; font-weight: 700; }
.hours-table thead th.col-weekend { background: var(--c-accent); }
.hours-table thead th.col-off { background: var(--c-off); }
.hours-table tbody th { font-weight: 700; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.hours-table td.col-weekend { background: var(--c-accent-light); }
.hours-table td.col-off { background: var(--c-off-bg); }
.mark-open { color: var(--c-main); font-size: 20px; }
.col-weekend .mark-open { color: var(--c-accent); }
.mark-off { color: var(--c-off); font-size: 14px; font-weight: 700; }

.hours-notes { max-width: 860px; margin: 24px auto 0; display: grid; gap: 10px; }
.hours-notes div { display: flex; gap: 16px; }
.hours-notes dt {
  flex: 0 0 80px; font-weight: 700; color: var(--c-main-dark);
  background: var(--c-main-light); border-radius: 6px; text-align: center; height: fit-content;
}
.hours-notes dd { margin: 0; font-size: 15px; }

/* ---------- 診療カレンダー ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cal-block { max-width: 1000px; margin: 56px auto 0; }
.cal-heading { font-size: 22px; text-align: center; margin-bottom: 14px; }
.cal-legend { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--c-line); }
.lg-closed { background: #f6dede; border-color: #ecc4c4; }
.lg-half { background: linear-gradient(180deg, #fff 50%, #f6dede 50%); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal-month { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px 16px; }
.cal-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--c-main-dark); margin-bottom: 10px; line-height: 1; }
.cal-title span { font-size: 14px; color: var(--c-text-sub); margin-right: 6px; font-weight: 500; }
.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-table th { font-size: 12px; font-weight: 700; color: var(--c-text-sub); padding: 4px 0 8px; }
.cal-table th.sun { color: #c2463c; }
.cal-table th.sat { color: var(--c-main); }
.cal-table td {
  height: 68px; vertical-align: top; padding: 4px; border: 1px solid var(--c-line);
  font-size: 13px; position: relative;
}
.cal-table td.empty { background: var(--c-bg-soft); }
.cal-d { display: block; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.4; }
.cal-table td.sun .cal-d { color: #c2463c; }
.cal-table td.sat .cal-d { color: var(--c-main); }
.cal-table td.is-closed { background: #f6dede; }
.cal-table td.is-half { background: linear-gradient(180deg, transparent 55%, #f6dede 55%); }
.cal-st { display: block; font-size: 10px; color: #a33a32; line-height: 1.3; }
.cal-table td.is-half .cal-st { color: #a33a32; }
.cal-tag {
  display: inline-block; font-size: 10px; font-weight: 700; line-height: 1.5;
  padding: 0 5px; border-radius: 4px; margin: 2px 2px 0 0; white-space: nowrap;
}
.tag-ortho { background: var(--c-accent); color: #fff; }
.tag-perio { background: #3f8f6b; color: #fff; }
.cal-table td.is-today { outline: 3px solid var(--c-main); outline-offset: -3px; }
.cal-table td.is-today .cal-d::after {
  content: "今日"; font-size: 10px; color: #fff; background: var(--c-main);
  border-radius: 4px; padding: 0 4px; margin-left: 4px; vertical-align: 1px;
}
.cal-table td.is-past { opacity: .45; }
.cal-note { text-align: center; }
.ortho-upcoming {
  margin-top: 20px; background: var(--c-accent-light); border-radius: var(--radius);
  padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
}
.ou-title { font-weight: 700; color: #b85a14; display: flex; align-items: center; gap: 8px; }
.ou-title .cal-tag { font-size: 12px; margin: 0; }
.ou-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.ou-list li { background: #fff; border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-line); }
.news-list li {
  display: grid; grid-template-columns: auto auto 1fr; gap: 8px 18px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--c-line);
}
.news-list time { font-size: 14px; color: var(--c-text-sub); font-variant-numeric: tabular-nums; }
.news-cat {
  font-size: 12px; font-weight: 700; padding: 1px 12px; border-radius: 999px;
  background: var(--c-main-light); color: var(--c-main-dark); white-space: nowrap;
}
.news-cat.cat-ortho { background: var(--c-accent-light); color: #b85a14; }

/* ---------- 特徴 ---------- */
.features { background: var(--c-bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body { padding: 24px 26px 30px; }
.feature-num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--c-main); line-height: 1; margin-bottom: 10px; }
.feature-body h3 { font-size: 20px; margin-bottom: 12px; }
@media (min-width: 901px) { .feature-body h3 { font-size: clamp(14px, 1.55vw, 18px); } }
.feature-body p:last-child { font-size: 15px; color: var(--c-text-sub); }

/* ---------- 院内紹介 ---------- */
.clinic-movie { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #f4f5f0; }
.clinic-movie video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (prefers-reduced-motion: reduce) { .clinic-movie video { animation: none; } }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-main-light); }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-tall img { aspect-ratio: auto; height: 100%; }
.gallery-grid.is-pair { grid-template-columns: 2fr 1fr; }
.gallery-grid.is-pair .g-wide { grid-column: auto; }
.gallery-grid.is-pair .g-tall { grid-row: auto; }
.gallery-grid.is-pair img { height: 100%; aspect-ratio: auto; }
.gallery-grid figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255,255,255,.92); color: var(--c-text);
  font-size: 13px; font-weight: 500; padding: 2px 12px; border-radius: 999px;
}

/* ---------- 診療案内 ---------- */
.treatment-banner { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.treatment-banner img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 60%; }
.tb-text {
  position: absolute; left: 40px; bottom: 36px;
  font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.6; color: var(--c-main-dark);
  background: rgba(255,255,255,.82); border-radius: 12px; padding: 14px 22px;
}
.treatment-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treatment-item {
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 24px;
  transition: .2s; background: #fff;
}
.treatment-item:hover { border-color: var(--c-main); box-shadow: var(--shadow); transform: translateY(-2px); }
.t-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-main-light); color: var(--c-main); margin-bottom: 14px;
  transition: background .2s, color .2s;
}
.t-icon svg {
  width: 28px; height: 28px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.treatment-item:hover .t-icon { background: var(--c-main); color: #fff; }
.treatment-item h3 { font-size: 19px; margin-bottom: 8px; }
.treatment-item p { font-size: 14px; color: var(--c-text-sub); }

/* ---------- 歯科医師 ---------- */
.doctors { background: var(--c-bg-soft); }
.director {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; margin-bottom: 32px;
}

.director-photo { width: 100%; height: auto; aspect-ratio: 720 / 816; object-fit: cover; border-radius: var(--radius); box-shadow: 10px 10px 0 var(--c-main-light); }
.role { font-size: 13px; font-weight: 700; color: var(--c-main); }
.director h3 { font-size: 28px; margin: 4px 0 20px; }
.kana { font-size: 14px; color: var(--c-text-sub); font-weight: 500; margin-left: 8px; }
.career { list-style: none; padding: 0; margin: 0 0 16px; }
.career li { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--c-line); font-size: 15px; }
.career span { flex: 0 0 60px; font-weight: 700; color: var(--c-main-dark); }
.director-extra { font-size: 15px; }
.doctor-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.doctor-card {
  display: grid; grid-template-columns: 120px 240px 1fr; gap: 32px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 24px 32px; box-shadow: var(--shadow);
}
.kyusei { font-size: 13px; font-weight: 500; color: var(--c-text-sub); white-space: nowrap; }
.doctor-origin { font-size: 14px; color: var(--c-text-sub); }
.doctor-career { list-style: none; padding: 0 0 0 28px; margin: 0; border-left: 1px dashed var(--c-line); }
.doctor-career li { display: flex; gap: 14px; padding: 6px 0; font-size: 14px; border-bottom: 1px dashed var(--c-line); }
.doctor-career li:last-child { border-bottom: 0; }
.doctor-career li > span:first-child { flex: 0 0 52px; white-space: nowrap; font-weight: 700; color: var(--c-main-dark); }
.doctor-photo { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; }
.doctor-photo.is-placeholder {
  display: grid; place-items: center; background: var(--c-main-light); color: #a9cbd7;
}
.doctor-photo.is-placeholder svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.doctor-card h3 { font-size: 22px; margin: 2px 0 10px; }
.doctor-card .role { font-size: 13px; }

/* ---------- 著書 ---------- */
.book-box {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center;
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 40px;
}
.book-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 8px 8px 0 var(--c-main-light), 0 4px 14px rgba(0,0,0,.12); }
.book-label { font-size: 15px; color: var(--c-text-sub); margin-bottom: 10px; }
.book-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.book-title span { font-size: 16px; color: var(--c-text-sub); }
.book-author { font-size: 14px; margin-bottom: 14px; }
.book-body > p:not([class]) { font-size: 15px; color: var(--c-text-sub); }
.book-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.book-links a {
  text-decoration: none; font-size: 14px; font-weight: 700;
  border: 1px solid var(--c-main); border-radius: 999px; padding: 8px 20px; transition: .2s;
}
.book-links a:first-child { background: var(--c-main); color: #fff; }
.book-links a:hover { opacity: .8; }

/* ---------- アクセス ---------- */
.access { background: var(--c-bg-soft); }
.access-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.access-media { display: grid; gap: 16px; align-content: start; }
.parking-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--c-main-light); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.route-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.route-links-title {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--c-main-dark); font-size: 15px;
}
.route-links-title .ico { color: var(--c-main); }
.route-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--c-main); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.4;
  border-radius: 999px; padding: 11px 10px; transition: background .2s;
}
.route-btn:hover { background: var(--c-main-dark); }
.route-btn:not(.is-main) { background: #fff; color: var(--c-main-dark); border: 2px solid var(--c-main); }
.route-btn:not(.is-main):hover { background: var(--c-main-light); }
@media (min-width: 901px) {
  .route-links { grid-template-columns: 1fr 1fr; }
  .route-btn.is-main { grid-column: 1 / -1; font-size: 17px; padding: 15px 20px; }
}
.info-list { margin: 0 0 24px; background: #fff; border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow); }
.info-list div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { flex: 0 0 64px; font-weight: 700; color: var(--c-main-dark); }
.info-list dd { margin: 0; }
.route { margin-bottom: 18px; }
.route h3 { font-size: 17px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.route h3 .ico { color: var(--c-main); width: 22px; height: 22px; }
.route p { font-size: 14px; color: var(--c-text-sub); }
.route-help { font-size: 14px; font-weight: 700; color: var(--c-main-dark); }

/* ---------- 連絡 ---------- */
.contact { background: var(--c-main); color: #fff; padding: 56px 0 64px; text-align: center; }
.contact-mascot { width: 110px; height: auto; margin: 0 auto 8px; }
.contact-lead { font-family: var(--font-head); font-size: 20px; }
.contact-tel {
  display: inline-block; color: #fff; text-decoration: none;
  font-size: clamp(34px, 6vw, 52px); font-weight: 700; letter-spacing: .04em; margin: 14px 0 6px; line-height: 1.6;
}
.tel-ico { width: .72em; height: .72em; margin-right: .2em; vertical-align: -0.02em; stroke-width: 2; }
.furi { position: relative; display: inline-block; line-height: 1; }
.furi::before {
  content: attr(data-k); position: absolute; left: 0; right: 0; bottom: 100%;
  margin-bottom: .02em; text-align: center; line-height: 1;
  font-family: var(--font-head); font-size: .3em; font-weight: 700; letter-spacing: 0;
}
.contact-sub { font-size: 14px; opacity: .9; }
.contact-mail { color: #fff; font-weight: 700; font-size: 16px; }

/* ---------- フッター ---------- */
.site-footer { background: #23343b; color: #c9d5da; font-size: 14px; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-family: var(--font-head); font-size: 20px; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.footer-hours { text-align: right; }
.copyright { text-align: center; font-size: 12px; margin-top: 32px; opacity: .7; }

.mobile-bar { display: none; }

/* ---------- 診療案内：矯正リンク ---------- */
.treatment-item.is-featured { border-color: var(--c-main); background: var(--c-main-light); }
.treatment-item.is-featured .t-icon { background: #fff; }
.t-more {
  display: inline-flex; white-space: nowrap; width: fit-content; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700;
  text-decoration: none; color: var(--c-main-dark);
}
.t-more span { transition: transform .2s; }
.t-more:hover span { transform: translateX(4px); }
.global-nav a[aria-current="page"] { color: var(--c-main); border-color: var(--c-main); }

/* ---------- 下層ページ共通 ---------- */
.sp-only { display: none; }
.bg-soft { background: var(--c-bg-soft); }
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(240,138,60,.12), transparent 40%),
    linear-gradient(135deg, var(--c-main-light), #f3faf8);
  padding: 56px 0 64px; text-align: center;
}
.breadcrumb { font-size: 13px; color: var(--c-text-sub); margin-bottom: 28px; text-align: left; }
.breadcrumb a { color: var(--c-text-sub); }
.breadcrumb span { margin: 0 8px; }
.page-title { font-size: clamp(32px, 5vw, 44px); margin-bottom: 12px; }
.page-lead { font-family: var(--font-head); font-size: clamp(17px, 2.4vw, 22px); color: var(--c-main-dark); }
.title-note { font-size: .55em; color: var(--c-text-sub); margin-left: 4px; }
.sub-title { font-size: 20px; margin: 48px 0 6px; }

/* 目標 */
.goal-intro { text-align: center; font-size: 17px; margin-bottom: 32px; }
.goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.goal-item {
  position: relative; background: #fff; border: 2px solid var(--c-main-light);
  border-radius: var(--radius); padding: 32px 28px 28px; text-align: center;
}
.goal-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--c-main); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-head);
}
.goal-item h2 { font-size: 22px; margin-bottom: 8px; color: var(--c-main-dark); }
.goal-item p { font-size: 15px; color: var(--c-text-sub); text-align: left; }
.ortho-figure { margin: 40px 0 0; }
.ortho-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.ortho-figure figcaption { font-size: 14px; color: var(--c-text-sub); margin-top: 10px; text-align: center; }
.ortho-days { margin: 32px 0 0; }
.ortho-days div {
  display: flex; gap: 20px; align-items: center;
  background: var(--c-accent-light); border-radius: var(--radius); padding: 18px 24px;
}
.ortho-days dt { flex: none; font-weight: 700; color: #b85a14; }
.ortho-days dd { margin: 0; font-size: 15px; }

/* お悩み */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--c-main);
}
.case-tag { font-size: 12px; font-weight: 700; color: var(--c-main); margin-bottom: 2px; }
.case-card h3 { font-size: 22px; margin-bottom: 12px; }
.case-point { font-weight: 700; }
.case-point span { background: linear-gradient(transparent 62%, var(--c-accent-light) 62%); }
.case-card p:last-child { font-size: 15px; color: var(--c-text-sub); margin-top: 10px; }

/* 担当医 */
.ortho-doctor {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 40px;
}
.od-profile { border-right: 1px dashed var(--c-line); padding-right: 40px; }
.od-photo { width: 180px; height: auto; aspect-ratio: 374 / 530; object-fit: cover; border-radius: var(--radius); box-shadow: 8px 8px 0 var(--c-main-light); margin-bottom: 18px; }
.od-profile h3 { font-size: 26px; margin: 2px 0 16px; }
.od-label { font-size: 13px; font-weight: 700; color: var(--c-main-dark); margin-top: 20px; }
.od-society { margin: 6px 0 0; padding-left: 1.2em; font-size: 14px; }
.od-message p { margin-bottom: 1em; font-size: 15px; }
.od-lead {
  font-family: var(--font-head); font-size: 20px !important; font-weight: 700; line-height: 1.7;
  color: var(--c-main-dark); border-left: 4px solid var(--c-accent); padding-left: 16px;
}
.od-sign { text-align: right; font-family: var(--font-head); font-weight: 700; }

/* 流れ */
.flow { list-style: none; padding: 0; margin: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: var(--c-line); }
.flow li { position: relative; display: flex; gap: 24px; padding-bottom: 28px; }
.flow li:last-child { padding-bottom: 0; }
.flow-num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-main); color: var(--c-main);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; z-index: 1;
}
.flow li > div { background: #fff; border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow); flex: 1; }
.flow h3 { font-size: 19px; margin-bottom: 4px; }
.flow li > div > p { font-size: 15px; color: var(--c-text-sub); }
.flow-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.flow-sub > div { border: 1px solid var(--c-line); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.fs-title { font-weight: 700; }
.nowrap { white-space: nowrap; }
.flow-sub > div > p:not([class]) + p:not([class]) { margin-top: 6px; }
.fs-time { display: inline-block; font-size: 12px; font-weight: 700; color: #b85a14; background: var(--c-accent-light); border-radius: 999px; padding: 0 10px; margin: 4px 0 6px; }

/* 費用 */
.price-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.price-table th, .price-table td { padding: 18px 8px; border-bottom: 1px solid var(--c-line); }
.price-table th { text-align: left; font-weight: 500; }
.price-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 20px; }
.price-desc { font-size: 14px; color: var(--c-text-sub); margin-bottom: 16px; }
.total-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.total-grid li { background: var(--c-main-light); border-radius: var(--radius); padding: 20px; text-align: center; }
.tg-term { font-weight: 700; }
.tg-count { font-size: 13px; color: var(--c-text-sub); }
.tg-price { font-size: 26px; font-weight: 700; color: var(--c-main-dark); font-variant-numeric: tabular-nums; margin-top: 4px; }
.tg-price span { font-size: 14px; margin-left: 2px; }
.info-box { margin-top: 40px; border: 2px solid var(--c-accent); border-radius: var(--radius); padding: 24px 28px; }
.info-box h3 { font-size: 18px; color: #b85a14; margin-bottom: 8px; }
.info-box p { font-size: 15px; }
.info-box p + p { margin-top: 8px; }
.note-list { margin: 28px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--c-text-sub); }
.note-list li { margin-bottom: 6px; }

/* リスク */
.risk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.risk-list li {
  background: #fff; border-radius: 10px; padding: 14px 18px 14px 44px; position: relative; font-size: 15px;
}
.risk-list li::before {
  content: "!"; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* ---------- 院長プロフィール ---------- */
.profile-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: var(--c-main); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 11px 24px; transition: background .2s;
}
.profile-btn:hover { background: var(--c-main-dark); }
.profile-btn span { transition: transform .2s; }
.profile-btn:hover span { transform: translateX(4px); }
.profile-name { font-size: 28px; margin: 4px 0 20px; }
.essay-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.essay-card {
  display: block; height: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 24px; text-decoration: none; color: var(--c-text); border-left: 4px solid var(--c-main); transition: transform .2s;
}
.essay-card:hover { transform: translateY(-2px); }
.essay-card h3 { font-size: 18px; margin-bottom: 6px; }
.essay-card p { font-size: 14px; color: var(--c-text-sub); }
.essay-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--c-main-dark); }
.back-link { margin-top: 32px; text-align: center; }
.back-link a { font-weight: 700; color: var(--c-main-dark); }

/* ---------- タブレット ---------- */
/* ヘッダーはメニューが1行に収まらない幅からハンバーガーに切り替え */
@media (max-width: 1180px) {
  .header-tel { margin-left: auto; }
  .header-tel + .menu-btn { margin-left: 0; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--c-text); border-radius: 2px; transition: .25s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav a { padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
}

@media (max-width: 1080px) {
  .doctor-card { grid-template-columns: 110px 190px 1fr; gap: 22px; padding: 22px 24px; }
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 26px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .logo-name { font-size: 17px; }
  .logo-mark { width: 40px; height: 40px; }
  .header-tel { display: none; }
  .menu-btn { margin-left: auto !important; }

  .pc-only { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero::before { display: none; }
  .hero-photo { position: relative; aspect-ratio: 16 / 10; height: auto; }
  .hero-content { padding: 32px 16px 48px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }
  .hero-badges { gap: 8px; }
  .hero-badges li { flex: 1 1 0; padding: 10px 8px; text-align: center; min-width: 0; }
  .hero-badges strong { font-size: 14px; }
  .hero-badges span { font-size: 10px; }

  .weekend-callout { padding: 18px 16px 18px 84px; text-align: left; }
  .weekend-mascot { width: 68px; left: 10px; bottom: 8px; }
  .hours-table { font-size: 14px; }
  .hours-table th, .hours-table td { padding: 12px 2px; }
  .hours-table tbody th { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  .mark-open { font-size: 16px; }
  .mark-off { font-size: 12px; }

  .cal-block { margin-top: 40px; }
  .cal-months { grid-template-columns: 1fr; gap: 16px; }
  .cal-month { padding: 14px 8px 10px; }
  .cal-legend { font-size: 12px; gap: 6px 12px; }
  .cal-table td { height: 58px; padding: 2px; font-size: 12px; }
  .cal-st { font-size: 9px; }
  .cal-tag { font-size: 9px; padding: 0 3px; margin-right: 0; }
  .cal-table td.is-today .cal-d::after { display: none; }
  .news-list li { grid-template-columns: auto 1fr; }
  .news-list p { grid-column: 1 / -1; }

  .feature-grid, .treatment-grid { grid-template-columns: 1fr; }
  .treatment-banner img { height: 180px; object-position: 70% 60%; }
  .tb-text { left: 14px; bottom: 14px; font-size: 16px; padding: 10px 14px; }
  .treatment-grid { gap: 12px; }
  .treatment-item { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .t-icon { grid-row: span 2; margin: 0; }
  .t-more { grid-column: 2; margin-top: 8px; }

  .director { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .director-photo { max-width: 240px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .gallery-grid .g-tall { grid-row: auto; }
  .gallery-grid .g-tall img { aspect-ratio: 16 / 10; height: auto; }
  .gallery-grid.is-pair { grid-template-columns: 1fr 1fr; }
  .gallery-grid.is-pair .g-wide { grid-column: span 2; }
  .gallery-grid.is-pair .g-wide img { aspect-ratio: 16 / 10; height: auto; }
  .gallery-grid.is-pair .g-tall { grid-column: span 2; }
  .gallery-grid.is-pair .g-tall img { aspect-ratio: 4 / 3; height: auto; }
  .gallery-grid figcaption { font-size: 11px; left: 8px; bottom: 8px; padding: 1px 8px; }
  .doctor-grid { gap: 12px; }
  .doctor-card { grid-template-columns: 108px 1fr; gap: 14px; padding: 18px 16px; align-items: center; }
  .doctor-card .doctor-photo { display: none; }
  .doctor-career { padding: 0 0 0 14px; }
  .doctor-career li { font-size: 12px; padding: 4px 0; gap: 8px; line-height: 1.6; }
  .doctor-career li > span:first-child { flex: 0 0 auto; min-width: 3.4em; white-space: nowrap; }
  .doctor-origin { font-size: 12px; }
  .doctor-card h3 { font-size: 18px; margin-bottom: 4px; }
  .doctor-card .role { font-size: 11px; line-height: 1.5; }

  .book-box { grid-template-columns: 1fr; gap: 24px; padding: 24px; text-align: center; }
  .book-cover { max-width: 180px; width: 100%; margin: 0 auto; }
  .book-links { justify-content: center; }

  .access-grid { grid-template-columns: 1fr; gap: 24px; }
  .map, .map iframe { min-height: 300px; }
  .route-links { grid-template-columns: 1fr; }
  .route-btn { font-size: 15px; padding: 12px; }

  .footer-hours { text-align: left; }
  .essay-grid { grid-template-columns: 1fr; }
  .profile-name { font-size: 24px; }
  .director-body { text-align: left; }

  .sp-only { display: inline; }
  .page-hero { padding: 32px 0 44px; }
  .breadcrumb { margin-bottom: 18px; }
  .goal-intro { font-size: 15px; text-align: left; }
  .goal-grid, .case-grid, .flow-sub, .total-grid { grid-template-columns: 1fr; }
  .goal-grid { gap: 28px; }
  .ortho-days div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .case-card { padding: 22px; }
  .ortho-doctor { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .od-profile { border-right: 0; padding-right: 0; border-bottom: 1px dashed var(--c-line); padding-bottom: 24px; }
  .od-lead { font-size: 17px !important; }
  .od-photo { width: 160px; }
  .flow::before { left: 21px; }
  .flow li { gap: 14px; }
  .flow-num { width: 44px; height: 44px; font-size: 14px; }
  .flow li > div { padding: 16px; }
  .price-table td { font-size: 17px; }
  .total-grid li { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; padding: 14px 18px; }
  .tg-count { grid-row: 2; }
  .tg-price { grid-row: 1 / 3; grid-column: 2; font-size: 22px; margin: 0; }
  .info-box { padding: 20px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; height: 60px;
    text-decoration: none; font-weight: 700; font-size: 16px; gap: 6px;
  }
  .mobile-bar .ico { width: 20px; height: 20px; stroke-width: 1.8; }
  .mb-tel { background: var(--c-accent); color: #fff; }
  .mb-map { background: #fff; color: var(--c-main-dark); }
}
