/* ============================================================
   学科スキル by ドローンノート — LP (/drone-exam)
   デザイントークンは本アプリ実装値（lp-requirements.md §4）を移植。
   common.css の後に読み込む前提（body/コンテナ等を上書き）。
   ============================================================ */

/* ---------- デザイントークン（§4 実値） ---------- */
:root {
  /* color */
  --bg: #F3EFE8;
  --card: #FFFFFF;
  --card-subtle: #F8F6F2;
  --success-bg: #EAF6EE;
  --error-bg: #FCEBEE;
  --primary: #102D45;
  --primary-dark: #0A2B42;
  --accent: #A86B45;
  --accent-dark: #8F5736;
  --success: #04A24C;
  --error: #E21C3D;
  --text-primary: #0E151B;
  --text-body: #3F4A55;
  --text-secondary: #6F7478;
  --text-muted: #B7B7B2;
  --de-border: #DDD6CC;

  /* font */
  --font-ja: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-en: 'Prompt', var(--font-ja);

  /* radius */
  --r-btn: 10px;
  --r-btn-sm: 8px;
  --r-card: 12px;
  --r-choice: 10px;
  --r-modal: 16px;
  --r-pill: 22px;

  /* shadow（navy-tinted・濃い黒影は使わない §4.5） */
  --sh-card: 0 2px 8px rgba(16, 45, 69, 0.08);
  --sh-raised: 0 4px 12px rgba(16, 45, 69, 0.10);
  --sh-modal: 0 8px 24px rgba(16, 45, 69, 0.12);
  --sh-header: 0 1px 2px rgba(16, 45, 69, 0.05);

  /* layout */
  --de-max: 1120px;
  --de-edge: 24px;
}

/* ---------- ベース上書き ---------- */
.de-page {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-ja);
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.de-page :is(h1, h2, h3) {
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.de-page strong { font-weight: 700; }

/* 欧文・数値は Prompt（§4.2 塗り分け） */
.de-page .num {
  font-family: var(--font-en);
  font-weight: 600;
  font-feature-settings: 'tnum' 1;
}

/* コンテナ（最大幅 1120 中央寄せ・両端は --bg §6.2） */
.de-container {
  width: 100%;
  max-width: var(--de-max);
  margin-inline: auto;
  padding-inline: var(--de-edge);
}

.de-section {
  padding-block: 56px;
}

.de-section-narrow {
  max-width: 760px;
  margin-inline: auto;
}

/* セクション見出し（§4.2 28〜32 / 600 / 1.25 和文） */
.de-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.de-h2 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.de-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
  margin-top: 16px;
}

.de-center { text-align: center; }
.de-center .de-eyebrow { margin-inline: auto; }

/* ---------- ボタン / バッジ ---------- */
.de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.de-btn--accent {
  background: var(--accent);
  color: #fff;
}
.de-btn--accent:hover { background: var(--accent-dark); }
.de-btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--de-border);
}
.de-btn--ghost:hover { background: var(--card-subtle); }
.de-btn--sm { padding: 9px 16px; font-size: 14px; border-radius: var(--r-btn-sm); }

/* ストアバッジ群 */
.de-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.de-badges img {
  height: 48px;
  width: auto;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.de-badges a:hover img { transform: translateY(-1px); opacity: 0.92; }
.de-badges--center { justify-content: center; }

.de-free-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.de-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 239, 232, 0.82);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--de-border);
  box-shadow: var(--sh-header);
}
.de-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.de-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 17px;
}
.de-logo small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}
.de-nav {
  display: none;
  gap: 28px;
}
.de-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s ease;
}
.de-nav a:hover { color: var(--accent); }
.de-header .de-btn { white-space: nowrap; }

/* ============================================================
   1. ヒーロー
   ============================================================ */
.de-hero {
  position: relative;
  padding-block: 48px 56px;
  overflow: hidden;
}
.de-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.de-hero__appname {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.de-hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.de-hero__sub {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body);
  margin-top: 16px;
}
.de-hero__seo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.de-hero__seo .num { font-weight: 700; }
.de-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.de-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  box-shadow: var(--sh-card);
}
.de-trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.de-hero__cta { margin-top: 28px; }

