/* サイト全体の見た目。値は tokens-*.css の変数だけを使う（ここに色や大きさの生の数字を足さない）。
   形は承認済みのモック design/mock-top.html（トップ）と design/mock-article.html（記事）に合わせる。
   並び: 1 土台 / 2 文字 / 3 枠組み / 4 部品 / 5 ヘッダー・フッター / 6 トップの区画 / 7 下層ページ / 8 記事の一覧 / 9 記事 / 10 動き */

/* ========== 1 土台 ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--sp-4)); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  overflow-wrap: anywhere;
  /* 改行は文節の切れ目（組み立て時に入れる <wbr>）だけで行う。iPhone の Safari は auto-phrase に対応していないため */
  word-break: keep-all;
}
img, video, svg, canvas, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: var(--bw-strong) solid var(--c-tag); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--c-accent); color: var(--c-on-accent); }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: 100; padding: var(--sp-2) var(--sp-4); background: var(--c-text); color: var(--c-surface); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--sp-4); }
.sp-only { display: none; }

/* ========== 2 文字 ========== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: pretty;
  word-break: keep-all;
}
p { margin: 0; text-wrap: pretty; }
small, .note { font-size: var(--fs-xs); color: var(--c-text-muted); }
.eyebrow { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-accent); line-height: var(--lh-heading); }
pre, code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0; }
.love { color: var(--c-accent); }

/* 透かしの英字（Allura）。見出しの上に重ねる飾り。読み上げない（aria-hidden） */
.mark { position: relative; display: inline-block; padding-top: var(--sp-7); }
.mark__script {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-family: var(--font-script); font-size: var(--fs-script); font-weight: var(--fw-regular); line-height: 1;
  color: var(--c-accent); opacity: var(--script-opacity); white-space: nowrap; pointer-events: none;
}
/* 字は疑似要素で出す（飾りなので読み上げにも文字の対比の点検にも入れない） */
.mark__script::before { content: attr(data-text); }
.mark > h1, .mark > h2 { position: relative; }
.mark--lg { padding-top: var(--sp-7); }
.mark--lg .mark__script { font-size: var(--fs-script-lg); }

/* ========== 3 枠組み ========== */
.wrap, .container, .container--wide { width: 100%; max-width: var(--w-content); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow, .container.container--narrow { width: 100%; max-width: var(--w-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--gap-section); }
.tone-muted { background: var(--c-surface); }

.section-head { margin-bottom: var(--gap-head); }
.section-head--center { text-align: center; }
.section-title { font-size: var(--fs-h2); }
.section-lead { margin-top: var(--sp-4); color: var(--c-text-muted); }

.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 768px) {
  .split:not(.split--single) { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ========== 4 部品 ========== */
/* 分類の札（青い地に白の字） */
.tag { display: inline-block; padding: 0 var(--sp-2); border-radius: var(--radius-pill); background: var(--c-tag); color: var(--c-on-tag); font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: var(--lh-card); white-space: nowrap; }

/* 画像の面。アイキャッチが無い記事は斜線の面に分類名 */
.thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.thumb--sm { border-radius: var(--radius-sm); }
.thumb__none {
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; padding: var(--sp-4);
  background: repeating-linear-gradient(45deg, var(--c-ph-1) 0 8px, var(--c-ph-2) 8px 16px);
  color: var(--c-text-muted); font-size: var(--fs-sm); text-align: center;
}

/* ボタン。塗りは主な行動だけ（分類の一覧へ、申込）、線は運営者のページへ */
.btn { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 2.75rem; padding: var(--sp-2) var(--sp-5); border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent); font-weight: var(--fw-bold); text-align: center; transition: background-color var(--dur-1) var(--ease-out); }
.btn:hover { background: var(--c-accent-strong); }
.btn__label { white-space: nowrap; }
.obtn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 2.75rem; padding: var(--sp-2) var(--sp-5); border: var(--bw-strong) solid var(--c-accent); border-radius: var(--radius-pill); background: var(--c-surface); color: var(--c-accent); font-weight: var(--fw-bold); white-space: nowrap; transition: background-color var(--dur-1) var(--ease-out); }
.obtn:hover { background: var(--c-accent-soft); }
.more { display: flex; justify-content: center; margin-top: var(--sp-6); }
.more a { display: inline-flex; align-items: center; gap: var(--sp-4); min-height: 2.75rem; padding: var(--sp-2) var(--sp-6); border: var(--bw) solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); }
.more a:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* 共通のボタン（下層ページ・404・フォームで使う） */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 3rem; padding: var(--sp-3) var(--sp-6); border: var(--bw-strong) solid transparent; border-radius: var(--radius-pill); font-weight: var(--fw-bold); text-align: center; cursor: pointer; transition: background-color var(--dur-1) var(--ease-out); }
.button--primary { background: var(--c-accent); color: var(--c-on-accent); }
.button--primary:hover { background: var(--c-accent-strong); }
.button--secondary { border-color: var(--c-accent); background: var(--c-surface); color: var(--c-accent); }
.button--secondary:hover { background: var(--c-accent-soft); }
.button--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.link-arrow { display: inline-flex; align-items: center; min-height: 2.75rem; gap: var(--sp-2); font-weight: var(--fw-bold); color: var(--c-accent); }
.link-arrow::after { content: "→"; }

