@charset "UTF-8";
/* 前田公認会計士事務所 共通の見た目
   色・文字・余白はデザイン仕様（HP作成_現在地.md「デザイン仕様」）に合わせる。
   1440px幅で画面案と同じ寸法になり、それより狭いと縮む。900px未満で1列に組み替える。 */

:root {
  --white: #ffffff;
  --cream: #faf7f2;   /* 生成り：節を1つおきに敷く・図のパネル */
  --beige: #f6efe4;   /* ナビ・採用カード */
  --ink:   #1a1a1a;
  --sub:   #6b655c;
  --rule:  #ddd6ca;
  --copper:   #c27a45;  /* 差し色 */
  --copper-d: #96562a;
  /* 主役の色：ロゴの3色（青緑・深い青・灰青）からとる。ページごとの色分けはしない（2026-10-30 RM） */
  --brand:   #4c99ab;   /* ロゴの青緑 */
  --brand-d: #26617d;   /* ロゴの深い青 */
  --brand-l: #e6f2f5;
  --ai:    var(--brand-d);  /* フッター */
  --mid:   var(--brand);
  --mid-l: var(--brand-l);
  --enji:  #8f3b3b;     /* 期限の文字 */
  --accent: #7c3545;    /* 臙脂の強調色：問い合わせと図の強調（2026-10-30 RM） */

  /* 左右の余白：1440px幅で左115px・右47px */
  --pad-l: clamp(22px, 8vw, 115px);
  --pad-r: clamp(22px, 3.25vw, 47px);
  --sec-t: clamp(56px, 7.8vw, 112px);   /* 罫→ラベル */
  --sec-b: clamp(44px, 6.1vw, 88px);    /* 本文→次の罫 */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;  /* 本文：Noto Sans JP 標準（2026-10-30 RM） */
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
/* 見出し：Noto Serif JP 中程度（2026-10-30 RM） */
h1, h2, h3 { font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; margin: 0; }
p { margin: 0; }

.inner { padding: var(--sec-t) var(--pad-r) var(--sec-b) var(--pad-l); }
.band  { background: var(--cream); border-top: 1px solid var(--rule); }
.ruled { border-top: 1px solid var(--rule); }

/* ---- ラベル（四角＋英字）と見出し ---- */
.label { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; }
.label::before { content: ""; width: 13px; height: 13px; background: var(--sq, var(--copper)); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.24em; color: var(--copper); }
.h2 { font-size: clamp(26px, 2.5vw, 36px); margin: 16px 0 10px; }
.lead { font-size: 16px; color: var(--sub); margin: 0 0 40px; }
.body { max-width: 900px; }
.note { font-size: 15px; color: var(--sub); }
.kigen { color: var(--enji); font-weight: 700; }
.more { font-size: 17px; font-weight: 700; border-bottom: 3px solid var(--line, var(--copper)); padding-bottom: 5px; }

/* ---- ヘッダー ---- */
/* 2段：上にロゴと問い合わせ、下にメニュー。左右の端は本文と同じ（2026-10-30 RM） */
.site-head { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-head .row { padding: 22px var(--pad-r) 22px var(--pad-l); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 18px; white-space: nowrap; color: var(--brand-d); }
.brand img { height: 56px; width: auto; }
.brand-t { font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif; display: flex; flex-direction: column; font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; line-height: 1.25; letter-spacing: 0.02em; }
.brand-t small { font-size: clamp(12px, 1.3vw, 19px); color: #6f8b98; letter-spacing: 0.03em; }
.head-cta { display: inline-flex; align-items: center; gap: 36px; background: var(--accent); color: var(--white); font-size: 17px; font-weight: 500; padding: 14px 26px 14px 30px; white-space: nowrap; }
.head-cta span { font-size: 20px; }
.head-cta:hover { background: #652a37; }
.gnav { border-top: 1px solid var(--rule); }
/* メニューは左に寄せて等間隔、右端に電話番号（2026-10-30 RM） */
.gnav ul { list-style: none; margin: 0; padding: 0 var(--pad-r) 0 var(--pad-l); display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.gnav a { display: block; padding: 20px 0 17px; font-size: 17px; font-weight: 400; letter-spacing: 0.03em; border-bottom: 3px solid transparent; }
.gnav a:hover { color: var(--brand-d); }
.gnav a[aria-current="page"] { color: var(--brand-d); border-bottom-color: var(--brand); }
.menu-btn { display: none; }
.gnav .nav-contact { display: none; }
.gnav .nav-tel { margin-left: auto; display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--sub); }
.gnav .nav-tel a { padding: 0; border: 0; font-size: 20px; font-weight: 500; letter-spacing: 0.04em; color: var(--brand-d); }

/* ---- フッター ---- */
.site-foot { background: var(--ai); color: #b9c4ce; font-size: 14px; }
.site-foot .row { padding: 46px var(--pad-r) 46px var(--pad-l); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-foot img { display: inline-block; height: 24px; width: auto; vertical-align: -6px; margin-right: 12px; }
.site-foot a { color: #b9c4ce; }

/* ---- 表（概要・所在地・担当者） ---- */
.dl { width: 100%; border-collapse: collapse; font-size: 17px; }
.dl th { text-align: left; font-weight: 700; width: 150px; padding: 19px 16px 19px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.dl td { padding: 19px 0; border-bottom: 1px solid var(--rule); }

/* ---- 写真 ---- */
.photo { background: #e8dfd0 center / cover no-repeat; }
.caption { margin-top: 12px; font-size: 14px; color: var(--sub); }

/* ================= トップ ================= */
.hero { padding: clamp(48px, 7.2vw, 104px) var(--pad-r) 56px var(--pad-l); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: end; }
.hero h1 { font-size: clamp(36px, 4.7vw, 68px); line-height: 1.28; letter-spacing: -0.03em; margin-top: 22px; }
.hero-photo { height: clamp(240px, 34.7vw, 500px); background: #3a3a3a url("/assets/img/hero.jpg") center 60% / cover no-repeat; }
.facts { padding: 48px var(--pad-r) 72px var(--pad-l); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; max-width: 1000px; }
.facts li { border-top: 1px solid var(--rule); padding-top: 18px; }
.facts .k { font-size: 15px; color: var(--sub); letter-spacing: 0.04em; }
.facts .v { font-size: clamp(30px, 3.6vw, 52px); font-weight: 900; letter-spacing: -0.05em; color: var(--copper); line-height: 1.4; }
.facts .u { font-size: 18px; font-weight: 700; margin-left: 6px; color: var(--ink); }

.cards { background: var(--cream); border-top: 1px solid var(--rule); padding: 56px var(--pad-r) 96px var(--pad-l); display: grid; grid-template-columns: 1.15fr 1.15fr 0.9fr; gap: 36px; align-items: stretch; }
.card { background: var(--white); border-top: 3px solid var(--c); padding: 30px 30px 34px; display: flex; flex-direction: column; }
.card.recruit { background: var(--beige); }
.card .en { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--c); }
.card h2 { font-size: 26px; letter-spacing: 0.02em; margin-top: 12px; }
.card .cl { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--sub); }
.card .fig { margin-top: 22px; }
.card ul { margin: 22px 0 0; padding-left: 1.15em; font-size: 14px; line-height: 1.7; }
.card li { margin-bottom: 9px; }
.card .links { margin-top: auto; padding-top: 26px; display: flex; gap: 28px; flex-wrap: wrap; }
.card .links a { font-size: 15px; font-weight: 700; border-bottom: 3px solid var(--c); padding-bottom: 4px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }
.services li { border-top: 1px solid var(--rule); padding: 26px 30px 30px 0; }
.services li::before { content: ""; display: block; width: 11px; height: 11px; background: var(--c); margin-bottom: 14px; }
.services h3 { font-size: 19px; letter-spacing: 0.02em; }
.services p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--sub); }

.strengths { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); counter-reset: s; }
.strengths li { display: grid; grid-template-columns: 74px minmax(0, 1fr); padding: 34px 0; border-top: 1px solid var(--rule); }
.strengths li::before { counter-increment: s; content: "0" counter(s); font-size: 30px; font-weight: 900; color: var(--copper); letter-spacing: -0.08em; line-height: 1.5; }
.strengths h3 { font-size: 24px; letter-spacing: 0.02em; }
.strengths p { margin-top: 12px; font-size: 17px; max-width: 900px; }

.split { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 80px; align-items: start; }
.split.map { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 88px; }
.split.fig { grid-template-columns: 245px minmax(0, 1fr); gap: 108px; }
.split.rep { grid-template-columns: 280px minmax(0, 1fr); }
.team-photo { height: 352px; }
.map iframe { display: block; width: 100%; height: 330px; border: 0; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; max-width: 1100px; }
.contact li { border-top: 2px solid var(--ink); padding-top: 22px; }
.contact .en { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--sub); }
.contact .tel { display: block; font-size: 28px; font-weight: 900; letter-spacing: -0.04em; margin-top: 10px; }
.contact .mail { display: inline-block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; border-bottom: 3px solid var(--copper); padding-bottom: 3px; }
.contact .s { font-size: 14px; color: var(--sub); margin-top: 6px; }
.contact p { margin-top: 14px; font-size: 15px; line-height: 1.8; }

/* ================= 下層ページ ================= */
.page-head { padding: var(--sec-t) var(--pad-r) var(--sec-b) var(--pad-l); }
.page-head .cat { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: 0.24em; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(30px, 3.2vw, 46px); }
.page-head p { margin-top: 18px; max-width: 1030px; }
/* 見出し直下の呼びかけ（太字・左に色の縦線） */
.page-head .msg { margin-top: 32px; max-width: 960px; padding: 22px 28px; border-left: 5px solid var(--brand); background: var(--brand-l); color: var(--brand-d); font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.75; }
.page-head .msg + p { margin-top: 26px; }
/* 見出しの下を、文（左）と写真（右）の2列にする */
.page-head .ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: start; margin-top: 32px; }
.page-head .ph-grid > div > :first-child { margin-top: 0; }
.page-head .ph-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
/* 見出しの帯（確定申告から。生成りの地・英字・大きな見出し・短い説明・写真） */
.page-head.ph-hero { background: var(--cream); padding-top: 26px; }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: clamp(28px, 4vw, 56px); }
.crumb a:hover { color: var(--brand-d); }
.crumb span { margin: 0 .7em; }
.ph-hero .ph-grid { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.ph-en { font-size: 15px; letter-spacing: 0.06em; color: var(--brand-d); }
.ph-hero h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 500; letter-spacing: 0.08em; line-height: 1.3; margin-top: 8px; }
.ph-hero h1::after { content: ""; display: block; width: 44px; height: 3px; background: var(--brand-d); margin-top: 18px; }
.page-head .ph-lead { margin-top: 34px; font-size: clamp(21px, 2vw, 28px); font-weight: 700; line-height: 1.7; }
.ph-lead span { display: inline-block; }  /* 語の途中で折り返さない */
.ph-intro { margin-top: clamp(28px, 3.5vw, 48px); }
.page-head .ph-intro .msg { margin-top: 0; }
.page-head .ph-sub { margin-top: 22px; font-size: 17px; color: var(--sub); line-height: 1.9; }
.ph-fig { margin: 0; }
.ph-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--sub); text-align: right; }
/* よくある質問 */
.qa { border-bottom: 1px solid var(--rule); max-width: 1000px; }
.qa > div { padding: 28px 0; border-top: 1px solid var(--rule); }
.qa h3 { font-size: 21px; letter-spacing: 0.02em; }
.qa p { margin-top: 10px; font-size: 17px; }
.qa .tl { color: var(--brand-d); border-bottom: 1px solid var(--brand); }
.panel { background: var(--cream); border: 1px solid var(--rule); padding: clamp(20px, 2.8vw, 40px); }
.green, .navy { --sq: var(--brand); --c: var(--brand); --c-l: var(--brand-l); --c-d: var(--brand-d); --line: var(--brand); }

