/* features-mod-06.css — ベースライン(自動読込・module-base.css前提)。編集せず上書きで調整。 */
@charset "UTF-8";

.mod_06_section .mod_06_bg-box {
  position: relative;
}
.mod_06_section .mod_06_bg-box :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])) {
  position: absolute;
  width: 100%;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  margin: auto;
  z-index: 2;
}
.mod_06_section .mod_06_bg-box figure img {
  width: auto;
  max-width: 150%;
}
@media (max-width: 767px) {
  .mod_06_section .mod_06_bg-box figure img {
    max-width: 200%;
  }
}
@media (max-width: 767px) {
  .mod_06_section .mod_06_bg-box :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])) {
    position: absolute;
    width: 100%;
    top: 35%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    margin: auto;
    z-index: 2;
  }
}
.mod_06_section .mod_06_main {
  transform: translate(0, -40px);
  margin-top: 0;
}
@media (max-width: 767px) {
  .mod_06_section .mod_06_main .row .col {
    border-right: 0 !important;
  }
  .mod_06_section .mod_06_main .row .col:not(:last-child) {
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .mod_06_section .mod_06_main .add_arrow {
    display: block;
    min-width: 0;
  }
}
.mod_06_section.typeA .mod_06_main {
  background: var(--color-bg);
  padding: 2%;
}
@media (min-width: 1440px) {
  .mod_06_section.typeA .mod_06_main {
    padding: 1%;
  }
}
.mod_06_section.typeA .mod_06_main .row .col {
  position: relative;
}
.mod_06_section.typeA .mod_06_main .row .col figure {
  margin-bottom: 1em;
}
@media (max-width: 767px) {
  .mod_06_section.typeA .mod_06_main .row .col .mod_06_txt-wrap {
    padding: 0 0 5%;
  }
}
.mod_06_section.typeA .mod_06_main .row .col .mod_06_title {
  margin-bottom: 0.2em;
  color: var(--color-heading-ink);
}
@media (min-width: 768px) {
  .mod_06_section.typeA .mod_06_main .row .col {
    padding-bottom: 60px;
  }
}
.mod_06_section.typeA .mod_06_main .row .col:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0px;
  border-bottom: 2px var(--color-primary) solid;
}
@media (min-width: 768px) {
  .mod_06_section.typeA .mod_06_main .row .col .btn_txt {
    position: absolute;
    bottom: 15px;
    right: 0;
    left: 0;
    width: 100%;
    margin-left: 0;
  }
}
.mod_06_section.typeA .mod_06_main .row:not(.reverse) .col:not(:last-child) {
  position: relative;
}
.mod_06_section.typeA .mod_06_main .row:not(.reverse) .col:not(:last-child):after {
  content: "";
  height: 100%;
  border-right: var(--color-surface) 1px solid;
  position: absolute;
  right: -3.3%;
  top: 0;
}
.mod_06_section.typeA .mod_06_main .row.reverse .col:not(:first-child) {
  position: relative;
}
.mod_06_section.typeA .mod_06_main .row.reverse .col:not(:first-child):after {
  content: "";
  height: 100%;
  border-right: var(--color-surface) 1px solid;
  position: absolute;
  right: -3.3%;
  top: 0;
}
@media (max-width: 1020px) {
  .mod_06_section.typeA .mod_06_main {
    width: 96%;
  }
}
.mod_06_section.typeB .mod_06_main .row .col {
  position: relative;
}
.mod_06_section.typeB .mod_06_main .row .col .mod_06_txt-wrap {
  padding: 1em;
  background: var(--color-bg);
}
.mod_06_section.typeB .mod_06_main .row .col figure {
  margin-bottom: 1em;
}
.mod_06_section.typeB .mod_06_main .row .col .mod_06_title {
  margin-bottom: 0.2em;
  color: var(--color-heading-ink);
}
@media (min-width: 768px) {
  .mod_06_section.typeB .mod_06_main .row .col {
    padding-bottom: 60px;
  }
}
.mod_06_section.typeB .mod_06_main .row .col:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 1px 2px 2px color-mix(in srgb, var(--color-primary) 20%, transparent);
}
@media (min-width: 768px) {
  .mod_06_section.typeB .mod_06_main .row .col .btn_txt {
    position: absolute;
    bottom: 15px;
    right: 0;
    left: 0;
    width: 90%;
    margin: 0 auto;
  }
}
@media (max-width: 1020px) {
  .mod_06_section.typeB .mod_06_main {
    width: 96%;
  }
}
.mod_06_section.fade-in .mod_06_main .row .col {
  opacity: 0;
  transform: translateY(-20px);
}
.mod_06_section.visible .mod_06_main .row .col {
  opacity: 1;
  transform: translateY(0);
  transition: 0.5s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(1) {
  transition-delay: 0.2s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(2) {
  transition-delay: 0.4s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(3) {
  transition-delay: 0.6s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(4) {
  transition-delay: 0.8s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(5) {
  transition-delay: 1s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(6) {
  transition-delay: 1.2s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(7) {
  transition-delay: 1.4s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(8) {
  transition-delay: 1.6s;
}
.mod_06_section.visible .mod_06_main .row .col:nth-child(9) {
  transition-delay: 1.8s;
}
@media (min-width: 768px) {
  .mod_06_section .button-flat, .mod_06_section .button-round, .mod_06_section .button-circle, .mod_06_section .button, .mod_06_section .button-ghost, .mod_06_section .button-ghost-round, .mod_06_section .button-border, .mod_06_section .button-3d {
    min-width: 0 !important;
    display: block !important;
    border: 1px solid var(--color-primary);
  }
}

/* SM-FIX2-20260819 */
/* 2026-08-19: .mod_06_bg-box の背景写真の上に白見出しを絶対配置しているが
   スクリムが無く、明るい写真だと読めなかった。器に暗幕を敷く。 */
.mod_06_section .mod_06_bg-box{ position: relative; }
.mod_06_section .mod_06_bg-box:before{
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: rgba(0,0,0,.38); pointer-events: none;
}

/* SM-FIX5-20260819 */
/* 2026-08-19(2): .mod_06_bg-box の器に敷いた暗幕だけでは、見出しが写真の明るい部分に
   重なると読めないことがある。見出し自体にも帯を敷いて確実にする。 */
.mod_06_section .mod_06_bg-box :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])){
  background: rgba(0,0,0,.45);
  padding: .45em .8em;
  width: auto; left: 6%; right: 6%;
  border-radius: 2px;
}

/* ============================================================================
   SM-2026-09-18 / features-mod-06
   受領時の構図（写真の帯 ＋ 帯へ 40px 食い込む3列カード）は 1px も動かさない。
   実描画で測って見つかった欠陥だけを直す。足した意匠はゼロ。
   計画: .company/engineering/plans/features-mod-06-plan.md
   ========================================================================= */

/* ── D6: 本文・ボタンの文字寸法を土台の 22.4px から --fs-body へ戻す ───────
   土台 `.lgx` が font-size:1.4em を持つため、本文とボタンが 22.4px で描かれていた
   （--fs-body の想定 16px の 1.4倍）。器に1行当てると
   本文・ボタン・em 指定の余白がまとめて戻る。
   ★根拠は規約 R-4（文字サイズはトークン経由）と、SP で過大だった絶対値の是正。
     R-6「モバイルの文字サイズは PC より小さく」は根拠に挙げない。本文は --fs-body が
     固定値なので実装後も SP と PC がともに 16px で、小さくなるわけではない
     （SP だけ本文を縮めると1社だけ本文サイズが違う状態になるので、そこは土台に合わせる）。 */
.mod_06_section .mod_06_main {
  font-size: var(--fs-body);
  /* ── D10: transform はレイアウトを動かさないので、せり上がった 40px ぶんの
     隙間が section 下端に残り、上 89.6px ／ 下 129.6px と非対称だった（1280px 実測）。 */
  margin-bottom: -40px;
}

/* ============================================================================
   SM-FIX-20260919 / オーナー実見の差し戻し（2026-09-19）
   指摘: 「mod_06_main container guttersがmod_06_bg-boxの上になるようにして
   今は透けて見える」
   実測（1280px・elementFromPoint はガターの :before に pointer-events:none が
   付いているため使えず、実ピクセル色で確認）:
     重なり40px帯の外（main のみ）           gutter は rgb(255,255,255)
     重なり40px帯の中のガター                 rgb(158,158,158) ← 暗幕越しの写真色
     参照: bg-box のみの地点（暗幕+写真）      rgb(155,154,146) ← ほぼ同値
   → ガター・カード縁が mod_06_main 自身の背景(--color-bg)ではなく、
     .mod_06_bg-box:before の暗幕(rgba(0,0,0,.38))と h2(z-index:2) を透かして見えていた。
   原因は2つ重なっている。
   1) .mod_06_main は position:static のまま transform だけでスタッキングコンテキストを
      作っており、明示 z-index を持たないぶん stack level 0 として扱われる。一方
      .mod_06_bg-box:before は z-index:1、h2 は z-index:2 を明示しており、.mod_06_bg-box 自身は
      スタッキングコンテキストを作らない（position:relative; z-index:auto）ため、この2つは
      セクション側の祖先コンテキストへ「浮き上がり」、stack level 0 の .mod_06_main より
      常に手前に描画されていた。
   2) （★typeB のみ）受領時から .mod_06_main 自体に background が無い（.typeA だけ
      `background: var(--color-bg)` を持つ）。手前に来ても不透明なものが無ければ
      透けて見える現象は解消しない。実測: 1) だけ直した状態で typeB のガターは
      rgb(126,126,119) のまま変化しなかった。
   → 1) .mod_06_main 側に position + 明示 z-index を与え、暗幕・見出しより手前の
        stack level に上げる（z-index:3 は h2 の 2 より1つ上で足りる）。
     2) typeB にも同じ background トークンを与えて不透明にする。
     40px の重なり（構図）自体は動かさない（position:relative はオフセットを持たない
     ので静的配置のまま。background は「不透明で覆う」だけで色は typeA と同じ土台色）。 */
.mod_06_section .mod_06_main {
  position: relative;
  z-index: 3;
  background: var(--color-bg);
}

/* ── D5: フォントプリセットを本文とタイトルへ通す ──────────────────────
   土台 `.lgx` の font-family:Arial… が body の var(--font-body) を遮断していた。
   実測では h2 だけが common.css の h1〜h4 直接指定でプリセットを受け取り、
   本文・タイトル・ボタンは4プリセットとも Arial のままだった。
   ★実態: 既定プリセットでは効かない。common.css の --font-heading ／ --font-body が
     末尾カンマで終端していて計算値の時点で無効になるため（モジュール側では直せない）。
     ゴシック／明朝／丸ゴの3プリセットでは効く。 */
.mod_06_section .mod_06_main {
  font-family: var(--font-body);
}
.mod_06_section .mod_06_main .mod_06_title {
  font-family: var(--font-heading);
}

/* ── D7: 「01 小見出し」の span とタイトルが完全に同一表示だった ───────────
   実測（1280px）: font-size 32px ／ font-weight 400 ／ color rgb(27,43,58) ／
   font-family ／ line-height 57.6px がすべて一致し、同一行に連結されて
   「01 小見出しタイトル」という1つの文字列に読めていた。
   README は小見出しとタイトルを別のものとして定義している。
   色は変えず、寸法と改行だけで差を付ける。
   ★ここで新しく足したのは display:block と font-size と letter-spacing の3つだけで、
     いずれも「2つの文字列を見分けられるようにする」ための最小限。
     線・枠・面・影のような意匠材料は1つも足していない。 */
.mod_06_section .mod_06_main .mod_06_title {
  font-size: var(--fs-h3);
  line-height: 1.45;
}
.mod_06_section .mod_06_main .mod_06_title span {
  display: block;
  font-size: var(--fs-small);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

/* ── D1 ★致命: セクション見出しが実描画で読めなかった ─────────────────
   土台の `.lgx .text-white` が色を var(--color-on-primary) に【重要度指定つき】で束縛して
   いる。既定プリセットと淡色プリセットではこれが rgb(17,17,17) になり、その字が
   モジュール自身の SM-FIX5 が敷いた rgba(0,0,0,.45) の黒帯に載るので
   「黒地に黒文字」になっていた（受領時スクリーンショットで目視できる）。
   → 面を、その字色が本来組むべき相方＝ブランド色に替える。
     --color-on-primary は「ブランド色ベタ塗り面の上の文字色」として輝度から
     自動決定されるトークンなので、面を --color-primary にすれば全案件で組が揃う。
   ★床＋background-image の2層にしてある。トークンが空の値で届くと var() の
     fallback は効かない（IACVT）ので、単層だと面が透明に落ちて写真の上に
     直に字が乗る。床を白にしておけば、その状態でも板として読める。
   ★器の暗幕 rgba(0,0,0,.38) は SM-FIX2 の是正なので撤回しない。 */
.mod_06_section .mod_06_bg-box :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])) {
  /* ★寸法もトークンへ。土台の .lgx h2 は 2.4rem ＝ 38.4px の実質固定値で、
     SP でも PC と同じ大きさだった（規約 R-4 と R-6 の両方に反する）。
     --fs-h2 は「セクション見出し」用のトークンで clamp なので
     375px で 24px ／ 1280px 以上で 35.2px になる。
     ★これは寸法の好みではなく、はみ出しの実測に基づく。受領時は 30字のキャッチで
       375px のとき帯の上へ 23.9px はみ出しており、帯を実寸に合わせた本実装では
       35.8px に増えていた。24px に落とすと 3行に収まって 0px になる。 */
  font-size: var(--fs-h2);
  background-color: #fff;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  width: -moz-fit-content;
  width: fit-content;
  max-width: 88%;
  left: 0;
  right: 0;
  margin-inline: auto;
}

/* ── D9 ★: 帯の背景写真が器を埋めず、切れるのは常に右側だけだった ─────────
   受領時は img が width:auto で自然幅のまま帯の左端に固定されていたため
   ・375px では素材の左 50% しか見えない（右半分が捨てられる）
   ・1920px では帯の右 497.8px に写真が無く暗幕だけの灰色になる
   ・縦長素材では common.css の img max-height:800px に当たって 342.8×800 に縮み
     帯の 73.2% が写真の無い灰色になる
   README の「左右が大きく切れる」「被写体が中央にある素材を選ぶ」はどちらも
   成立していなかった。器に比を与えて cover で敷き、中央を残す。
   ★figure に width:100% を明示するのが要点。これが無いと max-height が
     aspect-ratio 経由で max-width へ転写され（CSS Sizing 4 の transferred maxima）
     1920px で器そのものが 1280px に縮んで、余白が消えない。実測で確認済み。
   ★帯高の実測 受領時 → 実装後: 375px 409.1→375 ／ 768px 628.4→460.8 ／
     1280px 768→768（同値）／ 1920px 768→768（同値）。写真の無い領域は
     320〜2560px の全幅で 0px。 */
.mod_06_section .mod_06_bg-box figure {
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 768px;
}
.mod_06_section .mod_06_bg-box figure img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
/* ★ここだけ規約どおり max-width:768px に寄せる。土台の列切替は min-width:768px なので
   768px ちょうどでは SP 側の比が当たるが、max-height:460px で頭打ちになるため
   768px=460.0 ／ 769px=461.4 と連続する（1px の窓は開かない。766〜769px で実測して確認した）。 */
@media (max-width: 768px) {
  .mod_06_section .mod_06_bg-box figure {
    aspect-ratio: 1 / 1;
    max-height: 460px;
  }
}

/* ── D3 ★致命: 3枚のカードの高さが揃わず CTA が段違いになっていた ───────────
   README は「本文の長さが3枚で揃っていなくてもボタンの高さは揃う」と書いているが
   実測では揃うケースが1つも無かった。
     同梱サンプルのまま      typeB の CTA が 49.4px 段違い
     文章量 1行/3行/7行      397.5px ／ 437.8px
     写真比 16:9/1:1/3:4     631.5px ／ 684.4px（1280px）・692.7px ／ 833.6px（768px）
   原因は旧テーマが .row.tile を jQuery で高さ揃えしていたのに、機械変換で JS が
   落ちていること。土台に残る .tile 規則は SP 用の1本だけ。
   → 行だけを flex にして列の高さを揃える。土台の width 32% と margin-left 2% は
     flex アイテムでもそのまま効くので float グリッドの割り付けは変わらない。 */
.mod_06_section .mod_06_main .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.mod_06_section .mod_06_main .row .col {
  display: flex;
  flex-direction: column;
}
.mod_06_section.typeB .mod_06_main .row .col .mod_06_txt-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* ── D3 / D8: CTA を絶対配置ではなく列の下端へ自然に置く ──────────────────
   受領時は padding-bottom:60px を確保して .btn_txt を position:absolute;bottom:15px で
   留めていたが、60px は1行ぶんしか見込んでおらず
   ・1行でも常に 1.8px 本文に重なる（15px ＋ ボタン高 69.2px ＝ 84.2px > 60px）
   ・ラベルが2行になると 24.2px 重なる
   状態だった。列が flex column になったので margin-top:auto で下端へ寄せられる。
   ★列下端とボタン下端の距離は受領時の 15.0px を 1em で引き継ぐ。 */
.mod_06_section.typeA .mod_06_main .row .col {
  padding-bottom: 1em;
}
/* ★typeB は 0 にする。typeB だけ .mod_06_txt-wrap が padding:1em を持っており、
   受領時はボタンが .col 基準の絶対配置でこの padding を跨いでいたので二重にならなかった。
   position:static に戻した結果ここが縦に二重取りになり、実測で
   列下端とボタン下端の距離が typeA 16.0px に対し typeB だけ 32.0px（受領時 15.0px）になっていた。
   包みの 1em に任せれば typeA と同じ 16.0px に揃う。 */
.mod_06_section.typeB .mod_06_main .row .col {
  padding-bottom: 0;
}
.mod_06_section.typeA .mod_06_main .row .col .btn_txt {
  position: static;
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  margin-left: 0;
}
.mod_06_section.typeB .mod_06_main .row .col .btn_txt {
  position: static;
  margin-top: auto;
  margin-bottom: 0;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* ── D3: カード写真の高さを3枚で揃える ────────────────────────────────
   受領時は比が素材任せだったため、案件の素材が揃っていないとカード写真の
   下端が最大 246.7px ずれ、タイトル以降の段が全部ずれていた。
   ★比は同梱素材（1408×768 ＝ 1.833:1）にいちばん近い 16/9 を採る。
     1280px でのカード写真 受領時 303.6×165.6 → 303.6×170.8（+5.2px）。
     cover の残存率 実測: 同梱 97% ／ 正方 56.2% ／ 縦長 3:4 42.2% ／ 超横長 5:1 35.6%。
   ★max-height:none を明示する。common.css の img max-height:800px が残ると
     aspect-ratio と噛み合って比が崩れる。 */
.mod_06_section .mod_06_main .row .col figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  max-height: none;
}

/* ── D4 ★: typeA のカード間の縦罫が全4配色で見えなかった ──────────────────
   README は「区切り罫は var(--color-surface)」と書いているが、このトークンは
   color-mix で地に primary を 5% 混ぜた「面色」なので、線に使うと地と区別が付かない。
   実測の板とのコントラスト比 既定 1.04 ／ 淡色 1.02 ／ 濃色 1.06 ／ 高彩度 1.03。
   非テキスト図形の物差しは 3:1 なので、地色と本文色の混合比を上げて最小限まで濃くする。
   ★55% は「全4配色で 3:1 を超える最小値」。50% では既定が 2.64 で届かない。 */
.mod_06_section.typeA .mod_06_main .row:not(.reverse) .col:not(:last-child):after {
  border-right-color: color-mix(in srgb, var(--color-text) 55%, var(--color-bg));
}
/* ★SP では受領時の色に戻す。受領時の SP 用の打ち消しは .col の border-right に
   当たっていて擬似要素には届いておらず、色だけ濃くすると縦積みの SP でも
   カードの右肩に1本の縦線が残る（受領時は 1.05:1 で見えていなかっただけ）。
   ＝自分の変更が受領時に無かった線を1本描いてしまう。
   代償: 土台の列切替は min-width:768px なので、768px ちょうどの1点だけ
   「3列なのに縦罫が出ない」。幾何は1pxも動かず色だけの差なので、この1点は受け入れる
   （境界を 767px にすると規約 R-6 の 768px 統一から外れる記述が1件増えるため）。 */
@media (max-width: 768px) {
  .mod_06_section.typeA .mod_06_main .row:not(.reverse) .col:not(:last-child):after {
    border-right-color: var(--color-surface);
  }
}

/* ── D2 ★致命: MORE ボタンのホバーで文字も矢印も消えていた ──────────────
   土台が3枚重なって「ブランド色の面にブランド色の暗色」を作っていた。
     module-base.css の .lgx .add_arrow:hover が背景を #fff にする
     → SM-FIX の .lgx .button:hover が背景を var(--color-primary) に戻し brightness(.9) を掛ける
     → SM-FIX4 の .lgx .add_arrow:hover が最後に字を color-mix(primary 68% / #000) にする
   実測（4幅 × 4配色 × typeA/B ＝ 32組すべて）: 字 1.15〜1.70 ／ 矢印 1.13〜1.58。
   さらに common.css の a:hover が opacity .8 を掛けて部品ごと薄くしていた。
   → th22 の定石。rest と同じ面・同じ字を明示で書き戻し、押せる合図は
     「字と同じ色の内枠」で出す。面と地の関係も字と面の関係も rest と同値になり、
     矩形も動かない。詳細度 (0,4,0) で土台の (0,3,0) に勝つので【重要度指定】は要らない。 */
/* ★ここの var() には fallback を書かない。--color-on-primary が【未定義】で届いた場合、
   fallback を書くと #fff が採用され、面（--color-primary も未定義なので透明＝白い板）の上に
   白い字が乗って比 1.00 になる。fallback を書かなければ計算値時点で無効になって
   色は継承に落ち、濃い字として読める。受領時のホバーは color-mix が無効化されて
   継承色になっていたので、fallback を足すとこの1ケースだけ受領時より悪くなる。
   ★正常なトークンでも空の値でも、有無で結果は変わらない（実測で確認した）。 */
.mod_06_section .mod_06_main .add_arrow:hover,
.mod_06_section .mod_06_main .add_arrow:focus-visible {
  opacity: 1;
  filter: none;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 3px var(--color-on-primary);
}
.mod_06_section .mod_06_main .add_arrow:hover::after,
.mod_06_section .mod_06_main .add_arrow:focus-visible::after {
  border-top-color: var(--color-on-primary);
  border-right-color: var(--color-on-primary);
}

/* 強制配色モードでは box-shadow が none に落ちるので、内枠の合図が消える。
   通常の描画は変えたくないので、このモードのときだけ下線で補う。 */
@media (forced-colors: active) {
  .mod_06_section .mod_06_main .add_arrow:hover,
  .mod_06_section .mod_06_main .add_arrow:focus-visible {
    text-decoration: underline;
  }
}

/* ── D8: ラベルが2行になると行間が負になって字が接触していた ────────────────
   土台の .lgx .button が line-height:1 を持つため、実測で行間 −2.6px
   （「無料相談のお申し込みはこちらから」＝2行）。 */
.mod_06_section .mod_06_main .add_arrow {
  line-height: 1.4;
}

/* ── D12 ★: キーボードフォーカスのリングが濃色・高彩度で4辺とも見えなかった ──
   common.css の :focus-visible が outline に currentColor を使うので、
   リング色＝ボタンの字色＝var(--color-on-primary)。濃色と高彩度ではこれが #fff で、
   outline-offset:2px によって白い板の上に白いリングが出ていた。
   実測の4辺の比 既定 18.88 ／ 淡色 18.88 ／ 濃色 1.00 ／ 高彩度 1.00（16/32 が不可視）。
   → 面の色に依存しない絶対軸のインクへ固定する。 */
.mod_06_section .mod_06_main .btn_txt a:focus-visible {
  outline-color: var(--color-heading-ink, var(--color-text));
}

/* ── D11: transition が all で、BP を跨ぐと列幅や padding までアニメーションする ──
   受領時は `transition: 0.5s` のショートハンド（＝transition-property:all）で、
   .col には 0.2〜1.8s の transition-delay も付いている。
   ★これは計測にも実害が出る。delay を 0 にしないと幅の実測値が古い値を返し、
     1280px の列幅が 303.6 ／ 364.0 ／ 709.2px と3枚バラバラに見えた。 */
.mod_06_section.visible .mod_06_main .row .col {
  transition: opacity 0.5s, transform 0.5s;
}

/* ── R-9: 動きを減らす設定 ───────────────────────────────────────────
   common.css の prefers-reduced-motion ブロックが全体に
   transition-duration 0.01ms を当てているので、ここは明示の二重指定
   （土台が差し替わったときの保険）。
   ★transform や opacity は戻さない。矢印の ::after は rotate で「形」を作って
     いるので、transform:none を当てるとグリフごと消える。止めるのは遷移だけ。 */
@media (prefers-reduced-motion: reduce) {
  .mod_06_section.visible .mod_06_main .row .col,
  .mod_06_section .mod_06_main .add_arrow,
  .mod_06_section .mod_06_main .add_arrow::after {
    transition: none;
  }
}
