/* 行政書士うどう綜合事務所 — 新デザイン（e-gyousei Issue #1）
   site.css（お客様側で作られた元のスタイル）の上に重ねる。文章・部品の HTML はそのまま、見た目だけを整える。
   考え方：ロゴの「紺と金」はそのまま。余白を広く取り、白いカードと淡い紙色の帯を交互に置いて、
   士業らしい落ち着きと、建設業の方が迷わない分かりやすさを両立させる。 */

:root {
  --navy: #1a3a5c;
  --navy-deep: #10263d;
  --navy-soft: #eaf0f6;
  --gold: #a9843a;
  --gold-2: #c8a75e;
  --gold-soft: #f5eedd;
  --paper: #f7f5f0;        /* 紙色（少し温かみのある白） */
  --paper-2: #fbfaf7;
  --ink: #1b2532;
  --ink-2: #4d5866;
  --line: #e1ddd3;
  --line-2: #d3dbe4;
  --shadow-s: 0 4px 14px rgba(16, 38, 61, .06);
  --shadow-m: 0 14px 36px rgba(16, 38, 61, .09);
  --wrap: 1160px;
  --radius: 8px;
}
body { letter-spacing: .03em; }
.wrap { padding-inline: clamp(16px, 4vw, 28px); }
.eg-nw { white-space: nowrap; }
.eg-nb { display: inline-block; }

/* ---------- 上の帯・ヘッダー ---------- */
.site-top { background: var(--navy-deep); color: #b9c6d4; font-size: 12.5px; letter-spacing: .06em; }
.site-top .wrap { padding-block: 7px; align-items: center; }
.site-top a { color: #fff; letter-spacing: .04em; }
.site-header { background: var(--navy); border-bottom: 3px solid var(--gold); box-shadow: 0 6px 20px rgba(16, 38, 61, .12); }
.site-header .wrap { min-height: 78px; gap: 20px; }
.logo img { width: 240px; }
.gnav a { position: relative; padding: 8px 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; border-radius: 0; background: none !important; }
.gnav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--gold-2); transform: scaleX(0); transition: transform .2s ease; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.eg-hcta { flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 14px; border-radius: 4px; background: var(--gold); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; transition: background .15s; }
.eg-hcta small { font-size: 11px; font-weight: 400; opacity: .92; }
.eg-hcta:hover { background: #8f6e2d; color: #fff; }
@media (max-width: 1300px) { .gnav a { padding: 8px 6px; font-size: 13.5px; letter-spacing: .03em; } .gnav a::after { left: 6px; right: 6px; } .logo img { width: 220px; } .site-header .wrap { gap: 14px; } }
@media (max-width: 1180px) { .eg-hcta { display: none; } }
@media (max-width: 960px) {
  .site-header .wrap { min-height: 64px; }
  .logo img { width: 210px; }
  .gnav a { padding: 13px 8px; font-size: 15px; }
  .gnav a::after { display: none; }
}

/* ---------- ボタン ---------- */
.btn { border-radius: 4px; letter-spacing: .05em; box-shadow: var(--shadow-s); }
.btn-tel { background: var(--navy); }
.btn-tel .num { font-size: 1.3rem; letter-spacing: .03em; }
.btn-mail { box-shadow: none; }
.cta-row { gap: 12px; }
.more { color: var(--navy); letter-spacing: .04em; }
.more::after { content: "›"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; line-height: 1; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }

/* ---------- 見出し（英字の小見出し＋明朝の見出し＋金の線） ---------- */
.band { padding-block: clamp(64px, 8vw, 104px); }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy-deep) radial-gradient(circle at 85% 0%, rgba(201, 167, 94, .14), transparent 45%); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--gold); font-size: 13px; letter-spacing: .14em; }
.eyebrow[data-en]::before { content: attr(data-en); font-family: var(--f-num); font-size: 14px; font-weight: 600; letter-spacing: .28em; color: var(--gold); }
.eyebrow[data-en]:not([data-en=""])::after { content: ""; order: -1; width: 28px; height: 1px; background: currentColor; }
.eyebrow[data-en=""]::before { display: none; }
.eyebrow[data-en]:not([data-en=""]) { font-size: 0; }   /* 日本語の小見出しは英字に置き換える（読み上げ用に sr ではなく英字のみ表示） */
.band-navy .eyebrow, .band-navy .eyebrow::before { color: var(--gold-2); }
.band-title { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: .06em; line-height: 1.5; margin-bottom: 16px; }
.rule { width: 40px; height: 2px; margin: 0 0 32px; background: var(--gold); }
.band-lead { font-size: 15.5px; line-height: 1.95; }
.band-title + .band-lead { margin-top: -2px; }
@media (max-width: 640px) { .band-title { font-size: 1.5rem; } .band { padding-block: 56px; } }

