/* Kohey fitness — style.css（プレビュー v2）
   世界観：Nichijo Cinema の「やわらかく穏やかな日常」とは対比させる。
   こちらはシャープ／スポーティ／実績の説得力寄り。
   v2 の色方針（本人のフィードバック 2026-10-27）：
   - 基調は黒・赤・白。トップページは赤と黒
   - 黄色と青はアクセントとして要所に使う（柱ごとの色分け、寸劇の話者、フォーカス表示など）
   - v1 のグリーン基調は廃止
   画像素材は使わず、色面とタイポグラフィだけで成立させる。 */

:root {
  --bg: #F5F5F3;
  --bg-soft: #ECECE8;
  --card: #FFFFFF;
  --border: #D6D6CF;
  --ink: #111111;          /* 黒（文字・暗部の主色） */
  --text: #1E1E20;
  --muted: #5B5B60;
  --accent: #D9212C;       /* 赤（主アクセント） */
  --accent-dark: #A5121D;
  --accent-deep: #0A0A0A;  /* 黒（ヒーロー／フッター） */
  --accent-soft: #FDECEC;  /* 薄い赤（応援ボックス等） */
  --accent-mist: #FFB3B9;  /* 暗部で使う淡い赤 */
  --yellow: #FFC400;       /* アクセント：黄 */
  --yellow-soft: #FFF6D8;
  --blue: #1B4FD8;         /* アクセント：青 */
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --radius: 4px;           /* シャープに：角丸は最小限 */
  --content: 1120px;
  --shadow: 6px 6px 0 rgba(17, 17, 17, .10);
  --shadow-lift: 10px 10px 0 rgba(17, 17, 17, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.2rem); letter-spacing: .01em; }
h2 {
  font-size: clamp(1.7rem, 4.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 56px 4px no-repeat;
}
h3 { font-size: 1.12rem; margin-bottom: 8px; }
p { margin-bottom: 1.1em; }
small, .small-note { color: var(--muted); font-size: .83rem; }
.section, .page-main {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}
.section { padding-block: 84px; }
.section-lead { color: var(--muted); margin-bottom: 32px; max-width: 720px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .26em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--accent);
}

/* セクションの背景帯（色面の切り替え：白 → 薄グレー → 黒） */
.band-soft { background: var(--bg-soft); }
.band-dark {
  background: var(--accent-deep);
  color: #fff;
}
.band-dark h2 {
  color: #fff;
  background-image: linear-gradient(var(--accent), var(--accent));
}
.band-dark .eyebrow { color: var(--yellow); }
.band-dark .section-lead { color: rgba(255, 255, 255, .8); }

/* ---------- header / nav ---------- */
.site-header {
  min-height: 70px;
  width: 100%;
  margin-inline: auto;
  padding: 10px max(20px, calc((100% - 1280px) / 2 + 20px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 245, 243, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
/* ロゴ：文字だけのタイポグラフィ扱い。アイコン・記号的なアクセントは付けず、
   「ロゴを作った感」を出さない。シャープさはウェイト対比と字間だけで作る */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.logo-name {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: .015em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-name-thin { font-weight: 600; letter-spacing: .045em; }
.logo-sub {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--muted);
}
/* フッター（暗部）用のライト版 */
.logo--light .logo-name { color: #fff; }
.logo--light .logo-sub { color: rgba(255, 255, 255, .55); }
.site-footer .logo { margin-bottom: 22px; }
.global-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 14px 20px 22px;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  flex-direction: column;
  gap: 2px;
}
.global-nav.is-open { display: flex; }
.global-nav a {
  padding: 11px 8px;
  font-size: .93rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.global-nav a[aria-current="page"] { color: var(--accent-dark); box-shadow: inset 3px 0 0 var(--accent); }
.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--card);
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero（トップは赤と黒） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--accent-deep);
  color: #fff;
}
/* 斜めに切り込む赤の色面 */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(160deg, #F04438 0%, var(--accent) 55%, #8F0F18 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .95;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}
.hero-ghost {
  position: absolute;
  right: 6px;
  bottom: -26px;
  z-index: 1;
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  padding-block: 92px 0;
}
.hero .eyebrow { color: var(--yellow); }
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 26px;
}
.hero h1 .hl {
  color: #fff;
  box-shadow: inset 0 -0.32em 0 rgba(217, 33, 44, .8);
}
.hero-lead { color: rgba(255, 255, 255, .88); max-width: 600px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stat-strip {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content));
  margin: 56px auto 0;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}
