/* ==========================================================================
   西岡行政書士法人 コーポレートサイト デモ — 共通スタイル
   ========================================================================== */

:root {
  --enji: #8C2331;
  --enji-dark: #6b1a26;
  --enji-light: #a83a48;
  --enji-tint: #f7e9ea;
  --cream: #FAF7F2;
  --charcoal: #2B2B2B;
  --gray: #6b6459;
  --gray-light: #9c948a;
  --gold: #C9A66B;
  --gold-dark: #a8854f;
  --border: #e6ddd0;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(43, 33, 24, 0.08);
  --shadow-lg: 0 16px 48px rgba(43, 33, 24, 0.14);
  --radius: 6px;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --header-h: 110px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.5; color: var(--charcoal); }

.section { padding: 88px 0; }
.section--tint { background: var(--enji-tint); }
.section--charcoal { background: var(--charcoal); color: #f1ece3; }
.section--charcoal h2 { color: #fff; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--enji);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 15.5px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--enji); color: #fff; box-shadow: 0 6px 18px rgba(140,35,49,0.28); }
.btn--primary:hover { background: var(--enji-dark); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--enji); border-color: var(--enji); }
.btn--outline:hover { background: var(--enji); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: #fff; color: var(--charcoal); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- ヘッダー ---------- */
.topbar {
  background: var(--charcoal);
  color: #d8cfc2;
  font-size: 12.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: var(--gold); }
.topbar-tel { color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.site-header .container { max-width: 1360px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border: 2px solid var(--enji);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--enji);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text .brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 18px; color: var(--charcoal); white-space: nowrap; }
.brand-text .brand-sub { font-size: 11px; color: var(--gray); letter-spacing: 0.08em; white-space: nowrap; }
.brand { flex-shrink: 0; }
.header-tel { white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav ul { display: flex; gap: 18px; font-size: 14px; font-weight: 500; }
.main-nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--enji); transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--enji); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel .num { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--enji); }
.header-tel .lbl { font-size: 10.5px; color: var(--gray); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none; border: none;
  z-index: 600;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--charcoal); transition: all 0.25s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: var(--header-h); right: -100%;
  width: min(320px, 82vw);
  height: calc(100vh - var(--header-h));
  background: #fff;
  z-index: 550;
  padding: 30px 30px 30px;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  overflow-y: auto;
}
.mobile-drawer.is-open { right: 0; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-drawer .btn { margin-top: 24px; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20,15,10,0.45);
  z-index: 540; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  color: #fff;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(43,20,24,0.88) 0%, rgba(43,20,24,0.62) 55%, rgba(43,20,24,0.35) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.18em; color: var(--gold); font-weight: 700; margin-bottom: 20px; }
.hero h1 { font-size: 42px; color: #fff; margin-bottom: 20px; }
.hero p { font-size: 16px; color: #eee2d8; margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex; align-items: flex-end;
  color: #fff;
  background-size: cover; background-position: center;
  padding-bottom: 46px;
}
.page-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(43,20,24,0.55) 0%, rgba(43,20,24,0.86) 100%); }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: #e7d9c8; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: 34px; }
.page-hero .lead { color: #eee2d8; margin-top: 10px; max-width: 560px; font-size: 15px; }

/* ---------- カード類 ---------- */
.grid { display: grid; gap: 28px; }
.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: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-card { padding: 34px 28px; }
.service-card .icon-wrap {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--enji-tint); color: var(--enji);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 16px; }
.service-card .more { color: var(--enji); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; }

.reason-card { text-align: center; padding: 30px 20px; }
.reason-card .num { font-family: var(--font-serif); font-size: 34px; color: var(--gold); margin-bottom: 8px; }
.reason-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.reason-card p { color: var(--gray); font-size: 13.8px; }

.photo-card { overflow: hidden; }
.photo-card img { height: 220px; width: 100%; object-fit: cover; }
.photo-card .body { padding: 22px; }

