/* ==========================================================================
   吉武歯科医院 リニューアルサイト共通CSS (dark / tan design)
   ========================================================================== */

:root {
  /* Brand colors (ロゴ配色ベース) */
  --bg-black: #14120f;
  --bg-dark: #221f1a;
  --bg-dark-alt: #2b2722;
  --tan: #c8b496;
  --tan-deep: #c3ac86;
  --tan-soft: #e8ddc9;
  --olive: #cbb98f;
  --ink: #221f1a;
  --cream: #faf7f1;
  --text-onDark: #f4efe6;
  --text-onDark-muted: #b7ac9c;
  --line-onDark: rgba(244,239,230,0.14);
  --blue-accent: #9fd4e8;      /* ブルーラジカル専用アクセント */
  --blue-accent-soft: rgba(120,190,220,0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.25);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.32);

  --max-width: 1180px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif-jp: "Shippori Mincho", "Noto Serif JP", serif;
  /* 筑紫明朝系の柔らかい明朝体（Shippori Mincho B1 = 筑紫明朝の代替として広く使われるフリーフォント） */
  --font-mincho-heading: "Shippori Mincho B1", "Shippori Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text-onDark);
  background: var(--bg-dark);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
h1, h2 { font-family: var(--font-mincho-heading); letter-spacing: .01em; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--tan-deep);
  color: var(--ink);
  padding: 8px 16px;
  z-index: 300;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Top notice bar ---------- */
