@charset "utf-8";
/* つむぎ坂行政書士事務所デザインサンプル
   外部読み込みなし・システムフォントのみ・スマホファースト */

:root {
  --bg: #FFFFFF;
  --bg-sub: #F3F4F6;
  --navy: #1E2D4A;
  --navy-hover: #2D4168;
  --ai: #3B5B8C;
  --ai-tint: #E7ECF4;
  --gold: #A8874F;
  --ink: #262A30;
  --muted: #4A505A;
  --line: rgba(38, 42, 48, .15);
  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "BIZ UDPMincho", serif;
  --font-gothic: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
  --pc: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.nw { white-space: nowrap; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
p, ul, ol, dl, figure, h1, h2, h3, h4 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }
p, li, dd, figcaption, td, th { text-wrap: pretty; }
h3, th, .permit-name, .voice-meta, .req-title, .scope-who { word-break: auto-phrase; }

a { color: var(--ai); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.arrow {
  width: 28px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 8px 16px;
  border: 2px solid var(--navy);
}
.skip:focus { top: 8px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- サンプルの帯 ---------- */
.sample-band {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 6px 0;
}
.sample-band .wrap { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; }
.sample-band-label {
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .7);
  padding: 0 6px;
}

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-block: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
}
.logo:hover { color: var(--navy); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-kaku { font-size: .82em; }
.header-contact { display: none; }

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: none;
  border: 0;
  padding: 4px;
  color: var(--navy);
  cursor: pointer;
  text-align: right;
}
.header-tel-num {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.header-tel-num .icon { color: var(--ai); }
.header-tel-hours { font-size: 13px; color: var(--ink); line-height: 1.5; }
.header-tel:hover .header-tel-num { color: var(--ai); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }
.btn--secondary { background: #fff; border-color: var(--ai); color: var(--ai); }
.btn--secondary:hover { background: var(--ai-tint); color: var(--navy); }
.btn--header { min-height: 52px; font-size: 16px; padding-inline: 20px; }

.btn--tel { flex-direction: column; gap: 0; padding-block: 8px; }
.btn-tel-label { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.btn-tel-label .icon { width: 20px; height: 20px; }
.btn-tel-num { font-size: 24px; line-height: 1.3; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.btn-tel-hours { font-size: 13px; font-weight: 400; color: var(--ink); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 40px;
}
.cta-row .btn { width: 100%; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- セクション共通 ---------- */
.sec { padding-block: 64px; }
.sec--sub { background: var(--bg-sub); }
.sec-head { margin-bottom: 32px; }
.sec-num {
  display: block;
  font-family: var(--font-mincho);
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--font-mincho);
  font-weight: 600;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.h2-sub {
  display: block;
  font-size: .62em;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.h2-sub--after { margin: 4px 0 0; }
.sec-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold);
}
.sec-body > * + * { margin-top: 32px; }
.sec-body > p + p { margin-top: 16px; }

h3 {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--navy);
}
.col-title {
  font-size: 19px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.model-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 8px;
}
.fig-note, .access-fig figcaption {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.illust svg { width: 100%; height: auto; }
.illust text { font-family: var(--font-gothic); }

/* ---------- S01 ファーストビュー ---------- */
.fv { padding-block: 32px 56px; }
.fv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "eyebrow"
    "title"
    "photo"
    "text"
    "badges"
    "cta";
}
.fv-eyebrow {
  grid-area: eyebrow;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ai);
  line-height: 1.6;
}
.sec-num--inline { display: inline-block; margin: 0; font-size: 24px; }
.fv-title {
  grid-area: title;
  margin-top: 16px;
  font-family: var(--font-mincho);
  font-weight: 600;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: .06em;
  font-feature-settings: "palt";
}
.fv-title span { display: inline-block; }
.fv-photo { grid-area: photo; margin-top: 24px; }
.fv-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 6% 50%;
}
.fv-text { grid-area: text; margin-top: 24px; }
.badges {
  grid-area: badges;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}
.badges .icon { color: var(--ai); }
.fv-cta {
  grid-area: cta;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- S02 お悩み ---------- */
.trouble-cols { display: grid; gap: 32px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  line-height: 1.7;
}
.checklist li + li { margin-top: 14px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--ai);
  background: #fff;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(.2em + 3px);
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}
.checklist--sm li + li { margin-top: 10px; }
.trouble-foot { display: grid; gap: 24px; }
.trouble-illust { max-width: 400px; }
.trouble-foot .cta-row { margin-top: 24px; }

/* ---------- S03 業務範囲の図 ---------- */
.scope { display: grid; gap: 12px; }
.scope-main {
  border: 2px solid var(--navy);
  background: #fff;
}
.scope-main-title {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
}
.scope-list { padding: 16px 20px 20px; }
.scope-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}
.scope-list li + li { margin-top: 8px; }
.scope-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}
.scope-handoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ai);
  font-size: 14px;
  font-weight: 700;
  padding-block: 4px;
}
.scope-handoff::after {
  content: "";
  width: 1px;
  height: 22px;
  background: var(--ai);
}
.scope-handoff span { order: -1; }
.scope-handoff { position: relative; }
.scope-handoff::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ai);
  border-bottom: 1.5px solid var(--ai);
  transform: translateX(-50%) rotate(45deg);
}
.scope-arrow { display: none; }
.scope-box {
  border: 1px solid var(--line);
  background: var(--bg-sub);
  padding: 14px 20px;
}
.scope-who { font-size: 16px; color: var(--ai); }
.scope-box p { margin-top: 2px; }