/* 会社の表 */
.info-table { margin: 0; border-top: var(--bw) solid var(--c-line); }
.info-table > div { display: grid; gap: var(--sp-1) var(--sp-6); padding-block: var(--sp-4); border-bottom: var(--bw) solid var(--c-line); }
@media (min-width: 768px) { .info-table > div { grid-template-columns: 10rem 1fr; } }
.info-table dt { font-weight: var(--fw-bold); }
.info-table dd { margin: 0; }
.empty { color: var(--c-text-muted); }

/* フォーム。スマホで拡大されないよう入力欄の文字は16px以上 */
.form { display: grid; gap: var(--sp-6); }
.field { display: grid; gap: var(--sp-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: var(--fw-bold); padding: 0; }
.req, .opt { display: inline-block; margin-left: var(--sp-2); padding: 0 var(--sp-2); border-radius: var(--radius-xs); font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.req { background: var(--c-accent); color: var(--c-on-accent); }
.opt { background: var(--c-accent-soft); color: var(--c-text); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 3rem; padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-base);
  background: var(--c-surface); border: var(--bw) solid var(--c-text-muted); border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 10rem; }
.field select { appearance: auto; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-accent); outline: var(--bw-strong) solid var(--c-accent-soft); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.choices { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.choice { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 2.75rem; cursor: pointer; font-weight: var(--fw-regular); }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--c-accent); }
.choice--agree { justify-self: center; }
.choice--agree a { display: inline-block; padding-block: var(--sp-2); text-decoration: underline; color: var(--c-tag); }
.form__notice { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.form__hp { position: absolute; left: -9999px; }
.form__status { min-height: 1.5em; text-align: center; font-weight: var(--fw-bold); }
.form__status[data-state="error"] { color: var(--c-error); }
.form__alt { margin-top: var(--sp-6); text-align: center; color: var(--c-text-muted); }

/* ========== 5 ヘッダー・フッター ========== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-surface); border-bottom: var(--bw) solid var(--c-line); padding-top: env(safe-area-inset-top, 0px); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: var(--fw-bold); font-size: var(--fs-md); white-space: nowrap; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: flex; align-items: center; min-height: 2.75rem; white-space: nowrap; border-bottom: var(--bw-strong) solid transparent; }
.site-nav__list a:hover, .site-nav__list a[aria-current] { border-bottom-color: var(--c-accent); }
.site-nav__extra { display: none; }
.menu-toggle { display: none; }

@media (max-width: 767px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 2.75rem; padding: 0 var(--sp-2);
    background: none; border: 0; color: var(--c-text-muted); cursor: pointer; position: relative; z-index: 2;
  }
  .js .site-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) var(--gutter) var(--sp-8);
    background: var(--c-surface); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2);
  }
  .js .site-header[data-open] .site-nav { opacity: 1; visibility: visible; }
  .js .site-nav__list { flex-direction: column; gap: 0; border-top: var(--bw) solid var(--c-line); }
  .js .site-nav__list a { padding-block: var(--sp-3); font-size: var(--fs-md); border-bottom: var(--bw) solid var(--c-line); }
  .js .site-nav__extra { display: block; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { margin-left: 0; width: 100%; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; gap: 0 var(--sp-4); }
}
body[data-menu-open] { overflow: hidden; }

.site-footer { background: var(--c-surface); border-top: var(--bw) solid var(--c-line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); padding-block: var(--sp-7); }
.site-footer__logo { font-weight: var(--fw-bold); font-size: var(--fs-lg); }
.site-footer__desc { margin-top: var(--sp-2); font-size: var(--fs-sm); line-height: 1.8; color: var(--c-text-muted); }
.site-footer__head { margin-bottom: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); }
.cat-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cat-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--sp-4); border: var(--bw) solid var(--c-tag); border-radius: var(--radius-pill); color: var(--c-tag); font-size: var(--fs-sm); white-space: nowrap; }
.cat-links a:hover { background: var(--c-tag); color: var(--c-on-tag); }
.site-footer__bottom { padding: var(--sp-4) 0 var(--sp-5); border-top: var(--bw) solid var(--c-line); text-align: center; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--sp-5); margin-bottom: var(--sp-2); }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--fs-sm); white-space: nowrap; }
.site-footer__links a:hover { color: var(--c-accent); }
.site-footer__note { font-size: var(--fs-sm); color: var(--c-text-muted); }
.site-footer__note small { font-size: inherit; }

/* ========== 6 トップの区画 ========== */
/* 区画の見出し */
.sec-head { margin-bottom: var(--sp-6); }
.sec-head--center { text-align: center; }
.sec-head__title { font-size: var(--fs-h2); }

/* 1 最初の画面：会話＋重ねた記事のカード */
.talk-hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--sp-7); align-items: center; padding-block: var(--sp-7); }
.talk-hero__row { display: flex; gap: var(--sp-4); align-items: flex-end; margin-top: var(--sp-4); }
.talk-hero__row--r { flex-direction: row-reverse; }
.talk-hero__who { display: flex; flex-direction: column; align-items: center; flex: none; font-size: var(--fs-sm); color: var(--c-text-muted); }
.talk-hero__icon { width: var(--size-talk-icon); height: var(--size-talk-icon); border-radius: var(--radius-pill); overflow: hidden; border: var(--bw-face) solid var(--c-surface); background: var(--c-surface); }
.talk-hero__row--r .talk-hero__icon { border-color: var(--c-accent-soft); }
.talk-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.talk-hero__row--r .talk-hero__icon img { transform: scaleX(-1); }
.talk-hero__bubble { padding: var(--sp-4); border: var(--bw) solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-surface); line-height: var(--lh-card); }
.talk-hero__row--r .talk-hero__bubble { background: var(--c-accent-soft); border-color: var(--c-accent-soft); }
.talk-hero__go { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: var(--sp-5); margin-left: calc(var(--size-talk-icon) + var(--sp-4)); font-weight: var(--fw-bold); color: var(--c-accent); border-bottom: var(--bw-strong) solid var(--c-accent); }

