/* =========================================================
   AI Advisory for Learning and Business  共通スタイル
   ajurk.com と統一感を持たせた配色（濃紺ベース＋ティール）
   ========================================================= */

:root {
  /* 背景 */
  --bg: #0e1621;
  --bg-alt: #122030;
  --card: #152130;
  --card-2: #1b2a3d;
  --line: rgba(255, 255, 255, 0.09);
  /* 文字 */
  --text: #e9f0f7;
  --text-2: #d3dde8;
  --muted: #9aabbe;
  /* アクセント */
  --accent: #3cc2b2;       /* メインボタン（文字は濃紺） */
  --accent-hover: #55d1c2;
  --accent-text: #4cc9b8;  /* 見出し上のラベル・リンク */
  --blue: #2f6fa8;         /* サブボタン（文字は白） */
  --blue-hover: #3a7fbc;
  --ink: #0e1621;
  --warn: #e8b85c;
  /* 形 */
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --max: 1180px;
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 0.6em; font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: clamp(28px, 6.4vw, 44px); }
h2 { font-size: clamp(22px, 4.6vw, 30px); }
h3 { font-size: clamp(18px, 3.6vw, 21px); }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 8px 16px; border-radius: var(--pill);
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 22, 33, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { max-width: 1400px; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; line-height: 1.2; }
.brand:hover { color: var(--text); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand-ai { color: var(--accent-text); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px !important; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: grid; place-items: center; color: var(--ink); font-size: 14px; font-weight: 800;
}
.brand-name { font-size: 17px; }
.brand-sub { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }

.global-nav { margin-left: auto; }
@media (max-width: 1420px) { .global-nav .nav-auth a { text-align: center; margin-top: 8px; } }
.global-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.global-nav a {
  display: block; padding: 8px 12px; border-radius: var(--pill);
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: var(--card); color: var(--text); }
.global-nav .nav-cta a { background: var(--accent); color: var(--ink); margin-left: 6px; }
.global-nav .nav-cta a:hover { background: var(--accent-hover); color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: "";
  transition: transform 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1420px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .global-nav a { padding: 12px 14px; font-size: 16px; }
  .global-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill);
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.4;
  text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: var(--card); color: var(--text); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { background: var(--card-2); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---------- セクション ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--accent-text); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.lead { color: var(--text-2); font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
@media (max-width: 600px) { .section { padding: 56px 0; } }

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(60, 194, 178, 0.18), transparent 65%); pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { max-width: 15em; }
.hero .lead { max-width: 40em; }
.page-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(26px, 5.6vw, 38px); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }

/* 個人／法人の選択 */
.chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.chooser-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.chooser-card .tag { align-self: flex-start; }
.chooser-card h2 { font-size: 22px; margin-top: 12px; }
.chooser-card p { color: var(--text-2); flex: 1; }
.chooser-card .btn-row { margin-top: 8px; }
@media (max-width: 760px) { .chooser { grid-template-columns: 1fr; } .chooser-card { padding: 22px; } }

/* 信頼の帯 */
.trust { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.trust li { font-size: 14px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; color: var(--accent-text); font-weight: 800; }

/* ---------- カード・グリッド ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(60, 194, 178, 0.14);
  color: var(--accent-text); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px;
}
.card-link { text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.card-link:hover { border-color: rgba(60, 194, 178, 0.5); color: inherit; transform: translateY(-2px); }

.tag {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--pill);
  background: rgba(60, 194, 178, 0.14); color: var(--accent-text); letter-spacing: 0.04em;
}
.tag-blue { background: rgba(47, 111, 168, 0.25); color: #9cc6ec; }
.tag-warn { background: rgba(232, 184, 92, 0.16); color: var(--warn); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 1.7em; margin-bottom: 0.5em; color: var(--text-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 800; }
.x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.x-list li { position: relative; padding-left: 1.7em; margin-bottom: 0.5em; color: var(--text-2); }
.x-list li::before { content: "×"; position: absolute; left: 0; color: var(--warn); font-weight: 800; }

/* 3ステップ */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; padding: 24px 24px 24px 76px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 800; display: grid; place-items: center;
}
.steps h3 { font-size: 18px; }
.steps p { margin: 0; color: var(--text-2); }

