/* ============================================================
   NewsWorld — メインスタイルシート
   ファイル: assets/css/main.css
   最終更新: 2026-04-29
   設計方針:
     - モバイルファースト
     - ダークモード対応（prefers-color-scheme + 手動トグル）
     - CDN依存ゼロ、変数駆動
     - 17px+ フォント、見やすいライン高
     - 白基調 × ゴールド × ネイビー（LP統一）
   ============================================================ */

/* ---------- フォント（同梱予定） ---------- */
/* assets/fonts/README.md の手順で .woff2 を取得して配置 */
@font-face {
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP"),
       url("../fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP Bold"),
       url("../fonts/NotoSansJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP Black"),
       url("../fonts/NotoSansJP-Black.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif JP";
  src: local("Noto Serif JP"),
       url("../fonts/NotoSerifJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif JP";
  src: local("Noto Serif JP Bold"),
       url("../fonts/NotoSerifJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- カラーシステム ---------- */
:root {
  /* ライト基準（白基調＋ネイビー＋ゴールド） */
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #fbf9f3;       /* ほのかな金色がかった背景 */
  --text: #0e1726;
  --text-muted: #4b566b;
  --text-subtle: #7d889c;
  --border: #e4e7ee;
  --border-strong: #b9c1d1;

  /* ブランドカラー */
  --brand: #0a1628;          /* ディープネイビー */
  --brand-2: #15294a;
  --brand-soft: #1e3a6b;
  --gold: #d4af37;           /* メインゴールド（クラシック金） */
  --gold-2: #c8983a;
  --gold-light: #e5c976;
  --gold-deep: #a07b1f;
  --accent: #3a7cf2;
  --danger: #e54848;
  --success: #2da872;

  /* タイポ */
  --ff-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --fs-base: 17px;
  --lh-base: 1.85;

  /* レイアウト */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 64px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.05);
  --shadow: 0 8px 28px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.14);
  --shadow-gold: 0 14px 34px rgba(212, 175, 55, 0.32);

  /* イージング */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 自動ダークモード */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060b15;
    --bg-elev: #0d1727;
    --bg-soft: #111e35;
    --bg-tint: #161e2f;
    --text: #eef2fa;
    --text-muted: #b6c2d6;
    --text-subtle: #8696b0;
    --border: #1d2c47;
    --border-strong: #2c4068;
    --brand-2: #1c3563;
    --brand-soft: #2a4f96;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow: 0 8px 28px rgba(0,0,0,0.45);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.55);
  }
}
/* 手動ダーク */
:root[data-theme="dark"] {
  --bg: #060b15;
  --bg-elev: #0d1727;
  --bg-soft: #111e35;
  --bg-tint: #161e2f;
  --text: #eef2fa;
  --text-muted: #b6c2d6;
  --text-subtle: #8696b0;
  --border: #1d2c47;
  --border-strong: #2c4068;
  --brand-2: #1c3563;
  --brand-soft: #2a4f96;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow: 0 8px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.55);
}

/* ---------- ベース ---------- */
html { font-size: var(--fs-base); }
body {
  font-family: var(--ff-sans);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection { background: var(--gold); color: var(--brand); }

main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 32px; }
}

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

