/* ============================================================
   投稿詳細（ニュース＆コラム）の版面  v1.0
   ------------------------------------------------------------
   見本帖 ataraxia_renew/demo-blocks_light_v01.html の theme="paper" と、
   採用された14要素をテーマへ移したもの。採用は次のとおり:
     H1-01 / H2-04 / H3-01 / QUOTE-04 / CODE-01 / BOLD-04 / MARK-05 /
     CARD-03 / LIST-02 / NOTE-05 / CTA-03 / TOC-04 / TABLE-04 / STEP-01

   ◆ 設計方針
     記事はブロックエディタで書く。書き手が .h2-04 のようなクラスを
     毎回付けるのは現実的でないので、**素の h2 / blockquote / pre / table 等に
     そのまま当たるように書き直してある**。見本のクラス名は使わない。
     見本で「ラベル」「番号」など余分な文字を持っていた意匠は、
     CSSカウンタで自動採番して同じ絵にしている。

     書き手が明示的に選ぶものだけクラスにした（管理画面の「追加CSSクラス」）:
       .note  … 註（NOTE-05）
       .steps … 手順（STEP-01。ol に付ける）

   ◆ 一覧ページ（/news/）は闇のまま。明るいのは個別記事と /why-ataraxia/。
   ============================================================ */

/* html の地も明るくする。global.css は html{background:var(--void)} なので、
   body より外側（横あふれの右側やバウンスの余白）に闇が覗く。
   article.css は明るい面のページにしか読ませていないので、素の html セレクタでよい
   （読ませる条件は inc/enqueue.php。header.php の arx-article 判定と対で動く）。 */
html{background:#f7f5ef}

/* ---- 記事だけの配色。global.css のトークンを上書きする ---- */
body.arx-article{
  --bg:#f7f5ef; --bg2:#efece3; --card:#ffffff;
  --a-ink:#10151d; --a-ink-soft:#3e4652; --a-ink2:#8a8f87;
  --a-line:rgba(16,21,29,.14);
  --a-accent:#1f4e5a; --a-accent2:#b0893a;
  --a-code-bg:#10151d; --a-code-ink:#e8ecf4; --a-code-line:rgba(246,249,255,.14);
  --a-shadow:0 18px 50px rgba(16,21,29,.07);
  background:var(--bg);color:var(--a-ink);
}
/* ヘッダーの明暗は main.js が区間で判定する。個別記事は明るい面なので
   arx-sub の「常時反転」から除外してある（main.js の isSub を参照）。
   フッターの闇に入ったところで自動的に反転する。 */
body.arx-article .hd.stuck{background:rgba(247,245,239,.82);border-bottom-color:var(--a-line)}

/* ---- ヒーロー（H1-01）----
   見本の H1-01 は「英字ラベル → 大きな英字見出し → 和文」の3段。
   記事タイトルは和文なので、英字見出しの位置に和文を置き、
   グラデ文字は使わない（サイト規律：色は地＋単一アクセントの2系統）。 */
body.arx-article .page-hero{padding:196px 0 40px;background:transparent;text-align:center}
body.arx-article .page-hero .eyebrow{justify-content:center}
body.arx-article .page-hero .eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.24em;color:var(--a-accent)}
body.arx-article .page-title{
  font-family:var(--min);font-weight:600;
  font-size:clamp(24px,3.2vw,40px);line-height:1.55;letter-spacing:.06em;
  color:var(--a-ink);margin-top:14px;max-width:24em;margin-inline:auto;
}
body.arx-article .news-meta{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:14px;
  font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:var(--a-ink2)}
body.arx-article .news-meta .news-cat{border:1px solid var(--a-line);padding:3px 12px;color:var(--a-accent)}
body.arx-article .page-body{padding:8px 0 132px}
body.arx-article .news-thumb{margin-inline:auto;max-width:var(--measure);margin-bottom:clamp(34px,4vw,54px);border:1px solid var(--a-line);background:var(--card)}
body.arx-article .news-thumb img{width:100%;height:auto;display:block}