.top-bar { background: var(--bg-black); color: var(--text-onDark-muted); font-size: 13px; }
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.top-bar a { color: var(--text-onDark); opacity: 0.95; }
.top-bar .top-bar-tel { font-weight: 700; letter-spacing: 0.02em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,18,15,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-onDark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: 1360px;
  margin: 0 auto;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-onDark);
}
.brand .brand-badge {
  background: var(--cream);
  border-radius: 999px;
  padding: 5px 14px 5px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.brand .brand-badge img { height: 32px; width: auto; display: block; }
.brand .brand-badge .brand-text-jp { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.brand .brand-badge .brand-text-jp small { display: block; font-size: 9px; font-weight: 500; letter-spacing: .04em; color: #6b6249; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.main-nav a, .main-nav .nav-trigger {
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-onDark-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"],
.main-nav .nav-trigger:hover, .main-nav .nav-trigger.is-active {
  color: var(--tan);
  background: rgba(200,180,150,0.08);
}

.nav-item { position: relative; }
.nav-item > .nav-trigger { display: inline-flex; align-items: center; gap: 4px; cursor: default; }
.nav-item > .nav-trigger .caret { font-size: 10px; opacity: 0.7; transition: transform 0.15s ease; }
.nav-item:hover > .nav-trigger .caret, .nav-item:focus-within > .nav-trigger .caret { transform: rotate(180deg); }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 200px;
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item .dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-onDark-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-item .dropdown a:hover {
  color: var(--tan);
  background: rgba(200,180,150,0.08);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--tan-deep); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: rgba(244,239,230,0.05); color: var(--text-onDark); border-color: rgba(244,239,230,0.4); }
.btn-outline:hover { background: rgba(244,239,230,0.12); }
.btn-tel { background: rgba(244,239,230,0.08); color: var(--text-onDark); }
.btn-tel:hover { background: rgba(244,239,230,0.16); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-onDark);
  background: rgba(244,239,230,0.05);
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text-onDark); margin: 0 auto; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (トップページ・カルーセル対応) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #2c2620, #17140f 70%);
  color: var(--text-onDark);
  padding: 76px 0 92px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(15,13,10,0.92) 0%, rgba(15,13,10,0.62) 45%, rgba(40,30,18,0.42) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 15% 85%, rgba(200,180,150,0.10), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-dots {
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  display: flex; gap: 10px; transform: translateX(-50%);
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(244,239,230,0.7); background: transparent;
  cursor: pointer; transition: background .25s, transform .25s;
}
.hero-dots button.is-active { background: var(--tan); transform: scale(1.15); }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,239,230,0.10);
  border: 1px solid rgba(244,239,230,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--tan);
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  color: var(--text-onDark);
}
.hero p.lead {
  font-size: 16.5px;
  max-width: 640px;
  color: var(--text-onDark-muted);
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-outline { background: rgba(244,239,230,0.06); color: var(--text-onDark); border-color: rgba(244,239,230,0.45); }
.hero-actions .btn-outline:hover { background: rgba(244,239,230,0.16); }

/* トップページのヒーローのみ：写真の人物とテキストが重ならないよう右寄せに */
.hero-top .hero-overlay {
  background: linear-gradient(245deg, rgba(15,13,10,0.92) 0%, rgba(15,13,10,0.62) 45%, rgba(40,30,18,0.42) 100%);
}
.hero-top .hero-inner { display: flex; flex-direction: column; align-items: flex-end; }
.hero-top .eyebrow,
.hero-top h1,
.hero-top p.lead { text-align: right; }
.hero-top h1 { max-width: 640px; }
.hero-top .hero-actions { justify-content: flex-end; }
@media (max-width: 720px) {
  .hero-top .hero-inner { align-items: flex-start; }
  .hero-top .eyebrow,
  .hero-top h1,
  .hero-top p.lead { text-align: left; }
  .hero-top .hero-actions { justify-content: flex-start; }
}

.page-hero { padding: 52px 0 64px; }
.page-hero .breadcrumb { font-size: 13px; color: var(--text-onDark-muted); margin-bottom: 14px; }
.page-hero .breadcrumb a { text-decoration: underline; }
.page-hero h1 { font-size: clamp(24px, 3.4vw, 34px); }

/* ---------- Quick nav icon bar ---------- */
.quicknav { background: var(--bg-black); border-top: 1px solid var(--line-onDark); border-bottom: 1px solid var(--line-onDark); }
.quicknav ul { display: grid; grid-template-columns: repeat(8, 1fr); }
.quicknav li { border-right: 1px solid var(--line-onDark); }
.quicknav li:last-child { border-right: none; }
.quicknav a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 12px; font-size: 12.8px; font-weight: 700; color: var(--text-onDark-muted);
  text-align: center;
}
.quicknav a:hover { color: var(--tan); background: rgba(200,180,150,0.05); }
.quicknav svg { width: 24px; height: 24px; stroke: var(--tan); fill: none; stroke-width: 1.6; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-dark-alt); }
.section-mint { background: var(--bg-black); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .kicker {
  display: inline-block;
  font-family: var(--font-serif-jp);
  color: var(--olive);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(22px, 3vw, 30px); color: var(--text-onDark); }
.section-head p { color: var(--text-onDark-muted); margin-top: 12px; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(200,180,150,0.35); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(200,180,150,0.12);
  color: var(--tan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; color: var(--text-onDark); margin-bottom: 10px; }
.card p { color: var(--text-onDark-muted); font-size: 14.5px; margin-bottom: 0; }

.service-card { display: block; }
.service-card.is-feature { border-color: rgba(120,190,220,0.4); }
.service-card.is-feature .icon { background: var(--blue-accent-soft); color: var(--blue-accent); }
.service-card.is-feature h3 { color: var(--blue-accent); }

/* ---------- Numbered flow ---------- */
.flow-list { display: grid; gap: 20px; counter-reset: flow; }
.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  counter-increment: flow;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tan-deep);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.flow-num::before { content: counter(flow); }
.flow-item h3 { color: var(--text-onDark); font-size: 16.5px; margin-bottom: 6px; }
.flow-item .meta { font-size: 13px; color: var(--olive); font-weight: 700; margin-bottom: 6px; }
.flow-item p { color: var(--text-onDark-muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Pillars (concept) ---------- */
.pillar {
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100%;
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-top: 3px solid var(--tan-deep);
}
.pillar-clean { border-top-color: var(--blue-accent); }
.pillar-heart { border-top-color: var(--olive); }
.pillar .en { font-family: var(--font-serif-jp); font-size: 14px; letter-spacing: 0.1em; color: var(--text-onDark-muted); }
.pillar h3 { font-size: 20px; margin: 6px 0 12px; color: var(--text-onDark); }
.pillar p { color: var(--text-onDark-muted); }

/* ---------- Greeting (photo + text) ---------- */
.greeting-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.greeting-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  background-size: cover; background-position: center 30%;
  border: 1px solid var(--line-onDark);
  overflow: hidden;
}
.greeting-text p { color: var(--text-onDark-muted); font-size: 15px; margin: 0 0 16px; }
.greeting-text h2 { margin-bottom: 26px; color: var(--text-onDark); font-size: clamp(22px,3vw,30px); }

/* ---------- 院長紹介（TOPページ） ---------- */
.director-info .role { display: block; font-size: 12.5px; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.director-info h3 { font-size: 20px; margin: 0 0 16px; color: var(--text-onDark); }
.director-info ul { font-size: 13.5px; color: var(--text-onDark-muted); display: grid; gap: 4px; margin: 0 0 18px; }
.director-info ul li::before { content: "・"; color: var(--tan); }
.director-info .comment { font-size: 14.5px; color: var(--text-onDark-muted); border-top: 1px dashed var(--line-onDark); padding-top: 14px; margin-bottom: 24px; }

/* ---------- Feature highlight (ブルーラジカル等) ---------- */
.feature-banner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid rgba(120,170,200,0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
}
.feature-photo {
  background:
    radial-gradient(circle at 30% 30%, rgba(120,190,220,0.28), transparent 55%),
    linear-gradient(160deg, #24303a, #14181c 80%);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  position: relative;
}
.feature-photo svg { width: 34%; height: auto; stroke: var(--blue-accent); fill: none; stroke-width: 1.3; }
.feature-body { padding: 48px; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-accent-soft); border: 1px solid rgba(120,190,220,0.4);
  color: var(--blue-accent); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.feature-body h3 { font-size: 24px; color: var(--text-onDark); margin: 0 0 14px; }
.feature-body p { color: var(--text-onDark-muted); font-size: 14.5px; margin: 0 0 12px; }
.feature-list { margin: 18px 0 26px; display: grid; gap: 8px; }
.feature-list li { font-size: 13.8px; color: var(--text-onDark-muted); padding-left: 20px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-accent); font-weight: 700; }
.feature-price { font-size: 13px; color: var(--text-onDark-muted); margin-bottom: 20px; }
.feature-price strong { font-size: 20px; color: var(--text-onDark); }

/* ---------- Tables (hours / pricing) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line-onDark); }
table { width: 100%; border-collapse: collapse; background: var(--bg-dark-alt); font-size: 14.5px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line-onDark); text-align: center; }
thead th { background: rgba(200,180,150,0.08); color: var(--tan); font-weight: 700; }
tbody th { text-align: left; background: rgba(244,239,230,0.03); font-weight: 700; white-space: nowrap; color: var(--text-onDark); }
td { color: var(--text-onDark-muted); }
tr:last-child td, tr:last-child th { border-bottom: none; }
.table-note { font-size: 13px; color: var(--text-onDark-muted); margin-top: 10px; }

/* ---------- FAQ accordion ---------- */
.faq-group h3 { color: var(--text-onDark); font-size: 17px; margin: 36px 0 16px; }
.faq-group:first-child h3 { margin-top: 0; }
details.faq-item {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 4px 4px;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 20px;
  font-weight: 700;
  color: var(--text-onDark);
  position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--tan);
  font-weight: 400;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-onDark-muted);
  font-size: 14.5px;
}
details.faq-item summary .q-badge {
  display: inline-block;
  color: var(--olive);
  font-family: var(--font-serif-jp);
  margin-right: 8px;
}

/* ---------- Staff cards / strip ---------- */
.staff-card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--line-onDark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
}
.staff-card .staff-photo {
  flex: 0 0 140px;
  width: 140px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #3a3327, #1c1914 80%);
  background-size: cover; background-position: center top;
  display: flex; align-items: center; justify-content: center;
  color: var(--tan);
}
.staff-card .staff-photo svg { width: 40%; height: auto; stroke: var(--tan); fill: none; stroke-width: 1.4; }
.staff-card .staff-body { padding: 20px 22px; flex: 1 1 auto; min-width: 0; }
@media (max-width: 760px) {
  .staff-grid { grid-template-columns: 1fr; }
  .staff-card { flex-direction: column; }
  .staff-card .staff-photo { width: 100%; flex-basis: auto; aspect-ratio: 3 / 2; }
}
.staff-card .role { font-size: 12.5px; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: .04em; }
.staff-card h3 { font-size: 18px; margin: 6px 0 10px; color: var(--text-onDark); }
.staff-card ul { font-size: 13.5px; color: var(--text-onDark-muted); display: grid; gap: 4px; margin-bottom: 10px; }
.staff-card ul li::before { content: "・"; color: var(--tan); }
.staff-card .comment { font-size: 13.5px; color: var(--text-onDark-muted); border-top: 1px dashed var(--line-onDark); padding-top: 10px; }