/* ---------- 共通テキスト ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4.5vw + 0.5rem, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 18px;
  color: var(--text);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.95;
}
.text-center { text-align: center; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-soft), var(--accent));
  color: #fff;
  box-shadow: 0 10px 26px rgba(58, 124, 242, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(58, 124, 242, 0.55); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 18px 40px rgba(212, 175, 55, 0.55); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-soft); border-color: var(--gold); color: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-ghost:hover { color: var(--accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: var(--gold);
  font-family: var(--ff-serif);
  font-size: 22px; font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.25);
}
.brand-name {
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--text), var(--brand-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s var(--ease);
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.is-active { color: var(--gold-deep); }
.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.nav-search {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 200px;
  transition: border-color .2s var(--ease), width .25s var(--ease);
}
.nav-search:focus-within { border-color: var(--gold); width: 260px; }
.nav-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  min-width: 0;
}
.nav-search button {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-subtle);
}
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206 !important;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(212, 175, 55, 0.5); }

.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover { background: var(--gold); color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun,
:root:not([data-theme="light"]) .theme-toggle .icon-sun { }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .nav-actions { display: flex; }
}
@media (min-width: 1024px) {
  .nav-search { display: flex; }
}

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-soft);
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
@media (min-width: 880px) { .nav-toggle { display: none; } }

/* モバイルナビ展開 */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  z-index: 99;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .mobile-nav-search {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.mobile-nav .mobile-nav-search input {
  flex: 1; background: transparent; border: none; outline: none;
}
.mobile-nav-list {
  display: flex; flex-direction: column;
  gap: 4px;
}
.mobile-nav-list a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mobile-nav-list a:hover { background: var(--bg-soft); color: var(--gold-deep); }
.mobile-nav-list a.is-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  margin-top: 14px;
  text-align: center;
}
.mobile-nav-section-title {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 16px 12px 6px;
  text-transform: uppercase;
}

/* ---------- パンくず ---------- */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb li::after {
  content: '›';
  margin-left: 6px;
  color: var(--text-subtle);
  opacity: 0.6;
}
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a {
  color: var(--text-muted);
  transition: color .2s var(--ease);
}
.breadcrumb a:hover { color: var(--gold-deep); text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 戻る上部 ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
  z-index: 80;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--brand); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- ヒーロー（トップ専用） ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 60%, var(--brand) 100%);
  color: #f5f7fb;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift {
  from { transform: translate(0, 0); }
  to { transform: translate(56px, 56px); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orbFloat 18s var(--ease) infinite alternate;
}
.hero-orb-1 { width: 360px; height: 360px; background: #3a7cf2; top: -80px; left: -80px; }
.hero-orb-2 { width: 480px; height: 480px; background: var(--gold); bottom: -160px; right: -120px; animation-duration: 22s; animation-delay: -4s; opacity: 0.35; }
.hero-orb-3 { width: 280px; height: 280px; background: #6c4bff; top: 40%; right: 20%; animation-duration: 26s; animation-delay: -8s; opacity: 0.25; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.1); }
}

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: rgba(245, 247, 251, 0.8);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 7vw + 0.6rem, 4.4rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 2vw + 0.3rem, 1.18rem);
  color: rgba(245, 247, 251, 0.88);
  margin: 0 auto 32px;
  max-width: 720px;
  line-height: 1.85;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  color: rgba(245, 247, 251, 0.9);
}
.hero-meta-item strong { color: var(--gold); font-size: 1.06rem; }
.hero-meta-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }
.section-bg-soft { background: var(--bg-soft); }
.section-bg-tint { background: var(--bg-tint); }
.section-bg-brand { background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: #f5f7fb; }
.section-bg-brand .section-title,
.section-bg-brand h2 { color: #fff; }
.section-bg-brand .section-eyebrow { color: var(--gold); }
.section-bg-brand .section-lead { color: rgba(245, 247, 251, 0.85); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .section-eyebrow { display: block; }

/* ---------- ニュースカードグリッド ---------- */
.news-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.news-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .news-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.news-card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  position: relative;
  overflow: hidden;
}
.news-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 50%);
}
.news-card-thumb-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.55);
}
.news-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-subtle);
}
.news-card-cat {
  display: inline-block;
  padding: 3px 10px;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold-deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  color: var(--text);
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--gold-deep); }
.news-card-excerpt {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-source {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-subtle);
  padding-top: 8px;
}

/* feature card (大型カード) */
.news-card-feature {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .news-card-feature {
    flex-direction: row;
    grid-column: span 2;
  }
  .news-card-feature .news-card-thumb { aspect-ratio: auto; min-width: 50%; }
  .news-card-feature .news-card-body { padding: 32px; }
  .news-card-feature .news-card-title { font-size: 1.4rem; }
}