.card { display: block; overflow: hidden; border: var(--bw) solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.card .thumb { border-radius: 0; }
.card__in { display: block; padding: var(--sp-4); }
.card__title { display: block; margin-top: var(--sp-2); font-weight: var(--fw-bold); line-height: var(--lh-heading); }
.card:hover .card__title, .item:hover .item__title, .rank a:hover .rank__ttl, .related__row:hover .related__title, .ccard__feature:hover .ccard__ftitle { color: var(--c-accent); }

/* PC：3枚を扇のように重ねる */
.fan { position: relative; height: var(--size-fan-h); list-style: none; margin: 0; padding: 0; }
.fan__card { position: absolute; top: var(--sp-5); width: var(--size-fan-card); }
.fan__card--1 { left: 0; transform: rotate(calc(var(--tilt) * -1)); }
.fan__card--2 { left: 50%; top: 0; z-index: 2; transform: translateX(-50%); }
.fan__card--3 { right: 0; transform: rotate(var(--tilt)); }
.rail-dots { display: none; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-4); }
.rail-dots i { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--c-line); }
.rail-dots i.is-on { background: var(--c-accent); }

/* 2 サイトの1文 */
.statement { text-align: center; }
.statement__title { font-size: var(--fs-display); line-height: var(--lh-heading); }
.statement__body { max-width: 35rem; margin: var(--sp-5) auto 0; line-height: var(--lh-prose); }
.words { margin-top: var(--sp-5); }
.words__cap { margin-bottom: var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-text-muted); }
.words__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
.words__list a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--sp-4); border: var(--bw) solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); font-size: var(--fs-sm); }
.words__list a:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* 3 新着（一覧のページも同じ形） */
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6) var(--sp-5); }
.item { display: block; }
.item .thumb .tag { position: absolute; top: var(--sp-2); right: var(--sp-2); }
.item__title { margin-top: var(--sp-2); font-size: var(--fs-base); line-height: var(--lh-card); }

/* 4 分類から読む */
.cats__lead { margin: var(--sp-2) 0 var(--sp-6); font-size: var(--fs-sm); color: var(--c-text-muted); }
.cats__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
.ccard { display: flex; flex-direction: column; padding: var(--sp-5); border: var(--bw) solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-surface); }
.ccard__top { display: flex; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-4); }
.ccard__face { flex: none; width: var(--size-face); height: var(--size-face); border: var(--bw) solid var(--c-line); border-radius: var(--radius-pill); overflow: hidden; background: var(--c-surface); }
.ccard__face img { width: 100%; height: 100%; object-fit: cover; }
.ccard__title { font-size: var(--fs-h3); }
.ccard__body { color: var(--c-text-muted); line-height: var(--lh-card); }
.ccard__feature { display: block; }
.ccard__ftitle { margin-top: var(--sp-2); font-size: var(--fs-base); line-height: var(--lh-card); }
.ccard__more { list-style: none; margin: var(--sp-4) 0 0; padding: 0; border-top: var(--bw) solid var(--c-line); }
.ccard__more li { border-bottom: var(--bw) solid var(--c-line); }
.ccard__more a { display: block; padding: var(--sp-2) 0; line-height: var(--lh-card); }
.ccard__more a:hover { color: var(--c-accent); }
.ccard .btn { margin-top: auto; }
.ccard__feature + .btn, .ccard__more + .btn { margin-top: var(--sp-5); }
.ccard > .btn:only-of-type { align-self: stretch; }
.cats__hint { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); }