/* 四角＋見出し＋本文を罫で区切って並べる（時期・業務・資料など） */
.items { border-bottom: 1px solid var(--rule); max-width: 1000px; }
.items > div { display: grid; grid-template-columns: 13px minmax(0, 1fr); gap: 26px; padding: 28px 0; border-top: 1px solid var(--rule); }
.items > div::before { content: ""; width: 13px; height: 13px; background: var(--c, var(--copper)); margin-top: 11px; }
.items h3 { font-size: 21px; letter-spacing: 0.02em; }
.items p { margin-top: 10px; font-size: 17px; }
.sub-h2 { font-size: clamp(22px, 2vw, 28px); }

/* 基礎控除の目安 */
.kiso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.kiso .t { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; color: var(--brand-d); }
.kiso .f { font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: -0.04em; margin-top: 8px; }
.kiso .f b { color: var(--brand-d); font-weight: 700; margin: 0 .3em; }
.kiso table { width: 100%; border-collapse: collapse; font-size: 16px; }
.kiso td { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.kiso td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }

/* 申告までの流れ */
.flow-fig { max-width: 420px; margin-bottom: 32px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: f; position: relative; }
.flow li { text-align: center; position: relative; }
.flow li::before { counter-increment: f; content: counter(f); display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 14px; border: 2.5px solid var(--c); border-radius: 50%; background: var(--white); font-size: 22px; font-weight: 900; color: var(--c-d); position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; top: 26px; left: 50%; width: calc(100% + 24px); height: 4px; background: var(--c-l); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 17px; letter-spacing: 0.02em; }
.flow p { font-size: 14px; color: var(--sub); line-height: 1.7; margin-top: 6px; }
/* 相続の流れは最後が期限なので臙脂 */
.green .flow li:last-child::before { border-color: var(--enji); color: var(--enji); }
.green .flow li:last-child p { color: var(--enji); }