/* ============================================================
   端末スクリーンショット（ポスターのデバイス部分をクロップ表示）
   素材は 852×1846 の縦長ポスター。焼き込みコピーは隠し、画面を見せる。
   ============================================================ */
.de-shot {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin-inline: auto;
  aspect-ratio: 0.66;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card-subtle);
  box-shadow: var(--sh-raised);
  border: 1px solid var(--de-border);
}
.de-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 下端基準でクロップ＝ポスター上部の焼き込みコピー（H見出しと重複）を切り落とす */
  object-position: center bottom;
  display: block;
}

/* 09 ドローンノート：屋外の世界観を活かして広めに見せる */
.de-shot--scene {
  max-width: 360px;
  aspect-ratio: 0.84;
}
.de-shot--scene img { object-position: center 62%; }

/* 端末まわりの淡い装飾（navy/accent の極薄グロー） */
.de-shot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.de-shot-wrap::before {
  content: '';
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(60% 50% at 50% 45%, rgba(168, 107, 69, 0.14), transparent 70%);
  filter: blur(24px);
  z-index: 0;
}
.de-shot-wrap .de-shot { position: relative; z-index: 1; }

/* ============================================================
   2. ポジショニング（不安→答え 3カード）
   ============================================================ */
.de-pos {
  background: var(--card-subtle);
}
.de-pos__lead {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.de-worry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
.de-worry {
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--sh-card);
}
.de-worry__q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}
.de-worry__q::before {
  content: '「';
}
.de-worry__q::after {
  content: '」';
}
.de-worry__arrow {
  display: block;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
  margin: 10px 0;
}
.de-worry__a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
}
.de-worry__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   3〜6. 機能セクション（zig-zag 2カラム）
   ============================================================ */
.de-feature__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.de-feature__text { align-self: center; }
.de-bullets {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.de-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
}
.de-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid var(--success);
}
.de-bullets li::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 0.62em;
  width: 3px;
  height: 6px;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

/* ============================================================
   7. 出題4分野（SEO中核・カード×4）
   ============================================================ */
.de-fields {
  background: var(--card-subtle);
}
.de-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
.de-field {
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}
.de-field__no {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.de-field__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 10px;
}
.de-field__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============================================================
   8. サンプル問題（SEOエンジン＋転換ブリッジ）
   ============================================================ */
.de-sample__intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 14px;
}