/* 運営者 */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.profile img { border-radius: var(--radius-sm); width: 100%; }
.profile .role { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
@media (max-width: 680px) { .profile { grid-template-columns: 1fr; padding: 22px; } .profile img { max-width: 180px; } }

/* 区切りテキスト（用語説明） */
.term { border-bottom: 1px dotted var(--muted); cursor: help; }
.note-box {
  background: var(--card-2); border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--text-2); font-size: 15px;
}
.note-box.warn { border-left-color: var(--warn); }
.note-box p:last-child { margin-bottom: 0; }

/* ---------- 料金 ---------- */
.price-toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px; margin-bottom: 24px; }
.price-toggle button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--text-2); background: transparent; border: 0;
  padding: 8px 20px; border-radius: var(--pill); cursor: pointer; min-height: 40px;
}
.price-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.plan { position: relative; }
.plan.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--ink); }
.plan.is-featured { padding-top: 34px; }
.plan-name { font-size: 18px; margin: 8px 0 4px; }
.plan-price { font-size: 32px; font-weight: 800; line-height: 1.3; margin: 4px 0; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.plan ul { font-size: 15px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--card); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
thead th { background: var(--card-2); font-size: 14px; color: var(--text-2); }
tbody th { font-weight: 700; white-space: nowrap; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.td-price { white-space: nowrap; font-weight: 700; }

/* ---------- CTAバンド ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(60, 194, 178, 0.16), rgba(47, 111, 168, 0.22)), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center;
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: var(--text-2); max-width: 36em; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 20px; }
@media (max-width: 600px) { .cta-band { padding: 28px 20px; } }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 40px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 24px; color: var(--accent-text); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- フォーム ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } }
.field { margin-bottom: 20px; }
.field > label, .field > .label, fieldset > legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.req { display: inline-block; margin-left: 6px; font-size: 11px; padding: 1px 8px; border-radius: var(--pill); background: var(--warn); color: var(--ink); vertical-align: 2px; }
.opt { display: inline-block; margin-left: 6px; font-size: 11px; padding: 1px 8px; border-radius: var(--pill); background: var(--card-2); color: var(--muted); vertical-align: 2px; }
.hint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(60, 194, 178, 0.3); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 10px; background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.choice input { margin-top: 5px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- 診断 ---------- */
.quiz-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.quiz-tab {
  font: inherit; text-align: left; background: var(--card); border: 2px solid var(--line); color: var(--text);
  border-radius: var(--radius); padding: 18px 20px; cursor: pointer;
}
.quiz-tab strong { display: block; font-size: 18px; }
.quiz-tab span { font-size: 13px; color: var(--muted); }
.quiz-tab[aria-pressed="true"] { border-color: var(--accent); background: var(--card-2); }
@media (max-width: 520px) { .quiz-tabs { grid-template-columns: 1fr; } }

.quiz { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .quiz { padding: 22px 18px; } }
.progress { height: 8px; background: var(--bg); border-radius: var(--pill); overflow: hidden; margin: 8px 0 24px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--blue)); width: 0; transition: width 0.25s; }
.q-count { font-size: 14px; color: var(--muted); font-weight: 600; }
.q-title { font-size: clamp(19px, 4vw, 23px); margin: 0 0 6px; }
.q-help { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.options { display: grid; gap: 10px; }
.option {
  font: inherit; font-size: 16px; text-align: left; color: var(--text); background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 14px 18px; cursor: pointer; min-height: 52px;
  line-height: 1.5;
}
.option:hover { border-color: rgba(60, 194, 178, 0.6); }
.option[aria-pressed="true"] { border-color: var(--accent); background: rgba(60, 194, 178, 0.12); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz-nav .btn { min-width: 120px; }

.result-level { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 12px; }
.level-meter { display: flex; gap: 6px; }
.level-meter span { width: 40px; height: 10px; border-radius: var(--pill); background: var(--bg); }
.level-meter span.on { background: var(--accent); }
.result-block { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.tool-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tool-list li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.tool-list strong { display: block; font-size: 17px; }
.tool-list p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.next-steps { counter-reset: ns; list-style: none; padding: 0; margin: 0; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 44px; margin-bottom: 14px; color: var(--text-2); }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800;
}

/* ---------- コラム ---------- */
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.article-card img { border-radius: var(--radius-sm); margin-bottom: 16px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-card h3 { font-size: 18px; }
.article-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.article-card.is-soon { opacity: 0.75; }

.article { padding: 40px 0 72px; }
.article header h1 { font-size: clamp(25px, 5.4vw, 36px); }
.article .eyecatch { border-radius: var(--radius); margin: 24px 0; width: 100%; }
.summary-box {
  background: var(--card); border: 1px solid rgba(60, 194, 178, 0.45); border-radius: var(--radius);
  padding: 22px 24px; margin: 24px 0 36px;
}
.summary-box h2 { font-size: 16px; color: var(--accent-text); margin-bottom: 10px; }
.summary-box ol { margin: 0; padding-left: 1.3em; }
.summary-box li { margin-bottom: 4px; font-weight: 600; }
.article-body h2 { margin-top: 2em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article-body h3 { margin-top: 1.6em; }
.article-body p, .article-body li { color: var(--text-2); }
.prompt-box {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 15px; white-space: pre-wrap; color: var(--text); margin: 0 0 1.2em; font-family: var(--font);
}
.toc { background: var(--card); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 32px; }
.toc p { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 48px; }
.author-box img { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; }
.author-box h2 { font-size: 13px; color: var(--muted); margin-bottom: 2px; font-weight: 700; }
.author-box .name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.author-box p { font-size: 15px; color: var(--text-2); margin-bottom: 0; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }

/* ---------- 法務ページ ---------- */
.legal-body h2 { font-size: 20px; margin-top: 2em; }
.legal-body p, .legal-body li { color: var(--text-2); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-note { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; font-size: 13px; line-height: 1.8; }
.footer-note p { margin-bottom: 0.8em; }
.copyright { margin-top: 16px; font-size: 12px; }

/* スマホ下部の固定CTA */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14, 22, 33, 0.96); border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { flex: 1; min-height: 44px; padding: 10px 12px; font-size: 14px; }
  body.has-sticky { padding-bottom: 72px; }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- ログイン・会員 ---------- */
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
@media (max-width: 600px) { .auth-card { padding: 24px 18px; } }
.auth-card h2 { font-size: 22px; }
.sso { display: grid; gap: 10px; margin: 16px 0 8px; }
.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px;
  font: inherit; font-size: 16px; font-weight: 700; color: #1f1f1f; background: #fff;
  border: 1px solid #dadce0; border-radius: var(--pill); cursor: pointer; padding: 10px 20px;
}
.sso-btn:hover { background: #f1f3f4; }
.sso-btn svg { width: 22px; height: 22px; flex: none; }
.sso-line { background: #06c755; color: #fff; border-color: #06c755; }
.sso-line:hover { background: #05b34c; }
.sso-line svg rect { fill: #fff; }
.sso-line svg path { fill: #06c755; }
.form-err { color: var(--warn); font-size: 14px; margin: 4px 0 10px; min-height: 0; }
.form-err:empty { display: none; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0 14px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
input[type="password"] { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.auth-links { text-align: center; margin: 14px 0 0; font-size: 14px; }
.link-btn { font: inherit; font-size: 14px; background: none; border: 0; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.auth-switch { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; text-align: center; }
.auth-switch p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.mp-list { margin: 16px 0 20px; }
.mp-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mp-list dt { color: var(--muted); font-size: 14px; }
.mp-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .mp-list > div { grid-template-columns: 1fr; gap: 2px; } }
.member-lock { background: linear-gradient(180deg, transparent, var(--card) 30%); border: 1px dashed rgba(60, 194, 178, 0.5); border-radius: var(--radius); padding: 28px 24px; text-align: center; margin: 16px 0; }
.member-lock-t { font-weight: 700; }
.member-lock .btn-row { justify-content: center; }
.global-nav .nav-auth a { border: 1px solid rgba(255, 255, 255, 0.28); }