/* 5 よく読まれている記事・編集部のおすすめ */
.rank__title { margin-bottom: var(--sp-6); }
.rank__no { position: absolute; top: var(--sp-2); left: var(--sp-2); display: flex; align-items: center; justify-content: center; width: var(--size-rank-no); height: var(--size-rank-no); border: var(--bw) solid var(--c-accent); border-radius: var(--radius-pill); background: var(--c-surface); color: var(--c-accent); font-weight: var(--fw-bold); font-size: var(--fs-md); }
.rank__ttl { margin-top: var(--sp-2); font-size: var(--fs-base); line-height: var(--lh-card); }
.rank__ttl--lg { font-size: var(--fs-lg); }
.rank__first { display: grid; grid-template-columns: 3fr 2fr; gap: var(--sp-6); align-items: center; padding-bottom: var(--sp-6); border-bottom: var(--bw) solid var(--c-line); }
.rank__rest { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-7); list-style: none; margin: 0; padding: 0; }
.rank__rest a { display: grid; grid-template-columns: var(--size-rank-img) 1fr; gap: var(--sp-5); align-items: center; padding: var(--sp-5) 0; border-bottom: var(--bw) solid var(--c-line); }

/* 6 申込の箱（トップと記事で同じ） */
.offer { overflow: hidden; border: var(--bw-strong) solid var(--c-accent); border-radius: var(--radius-lg); background: var(--c-surface); }
.offer__top { display: grid; grid-template-columns: var(--size-badge) 1fr; gap: var(--sp-6); align-items: center; padding: var(--sp-6) var(--sp-7); background: var(--c-accent-soft); }
.offer__badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: var(--size-badge); height: var(--size-badge); border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent); font-weight: var(--fw-bold); line-height: var(--lh-tight); }
.offer__badge small { font-size: var(--fs-base); color: inherit; }
.offer__badge span { font-size: var(--fs-display); }
.offer__paper { position: relative; padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-sm); background: var(--c-surface); }
.offer__tilt { position: absolute; right: var(--sp-5); top: calc(var(--sp-4) * -1); padding: 0 var(--sp-2); border: var(--bw-strong) solid var(--c-accent); border-radius: var(--radius-xs); background: var(--c-surface); color: var(--c-accent); font-size: var(--fs-sm); font-weight: var(--fw-bold); transform: rotate(calc(var(--tilt) * -1)); }
.offer__pr { display: inline-block; padding: 0 var(--sp-2); border: var(--bw) solid var(--c-line); border-radius: var(--radius-xs); background: var(--c-surface); color: var(--c-text-muted); font-size: var(--fs-sm); }
.offer__head { margin-top: var(--sp-2); font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: var(--lh-heading); }
.offer__hl { color: var(--c-accent); }
.offer__list { margin-top: var(--sp-4); }
.offer__list li { position: relative; margin-top: var(--sp-2); padding-left: var(--sp-6); font-weight: var(--fw-bold); line-height: var(--lh-card); }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: var(--size-check); height: var(--size-check); border-radius: var(--radius-pill); background: var(--c-accent); }
.offer__list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--c-on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.offer__bottom { padding: var(--sp-6) var(--sp-7); text-align: center; }
.offer__title { margin-bottom: var(--sp-4); font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.offer__lead { margin-bottom: var(--sp-4); }
.offer__lead span { position: relative; display: inline-block; padding: var(--sp-1) var(--sp-5); border: var(--bw-strong) solid var(--c-accent); border-radius: var(--radius-pill); background: var(--c-surface); color: var(--c-accent); font-weight: var(--fw-bold); }
.offer__lead span::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--c-accent); border-bottom: 0; }
.offer__button { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); max-width: var(--size-cta-max); margin: 0 auto; padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-on-accent); font-size: var(--fs-lg); font-weight: var(--fw-bold); transition: background-color var(--dur-1) var(--ease-out); }
.offer__button:hover { background: var(--c-accent-strong); }
.offer__ico { display: inline-flex; align-items: center; justify-content: center; width: var(--size-cta-ico); height: var(--size-cta-ico); border-radius: var(--radius-pill); background: var(--c-on-accent); color: var(--c-accent); font-size: var(--fs-base); }
.offer__micro { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); }

/* 7 運営者の案内 */
.band { display: grid; grid-template-columns: 1fr var(--size-pair-col); gap: var(--sp-6); align-items: center; overflow: hidden; padding: var(--sp-6) var(--sp-7); border-radius: var(--radius-lg); background: var(--c-accent-soft); }
.band__title { font-size: var(--fs-h2); }
.band__body { margin: var(--sp-2) 0 var(--sp-4); line-height: 1.8; }
.pair { position: relative; height: 12.5rem; }
.pair img { position: absolute; width: var(--size-pair-face); height: var(--size-pair-face); border: var(--bw-face) solid var(--c-surface); border-radius: var(--radius-pill); background: var(--c-surface); }
.pair__b { left: 0; top: 0; }
.pair__y { right: 0; bottom: 0; transform: scaleX(-1); }

