/* ============================================================
   るくの会｜動物医療の透明性を考える署名サイト
   CSS設計：BEM（Block__Element--Modifier）
   コンセプト：白基調 / 大胆な余白 / タイポグラフィ重視 / 高級感と信頼感
   ============================================================ */

/* ------------------------------------------------------------
   1. カスタムプロパティ（デザイントークン）
   色・余白・書体をここで一元管理。トンマナ変更時はここだけ触る
------------------------------------------------------------ */
:root {
  /* Color */
  --color-text: #1d1d1f;          /* 本文：ほぼ黒 */
  --color-text-soft: #55555b;     /* 補足テキスト */
  --color-bg: #ffffff;            /* 基調の白 */
  --color-bg-tint: #f7f7f8;       /* セクション交互の淡いグレー */
  --color-bg-dark: #16232e;       /* 署名セクション：深い紺 */
  --color-accent: #2c5f7c;        /* アクセント：落ち着いた青 */
  --color-accent-dark: #234c63;   /* アクセント hover */
  --color-notice-bg: #fdf8ef;     /* 注意書きカード背景（淡い生成り） */
  --color-notice-border: #d9c08a; /* 注意書きカード枠 */
  --color-line: #e5e5e7;          /* 罫線 */
  --color-emphasis: #c22f2f;      /* 強調用の赤（署名サイトの明示など） */
  --color-howto-bg: #fbe6f3;      /* 操作手順セクションの背景（淡いピンク） */

  /* Typography */
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;

  /* Spacing（余白を大胆に取るための基準値） */
  --space-section: clamp(96px, 14vw, 180px);   /* セクション間 */
  --space-header: clamp(48px, 7vw, 88px);      /* 見出しと本文の間 */

  /* Layout */
  --width-content: 1080px;
  --width-narrow: 760px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fade: 1.05s;

  /* Motion tuning（演出の速度・強度はここで一元調整） */
  --reveal-distance: 20px;   /* リビール時の移動量（控えめに） */
  --reveal-scale: 1.04;      /* 写真リビール時の初期スケール */
  --reveal-stagger: 100ms;   /* 並列要素の時間差（JSが参照） */
  --parallax-factor: 0.18;   /* Heroパララックス係数（JSが参照） */
  --progress-height: 2px;    /* スクロールプログレスの太さ */
}

/* ------------------------------------------------------------
   2. リセット & ベース
------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 固定ヘッダー分、アンカー位置を下げる */
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  line-break: strict;           /* 和文の禁則処理を厳格に */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* フォーカスリング（アクセシビリティ：キーボード操作を可視化） */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 動きを減らす設定のユーザーにはアニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------
   3. ユーティリティ
------------------------------------------------------------ */
/* スキップリンク：フォーカス時のみ表示 */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--color-text);
  color: #fff;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

/* スクリーンリーダー専用テキスト */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* PC/SP 表示切替用の改行 */
.u-pc-only { display: inline; }
.u-sp-only { display: none; }

@media (max-width: 768px) {
  .u-pc-only { display: none; }
  .u-sp-only { display: inline; }
}

/* フェードイン（JSが .is-visible を付与）
   移動量は --reveal-distance で一元調整。ゆっくり静かに立ち上げる */
.js-fade {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--duration-fade) var(--ease-out),
    transform var(--duration-fade) var(--ease-out);
}

/* 発火前の要素にのみ will-change を当てる（合成レイヤーの浪費を防ぐ） */
.js-fade:not(.is-visible) {
  will-change: opacity, transform;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* JS無効環境でも内容が読めるようフォールバック */
.no-js .js-fade {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   4. ヘッダー
------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* スクロール後：すりガラス風の白背景（JSで付与） */
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  /* 罫線＋ごく淡いドロップの2階調で、浮きすぎない立体感に */
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(29, 29, 31, 0.04);
}

.header__inner {
  max-width: 1320px;   /* 会名が長くなったため、コンテンツ幅より広く取る */
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ロゴ横の小さなタグライン（SPでは非表示） */
.header__tagline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--color-text-soft);
  margin-left: 12px;
}

/* ナビと窮屈になる幅ではタグラインを非表示に */
@media (max-width: 1200px) {
  .header__tagline {
    display: none;
  }
}

.header__logo {
  white-space: nowrap;
}

.header__list {
  display: flex;
  gap: clamp(16px, 1.8vw, 26px);
}

.header__link {
  position: relative;
  font-size: 13px;
  color: var(--color-text-soft);
  white-space: nowrap;   /* リンク文字の途中折り返しを防ぐ */
  transition: color 0.3s;
}

