/* ============================================================
   税理士法人プライムパートナーズ — 法人税務顧問LP / 所得税・確定申告LP 共通
   新相続トップ（group-top /tax/）の和モダンデザインを踏襲
   生成り × 深緑 #157968 × 墨 / radius 0 / box-shadow なし / 1px ヘアライン
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-2: #efeadd;
  --surface: #fdfbf6;
  --ink: #1e2b27;
  --body-c: #44524d;
  --mute: #7d877f;
  --green: #157968;
  --green-deep: #0e5c4f;
  --green-soft: #5fc0ab;
  --night: #133b33;
  --mist: #eef3ee;
  --line: #ded7c6;
  --line-strong: #b8b09b;
  --line-dark: rgba(255, 255, 255, 0.14);
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Jost", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ----------
   :where() で詳細度を (0,1,0) に抑え、.t-logo img 等の部品スタイルが必ず勝てるようにする
   （body.pp-lp img と書くと (0,1,2) になり部品側が負ける） */
:where(body.pp-lp, body.pp-lp *, body.pp-lp *::before, body.pp-lp *::after) { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.pp-lp {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
  color: var(--body-c);
  background: var(--paper);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
:where(body.pp-lp img) { max-width: 100%; height: auto; display: block; }
:where(body.pp-lp ul, body.pp-lp ol) { list-style: none; }
:where(body.pp-lp a) { color: inherit; text-decoration: none; }
:where(body.pp-lp button, body.pp-lp input, body.pp-lp select, body.pp-lp textarea) { font: inherit; color: inherit; }
body.pp-lp ::selection { background: rgba(21, 121, 104, 0.18); }
body.pp-lp :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* 紙の質感（ごく薄いノイズ） */
body.pp-lp::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 汎用 ---------- */
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 48px); }
.pc { display: inline; }
.sp { display: none; }
.ext { font-size: 0.7em; margin-left: 0.35em; opacity: 0.55; }
.text-link { color: var(--green); border-bottom: 1px solid rgba(21, 121, 104, 0.35); transition: border-color 0.25s; }
.text-link:hover { border-color: var(--green); }

:where(body.pp-lp section) { position: relative; padding-block: clamp(64px, 8.5vw, 104px); }

.t-sec-head { margin-bottom: clamp(30px, 4.5vw, 48px); }
.t-sec-label {
  font-family: var(--en);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.t-sec-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--line-strong);
  margin-top: 10px;
}
.t-sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.t-sec-lead { margin-top: 16px; font-size: 14.5px; line-height: 2; color: var(--body-c); }
.t-sec-label-light { color: var(--green-soft); }
.t-sec-label-light::after { background: var(--line-dark); }
.t-sec-title-light { color: #fff; }
.t-sec-lead-light { color: rgba(255, 255, 255, 0.78); }

/* ボタン */
.btn-fill, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  text-align: center;
  cursor: pointer;
}
.btn-fill { background: var(--green); color: #fff; border: 1px solid var(--green); }
.btn-fill:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn-lg { padding: 17px 40px; font-size: 15px; }
.btn-line { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--green); color: var(--green); }

/* ============================================================
   ヘッダー
   ============================================================ */