/* ========== 7 下層ページ ========== */
.page-header { padding-block: var(--sp-6) var(--sp-5); text-align: center; }
.page-header .mark { padding-top: var(--sp-7); }
.page-header__title { font-size: var(--fs-h1); line-height: var(--lh-heading); line-break: strict; }
.page-header__lead { max-width: 40rem; margin: var(--sp-4) auto 0; color: var(--c-text-muted); text-align: left; }
@media (min-width: 768px) { .page-header__lead { text-align: center; } }
.page-header + .section { padding-top: var(--sp-6); }
/* 運営者・広告・問い合わせ・プライバシーの中身は白いパネルに載せる（記事と同じ） */
.page-about main > .section, .page-disclosure main > .section, .page-contact main > .section, .page-privacy main > .section { padding-top: 0; padding-bottom: var(--sp-6); }
main > .section:last-child { padding-bottom: var(--gap-section) !important; }
.section--intro > .split, .section--richtext > .container, .section--company > .container, .section--contact > .container { max-width: var(--w-narrow); }
.section--intro .split__text, .section--richtext .container, .section--company .container, .section--contact .container { padding: var(--sp-7); border-radius: var(--radius-lg); background: var(--c-surface); }
@media (max-width: 767px) {
  .section--intro .split__text, .section--richtext .container, .section--company .container, .section--contact .container { padding: var(--sp-5) var(--sp-4); }
  .section--intro > .split, .section--richtext > .container, .section--company > .container, .section--contact > .container { padding-inline: var(--gutter); }
}
.section--richtext .container, .section--company .container, .section--contact .container { margin-inline: auto; width: calc(100% - var(--gutter) * 2); }
section.section--intro > .split { padding-inline: 0; width: calc(100% - var(--gutter) * 2); margin-inline: auto; }

/* ========== 8 記事の一覧 ========== */
.post-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.post-filter a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: var(--sp-4); border: var(--bw) solid var(--c-tag); border-radius: var(--radius-pill); background: var(--c-surface); color: var(--c-tag); font-size: var(--fs-sm); }
.post-filter a[aria-current="page"] { background: var(--c-tag); color: var(--c-on-tag); font-weight: var(--fw-bold); }
.post-filter + .post-index { padding-top: var(--sp-6); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--c-line); }
.post-list--news .post-card__link { display: block; padding: var(--sp-4) 0; border-bottom: var(--bw) solid var(--c-line); }
.post-card__meta { font-size: var(--fs-sm); color: var(--c-text-muted); }
.post-card__title { font-size: var(--fs-base); line-height: var(--lh-card); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-4); margin-top: var(--sp-8); }
.pagination ol { order: -1; flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pagination__gap { display: grid; place-items: center; min-width: 1.5rem; color: var(--c-text-muted); }
.pagination a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding-inline: var(--sp-3); border: var(--bw) solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); }
.pagination a[aria-current] { background: var(--c-text); color: var(--c-surface); border-color: var(--c-text); }

/* ========== 9 記事 ========== */
.article-wrap { max-width: var(--w-narrow); margin: 0 auto; padding: var(--sp-6) var(--sp-5) var(--gap-section); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-muted); }
.crumb a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.crumb a:hover { color: var(--c-accent); }
.crumb span { margin: 0 var(--sp-2); }
.article { padding: var(--sp-7); border-radius: var(--radius-lg); background: var(--c-surface); }

/* 頭 */
.article__meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-muted); }
.article__title { padding-bottom: var(--sp-4); border-bottom: 3px dotted var(--c-accent-soft); font-size: var(--fs-h1); line-height: var(--lh-heading); }
.article__subtitle { font-size: var(--fs-lg); font-weight: var(--fw-regular); color: var(--c-text-muted); }
.article__subtitle .chunk { white-space: nowrap; }  /* 塊の中では折らない（lib の phraseChunks）。inline-block にしない（Google が塊ごとに「 - 」でつなぐ） */
.article__ad { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-muted); }
.article__ad a { text-decoration: underline; text-underline-offset: 3px; }
.article__eye { margin-top: var(--sp-5); overflow: hidden; border: var(--bw) solid var(--c-line); border-radius: var(--radius); }
.article__eye img, .article__eye .thumb__none { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* 枠の上に載せる札（この記事の答え・この記事を書いた人・関連記事） */
.box-label { position: absolute; top: calc(var(--sp-4) * -1); left: var(--sp-5); margin: 0; padding: 0 var(--sp-4); border: var(--bw) solid var(--c-text); border-radius: var(--radius-xs); background: var(--c-surface); font-size: var(--fs-sm); line-height: var(--size-label-h); }

/* この記事の答え */
.answer { position: relative; margin-top: var(--sp-7); padding: var(--sp-6) var(--sp-6) var(--sp-5); border: var(--bw) solid var(--c-line); border-radius: var(--radius); }

/* 目次 */
.toc { margin-top: var(--sp-6); overflow: hidden; border-radius: var(--radius); background: var(--c-bg); }
.toc__head { position: relative; display: flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: var(--sp-2) var(--sp-5); background: var(--c-accent-soft); font-weight: var(--fw-bold); }
.toc__toggle { display: none; }
.toc__list { list-style: none; margin: 0; padding: var(--sp-4) var(--sp-6) var(--sp-5); }
.toc__list li { position: relative; padding-left: var(--sp-5); }
.toc__list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.toc__list a { display: block; padding: var(--sp-2) 0; line-height: var(--lh-card); }
.toc__list a:hover { color: var(--c-accent); }

/* 本文（記事、ポリシー） */
.prose > * + * { margin-top: var(--sp-4); }
.prose p, .prose li { line-height: var(--lh-prose); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-6); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.4em; }
.prose li + li { margin-top: var(--sp-2); }
.prose a { color: var(--c-tag); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin-inline: 0; padding-left: var(--sp-5); border-left: 3px solid var(--c-accent); color: var(--c-text-muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-table); line-height: var(--lh-card); }
.prose th, .prose td { padding: var(--sp-2) var(--sp-4); text-align: left; vertical-align: top; }
.prose th { background: var(--c-bg); font-size: var(--fs-sm); white-space: nowrap; border-top: var(--bw-strong) solid var(--c-text); border-bottom: var(--bw) solid var(--c-line); }
.prose td { border-bottom: var(--bw) solid var(--c-line); }
.prose td:first-child { font-weight: var(--fw-bold); }