/* ---------- トップ：最初の画面 ---------- */
.eg-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #fff 78%); padding: clamp(36px, 5vw, 64px) 0 56px; }
.eg-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(26, 58, 92, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 58, 92, .055) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%), linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%), linear-gradient(180deg, #000 55%, transparent 100%); mask-composite: intersect; }
.eg-hero__bg::after { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 167, 94, .16), transparent 65%); }
.eg-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eg-hero .hero-kicker { gap: 8px; margin-bottom: 20px; }
.eg-hero .hero-kicker > span { border: 0; padding: 3px 12px; background: #fff; border-left: 3px solid var(--gold); box-shadow: var(--shadow-s); font-size: 13.5px; letter-spacing: .08em; }
.eg-hero h1 { font-family: var(--f-display); font-weight: 700; color: var(--navy-deep); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.45; letter-spacing: .06em; margin: 0 0 20px; }
.eg-hero h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 70%, rgba(201, 167, 94, .35) 70%); }
.eg-since { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 18px; padding: 6px 16px; border-radius: 4px; background: var(--navy-deep); color: #e3e9f0; font-size: 13.5px; line-height: 1.6; }
.eg-since strong { font-size: 22px; font-weight: 600; color: var(--gold-2); letter-spacing: .04em; }
.eg-since em { font-style: normal; font-weight: 700; color: #fff; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .3); }
.eg-since em .num { font-size: 18px; color: var(--gold-2); margin: 0 1px; }
.eg-hero .hero-lead { font-size: 16px; line-height: 1.95; max-width: 36em; }
.eg-hero .hero-facts { gap: 10px 16px; margin-bottom: 28px; }
.eg-hero .hero-facts li { display: block; padding: 9px 14px 9px 36px; position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; font-weight: 700; color: var(--navy-deep); font-size: 14.5px; line-height: 1.5; }
.eg-hero .hero-facts li::before { content: "✓"; position: absolute; left: 14px; top: 9px; width: auto; height: auto; background: none; transform: none; color: var(--gold); font-weight: 700; }
.eg-hero .hero-check { margin: 16px 0 0; }
.eg-hero .hero-check a { font-weight: 700; }
/* 代表のカード */
.eg-hero .hero-photo { max-width: 380px; margin: 0; filter: drop-shadow(0 18px 34px rgba(16, 38, 61, .18)); }
.eg-hero .hero-photo .ph > img { border-radius: 10px 10px 0 0; }
.eg-hero .plate { border-radius: 0 0 10px 10px; }
/* 取れる？いくら？いつ？ */
.eg-answers { position: relative; list-style: none; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eg-answers li { display: flex; flex-direction: column; padding: 22px 24px 18px; background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--gold); border-radius: 6px; box-shadow: var(--shadow-s); }
.eg-answers em { align-self: flex-start; margin-bottom: 8px; padding: 1px 12px; border-radius: 999px; background: var(--gold-soft); color: #7a5b1e; font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: .08em; }
.eg-answers strong { display: block; margin-bottom: 6px; font-size: 19px; color: var(--navy-deep); line-height: 1.5; letter-spacing: .04em; }
.eg-answers strong .num { font-size: 24px; color: var(--navy); }
.eg-answers li > span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.eg-answers a { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.eg-answers a::after { content: " ›"; color: var(--gold); }
@media (max-width: 960px) {
  .eg-hero__grid { grid-template-columns: 1fr; }
  .eg-hero .hero-photo { order: -1; max-width: 420px; width: 100%; justify-self: center; }
  .eg-answers { grid-template-columns: 1fr; margin-top: 32px; }
}
@media (max-width: 600px) {
  .eg-hero { padding-top: 16px; }
  .eg-hero .hero-photo { max-width: none; filter: drop-shadow(0 10px 20px rgba(16, 38, 61, .14)); }
  .eg-hero h1 { font-size: 1.85rem; }
  .eg-hero .hero-kicker span { font-size: 12.5px; }
  .eg-hero .hero-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .eg-hero .hero-facts li { padding: 8px 8px 8px 26px; font-size: 13px; }
  .eg-hero .hero-facts li::before { left: 9px; top: 8px; }
  /* 写真は少し横長にして、見出しが早く見えるように（頭から胸元まで） */
  .eg-hero .hero-photo .ph > img { aspect-ratio: 5 / 4; object-position: center 12%; }
  .eg-since { font-size: 12.5px; }
}

/* ---------- セルフチェック ---------- */
#check.band-navy { background: var(--navy-deep) radial-gradient(circle at 10% 0%, rgba(201, 167, 94, .16), transparent 40%); }
.check-form { border-radius: 10px; box-shadow: 0 20px 44px rgba(0, 0, 0, .22); padding: clamp(22px, 3vw, 36px); }
.check-form legend { font-size: 16px; line-height: 1.7; color: var(--navy-deep); }
.check-form legend .num { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; line-height: 1; margin-top: 1px; }
.check-form .hint, .choices { padding-left: 38px; }
.choices span { padding: 8px 20px; font-weight: 700; color: var(--navy); border-color: var(--line-2); transition: background .15s, border-color .15s; }
.choices label:hover span { border-color: var(--navy); }
.check-result { border-radius: 8px; background: #fff; border-left-width: 5px; box-shadow: var(--shadow-m); }
.check-result h3 { font-family: var(--f-display); color: var(--navy-deep); }
.check-note { color: #aebbca; }

/* ---------- 状況別の入口 ---------- */
.entries { gap: 18px; }
.entry { position: relative; padding: 24px 24px 18px; border-color: var(--line-2); border-radius: 6px; box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s, border-color .15s; }
.entry::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; border-radius: 6px 0 0 6px; background: var(--gold); }
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.entry .e { font-family: var(--f-num); letter-spacing: .2em; }
.entry .q { font-family: var(--f-display); font-size: 19px; letter-spacing: .04em; }
.entry > span:not([class]) { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.entry .to { border-top-style: solid; border-top-color: var(--line); display: flex; justify-content: space-between; align-items: center; }
.entry .to::after { content: "›"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); font-size: 14px; }

/* ---------- 頼む理由 ---------- */
.reasons { gap: 22px; }
.reason { padding: 30px 26px 22px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-m); }
.reason .big { font-size: 3rem; color: var(--gold); display: flex; align-items: baseline; gap: 4px; }
.reason .big small { color: var(--navy); font-weight: 700; }
.reason h3 { border-top: 0; padding-top: 4px; font-size: 20px; letter-spacing: .04em; }
.reason p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.distance { margin-top: 40px; background: var(--navy-soft); border: 1px solid var(--line-2); border-radius: 10px; padding: clamp(24px, 3.5vw, 40px); }
.distance .eyebrow { font-size: 13px; }
.distance h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: .04em; }
.route { background: #fff; border-radius: 8px; padding: 6px 20px; box-shadow: var(--shadow-s); }
.route li { border-bottom-style: solid; border-bottom-color: var(--line); }

/* ---------- 事例 ---------- */
.case-stats span { padding: 4px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.case-stats span::before { content: "● "; font-size: 10px; vertical-align: 2px; }
.cases { gap: 22px; }
.case { border-color: var(--line); border-radius: 10px; padding: 26px 24px 24px; box-shadow: var(--shadow-s); }
.case-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-id { width: 44px; height: 44px; background: var(--navy-deep); color: var(--gold-2); font-family: var(--f-display); font-size: 1.3rem; border-radius: 4px; }
.case-trade { font-family: var(--f-display); font-size: 17px; letter-spacing: .04em; }
.case dt { font-family: var(--f-body); }
.case blockquote { background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; }
.case blockquote::before { color: var(--gold); letter-spacing: .1em; }

/* ---------- 料金 ---------- */
.fees { gap: 18px; }
.fee { border-color: var(--line-2); border-top: 3px solid var(--navy); border-radius: 6px; padding: 22px 20px; box-shadow: var(--shadow-s); }
.fee h3 { font-size: 15px; letter-spacing: .04em; }
.fee .price { font-size: 2.4rem; color: var(--navy-deep); }
.fee .official { padding-top: 8px; border-top: 1px dashed var(--line-2); }
.free { border: 1px solid var(--line-2); border-top: 3px solid var(--gold); border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); }
.free h3 { font-family: var(--f-display); font-size: 18px; }
.free .tag { letter-spacing: .1em; }

/* ---------- 流れ ---------- */
.steps li::before { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--gold-2); }
.steps li::after { background: linear-gradient(90deg, var(--gold), var(--line)); }
.steps h3 { font-family: var(--f-display); font-size: 17px; letter-spacing: .04em; }
@media (max-width: 960px) { .steps li::after { background: var(--line); } }

/* ---------- 許可のあと（工程表） ---------- */
.gantt-wrap { border-radius: 10px; padding: 24px; box-shadow: 0 20px 44px rgba(0, 0, 0, .22); }
.gantt-legend div { border-top-color: rgba(201, 167, 94, .5); }
.gantt-legend b { color: var(--gold-2); }

/* ---------- 代表 ---------- */
.profile { grid-template-columns: 320px minmax(0, 1fr); }
.profile figure { position: relative; }
.profile figure::after { content: ""; position: absolute; left: 14px; top: 14px; right: -14px; bottom: -14px; border: 1px solid var(--gold); border-radius: 10px; z-index: -1; }
.profile figure img { border-radius: 10px; }
.profile h3 { letter-spacing: .14em; }
.profile .role { font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.timeline { border-left: 2px solid var(--line); padding-left: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.staff { background: var(--paper); border: 0; border-radius: 8px; padding: 16px 18px; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile figure { max-width: 280px; } }

/* ---------- エリア ---------- */
.area-list div { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 0 6px 6px 0; padding: 14px 18px; }
.area-list div.sub { border-left-color: var(--gold); }
.access img { border-radius: 8px; box-shadow: var(--shadow-s); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 20px; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary { display: block; padding: 16px 36px 16px 30px; }
.faq summary::before { position: absolute; left: 0; top: 15px; font-family: var(--f-display); font-size: 1.2rem; }
.faq summary::after { content: ""; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { content: ""; transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 14px 0 18px 30px; border-top: 1px dashed var(--line-2); line-height: 1.9; }
.eg-top .faq { margin-inline: 0; }

/* ---------- 最後の相談帯 ---------- */
.final { position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(201, 167, 94, .25); box-shadow: 0 0 0 40px rgba(201, 167, 94, .04); pointer-events: none; }
.final .wrap { position: relative; z-index: 1; }

/* ---------- 記事カード ---------- */
.posts { gap: 22px; }
.post-card { padding: 20px 22px; border: 1px solid var(--line-2); border-top: 3px solid var(--navy); border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.post-card:hover h3 { text-decoration: none; color: var(--navy); }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); border-top: 3px solid var(--gold); }
.foot-grid h2 { font-family: var(--f-num); letter-spacing: .2em; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }

/* ---------- 下層ページ ---------- */
.is-inner main { background: linear-gradient(180deg, var(--paper) 0, #fff 260px); }
.crumbs { padding-block: 16px 6px; }
.page-head h1, .article-head h1 { letter-spacing: .05em; }
.page-head h1::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 16px; background: var(--gold); }
.prose h2 { border-bottom: 0; padding: 0 0 12px; position: relative; letter-spacing: .04em; }
.prose h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.prose h2::before { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--navy); z-index: 1; }
.prose h3 { border-left-width: 3px; }
.summary { background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--gold); box-shadow: var(--shadow-s); }
.side-box { background: #fff; border-color: var(--line-2); border-radius: 6px; }
.side-consult { background: var(--navy-soft); }
.article-cta { background: #fff; border-color: var(--line-2); border-top-color: var(--gold); box-shadow: var(--shadow-m); }
.fee-table th { background: var(--navy-deep); }
.notes { background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--gold); }
.check-promo { background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--gold); box-shadow: var(--shadow-s); }
.hero-kicker span span { border: 0; padding: 0; background: none; box-shadow: none; }

/* 工程表の「事務所からのご案内」：記事用の .notice（赤い注意書き）と名前がぶつかっていたので打ち消す（元のサイトでも同じ崩れ） */
.gantt > .notice { margin: 0; padding: 10px 8px; border-radius: 0; font-size: inherit; background: var(--paper-2); border-left: 0; border-bottom: 0; }
.gantt > .rowh.notice { border-left: 0; color: var(--navy-deep); }
.gantt > .cell.notice { border-left: 1px dashed var(--line); }

/* 「〜を見る」のリンク：中の文字を分けて並べない（すき間が出ないように） */
.more { display: inline-block; }
.more::after { vertical-align: 1px; margin-left: 8px; }

/* トップのよくある質問：見出しを左、質問を右に */
@media (min-width: 961px) {
  .eg-faq .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 64px; align-content: start; }
  .eg-faq .wrap > * { grid-column: 1; }
  .eg-faq .wrap > .faq { grid-column: 2; grid-row: 1 / span 5; max-width: none; }
  .eg-faq .band-title { font-size: 1.9rem; }
}
/* フッター：ロゴ画像の紺（背景込み）と同じ色にして、ロゴの四角が浮かないように */
.site-footer { background: var(--navy); }
.site-footer .copy { border-top-color: rgba(255, 255, 255, .18); }

/* ---------- スマホの調整 ---------- */
@media (max-width: 640px) {
  /* 相談ボタン：電話番号を途中で折らない。上に名前、下に受付時間 */
  .cta-row .btn { flex-direction: column; justify-content: center; gap: 0; min-height: 62px; text-align: center; }
  .cta-row .btn .label { white-space: nowrap; }
  .steps .pill { justify-self: start; }
  .route li { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .eg-since em { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .check-form .hint { padding-left: 0; }
  .choices { padding-left: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .choices span { display: block; padding: 8px 4px; text-align: center; white-space: nowrap; }
  .check-form legend { gap: 8px; }
}

/* 記事のスマホ表示：本文の列が中身（長い英数字・幅のある表・画像）に合わせて広がらないように（2026-10-06 点検で7記事が横にはみ出していた） */
.article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { overflow-wrap: anywhere; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; }
.prose > table, .prose p > table { display: block; overflow-x: auto; }
/* 事務所概要の表の見出し（「代表行政書士」など）は折り返さない */
.overview th { white-space: nowrap; }
.eg-since em { white-space: nowrap; }

/* 記事の一覧（建設業情報・カテゴリ・サイトマップ）：本文の箇条書きの字下げを打ち消し、1件ずつ区切って読みやすく */
.prose .post-list { padding-left: 0; margin-top: 8px; border-top: 1px solid var(--line-2); }
.prose .post-list li { margin: 0; padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
.prose .post-list a { color: var(--navy-deep); }
.prose .post-list a:hover { color: var(--navy); }
.prose .faq-index { margin-bottom: 20px; }
/* 固定ページ：見出しの直後に本文の大見出しが来るときの余白を詰める */
.page-head + .prose > h2:first-child { margin-top: 12px; }

/* 事例とお客様の声：6つの段を、横に並んだカード同士でそろえる（2026-10-06 オーナー「ボックスのずれが気になる」） */
.cases { align-items: stretch; grid-auto-rows: auto; }
.case { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; padding: 0; overflow: hidden; }
.case > * { margin: 0; padding-inline: 24px; }
.case .case-head { padding-top: 24px; padding-bottom: 14px; }
.case .case-via { padding-top: 14px; padding-bottom: 6px; }
.case-via .via { margin: 0; padding: 3px 12px; font-size: 12.5px; }
.case .case-row { padding-top: 10px; }
.case-dt { display: block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .14em; }
.case-row p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.75; }
.case blockquote { margin: 16px 0 0; padding: 16px 24px 20px; border-left: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--paper); align-self: stretch; }
@supports not (grid-template-rows: subgrid) { .case { display: flex; flex-direction: column; } .case blockquote { margin-top: auto; } }

/* =====================================================================
   2026-10-06 オーナー指摘を受けた強化：見出しを中央に、5つの質問は1問ずつ、事例は3件＋開閉、PC右下の相談ボタン
   ===================================================================== */

/* ---------- トップの見出しを中央にそろえる（よくある質問は左右2列のまま） ---------- */
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow,
.eg-top .eg-head > .eyebrow { justify-content: center; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::before,
.eg-top .eg-head > .eyebrow[data-en]:not([data-en=""])::before { order: 0; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::after,
.eg-top .eg-head > .eyebrow[data-en]:not([data-en=""])::after { order: 1; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""]),
.eg-top .eg-head > .eyebrow[data-en]:not([data-en=""]) { gap: 14px; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::after { content: attr(data-en); width: auto; height: auto; background: none; font-family: var(--f-num); font-size: 14px; font-weight: 600; letter-spacing: .28em; }
.eg-top .band:not(.eg-faq) > .wrap > .band-title,
.eg-top .band:not(.eg-faq) > .wrap > .band-lead,
.eg-top .eg-head { text-align: center; margin-inline: auto; }
.eg-top .band:not(.eg-faq) > .wrap > .rule { margin-inline: auto; }
.eg-top .band:not(.eg-faq) > .wrap > .band-lead { max-width: 44em; }
.eg-head .eyebrow { display: flex; }
.eg-head .band-lead { max-width: 40em; margin: 0 auto 32px; }

/* ---------- 5つの質問（1問ずつ） ---------- */
.eg-checkband { padding-block: clamp(56px, 7vw, 88px); }
.eg-quiz { position: relative; display: flex; gap: 24px; align-items: flex-start; max-width: 860px; margin: 0 auto; padding: clamp(22px, 3vw, 36px); background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.eg-quiz__who { flex: 0 0 auto; width: 84px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.eg-quiz__who img { display: block; width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); }
.eg-quiz__who p { margin: 0; }
.eg-quiz__body { flex: 1; min-width: 0; }
.eg-quiz__bar { height: 4px; margin-bottom: 18px; border-radius: 99px; background: var(--navy-soft); overflow: hidden; }
.eg-quiz__bar i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }
.eg-quiz__count { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.eg-quiz__count .num { font-size: 18px; }
.eg-quiz__q { position: relative; margin: 0 0 8px; padding: 14px 18px; border-radius: 10px; background: var(--paper); font-size: clamp(16px, 1.8vw, 19px); font-weight: 700; line-height: 1.65; color: var(--navy-deep); }
.eg-quiz__q::before { content: ""; position: absolute; left: -8px; top: 22px; border: 8px solid transparent; border-left: 0; border-right-color: var(--paper); }
.eg-quiz__hint { margin: 0 0 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.eg-quiz__answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.eg-quiz__answers button { min-height: 54px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; font: 700 16px var(--f-body); color: var(--navy-deep); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.eg-quiz__answers button:hover { border-color: var(--navy); background: var(--navy-soft); transform: translateY(-1px); }
.eg-quiz__answers button[data-a="yes"] { border-color: var(--navy); }
.eg-quiz__back { margin-top: 14px; padding: 0; border: 0; background: none; font: 13px var(--f-body); color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.eg-quiz__step:not([hidden]), .eg-quiz__result:not([hidden]) { animation: egIn .25s ease; }
@keyframes egIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.eg-quiz__rlabel { margin: 0; font-family: var(--f-num); font-size: 13px; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.eg-quiz__rtitle { margin: 4px 0 8px; font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.5; color: var(--navy-deep); }
.eg-quiz__result[data-level="ok"] .eg-quiz__rtitle { color: #1f6b43; }
.eg-quiz__rtext { margin: 0 0 12px; font-size: 15px; line-height: 1.85; }
.eg-quiz__notes { margin: 0 0 14px; padding: 12px 16px 12px 34px; border-radius: 8px; background: var(--gold-soft); font-size: 14px; line-height: 1.75; }
.eg-quiz__notes li + li { margin-top: 4px; }
.eg-quiz__lead { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--navy-deep); }
.eg-quiz__cta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.eg-quiz__cta a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 8px 12px; border-radius: 8px; text-decoration: none; line-height: 1.3; text-align: left; transition: transform .15s; }
.eg-quiz__cta a:hover { transform: translateY(-1px); }
.eg-quiz__cta svg { width: 24px; height: 24px; flex: 0 0 auto; }
.eg-quiz__cta b { display: block; font-size: 15.5px; }
.eg-quiz__cta small { display: block; font-size: 11.5px; opacity: .9; }
.eg-quiz__line { background: var(--line-green); color: #fff; box-shadow: 0 8px 18px rgba(6, 199, 85, .3); }
.eg-quiz__line:hover { color: #fff; }
.eg-quiz__tel { background: var(--navy); color: #fff; }
.eg-quiz__tel:hover { color: #fff; }
.eg-quiz__tel b { font-size: 17px; }
.eg-quiz__mail { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; }
.eg-quiz__retry { display: block; margin: 14px auto 0; padding: 0; border: 0; background: none; font: 13px var(--f-body); color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.eg-checkband .check-note { max-width: 860px; margin: 14px auto 0; text-align: center; }
@media (max-width: 760px) {
  .eg-quiz { flex-direction: column; gap: 12px; }
  .eg-quiz__who { display: flex; align-items: center; gap: 10px; width: auto; text-align: left; }
  .eg-quiz__who img { width: 44px; height: 44px; margin: 0; }
  .eg-quiz__who p br { display: none; }
  .eg-quiz__q::before { display: none; }
  .eg-quiz__cta { grid-template-columns: 1fr; }
  .eg-quiz__cta a { justify-content: flex-start; padding-inline: 18px; }
}
@media (max-width: 420px) { .eg-quiz__answers button { font-size: 15px; } }

/* ---------- 事例：PC は3件＋開閉、スマホは横にスライド ---------- */
.eg-more-wrap { margin: 24px 0 0; text-align: center; }
.eg-more { min-height: 48px; padding: 8px 32px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; font: 700 15px var(--f-body); color: var(--navy); cursor: pointer; transition: background .15s; }
.eg-more:hover { background: var(--navy-soft); }
@media (min-width: 621px) {
  .cases:not(.is-open) > .case.is-more { display: none; }
}
@media (max-width: 620px) {
  .cases { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-rows: repeat(6, auto); overflow-x: auto; scroll-snap-type: x mandatory; gap: 0 14px; margin-inline: calc(-1 * clamp(16px, 4vw, 28px)); padding: 4px clamp(16px, 4vw, 28px) 16px; scrollbar-width: thin; }
  .case { scroll-snap-align: center; }
  .eg-more-wrap { display: none; }
  .case-stats { flex-direction: column; gap: 6px; }
  .cases::after { content: none; }
}
.eg-swipe { display: none; }
@media (max-width: 620px) { .eg-swipe { display: block; margin: -8px 0 10px; font-size: 13px; color: var(--ink-2); text-align: right; } }

/* ---------- 相談の多いケース：スマホは一覧で短く ---------- */
@media (max-width: 600px) {
  .entries { gap: 8px; }
  .entry { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
  .entry .e { flex: 0 0 auto; font-size: 13px; letter-spacing: .06em; }
  .entry .q { flex: 1; font-size: 16px; line-height: 1.5; }
  .entry > span:not([class]) { display: none; }
  .entry .to { margin: 0; padding: 0; border: 0; font-size: 0; }
  .entry .to::after { font-size: 14px; }
}

/* ---------- 代表：2人の写真 ---------- */
.profile { grid-template-columns: 380px minmax(0, 1fr); align-items: center; }
.profile figure img { aspect-ratio: 1 / 1; object-position: center 30%; }
.profile figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); text-align: center; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile figure { max-width: none; } }

/* ---------- PC 右下の相談ボタン（最初の画面を過ぎたら出す。スマホは下の固定バー） ---------- */
.eg-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 232px; padding: 12px 12px 10px; border-radius: 10px; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 16px 40px rgba(16, 38, 61, .22); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.eg-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.eg-float__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--gold); text-align: center; letter-spacing: .06em; }
.eg-float a { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.eg-float svg { width: 18px; height: 18px; }
.eg-float__tel { min-height: 44px; background: var(--navy); color: #fff; font-size: 19px; }
.eg-float__tel:hover { color: #fff; background: var(--navy-deep); }
.eg-float__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.eg-float__row a { min-height: 38px; font-size: 14px; }
.eg-float__line { background: var(--line-green); color: #fff; }
.eg-float__line:hover { color: #fff; }
.eg-float__mail { border: 1.5px solid var(--navy); color: var(--navy); }
@media (max-width: 860px) { .eg-float { display: none; } }

/* 中央の見出し：英字の左右に同じ長さの線 */
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::before,
.eg-top .eg-head > .eyebrow[data-en]:not([data-en=""])::before { content: none; }
.eg-top .band:not(.eg-faq) > .wrap > .eyebrow[data-en]:not([data-en=""])::after,
.eg-top .eg-head > .eyebrow[data-en]:not([data-en=""])::after { content: attr(data-en); width: auto; height: auto; padding: 0 42px; font-family: var(--f-num); font-size: 14px; font-weight: 600; letter-spacing: .28em;
  background: linear-gradient(currentColor, currentColor) left center / 28px 1px no-repeat, linear-gradient(currentColor, currentColor) right center / 28px 1px no-repeat; }
.eg-top .final .cta-row { max-width: 900px; margin-inline: auto; }
.eg-top .final .hours { text-align: center; }
.eg-top .profile { margin-top: 8px; }
/* スマホ：料金のカードも横にスライド（縦に長くしない）、事務所の写真は2枚を横に */
@media (max-width: 620px) {
  .eg-top .fees { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(16px, 4vw, 28px)); padding: 4px clamp(16px, 4vw, 28px) 14px; }
  .eg-top .fee { scroll-snap-align: center; }
  .access { grid-template-columns: 1fr 1fr; gap: 8px; }
  .access figcaption { font-size: 12px; }
}
/* 紺の帯の中のリンク色（白）に負けないように */
.eg-quiz .eg-quiz__mail, .eg-quiz .eg-quiz__mail:hover { color: var(--navy); }
.eg-quiz .eg-quiz__line, .eg-quiz .eg-quiz__tel { color: #fff; }
.eg-quiz a.eg-quiz__mail:hover { background: var(--navy-soft); }

/* =====================================================================
   表（2026-10-06 オーナー「メニューが多く見にくい」）：文字の大きさ・行間・列の幅をそろえる
   ===================================================================== */
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line-2); vertical-align: top; text-align: left; }
.prose thead th, .prose tr:first-child > th { background: var(--navy-deep); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; border-color: var(--navy-deep); }
.prose tbody tr:nth-child(even) td { background: var(--paper-2); }
.prose figure { margin: 1.4em 0; }
.table-scroll { margin: 16px 0 24px; border-radius: 6px; }
.prose small { font-size: 12.5px; color: var(--ink-2); font-weight: 400; }

/* 2列の説明表（項目・内容）：項目の列は狭く、色を付けて区別 */
.t-spec td:first-child { width: 30%; background: var(--navy-soft) !important; color: var(--navy-deep); font-weight: 700; }
.t-spec th:first-child { width: 30%; }
/* 比較表（項目・一般・特定） */
.t-compare th:first-child, .t-compare td:first-child { width: 28%; }
.t-compare td:first-child { background: var(--navy-soft) !important; color: var(--navy-deep); font-weight: 700; }
.t-compare th:not(:first-child), .t-compare td:not(:first-child) { width: 36%; }
/* 点数の表：幅を詰めて、点数は右寄せ */
.t-points { max-width: 620px; }
.t-points td.r, .t-points th:last-child { width: 8em; text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy-deep); }

/* 料金表：列の幅を中身に合わせる（業務内容／料金／実費／備考） */
.fee-table { width: 100%; min-width: 0 !important; table-layout: fixed; font-size: 14.5px; line-height: 1.65; }
.fee-table th, .fee-table td { padding: 11px 14px; }
.fee-table th { background: var(--navy-deep) !important; color: #fff; font-size: 13.5px; white-space: nowrap; }
.fee-table td.r { text-align: right; white-space: nowrap; font-size: 15.5px; color: var(--navy-deep); font-weight: 600; }
.fee-table .fee-name { font-weight: 700; color: var(--navy-deep); }
.fee-table .fee-note { font-size: 13.5px; color: var(--ink-2); }
.fee-table tr:nth-child(even) td { background: var(--paper-2); }
.fee-table--4 th:nth-child(1) { width: 30%; } .fee-table--4 th:nth-child(2) { width: 15%; } .fee-table--4 th:nth-child(3) { width: 15%; }
.fee-table--3 th:nth-child(1) { width: 34%; } .fee-table--3 th:nth-child(2) { width: 16%; }
.fee-table--2 th:nth-child(2) { width: 9em; }
.fee-table th:nth-child(2), .fee-table th:nth-child(3):not(:last-child) { text-align: right; }
/* 経審の加算の基準（3列の文章の表） */
.prose .rule-notes { font-size: 14px; line-height: 1.75; }
/* 事務所概要 */
.overview th { width: 8em; background: var(--navy-soft) !important; color: var(--navy-deep); font-size: 14px; }
.overview td { font-size: 15px; }

/* スマホ：料金表は1件ずつのカードに（横スクロールさせない） */
@media (max-width: 640px) {
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 10px 12px; }
  .t-spec td:first-child, .t-compare td:first-child { width: 36%; }
  .fee-table--4, .fee-table--3 { table-layout: auto; border: 0; }
  .fee-table--4 tr:first-child, .fee-table--3 tr:first-child { display: none; }
  .fee-table--4 tr, .fee-table--3 tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--navy); border-radius: 6px; background: #fff; }
  .fee-table--4 td, .fee-table--3 td { display: block; padding: 0; border: 0; background: none !important; }
  .fee-table .fee-name { grid-column: 1 / -1; font-size: 15px; }
  .fee-table .fee-fee { font-size: 18px; }
  .fee-table .fee-fee::after { content: " 円（税抜）"; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
  .fee-table .fee-off { text-align: right; font-size: 13px; font-weight: 400; color: var(--ink-2); }
  .fee-table .fee-off::before { content: "実費 "; }
  .fee-table .fee-note { grid-column: 1 / -1; font-size: 13px; }
  .fee-table .fee-note:empty { display: none; }
  .fee-table--4 .fee-fee, .fee-table--3 .fee-fee { text-align: left; }
}

/* 料金表ページ：区分の目次を整え、各区分の見出しを見やすく */
.prose .faq-index a { font-size: 14px; }
.fee-sec { margin-top: 44px; }
.fee-sec h2 { margin-bottom: 4px; }
/* 手引きのダウンロード */
.dl-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-radius: 6px; background: #fff; }
.dl-file__name { flex: 1 1 260px; font-weight: 700; }
.dl-file__btn { flex: 0 0 auto; padding: 8px 18px; border-radius: 4px; background: var(--navy); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; }
/* 本文の大見出し・小見出しの間隔をそろえる */
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose .lead { font-size: 18px; line-height: 1.85; color: var(--navy-deep); font-weight: 700; }
.entries--list { grid-template-columns: 1fr; }
/* 本文の中のボタン・流れ：本文用のリンク色・見出しの飾りを打ち消す */
.prose .btn-tel, .prose .btn-tel small, .prose .btn-line, .prose .btn-line small { color: #fff; }
.prose .btn-mail, .prose .btn-mail small { color: var(--navy); }
.prose .btn { text-decoration: none; }
.prose .steps h3 { margin: 12px 0 4px; padding: 0; border: 0; font-size: 16px; }
.prose .steps p { font-size: 13.5px; }
/* 経審の加算の基準（3列の文章の表）：PC は列幅を指定、スマホはカードに */
.t-rules { table-layout: fixed; font-size: 14px !important; }
.t-rules th:nth-child(1) { width: 24%; } .t-rules th:nth-child(2) { width: 38%; }
.t-rules .ru-name { font-weight: 700; color: var(--navy-deep); background: var(--navy-soft) !important; }
@media (max-width: 640px) {
  .t-rules { table-layout: auto; border: 0; }
  .t-rules tr:first-child { display: none; }
  .t-rules tr { display: block; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: 6px; background: #fff; }
  .t-rules td { display: block; padding: 2px 0; border: 0; background: none !important; }
  .t-rules td:not(.ru-name)::before { content: attr(data-label); display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
  .t-rules .ru-name { font-size: 15px; }
}
/* トップの料金の目安：補足文を同じ位置・同じ大きさに（4枚の高さをそろえる） */
.eg-top .fee { gap: 0; }
.eg-top .fee .official { min-height: 2.2em; }
.eg-top .fee .fee-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.75; color: var(--ink-2); }
/* 3つの特長：大きな数字の下に、何の数字かを示す小さな一行（3枚とも同じ位置に） */
.reason-since { margin: 2px 0 8px !important; font-size: 13px !important; font-weight: 700; color: var(--navy) !important; letter-spacing: .04em; }
.reason-since .num { font-size: 15px; }

/* 事務所概要など「見出しが左の列にある表」：1行目の見出しまで紺地の白文字になり、名称が白抜きになっていた（2026-10-06 オーナー指摘） */
.prose .overview tr:first-child > th, .prose .overview th { background: var(--navy-soft) !important; color: var(--navy-deep) !important; border-color: var(--line-2) !important; font-size: 14px; letter-spacing: .02em; }
.prose table:not(:has(thead)) tr:first-child > th:only-of-type { background: var(--navy-soft); color: var(--navy-deep); }

/* =====================================================================
   2026-10-06 最終調整：読みやすい色、下層ページの見出し帯、記事の目次
   ===================================================================== */
:root { --gold-text: #876628; --line-green: #06a64b; --line-green-ink: #05893e; }
/* 小さな金色の文字は少し濃く（白地で読みやすく）。線や飾りの金はそのまま */
.eyebrow, .eyebrow[data-en]::before, .eyebrow[data-en]::after, .entry .e, .eg-quiz__count, .eg-quiz__rlabel,
.side-box h2, .summary h2, .case-dt, .case blockquote::before, .post-card .cat, .timeline .num, .profile .role,
.eg-float__label, .reason-since, .faq summary::before { color: var(--gold-text) !important; }
.band-navy .eyebrow, .band-navy .eyebrow::before, .band-navy .eyebrow::after { color: var(--gold-2) !important; }
.eg-hcta { background: #8f6e2d; } .eg-hcta:hover { background: #765a24; }
.bottom-bar .bb-line, .btn-line, .eg-quiz__line, .eg-float__line { background: var(--line-green); }

/* 下層ページ：題名の部分を帯にして、トップと同じ格調に */
.is-inner main > .wrap > .page-head,
.is-inner .article-head { position: relative; }
.is-inner main { background: linear-gradient(180deg, var(--paper) 0, #fff 320px); }
.page-head { padding: 12px 0 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.5; max-width: 30em; }
.page-head .band-lead { margin: 4px 0 0; max-width: 44em; }
.crumbs { font-size: 12.5px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* 記事の目次（見出しが3つ以上ある記事に自動で出す） */
.eg-toc { margin: 8px 0 36px; padding: 18px 22px 16px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.eg-toc p { margin: 0 0 8px; font-family: var(--f-num); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--gold-text); }
.eg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.eg-toc li { counter-increment: toc; display: grid; grid-template-columns: 2em 1fr; padding: 6px 0; border-top: 1px dashed var(--line-2); font-size: 14.5px; line-height: 1.6; }
.eg-toc li:first-child { border-top: 0; }
.eg-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-num); font-weight: 600; color: var(--navy); }
.eg-toc a { color: var(--navy-deep); text-decoration: none; }
.eg-toc a:hover { text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 96px; }

/* 記事の最後の「書いた人」と相談欄を、少し格のある見た目に */
.author { border: 1px solid var(--line-2); background: #fff; }
.author img { border: 2px solid var(--gold-soft); }
.article-cta h2, .is-inner > main .article-cta h2 { letter-spacing: .04em; }

.free .tag.paid { background: #8f6e2d; }