.points { display: grid; gap: 40px; max-width: 900px; }
.points h3 { font-size: 22px; letter-spacing: 0.02em; }
.points p { margin-top: 12px; font-size: 17px; }
.points p + p { margin-top: 2px; }
/* 確定申告のスケジュール図（RM作成のSVG） */
.points .checks-fig { margin-top: 24px; }
.schedule-fig { display: block; width: 100%; max-width: 1000px; height: auto; border: 1px solid var(--rule); }
.if-other { max-width: 1000px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.if-other b { font-size: 16px; }
.if-other span { font-size: 14px; color: var(--sub); line-height: 1.6; }

.fee { width: 100%; max-width: 880px; border-collapse: collapse; background: var(--white); }
.fee td { padding: 22px 16px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.fee td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-size: 20px; letter-spacing: -0.03em; }
.fee tr:first-child td { border-top: 2px solid var(--ink); }
.fee td.s { font-size: 15px; color: var(--sub); letter-spacing: 0; }
.sq-note { display: grid; grid-template-columns: 13px minmax(0, 1fr); gap: 26px; max-width: 820px; margin-top: 46px; }
.sq-note::before { content: ""; width: 13px; height: 13px; background: var(--mid); margin-top: 11px; }
.sq-note h3 { font-size: 21px; letter-spacing: 0.02em; margin-bottom: 12px; }
.sq-note p, .sq-note ul { font-size: 16px; }
.sq-note ul { margin: 0 0 14px; padding-left: 1.3em; line-height: 1.7; }
.sq-note p + p, .sq-note ul + p { margin-top: 10px; }
.daihyo-photo { height: 310px; background-image: url("/assets/img/daihyo.jpg"); background-position: center 25%; }

/* ================= 狭い画面 ================= */
@media (max-width: 1180px) {
  .gnav ul { gap: 30px; }
  .gnav a { font-size: 15px; }
  .gnav .nav-tel span { display: none; }
  .gnav .nav-tel a { font-size: 18px; }
}
@media (max-width: 1000px) {
  .site-head .row { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .brand { gap: 12px; } .brand img { height: 36px; }
  .brand-t { font-size: 19px; }
  .brand-t small { font-size: 11px; }
  .head-cta { margin-left: auto; gap: 12px; font-size: 14px; padding: 9px 14px; }
  .head-cta span { font-size: 15px; }
  /* 三本線だけでは気づかれにくいので、枠と「メニュー」の文字を添える（2026-11-03 RM） */
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 60px; height: 54px; border: 1px solid var(--brand); border-radius: 4px; background: var(--white); padding: 0 17px; cursor: pointer; flex-shrink: 0; }
  .menu-btn span { display: block; height: 2px; background: var(--brand-d); }
  .menu-btn::after { content: "メニュー"; display: block; margin: 4px -17px 0; font-family: "Noto Sans JP", sans-serif; font-size: 10px; line-height: 1; letter-spacing: .04em; color: var(--brand-d); text-align: center; }
  .menu-btn[aria-expanded="true"] { background: var(--brand-l); }
  .menu-btn[aria-expanded="true"]::after { content: "閉じる"; }
  .gnav { display: none; }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; padding-top: 4px; padding-bottom: 12px; }
  .gnav a { font-size: 16px; padding: 12px 0; border-bottom: 0; border-top: 1px solid var(--rule); }
  .gnav li:first-child a { border-top: 0; }
  .gnav .nav-tel { margin-left: 0; order: 9; padding: 12px 0; border-top: 1px solid var(--rule); }
  .gnav .nav-tel span { display: inline; }
  .gnav .nav-contact { order: 8; }
  .gnav a[aria-current="page"] { border-bottom: 0; }
}
@media (max-width: 900px) {
  .page-head .ph-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body { font-size: 16px; line-height: 1.75; }
  .hero, .split, .split.map, .split.fig, .split.rep, .kiso { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 32px; padding-bottom: 48px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 16px; text-align: left; align-items: center; }
  .flow li::before { margin: 0; grid-row: span 2; }
  .flow li::after { top: 54px; left: 25px; width: 4px; height: calc(100% - 36px); }
  .flow p { margin-top: 0; }
  .split.fig > :first-child { max-width: 360px; }
  .team-photo { height: 220px; }
  .strengths li { grid-template-columns: 52px minmax(0, 1fr); padding: 26px 0; }
  .strengths li::before { font-size: 24px; }
  .strengths h3 { font-size: 20px; }
  .strengths p, .points p, .items p, .dl { font-size: 16px; }
  .items > div { gap: 18px; padding: 22px 0; }
  .items h3 { font-size: 19px; }
  .dl th { width: 96px; }
  .daihyo-photo { height: 260px; max-width: 300px; }
}
@media (max-width: 600px) {
  .facts { padding-top: 24px; padding-bottom: 36px; }
  .facts ul { gap: 0 14px; }
  .facts .k { font-size: 11px; letter-spacing: 0; }
  .facts .u { font-size: 13px; margin-left: 3px; }
  .card { padding: 24px 22px 26px; }
  .card h2 { font-size: 22px; }
  .card .fig, .card ul { display: none; }
  .card .links { padding-top: 6px; }
  .site-foot .row { padding-top: 26px; padding-bottom: 26px; font-size: 12px; flex-direction: column; gap: 8px; }
  .fee td { padding: 16px 8px; }
  .fee td:last-child { font-size: 18px; }
  .fee td:last-child:not(.s) { white-space: nowrap; font-size: 16px; }
  .head-cta { display: none; }
  .gnav .nav-contact { display: block; }
  .gnav .nav-contact a { color: var(--accent); font-weight: 700; }
  .page-head .ph-lead { font-size: 19px; }
  .page-head .msg { padding: 18px 18px 18px 20px; border-left-width: 4px; font-size: 18px; }
}

