/* ============================================================
   自社株の贈与LP（/jishakabu-zoyo/）
   tax.css のトークン（生成り × 深緑 × 墨・radius 0・1px ヘアライン）だけで組む。
   デザインNG帳に合わせ、英字ラベル・左の色線・見出し下の短いバーは使わない。
   ============================================================ */

.jk-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.jk-narrow { max-width: 920px; }
.jk-center { text-align: center; }

/* ---------- ヒーロー ---------- */
.jk-hero { padding: 78px 0 0; }
.jk-hero-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-left: clamp(20px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 50fr) minmax(0, 42fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(760px, calc(100svh - 78px));
}
.jk-hero-text { padding-block: clamp(32px, 5vh, 56px); }
.jk-hero-kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--green); margin-bottom: 20px; }
.jk-hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.jk-hero-lead { margin-top: 24px; font-size: 15px; line-height: 2; max-width: 34em; }
.jk-hero-cta { display: flex; align-items: center; gap: 20px 36px; margin-top: 32px; flex-wrap: wrap; }
.jk-hero-tel { display: flex; flex-direction: column; line-height: 1.35; }
.jk-hero-tel-num { font-family: var(--en); font-size: 27px; font-weight: 500; letter-spacing: 0.03em; color: var(--ink); transition: color 0.3s; }
.jk-hero-tel:hover .jk-hero-tel-num { color: var(--green); }
.jk-hero-tel-note { font-size: 11px; color: var(--mute); letter-spacing: 0.05em; }
.jk-hero-note { margin-top: 26px; font-size: 12.5px; line-height: 1.9; color: var(--mute); max-width: 36em; }
.jk-hero-photo { align-self: stretch; margin: 0; }
.jk-hero-photo img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }

/* ---------- 目次 ---------- */
.jk-toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.jk-toc ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding-block: 14px; counter-reset: toc; }
.jk-toc li { counter-increment: toc; }
.jk-toc li + li::before { content: "／"; color: var(--line-strong); margin-inline: 12px; }
.jk-toc a { font-size: 13px; color: var(--body-c); transition: color 0.25s; }
.jk-toc a:hover { color: var(--green); }

/* ---------- 区画・見出し ---------- */
.jk-sec { padding-block: clamp(64px, 8vw, 100px); }
.jk-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jk-h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 22px;
}
.jk-h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin: 40px 0 16px;
}
.jk-p { font-size: 15px; line-height: 2; margin-bottom: 28px; }
.jk-p strong { color: var(--ink); font-weight: 700; }
.jk-note { font-size: 12.5px; line-height: 1.9; color: var(--mute); margin-top: 14px; }
.jk-source { font-size: 12.5px; color: var(--mute); margin-top: 18px; }

/* ---------- 見直しの経緯（タイムライン） ---------- */
.jk-timeline { position: relative; display: grid; gap: 0; margin-top: 8px; }
.jk-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-areas: "when title" "when body";
  column-gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.jk-timeline-item:last-child { border-bottom: 1px solid var(--line); }
.jk-timeline-when { grid-area: when; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.jk-status { display: block; width: max-content; margin-top: 8px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; padding: 2px 10px; border: 1px solid var(--line-strong); color: var(--body-c); }
.jk-status-done { border-color: var(--green); color: var(--green); }
.jk-timeline-title { grid-area: title; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.jk-timeline-body { grid-area: body; font-size: 14.5px; line-height: 1.95; margin-top: 4px; }
.jk-callout { margin-top: 32px; padding: 22px 26px; background: var(--mist); }
.jk-callout p { font-size: 14.5px; line-height: 2; }
.jk-callout strong { color: var(--ink); }

/* ---------- 仕組み（2段の流れ） ---------- */
.jk-flow2 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 16px; margin-top: 8px; }
.jk-flow2-step { background: var(--paper); border: 1px solid var(--line); padding: 24px 24px 22px; }
.jk-flow2-when { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--green); margin-bottom: 10px; }
.jk-flow2-main { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.65; color: var(--ink); }
.jk-flow2-sub { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--body-c); }
.jk-flow2-arrow { align-self: center; font-size: 22px; color: var(--line-strong); }

