/* =========================================================
   paybest — テーマ別 LP（/how-to/…）の共通部品
   style.css（トークン・ボタン・値札・reveal）の上に重ねて読み込む。
   体裁は広告用 LP に寄せる: 1 カラム（最大 720px）、白と淡い青の帯の交互、
   ピル型の見出し、数字を大きく見せる図解、画面下に固定した CTA。
   見出し・数字はすべてテキストで持つ（画像にしない）。検索エンジンと読み上げに届くようにするため
   ========================================================= */

/* 和文の見出しを文節で折り返す（未対応のブラウザーでは通常の折り返し） */
.ht h1, .ht h2, .ht h3, .ht .ht-display, .ht .ht-pill, .ht summary { word-break: auto-phrase; }
/* 文節で割れない長い語（サイト名など）は、はみ出す前に途中で折り返す */
.ht h1, .ht h2, .ht h3, .ht .ht-display, .ht .ht-pill, .ht summary, .ht dd { overflow-wrap: anywhere; }

.ht-col { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }

.ht-band { padding: clamp(48px, 7vw, 80px) 0; }
.ht-band.tint { background: var(--tint); }
.ht-band.blue {
  background: var(--blue);
  background-image: radial-gradient(50rem 24rem at 20% -8rem, rgba(255, 255, 255, 0.12), transparent 60%);
  color: #fff;
}
.ht-band.blue p { color: rgba(255, 255, 255, 0.8); }
/* 青帯の中の白いカードは、本文を通常の色に戻す */
.ht-band.blue :is(.ht-card, .ht-steps, .ht-check, .ht-routes) p { color: var(--ink-2); }

/* --- header: ロゴと小さな CTA だけ（トップへのナビは置かない） --- */
.ht-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.ht-header .ht-col { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.ht-header .btn { padding: 0.7em 1.1em; font-size: 0.8rem; }

/* --- ピル型の見出し（セクションの名札） --- */
.ht-pill {
  display: block; text-align: center;
  background: var(--paper); color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem); font-weight: 800; line-height: 1.4;
  margin: 0 auto clamp(24px, 4vw, 36px);
  max-width: 32em;
  position: relative;
}
/* 吹き出しのしっぽ */
.ht-pill::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px;
  background: inherit; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}