/* ---- トップ：採用欄の「AIとともに」（2026-11-03） ---- */
.recruit-ai { margin-top: 36px; padding: 28px 30px; background: var(--cream); border-top: 2px solid var(--brand); max-width: 820px; scroll-margin-top: 24px; }
.recruit-ai h3 { font-size: 23px; color: var(--brand-d); }
.recruit-ai .ai-intro { font-size: 16px; line-height: 1.9; margin-top: 14px; max-width: 42em; }
.recruit-ai details { margin-top: 22px; border-top: 1px solid var(--rule); }
.recruit-ai summary { padding: 18px 0 4px; cursor: pointer; color: var(--brand-d); font-size: 16px; font-weight: 500; line-height: 1.7; }
.recruit-ai summary::marker { color: var(--brand-d); }
.recruit-ai summary:focus-visible { outline: 2px solid var(--brand-d); outline-offset: 5px; }
.ai-body { padding-top: 22px; max-width: 42em; font-size: 16px; line-height: 1.95; }
.ai-body p + p { margin-top: 20px; }
.ai-body .ai-source { padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--sub); }
.ai-source a { text-decoration: underline; text-underline-offset: 3px; color: var(--brand-d); overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .recruit-ai { padding: 22px 18px; }
  .recruit-ai h3 { font-size: 21px; }
  .recruit-ai summary { font-size: 15px; }
}