/* ---- 本文の地 ----
   版面は中央に立てる。1240px の wrap の中で 638px の段を左端に置くと、
   大きな画面で本文だけが左に寄って見える（実測の指摘）。 */
body.arx-article .prose{
  max-width:var(--measure);margin-inline:auto;
  font-family:var(--got);font-size:15px;line-height:2.1;color:var(--a-ink-soft);
  word-break:normal;
}
body.arx-article .prose > * + *{margin-top:1.5em}
/* 本文の両端揃えと、URLの折り返しは page.css（.prose p / .prose a）で一括指定。
   記事・プライバシーポリシーなど .prose を使う全ページで同じ組みにするため。 */
body.arx-article .prose a{color:var(--a-accent);text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1px;text-decoration-color:rgba(31,78,90,.4)}
body.arx-article .prose a:hover{text-decoration-color:var(--a-accent)}

/* ---- H2-04 : 角丸の番号箱 ＋ 明朝見出し ----
   見本は箱の中の数字を手で書いていた。ここはカウンタで自動採番する。 */
body.arx-article .prose{counter-reset:arxh2}
body.arx-article .prose h2{
  counter-increment:arxh2;
  display:flex;align-items:center;gap:16px;
  margin-top:2.6em;margin-bottom:.2em;
  font-family:var(--min);font-weight:600;
  font-size:clamp(19px,2.3vw,26px);line-height:1.5;letter-spacing:.05em;color:var(--a-ink);
  scroll-margin-top:clamp(84px,9vw,116px);
}
body.arx-article .prose h2::before{
  content:counter(arxh2,decimal-leading-zero);
  flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:13px;letter-spacing:0;
  color:#fff;background:var(--a-accent);
}

/* ---- 長い h2 を1行に収める ----
   26pxのままだと 20.8em を超える見出しが2行に折り返る
   （実測: 「3社に1社が、すでに生成AIを業務に組み込んでいる」= 24.59em → 639px）。
   見出しごとの実幅を content-single.php が --h2w（em）で渡してくるので、
   収まる字送りを逆算して font-size を絞る。

   532px の内訳:
     版面600px（--measure 40em × .prose の 15px）− 番号箱44px − gap 16px = 540px
     そこから約1.5%（8px）を安全側に引いた値。ぴったり540だと丸め誤差で
     折り返す見出しが出る（24.15em の見出しが実測540.0pxで境界に乗った）。

   min() の第1項があるので、**足りているときは一切変わらない**。
   max() の 20px は下限。これ以上小さくすると本文15pxと差がつかず見出しに見えない。
   下限に張り付いてもなお長い見出しは、nowrap を当てずに素直に折り返させる
   （はみ出すより折り返すほうがまし）。

   狭い画面には当てない。375pxでは1行に詰めると12px前後まで落ちて本文より
   小さくなってしまうため、820px以下は従来どおり折り返す。
   なお820px以下では clamp() 側が19px付近まで落ちるので、
   版面が600pxを保てる範囲（おおよそ655px以上）では元々1行に収まる。 */
@media (min-width:821px){
  body.arx-article .prose h2{
    font-size:min(clamp(19px,2.3vw,26px), max(20px, calc(532px / var(--h2w,1))));
  }
}

/* ---- H3-01 : 小さなラベル ＋ 明朝見出し ----
   ラベルは「親H2の番号 - 連番」。書き手が文字を足さなくても意匠が成立する。 */