.hero-stat-strip div { display: flex; align-items: baseline; gap: 10px; }
.hero-stat-strip strong {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.hero-stat-strip span { font-size: .76rem; letter-spacing: .14em; color: rgba(255, 255, 255, .75); font-weight: 700; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .35);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(0, 0, 0, .35); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .35); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-light:hover { background: var(--yellow); border-color: var(--yellow); }
.button-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: none;
}
.button-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; transform: none; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: 5px 5px 0 rgba(17, 17, 17, .18); }
.button-outline:hover { background: var(--accent-soft); border-color: var(--ink); }

/* ---------- 実績リスト（時系列で並べる。切り取り表現は使わない） ---------- */
.record-list {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.record-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 24px;
}
.record-item + .record-item { border-top: 1px solid var(--border); }
.record-year {
  flex: 0 0 auto;
  min-width: 104px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--accent);
}
.record-item p { margin: 0; }
.record-item p strong { color: var(--ink); }
.record-todo {
  margin-top: 16px;
  padding: 18px 22px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  font-size: .9rem;
}
.record-todo p { margin: 0; }

/* ---------- pillar cards ---------- */
.pillar-grid { display: grid; gap: 18px; }
.pillar-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  display: block;
  transition: transform .18s, box-shadow .18s;
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent);
}
/* 柱ごとの色分け（黄・青はアクセントとしてここで使う） */
.pillar-card--meal::before { background: var(--yellow); }
.pillar-card--gear::before { background: var(--blue); }
.pillar-card--work::before { background: var(--ink); }
.pillar-card::after {
  content: "→";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform .18s;
}
.pillar-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lift); }
.pillar-card:hover::after { transform: translateX(5px); }
.pillar-card .pillar-ghost {
  position: absolute;
  top: 2px;
  right: 14px;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(17, 17, 17, .07);
  pointer-events: none;
}
.pillar-card .pillar-num {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #fff;
  background: var(--ink);
  padding: 3px 10px;
  margin-bottom: 14px;
}
.pillar-card h3 { font-size: 1.3rem; font-weight: 900; }
.pillar-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; padding-right: 28px; }
.text-link {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
}
.text-link:hover { color: var(--accent); }