.t-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  transition: background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.t-header.is-scrolled {
  background: rgba(247, 244, 236, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.t-header-inner {
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 40px) 0;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: height 0.3s var(--ease);
}
.t-header.is-scrolled .t-header-inner { height: 60px; }
.t-logo { display: flex; align-items: center; }
.t-logo img { width: auto; height: 26px; }
.t-nav { margin-left: auto; }
.t-nav ul { display: flex; gap: clamp(18px, 2vw, 30px); }
.t-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 6px 2px;
  background: linear-gradient(var(--green), var(--green)) left bottom / 0 1px no-repeat;
  transition: color 0.3s, background-size 0.35s var(--ease);
}
.t-nav a:hover { color: var(--green); background-size: 100% 1px; }
.t-header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.t-header-tel-num { font-family: var(--en); font-size: 19px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
.t-header-tel-note { font-size: 10.5px; color: var(--mute); letter-spacing: 0.05em; }
.t-header-tel:hover .t-header-tel-num { color: var(--green); }
.t-header-btn {
  align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: clamp(124px, 11vw, 156px);
  padding: 0 10px;
  background: var(--green);
  color: #fff;
  text-align: center;
  transition: background-color 0.3s;
}
.t-header-btn:hover { background: var(--green-deep); }
.t-header-btn-icon { width: 21px; height: 21px; }
.t-header-btn-label { font-size: 13.5px; font-weight: 500; letter-spacing: 0.12em; }
.t-header-btn-sub {
  font-size: 9.5px; letter-spacing: 0.04em; opacity: 0.8;
  max-height: 16px; margin-top: 0; overflow: hidden;
  transition: opacity 0.3s var(--ease), max-height 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.t-header.is-scrolled .t-header-btn-sub { opacity: 0; max-height: 0; margin-top: -5px; }

/* ============================================================
   ヒーロー（タイポグラフィ主体）
   ============================================================ */
.t-hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  padding: 78px 0 0;
}
.t-hero-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 40fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  flex: 1;
}
.t-hero-text { padding-block: clamp(40px, 6vh, 64px); }
.t-hero-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 24px;
}
.t-hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.t-hero-line { display: block; overflow: hidden; }
.t-hero-line > span { display: inline-block; transition: transform 0.9s var(--ease); }
html.js-anim .t-hero-line > span { transform: translateY(112%); }
html.js-anim.is-loaded .t-hero-line > span { transform: translateY(0); }
.t-hero-lead {
  margin-top: 26px;
  font-size: 15px;
  line-height: 2.05;
  max-width: 36em;
}
.t-hero-cta {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 34px;
  flex-wrap: wrap;
}
.t-hero-tel { display: flex; flex-direction: column; line-height: 1.35; }
.t-hero-tel-num {
  font-family: var(--en);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: color 0.3s;
}
.t-hero-tel:hover .t-hero-tel-num { color: var(--green); }
.t-hero-tel-note { font-size: 11px; color: var(--mute); letter-spacing: 0.05em; }
html.js-anim .t-hero-label,
html.js-anim .t-hero-lead,
html.js-anim .t-hero-cta,
html.js-anim .t-hero-foot,
html.js-anim .t-hero-panel { opacity: 0; transform: translateY(14px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
html.js-anim.is-loaded .t-hero-label { opacity: 1; transform: none; transition-delay: 0.18s; }
html.js-anim.is-loaded .t-hero-lead { opacity: 1; transform: none; transition-delay: 0.6s; }
html.js-anim.is-loaded .t-hero-cta { opacity: 1; transform: none; transition-delay: 0.8s; }
html.js-anim.is-loaded .t-hero-panel { opacity: 1; transform: none; transition-delay: 0.7s; }
html.js-anim.is-loaded .t-hero-foot { opacity: 1; transform: none; transition-delay: 1s; }

/* ヒーロー右：写真ビジュアル */
.t-hero-visual { position: relative; height: clamp(320px, 58svh, 580px); }
.t-hero-photo { position: absolute; inset: 0; overflow: hidden; }
.t-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
html.js-anim .t-hero-photo { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
html.js-anim.is-loaded .t-hero-photo { clip-path: inset(0 0 0 0); transition-delay: 0.15s; }
.t-hero-photo-note {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--night);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
}

/* ヒーロー右：信頼の要点パネル（深緑） */
.t-hero-panel {
  background: var(--night);
  color: #fff;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 2.6vw, 36px);
}
.t-hero-panel-label {
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.t-hero-panel-list { display: grid; gap: 14px; }
.t-hero-panel-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.t-hero-panel-list li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--green-soft);
  margin-top: 11px;
}
.t-hero-panel-list strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: 0.05em; line-height: 1.7; }
.t-hero-panel-list span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.03em; line-height: 1.7; }

.t-hero-foot {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  padding: 16px clamp(20px, 6vw, 96px);
}
.t-hero-facts { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.5vw, 36px); }
.t-hero-facts li {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.t-hero-facts li::before { content: ""; width: 4px; height: 4px; background: var(--green); }
.t-hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
}
.t-hero-scroll::after { content: ""; width: 52px; height: 1px; background: var(--line-strong); }

/* ============================================================
   お悩み
   ============================================================ */