body.arx-article .prose h2{counter-reset:arxh3}
body.arx-article .prose h3{
  counter-increment:arxh3;
  margin-top:2.2em;margin-bottom:.2em;padding-top:.2em;
  font-family:var(--min);font-weight:600;font-size:18px;line-height:1.8;color:var(--a-ink);
  scroll-margin-top:clamp(84px,9vw,116px);
}
body.arx-article .prose h3::before{
  content:counter(arxh2,decimal-leading-zero) "-" counter(arxh3);
  display:block;margin-bottom:6px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;color:var(--a-accent);
}
body.arx-article .prose h4{margin-top:1.8em;font-family:var(--min);font-weight:600;font-size:16px;color:var(--a-ink)}

/* ---- QUOTE-04 : アクセントの薄い面 ＋ 左の2px罫 ---- */
body.arx-article .prose blockquote{
  padding:26px 30px;border-left:2px solid var(--a-accent);
  background:color-mix(in srgb,var(--a-accent) 7%, transparent);
}
body.arx-article .prose blockquote p{
  font-family:var(--min);font-weight:500;
  font-size:clamp(16px,1.9vw,20px);line-height:2.05;letter-spacing:.04em;color:var(--a-ink);
}
body.arx-article .prose blockquote cite,
body.arx-article .prose blockquote .wp-block-quote__citation{
  display:block;margin-top:12px;font-style:normal;
  font-family:var(--mono);font-size:10px;letter-spacing:.18em;color:var(--a-ink2);
}

/* ---- CODE-01 : ウィンドウ風のバー付き ----
   バーの3つの点は擬似要素の背景で描く。書き手にHTMLを足させないため。 */