/* ---------- カテゴリタイル ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.cat-tile-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 18%, transparent), color-mix(in srgb, var(--gold) 6%, transparent));
  color: var(--gold-deep);
  font-size: 1.5rem;
}
.cat-tile-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}
.cat-tile-en {
  font-size: 0.7rem;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- フィルタータブ ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.filter-tab:hover { color: var(--text); }
.filter-tab.is-active {
  background: var(--bg-elev);
  color: var(--gold-deep);
  box-shadow: var(--shadow-sm);
}

/* ---------- ページネーション ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  transition: all .2s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination .is-current {
  background: var(--brand);
  color: var(--gold);
  border-color: var(--brand);
}
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 60px 0 32px;
  background: var(--brand);
  color: rgba(245, 247, 251, 0.78);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.2fr 2fr; gap: 50px; }
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name {
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-tagline {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(245, 247, 251, 0.65);
  line-height: 1.7;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-nav-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: 0.92rem;
  color: rgba(245, 247, 251, 0.78);
  transition: color .2s var(--ease);
}
.footer-nav-col a:hover { color: var(--gold); }
.footer-social { flex-direction: row !important; gap: 14px !important; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(245, 247, 251, 0.78);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--brand); }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(245, 247, 251, 0.55);
  line-height: 1.7;
}
.footer-disclaimer { font-size: 0.78rem; }

/* ---------- 汎用ページ ---------- */
.page-section { padding: 24px 0 80px; }
.page-hero {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw + 0.5rem, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 720px;
}

.page-content {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 22px;
}
@media (min-width: 768px) { .page-content { padding: 56px 48px; } }
.page-content h2 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  margin: 36px 0 14px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  font-weight: 700;
  color: var(--gold-deep);
}
.page-content p, .page-content li {
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 12px;
}
.page-content ul, .page-content ol { padding-left: 1.4em; margin-bottom: 14px; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--gold-deep); }
.page-content table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.page-content th, .page-content td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.page-content th { background: var(--bg-soft); font-weight: 700; }
.page-content tr:last-child td { border-bottom: none; }
.placeholder-box {
  margin: 16px 0;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.callout {
  margin: 24px 0;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}
.callout-warn {
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  border-left-color: var(--danger);
}

/* ---------- フォーム ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.form-row label .required {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: var(--danger);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.form-row label .optional {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}
.form-row textarea { resize: vertical; min-height: 160px; }
.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.form-error {
  display: none;
  font-size: 0.85rem;
  color: var(--danger);
  margin-top: 4px;
}
.form-row.has-error .form-error { display: block; }
.form-help { font-size: 0.85rem; color: var(--text-subtle); }
.form-counter { font-size: 0.82rem; color: var(--text-subtle); text-align: right; margin-top: 4px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.form-checkbox input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 600px) { .form-actions { flex-direction: row; align-items: center; } }
.form-actions .form-note {
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.7;
}

/* ---------- プラン（埋め込み版） ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
}
.plan-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan-card-recommended {
  background: linear-gradient(165deg, var(--brand), var(--brand-2));
  color: #f7f9fc;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
@media (min-width: 900px) {
  .plan-card-recommended { transform: scale(1.04); }
  .plan-card-recommended:hover { transform: scale(1.04) translateY(-5px); }
}
.plan-recommended-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.15em;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}
.plan-header { margin-bottom: 22px; }
.plan-name {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-tag { font-size: 0.92rem; color: var(--text-subtle); }
.plan-card-recommended .plan-tag { color: rgba(247, 249, 252, 0.7); }
.plan-card-premium { border: 2px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.plan-card-premium .plan-name {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.plan-card-recommended .plan-price { border-bottom-color: rgba(255,255,255,0.18); }
.plan-card-premium .plan-price { border-bottom-color: color-mix(in srgb, var(--gold) 25%, transparent); }
.plan-price-yen { font-size: 1.4rem; font-weight: 700; }
.plan-price-num {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 6vw + 0.5rem, 3.4rem);
  font-weight: 700;
  line-height: 1;
}
.plan-price-unit { font-size: 0.92rem; color: var(--text-subtle); margin-left: 6px; }
.plan-card-recommended .plan-price-unit { color: rgba(247, 249, 252, 0.75); }
.plan-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  background: color-mix(in srgb, var(--success) 18%, transparent);
  border-radius: 50%;
}
.plan-features li::after {
  content: '';
  position: absolute;
  left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
.plan-card-recommended .plan-features li::before { background: rgba(212, 175, 55, 0.22); }
.plan-card-recommended .plan-features li::after { border-color: var(--gold); }
.plan-cta { width: 100%; }
.plan-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}
.plan-card-recommended .plan-note { color: rgba(247, 249, 252, 0.7); }
.plan-disclaimer {
  margin-top: 36px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.85;
}
.plan-disclaimer a { color: var(--accent); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-item summary {
  padding: 20px 56px 20px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.5;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-body {
  padding: 0 22px 22px;
  color: var(--text-muted);
  line-height: 1.95;
}
.faq-body a { color: var(--accent); text-decoration: underline; }

/* ---------- ニュースレター ---------- */
.newsletter-card {
  padding: 48px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand), var(--brand-2));
  color: #f5f7fb;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.newsletter-card .section-eyebrow { color: var(--gold); }