/* ---- 事務所について：事務所の様子（2026-11-03） ---- */
.office-gallery { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.office-gallery figure { margin: 0; min-width: 0; }
.office-gallery img { width: 100%; height: 380px; object-fit: cover; }
.office-gallery figure:last-child img { object-position: center 45%; }
.office-gallery figcaption { font-size: 14px; color: var(--sub); margin-top: 12px; }
@media (max-width: 900px) {
  .office-gallery { grid-template-columns: 1fr; gap: 28px; }
  .office-gallery img { height: auto; max-height: 420px; object-fit: contain; object-position: left; }
}

/* ---- 法人のお客様（2026-11-03）。ページ全体の上書きは .p-hojin に限る ---- */
.p-hojin .page-head.ph-hero { padding-bottom: 52px; }
.p-hojin .crumb { margin-bottom: 28px; }
.p-hojin .ph-hero h1 { font-size: clamp(36px, 4vw, 56px); }
.p-hojin .page-head .ph-lead { margin-top: 24px; }
.p-hojin .ph-lead br { display: none; }
.p-hojin .ph-lead span + span { margin-left: .25em; }
.p-hojin .inner { max-width: 1320px; margin: auto; padding-top: 64px; padding-bottom: 64px; }
.p-hojin .lead { max-width: 760px; font-size: 17px; line-height: 1.95; }
.p-hojin .items:not(.service-grid) { max-width: 820px; }
.p-hojin .body { max-width: 760px; }
.service-section .lead { color: var(--ink); }
.section-links { display: flex; gap: 12px 30px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; }
.section-links a { border-bottom: 1px solid var(--brand); padding-bottom: 5px; color: var(--brand-d); }

/* 業務の構成：写真と時間軸の図（2026-11-03 RM 採用） */
.business-visual { background: var(--cream); border-top: 1px solid var(--rule); }
.business-photo { height: 350px; position: relative; overflow: hidden; }
.business-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.business-photo::after { content: "業務イメージ（AI生成）"; position: absolute; right: 20px; bottom: 14px; font-size: 11px; color: white; background: rgba(0, 0, 0, .48); padding: 3px 8px; }

/* お引き受けする業務：PCで2列 */
.service-grid { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 52px; border-bottom: 0; counter-reset: svc; margin-top: 36px; }
.service-grid > div { display: block; position: relative; padding: 28px 0 32px; border-top: 2px solid var(--brand); counter-increment: svc; }
.service-grid > div::before { content: "0" counter(svc); background: none; width: auto; height: auto; display: block; color: var(--brand-d); font-size: 14px; letter-spacing: .12em; margin: 0 0 12px; font-weight: 500; }
.service-grid h3 { font-size: 24px; color: var(--brand-d); margin-bottom: 14px; }
.service-grid p { font-size: 16px; line-height: 1.95; max-width: 36em; }
.service-grid p strong { font-weight: 500; color: var(--ink); }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 0; }
  .service-grid h3 { font-size: 22px; }
  .p-hojin .inner { padding-top: 44px; padding-bottom: 44px; }
  .p-hojin .ph-lead br { display: block; }
  .p-hojin .ph-lead span + span { margin-left: 0; }
  .p-hojin .page-head.ph-hero { padding-bottom: 36px; }
}
@media (max-width: 600px) {
  .business-photo { height: 240px; }
}