body.arx-article .prose pre{
  overflow:hidden;border:1px solid var(--a-code-line);
  background:var(--a-code-bg);padding:0;
}
body.arx-article .prose pre::before{
  content:"";display:block;height:37px;border-bottom:1px solid var(--a-code-line);
  background-repeat:no-repeat;
  background-image:
    radial-gradient(circle 5.5px at 19.5px 18.5px,#ff5f57 99%,transparent 100%),
    radial-gradient(circle 5.5px at 38.5px 18.5px,#febc2e 99%,transparent 100%),
    radial-gradient(circle 5.5px at 57.5px 18.5px,#28c840 99%,transparent 100%);
}
body.arx-article .prose pre code,
body.arx-article .prose pre > *{
  display:block;padding:18px;
  font-family:var(--mono);font-size:13px;line-height:1.85;letter-spacing:0;
  color:var(--a-code-ink);overflow-x:auto;
}
body.arx-article .prose :not(pre) > code{
  font-family:var(--mono);font-size:.9em;letter-spacing:0;
  background:rgba(16,21,29,.06);color:var(--a-accent);padding:1px 6px;
}

/* ---- BOLD-04 / MARK-05 ---- */
body.arx-article .prose strong,
body.arx-article .prose b{font-weight:700;color:var(--a-accent)}
body.arx-article .prose mark{
  background:transparent;color:var(--a-accent);
  border-bottom:2px dotted var(--a-accent2);padding-bottom:1px;
}

/* ---- LIST-02 : 丸囲みの通し番号 ---- */
body.arx-article .prose ol:not(.steps):not(.arx-toc ol){
  list-style:none;counter-reset:arxli;padding-left:0;
}
body.arx-article .prose ol:not(.steps):not(.arx-toc ol) > li{
  counter-increment:arxli;position:relative;padding:6px 0 6px 44px;
}
body.arx-article .prose ol:not(.steps):not(.arx-toc ol) > li::before{
  content:counter(arxli,decimal-leading-zero);position:absolute;left:0;top:6px;
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:12px;color:var(--a-accent);
  border:1px solid var(--a-line);border-radius:50%;background:var(--card);
}
body.arx-article .prose ul{list-style:none;padding-left:0}
body.arx-article .prose ul > li{position:relative;padding-left:28px}
body.arx-article .prose ul > li::before{
  content:"";position:absolute;left:4px;top:.95em;
  width:7px;height:7px;border-radius:50%;background:var(--a-accent);
}
body.arx-article .prose li + li{margin-top:.2em}

/* ---- NOTE-05 : 二重線の静かな註（書き手が .note を付ける） ---- */
body.arx-article .prose .note{
  padding:20px 24px;border:1px solid var(--a-line);
  outline:1px solid var(--a-line);outline-offset:3px;
}
body.arx-article .prose .note::before{
  content:"NOTE";display:block;
  font-family:var(--en);font-size:11px;letter-spacing:.3em;color:var(--a-ink2);
}
body.arx-article .prose .note p{
  margin-top:8px;font-family:var(--min);font-size:14px;line-height:2.05;color:var(--a-ink-soft);
}

/* ---- TABLE-04 : 白い面の表 ---- */
body.arx-article .prose table,
body.arx-article .prose .wp-block-table table{
  width:100%;border-collapse:collapse;
  font-size:14px;line-height:1.9;color:var(--a-ink-soft);
}
body.arx-article .prose .wp-block-table,
body.arx-article .prose figure:has(> table){
  background:var(--card);border:1px solid var(--a-line);
  box-shadow:var(--a-shadow);padding:8px 18px;overflow-x:auto;
}
body.arx-article .prose th{
  text-align:left;color:var(--a-accent);font-weight:500;
  padding:12px 10px 8px;border-bottom:1px solid var(--a-line);
}
body.arx-article .prose td{padding:12px 10px;border-bottom:1px solid var(--a-line)}
body.arx-article .prose tr:last-child td{border-bottom:0}
body.arx-article .prose td:first-child{font-family:var(--min);font-weight:600;color:var(--a-ink)}

/* ---- STEP-01 : 縦の導線 ＋ 丸番号（ol.steps） ---- */
body.arx-article .prose ol.steps{
  list-style:none;counter-reset:arxs;position:relative;padding-left:44px;
}
body.arx-article .prose ol.steps::before{
  content:"";position:absolute;left:15px;top:10px;bottom:10px;width:1.5px;background:var(--a-line);
}
body.arx-article .prose ol.steps > li{counter-increment:arxs;position:relative;padding:0 0 22px;margin-top:0}
body.arx-article .prose ol.steps > li:last-child{padding-bottom:0}
body.arx-article .prose ol.steps > li::before{
  content:counter(arxs);position:absolute;left:-44px;top:0;
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--a-accent);color:#fff;font-family:var(--mono);font-size:13px;
}
body.arx-article .prose ol.steps > li strong{
  display:block;font-family:var(--min);font-weight:600;font-size:15.5px;color:var(--a-ink)
}

/* ---- TOC-04 : 点線で繋ぐ目次（content-single.php が h2 から自動生成） ---- */
.arx-toc{
  margin:0 auto clamp(40px,4.4vw,64px);padding:22px 26px;
  border:1px solid var(--a-line);background:var(--card);box-shadow:var(--a-shadow);
  max-width:var(--measure);
}
.arx-toc .l{font-family:var(--mono);font-size:10px;letter-spacing:.22em;color:var(--a-ink2)}
.arx-toc ol{list-style:none;counter-reset:arxt;margin-top:10px;font-size:14px;color:var(--a-ink-soft)}
.arx-toc li{counter-increment:arxt;display:flex;align-items:baseline;gap:12px;
  padding:9px 0;border-bottom:1px dashed var(--a-line)}
.arx-toc li:last-child{border-bottom:0}
.arx-toc li::before{content:counter(arxt,decimal-leading-zero);
  font-family:var(--mono);font-size:11px;color:var(--a-accent)}
.arx-toc li::after{content:"";flex:1;order:2;border-bottom:1px dotted var(--a-line);transform:translateY(-4px)}
.arx-toc li a{order:1;color:inherit;text-decoration:none}
.arx-toc li a:hover{color:var(--a-accent)}

/* ---- CTA-03 : 記事末の丸ボタン ----
   見本はグラデ（--chrome）。本サイトは単色の規律なのでアクセント一色にし、
   形（丸・持ち上がり・影）だけを引き継ぐ。 */
.arx-article-cta{
  margin-inline:auto;margin-top:clamp(56px,6vw,88px);padding-top:clamp(34px,3.6vw,48px);
  border-top:1px solid var(--a-line);max-width:var(--measure);
}
.arx-article-cta p{font-size:14px;line-height:2.05;color:var(--a-ink-soft)}
.arx-cta{
  display:inline-flex;align-items:center;gap:12px;margin-top:20px;
  padding:14px 28px;
  background:var(--a-accent);color:#fff;font-weight:600;font-size:14px;letter-spacing:.08em;
  box-shadow:0 10px 30px rgba(31,78,90,.24);
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.arx-cta i{font-style:normal;font-family:var(--mono);font-size:12px}
.arx-cta:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(31,78,90,.34)}

/* ---- 一覧へ戻る ---- */
body.arx-article .news-back{margin-top:clamp(40px,4.4vw,60px);max-width:var(--measure);margin-inline:auto;text-align:center}
body.arx-article .news-back .pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 22px;border:1px solid var(--a-line);
  font-size:13px;letter-spacing:.08em;color:var(--a-ink-soft);
  transition:border-color .45s var(--ease),color .45s var(--ease);
}
body.arx-article .news-back .pill:hover{border-color:var(--a-accent);color:var(--a-accent)}
body.arx-article .news-back .pill i{font-style:normal;font-family:var(--mono);font-size:11px}

/* ---- CARD-03 : 続けて読む ---- */
.arx-related{margin-top:clamp(56px,6vw,88px);max-width:min(1000px,100%);margin-inline:auto}
.arx-related .l{font-family:var(--mono);font-size:10px;letter-spacing:.22em;color:var(--a-ink2)}
.arx-related .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px}
.arx-related .ncard{background:var(--card);border:1px solid var(--a-line);
  box-shadow:var(--a-shadow)}