/* 記事の本文の見出し：地の色の面に濃い下線。直後の段落は答えの1文なので太字 */
.article__body { margin-top: var(--sp-2); }
.article__body h2 { margin-top: var(--sp-8); padding: var(--sp-5) var(--sp-5) var(--sp-4); border-bottom: var(--bw-strong) solid var(--c-text); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--c-bg); font-size: var(--fs-h2); line-height: var(--lh-heading); }
.article__body h2 + p { margin-top: var(--sp-5); font-weight: var(--fw-bold); }
.article__body > h2:first-child { margin-top: var(--sp-7); }

/* 図 */
.figure { margin: var(--sp-5) 0 0; overflow: hidden; border: var(--bw) solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.figure svg { padding: var(--sp-4); }
.figure figcaption { padding: var(--sp-2) var(--sp-4); border-top: var(--bw) solid var(--c-line); font-size: var(--fs-sm); color: var(--c-text-muted); line-height: var(--lh-card); }

/* 英語の言い方：線で区切った行（英文→読み方→意味） */
.phrases { list-style: none; margin-top: var(--sp-5); padding: 0 !important; border-top: var(--bw) solid var(--c-line); }
.phrases > li { margin: 0 !important; padding-block: var(--sp-4); border-bottom: var(--bw) solid var(--c-line); line-height: var(--lh-heading); }
.phrases__en { display: block; font-weight: var(--fw-bold); font-size: var(--fs-md); word-break: normal; overflow-wrap: anywhere; }
.phrases__kana { display: block; margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--c-accent); }
.phrases__ja { display: block; margin-top: var(--sp-1); }

/* 2人の会話：外国人の彼（左）とユイ（右）。地は地の色、吹き出しは白、右はピンク */
.talk { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); padding: var(--sp-5) var(--sp-4); border-radius: var(--radius); background: var(--c-bg); }
.talk__row { display: flex; align-items: flex-start; gap: var(--sp-2); }
.talk__row--r { flex-direction: row-reverse; }
.talk__who { flex: none; width: 56px; text-align: center; font-size: var(--fs-sm); color: var(--c-text-muted); line-height: var(--lh-card); }
.talk__icon { display: block; width: 56px; height: 56px; margin-bottom: var(--sp-1); overflow: hidden; border: var(--bw-strong) solid var(--c-line); border-radius: 50%; background: var(--c-surface); }
.talk__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.talk__row--r .talk__icon { border-color: var(--c-accent); }
/* キャラの元画像はすべて右向き。右の列だけ反転して向かい合わせる */
.talk__row--r .talk__icon img { transform: scaleX(-1); }
.talk__bubble { max-width: 78%; padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-lg); background: var(--c-surface); line-height: var(--lh-card); }
.talk__row--l .talk__bubble { border-top-left-radius: var(--radius-xs); }
.talk__row--r .talk__bubble { background: var(--c-accent-soft); border-top-right-radius: var(--radius-xs); }
.talk__en { display: block; font-weight: var(--fw-bold); word-break: normal; overflow-wrap: anywhere; }
.talk__kana { display: block; margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--c-accent); }
.talk__ja { display: block; margin-top: var(--sp-1); }
.prose .talk__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }
.source { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* 申込の箱は本文の最後の段落の直後 */
.article .offer { margin-top: var(--sp-6); }
.article .offer__title { font-size: var(--fs-md); }
.article .offer__bottom { padding: var(--sp-6); }

/* よくある質問：Q（塗りの四角）と A（線の四角）、組ごとに線で区切る */
.article__faq h3 { position: relative; margin: 0; padding: var(--sp-5) 0 0 calc(var(--size-qa) + var(--sp-4)); border-top: var(--bw) solid var(--c-line); font-size: var(--fs-md); line-height: var(--lh-card); }
.article__faq h2 + h3 { margin-top: var(--sp-5); }
.article__faq h3 + p { position: relative; margin-top: var(--sp-4); padding: 0 0 var(--sp-5) calc(var(--size-qa) + var(--sp-4)); font-weight: var(--fw-regular); }
.article__faq h3::before, .article__faq h3 + p::before { position: absolute; left: 0; display: flex; align-items: center; justify-content: center; width: var(--size-qa); height: var(--size-qa); border-radius: var(--radius-xs); font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: 1; }
.article__faq h3::before { content: "Q" / ""; top: calc(var(--sp-5) - 2px); background: var(--c-text); color: var(--c-surface); }
.article__faq h3 + p::before { content: "A" / ""; top: 0; border: var(--bw) solid var(--c-text); background: var(--c-surface); color: var(--c-text); }
.article__faq > p:last-child { border-bottom: var(--bw) solid var(--c-line); }

/* この記事を書いた人 */
.author { position: relative; display: grid; grid-template-columns: var(--size-au-col) 1fr; gap: var(--sp-6); margin-top: var(--sp-7); padding: var(--sp-6); border: var(--bw) solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.author__who { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4); padding-right: var(--sp-6); border-right: var(--bw) solid var(--c-line); }
.author__pair { position: relative; flex: none; width: 8.25rem; height: 6.25rem; }
.author__pair img { position: absolute; width: var(--size-au-face); height: var(--size-au-face); border: var(--bw) solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-surface); }
.author__b { left: 0; top: 0; }
.author__y { right: 0; bottom: 0; transform: scaleX(-1); }
.author__name { font-weight: var(--fw-bold); text-align: center; white-space: nowrap; }
.author__text p { line-height: var(--lh-prose); }
.author__text .obtn { margin-top: var(--sp-4); }