.staff-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.staff-strip-2 { grid-template-columns: repeat(2, 220px); justify-content: center; gap: 56px; }
.staff-mini { text-align: center; }
.staff-avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: 50%;
  background: linear-gradient(160deg, #3a3327, #1c1914 80%);
  border: 1px solid var(--line-onDark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; overflow: hidden;
}
.staff-avatar svg { width: 42%; height: auto; stroke: var(--tan); fill: none; stroke-width: 1.4; }
.staff-avatar.has-photo { background-size: cover; background-position: center top; }
.staff-mini .role { font-size: 11.5px; color: var(--olive); letter-spacing: .06em; margin-bottom: 4px; }
.staff-mini h4 { font-size: 15px; color: var(--text-onDark); margin: 0; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bg-black), #2c2620);
  border: 1px solid var(--line-onDark);
  color: var(--text-onDark);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { font-size: 22px; margin-bottom: 8px; color: var(--text-onDark); }
.cta-band p { color: var(--text-onDark-muted); margin-bottom: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-outline { background: rgba(244,239,230,0.06); color: var(--text-onDark); border-color: rgba(244,239,230,0.4); }

/* ---------- Notice / news list ---------- */
.notice-list { display: grid; gap: 0; border-top: 1px solid var(--line-onDark); }
.notice-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-onDark);
  font-size: 14.5px;
}
.notice-list time { color: var(--text-onDark-muted); }
.notice-list span > span.tag,
.notice-list .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tan);
  background: rgba(200,180,150,0.10);
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 8px;
}