.arx-related .ncard:hover{border-color:var(--a-accent);box-shadow:0 26px 56px -28px rgba(16,21,29,.28)}
.arx-related .ncard .thumb{height:110px;background:var(--bg2)}
.arx-related .ncard .thumb::after{background:var(--a-accent)}
.arx-related .ncard .n{color:var(--a-accent)}
.arx-related .ncard .t{color:var(--a-ink)}
.arx-related .ncard .d{color:var(--a-ink2)}

/* ---- 貼り付けタグ（楽天・Amazon等の広告カード）を段の幅に収める ----
   配布される貼り付けタグは table と px 固定幅（楽天の商品リンクなら
   div{width:504px}）で組まれており、スマホの段幅（393px幅の端末で約349px）を
   突き抜ける。1要素の横あふれでもページ全体の幅が伸びるため、
   本文もヘッダーも「左寄りで細い」ように見え、右側が画面外に出ていた。
   ブロックエディタの表は figure.wp-block-table に包まれるので、
   .prose の直下に素の table が居るのは貼り付けタグのときだけ。 */

/* 段より広い貼り付け物が来ても版面を壊さないための保険。
   隠すのではなく、収まるように詰める。 */
body.arx-article .prose > *{max-width:100%}
body.arx-article .prose img,
body.arx-article .prose iframe,
body.arx-article .prose video{max-width:100%;height:auto}

/* 貼り付けタグは角丸で来る（楽天の商品リンクは箱 .75rem・ボタン 16px）。
   このサイトは全面的に角のない面で組んでいるので、そこだけ落とす。
   角丸は貼り付けタグ側のインライン style にあるので !important が要る。 */
body.arx-article .prose > table :is(div,a,img,table,td){border-radius:0!important}

/* カード（504px＋左右の余白20px＝524px）が段に収まるのは段幅524pxまで、
   すなわち画面幅568px以上。それ以下でだけ流動化し、画像と文言を上下に積む。
   広い画面では貼り付けタグのままの見た目を保つ（余白をとって600pxで切る）。 */