.header__link:hover {
  color: var(--color-text);
}

/* 現在地の静かな下線（JSが .is-current を付与） */
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.header__link.is-current {
  color: var(--color-text);
}

.header__link.is-current::after {
  transform: scaleX(1);
}

.header__cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  padding: 9px 20px;
  border-radius: 100px;
  transition: background 0.3s;
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--color-accent-dark);
}

/* SP：ナビは非表示にしCTAのみ残す（1ページ完結のため許容） */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
}

/* ------------------------------------------------------------
   5. ボタン（共通コンポーネント）
------------------------------------------------------------ */
.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-weight: 600;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-out), background 0.3s, box-shadow 0.3s;
}

.button--primary {
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  padding: 16px 48px;
  box-shadow: 0 8px 24px rgba(44, 95, 124, 0.28);
}

.button--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* 署名セクションの大型ボタン */
.button--large {
  background: #fff;
  color: var(--color-bg-dark);
  font-size: clamp(16px, 2.4vw, 19px);
  padding: 22px 72px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.button--large:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.button__sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-soft);
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------
   6. セクション共通
------------------------------------------------------------ */
.section {
  padding: var(--space-section) 0;
}

/* 交互に敷く淡い背景：上下端を白へ溶かし、境界を滑らかに */
.section--tint {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-tint) clamp(48px, 7vw, 96px),
    var(--color-bg-tint) calc(100% - clamp(48px, 7vw, 96px)),
    var(--color-bg) 100%
  );
}

/* 署名セクション：深い紺 */
.section--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 24px;
}

.section__inner--narrow {
  max-width: var(--width-narrow);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-header);
}

.section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section__eyebrow--light {
  color: rgba(255, 255, 255, 0.65);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  font-feature-settings: "palt" 1;  /* 明朝の約物を詰めて据わりを良く */
  text-wrap: balance;               /* 行末の据わり（対応ブラウザのみ） */
}

.section__title--light {
  color: #fff;
}

.section__lead {
  margin-top: 28px;
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--color-text-soft);
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------
   7. Hero
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero写真：object-fit でトリミングしつつ全面表示 */
.hero__bg {
  position: absolute;
  inset: -10% 0;               /* パララックス移動分の余裕 */
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%; /* 顔が中心に来るよう上寄せ */
  background: linear-gradient(168deg, #eef1f4 0%, #dfe6ec 45%, #cdd9e2 100%);
  will-change: transform;
}

/* 写真の上に敷く薄い白ベール：文字の可読性を担保 */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(255, 255, 255, 0.72) 55%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  /* 下余白はSCROLLインジケーター（bottom:32px＋高さ約80px）と被らない量を確保 */
  padding: 120px 24px 150px;
  max-width: 880px;
}

/* 会名ブロック（青・タイトルの上） */
.hero__brand {
  font-size: clamp(15px, 2.3vw, 20px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 32px;
}

/* 署名サイトであることの明示（大きめ・赤） */
.hero__eyebrow {
  font-size: clamp(16px, 2.6vw, 23px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-emphasis);
  margin-bottom: 32px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 6.4vw, 58px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.08em;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 36px;
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 2.2;
  color: var(--color-text-soft);
}

.hero__actions {
  margin-top: 48px;
}

/* ファーストビューの係争中注記 */
.hero__note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--color-text-soft);
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------
   7.2 スクロールプログレス（JSが生成・transform で更新）
   極細・アクセント色。読み進みを静かに示すだけの存在
------------------------------------------------------------ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--progress-height);
  background: var(--color-accent);
  opacity: 0.8;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 120;
  pointer-events: none;
}

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero__scroll-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--color-text-soft);
  transform-origin: top;
  animation: scroll-line 2.2s var(--ease-out) infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ------------------------------------------------------------
   6.5 Prose：本文テキストの共通コンポーネント
   （はじめに・本署名の目的・事件の経緯などの読み物セクション用）
------------------------------------------------------------ */
.prose {
  max-width: var(--width-narrow);
  margin: 0 auto;
}

.prose p {
  font-size: 15px;
  color: var(--color-text-soft);
}

.prose p + p {
  margin-top: 24px;
}

/* 呼びかけなどの強調行 */
.prose__emphasis {
  font-family: var(--font-serif);
  font-size: 17px !important;
  font-weight: 600;
  color: var(--color-text) !important;
  text-align: center;
  padding: 8px 0;
}