/* ---------- article cards / filter ---------- */
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; }
.tag-chip {
  border: 2px solid var(--ink);
  background: var(--card);
  border-radius: 3px;
  padding: 5px 14px;
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.tag-chip:hover { background: var(--accent-soft); }
.tag-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-grid { display: grid; gap: 18px; }
.article-card {
  padding: 26px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  display: block;
  transition: transform .18s, box-shadow .18s;
}
.article-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lift); }
.article-card[hidden] { display: none; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.article-date { color: var(--muted); font-size: .8rem; font-weight: 700; }
.pillar-tag {
  display: inline-block;
  padding: 2px 10px;
  color: #fff;
  background: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.8;
}
/* 柱タグも柱カードと色をそろえる */
[data-pillar="meal"] .pillar-tag { background: var(--yellow); color: var(--ink); }
[data-pillar="gear"] .pillar-tag { background: var(--blue); }
[data-pillar="work"] .pillar-tag { background: var(--ink); }
.article-card h3 { font-size: 1.16rem; font-weight: 800; }
.article-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.empty-note {
  padding: 26px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: var(--card);
}

/* ---------- 広告モック（プレビュー専用：実際の AdSense の見た目のイメージ） ---------- */
/* 置き場所の方針（v2）：本文の流れを割らず、「話の区切り」にだけ置く。
   記事ページでは本文の最後（締めの前）、一覧ではカードとカードの境界。 */
.ad-mock {
  position: relative;
  border: 1px solid #D8D8D8;
  border-radius: 8px;
  background: linear-gradient(180deg, #FBFBFB 0%, #EFEFEF 100%);
  color: #707880;
  padding: 14px 18px 18px;
  overflow: hidden;
}
.ad-mock-label {
  display: block;
  font-size: .66rem;
  letter-spacing: .1em;
  color: #9AA0A3;
  margin-bottom: 8px;
}
.ad-mock-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.ad-mock-body strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #8B9297;
  letter-spacing: .16em;
}
.ad-mock-body span { font-size: .78rem; color: #9AA0A3; }
/* 一覧の中に差し込むインフィード型（カードの境界＝区切りに置く） */
.article-grid > .ad-mock { grid-column: 1 / -1; min-height: 150px; display: flex; flex-direction: column; }
.article-grid > .ad-mock .ad-mock-body { flex: 1; }
/* 記事本文の区切り（本文末尾）に置くレスポンシブ型 */
.ad-mock-in-article { margin-block: 40px 8px; min-height: 280px; display: flex; flex-direction: column; }
.ad-mock-in-article .ad-mock-body { flex: 1; }

/* ---------- article page ---------- */
.article-body {
  max-width: 760px;
  margin-inline: auto;
  padding: 36px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 1.01rem;
}
.article-body h2 {
  font-size: 1.34rem;
  font-weight: 900;
  margin-top: 42px;
  padding: 0 0 0 14px;
  background: none;
  border-left: 6px solid var(--accent);
  line-height: 1.5;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: #26262A; }
.article-body ul { padding-left: 1.3em; }
.link-box, .support-box {
  margin-top: 30px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg);
}
.link-box h3, .support-box h3 { font-size: 1rem; }
.link-box p:last-child, .support-box p:last-child { margin-bottom: 0; }
/* 記事末尾の応援ボックス（v2：軽い一言＋応援ページへの導線に特化） */
.support-box {
  background: var(--accent-soft);
  text-align: center;
}
.support-box p { max-width: 560px; margin-inline: auto; }
.support-box .button { margin-top: 6px; }

/* ---------- 寸劇（セリフ掛け合い） ---------- */
/* 使い方：.dialogue の中に .dialogue-line を並べる。話者は
   --kohey（本人＝赤）／--ojisan（おじさん＝青）／既定（黒）。
   セリフ文案は本人インタビューをもとに作る前提で、ここは型のサンプル表示用。 */
.dialogue { margin: 30px 0 8px; display: grid; gap: 12px; }
.dialogue-line { display: flex; gap: 12px; align-items: flex-start; }
.dialogue-who {
  flex: 0 0 auto;
  min-width: 72px;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
}
.dialogue-line--kohey .dialogue-who { background: var(--accent); }
.dialogue-line--ojisan .dialogue-who { background: var(--blue); }
.dialogue-text {
  position: relative;
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.dialogue-text::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-left: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  transform: rotate(45deg);
}
.dialogue-text p { margin: 0; }
.dialogue-note { font-size: .78rem; color: var(--muted); margin: 0 0 30px; }

/* ---------- Amazon 商品リンクボックス（本文中に差し込む用） ---------- */
/* 方針：記事の中でその商品の話が出てきた場所に、その場で置く。
   ダミー表示は破線＋「サンプル」ラベルで、実リンクと誤認されない見た目にする。 */
.product-box {
  margin: 26px 0;
  padding: 20px 22px;
  border: 2px dashed #B9B9B0;
  border-radius: var(--radius);
  background: #FFFDF2;
}
.product-box-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.product-box h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-box p { font-size: .92rem; }
.product-link-dummy {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, .12);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
  cursor: not-allowed;
}
.product-box .small-note { display: block; margin-top: 12px; }

/* ---------- records（近況：月ごとの短い文章） ---------- */
.month-list { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }
.month-entry {
  padding: 26px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.month-entry .month-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: var(--ink);
  padding: 3px 12px;
  margin-bottom: 12px;
}
.month-entry p { margin-bottom: 0; color: #26262A; }
.notice-box {
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow-soft);
}
.notice-box p:last-child { margin-bottom: 0; }

/* ---------- generic ---------- */
.page-main { padding-block: 26px 88px; }
.page-heading { padding-block: 52px 32px; text-align: center; }
.page-heading .eyebrow { justify-content: center; }
.page-heading .eyebrow::after {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--accent);
}
.page-heading h1 { margin-bottom: 14px; font-weight: 900; }
.page-heading > p:last-child { color: var(--muted); max-width: 640px; margin-inline: auto; }
.info-card {
  padding: 26px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.info-card p:last-child { margin-bottom: 0; }
.content-section { display: grid; gap: 18px; }
.site-footer {
  padding: 54px 20px 30px;
  background: var(--accent-deep);
  border-top: 5px solid var(--accent);
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.site-footer nav a { transition: color .2s; }
.site-footer nav a:hover { color: var(--yellow); }
.site-footer > p { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.site-footer small { font-size: .76rem; color: rgba(255, 255, 255, .45); }

@media (min-width: 700px) {
  .site-header { padding-inline: max(36px, calc((100% - 1280px) / 2 + 36px)); }
  .menu-toggle { display: none; }
  .global-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .global-nav a { padding: 8px 0; border: 0; }
  .global-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
  .section { padding-block: 100px; }
  .hero-inner { padding-block: 116px 0; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .info-card { padding: 30px; }
  .article-body { padding: 46px 42px; }
}
@media (max-width: 699px) {
  .ad-mock-in-article { min-height: 220px; }
  .hero::before { width: 70%; opacity: .55; }
  .record-item { flex-direction: column; gap: 2px; }
  .record-year { min-width: 0; }
  .dialogue-who { min-width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ---------- 写真スロット（プレビュー用：実画像は assets/img/ に差し込む） ---------- */
/* 画像ファイルがまだ無い間も、枠とキャプションで「どこに・何の写真が入るか」が分かる形にしている */
.hero-photo {
  margin: 42px 0 0;
  max-width: 560px;
}
.hero-photo img, .author-photo img, .article-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  background: rgba(255, 255, 255, .08);
}
.hero-photo img {
  border: 2px solid #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .4);
}
.hero-photo figcaption, .author-photo figcaption, .article-photo figcaption {
  margin-top: 10px;
  font-size: .72rem;
  letter-spacing: .08em;
}
.hero-photo figcaption { color: rgba(255, 255, 255, .65); }
.author-photo figcaption, .article-photo figcaption { color: var(--muted); }

/* ---------- 筆者について（プレビュー限定の実験） ---------- */
.author-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}
.author-photo { margin: 0; max-width: 320px; }
.author-photo img {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.author-text p:last-child { margin-bottom: 0; }
@media (min-width: 700px) {
  .author-grid { grid-template-columns: 300px 1fr; gap: 40px; }
}
/* 記事末尾の筆者ミニボックス */
.author-box {
  margin-top: 30px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-box .author-photo { flex: 0 0 96px; max-width: 96px; }
.author-box .author-photo img { min-height: 96px; box-shadow: 4px 4px 0 rgba(17, 17, 17, .12); }
.author-box .author-photo figcaption { display: none; }
.author-box h3 { font-size: 1rem; }
.author-box p { font-size: .92rem; margin-bottom: 6px; }
.author-box p:last-child { margin-bottom: 0; }
@media (max-width: 699px) {
  .author-box { flex-direction: column; }
}
/* 記事本文中の写真スロット */
.article-photo { margin: 30px 0; }
.article-photo img {
  border: 2px solid var(--border);
  background: var(--bg-soft);
}