.newsletter-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 4vw + 0.4rem, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.newsletter-lead {
  color: rgba(245, 247, 251, 0.85);
  margin-bottom: 28px;
  position: relative;
}
.newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .newsletter-form { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .newsletter-form input { flex: 1 1 220px; min-width: 0; align-self: stretch; }
  .newsletter-form .btn { flex: 0 0 auto; align-self: stretch; }
  .newsletter-form .newsletter-message,
  .newsletter-form .newsletter-privacy { flex: 0 0 100%; text-align: center; }
}
.newsletter-form input[type="email"] {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(245, 247, 251, 0.55); }
.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
}
.newsletter-message {
  width: 100%;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 1.4em;
}
.newsletter-privacy {
  width: 100%;
  font-size: 0.82rem;
  color: rgba(245, 247, 251, 0.65);
  margin-top: 4px;
}
.newsletter-privacy a { color: var(--gold); text-decoration: underline; }

/* ---------- 創業者・チーム ---------- */
.founder-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .founder-inner { grid-template-columns: 280px 1fr; gap: 60px; }
}
.founder-photo { display: flex; justify-content: center; }
.founder-photo-placeholder {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold));
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem; line-height: 1.6;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.founder-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
}
.founder-body p { margin-bottom: 16px; }
.founder-body strong { color: var(--gold-deep); font-weight: 700; }
.founder-sign {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.95rem !important;
  color: var(--text-muted);
}
.founder-sign-name {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.15em;
}

/* ---------- 数値カード ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.stat-card {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.section-bg-brand .stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-value {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw + 0.4rem, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.section-bg-brand .stat-label { color: rgba(245, 247, 251, 0.85); }

/* ---------- メッセージカード（Feature card） ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.feature-card {
  position: relative;
  padding: 32px 26px;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  border-radius: 14px;
}
.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.45;
}
.feature-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ---------- 検索結果 ---------- */
.search-result {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.search-result:last-child { border-bottom: none; }
.search-result a { color: var(--text); font-weight: 700; }
.search-result a:hover { color: var(--gold-deep); }
.search-result .meta { font-size: 0.82rem; color: var(--text-subtle); margin-top: 4px; }
.search-empty { padding: 40px 0; text-align: center; color: var(--text-subtle); }

/* ---------- reveal アニメ ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid, .hero-orb { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- thanks / 404 ---------- */
.center-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.center-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 16%, transparent);
  color: var(--success);
}
.center-icon-warn {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--gold-deep);
}
.center-card h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4vw + 0.4rem, 2rem);
  margin-bottom: 12px;
}
.center-card p { color: var(--text-muted); line-height: 1.95; margin-bottom: 12px; }
.center-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- ユーティリティ ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 32px !important; }
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-gold { color: var(--gold-deep); }