.ht-band.blue .ht-pill { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ht-band.blue .ht-pill::after { border-color: var(--yellow); }

/* 大きな見出しコピー。キーワードは黄色のマーカー、数字はさらに大きく */
.ht-display {
  font-size: clamp(1.55rem, 6vw, 2.3rem); font-weight: 800; line-height: 1.35;
  text-align: center; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.ht-display .num { font-size: 1.5em; color: var(--blue); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ht-band.blue .ht-display, .ht-band.blue .ht-display .num { color: #fff; }
.ht-mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 0.08em;
}
.ht-band.blue .ht-mark { background: linear-gradient(transparent 58%, rgba(255, 224, 0, 0.45) 58%); }
/* 傍点（強調したい語の上に点を打つ） */
.dots { text-emphasis: filled dot var(--yellow-600); -webkit-text-emphasis: filled dot var(--yellow-600); text-emphasis-position: over right; -webkit-text-emphasis-position: over; }

.ht-lead { margin-top: 18px; color: var(--ink-2); font-size: 0.98rem; }
.ht-lead.center { text-align: center; }
.ht-band.blue .ht-lead { color: rgba(255, 255, 255, 0.82); }

/* --- hero --- */
.ht-hero { padding: clamp(28px, 6vw, 56px) 0 clamp(36px, 6vw, 60px); text-align: center; background: linear-gradient(var(--paper), var(--tint)); }
.ht-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 0.82rem;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
.ht-hero .kicker .tag-ic { --tag-hole: var(--blue); }
.ht-hero h1 { font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1.18; letter-spacing: -0.03em; }
.ht-hero h1 em { font-style: normal; display: inline-block; background: var(--blue); color: #fff; padding: 0.02em 0.22em 0.08em; border-radius: var(--r-xs); }
.ht-hero .art { margin: 26px auto 0; max-width: 520px; }
.ht-hero .art svg { width: 100%; height: auto; display: block; }
.ht-hero .ht-lead { max-width: 34em; margin-left: auto; margin-right: auto; text-align: left; }
.ht-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ht-chips li {
  list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.ht-chips svg { width: 14px; height: 14px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- CTA（ページの途中に何度か置く） --- */
.ht-cta { margin-top: 28px; text-align: center; }
.ht-cta .btn { width: 100%; max-width: 420px; font-size: 1rem; padding: 1.15em 1.4em; white-space: normal; }
.ht-cta .note { margin-top: 10px; font-size: 0.76rem; color: var(--ink-3); }
.ht-band.blue .ht-cta .note { color: rgba(255, 255, 255, 0.6); }

/* 画面下に固定する CTA バー。JS なしでも常に出る */
.ht-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.ht-sticky .btn { display: flex; width: 100%; max-width: 420px; margin: 0 auto; padding: 1em 1.2em; font-size: 0.95rem; white-space: normal; }

/* --- 図解カード（白い面に図と短い説明） --- */
.ht-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: clamp(20px, 4vw, 28px);
}
.ht-card + .ht-card { margin-top: 16px; }
.ht-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ht-card p { font-size: 0.92rem; color: var(--ink-2); }
.ht-band.blue .ht-card { color: var(--ink); }
.ht-band.blue .ht-card p { color: var(--ink-2); }

/* --- 縦に並ぶフロー（① → ② → ③） --- */
.ht-flow { display: grid; gap: 0; counter-reset: flow; }
.ht-flow > li {
  list-style: none; position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; box-shadow: var(--sh-1);
}
.ht-flow > li + li { margin-top: 30px; }
/* 段と段の間の下向き矢印 */
.ht-flow > li + li::before {
  content: ""; position: absolute; left: 50%; top: -24px; width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 14px solid var(--blue);
  transform: translateX(-50%);
}
.ht-flow .ic {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--blue); color: var(--yellow); font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-align: center;
}
.ht-flow .ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-flow h3 { font-size: 1rem; line-height: 1.45; }
.ht-flow p { font-size: 0.86rem; color: var(--ink-2); margin-top: 2px; }

/* --- ビフォー → アフター（ポイント → 買える金額） --- */
.ht-ba { display: grid; gap: 12px; }
.ht-ba .row {
  display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 10px;
}
.ht-ba .from, .ht-ba .to { text-align: center; line-height: 1.25; }
.ht-ba .from b { display: block; white-space: nowrap; font-size: clamp(1rem, 4.6vw, 1.6rem); font-weight: 800; color: var(--ink); }
.ht-ba .to b { display: block; white-space: nowrap; font-size: clamp(1.05rem, 5.4vw, 1.9rem); font-weight: 800; color: var(--blue); }
.ht-ba small { font-size: 0.74rem; font-weight: 700; color: var(--ink-3); }
.ht-ba .arrow { width: 28px; height: 28px; color: var(--yellow-600); }
.ht-ba .arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ht-ba .sum {
  margin-top: 6px; text-align: center; font-weight: 800; font-size: clamp(1.05rem, 4vw, 1.25rem);
}
.ht-ba .sum .num { font-size: 1.5em; color: var(--blue); }

/* --- 2 分割（使う日 / 貯める日 など） --- */
.ht-split { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 330px) { .ht-split { grid-template-columns: 1fr; } }
.ht-split > div {
  border-radius: var(--r-lg); padding: 18px 12px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.ht-split > div.hl { background: var(--blue); color: #fff; border-color: var(--blue); }
.ht-split .lbl { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; border-radius: 999px; padding: 3px 10px; background: var(--tint); color: var(--blue); }
.ht-split .hl .lbl { background: var(--yellow); color: var(--ink); }
.ht-split .big { display: block; margin: 10px 0 4px; font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.ht-split p { font-size: 0.82rem; line-height: 1.6; color: var(--ink-2); }
.ht-split .hl p { color: rgba(255, 255, 255, 0.82); }
.ht-split svg.art { width: 72px; height: 72px; margin: 6px auto 0; display: block; }

/* --- 吹き出しの Q&A --- */
.ht-qa { display: grid; gap: 14px; }
.ht-bubble { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; }
.ht-bubble.a { grid-template-columns: minmax(0, 1fr) 52px; }
.ht-bubble .who {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); border: 2px solid var(--line-2); color: var(--ink-2);
}
.ht-bubble.a .who { order: 2; background: var(--blue); border-color: var(--blue); color: var(--yellow); }
.ht-bubble .who svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* paybest のマークは塗りの図形なので、線を付けない */
.ht-bubble .who svg[viewBox="0 0 40 28"] { stroke: none; }
.ht-bubble .say {
  position: relative; background: var(--paper); border: 2px solid var(--line-2); border-radius: var(--r-lg);
  padding: 14px 16px; font-size: 0.92rem; font-weight: 700; color: var(--ink);
}
.ht-bubble.a .say { border-color: var(--blue); }
.ht-bubble .say p { font-weight: 400; color: var(--ink-2); margin-top: 4px; }

/* --- ランキング（値札モチーフ） --- */
.ht-rank { display: grid; gap: 14px; counter-reset: rank; }
.ht-rank > li {
  list-style: none; counter-increment: rank;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 18px 18px 20px; box-shadow: var(--sh-1); position: relative;
}
.ht-rank > li:first-child { border: 2px solid var(--blue); box-shadow: var(--sh-2); }
.ht-rank .no {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; color: var(--blue);
}
.ht-rank .no::before {
  content: counter(rank); display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: var(--r-xs); background: var(--blue); color: #fff; font-size: 0.8rem;
}
.ht-rank > li:first-child .no::before { background: var(--yellow); color: var(--ink); }
.ht-rank h3 { font-size: 1.02rem; line-height: 1.45; margin-top: 6px; }
.ht-rank .cond { margin-top: 6px; font-size: 0.78rem; color: var(--ink-2); line-height: 1.6; }
.ht-rank .cond li { list-style: none; padding-left: 1.1em; position: relative; }
.ht-rank .cond li::before { content: "・"; position: absolute; left: 0; }
.ht-rank .badge { display: inline-block; font-size: 0.7rem; font-weight: 800; border-radius: var(--r-xs); padding: 2px 7px; margin-top: 6px; }
.ht-rank .badge.free { background: var(--tint); color: var(--blue); }
.ht-rank .badge.max { background: var(--yellow); color: var(--ink); }
/* ランキングの値札は少し小さく */
.ht-rank .price-tag { width: 5.8rem; height: 5.4rem; --cut: 0.9rem; }
.ht-rank .price-tag .val { font-size: 1.8rem; }
.ht-rank .price-tag .lbl { font-size: 0.64rem; letter-spacing: 0.08em; }
.ht-rank .price-tag .pre { font-size: 0.62rem; font-weight: 800; line-height: 1; }

/* --- 決済ルート図（カード → ウォレット → お店） --- */
.ht-route { display: flex; align-items: stretch; gap: 0; }
.ht-route .node {
  flex: 1; min-width: 0; text-align: center; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 4px; font-size: clamp(0.7rem, 3vw, 0.84rem); font-weight: 800; line-height: 1.35; color: var(--ink); word-break: auto-phrase; overflow-wrap: anywhere;
}
.ht-route .node svg { width: 36px; height: 36px; margin: 0 auto 6px; display: block; }
.ht-route .node small { display: block; margin-top: 2px; font-weight: 700; color: var(--ink-3); font-size: 0.66rem; }
.ht-route .link { flex: none; width: 22px; display: grid; place-items: center; color: var(--blue); }
.ht-route .link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- 番号付きのステップ（ステップごとに図を添える） --- */
.ht-steps { display: grid; gap: 18px; counter-reset: st; }
.ht-steps > li { list-style: none; counter-increment: st; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.ht-steps h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; line-height: 1.45; }
.ht-steps h3::before {
  content: counter(st); flex: none; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.92rem;
}
.ht-steps p { margin-top: 8px; font-size: 0.88rem; color: var(--ink-2); }
.ht-steps .fig { margin-top: 14px; }

/* --- 実機スクショ --- */
.ht-shots { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.ht-shots figure { width: min(220px, 47%); margin: 0; }
.ht-shots figcaption { margin-top: 10px; font-size: 0.76rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.5; }
.ht-band.blue .ht-shots figcaption { color: rgba(255, 255, 255, 0.78); }
.ht-shots .device { border-radius: 30px; padding: 5px; }
.ht-shots .device img { border-radius: 25px; }

/* --- チェックリスト --- */
.ht-check { display: grid; gap: 10px; }
.ht-check li {
  list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px;
  font-size: 0.9rem; color: var(--ink-2);
}
.ht-check li b { color: var(--ink); }
.ht-check .mk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.ht-check .mk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ht-check .mk.warn { background: var(--blue); color: var(--yellow); font-weight: 800; font-size: 0.85rem; }

/* --- 横棒の比較図 --- */
.ht-bars { display: grid; gap: 14px; }
.ht-bars .bar-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; align-items: center; }
.ht-bars .bar-label { font-size: 0.82rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.ht-bars .bar-label small { display: block; font-weight: 700; color: var(--ink-3); font-size: 0.7rem; }
.ht-bars .track { position: relative; height: 34px; background: var(--tint); border-radius: var(--r-sm); overflow: hidden; }
.ht-bars .fill { display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: var(--r-sm); }
.ht-bars .fill.cost { background: #c8cfe0; }
.ht-bars .fill.gain { background: var(--yellow); }
.ht-bars .val { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 0.86rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- 比較表（ルート別） --- */
.ht-routes { display: grid; gap: 14px; }
.ht-routes article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 16px; box-shadow: var(--sh-1); }
.ht-routes header { display: flex; align-items: center; gap: 12px; }
.ht-routes header .ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--blue); color: var(--yellow); display: grid; place-items: center; }
.ht-routes header .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-routes h3 { font-size: 1.02rem; line-height: 1.4; min-width: 0; }
.ht-routes h3 small { display: block; font-size: 0.74rem; font-weight: 700; color: var(--ink-3); }
.ht-routes dl { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 6px 10px; margin-top: 14px; font-size: 0.84rem; }
.ht-routes dt { font-weight: 800; color: var(--blue); }
.ht-routes dd { color: var(--ink-2); }
.ht-routes dd b { color: var(--ink); }
.ht-routes .verdict { margin-top: 12px; font-size: 0.84rem; font-weight: 800; color: var(--ink); background: var(--tint); border-radius: var(--r-sm); padding: 9px 12px; }
.ht-routes .verdict.good { background: #fff7bf; }

/* --- 分岐図（はい / いいえ） --- */
.ht-tree { display: grid; gap: 10px; }
.ht-tree .q {
  background: var(--blue); color: #fff; font-weight: 800; border-radius: var(--r-md);
  padding: 12px 14px; font-size: 0.92rem; text-align: center;
}
.ht-tree .ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ht-tree .ans > div {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px 12px; font-size: 0.84rem; color: var(--ink-2); position: relative;
}
.ht-tree .ans .yn { display: inline-block; font-size: 0.7rem; font-weight: 800; border-radius: var(--r-xs); padding: 1px 7px; margin-bottom: 4px; background: var(--yellow); color: var(--ink); }
.ht-tree .ans .no .yn { background: var(--tint); color: var(--blue); }
.ht-tree .ans b { display: block; color: var(--ink); }
.ht-tree .down { display: grid; place-items: center; color: var(--blue); height: 18px; }
.ht-tree .down svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- FAQ --- */
.ht-faq { display: grid; gap: 10px; }
.ht-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.ht-faq summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 10px; align-items: center;
  padding: 14px 16px; font-weight: 800; font-size: 0.94rem; line-height: 1.5; color: var(--ink);
}
.ht-faq summary::-webkit-details-marker { display: none; }
.ht-faq summary::before { content: "Q"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-xs); background: var(--blue); color: #fff; font-size: 0.82rem; }
.ht-faq summary::after { content: "+"; font-size: 1.2rem; font-weight: 800; color: var(--blue); text-align: center; }
.ht-faq details[open] summary::after { content: "−"; }
.ht-faq .ans { padding: 0 16px 16px 52px; font-size: 0.9rem; color: var(--ink-2); }
.ht-faq .ans a { color: var(--blue); }

/* --- 出典・情報時点 --- */
.ht-src { margin-top: 18px; font-size: 0.74rem; line-height: 1.7; color: var(--ink-3); }
.ht-src a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; word-break: break-all; }
.ht-band.blue .ht-src { color: rgba(255, 255, 255, 0.6); }

/* --- footer --- */
/* 固定 CTA の高さぶん下を空けて、フッターの文字が隠れないようにする */
.ht-footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.62); padding: 32px 0 calc(28px + 84px + env(safe-area-inset-bottom)); font-size: 0.8rem; }
.ht-footer .ht-col { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.ht-footer nav { display: flex; gap: 18px; }
.ht-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.ht-footer a:hover { color: #fff; }
.ht-footer :focus-visible { outline-color: var(--yellow); }
.ht-band.blue :focus-visible { outline-color: var(--yellow); }

.ht-gap { margin-top: clamp(28px, 5vw, 40px); }

/* ---- .ht-list: 項目と値の一覧（条件と上乗せ率など）。.stack は説明が長い一覧（対象店舗など） ---- */
.ht-list { display: grid; gap: 12px; }
.ht-list .row-g { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.ht-list .row-g:last-child { padding-bottom: 0; border-bottom: 0; }
.ht-list dt { font-size: 0.88rem; font-weight: 800; color: var(--ink); line-height: 1.5; word-break: auto-phrase; overflow-wrap: anywhere; }
.ht-list dd { font-size: 0.88rem; font-weight: 800; color: var(--blue); white-space: nowrap; text-align: right; }
.ht-list.stack .row-g { grid-template-columns: minmax(0, 1fr); }
.ht-list.stack dt { color: var(--blue); }
.ht-list.stack dd { font-weight: 400; color: var(--ink-2); white-space: normal; text-align: left; line-height: 1.75; overflow-wrap: anywhere; }

/* ---- .ht-articles: 記事一覧（/how-to/）。カード全体がリンク。サムネイルは各記事の OG 画像 ---- */
.ht-articles { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .ht-articles { grid-template-columns: minmax(0, 1fr); } }
.ht-articles > li { list-style: none; min-width: 0; }
/* 1 本だけのセクションは、1 列ぶんの幅で中央に置く */
.ht-articles > li:only-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 16px) / 2); }
@media (max-width: 560px) { .ht-articles > li:only-child { width: 100%; } }
.ht-articles a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ht-articles a:hover { border-color: var(--blue); box-shadow: var(--sh-2); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .ht-articles a, .ht-articles a:hover { transition: none; transform: none; } }
.ht-articles img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--blue); }
.ht-articles .body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.ht-articles .lbl { align-self: flex-start; font-size: 0.7rem; font-weight: 800; border-radius: var(--r-xs); padding: 2px 8px; background: var(--tint); color: var(--blue); }
.ht-articles h3 { margin-top: 8px; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.ht-articles p { margin-top: 6px; font-size: 0.82rem; line-height: 1.65; color: var(--ink-2); }
.ht-articles time { margin-top: auto; padding-top: 10px; font-size: 0.72rem; font-weight: 700; color: var(--ink-3); }
