/* =========================================================
   有冨秀政 土地家屋調査士事務所  aridomi-office.jp
   共通スタイル
   配色: 生成り紙 / 墨灰文字 / 図面インク藍 / 罫線
   書体: 見出し=Noto Serif JP(明朝) 本文=Noto Sans JP(ゴシック)
   signature: 基準点(⊕)を想起させるセクション見出しの印
   ========================================================= */

:root {
  --paper:   #F7F5F0;  /* 生成りの紙 */
  --ink:     #1F2933;  /* 墨に寄せた濃灰(基調文字) */
  --accent:  #1F3B2F;  /* 深緑(アクセント)。LINE「測」アイコン・報告書雛形と1色統一 */
  --accent-deep: #15291F;
  --rule:    #D8D3C7;  /* 罫・区切り */
  --muted:   #4F5860;  /* 補助テキスト（高齢の方向けにコントラストを一段強化） */
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 400;
  line-height: 1.9;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- レイアウト枠 ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- ヘッダー / ナビ ---- */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 8px 20px;
}
.brand {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.brand span { color: var(--accent); }
.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- ヒーロー ---- */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.hero .eyebrow {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin: 0 0 20px;
}
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.5;
  margin: 0 0 24px;
  letter-spacing: 0.03em;
}
.hero .lead {
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}
.hero .credential {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---- セクション ---- */
section { padding: 52px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: none; }

/* signature: 基準点(⊕)を想起させる見出しの印 */
.sec-head {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(20px, 4.6vw, 25px);
  line-height: 1.6;
  margin: 0 0 28px;
  padding-left: 30px;
  position: relative;
  letter-spacing: 0.03em;
}
.sec-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--accent), var(--accent)) center/1.5px 15px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/15px 1.5px no-repeat;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

.subhead {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--accent-deep);
  margin: 36px 0 14px;
  letter-spacing: 0.03em;
}

strong { font-weight: 700; }

/* ---- サービス項目 ---- */
.service {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 26px 24px;
  margin: 0 0 20px;
  background: #FBFAF6;
}
.service h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}
.service .price {
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}
.service .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.service p { font-size: 16px; margin-bottom: 0; }
/* ---- 対応エリア図 ---- */
.area-map {
  margin: 8px 0 4px;
}
.area-map svg { width: 100%; height: auto; display: block; }
.area-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.area-legend .item { display: flex; align-items: center; gap: 8px; }
.area-legend .swatch {
  width: 16px; height: 16px; border-radius: 3px; flex: none;
  border: 1px solid rgba(0,0,0,0.08);
}
.area-legend .swatch.on { background: #6E9A82; }
.area-legend .swatch.all {
  background: repeating-linear-gradient(45deg, #EDE9E0, #EDE9E0 4px, #fff 4px, #fff 8px);
}
.area-note { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.8; }

/* ---- 罫線 ---- */
.service .note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.deliverable {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 14.5px;
  line-height: 1.75;
}
.deliverable .lbl {
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
  letter-spacing: 0.04em;
}

/* ---- 手順リスト ---- */
.flow { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.flow li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 42px;
  font-size: 16px;
}
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 27px; height: 27px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  font-family: "Noto Serif JP", serif;
}
.flow li:last-child { padding-bottom: 0; }

/* ---- 連絡ボタン ---- */
.contact-block { margin: 0 0 32px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: background .2s;
}
.btn:hover { background: var(--accent-deep); }
.btn.line { background: #06C755; }
.btn.line:hover { background: #05a648; }
.contact-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ---- 事務所情報 ---- */
.office-info {
  font-size: 16px;
  line-height: 2;
}
.office-info dt {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}
.office-info dd { margin: 0; }

/* ---- フッター ---- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 34px 0 46px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .nav-foot { display: flex; gap: 18px; }

/* ---- 補助 ---- */
.callout {
  background: #FBFAF6;
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15.5px;
  line-height: 1.85;
}
.small { font-size: 14px; color: var(--muted); }

/* 報告書の見本画像（report-template から書き出したPNG） */
.sample-fig { margin: 16px 0 4px; }
.sample-fig img {
  display: block; width: 100%; max-width: 480px; height: auto;
  border: 1px solid var(--rule); border-radius: 4px;
}
.sample-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 7px; }

/* ---- フォーム(連絡先) ---- */
.form-field { margin: 0 0 20px; }
.form-field label {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-field .req { color: var(--accent); font-size: 13px; margin-left: 6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

/* ---- レスポンシブ ---- */
@media (max-width: 480px) {
  body { font-size: 16px; line-height: 1.85; }
  .hero { padding: 52px 0 40px; }
  section { padding: 42px 0; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .nav { gap: 18px; }
}

/* ---- アクセシビリティ ---- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- お悩み別の入口（チェックリスト）---- */
.worry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.worry-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.7;
}
.worry-list li:last-child { border-bottom: none; }
.worry-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.2em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.worry-list li a { color: var(--accent); text-decoration: none; }
.worry-list li a:hover { text-decoration: underline; }

/* ---- 可読性（高齢の方向け）: 補助テキストの最小サイズを底上げ ---- */
.small,
.service .note,
.deliverable,
.area-note,
.office-info dt { font-size: 15px; }

/* ---- 印刷用（紙で読む・家族に見せる方向け）---- */
@media print {
  html { -webkit-text-size-adjust: 100%; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.65; }
  .site-header { border-bottom: 1px solid #ccc; }
  .site-header .nav, .nav-foot, .btn, form, .contact-block { display: none !important; }
  a { color: #000; text-decoration: none; }
  .hero { padding: 20px 0; border-color: #ccc; }
  section { padding: 20px 0; border-color: #ccc; }
  .callout { background: #fff; border-left: 3px solid #000; }
  .service { background: #fff; border: 1px solid #999; }
  .sec-head::before { border-color: #000; }
  .area-map, .service, .callout, .ladder .rung { page-break-inside: avoid; }
}

/* ---- サービス階段（段だけ見せる図・価格は下2段のみ）---- */
.ladder { margin: 6px 0 20px; }
.ladder .rung {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.ladder .rung:last-child { border-bottom: none; }
.ladder .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  margin-top: 2px;
}
.ladder .body { flex: 1; }
.ladder .body h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 5px;
  letter-spacing: 0.03em;
}
.ladder .body p { font-size: 15px; margin: 0 0 6px; }
.ladder .price { font-size: 14.5px; color: var(--accent); font-weight: 700; letter-spacing: 0.02em; }
.ladder .price.indiv { color: var(--muted); font-weight: 500; }

/* ---- よくあるご質問（Q&A）---- */
.faq { margin: 4px 0 0; }
.faq dt {
  position: relative;
  padding-left: 26px;
  margin-top: 26px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}
.faq dt:first-of-type { margin-top: 0; }
.faq dt::before {
  content: "Q";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.faq dd {
  margin: 9px 0 0;
  padding-left: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.85;
}
.faq dd:last-child { border-bottom: none; }