/* ============================================================
   ============= INDEX.HTML 強化スタイル =====================
   ============================================================ */

/* ---------- スクロール進捗バー ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  animation: progressShimmer 3s linear infinite;
}
@keyframes progressShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- 言語切替 ---------- */
.lang-switch {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.lang-switch button {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-switch button.is-active { background: var(--brand); color: var(--gold); }
.lang-switch button:hover { color: var(--text); }
@media (min-width: 1100px) { .lang-switch { display: inline-flex; } }

/* ---------- 強化ヒーロー ---------- */
.hero-enhanced {
  position: relative;
  padding: 100px 0 120px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-world {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}
.hero-world svg {
  width: 90vmin;
  height: 90vmin;
  max-width: 1100px;
  max-height: 1100px;
  animation: worldRotate 120s linear infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
}
@keyframes worldRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-stars span {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(212, 175, 55, 0.4);
  animation: starFloat var(--dur, 12s) ease-in-out infinite;
  opacity: 0;
}
@keyframes starFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.8); }
  20% { opacity: 0.9; }
  50% { opacity: 1; transform: translateY(-30px) scale(1.2); }
  80% { opacity: 0.6; }
}

.hero-headlines {
  position: absolute;
  bottom: 16%;
  left: 0; right: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.hero-headlines-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: headlinesScroll 50s linear infinite;
  font-family: var(--ff-serif);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #fff;
}
.hero-headlines-track span { padding: 0 4px; }
.hero-headlines-track span::before {
  content: '◆';
  margin-right: 12px;
  color: var(--gold);
  font-size: 0.7em;
  vertical-align: middle;
}
@keyframes headlinesScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 247, 251, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  z-index: 3;
}
.hero-scroll-indicator-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  background-size: 100% 200%;
  animation: scrollPulse 2.5s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

/* ---------- ライブティッカー ---------- */
.ticker-section {
  background: var(--brand);
  color: #f5f7fb;
  padding: 14px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}
.ticker-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: liveBlink 1.4s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.3; }
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track-live {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: tickerLive 40s linear infinite;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.95);
}
.ticker-track-live a { color: inherit; }
.ticker-track-live a:hover { color: var(--gold); text-decoration: underline; }
.ticker-track-live span.tk-cat {
  display: inline-block;
  padding: 1px 8px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 8px;
  letter-spacing: 0.1em;
}
@keyframes tickerLive {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-section:hover .ticker-track-live { animation-play-state: paused; }

/* ---------- セクション境界（ゴールドライン） ---------- */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  max-width: 720px;
  opacity: 0.4;
}

/* ---------- 強化数字セクション ---------- */
.stats-enhanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .stats-enhanced { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-enhanced { grid-template-columns: repeat(6, 1fr); } }
.stat-card-enhanced {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.stat-card-enhanced:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.stat-card-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%);
  pointer-events: none;
}
.stat-value-enhanced {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw + 0.4rem, 3rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  position: relative;
}
.stat-value-enhanced .stat-suffix {
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
  -webkit-text-fill-color: var(--gold);
}
.stat-label-enhanced {
  font-size: 0.88rem;
  color: rgba(245, 247, 251, 0.85);
  line-height: 1.6;
  position: relative;
}