.t-worry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.t-worry-grid > li { border-bottom: 1px solid var(--line); }
.t-worry-grid a, .t-worry-grid .t-worry-cell {
  display: block;
  padding: 22px 6px;
  transition: background-color 0.35s;
}
.t-worry-grid a:hover { background: var(--surface); }
.t-worry-q {
  display: block;
  font-family: var(--serif);
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.7;
}
.t-worry-a {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.8;
}
.t-worry-arrow {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--en);
  color: var(--line-strong);
  transition: color 0.3s, transform 0.35s var(--ease);
}
.t-worry-grid a:hover .t-worry-arrow { color: var(--green); transform: translateX(4px); }
.t-worry-close {
  margin-top: clamp(24px, 3.5vw, 36px);
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.t-reason-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 72px);
}
.t-reason-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2vw, 26px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.t-reason-num {
  font-family: var(--en);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--green);
  letter-spacing: 0.04em;
}
.t-reason-title {
  font-family: var(--serif);
  font-size: clamp(17.5px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}
.t-reason-body p { font-size: 14px; line-height: 1.95; }

/* ============================================================
   対象別サービスカード
   ============================================================ */
.t-svc { background: var(--surface); border-block: 1px solid var(--line); }
.t-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.t-svc-grid--two { grid-template-columns: 1fr 1fr; }
.t-svc-card {
  background: var(--surface);
  padding: clamp(26px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s;
}
.t-svc-card:hover { background: #fff; }
.t-svc-index { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.t-svc-num { font-family: var(--en); font-size: 14px; color: var(--green); letter-spacing: 0.1em; }
.t-svc-en {
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}
.t-svc-name {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
}
.t-svc-desc { font-size: 13.5px; line-height: 1.95; flex: 1; }
.t-svc-list { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.t-svc-list li {
  font-size: 12.5px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.75;
}
.t-svc-list li::before { content: ""; flex-shrink: 0; width: 4px; height: 4px; background: var(--green); transform: translateY(-3px); }

/* ============================================================
   代表紹介
   ============================================================ */
.t-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.t-person {
  display: grid;
  grid-template-columns: minmax(180px, 264px) 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.t-person-photo { overflow: hidden; }
.t-person-photo img { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; object-position: center 15%; }
.t-person-role { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--green); }
.t-person-name {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-top: 6px;
}
.t-person-bio { margin-top: 12px; font-size: 13px; line-height: 1.95; }

/* ============================================================
   ご相談の流れ
   ============================================================ */
.t-flow { background: var(--mist); border-block: 1px solid var(--line); }
.t-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}
.t-step {
  padding: clamp(18px, 2.5vw, 26px) clamp(16px, 2vw, 22px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.t-step:first-child { border-left: none; }
.t-step-num { font-family: var(--en); font-size: 13px; letter-spacing: 0.1em; color: var(--green); }
.t-step-name { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: 0.03em; line-height: 1.5; }
.t-step-desc { font-size: 12px; line-height: 1.8; color: var(--mute); }
.t-flow-note { margin-top: 16px; font-size: 12.5px; color: var(--mute); }

/* ============================================================
   料金（個別見積）
   ============================================================ */
.t-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.t-price-hero { margin-top: clamp(24px, 3.5vw, 40px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.t-price-hero-label { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--green); }
.t-price-hero-word {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  margin-top: 8px;
}
.t-price-hero-note { margin-top: 12px; font-size: 12.5px; color: var(--mute); line-height: 1.9; }
.t-price-points { border-bottom: 1px solid var(--line); }
.t-price-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.t-price-point-num { font-family: var(--en); font-size: 15px; color: var(--green); letter-spacing: 0.08em; padding-top: 2px; }
.t-price-point dt { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: 0.03em; }
.t-price-point dd { margin-top: 4px; font-size: 13px; line-height: 1.95; color: var(--body-c); }
.t-price-cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.t-faq-wrap { max-width: 900px; }
.t-faq-list { border-bottom: 1px solid var(--line); }
.t-faq-item { border-top: 1px solid var(--line); }
.t-faq-q {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 44px 20px 6px;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.8;
  transition: color 0.3s;
}
.t-faq-q::-webkit-details-marker { display: none; }
.t-faq-q:hover { color: var(--green); }
.t-faq-mark {
  font-family: var(--en);
  font-size: 18px;
  color: var(--green);
  flex-shrink: 0;
  width: 22px;
}
.t-faq-mark-a { color: var(--line-strong); }
.t-faq-icon { position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; }
.t-faq-icon::before, .t-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 1px;
  background: var(--green);
  transition: transform 0.4s var(--ease);
}
.t-faq-icon::after { transform: rotate(90deg); }
.t-faq-item[open] .t-faq-icon::after { transform: rotate(0deg); }
.t-faq-a { display: flex; gap: 16px; padding: 0 44px 22px 6px; }
.t-faq-a p { font-size: 13.5px; line-height: 2; }

/* ============================================================
   CV（無料相談フォーム）
   ============================================================ */
.t-cv { background: var(--night); border-block: 1px solid var(--line); }
.t-cv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.t-cv-copy { color: rgba(255, 255, 255, 0.82); }
.t-cv-points { margin-top: 24px; display: grid; gap: 12px; }
.t-cv-points li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.8; }
.t-cv-points li::before { content: ""; flex-shrink: 0; width: 4px; height: 4px; background: var(--green-soft); transform: translateY(-3px); }
.t-cv-tel { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; line-height: 1.4; }
.t-cv-tel-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.08em; }
.t-cv-tel-num { font-family: var(--en); font-size: 30px; font-weight: 500; letter-spacing: 0.03em; color: #fff; }
.t-cv-tel-num:hover { color: var(--green-soft); }
.t-cv-tel-note { font-size: 11px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.05em; }

/* フォーム */
.t-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.5vw, 40px);
}
.t-form-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}
.t-form-sub { font-size: 12.5px; color: var(--mute); margin-bottom: 22px; }
.t-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.t-form-group { display: flex; flex-direction: column; gap: 6px; }
.t-form-group--full { grid-column: 1 / -1; }
.t-form-label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; }
.t-form-req, .t-form-opt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 1px 7px;
  line-height: 1.6;
}
.t-form-req { color: #fff; background: var(--green); }
.t-form-opt { color: var(--mute); border: 1px solid var(--line); }
.t-form-input, .t-form-select, .t-form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s;
}
.t-form-input:focus, .t-form-select:focus, .t-form-textarea:focus { border-color: var(--green); outline: none; }
.t-form-select-wrap { position: relative; }
.t-form-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--mute);
  border-bottom: 1px solid var(--mute);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.t-form-textarea { resize: vertical; min-height: 96px; }