/* ---------- 代表挨拶 ---------- */
.rep-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.rep-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.rep-photo img { width: 100%; height: 380px; object-fit: cover; }
.rep-photo .badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,0.94); padding: 12px 16px; border-radius: 4px;
  font-size: 12.5px; color: var(--charcoal);
}
.rep-copy .name { font-family: var(--font-serif); font-size: 24px; margin-bottom: 4px; }
.rep-copy .role { color: var(--enji); font-weight: 700; font-size: 13.5px; margin-bottom: 18px; letter-spacing: 0.05em;}
.rep-copy p { margin-bottom: 14px; color: #4b453d; }
.rep-copy .sign { margin-top: 20px; font-family: var(--font-serif); font-size: 17px; }

/* ---------- 相談診断ツール ---------- */
.diagnostic {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 44px; border: 1px solid var(--border);
}
.diagnostic-head { text-align: center; margin-bottom: 30px; }
.diagnostic-head h3 { font-size: 22px; margin-bottom: 8px; }
.diagnostic-head p { color: var(--gray); font-size: 14px; }
.diag-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 34px; }
.diag-progress span { width: 40px; height: 4px; border-radius: 2px; background: var(--border); transition: background 0.2s ease; }
.diag-progress span.is-active { background: var(--enji); }
.diag-step { display: none; }
.diag-step.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(8px);} to {opacity:1; transform:translateY(0);} }
.diag-step h4 { text-align: center; font-size: 18px; margin-bottom: 24px; }
.diag-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diag-options button {
  background: var(--cream); border: 2px solid var(--border); border-radius: 8px;
  padding: 22px 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--charcoal);
  transition: all 0.2s ease;
}
.diag-options button:hover, .diag-options button.is-selected { border-color: var(--enji); background: var(--enji-tint); color: var(--enji); }
.diag-options button .icon-wrap { width: 44px; height: 44px; margin: 0 auto 10px; background:#fff; border-radius:50%; display:flex;align-items:center;justify-content:center; color: var(--enji);}
.diag-result { text-align: center; }
.diag-result .icon-wrap { width: 70px; height: 70px; background: var(--enji-tint); color: var(--enji); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.diag-result h4 { font-size: 20px; margin-bottom: 10px; }
.diag-result p { color: var(--gray); margin-bottom: 24px; }
.diag-back { display:block; text-align:center; margin-top:18px; font-size: 13px; color: var(--gray); }
.diag-back:hover { color: var(--enji); }

/* ---------- お客様の声 ---------- */
.testi-slider { position: relative; max-width: 760px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform 0.4s ease; }
.testi-slide { min-width: 100%; padding: 8px; }
.testi-card { background: #fff; border-radius: 10px; padding: 40px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); }
.testi-card .stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 3px; }
.testi-card p.quote { font-size: 15.5px; color: #4b453d; margin-bottom: 22px; font-style: italic; }
.testi-card .who { font-weight: 700; font-size: 14px; }
.testi-card .who span { color: var(--gray); font-weight: 400; font-size: 12.5px; display:block; margin-top:2px;}
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display:flex; align-items:center; justify-content:center; }
.testi-nav button:hover { background: var(--enji); color: #fff; border-color: var(--enji); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.testi-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.testi-dots span.is-active { background: var(--enji); width: 22px; border-radius: 4px; }

/* 事例カード + フィルター（実績ページ） */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-bar button {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; font-size: 13.5px; font-weight: 700; color: var(--gray);
}
.filter-bar button:hover { border-color: var(--enji); color: var(--enji); }
.filter-bar button.is-active { background: var(--enji); border-color: var(--enji); color: #fff; }
.case-card { padding: 0; overflow: hidden; }
.case-card .tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--enji);
  background: var(--enji-tint); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.case-card .body { padding: 26px; }
.case-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.case-card p { font-size: 13.8px; color: var(--gray); }
.case-card[hidden] { display: none; }

/* ---------- アコーディオン(FAQ) ---------- */
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.faq-cats button { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font-size: 13.5px; font-weight: 700; color: var(--gray); }
.faq-cats button.is-active { background: var(--enji); border-color: var(--enji); color: #fff; }
.accordion { max-width: 780px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item[hidden] { display: none; }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; text-align: left; font-size: 15.5px; font-weight: 700;
}
.acc-q .qmark { color: var(--enji); font-family: var(--font-serif); margin-right: 10px; }
.acc-q .chev { flex-shrink: 0; transition: transform 0.25s ease; color: var(--gray); }
.acc-item.is-open .acc-q .chev { transform: rotate(180deg); color: var(--enji); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-a-inner { padding: 0 4px 24px 34px; color: var(--gray); font-size: 14.5px; }

/* ---------- タブ ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tabs-nav button {
  padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--gray);
}
.tabs-nav button.is-active { background: var(--enji); color: #fff; border-color: var(--enji); }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.is-active { display: block; }

/* ---------- ステッパー(会社設立の流れ) ---------- */
.stepper { max-width: 760px; margin: 0 auto; }
.step-item { display: flex; gap: 22px; border-bottom: 1px solid var(--border); padding: 8px 0; }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--enji); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700;
  flex-shrink: 0; margin-top: 4px;
}
.step-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; text-align: left; background: none; border: none; }
.step-head h3 { font-size: 16.5px; }
.step-head .chev { color: var(--gray); transition: transform 0.25s ease; }
.step-item.is-open .step-head .chev { transform: rotate(180deg); }
.step-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.step-body-inner { padding-bottom: 20px; color: var(--gray); font-size: 14.3px; }

/* ---------- チェックリスト(建設業許可) ---------- */
.checklist-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.checklist-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.checklist-progress .bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.checklist-progress .bar-fill { height: 100%; width: 0%; background: var(--enji); transition: width 0.3s ease; }
.checklist-progress .count { font-size: 13.5px; font-weight: 700; color: var(--enji); white-space: nowrap; }
.check-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.check-row:last-child { border-bottom: none; }
.check-row input { width: 20px; height: 20px; accent-color: var(--enji); margin-top: 2px; flex-shrink: 0; }
.check-row label { font-size: 14.5px; }
.check-row label b { display: block; font-size: 14.8px; margin-bottom: 2px; }
.check-row label span { color: var(--gray); font-size: 13px; }

/* ---------- 料金表 ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.price-table thead th { background: var(--enji); color: #fff; font-weight: 700; font-size: 13.5px; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--enji-tint); }
.price-table .amount { color: var(--enji); font-weight: 700; font-family: var(--font-serif); font-size: 16px; white-space: nowrap; }
.price-note { font-size: 13px; color: var(--gray); margin-top: 16px; }

/* ---------- フォーム ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; }
.form-field label .req { color: var(--enji); font-size: 11px; background: var(--enji-tint); padding: 2px 8px; border-radius: 4px; margin-left: 6px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 14.5px;
  background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--enji); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field .error-msg { color: var(--enji); font-size: 12.5px; display: none; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--enji); background: #fdf3f3; }
.form-field.has-error .error-msg { display: block; }
.form-success {
  display: none; text-align: center; padding: 50px 20px; background: #fff; border-radius: 10px; border: 1px solid var(--border);
}
.form-success.is-visible { display: block; animation: fadeIn 0.4s ease; }
.form-success .icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: #e8f3ec; color: #2f8a52; display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; }
.form-success h3 { font-size: 20px; margin-bottom: 10px; }
.form-success p { color: var(--gray); }

/* ---------- CTA帯 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--enji) 0%, var(--enji-dark) 100%);
  color: #fff; text-align: center; padding: 64px 24px; border-radius: 12px;
}
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.cta-band p { color: #f1dede; margin-bottom: 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- エリア・地図 ---------- */
.area-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.area-list li { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 12px; text-align: center; font-size: 13.5px; font-weight: 700; }

/* ---------- パンくず・共通見出し ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col img { border-radius: 10px; box-shadow: var(--shadow-lg); width: 100%; height: 380px; object-fit: cover; }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14.8px; color: #4b453d; }
.check-list li .ic { color: var(--enji); flex-shrink: 0; margin-top: 3px; }

.timeline { max-width: 700px; margin: 0 auto; border-left: 2px solid var(--border); padding-left: 32px; }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before { content:""; position:absolute; left:-38px; top:4px; width:12px; height:12px; border-radius:50%; background: var(--enji); border: 3px solid var(--enji-tint); }
.timeline .year { font-family: var(--font-serif); color: var(--enji); font-weight: 700; font-size: 14px; }
.timeline h4 { font-size: 15.5px; margin: 4px 0 6px; }
.timeline p { color: var(--gray); font-size: 13.8px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--charcoal); color: #cfc7ba; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { font-family: var(--font-serif); font-size: 19px; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: #a9a094; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: 11px; font-size: 13.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact .tel { font-family: var(--font-serif); color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.footer-contact p { font-size: 12.8px; color: #a9a094; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 12px; color: #877e70; flex-wrap: wrap; gap: 10px;}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1300px) {
  .header-tel { display: none; }
  .main-nav ul { gap: 14px; font-size: 13.2px; }
  .main-nav { gap: 16px; }
}

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rep-block, .two-col { grid-template-columns: 1fr; }
  .rep-photo img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .main-nav ul, .header-cta .btn, .header-tel { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 68px; }
  .brand-mark { width: 38px; height: 38px; font-size: 15px; }
  .brand-text .brand-name { font-size: 15px; }
  .brand-text .brand-sub { font-size: 9.5px; }
  .section { padding: 56px 0; }
  .hero { min-height: 460px; }
  .hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 24px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .diag-options { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 26px; }
  .diagnostic { padding: 26px 18px; }
  .checklist-box { padding: 22px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .hero-actions, .cta-band .hero-actions { flex-direction: column; }
}