/* ---------- Access / map ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-onDark); min-height: 320px; filter: saturate(0.85) brightness(0.92); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.info-list { display: grid; gap: 14px; }
.info-list .row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14.5px; }
.info-list .row dt { font-weight: 700; color: var(--tan); }
.info-list .row dd { color: var(--text-onDark-muted); }
.info-list .row a { color: var(--text-onDark); text-decoration: underline; }

/* ---------- Forms ---------- */
form.contact-form { display: grid; gap: 20px; max-width: 720px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14.5px; color: var(--text-onDark); }
.form-row .req { color: var(--olive); font-size: 12px; margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-onDark);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-dark-alt);
  color: var(--text-onDark);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-onDark-muted); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(200,180,150,0.18);
}
.form-note { font-size: 13px; color: var(--text-onDark-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-black); color: var(--text-onDark-muted); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand .brand-text { color: var(--text-onDark); font-size: 17px; font-weight: 700; }
.footer-brand p { color: var(--text-onDark-muted); font-size: 13.5px; margin-top: 12px; }
.footer-logo img { height: 30px; opacity: .9; margin-bottom: 14px; }
.site-footer h4 { font-size: 13px; letter-spacing: .06em; color: var(--olive); margin-bottom: 14px; text-transform: uppercase; font-family: var(--font-serif-jp); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { font-size: 14px; color: var(--text-onDark-muted); }
.site-footer a:hover { color: var(--tan); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-onDark);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-onDark-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,180,150,0.10);
  color: var(--tan);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

/* ---------- Blog ---------- */
.blog-card { display: block; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-meta time { font-size: 12.5px; color: var(--text-onDark-muted); }
.blog-meta .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tan);
  background: rgba(200,180,150,0.10);
  padding: 2px 10px;
  border-radius: 999px;
}
.empty-state {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  border: 1px dashed var(--line-onDark);
  border-radius: var(--radius-lg);
  background: var(--bg-dark-alt);
}
.empty-state .icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(200,180,150,0.10);
  color: var(--tan);
  margin-bottom: 18px;
}
.empty-state h3 { font-size: 18px; color: var(--text-onDark); margin-bottom: 10px; }
.empty-state p { color: var(--text-onDark-muted); font-size: 14.5px; margin-bottom: 0; }

.prose h2 { font-size: 22px; color: var(--text-onDark); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; color: var(--text-onDark); margin: 24px 0 10px; }
.prose p { color: var(--text-onDark-muted); }
.prose ol, .prose ul { margin: 0 0 1em; padding-left: 1.4em; color: var(--text-onDark-muted); }
.prose ol { list-style: decimal; }
.prose ul li { list-style: disc; }
.prose strong { color: var(--text-onDark); }
.callout {
  background: rgba(200,180,150,0.08);
  border-left: 4px solid var(--tan-deep);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 14.5px;
  margin: 20px 0;
  color: var(--text-onDark-muted);
}
.callout strong { color: var(--text-onDark); }
.callout-accent { background: var(--blue-accent-soft); border-left-color: var(--blue-accent); }