/* 業務の構成：時間軸の図。毎月の帯の上に節目の業務、下に支える専門知識と経験（2026-11-03 RM） */
.p-hojin .tl-wrap { padding-top: 72px; padding-bottom: 72px; }
.tl-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 64px; align-items: end; }
.tl-head h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.55; margin-top: 18px; }
.tl-head p { font-size: 15px; color: var(--sub); line-height: 1.95; }

.tl { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 32px; margin-top: 56px; }
.tl-lbl small { display: block; font-size: 10px; letter-spacing: .14em; color: var(--brand-d); }
.tl-lbl b { display: block; font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 18px; margin-top: 4px; }

/* 02 節目の業務：帯から立ち上がる札 */
.tl-events { position: relative; height: 176px; }
.tl-events .tl-lbl { align-self: start; }
.ev { position: absolute; left: var(--x); bottom: 0; transform: translateX(-1px); display: flex; flex-direction: column; align-items: flex-start; }
.ev-tag { background: #fff; border-top: 3px solid var(--accent); padding: 12px 18px 13px; box-shadow: 0 1px 0 var(--rule); white-space: nowrap; }
.ev-tag b { display: block; font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 19px; color: var(--accent); line-height: 1.4; }
.ev-tag span { display: block; font-size: 12px; color: var(--sub); margin-top: 3px; }
.ev-line { width: 2px; flex: 1; min-height: 34px; background: var(--accent); }
.ev::after { content: ""; position: absolute; left: -5px; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--cream); }
.ev:nth-child(1) { height: 150px; } .ev:nth-child(2) { height: 108px; } .ev:nth-child(3) { height: 150px; }