/* 補足注記（主張ベースであることの明示など） */
.prose__note {
  font-size: 12.5px !important;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------
   6.6 Goal：裁判所への要望と未来への願い（番号付きリスト）
------------------------------------------------------------ */
.goal {
  max-width: var(--width-narrow);
  margin: 56px auto 0;
}

.goal__heading {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 32px;
}

.goal__list {
  counter-reset: goal;
  display: grid;
  gap: 16px;
}

.goal__item {
  counter-increment: goal;
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 22px 26px 22px 64px;
  font-size: 14px;
  color: var(--color-text-soft);
}

/* 01, 02, 03 の番号 */
.goal__item::before {
  content: "0" counter(goal);
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

/* ------------------------------------------------------------
   6.7 Case：事件の経緯の補助要素
------------------------------------------------------------ */
/* 経緯セクション内の注記枠は本文の前に置くため下余白を調整 */
.case .notice {
  margin: 0 auto 48px;
}

/* 下層ページの記事内では注記枠を本文前の位置に */
.article .notice {
  margin: 0 auto 40px;
}

/* 注記が1文のみの場合は上罫線を消す */
.notice__footnote--single {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  font-size: 13.5px !important;
  line-height: 2;
}

/* Instagramリンク */
.case__more {
  max-width: var(--width-narrow);
  margin: 48px auto 0;
  text-align: center;
}

.case__more-text {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

/* Instagramアイコン（円形のアイコンリンク） */
.case__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}

.case__more-link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.case__more-icon {
  display: block;
}

/* アイコン下のアカウント名 */
.case__more-handle {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
}

/* ------------------------------------------------------------
   7.5 Marquee：写真が流れる帯（上部・中部・下部の3箇所）
   仕組み：同一の画像グループを2つ並べ、トラックを -50% まで
   等速移動させ続けることでシームレスに無限ループさせる
------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0;
  /* 左右端をふわっと消して高級感を出すマスク */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 56s linear infinite;
}

/* 中部は逆方向に流して単調さを防ぐ */
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

/* ホバー中は一時停止（報道画像を読みたい人への配慮） */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  padding-right: clamp(12px, 1.6vw, 20px);
}

.marquee__img {
  display: block;
  height: clamp(120px, 16vw, 190px);
  width: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.08);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 報道マーキーの見出しと出典表記 */
.marquee-media {
  padding: clamp(48px, 7vw, 88px) 0 0;
}

.marquee-media__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.marquee-media__title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.marquee-media__note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-soft);
  padding: 0 24px;
  margin-top: 4px;
}

/* 動きを減らす設定：自動スクロールを止め、手動スクロールに切替 */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* ------------------------------------------------------------
   8. Story：るくとの日々
------------------------------------------------------------ */
.story__block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* ブロック間の余白は大胆に */
.story__block + .story__block {
  margin-top: clamp(72px, 10vw, 140px);
}

/* 写真を左右交互に：--reverse で写真を右側へ */
.story__block--reverse .story__photo {
  order: 2;
}

.story__block--reverse .story__text {
  order: 1;
}

/* ダミー写真エリア：実写真差し替え時は <img class="story__img"> に置換 */
.story__photo {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(150deg, #edf0f3 0%, #dde4ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.08);
}

.story__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.08);
}

/* 写真の静かな立ち上がり：親ブロックのフェードに合わせ、
   わずかなスケール（--reveal-scale → 1.00）でそっと定位置へ */
.story__block.js-fade .story__img {
  transform: scale(var(--reveal-scale));
  transition: transform calc(var(--duration-fade) * 1.35) var(--ease-out);
}

.story__block.is-visible .story__img {
  transform: scale(1);
}

.story__photo-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a8b2ba;
}

.story__heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.story__body {
  font-size: 15px;
  color: var(--color-text-soft);
}

@media (max-width: 768px) {
  .story__block,
  .story__block--reverse {
    grid-template-columns: 1fr;
  }
  /* SPでは常に写真→テキストの順 */
  .story__block--reverse .story__photo { order: 0; }
  .story__block--reverse .story__text { order: 1; }
}

/* ------------------------------------------------------------
   9. About：現在の状況 & 注意書きカード
------------------------------------------------------------ */
.about__body {
  max-width: var(--width-narrow);
  margin: 0 auto;
}

.about__text {
  font-size: 15px;
  color: var(--color-text-soft);
}

.about__text + .about__text {
  margin-top: 24px;
}

/* 注意書きカード：淡い生成り×金茶の枠で品位を保ちつつ目立たせる */
.notice {
  max-width: var(--width-narrow);
  margin: 56px auto 0;
  background: var(--color-notice-bg);
  border: 1px solid var(--color-notice-border);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 44px);
}