/* ---------- S04 特長 ---------- */
.features { display: grid; gap: 20px; counter-reset: none; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 24px 20px;
}
.feature-photo { margin: -24px -20px 20px; }
.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-photo .model-note { padding-inline: 20px; }
.img-desk-smile { object-position: 25% 50%; }
.img-gaishutsu { object-position: 75% 50%; }
.feature-num {
  font-family: var(--font-mincho);
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.feature h3 { margin-bottom: 10px; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  color: var(--ai);
  margin-bottom: 16px;
}
.feature-icon .icon { width: 32px; height: 32px; }

/* ---------- 表 ---------- */
.table {
  width: 100%;
  background: #fff;
  font-size: inherit;
  line-height: 1.7;
}
.table th, .table td {
  padding: 16px 20px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.table tbody th { background: var(--bg-sub); color: var(--navy); font-weight: 700; }
.table td.num { white-space: nowrap; font-weight: 700; color: var(--navy); }
.cell-list li { position: relative; padding-left: 1em; }
.cell-list li::before { content: "・"; position: absolute; left: 0; }
.cell-note { margin-top: 6px; }
.th-sub { display: inline; }
.row-total th, .row-total td { background: var(--ai-tint) !important; }
.row-total td.num strong { font-size: 1.1em; }

@media (max-width: 959.98px) {
  .table--stack thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td {
    display: block; width: 100%;
  }
  .table--stack { background: none; }
  .table--stack tr { background: #fff; border: 1px solid var(--line); }
  .table--stack tr + tr { margin-top: 12px; }
  .table--stack th, .table--stack td { border: 0; padding: 12px 16px; }
  .table--stack td { border-top: 1px solid var(--line); }
  .table--stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ai);
    line-height: 1.5;
    margin-bottom: 2px;
  }
  .table--stack td.num { white-space: normal; }
  .table--estimate tr { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); }
  .table--permits tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .table--estimate th, .table--permits th, .table--permits td:nth-child(4) { grid-column: 1 / -1; }
  .table--estimate td:nth-child(2), .table--permits td:nth-child(2) { border-right: 1px solid var(--line); }

  .table--info th, .table--info td { display: block; width: 100%; }
  .table--info th { border-bottom: 0; padding: 10px 16px 4px; }
  .table--info td { border-top: 0; padding: 4px 16px 12px; background: #fff; }
  .table--info tr { display: block; border-top: 1px solid var(--line); }
  .table--info tbody { display: block; border-bottom: 1px solid var(--line); }
  .table--info th, .table--info td { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .table--info th { border-top: 0; background: var(--bg-sub); }
}

/* ---------- 注記 ---------- */
.notes {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ai);
  padding: 16px 20px;
}
.sec--sub .notes { border-color: transparent; border-left-color: var(--ai); }
.notes-title { font-size: 17px; margin-bottom: 8px; }
.notes-foot { margin-top: 10px; }
.notes li, .bullets li {
  position: relative;
  padding-left: 1em;
  line-height: 1.75;
}
.notes li + li, .bullets li + li { margin-top: 6px; }
.notes li::before, .bullets li::before { content: "・"; position: absolute; left: 0; }
.note-block { line-height: 1.75; }
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ai);
  padding: 16px 20px;
}
.notice strong { display: block; color: var(--navy); }