/* ---------- タン系ライトテーマ（予防歯科・訪問歯科診療・離乳食教室ページの本文） ---------- */
body.theme-tan main { background: var(--tan-soft); }
body.theme-tan .hero.page-hero { background: var(--tan-soft); }
body.theme-tan .section-soft { background: var(--tan); }
body.theme-tan .page-hero .breadcrumb,
body.theme-tan .page-hero .breadcrumb a,
body.theme-tan .hero .eyebrow,
body.theme-tan .hero h1,
body.theme-tan .hero p.lead {
  color: var(--ink);
}
body.theme-tan .hero .eyebrow {
  background: rgba(34,31,26,0.08);
  border-color: rgba(34,31,26,0.25);
}
body.theme-tan .prose h2,
body.theme-tan .prose h3,
body.theme-tan .prose strong {
  color: var(--ink);
}
body.theme-tan .prose p,
body.theme-tan .prose ol,
body.theme-tan .prose ul {
  color: rgba(34,31,26,0.82);
}
body.theme-tan .card {
  background: var(--cream);
  border-color: rgba(34,31,26,0.12);
}
body.theme-tan .card .icon {
  background: rgba(34,31,26,0.08);
  color: var(--tan-deep);
}
body.theme-tan .card h3 { color: var(--ink); }
body.theme-tan .card p { color: rgba(34,31,26,0.75); }
body.theme-tan .flow-item {
  background: var(--cream);
  border-color: rgba(34,31,26,0.12);
}
body.theme-tan .flow-item h3 { color: var(--ink); }
body.theme-tan .flow-item p { color: rgba(34,31,26,0.75); }
body.theme-tan .flow-item .meta { color: #7a6a3f; }
body.theme-tan .callout {
  background: rgba(255,255,255,0.4);
  border-left-color: var(--ink);
  color: rgba(34,31,26,0.85);
}
body.theme-tan .callout strong { color: var(--ink); }
body.theme-tan table { background: var(--cream); color: var(--ink); }
body.theme-tan thead th { background: rgba(34,31,26,0.08); color: var(--ink); }
body.theme-tan tbody th { background: rgba(34,31,26,0.04); color: var(--ink); }
body.theme-tan .table-note { color: rgba(34,31,26,0.7); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .greeting-grid { grid-template-columns: 1fr; }
  .quicknav ul { grid-template-columns: repeat(4, 1fr); }
  .feature-banner { grid-template-columns: 1fr; }
  .staff-strip { grid-template-columns: repeat(2, 1fr); }
  .staff-strip-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-actions .btn-outline.desktop-only { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-black);
    border-bottom: 1px solid var(--line-onDark);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line-onDark); border-radius: 0; }
  .site-header.nav-open .main-nav .nav-item { display: flex; flex-direction: column; }
  .site-header.nav-open .main-nav .nav-item > .nav-trigger { border-bottom: none; }
  .site-header.nav-open .main-nav .nav-item > .nav-trigger .caret { display: none; }
  .site-header.nav-open .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 8px 16px;
    margin-top: 0;
    border-bottom: 1px solid var(--line-onDark);
    gap: 0;
  }
  .site-header.nav-open .main-nav .dropdown a { padding: 10px 8px; font-size: 13px; color: var(--text-onDark-muted); }
}
@media (max-width: 760px) {
  .header-inner { padding: 12px 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-band { padding: 32px 24px; flex-direction: column; text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .flow-item { grid-template-columns: 40px 1fr; }
  .top-bar .container { justify-content: center; text-align: center; }
  .quicknav ul { grid-template-columns: repeat(3, 1fr); }
  .staff-strip-2 { grid-template-columns: 1fr; max-width: 220px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .notice-list li { grid-template-columns: 1fr; gap: 4px; }
  .info-list .row { grid-template-columns: 1fr; }
}

/* ---------- スクロールフェード表示 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 明るい背景（theme-tan）の本文内で使うアウトラインボタン */
.btn-outline.btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(34,31,26,0.45); }
.btn-outline.btn-outline-dark:hover { background: rgba(34,31,26,0.06); }
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
}