@media (max-width:600px){
  body.arx-article .prose > table,
  body.arx-article .prose > table table{width:100%!important;max-width:100%!important}
  body.arx-article .prose > table td,
  body.arx-article .prose > table div{width:auto!important;max-width:100%!important}
  body.arx-article .prose > table td{display:block}
  body.arx-article .prose > table img{max-width:100%;height:auto}
  /* 商品画像は貼り付けタグ側が style="margin:2px" を持つので !important が要る。 */
  body.arx-article .prose > table td > a > img{margin-inline:auto!important}
}

/* ---- 応答 ---- */
@media (max-width:820px){
  body.arx-article .page-hero{padding:150px 0 30px}
  body.arx-article .prose h2{gap:12px}
  body.arx-article .prose h2::before{width:36px;height:36px;font-size:12px;}
  body.arx-article .prose blockquote{padding:20px 22px}
  body.arx-article .prose ol.steps{padding-left:40px}
  .arx-related .cards{grid-template-columns:1fr}
  .arx-toc{padding:18px 20px}
}

/* ============================================================
   /why-ataraxia/ — 「選ぶ理由」全6項目
   ------------------------------------------------------------
   面は個別記事と同じ紙（body.arx-article）。番号は配列順の自動採番。
   記事本文（.prose）は使わず、番号＋見出し＋本文の3点だけの素朴な組みにする。
   ============================================================ */
body.arx-article .why-full{max-width:var(--measure);margin-inline:auto}
body.arx-article .why-item{
  display:grid;grid-template-columns:clamp(56px,6vw,84px) 1fr;
  gap:clamp(14px,2vw,26px);
  padding:clamp(26px,3vw,38px) 0;
  border-top:1px solid var(--a-line);
}
body.arx-article .why-item:first-child{border-top:none;padding-top:0}
body.arx-article .why-item .n{
  font-family:var(--mono);font-size:12px;letter-spacing:.2em;color:var(--a-accent);
  padding-top:.5em;
}
body.arx-article .why-item h2{
  font-family:var(--min);font-weight:600;
  font-size:clamp(17px,2vw,23px);line-height:1.7;letter-spacing:.05em;color:var(--a-ink);
  margin:0;
}
/* 記事本文の h2 は番号箱付きだが、ここは自前の .n を持っているので消す */
body.arx-article .why-item h2::before{content:none}
body.arx-article .why-item .why-item-b > p{
  margin-top:.9em;font-size:15px;line-height:2.1;color:var(--a-ink-soft);
  text-align:justify;text-justify:inter-character;
}
body.arx-article .why-extra{margin-top:clamp(40px,5vw,64px)}
body.arx-article .why-back{margin-top:clamp(44px,5vw,68px);text-align:center}

/* スマホは1列。番号を見出しの上に置く（左に細い列を残すと本文が痩せる）。 */
@media (max-width:820px){
  body.arx-article .why-item{grid-template-columns:1fr;gap:6px;text-align:center}
  body.arx-article .why-item .n{padding-top:0}
  body.arx-article .why-item .why-item-b > p{text-align:justify}
}

/* ============================================================
   COMPARE-01 : 他社との違い（/why-ataraxia/ 冒頭の比較表）
   ------------------------------------------------------------
   TABLE-04（.prose table）と見た目を揃えるが、.prose には依存しない
   （このページの比較表は post_content の外、.why-full の手前に置く
   自前マークアップなので、.prose の見た目を将来変えたときに
   巻き込まれないよう別クラスにしてある）。
   4列（項目名＋3社）を横スクロールなしで収めるには --measure(40em)だと
   窮屈なので、専用の幅（860px）を持たせる。
   ============================================================ */