/* ---------- S05 ---------- */
.lead-with-img { display: grid; gap: 24px; align-items: center; }
.lead-img { display: none; }
.crop { position: relative; overflow: hidden; aspect-ratio: 3 / 2; align-self: start; }
.crop img { height: 100%; }
.crop--letter img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 60.15%;
  transform: scale(2.5);
  transform-origin: 83.33% 37.52%;
}
.other-services { margin-top: 40px !important; }

/* ---------- S06 ---------- */
.case-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
}
.case-box-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--ai);
  padding: 0 10px;
  margin-bottom: 8px;
}
.breakdown {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
}
.breakdown-title { font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.bk-row + .bk-row { margin-top: 16px; }
.bk-label { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bk-bar {
  display: grid;
  grid-template-columns: 165fr 10fr;
  min-height: 44px;
}
.bk-fee {
  display: flex;
  align-items: center;
  padding-inline: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}
.bk-cost { background: var(--gold); min-width: 10px; }
.bk-other {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding-inline: 12px;
  border: 1px dashed var(--ai);
  background: repeating-linear-gradient(135deg, #fff 0 6px, var(--ai-tint) 6px 12px);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.bk-legend { margin-top: 16px; display: grid; gap: 6px; font-size: 15px; }
.bk-legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; flex: none; }
.sw--fee { background: var(--navy); }
.sw--cost { background: var(--gold); }
.sw--other { border: 1px dashed var(--ai); background: repeating-linear-gradient(135deg, #fff 0 3px, var(--ai-tint) 3px 6px); }

/* ---------- S07 ---------- */
.permit-cards { display: grid; gap: 16px; }
.permit-card { background: #fff; border: 1px solid var(--line); }
.permit-img img, .permit-img svg {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.img-kensetsu { object-position: 50% 30%; }
.permit-name {
  padding: 10px 16px;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid var(--line);
}
.req {
  border: 1px solid var(--line);
  padding: 20px;
}
.req-grid { display: grid; gap: 12px; margin-bottom: 16px; }
.req-grid li {
  position: relative;
  border: 1px solid var(--ai);
  background: #fff;
  padding: 14px 16px 14px 60px;
  min-height: 64px;
}
.req-num {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.req-title { font-weight: 700; color: var(--navy); }

/* ---------- S08 流れ ---------- */
.steps { display: grid; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27.5px;
  top: 64px;
  bottom: 8px;
  width: 1px;
  background: var(--ai);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23.5px;
  bottom: 8px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ai);
  border-bottom: 1.5px solid var(--ai);
  transform: rotate(45deg);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--navy);
  background: #fff;
  font-family: var(--font-mincho);
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}
.step-body { padding-top: 10px; }
.step-body h3 { margin-bottom: 6px; }
.step--with-img .step-body { display: grid; gap: 16px; }
.step-illust { max-width: 320px; border: 1px solid var(--line); }

.prep {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 20px;
  margin-top: 48px !important;
}
.prep-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; word-break: keep-all; overflow-wrap: anywhere; }
.prep-title .icon { color: var(--ai); width: 28px; height: 28px; }
.prep-cols { display: grid; gap: 24px; }
.prep-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--ai);
  margin-bottom: 12px;
}
.prep-note { margin-top: 20px; font-weight: 700; color: var(--navy); }

/* ---------- S09 声 ---------- */
.voices { display: grid; gap: 16px; }
.voice {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 20px;
  background: #fff;
}
.avatar { width: 56px; height: 56px; }
.voice-body { display: contents; }
.voice-meta { font-weight: 700; color: var(--navy); }
.voice-body > p:not(.voice-meta) { grid-column: 1 / -1; margin-top: 12px; }

/* ---------- S10 事例 ---------- */
.note-block--top { font-weight: 700; color: var(--navy); }
.cases { display: grid; gap: 20px; margin-top: 16px !important; }
.case { background: #fff; border: 1px solid var(--line); }
.case-img img, .case-img svg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case-body { padding: 20px; }
.case-body h3 { margin-bottom: 12px; }
.case-meta {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-sub);
  margin-bottom: 12px;
  font-size: 15px;
}
.case-meta div { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; }
.case-meta dt { font-weight: 700; color: var(--ai); }
.case-meta dd { margin: 0; }

/* ---------- S11 代表 ---------- */
.profile { display: grid; gap: 32px; }
.profile-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.img-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 81% 50%; }
.img-denwa { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 82% 50%; }
.profile-photos .model-note { grid-column: 1 / -1; margin-top: 0; }
.profile-name {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}
.profile-role { display: block; font-family: var(--font-gothic); font-size: 15px; font-weight: 700; color: var(--ai); }
.profile-kana { display: block; font-family: var(--font-gothic); font-size: 14px; font-weight: 400; color: var(--ink); }
.profile-fict {
  display: inline-block;
  font-family: var(--font-gothic);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--navy);
  padding: 0 8px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.6;
}
.greeting { margin-top: 20px; }
.greeting p + p { margin-top: 14px; }
.profile-table { margin-top: 28px; border-top: 1px solid var(--line); }
.profile-table div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile-table dt { font-weight: 700; color: var(--navy); }
.profile-table dd { margin: 0; }

/* ---------- S12 FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 56px 18px 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ai); }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--ai);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { display: none; }
.faq-q {
  flex: none;
  font-family: var(--font-mincho);
  font-size: 22px;
  line-height: 1.1;
  color: var(--gold);
  width: 24px;
}
.faq-a { padding: 0 20px 20px 52px; }

/* ---------- S13 アクセス ---------- */
.access { display: grid; gap: 32px; }
.map { margin-top: 16px; border: 1px solid var(--line); }
.map .fig-note { padding: 8px 12px; margin: 0; border-top: 1px solid var(--line); background: #fff; }
.access-figs { display: grid; gap: 20px; }
.access-fig svg { border: 1px solid var(--line); }

/* ---------- S14 フォーム ---------- */
.form { background: #fff; border: 1px solid var(--line); padding: 24px 20px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field + .field { margin-top: 24px; }
.field > label, .field legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding: 0;
}
.req-badge, .opt-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  padding: 0 6px;
  border-radius: 2px;
  font-weight: 700;
}
.req-badge { background: var(--navy); color: #fff; }
.opt-badge { border: 1px solid var(--muted); color: var(--muted); }
.form input[type="text"], .form select, .form textarea {
  display: block;
  width: 100%;
  max-width: 560px;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #8A919C;
  border-radius: 2px;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form ::placeholder { color: #6B7280; opacity: 1; }
.field-help { font-size: 14px; color: var(--muted); margin-top: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid #8A919C;
  border-radius: 2px;
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.field-pair { display: grid; gap: 6px; max-width: 560px; }
.field-pair label { font-size: 15px; font-weight: 700; color: var(--ai); }
.field-pair input + label { margin-top: 10px; }
.privacy-placeholder {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ai);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-placeholder span { color: var(--muted); text-decoration: none; display: inline-block; }
.form-submit { margin-top: 24px; }
.form-submit-note {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.btn--submit { width: 100%; max-width: 560px; }
.btn--submit:disabled {
  background: #6B7280;
  border-color: #6B7280;
  color: #fff;
  cursor: not-allowed;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding-block: 48px 144px;
  font-size: 14px;
  line-height: 1.75;
}
.footer-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
}
.footer-info { margin-top: 16px; }
.footer-info div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
.footer-info dt { color: #C9D4E5; }
.footer-info dd { margin: 0; }
.footer-sample {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.footer-disclaimer { font-weight: 700; font-size: 15px; }
.footer-sample p + p { margin-top: 4px; }

/* ---------- SP下部固定バー ---------- */
.sp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 4px 8px 8px;
}
.sp-bar-hours { font-size: 12px; text-align: center; line-height: 1.6; margin-bottom: 4px; }
.sp-bar-btns { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; }
.sp-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 4px;
  border: 1px solid var(--ai);
  border-radius: 2px;
  background: #fff;
  color: var(--ai);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.sp-bar-btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.sp-bar-btn--primary:hover { color: #fff; background: var(--navy-hover); }

/* ---------- ダイアログ ---------- */
.sample-dialog {
  width: min(420px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 2px;
  padding: 28px 24px 24px;
  color: var(--ink);
}
.sample-dialog::backdrop { background: rgba(30, 45, 74, .55); }
.sample-dialog-title { font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.sample-dialog form { margin-top: 20px; }
.sample-dialog .btn { width: 100%; }

@media (max-width: 639.98px) {
  .permit-card { display: grid; grid-template-columns: 136px minmax(0, 1fr); }
  .permit-name { border-top: 0; border-left: 1px solid var(--line); display: flex; align-items: center; }
}

/* ---------- 640px〜 ---------- */
@media (min-width: 640px) {
  .cta-row .btn { width: auto; min-width: 300px; }
  .trouble-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .permit-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .prep-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .access-figs { grid-template-columns: 1fr 1fr; }
  .fv-cta { grid-template-columns: 1fr 1fr; }
  .fv-cta .btn--primary { grid-column: 1 / -1; }
}

/* ---------- PC 960px〜 ---------- */
@media (min-width: 960px) {
  body { font-size: 17px; }
  .site-footer { padding-bottom: 40px; }
  .table--info th { width: 9em; }
  .sp-bar { display: none; }
  .header-contact { display: flex; align-items: center; gap: 24px; }
  .logo { font-size: 20px; }
  .logo-mark { width: 40px; height: 40px; }
  .site-header-inner { min-height: 88px; }

  .sec { padding-block: 112px; }
  .sec-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    column-gap: 48px;
  }
  .sec-head { margin-bottom: 0; }
  .sec-num { font-size: 32px; }
  .sec-head h2 { font-size: 34px; }
  h3 { font-size: 21px; }
  .col-title { font-size: 21px; }

  /* FV */
  .fv { padding-block: 64px 96px; }
  .fv-grid {
    grid-template-columns: minmax(0, 1fr) 480px;
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas:
      "eyebrow photo"
      "title   photo"
      "text    photo"
      "badges  photo"
      "cta     photo";
    column-gap: 64px;
    align-items: start;
  }
  .fv-title { font-size: 48px; margin-top: 20px; }
  .fv-photo { margin-top: 0; position: relative; }
  .fv-photo img { aspect-ratio: 4 / 5; }
  .fv-text { margin-top: 28px; }
  .badges { margin-top: 28px; }
  .fv-cta { margin-top: 32px; }

  /* S02 */
  .trouble-foot { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: center; }

  /* S03 */
  .scope {
    grid-template-columns: minmax(0, 1.25fr) 64px minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 12px 0;
  }
  .scope-main { grid-column: 1; grid-row: 1 / span 3; }
  .scope-handoff { display: none; }
  .scope-arrow {
    display: block;
    position: relative;
    grid-column: 2;
    align-self: center;
    height: 1.5px;
    margin-inline: 10px;
    background: var(--ai);
  }
  .scope-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid var(--ai);
    border-right: 1.5px solid var(--ai);
    transform: rotate(45deg);
    transform-origin: 70% 30%;
  }
  .scope-arrow--1, .scope-box--1 { grid-row: 1; }
  .scope-arrow--2, .scope-box--2 { grid-row: 2; }
  .scope-arrow--3, .scope-box--3 { grid-row: 3; }
  .scope-box { grid-column: 3; }

  /* S04 */
  .features { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .feature--photo { grid-column: span 3; }
  .feature--icon {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px 28px;
  }
  .feature--icon .feature-icon { margin-bottom: 0; }
  .th-sub { display: block; }
  .table--estimate td:nth-child(2) { white-space: nowrap; width: 7.5em; }
  .table--estimate td:nth-child(3) { width: 40%; }

  /* S05 */
  .lead-with-img { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .lead-img { display: block; }
  .table--plans th[scope="row"] { width: 22%; }
  .table--plans td:nth-child(4) { width: 22%; }
  .table--permits th[scope="row"] { width: 24%; }
  .table--permits td:nth-child(4) { width: 38%; }

  /* S08 */
  .step--with-img .step-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }

  /* S09 */
  .voice { padding: 24px; column-gap: 20px; grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
  .avatar { width: 64px; height: 64px; }
  .voice-body { display: block; }
  .voice-body > p:not(.voice-meta) { margin-top: 6px; }
  .profile-photos { grid-template-columns: 1fr; gap: 12px; }
  .img-denwa { aspect-ratio: 3 / 2; }

  /* S10 */
  .case {
    display: grid;
    grid-template-columns: 281px minmax(0, 1fr);
    background: linear-gradient(to right, var(--bg-sub) 0 280px, var(--line) 280px 281px, #fff 281px);
  }
  .case-img { margin-right: 1px; }
  .case-body { padding: 24px 28px; }

  /* S11 */
  .profile { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
  .profile-name { font-size: 30px; }

  /* S13 */
  .access { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .access-figs { grid-template-columns: 1fr; margin-top: 52px; }

  /* S14 */
  .form { padding: 40px; }

  .footer-office, .footer-sample { max-width: 880px; }
  .site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .footer-sample { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 48px; border-left: 1px solid rgba(255, 255, 255, .25); }
}