.notice__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a6d2f;
  margin-bottom: 20px;
}

.notice__icon {
  flex-shrink: 0;
}

.notice__list {
  display: grid;
  gap: 12px;
}

.notice__item {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.9;
}

/* リストマーカー（装飾は最小限のドット） */
.notice__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-notice-border);
}

.notice__item strong {
  font-weight: 600;
}

.notice__footnote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 192, 138, 0.4);
  font-size: 12.5px;
  color: var(--color-text-soft);
}

/* ------------------------------------------------------------
   10. Purpose：私たちが目指すこと
------------------------------------------------------------ */
.purpose__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.purpose__item {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.purpose__item:hover {
  box-shadow: 0 20px 48px rgba(29, 29, 31, 0.07);
  transform: translateY(-4px);
}

.purpose__number {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.purpose__heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.purpose__body {
  font-size: 14px;
  color: var(--color-text-soft);
}

@media (max-width: 768px) {
  .purpose__list {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   11. Signature：署名CTA
------------------------------------------------------------ */
/* 重いメッセージのセクションは呼吸を深く（余白の緩急） */
.signature {
  padding: calc(var(--space-section) * 1.12) 0;
}

.signature__inner {
  text-align: center;
}

.signature__action {
  margin-top: 8px;
}

.signature__note {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------
   11.5 操作手順（How to Sign）
   署名方法が分からない方向けのガイド。元の手順書（Word）の
   「ピンク背景で目立たせる」意図を踏襲しつつ、サイトの品位に合わせて整理
------------------------------------------------------------ */
.howto {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-howto-bg) clamp(48px, 7vw, 96px),
    var(--color-howto-bg) calc(100% - clamp(48px, 7vw, 96px)),
    var(--color-bg) 100%
  );
}

.section__eyebrow--howto {
  color: #b64d92;
}

.howto__steps {
  display: grid;
  gap: 8px;
}

/* 手順カード（白） */
.howto__step {
  background: var(--color-bg);
  border-radius: 16px;
  padding: clamp(22px, 3.5vw, 32px);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.05);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* STEP3はバナー＋本文の縦構成 */
.howto__step--final {
  flex-direction: column;
}

.howto__step-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.howto__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #b64d92;
  line-height: 1.4;
}

.howto__body {
  font-size: 14.5px;
  color: var(--color-text);
}

.howto__body p + p {
  margin-top: 12px;
}

.howto__sub {
  color: var(--color-text-soft);
  font-size: 13.5px;
}

/* 赤の注意書き（原文の赤字を踏襲） */
.howto__caution {
  color: var(--color-emphasis);
  font-size: 13.5px;
}

/* ステップ間の矢印 */
.howto__arrow {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #b64d92;
  padding: 4px 0;
}

/* 「ここからが重要です」バナー（原文の緑ハイライトを踏襲） */
.howto__important {
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #e2f4cd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

/* 緑・黄のマーカー */
.howto__mark-green {
  background: #e2f4cd;
  padding: 1px 6px;
  border-radius: 4px;
  color: inherit;
}

.howto__mark-yellow {
  background: #fff3a0;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--color-emphasis);
}

/* メール内ボタンの引用（黄色帯） */
.howto__quote {
  background: #fff3a0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

/* 青・赤の強調（原文準拠） */
.howto__strong-blue {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.howto__strong-red {
  color: var(--color-emphasis);
}

/* 無料の安心表記 */
.howto__free {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #b64d92;
}

.howto__cta {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .howto__step,
  .howto__step-inner {
    flex-direction: column;
    gap: 8px;
  }
}

/* 操作手順への誘導リンク（署名ボタンの近くに配置） */
.howto-link {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-text-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.howto-link:hover {
  color: var(--color-text);
}

.howto-link--light {
  color: rgba(255, 255, 255, 0.75);
}

.howto-link--light:hover {
  color: #fff;
}

/* Hero用：目立たせる赤文字バージョン */
.howto-link--em {
  color: var(--color-emphasis);
  font-weight: 700;
  font-size: 14px;
}

.howto-link--em:hover {
  color: #9c2323;
}

.signature__howto {
  margin-top: 4px;
}

/* ------------------------------------------------------------
   12. Timeline：これまでの経過
------------------------------------------------------------ */
.timeline__list {
  position: relative;
  padding-left: 28px;
}

/* 縦のライン：進入時に上から静かに描画される（JSが .is-drawn を付与） */
.timeline__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--color-line);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease-out) 0.15s;
}

.timeline__list.is-drawn::before {
  transform: scaleY(1);
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* ドット */
.timeline__item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
}

.timeline__date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.timeline__heading {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.timeline__body {
  font-size: 14px;
  color: var(--color-text-soft);
}

.timeline__disclaimer {
  margin-top: 48px;
  font-size: 12.5px;
  color: var(--color-text-soft);
  text-align: center;
}

/* ------------------------------------------------------------
   13. 下層ページ共通コンポーネント（SEO/LLMO対応の多ページ化用）
------------------------------------------------------------ */
/* パンくずリスト */
.breadcrumb {
  padding: 84px 0 0;
}

.breadcrumb__list {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-soft);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin-right: 6px;
  color: var(--color-line);
}

.breadcrumb__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__link:hover {
  color: var(--color-text);
}

/* 下層ページのタイトル部 */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  text-align: center;
}

.page-hero__inner {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  font-feature-settings: "palt" 1;
}

.page-hero__lead {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--color-text-soft);
}

/* 記事本文 */
.article {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: 0 24px clamp(64px, 9vw, 110px);
}

.article h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin: clamp(48px, 7vw, 72px) 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.article h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 36px 0 12px;
}