/* 目には出さず読み上げにだけ残す。比較表の左上セルは視覚的には空でよいが、
   空のままだと読み上げで「列見出しなし」になり、行見出しとの関係が伝わらない。 */
body.arx-article .u-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
body.arx-article .compare{max-width:880px;margin:0 auto clamp(56px,6vw,84px)}
body.arx-article .compare-l{font-family:var(--mono);font-size:11px;letter-spacing:.24em;color:var(--a-accent)}
body.arx-article .compare h2{
  margin-top:.5em;font-family:var(--min);font-weight:600;
  font-size:clamp(19px,2.3vw,26px);letter-spacing:.05em;color:var(--a-ink);
}
/* ---- PC: 表 ----
   ATARAXIA列は「色を足して目立たせる」のではなく、面を敷いて一段持ち上げる。
   彩度で殴るとDR系LPの見え方になり、この面の静けさが壊れる。 */
body.arx-article .compare-table{margin-top:clamp(24px,2.8vw,34px)}
body.arx-article .compare table{width:100%;border-collapse:separate;border-spacing:0;
  font-size:14.5px;line-height:1.85;color:var(--a-ink-soft)}
body.arx-article .compare thead th{
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;font-weight:400;
  color:var(--a-ink2);text-align:left;padding:0 18px 12px;white-space:nowrap;vertical-align:bottom;
}
body.arx-article .compare tbody th{
  font-family:var(--min);font-weight:600;color:var(--a-ink);font-size:14.5px;
  text-align:left;white-space:nowrap;padding:16px 18px;
  border-top:1px solid var(--a-line);
}
body.arx-article .compare tbody td{padding:16px 18px;border-top:1px solid var(--a-line);vertical-align:top}
/* ATARAXIA列。thead から tbody 最終行までを1枚の面として通す。 */
body.arx-article .compare .col-us{background:var(--card);color:var(--a-ink);font-weight:600}
body.arx-article .compare thead .col-us{
  font-family:var(--min);font-size:13px;letter-spacing:.12em;color:var(--a-ink);
  padding:14px 18px;border-top:2px solid var(--a-accent);
}
body.arx-article .compare tbody tr:first-child .col-us{border-top-color:var(--a-line)}
body.arx-article .compare tbody tr:last-child .col-us{box-shadow:0 1px 0 var(--a-line)}
body.arx-article .compare-cards{display:none}
/* ---- モバイル: カードに畳む ----
   4列の表を横スクロールにすると、指で送らないと自社の列に辿り着けない。
   観点ごとに「ATARAXIAの答え」を先に見せ、他社は下に小さく添える。 */
@media (max-width:760px){
  body.arx-article .compare-table{display:none}
  body.arx-article .compare-cards{display:grid;gap:14px;margin-top:26px}
  body.arx-article .cmp-card{background:var(--card);border:1px solid var(--a-line);
    box-shadow:var(--a-shadow);padding:18px 18px 16px}
  body.arx-article .cmp-k{font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;color:var(--a-accent)}
  body.arx-article .cmp-us{margin-top:10px;padding-left:12px;border-left:2px solid var(--a-accent)}
  body.arx-article .cmp-nm{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.24em;color:var(--a-ink2)}
  body.arx-article .cmp-us p{margin-top:3px;font-family:var(--min);font-size:16px;font-weight:600;
    line-height:1.7;color:var(--a-ink)}
  body.arx-article .cmp-others{margin-top:14px;padding-top:12px;border-top:1px solid var(--a-line);
    display:grid;gap:11px}
  /* ラベルと中身は横並びにせず積む。横に並べると「大手コンサルティング会社」が
     幅を食って最終行に2字だけ残る（狭いカラムに長い語を入れたときの典型）。
     積めばラベルもカード幅いっぱいを使えるので1行に収まる。 */
  body.arx-article .cmp-others>div{display:block}
  body.arx-article .cmp-others dt{font-size:10.5px;letter-spacing:.06em;color:var(--a-ink2);line-height:1.6}
  body.arx-article .cmp-others dd{margin:2px 0 0;font-size:13px;color:var(--a-ink-soft);line-height:1.65}
}
body.arx-article .compare-note{margin-top:14px;font-size:12.5px;color:var(--a-ink2)}