/* クイズ形式（1問ずつ動的表示） */
.de-page [hidden] { display: none !important; }
.de-quiz {
  margin-top: 28px;
  scroll-margin-top: 84px;
}
.de-quiz__progress { margin-bottom: 16px; }
.de-quiz__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.de-quiz__count .de-quiz__cur {
  font-size: 17px;
  color: var(--accent);
}
.de-quiz__bar {
  height: 6px;
  background: var(--de-border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.de-quiz__bar-fill {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--accent);
  border-radius: var(--r-pill);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.de-quiz__nav {
  margin-top: 18px;
  text-align: center;
}
.de-quiz__done {
  text-align: center;
  background: var(--success-bg);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  padding: 36px 24px;
}
.de-quiz__done-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.de-quiz__done-score {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
}
.de-quiz__done-score .num {
  font-size: 24px;
  color: var(--success);
  margin: 0 2px;
}
.de-quiz__done-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.de-quiz__done .de-btn { margin-top: 22px; }

.de-sample__q {
  display: none;
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 24px;
}
.de-sample__q.is-active { display: block; }
/* 次問へ進んだ際のプログラム的フォーカス（枠は出さない） */
.de-sample__q:focus,
.de-quiz__done:focus { outline: none; }
.de-sample__qhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.de-sample__qno {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.de-sample__qfield {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.de-sample__qtext {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-primary);
}
.de-choices {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.de-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--card);
  border: 1.5px solid var(--de-border);
  border-radius: var(--r-choice);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.de-choice:hover { border-color: var(--accent); }
.de-choice__key {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--de-border);
  border-radius: 50%;
}
.de-choice__check {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
/* 解答後（プロトタイプ準拠：正解＝緑／選択した誤答＝赤／未選択＝淡色） */
.de-sample__q.is-answered .de-choice { cursor: default; }
.de-sample__q.is-answered .de-choice:hover { border-color: var(--de-border); }

/* 正解 */
.de-choice.is-correct {
  border-color: var(--success);
  background: var(--success-bg);
}
.de-choice.is-correct .de-choice__key {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.de-choice.is-correct .de-choice__check { opacity: 1; }

/* 選択した誤答 */
.de-choice.is-wrong {
  border-color: var(--error);
  background: var(--error-bg);
}
.de-choice.is-wrong .de-choice__key {
  border-color: var(--error);
  background: var(--error);
  color: #fff;
}
.de-choice.is-wrong .de-choice__check { opacity: 1; }

/* 未選択の選択肢は淡色（正解・選択誤答は除く） */
.de-sample__q.is-answered .de-choice:not(.is-correct):not(.is-wrong) { opacity: 0.5; }

.de-explain {
  margin-top: 16px;
  border-radius: var(--r-choice);
  background: var(--card-subtle);
  border: 1px solid var(--de-border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
}
.de-explain.is-open {
  max-height: 520px;
  opacity: 1;
  padding: 18px;
}
.de-explain__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.de-explain__body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
}
.de-sample__hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
  text-align: center;
}
.de-sample__cta {
  margin-top: 32px;
  text-align: center;
}

/* ============================================================
   9. ドローンノートへ
   ============================================================ */
.de-dn {
  background: linear-gradient(180deg, var(--card-subtle), var(--bg));
}
.de-dn__text { align-self: center; }
.de-dn__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--accent);
}
.de-dn__link:hover { color: var(--accent-dark); }
.de-dn__link::after { content: '→'; font-family: var(--font-en); }

/* ============================================================
   10. FAQ
   ============================================================ */
.de-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.de-faq details {
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.de-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.de-faq summary::-webkit-details-marker { display: none; }
.de-faq summary::before {
  content: 'Q';
  flex: none;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--accent);
}
.de-faq summary::after {
  content: '';
  margin-left: auto;
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.de-faq details[open] summary::after { transform: rotate(-135deg); }
.de-faq__a {
  padding: 0 20px 20px 44px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
}

/* ============================================================
   10.5 お問い合わせ（Formspree）
   ============================================================ */
.de-contact__form {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--de-border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 28px 22px;
}
.de-contact__field { margin-bottom: 18px; }
.de-contact__field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.de-contact__field input,
.de-contact__field textarea {
  width: 100%;
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--card);
  padding: 12px 14px;
  border: 1px solid var(--de-border);
  border-radius: var(--r-btn-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.de-contact__field input::placeholder,
.de-contact__field textarea::placeholder { color: var(--text-muted); }
.de-contact__field input:focus,
.de-contact__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 107, 69, 0.15);
}
.de-contact__field textarea { min-height: 130px; resize: vertical; }
.de-req { color: var(--error); }

.de-contact__actions { margin-top: 4px; }
.de-contact__submit { width: 100%; }
.de-contact__submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.de-contact__error {
  margin-top: 14px;
  color: var(--error);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.de-contact__success {
  margin-top: 24px;
  background: var(--success-bg);
  border: 1px solid rgba(4, 162, 76, 0.25);
  border-radius: var(--r-card);
  padding: 28px 24px;
  text-align: center;
}
.de-contact__success p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.9;
}

@media (min-width: 600px) {
  .de-contact__form { padding: 36px 32px; }
  .de-contact__actions { text-align: center; }
  .de-contact__submit { width: auto; min-width: 220px; }
}

/* ============================================================
   11. 最終CTA（プライマリ帯）
   ============================================================ */
.de-final {
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.de-final h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}
.de-final p { color: rgba(255, 255, 255, 0.82); margin-top: 14px; font-size: 15px; }
.de-final .de-badges { margin-top: 28px; }
.de-final .de-free-note { color: rgba(255, 255, 255, 0.72); }

/* ============================================================
   12. フッター
   ============================================================ */
.de-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 48px 28px;
  font-size: 13px;
}
.de-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.de-footer__brand strong { color: #fff; font-size: 15px; }
.de-footer__brand p { margin-top: 8px; line-height: 1.8; }
.de-footer h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.de-footer ul { display: flex; flex-direction: column; gap: 8px; }
.de-footer a { color: rgba(255, 255, 255, 0.78); }
.de-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.de-footer__source {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}
.de-footer__copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.de-footer__copy .num { font-family: var(--font-en); }

/* ============================================================
   タブレット（600〜1023px）
   ============================================================ */
@media (min-width: 600px) {
  .de-section { padding-block: 72px; }
  .de-hero h1 { font-size: 44px; }
  .de-worry-grid { grid-template-columns: repeat(3, 1fr); }
  .de-field-grid { grid-template-columns: repeat(2, 1fr); }
  .de-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ============================================================
   デスクトップ（1024px〜）
   ============================================================ */
@media (min-width: 1024px) {
  :root { --de-edge: 40px; }

  .de-section { padding-block: 96px; }
  .de-nav { display: flex; }

  .de-h2 { font-size: 31px; }
  .de-hero h1 { font-size: 48px; }

  /* ヒーロー：左右2カラム */
  .de-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .de-hero__text { flex: 6; }
  .de-hero__media { flex: 6; }
  .de-shot { max-width: 320px; }

  /* 機能セクション：左右2カラム＋zig-zag 反転 */
  .de-feature__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .de-feature__text { flex: 5; }
  .de-feature__media { flex: 7; }
  .de-feature--reverse .de-feature__inner { flex-direction: row-reverse; }

  /* 4分野：4カラム */
  .de-field-grid { grid-template-columns: repeat(4, 1fr); }

  /* ドローンノート：左右2カラム（画像左） */
  .de-dn__inner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 64px;
  }
  .de-dn__text { flex: 6; }
  .de-dn__media { flex: 6; }

  .de-footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; }
}