/* 01 毎月の業務：太い帯。1年＝12の目盛りと決算・申告の印 */
.tl-band { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--brand-d); color: #fff; border-radius: 0 48px 48px 0; padding: 26px 68px 22px 24px; }
.tl-band::after { content: "→"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.yr { position: relative; padding-right: 14px; }
.yr + .yr { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 14px; }
.ticks { display: flex; align-items: center; justify-content: space-between; height: 18px; }
.ticks i { width: 2px; height: 9px; background: rgba(255, 255, 255, .5); }
.ticks i:last-child { width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.yr-t { display: flex; justify-content: space-between; font-size: 13px; margin-top: 10px; letter-spacing: .04em; }
.yr-t span:first-child { opacity: .75; }
.yr-t span:last-child { font-weight: 700; }

/* 03 専門領域：帯を下から支える細い土台 */
.tl-base { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; margin-top: 10px; padding: 14px 22px; border-bottom: 2px solid var(--brand); font-size: 14px; color: var(--brand-d); }
.tl-base span + span::before { content: "／"; margin: 0 14px; color: var(--rule); }
.tl-axis { grid-column: 2; margin-top: 14px; font-size: 11px; letter-spacing: .14em; color: var(--sub); }
.tl-row-lbl { align-self: center; }
.tl-note { grid-column: 2; margin-top: 18px; font-size: 11px; color: var(--sub); }

@media (max-width: 900px) {
  .tl-head { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl-axis, .tl-note { grid-column: 1; }
  .tl-lbl { margin: 28px 0 12px; }
  .tl > .tl-lbl:first-child { margin-top: 0; }
  /* 狭い画面は札を3つ並べ、帯の上に短い線で立てる */
  .tl-events { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ev { position: static; height: auto !important; transform: none; }
  .ev-tag { white-space: normal; width: 100%; padding: 10px 10px 11px; }
  .ev-tag b { font-size: 16px; }
  .ev-tag span { font-size: 11px; }
  .ev-line { min-height: 22px; margin-left: 14px; }
  .ev::after { display: none; }
  .tl-band { padding: 16px 44px 14px 14px; border-radius: 0 32px 32px 0; }
  .tl-band::after { right: 16px; font-size: 20px; }
  /* 札の線が帯に届くよう、帯の見出しは帯の下に回す */
  .tl > :nth-child(1) { order: 1; } .tl-events { order: 2; } .tl-band { order: 3; }
  .tl > :nth-child(3) { order: 4; margin-top: 10px; }
  .tl > :nth-child(5) { order: 5; } .tl-base { order: 6; } .tl-axis { order: 7; } .tl-note { order: 8; }
}
@media (max-width: 600px) {
  .p-hojin .tl-wrap { padding-top: 44px; padding-bottom: 44px; }
  .tl-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yr:nth-child(3) { display: none; }
  .yr-t { font-size: 12px; }
  .yr-t span:first-child { display: none; }
  .yr-t { justify-content: flex-end; }
  .tl-base { display: grid; gap: 6px; font-size: 14px; padding: 12px 4px 14px; }
  .tl-base span::before, .tl-base span + span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--brand); margin: 0 10px 0 0; vertical-align: middle; }
}

/* ---- スマホ：画面下の連絡ボタン（2026-11-03） ---- */
.mob-bar { display: none; }
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .mob-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 64px; background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -2px 10px rgba(0,0,0,0.06); padding-bottom: env(safe-area-inset-bottom); }
  .mob-bar a { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; line-height: 1.35; }
  .mob-bar .mb-tel { flex: 1.6; color: var(--brand-d); font-size: 16px; font-weight: 700; }
  .mob-bar .mb-tel span { font-size: 12px; font-weight: 400; color: var(--sub); }
  .mob-bar .mb-mail { flex: 1; background: var(--accent); color: var(--white); font-size: 15px; font-weight: 700; }
}