/* ============================================================
   FLOW-01 : /flow/ 「支援の進め方」STEP一覧
   ------------------------------------------------------------
   .why-item（選ぶ理由）の「番号＋見出し＋本文」の骨格をそのまま流用。
   STEPは複数段落・補足行（.flow-step-note）を持つことがある点だけが違う。
   ============================================================ */
body.arx-article .flow-steps{max-width:var(--measure);margin-inline:auto}
body.arx-article .flow-step{
  display:grid;grid-template-columns:clamp(64px,7vw,92px) 1fr;
  gap:clamp(14px,2vw,26px);
  padding:clamp(30px,3.4vw,44px) 0;
  border-top:1px solid var(--a-line);
}
body.arx-article .flow-step:first-child{border-top:none;padding-top:0}
body.arx-article .flow-step .n{
  font-family:var(--mono);font-size:12px;letter-spacing:.2em;color:var(--a-accent);
  padding-top:.5em;
}
body.arx-article .flow-step h2{
  font-family:var(--min);font-weight:600;
  font-size:clamp(17px,2vw,23px);line-height:1.7;letter-spacing:.05em;color:var(--a-ink);
  margin:0;
}
body.arx-article .flow-step h2::before{content:none}
body.arx-article .flow-step-b > p{
  margin-top:.9em;font-size:15px;line-height:2.1;color:var(--a-ink-soft);
  text-align:justify;text-justify:inter-character;
}
/* 補足行（料金・連絡手段など）は本文より一段静かに。 */
body.arx-article .flow-step-note{
  margin-top:1.1em;font-size:12.5px;line-height:1.9;color:var(--a-ink2);
}
@media (max-width:820px){
  body.arx-article .flow-step{grid-template-columns:1fr;gap:6px;text-align:center}
  body.arx-article .flow-step .n{padding-top:0}
  body.arx-article .flow-step-b > p,
  body.arx-article .flow-step-note{text-align:justify}
}

/* ============================================================
   FLOW-02 : /flow/ 「よくあるご不安」Q&A
   ------------------------------------------------------------
   front-page の .qa はアコーディオン化されており（main.js の $$('.qa')
   バインドが全ページ対象のため流用も可能だったが）、暗い面のスクロール演出
   と対で組んである見た目なのでここでは使わず、.ans-in と同じ「ラベル＋文」
   の並び（grid: auto 1fr）だけを流用した静的なQ&Aにする。
   ============================================================ */
body.arx-article .flow-faq{max-width:var(--measure);margin:clamp(56px,6vw,84px) auto 0}
body.arx-article .flow-faq h2{
  font-family:var(--min);font-weight:600;
  font-size:clamp(19px,2.3vw,26px);letter-spacing:.05em;color:var(--a-ink);
}
body.arx-article .flow-faq-item{
  margin-top:clamp(26px,3vw,36px);padding-top:clamp(22px,2.6vw,30px);
  border-top:1px solid var(--a-line);
}
body.arx-article .flow-q,
body.arx-article .flow-a{display:grid;grid-template-columns:22px 1fr;gap:12px}
body.arx-article .flow-q{font-family:var(--min);font-weight:600;font-size:15.5px;line-height:1.8;color:var(--a-ink)}
body.arx-article .flow-q i{font-style:normal;font-family:var(--mono);font-size:13px;color:var(--a-accent)}
body.arx-article .flow-a{margin-top:.8em;font-size:14.5px;line-height:2.05;color:var(--a-ink-soft)}
body.arx-article .flow-a i{font-style:normal;font-family:var(--mono);font-size:13px;color:var(--a-ink2)}