.t-form-submit-area { grid-column: 1 / -1; margin-top: 8px; text-align: center; }
.t-form-submit {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.t-form-note { margin-top: 12px; font-size: 11.5px; color: var(--mute); line-height: 1.9; }
.t-form-note a { color: var(--mute); text-decoration: underline; }
.t-form .form-errors ul, .t-form .form-error { font-size: 13px; }

/* ============================================================
   図解（インライン SVG）
   ============================================================ */
.t-diagram-sec { padding-block: 0 clamp(64px, 8.5vw, 104px); }
.t-diagram {
  border: 1px solid var(--line);
  background: var(--paper);
}
.t-diagram svg { width: 100%; height: auto; display: block; }
.t-diagram-sp { display: none; }
@media (max-width: 820px) {
  .t-diagram-pc { display: none; }
  .t-diagram-sp { display: block; }
}

/* ============================================================
   相続への軽い言及
   ============================================================ */
.t-bridge { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.t-bridge-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.t-bridge-text { font-size: 13.5px; color: var(--body-c); }
.t-bridge-text strong { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }

/* ============================================================
   フッター
   ============================================================ */
.t-footer { background: var(--night); color: rgba(255, 255, 255, 0.82); padding: clamp(52px, 7vw, 80px) 0 32px; }
.t-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: clamp(36px, 6vw, 96px);
  padding-bottom: clamp(32px, 5vw, 52px);
}
.t-footer-logo { height: 28px; width: auto; filter: brightness(10); }
.t-footer-name { margin-top: 14px; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.1em; color: #fff; }
.t-footer-addr { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.t-footer-tel { margin-top: 5px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.t-footer-tel a { font-family: var(--en); font-size: 15px; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.05em; }
.t-footer-tel a:hover { color: #fff; }
.t-footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(32px, 4vw, 72px); }
.t-footer-nav-label {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}
.t-footer-nav ul { display: grid; gap: 9px; }
.t-footer-nav ul a { font-size: 13px; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.04em; transition: color 0.3s; }
.t-footer-nav ul a:hover { color: #fff; }
.t-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.t-footer-en { font-family: var(--en); font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); }
.t-footer-copy { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; }

/* ============================================================
   SP追従CTA
   ============================================================ */
.t-spcta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.t-spcta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 12px;
  line-height: 1.4;
  text-align: center;
}
.t-spcta-tel { background: var(--surface); color: var(--green-deep); }
.t-spcta-form { background: var(--green); color: #fff; }
.t-spcta-main { font-size: 13.5px; font-weight: 700; letter-spacing: 0.05em; }
.t-spcta-sub { font-size: 10px; opacity: 0.75; letter-spacing: 0.04em; }

/* ============================================================
   リビール（IntersectionObserver + CSS）
   ============================================================ */
html.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js-anim .reveal.is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal,
  html.js-anim .t-hero-label,
  html.js-anim .t-hero-lead,
  html.js-anim .t-hero-cta,
  html.js-anim .t-hero-panel,
  html.js-anim .t-hero-foot { opacity: 1; transform: none; transition: none; }
  html.js-anim .t-hero-line > span { transform: none; transition: none; }
  html.js-anim .t-hero-photo { clip-path: none; transition: none; }
}

/* reCAPTCHA バッジは非表示（規約に基づく代替表記をフォーム下に掲示） */
.grecaptcha-badge { visibility: hidden; }

/* WP admin bar 対応 */
body.admin-bar .t-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .t-header { top: 46px; } }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1180px) {
  .t-header-tel { display: none; }
}
@media (max-width: 1024px) {
  .t-nav { display: none; }
  .t-header-btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .t-hero { min-height: auto; }
  .t-hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .t-hero-panel { margin-bottom: 28px; }
  .t-hero-visual { height: clamp(220px, 36svh, 340px); order: 2; margin-bottom: 28px; }
  .t-hero-text { order: 1; }
  .t-worry-grid { grid-template-columns: 1fr; }
  .t-reason-list { grid-template-columns: 1fr; gap: 24px; }
  .t-svc-grid, .t-svc-grid--two { grid-template-columns: 1fr; }
  .t-people { grid-template-columns: 1fr; gap: 28px; }
  .t-steps { grid-template-columns: 1fr 1fr; }
  .t-step:nth-child(3) { border-left: none; }
  .t-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .t-price-grid { grid-template-columns: 1fr; gap: 36px; }
  .t-cv-grid { grid-template-columns: 1fr; }
  .t-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: inline; }
  body.pp-lp { font-size: 14.5px; padding-bottom: 64px; }
  .t-header-inner { height: 62px; }
  .t-header-btn { width: 92px; gap: 3px; }
  .t-header-btn-icon { width: 18px; height: 18px; }
  .t-header-btn-label { font-size: 11px; letter-spacing: 0.06em; }
  .t-header-btn-sub { display: none; }
  .t-hero { padding-top: 62px; }
  .t-hero-cta { flex-direction: column; align-items: stretch; gap: 18px; }
  .t-hero-cta .btn-lg { width: 100%; }
  .t-hero-tel { align-items: center; }
  .t-hero-foot { padding-block: 14px; }
  .t-hero-scroll { display: none; }
  .t-form-grid { grid-template-columns: 1fr; }
  .t-people { gap: 44px; }
  .t-person { grid-template-columns: 1fr; gap: 16px; }
  .t-person-photo img { aspect-ratio: 4 / 3; object-position: center 12%; }
  .t-bridge-inner > div { width: 100%; }
  .t-bridge-inner .btn-line { width: 100%; }
  .t-spcta { display: grid; }
  .t-footer { padding-bottom: 88px; }
  .t-footer-nav { grid-template-columns: 1fr 1fr; }
  .t-bridge-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .t-steps { grid-template-columns: 1fr; }
  .t-step { border-left: none; }
  .t-step:nth-child(n+2) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .t-hero-title { font-size: clamp(27px, 8.2vw, 33px); }
  .t-hero-tel-num { font-size: 26px; }
  .t-price-cta { flex-direction: column; }
  .t-price-cta .btn-fill, .t-price-cta .btn-line { width: 100%; }
  .t-cv-tel-num { font-size: 26px; }
}