/* 大型（1440〜）：最大幅は据え置き、余白で吸収（§6.2） */

/* ============================================================
   アクセシビリティ：モーション低減
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .de-page *,
  [data-animate] {
    transition: none !important;
    animation: none !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   法務ページ（プライバシーポリシー / 利用規約 共通）
   LP と同じ de- デザイントークンで本文を組む。
   drone-exam-policy.html / drone-exam-terms.html で使用。
   ============================================================ */
.de-legal {
  padding-block: 40px 72px;
}
.de-legal__inner {
  max-width: 760px;
  margin-inline: auto;
}

/* 見出しブロック */
.de-legal__head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--de-border);
}
.de-legal__head h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
}
.de-legal__meta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* リード文 */
.de-legal__intro {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-body);
  margin-top: 28px;
}

/* 本文セクション */
.de-legal__body h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
  margin-top: 44px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.de-legal__body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-body);
  margin-top: 14px;
}
.de-legal__body strong { color: var(--text-primary); font-weight: 700; }

/* リスト（共通） */
.de-legal__body ul,
.de-legal__body ol {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.de-legal__body li {
  position: relative;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
}
/* 箇条書き（・）＝ accent ドット */
.de-legal__body ul > li {
  padding-left: 22px;
}
.de-legal__body ul > li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
/* 番号付き（条文の項）＝ accent 数字 */
.de-legal__body ol {
  counter-reset: de-li;
}
.de-legal__body ol > li {
  counter-increment: de-li;
  padding-left: 32px;
}
.de-legal__body ol > li::before {
  content: counter(de-li) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--accent);
}

/* 本文内リンク（メール等） */
.de-legal__body a:not(.de-btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.de-legal__body a:not(.de-btn):hover { color: var(--accent-dark); }

/* 関連ページ導線 */
.de-legal__related {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--de-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .de-legal { padding-block: 56px 96px; }
  .de-legal__head h1 { font-size: 30px; }
  .de-legal__body h2 { font-size: 20px; }
}