/* ---------- 計算例 ---------- */
.jk-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jk-calc-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.jk-calc-table th, .jk-calc-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; text-align: left; vertical-align: top; }
.jk-calc-table th { font-weight: 500; color: var(--body-c); }
.jk-calc-table td { text-align: right; color: var(--ink); font-weight: 500; white-space: nowrap; }
.jk-calc-table td small { display: block; font-size: 11.5px; color: var(--mute); font-weight: 400; white-space: normal; }
.jk-calc-table tr:last-child th, .jk-calc-table tr:last-child td { border-bottom: 0; }
.jk-calc-table .is-total th, .jk-calc-table .is-total td { background: var(--mist); color: var(--green-deep); font-weight: 700; }
.jk-calc-table .is-total td { white-space: normal; }

/* ---------- メリット・注意点 ---------- */
.jk-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.jk-two .jk-h3 { margin-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.jk-list { display: grid; gap: 14px; }
.jk-list li { position: relative; padding-left: 1.2em; font-size: 14.5px; line-height: 1.95; }
.jk-list li::before { content: "・"; position: absolute; left: 0; color: var(--green); }
.jk-list strong { display: block; color: var(--ink); font-weight: 700; }

/* ---------- 比較（PCは表・SPは方法ごと） ---------- */
.jk-compare { margin-top: 12px; border: 1px solid var(--line); background: var(--paper); }
.jk-compare-row { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.jk-compare-row-head { border-top: 0; background: var(--night); }
.jk-compare-name { padding: 16px 18px; font-family: var(--serif); font-size: 16px; font-weight: 600; color: #fff; }
.jk-compare-label { padding: 16px 18px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--paper-2); }
.jk-compare-cell { padding: 16px 18px; font-size: 13.5px; line-height: 1.85; border-left: 1px solid var(--line); }
.jk-compare-row-head .jk-compare-name { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.jk-compare-row-head .jk-compare-corner { background: var(--night); }

/* ---------- 時期の手順 ---------- */
.jk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.jk-steps li { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
.jk-steps li + li { border-left: 1px solid var(--line); }
.jk-steps-num { font-family: var(--en); font-size: 22px; color: var(--green); line-height: 1; }
.jk-steps-text { font-size: 14px; line-height: 1.8; color: var(--ink); }
.jk-mid-cta { margin-top: 36px; text-align: center; }

/* ---------- 料金 ---------- */
.jk-price-cap { caption-side: top; text-align: left; font-size: 13px; color: var(--mute); padding-bottom: 10px; }
.jk-price-table th { width: 38%; }
.jk-price-table td small { display: block; margin-top: 2px; }
.jk-price-example { margin-top: 24px; padding: 20px 24px; background: var(--mist); }
.jk-price-example-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.jk-price-example-body { font-size: 14px; line-height: 1.9; }
.jk-price-example-body strong { color: var(--green-deep); font-size: 16px; }

/* ---------- 強み・代表 ---------- */
.jk-strengths { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: st; }
.jk-strengths li { counter-increment: st; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "n t" "n p"; padding: 22px 0; border-bottom: 1px solid var(--line); }
.jk-strengths li::before { content: counter(st, decimal-leading-zero); grid-area: n; font-family: var(--en); font-size: 20px; color: var(--green); line-height: 1.5; }
.jk-strengths h3 { grid-area: t; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.jk-strengths p { grid-area: p; font-size: 14.5px; line-height: 1.95; margin-top: 4px; }
.jk-people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.jk-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.jk-person-photo { margin: 0; }
.jk-person-photo img { width: 120px; height: 150px; object-fit: cover; }
.jk-person-role { font-size: 12px; color: var(--green); letter-spacing: 0.06em; }
.jk-person-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin: 2px 0 8px; }
.jk-person-bio { font-size: 13.5px; line-height: 1.9; }

/* ---------- こんなご相談も ---------- */
.jk-cases { border-top: 1px solid var(--line); }
.jk-cases > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.jk-cases dt { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.7; }
.jk-cases dd { font-size: 14.5px; line-height: 1.95; }

/* ---------- FAQ ---------- */
.jk-faq { border-top: 1px solid var(--line); }
.jk-faq-item { border-bottom: 1px solid var(--line); }
.jk-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 32px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}
.jk-faq-item summary::-webkit-details-marker { display: none; }
.jk-faq-item summary::before { content: "Q"; position: absolute; left: 0; top: 19px; font-family: var(--en); color: var(--green); font-weight: 500; }
.jk-faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 22px; color: var(--mute); font-weight: 300; transition: transform 0.3s var(--ease); }
.jk-faq-item[open] summary::after { transform: rotate(45deg); }
.jk-faq-item p { padding: 0 8px 22px 32px; font-size: 14.5px; line-height: 2; }

/* ---------- フォーム ---------- */
.jk-form-sec { background: var(--paper-2); }
.jk-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.jk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jk-fs { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.jk-fs legend {
  float: left;
  width: 100%;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.jk-fs legend + * { clear: both; }
.jk-legend-note { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--mute); margin-left: 12px; }
.jk-field { margin-bottom: 18px; }
.jk-field > label, .jk-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.jk-req, .jk-opt { font-size: 11px; font-weight: 500; padding: 1px 7px; line-height: 1.6; letter-spacing: 0.04em; }
.jk-req { background: var(--green); color: #fff; }
.jk-opt { border: 1px solid var(--line-strong); color: var(--mute); }
.jk-field input[type="text"], .jk-field input[type="email"], .jk-field input[type="tel"], .jk-field select, .jk-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 14px;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.jk-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.jk-field input:focus, .jk-field select:focus, .jk-field textarea:focus { border-color: var(--green); }
.jk-field input:focus-visible, .jk-field select:focus-visible, .jk-field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.jk-field.is-error input, .jk-field.is-error select { border-color: #b3543f; }
.jk-field-error { font-size: 12.5px; color: #b3543f; margin-top: 6px; }
.jk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.jk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.jk-chip { position: relative; cursor: pointer; }
.jk-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jk-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 14px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.jk-chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.jk-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.jk-form-privacy { font-size: 12px; line-height: 1.8; color: var(--mute); margin: 8px 0 22px; }
.jk-form-privacy a { text-decoration: underline; }
.jk-submit { width: 100%; }
.jk-submit[disabled] { opacity: 0.6; cursor: wait; }
.jk-form-errors:empty { display: none; }
.jk-form-errors { background: #fbefec; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; color: #8a3a28; line-height: 1.8; }
.jk-form-done { background: var(--surface); border: 1px solid var(--green); padding: 32px clamp(20px, 4vw, 40px); text-align: center; }
.jk-form-done:focus { outline: none; }
.jk-form-done-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--green-deep); margin-bottom: 10px; }

.jk-other { margin-top: 40px; }
.jk-other-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.jk-other-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.jk-other-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.jk-other-list li + li { border-left: 1px solid var(--line); }
.jk-other-list a { font-size: 15px; font-weight: 700; color: var(--green); }
.jk-other-list span { font-size: 12px; color: var(--mute); }
.jk-other-list a .ext { color: var(--mute); }
.jk-disclaimer { margin-top: 32px; font-size: 12px; line-height: 1.9; color: var(--mute); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .jk-hero-inner { grid-template-columns: 1fr; padding-right: clamp(20px, 6vw, 96px); min-height: 0; }
  .jk-hero-photo { display: none; }
  .jk-calc, .jk-two, .jk-people { grid-template-columns: 1fr; }
  .jk-steps { grid-template-columns: 1fr 1fr; }
  .jk-steps li:nth-child(3) { border-left: 0; }
  .jk-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .jk-compare { display: none; }
}
.jk-compare-sp { display: none; }
@media (max-width: 900px) {
  .jk-compare-sp { display: grid; gap: 16px; margin-top: 12px; }
  .jk-compare-sp article { background: var(--paper); border: 1px solid var(--line); }
  .jk-compare-sp h3 { background: var(--night); color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 600; padding: 12px 18px; }
  .jk-compare-sp dl { padding: 4px 18px 10px; }
  .jk-compare-sp dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .jk-compare-sp dl > div:last-child { border-bottom: 0; }
  .jk-compare-sp dt { font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 2px; }
  .jk-compare-sp dd { font-size: 14px; line-height: 1.85; }
}
@media (max-width: 768px) {
  .jk-hero { padding-top: 62px; }
  .jk-hero-text { padding-block: 28px 36px; }
  .jk-hero-kicker { margin-bottom: 14px; font-size: 12px; }
  .jk-hero-title { font-size: clamp(27px, 7.6vw, 32px); }
  .jk-hero-lead { margin-top: 16px; font-size: 14px; line-height: 1.9; }
  .jk-hero-cta { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
  .jk-hero-cta .btn-lg { width: 100%; padding-inline: 20px; }
  .jk-hero-tel { align-items: center; }
  .jk-hero-tel-num { font-size: 24px; }
  .jk-hero-note { margin-top: 18px; font-size: 11.5px; }
  .jk-toc .wrap { padding-inline: 0; }
  .jk-toc ol { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 12px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jk-toc ol::-webkit-scrollbar { display: none; }
  .jk-toc li { flex: none; }
  .jk-toc li + li::before { margin-inline: 10px; }
  .jk-toc a { font-size: 12.5px; white-space: nowrap; }
  .jk-timeline-item { grid-template-columns: 1fr; grid-template-areas: "when" "title" "body"; padding: 18px 0; }
  .jk-status { display: inline-block; margin: 0 0 0 10px; vertical-align: 2px; }
  .jk-timeline-title { margin-top: 6px; }
  .jk-flow2 { grid-template-columns: 1fr; }
  .jk-flow2-arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .jk-callout { padding: 18px 18px; }
  .jk-cases > div { grid-template-columns: 1fr; }
  .jk-grid2 { grid-template-columns: 1fr; }
  .jk-other-list { grid-template-columns: 1fr; }
  .jk-other-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .jk-person { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .jk-person-photo img { width: 96px; height: 120px; }
  .jk-price-table th { width: auto; }
}
@media (max-width: 480px) {
  .jk-steps { grid-template-columns: 1fr; }
  .jk-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============================================================
   v2: 説明を減らし、レイアウトと図で見せる
   ============================================================ */
.jk-lead { font-size: 15.5px; line-height: 1.9; color: var(--ink); margin: -6px 0 28px; }

/* 図解：精算課税（帯の長さ＝金額） */
.jk-dg { margin: 0; padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); }
.jk-dg-cap { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.jk-dg-row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 13em; align-items: center; gap: 12px 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.jk-dg-when { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 0.06em; }
.jk-dg-bar { display: flex; height: 64px; background: var(--paper-2); }
.jk-dg-seg { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.jk-dg-seg b { font-family: var(--en); font-size: 17px; font-weight: 500; line-height: 1.2; }
.jk-dg-seg i { font-style: normal; font-size: 11.5px; line-height: 1.4; }
.jk-dg-seg.is-free { background: var(--mist); color: var(--green-deep); border-right: 1px solid var(--paper); }
.jk-dg-seg.is-tiny { flex: 0 0 64px !important; padding: 0 8px; }
.jk-dg-seg.is-tiny b { font-size: 12px; }
.jk-dg-seg.is-tax { background: var(--green); color: #fff; }
.jk-dg-seg.is-other { background: repeating-linear-gradient(135deg, var(--paper-2) 0 8px, #e6e0d0 8px 9px); color: var(--mute); }
.jk-dg-seg.is-back { background: var(--night); color: #fff; }
.jk-dg-out { display: flex; flex-direction: column; line-height: 1.5; }
.jk-dg-out span { font-size: 12px; color: var(--mute); }
.jk-dg-out strong { font-size: 16px; color: var(--ink); }
.jk-dg-same { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px 20px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.jk-dg-same-head { font-size: 13px; font-weight: 700; color: var(--green); }
.jk-dg-same ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.jk-dg-same li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; }
.jk-dg-same li + li { border-left: 1px solid var(--line); }
.jk-dg-same li span { font-size: 12.5px; color: var(--body-c); }
.jk-dg-same li b { font-family: var(--en); font-size: 18px; font-weight: 500; color: var(--night); }

/* メリット・注意点：太字の見出し行＋短い補足 */
.jk-list li { color: var(--body-c); }
.jk-list strong { margin-bottom: 2px; }

@media (max-width: 900px) {
  .jk-hero-inner { min-height: 0; }
  .jk-dg-row { grid-template-columns: 1fr; gap: 10px; }
  .jk-dg-out { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .jk-dg-same { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 480px) {
  .jk-dg-bar { height: 58px; }
  .jk-dg-seg { padding: 0 8px; }
  .jk-dg-seg b { font-size: 14.5px; }
  .jk-dg-seg i { font-size: 10.5px; }
  .jk-dg-seg.is-tiny { flex-basis: 52px !important; padding: 0 5px; }
  .jk-dg-seg.is-tiny i { font-size: 9.5px; }
  .jk-dg-same li b { font-size: 15px; }
  .jk-dg-same li span { font-size: 11px; }
}

/* v4: 画像は既存HPの素材を、他ページと同じ大きさで
   ヒーロー＝TOP（右に約627×594・スマホは本文の下に正方形）、区画の写真＝事業内容（4:3） */
.jk-hero-inner { max-width: 1440px; grid-template-columns: minmax(0, 47fr) minmax(0, 45fr); padding-left: clamp(20px, 6vw, 96px); padding-right: 0; min-height: 0; }
.jk-hero-photo { align-self: center; margin: 0; }
.jk-hero-photo img { width: 100%; height: auto; aspect-ratio: 627 / 594; max-height: none; object-fit: cover; }
.jk-media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 32px; }
.jk-media .jk-p { margin-bottom: 0; }
.jk-media-photo { margin: 0; }
.jk-media-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) {
  .jk-hero-inner { grid-template-columns: 1fr; padding-right: clamp(20px, 6vw, 96px); }
  .jk-hero-photo { display: block; margin-bottom: 40px; }
  .jk-hero-photo img { aspect-ratio: 1 / 1; }
  .jk-media { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .jk-hero-inner { padding-block: 48px; } }

/* v5: 文字を減らし図で見せる（少数株主LP #76 と同じ考え方） */
.jk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 28px; }
.jk-tags li { font-size: 12.5px; font-weight: 700; padding: 3px 12px; background: var(--mist); color: var(--green-deep); }

/* 評価見直しの流れ：箱を矢印でつなぐ（大事な段だけ塗る） */
.jk-tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.jk-tl li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.jk-tl li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; z-index: 1; width: 12px; height: 12px; margin-top: -6px; background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.jk-tl-when { font-size: 13px; color: var(--body-c); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.jk-tl-when .jk-status { display: inline-block; margin: 0; font-style: normal; }
.jk-tl-what { font-family: var(--serif); font-weight: 600; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.jk-tl-body { font-size: 13px; line-height: 1.7; color: var(--body-c); }
.jk-tl li.is-key { background: var(--green); border-color: var(--green); }
.jk-tl li.is-key::after { border-color: var(--green); }
.jk-tl li.is-key .jk-tl-when, .jk-tl li.is-key .jk-tl-body { color: #d6ece6; }
.jk-tl li.is-key .jk-tl-what { color: #fff; }
.jk-tl li.is-key .jk-status { color: #fff; border-color: rgba(255,255,255,.6); }

/* 誰から誰へ */
.jk-who { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 560px; margin: 0 0 32px; }
.jk-who-box { padding: 14px 16px; text-align: center; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 700; color: var(--ink); line-height: 1.6; font-size: 15px; }
.jk-who-arrow { position: relative; padding: 0 22px 0 0; font-size: 12.5px; font-weight: 700; color: var(--green); white-space: nowrap; }
.jk-who-arrow::after { content: "→"; position: absolute; right: 0; top: 50%; transform: translateY(-52%); font-size: 18px; }

/* メリット・注意点の補足は小さく1行 */
.jk-list small { display: block; font-size: 12px; color: var(--mute); line-height: 1.7; margin-top: 2px; }

/* 比較の早見表 */
.jk-compare-cell b { color: var(--green-deep); font-weight: 700; font-size: 15px; }
.jk-compare-cell em, .jk-compare-sp dd em { font-style: normal; color: #a23b32; font-weight: 500; }
.jk-compare-cell small, .jk-compare-sp dd small { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.65; color: var(--mute); }
.jk-compare-sp dd b { color: var(--green-deep); }

/* 株価が動く要因 → 結論 */
.jk-ap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 40px minmax(0, 1fr); gap: 10px; align-items: stretch; margin-bottom: 28px; }
.jk-ap-col { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: var(--paper); border: 1px solid var(--line); }
.jk-ap-col b { font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.jk-ap-col span { font-size: 13px; line-height: 1.7; color: var(--body-c); }
.jk-ap-arrow { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--green); }
.jk-ap-res { display: flex; align-items: center; padding: 18px; background: var(--green); }
.jk-ap-res b { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.6; color: #fff; }

/* 進め方：箱を矢印でつなぐ */
.jk-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.jk-flow li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 18px; background: var(--surface); border: 1px solid var(--line); }
.jk-flow li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; z-index: 1; width: 12px; height: 12px; margin-top: -6px; background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.jk-flow-n { font-family: var(--en); font-size: 15px; color: var(--green); }
.jk-flow-t { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.55; }
.jk-flow-d { font-size: 12.5px; color: var(--body-c); line-height: 1.6; }
.jk-flow li.is-key { background: var(--green); border-color: var(--green); }
.jk-flow li.is-key::after { border-color: var(--green); }
.jk-flow li.is-key .jk-flow-n, .jk-flow li.is-key .jk-flow-d { color: #d6ece6; }
.jk-flow li.is-key .jk-flow-t { color: #fff; }

/* 料金の目安：部品の箱を並べる */
.jk-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 10px; margin-top: 8px; }
.jk-calc-chip { position: relative; display: flex; flex-direction: column; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--body-c); line-height: 1.5; }
.jk-calc-chip b { font-family: var(--en); font-weight: 500; font-size: 17px; color: var(--ink); }
.jk-calc-chip.is-key { border: 2px solid var(--green); }
.jk-calc-chip.is-key small { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 9px); white-space: nowrap; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); padding: 1px 10px; }
.jk-calc-chip.is-key small::before { content: ""; position: absolute; left: 50%; top: -5px; margin-left: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: var(--green); }
.jk-calc-chip.is-res { background: var(--green); border-color: var(--green); color: #d6ece6; }
.jk-calc-chip.is-res b { color: #fff; font-size: 19px; }
.jk-calc-op { font-size: 18px; color: var(--mute); }
.jk-price-example { padding-bottom: 36px; }

/* こんなご相談も：短い文＋小さな挿絵 */
.jk-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 0; }
.jk-cases li { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; background: var(--paper); border: 1px solid var(--line); }
.jk-cases li img { order: -1; width: 170px; height: auto; align-self: center; }
.jk-cases-q { font-family: var(--serif); font-weight: 600; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.jk-cases-a { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--body-c); }

@media (max-width: 900px) {
  .jk-tl, .jk-flow { grid-template-columns: 1fr; gap: 10px; }
  .jk-tl li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; }
  .jk-tl-when { grid-row: 1 / span 2; align-self: start; flex-direction: column; align-items: flex-start; }
  .jk-tl-what, .jk-tl-body { grid-column: 2; }
  .jk-flow li { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); gap: 0 8px; padding: 12px 16px; }
  .jk-flow-t, .jk-flow-d { grid-column: 2; }
  .jk-flow-n { grid-row: 1 / span 2; }
  .jk-tl li:not(:last-child)::after, .jk-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -7px; margin: 0 0 0 -5px; width: 10px; height: 10px; transform: rotate(135deg); }
  .jk-ap { grid-template-columns: 1fr; gap: 8px; }
  .jk-ap-col { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; }
  .jk-ap-col b { font-size: 15px; }
  .jk-ap-arrow { height: 26px; transform: rotate(90deg); }
  .jk-ap-res { justify-content: center; padding: 14px; }
  .jk-ap-res br { display: none; }
  .jk-cases { grid-template-columns: 1fr; gap: 12px; }
  .jk-cases li { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 16px 16px; }
  .jk-cases li img { order: 0; width: 96px; }
  .jk-who-box { font-size: 14px; padding: 12px 10px; }
  .jk-who-arrow { white-space: normal; text-align: center; padding: 0 0 18px; font-size: 11.5px; }
  .jk-who-arrow::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%); }
}
@media (max-width: 480px) {
  .jk-calc { row-gap: 34px; }
  .jk-calc-chip { padding: 8px 10px; }
  .jk-calc-chip b { font-size: 15px; }
}
.jk-cases li img { mix-blend-mode: multiply; }
/* 日本語の文節で折り返す（1文字だけの行を出さない） */
.jk-tl-what, .jk-tl-body, .jk-ap-col span, .jk-cases-q, .jk-cases-a, .jk-flow-t, .jk-flow-d, .jk-h2, .jk-compare-cell, .jk-compare-sp dd, .jk-callout p { word-break: auto-phrase; }
@media (max-width: 600px) {
  .jk-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; row-gap: 8px; }
  .jk-calc-op { display: none; }
  .jk-calc-chip.is-key small { position: static; transform: none; align-self: flex-start; margin-top: 4px; }
  .jk-calc-chip.is-key small::before { display: none; }
  .jk-calc-chip.is-res { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .jk-price-example { padding-bottom: 24px; }
}

/* v6: 監査反映（フォームは必須3項目＋相談内容を先に、残りは開閉式） */
.jk-hero-lead + .jk-tags { margin: 14px 0 28px; }
.jk-more { margin: 4px 0 28px; border: 1px solid var(--line); background: var(--paper); }
.jk-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 16px 20px; font-weight: 700; color: var(--ink); font-size: 15px; }
.jk-more > summary::-webkit-details-marker { display: none; }
.jk-more > summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 300; color: var(--mute); }
.jk-more[open] > summary::after { content: "−"; }
.jk-more > .jk-fs { padding: 0 20px; }
.jk-more > .jk-fs:last-child { padding-bottom: 8px; }
.jk-noscript { margin-top: 12px; font-size: 14px; color: #a23b32; }
.jk-submit:disabled { opacity: .55; cursor: default; }