/* 関連記事 */
.related { position: relative; margin-top: var(--sp-7); padding: var(--sp-5) var(--sp-6) var(--sp-2); border: var(--bw) solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.related__list { list-style: none; margin: 0; padding: 0; }
.related__list li + li { border-top: var(--bw) solid var(--c-line); }
.related__row { display: grid; grid-template-columns: var(--size-rel-img) 1fr; gap: var(--sp-5); align-items: center; padding: var(--sp-4) 0; }
.related__title { display: block; margin-top: var(--sp-2); font-weight: var(--fw-bold); line-height: var(--lh-card); }

/* タブレット（768〜1023px）：扇に重ねると題が細かく折れるので、スマホと同じ横に送る列にする */
@media (min-width: 768px) and (max-width: 1023px) {
  .talk-hero { display: block; }
  .fan { display: flex; gap: var(--sp-4); height: auto; margin: var(--sp-5) calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fan__card { position: static; flex: none; width: var(--size-rail-card); transform: none !important; scroll-snap-align: start; }
  .fan__card--2 { order: -1; }
  .rail-dots { display: flex; }
}

/* ========== スマホ（767px 以下） ========== */
@media (max-width: 767px) {
  .sp-only { display: block; }
  br.sp-only { display: inline; }
  .mark { padding-top: var(--sp-6); }
  .mark__script, .mark--lg .mark__script { font-size: var(--fs-script-sp); }
  .sec-head__title, .band__title { font-size: var(--fs-lg); }

  .talk-hero { display: block; padding-block: var(--sp-5); }
  .talk-hero__icon { width: var(--size-talk-icon-sp); height: var(--size-talk-icon-sp); border-width: var(--bw-strong); }
  .talk-hero__bubble { padding: var(--sp-2) var(--sp-4); }
  .talk-hero__go { margin-left: calc(var(--size-talk-icon-sp) + var(--sp-4)); margin-top: var(--sp-4); }
  .fan { display: flex; gap: var(--sp-4); height: auto; margin: var(--sp-5) calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fan__card { position: static; flex: none; width: var(--size-rail-card); transform: none !important; scroll-snap-align: start; }
  .fan__card--2 { order: -1; }
  .rail-dots { display: flex; }

  .statement__title { font-size: var(--fs-h2); }
  .statement__body { text-align: left; }

  .item-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5) var(--sp-4); }
  .item .thumb .tag { top: var(--sp-1); right: var(--sp-1); }

  .cats__list { display: flex; gap: var(--sp-4); margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
  .ccard { flex: none; width: var(--size-cat-card); padding: var(--sp-4); scroll-snap-align: start; }
  .ccard__face { width: var(--size-face-sp); height: var(--size-face-sp); }
  .ccard__title { font-size: var(--fs-md); }

  .rank__title { margin-bottom: var(--sp-5); }
  .rank__first { display: block; padding-bottom: var(--sp-5); }
  .rank__first .rank__txt { margin-top: var(--sp-2); }
  .rank__ttl--lg { font-size: var(--fs-base); }
  .rank__rest { display: block; }
  .rank__rest a { grid-template-columns: var(--size-rank-img-sp) 1fr; gap: var(--sp-4); padding: var(--sp-4) 0; }
  .rank__rest .rank__ttl { margin-top: var(--sp-1); }
  .rank__rest .rank__no { width: var(--size-rank-no-sp); height: var(--size-rank-no-sp); font-size: var(--fs-sm); top: var(--sp-1); left: var(--sp-1); }

  .offer__top { display: block; padding: var(--sp-5) var(--sp-4); }
  .offer__badge { width: var(--size-badge-sp); height: var(--size-badge-sp); margin: 0 auto var(--sp-5); }
  .offer__badge small { font-size: var(--fs-sm); }
  .offer__badge span { font-size: var(--fs-h2); }
  .offer__paper { padding: var(--sp-5) var(--sp-4); }
  .offer__head { font-size: var(--fs-lg); }
  .offer__bottom, .article .offer__bottom { padding: var(--sp-5) var(--sp-4); }
  .offer__title, .article .offer__title { font-size: var(--fs-base); }
  .offer__lead span { padding: var(--sp-1) var(--sp-4); font-size: var(--fs-sm); }
  .offer__button { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-base); }
  .offer__ico { width: var(--size-cta-ico-sp); height: var(--size-cta-ico-sp); }

  .band { display: flex; flex-direction: column; padding: var(--sp-6) var(--sp-4); }
  .band__text { order: 2; }
  .pair { order: 1; width: 14.5rem; height: 8.5rem; margin: 0 auto var(--sp-4); }
  .pair img { width: var(--size-pair-face-sp); height: var(--size-pair-face-sp); }
  .obtn { display: flex; }

  .site-footer__in { display: block; padding-block: var(--sp-6); }
  .site-footer__cats { margin-top: var(--sp-5); }

  .article-wrap { padding: var(--sp-4) var(--sp-4) var(--gap-section); }
  .article { padding: var(--sp-5) var(--sp-4); }
  .article__title { font-size: var(--fs-h2); }
  .article__eye img, .article__eye .thumb__none { aspect-ratio: 16 / 9; }
  .answer { margin-top: var(--sp-7); padding: var(--sp-6) var(--sp-4) var(--sp-4); }
  .box-label { left: var(--sp-4); }
  .toc__head { padding: var(--sp-2) var(--sp-4); }
  .js .toc__toggle { position: absolute; right: var(--sp-2); top: 0; bottom: 0; display: inline-flex; align-items: center; padding: 0 var(--sp-2); border: 0; background: none; color: var(--c-text-muted); font-size: var(--fs-sm); font-weight: var(--fw-regular); cursor: pointer; }
  .js .toc:not([data-open]) .toc__list { display: none; }
  .toc__list { padding: var(--sp-2) var(--sp-4) var(--sp-4); }
  .article__body h2 { margin-top: var(--sp-7); padding: var(--sp-4); font-size: var(--fs-lg); }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  /* 列名は各セルの前に出すので、見出しの行は読み上げだけに残す */
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prose table { border-top: var(--bw-strong) solid var(--c-text); }
  .prose tr { border-bottom: var(--bw) solid var(--c-line); }
  .prose td { padding: var(--sp-1) 0; border-bottom: 0; }
  .prose td:first-child { padding-top: var(--sp-4); }
  .prose td:last-child { padding-bottom: var(--sp-4); }
  .prose td[data-h]:not(:first-child)::before { content: attr(data-h) "："; color: var(--c-text-muted); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
  .article__faq h3 { font-size: var(--fs-base); padding-left: calc(var(--size-qa-sp) + var(--sp-4)); }
  .article__faq h3 + p { padding-left: calc(var(--size-qa-sp) + var(--sp-4)); }
  .article__faq h3::before, .article__faq h3 + p::before { width: var(--size-qa-sp); height: var(--size-qa-sp); font-size: var(--fs-sm); }
  .author { grid-template-columns: 1fr; gap: var(--sp-4); padding: var(--sp-6) var(--sp-4) var(--sp-5); }
  .author__who { flex-direction: row; justify-content: flex-start; padding: 0 0 var(--sp-4); border-right: 0; border-bottom: var(--bw) solid var(--c-line); }
  .related { padding: var(--sp-5) var(--sp-4) var(--sp-1); }
  .related__row { grid-template-columns: var(--size-rel-img-sp) 1fr; gap: var(--sp-4); align-items: start; }
  .related__title { margin-top: var(--sp-1); }
}

/* ========== 10 動き ==========
   data-reveal: 画面に入ったらふわっと出す。JS が動かない時と「動きを減らす」設定の時は最初から見せる。 */
.reveal-on[data-motion]:not([data-motion="0"]) [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal-on[data-motion]:not([data-motion="0"]) [data-reveal].is-in { opacity: 1; transform: none; }
details::details-content { transition: content-visibility var(--dur-2) allow-discrete, height var(--dur-2) var(--ease-out); height: 0; overflow: clip; }
details[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  @view-transition { navigation: none; }
}