.article p {
  font-size: 15px;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}

.article ul,
.article ol {
  margin: 0 0 20px;
  padding-left: 4px;
  display: grid;
  gap: 8px;
}

.article li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--color-text-soft);
  line-height: 1.9;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.article ol {
  counter-reset: article-ol;
}

.article ol li {
  counter-increment: article-ol;
  padding-left: 26px;
}

.article ol li::before {
  content: counter(article-ol) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--color-accent);
}

/* 比較表など */
.article .table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
}

.article table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.8;
}

.article th,
.article td {
  border: 1px solid var(--color-line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.article th {
  background: var(--color-bg-tint);
  font-weight: 600;
  white-space: nowrap;
}

/* ■結論／■ポイント の強調ボックス（LLM引用対策） */
.box {
  border-radius: 14px;
  padding: 22px 26px;
  margin: 0 0 24px;
  font-size: 14.5px;
}

.box__label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.box--conclusion {
  background: var(--color-bg-tint);
  border: 1px solid var(--color-line);
}

.box--conclusion .box__label {
  color: var(--color-accent);
}

.box--point {
  background: #f2f7fa;
  border: 1px solid #d8e6ee;
}

.box--point .box__label {
  color: var(--color-accent);
}

.box p:last-child,
.box ul:last-child {
  margin-bottom: 0;
}

/* 記事末尾の署名CTA帯 */
.cta-band {
  background: var(--color-bg-dark);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  color: #fff;
  margin: clamp(48px, 7vw, 72px) 0 0;
}

.cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.cta-band__text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 24px;
}

/* SNSシェア */
.share {
  margin-top: 40px;
  text-align: center;
}

.share__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.share__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.share__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  padding: 8px 20px;
  transition: background 0.3s, color 0.3s;
}

.share__link:hover {
  background: var(--color-accent);
  color: #fff;
}

/* .article 内のリストスタイルを打ち消す */
.share__list .share__item {
  padding-left: 0;
}

.share__list .share__item::before {
  content: none;
}

/* 関連ページカード（内部リンク・回遊率向上） */
.related {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 24px;
}

.related__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 36px;
}

.related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related__item {
  display: block;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 22px 24px;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.related__item:hover {
  box-shadow: 0 14px 32px rgba(29, 29, 31, 0.07);
  transform: translateY(-3px);
}

.related__heading {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.related__desc {
  font-size: 12.5px;
  color: var(--color-text-soft);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .related__list {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   13.5 FAQ（アコーディオン）
------------------------------------------------------------ */
.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  background: var(--color-bg-tint);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--color-text-soft);
}

.faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   14. 免責事項
------------------------------------------------------------ */
.disclaimer__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 40px;
}

.disclaimer__body p {
  font-size: 13.5px;
  color: var(--color-text-soft);
}

.disclaimer__body p + p {
  margin-top: 18px;
}

/* ------------------------------------------------------------
   15. フッター
------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--color-line);
  padding: 72px 0 48px;
  text-align: center;
}

.footer__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 24px;
}

/* 呼びかけスローガン */
.footer__slogan {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer__tagline {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-soft);
  letter-spacing: 0.1em;
}

.footer__nav {
  margin-top: 36px;
}

.footer__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer__link {
  font-size: 13px;
  color: var(--color-text-soft);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--color-text-soft);
}

.footer__copyright {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-soft);
}