/* 法人ページ：相談内容を図で示す3つの入口 */
.consult-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.consult-option { min-width: 0; border-bottom: 1px solid var(--rule); }
.consult-art { position: relative; background: var(--brand-l); color: var(--brand-d); padding: 20px 32px 14px; }
.consult-art svg { width: 240px; margin: 0 auto; }
.consult-num { position: absolute; top: 14px; left: 18px; font-size: 14px; letter-spacing: .1em; color: var(--brand-d); }
.consult-copy { padding: 24px 0 28px; }
.consult-copy .consult-type { font-size: 13px; color: var(--brand-d); letter-spacing: .08em; margin: 0 0 10px; }
.consult-copy h3 { font-size: clamp(21px, 1.9vw, 27px); }
.consult-copy > p:last-child { font-size: 16px; margin-top: 16px; }
@media (max-width: 900px) {
  .consult-options { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .consult-option { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-bottom: 24px; align-items: start; }
  .consult-art { padding: 26px 10px 14px; }
  .consult-copy { padding: 0; }
}
@media (max-width: 600px) {
  .consult-option { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .consult-art { padding: 18px 32px 10px; }
  .consult-art svg { width: 200px; }
  .consult-copy h3 br { display: none; }
}

/* 法人：担当体制の図と打ち合わせ写真・事業承継への案内 */
.approach-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.approach-photo { margin: 0; min-width: 0; }
.approach-photo img { width: 100%; height: auto; }
.approach-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--sub); line-height: 1.7; }
@media (max-width: 900px) { .approach-with-photo { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.succession-banner { margin-top: 56px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 32px; gap: 32px; align-items: center; padding: 30px 36px; background: var(--brand-l); border-left: 4px solid var(--brand); }
.succession-banner svg { width: 150px; color: var(--brand-d); }
.succession-en { color: var(--brand-d); font-size: 12px; letter-spacing: .12em; }
.succession-banner h3 { margin-top: 8px; font-size: clamp(20px, 2vw, 28px); }
.succession-banner p { margin-top: 10px; color: var(--sub); font-size: 15px; }
.succession-arrow { color: var(--brand-d); font-size: 30px; }
.succession-banner:hover { background: #d9ebef; }
.succession-banner:focus-visible { outline: 3px solid var(--brand-d); outline-offset: 4px; }
@media (max-width: 600px) {
  .succession-banner { grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; padding: 24px 20px; }
  .succession-banner svg { width: 100px; grid-column: 1 / -1; }
}

/* 事業承継税制の期限の表（見出しが長いので欄を広げる） */
.dl.dl-wide th { width: 240px; }
@media (max-width: 600px) { .dl.dl-wide th { width: 8em; } }

/* 相続の冒頭：ご相談についての3つ（訪問・初回無料・数か月後でも） */
.reassure { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; }
.reassure li { background: var(--white); border-top: 3px solid var(--brand); padding: 16px 18px 18px; }
.reassure b { display: block; font-size: 17px; color: var(--brand-d); }
.reassure span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--sub); }
@media (max-width: 760px) { .reassure { grid-template-columns: 1fr; gap: 10px; } }

/* ---- 採用情報：職種ごとの募集要項（2026-11-13） ---- */
.jobs { max-width: 1000px; border-bottom: 1px solid var(--rule); }
.jobs details { border-top: 1px solid var(--rule); }
.jobs summary { padding: 24px 0; cursor: pointer; line-height: 1.6; }
.jobs summary::marker { color: var(--brand-d); }
.jobs summary:focus-visible { outline: 2px solid var(--brand-d); outline-offset: 4px; }
.jobs .job-name { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 22px; color: var(--brand-d); letter-spacing: 0.02em; }
.jobs .job-name small { font-size: 15px; }
.jobs .job-catch { display: block; margin-top: 6px; padding-left: 1.2em; font-size: 15px; color: var(--sub); }
.jobs .dl { font-size: 16px; margin-bottom: 30px; }
.jobs .dl th { width: 140px; }
.jobs .dl tr:last-child th, .jobs .dl tr:last-child td { border-bottom: 0; }
.jobs .job-list { margin: 10px 0; padding-left: 1.3em; }
.jobs-note { margin-top: 22px; font-size: 14px; color: var(--sub); }
@media (max-width: 600px) {
  .jobs .job-name { font-size: 19px; }
  .jobs .job-name small { display: block; font-size: 13px; }
  .jobs .job-catch { font-size: 14px; padding-left: 0; }
  .jobs .dl, .jobs .dl tbody, .jobs .dl tr, .jobs .dl th, .jobs .dl td { display: block; width: auto; }
  .jobs .dl th { padding: 16px 0 2px; border-bottom: 0; color: var(--brand-d); }
  .jobs .dl td { padding: 0 0 16px; }
  .jobs .dl { font-size: 15px; }
}

/* ---- 採用情報：数字で見る働き方（2026-11-13） ---- */
.nums { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; max-width: 1000px; }
.nums li { border-top: 2px solid var(--brand); padding-top: 16px; }
.nums .k { font-size: 14px; color: var(--sub); letter-spacing: 0.04em; }
.nums .v { font-size: clamp(34px, 3.6vw, 50px); font-weight: 900; letter-spacing: -0.04em; color: var(--copper); line-height: 1.35; }
.nums .v.t { font-size: clamp(26px, 2.7vw, 36px); letter-spacing: 0; line-height: 1.9; }
.nums .u { font-size: 16px; font-weight: 700; margin: 0 4px 0 3px; color: var(--ink); }
.nums .n { font-size: 13px; color: var(--sub); margin-top: 2px; }
@media (max-width: 900px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 600px) { .nums { margin-bottom: 30px; } .nums .u { font-size: 14px; } }