/* ---------- ピックアップ（大1＋小3） ---------- */
.pickup-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .pickup-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  .pickup-main {
    grid-column: 1;
    grid-row: 1 / 4;
  }
  .pickup-sub {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: stretch;
  }
}
.pickup-main {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pickup-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.pickup-main-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  position: relative;
  overflow: hidden;
}
.pickup-main-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 60%);
}
.pickup-main-thumb-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  color: rgba(255,255,255,0.6);
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.3));
}
.pickup-main-body {
  padding: 28px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pickup-main-body .news-card-title { font-size: 1.5rem; line-height: 1.5; }
@media (min-width: 768px) {
  .pickup-main-body { padding: 36px 36px 40px; }
  .pickup-main-body .news-card-title { font-size: 1.8rem; }
}
.pickup-sub {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.pickup-sub:hover { border-color: var(--gold); transform: translateY(-3px); }
.pickup-sub-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.7);
}
.pickup-sub-body { flex: 1; min-width: 0; }
.pickup-sub-meta {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.pickup-sub-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- カテゴリグリッド強化（説明付き） ---------- */
.cat-grid-rich {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .cat-grid-rich { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid-rich { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.cat-tile-rich {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-tile-rich:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.cat-tile-rich-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--gold) 8%, transparent));
  color: var(--gold-deep);
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cat-tile-rich-body { flex: 1; min-width: 0; }
.cat-tile-rich-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.cat-tile-rich-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 推薦コメント ---------- */
.testimonials {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.testimonial {
  position: relative;
  padding: 32px 26px 26px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.testimonial::before {
  content: '"';
  position: absolute;
  top: 4px; left: 18px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--gold) 28%, transparent);
  font-weight: 700;
}
.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  padding-top: 18px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-attr { font-size: 0.85rem; line-height: 1.4; }
.testimonial-attr strong { display: block; color: var(--text); font-weight: 700; }
.testimonial-attr span { color: var(--text-subtle); font-size: 0.78rem; }
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ---------- メディア掲載 ---------- */
.media-mentions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.media-badge:hover { opacity: 1; transform: translateY(-2px); }
.media-note {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-top: 16px;
}

/* ---------- 信頼バッジ ---------- */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .trust-badges { grid-template-columns: repeat(3, 1fr); } }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-badge-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
  flex-shrink: 0;
}
.trust-badge-text { font-size: 0.92rem; }
.trust-badge-text strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.trust-badge-text span { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- FAQ プレビュー ---------- */
.faq-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* ---------- 大型 CTA ---------- */
.big-cta {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1206;
  text-align: center;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.08), transparent 40%);
  pointer-events: none;
}
.big-cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.big-cta h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw + 0.5rem, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1206;
  letter-spacing: 0.04em;
}
.big-cta p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  color: rgba(26, 18, 6, 0.85);
  line-height: 1.85;
}
.big-cta .btn-primary {
  background: #1a1206;
  color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.big-cta .btn-primary:hover { background: #000; box-shadow: 0 18px 36px rgba(0,0,0,0.35); }
.big-cta .btn-ghost { color: #1a1206; }

/* ---------- フッター強化（信頼バッジ付き） ---------- */
.footer-trust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer-trust { grid-template-columns: repeat(3, 1fr); } }
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(245, 247, 251, 0.7);
}
.footer-trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ---------- ハンバーガーアニメ ---------- */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- セクション head 強化 ---------- */
.section-head .section-title {
  background: linear-gradient(135deg, var(--text), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}
.section-head .section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---------- Reveal アニメ強化（slide-in） ---------- */
.reveal-left { transform: translateX(-30px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-zoom { transform: scale(0.92); }
.reveal-zoom.is-visible { transform: scale(1); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { opacity: 1; transform: translateY(0); transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .hero-world svg, .hero-stars span, .hero-headlines-track,
  .ticker-track-live, .scroll-progress { animation: none !important; }
  .stat-value-enhanced { background: var(--gold) !important; -webkit-background-clip: initial !important; color: var(--gold) !important; }
}

/* ---------- フォーカスリング統一 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .site-footer, .back-to-top, .mobile-nav,
  .scroll-progress, .ticker-section, .big-cta { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
