@charset "utf-8";
/* =============================================================
   dify-article.css
   株式会社ヨクト「Dify超入門」連載 記事用スタイル
   yokuto.co.jp の実CSSから抽出したデザイントークンを踏襲。
   （--yokuto-blue:#003366 / --yokuto-green:#00BFA5 / Noto系 / --eng-mono）
   ============================================================= */

:root {
  /* --- yokuto ブランドトークン（実サイト :root より） --- */
  --yokuto-blue:      #003366;
  --yokuto-blue-dark: #001f3f;
  --yokuto-blue-mid:  #006fa5;
  --yokuto-green:     #00BFA5;
  --yokuto-mint:      #5fffe0;

  --bg:        #ffffff;
  --bg-light:  #f9f9f9;
  --bg-alt:    #f7f6f3;   /* --eng-bg-alt（フッター背景） */
  --bg-blue:   #f4f7f9;
  --bg-teal:   #e0f2f1;

  --text:      #0a0a0a;   /* --eng-text */
  --text-dark: #333333;
  --text-mid:  #555555;
  --text-soft: #666666;

  --line:      #d4d4d4;   /* --eng-line */
  --line-soft: #e8e8e8;   /* --eng-line-soft */

  --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif:'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
  --mono: 'SF Mono', 'JetBrains Mono', 'Roboto Mono', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;

  --maxw: 1100px;
  --readw: 760px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0,31,63,0.08);
  --shadow-sm: 0 2px 10px rgba(0,31,63,0.06);
}

/* ---------- reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dark);
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yokuto-blue-mid); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--yokuto-green); }
code, kbd, samp { font-family: var(--mono); }

/* ===================================================================
   ヘッダー（yokuto: 白背景・高さ90px・logo + nav）
   =================================================================== */
.dfa-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; padding: 0 clamp(15px, 3vw, 40px);
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
}
.dfa-header__logo { display: flex; align-items: center; }
.dfa-header__logo img { width: 200px; height: auto; max-height: 70px; display: block; }

/* ナビ（yokuto実サイト準拠：16px / 700 / letter-spacing 1.1px / Noto Sans JP） */
.dfa-nav { display: flex; align-items: center; }
.dfa-nav__item { position: relative; margin-right: 40px; padding: 0 20px; text-align: center; }
.dfa-nav__item:last-child { margin-right: 0; }
.dfa-nav__top, .dfa-nav__item > a {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 1.1px;
  line-height: 1.6; color: #272727; text-transform: none; cursor: pointer; white-space: nowrap;
}
.dfa-nav__top span, .dfa-nav__item > a span { font-size: 16px; font-weight: 700; letter-spacing: 1.1px; color: #272727; }
.dfa-nav__item > a:hover, .dfa-has-drop:hover .dfa-nav__top,
.dfa-nav__item > a:hover span, .dfa-has-drop:hover .dfa-nav__top span { color: var(--yokuto-blue); }
.dfa-nav__item > a.is-current, .dfa-nav__item > a.is-current span { color: var(--yokuto-green); }

/* ドロップダウン（yokuto実サイト準拠：半透明黒・白文字・上罫線・top40→50pxスライド＋フェード） */
.dfa-drop {
  position: absolute; top: 40px; left: 0; width: auto; min-width: 100%;
  margin: 0; padding: 0; list-style: none; z-index: 60;
  background: rgba(0,0,0,0.314); border-radius: 0; box-shadow: none;
  opacity: 0; visibility: hidden; transition: all .2s ease;
}
.dfa-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dfa-has-drop:hover .dfa-drop, .dfa-has-drop:focus-within .dfa-drop { top: 50px; opacity: 1; visibility: visible; }
.dfa-drop li { margin: 0; border-top: 1px solid rgba(255,255,255,0.5); transition: background .2s ease; }
.dfa-drop a {
  display: block; padding: 10px; text-align: left; white-space: nowrap;
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 1.1px;
  color: #ffffff; text-transform: none;
}
.dfa-drop li:hover { background: rgba(158,158,158,0.314); }
.dfa-drop a:hover { color: #ffffff; }
.dfa-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.dfa-burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--yokuto-blue); transition: .3s; }

/* ===================================================================
   記事レイアウト
   =================================================================== */
.dfa-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px,4vw,40px); }

.dfa-breadcrumb {
  font-family: var(--mono); font-size: .72rem; color: var(--text-soft);
  padding: 18px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.dfa-breadcrumb a { color: var(--text-soft); }
.dfa-breadcrumb a:hover { color: var(--yokuto-green); }
.dfa-breadcrumb .sep { opacity: .5; }

/* --- 記事ヘッダー --- */
.dfa-arthead { padding: 14px 0 30px; border-bottom: 1px solid var(--line-soft); margin-bottom: 36px; }
.dfa-series-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; font-weight: 600;
  color: var(--yokuto-blue); background: var(--bg-teal);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.dfa-series-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yokuto-green); }
.dfa-epno {
  font-family: var(--mono); font-weight: 700; font-size: .9rem; letter-spacing: .14em;
  color: var(--yokuto-green); display: block; margin-bottom: 10px;
}
.dfa-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.4rem); line-height: 1.45; color: var(--text);
  margin: 0 0 14px; letter-spacing: .01em;
}
.dfa-subtitle { font-size: 1.02rem; color: var(--text-mid); margin: 0 0 22px; line-height: 1.8; }
.dfa-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-family: var(--mono); font-size: .74rem; color: var(--text-soft);
}
.dfa-meta .author { color: var(--yokuto-blue); font-weight: 600; }
.dfa-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dfa-tags span {
  font-family: var(--mono); font-size: .68rem; color: var(--text-soft);
  border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px;
}

/* --- 連載ナビ（前/一覧/次） --- */
.dfa-serienav {
  display: flex; justify-content: space-between; align-items: stretch; gap: 12px;
  margin: 40px 0; flex-wrap: wrap;
}
.dfa-serienav a, .dfa-serienav span.disabled {
  flex: 1 1 30%; min-width: 150px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 14px 18px; background: var(--bg-light);
  display: flex; flex-direction: column; gap: 3px;
  font-size: .9rem; transition: .2s;
}
.dfa-serienav a:hover { border-color: var(--yokuto-green); background: #fff; box-shadow: var(--shadow-sm); }
.dfa-serienav .dir { font-family: var(--mono); font-size: .68rem; color: var(--text-soft); }
.dfa-serienav .ttl { color: var(--text-dark); font-weight: 500; }
.dfa-serienav .center { text-align: center; align-items: center; justify-content: center; }
.dfa-serienav span.disabled { opacity: .4; }

/* --- 目次（TOC） --- */
.dfa-toc {
  background: var(--bg-blue); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--yokuto-green); border-radius: var(--radius);
  padding: 22px 26px; margin: 0 0 40px;
}
.dfa-toc__ttl { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--yokuto-blue); font-weight: 700; margin: 0 0 12px; }
.dfa-toc ol { margin: 0; padding-left: 1.3em; }
.dfa-toc li { margin: 7px 0; line-height: 1.6; }
.dfa-toc a { color: var(--text-dark); }
.dfa-toc a:hover { color: var(--yokuto-green); }

/* ===================================================================
   本文タイポグラフィ（読み幅 760px）
   =================================================================== */
.dfa-body { max-width: var(--readw); margin: 0 auto; }
.dfa-body > * { max-width: 100%; }

.dfa-body h2 {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.5;
  color: var(--text); margin: 56px 0 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line-soft); position: relative;
}
.dfa-body h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--yokuto-green); }
.dfa-body h3 {
  font-family: var(--sans); font-weight: 700; font-size: 1.18rem; color: var(--yokuto-blue);
  margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--yokuto-green);
}
.dfa-body p { margin: 0 0 20px; }
.dfa-body strong { color: var(--yokuto-blue); font-weight: 700; }
.dfa-body ul, .dfa-body ol { margin: 0 0 22px; padding-left: 1.5em; }
.dfa-body li { margin: 8px 0; }
.dfa-body a { font-weight: 500; border-bottom: 1px solid rgba(0,111,165,.3); }
.dfa-body a:hover { border-color: var(--yokuto-green); }

/* インラインのUI語・キー */
.dfa-body code:not(pre code) {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  padding: 2px 7px; border-radius: 5px; font-size: .86em; color: var(--yokuto-blue-dark);
}
.dfa-ui { /* 画面UIラベル（例: Create from Blank） */
  font-family: var(--mono); font-size: .86em; background: var(--bg-blue);
  border: 1px solid var(--line-soft); border-radius: 5px; padding: 2px 7px; color: var(--yokuto-blue);
  white-space: nowrap;
}
.dfa-path { font-family: var(--mono); font-size: .86em; color: var(--yokuto-blue-dark); }
.dfa-path .arrow { color: var(--yokuto-green); margin: 0 4px; }

/* 手順リスト（番号付き・操作→結果） */
.dfa-steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.dfa-steps > li {
  counter-increment: step; position: relative;
  padding: 4px 0 18px 50px; margin: 0;
}
.dfa-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yokuto-blue); color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.dfa-steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line-soft);
}

/* スクリーンショット figure */
.dfa-fig { margin: 28px 0; }
.dfa-fig img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); background: var(--bg-light);
}
.dfa-fig figcaption {
  font-family: var(--mono); font-size: .74rem; color: var(--text-soft);
  margin-top: 10px; padding-left: 4px; line-height: 1.6;
}
.dfa-fig figcaption b { color: var(--yokuto-green); font-weight: 700; }
.dfa-fig--ph img { /* プレースホルダ（実キャプチャ差し込み前） */
  aspect-ratio: 16/9; display: flex;
  border-style: dashed; background:
    repeating-linear-gradient(45deg, #f4f7f9, #f4f7f9 12px, #eef3f7 12px, #eef3f7 24px);
}
.dfa-ph-box {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-blue);
  min-height: 220px; display: flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  color: var(--text-soft); font-family: var(--mono); font-size: .8rem;
}
.dfa-ph-box .ic { font-size: 1.6rem; }

/* コールアウト 4種 */
.dfa-callout {
  border-radius: var(--radius); padding: 16px 20px 16px 20px; margin: 26px 0;
  border: 1px solid var(--line-soft); border-left-width: 4px; background: var(--bg-light);
  font-size: .95rem; line-height: 1.85;
}
.dfa-callout__t { font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.dfa-callout p:last-child { margin-bottom: 0; }
.dfa-callout--tip    { border-left-color: var(--yokuto-green); background: #e8f8f4; }
.dfa-callout--tip .dfa-callout__t { color: #00876f; }
.dfa-callout--warn   { border-left-color: #e8a33d; background: #fdf6e9; }
.dfa-callout--warn .dfa-callout__t { color: #b9791a; }
.dfa-callout--credit { border-left-color: var(--yokuto-blue-mid); background: #eaf3f8; }
.dfa-callout--credit .dfa-callout__t { color: var(--yokuto-blue-mid); }
.dfa-callout--doc    { border-left-color: var(--yokuto-blue); background: var(--bg-blue); }
.dfa-callout--doc .dfa-callout__t { color: var(--yokuto-blue); }
.dfa-callout--doc a { word-break: break-all; }

/* 表（Sandbox上限など） */
.dfa-table-wrap { overflow-x: auto; margin: 26px 0; }
.dfa-body table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.dfa-body th, .dfa-body td { border: 1px solid var(--line-soft); padding: 10px 14px; text-align: left; }
.dfa-body thead th { background: var(--yokuto-blue); color: #fff; font-weight: 600; }
.dfa-body tbody tr:nth-child(even) { background: var(--bg-light); }

/* コピー可能ボックス（プロンプト例など） */
.dfa-copybox { margin: 24px 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dfa-copybox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 16px; background: var(--bg-blue); border-bottom: 1px solid var(--line-soft); }
.dfa-copybox__label { font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: var(--yokuto-blue); }
.dfa-copy-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: .8rem; font-weight: 700; color: #fff; background: var(--yokuto-blue); border: 0; border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: background .2s ease; white-space: nowrap; }
.dfa-copy-btn::before { content: "⧉"; font-size: .95em; }
.dfa-copy-btn:hover { background: var(--yokuto-blue-mid); }
.dfa-copy-btn.is-copied { background: var(--yokuto-green); }
.dfa-copy-btn.is-copied::before { content: "✓"; }
.dfa-copybox__text { margin: 0; padding: 16px; background: #fff; font-family: var(--sans); font-size: .95rem; line-height: 1.95; color: var(--text-dark); white-space: pre-wrap; word-break: break-word; }

/* ダウンロードボックス（サンプルファイル配布） */
.dfa-download {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 24px 0; padding: 18px 22px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); border-left: 4px solid var(--yokuto-green);
  background: var(--bg-blue);
}
.dfa-download__body { flex: 1 1 280px; }
.dfa-download__t { font-weight: 700; color: var(--yokuto-blue); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.dfa-download__d { font-size: .88rem; color: var(--text-mid); margin: 0; line-height: 1.7; }
.dfa-download .dfa-btn { flex: 0 0 auto; }
.dfa-download .dfa-btn::before { content: "⬇"; margin-right: 6px; }

/* まとめ / 次回予告 */
.dfa-summary {
  margin: 56px 0 0; padding: 28px 30px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--yokuto-blue-dark), var(--yokuto-blue)); color: #fff;
}
.dfa-summary h2 { color: #fff; border: 0; font-family: var(--serif); margin: 0 0 14px; padding: 0; }
.dfa-summary h2::after { display: none; }
.dfa-summary p { color: rgba(255,255,255,.9); }
.dfa-summary strong { color: var(--yokuto-mint); }
.dfa-summary a { color: var(--yokuto-mint); border-bottom-color: rgba(95,255,224,.4); }
.dfa-next {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2);
  font-family: var(--mono); font-size: .9rem;
}
.dfa-next .lbl { color: var(--yokuto-mint); letter-spacing: .1em; }

/* 出典リスト */
.dfa-sources { margin: 40px 0; padding: 22px 26px; background: var(--bg-blue); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.dfa-sources h2 { font-size: 1.05rem; margin: 0 0 12px; padding: 0; border: 0; font-family: var(--sans); color: var(--yokuto-blue); }
.dfa-sources h2::after { display: none; }
.dfa-sources ul { list-style: none; padding: 0; margin: 0; }
.dfa-sources li { margin: 8px 0; font-size: .86rem; padding-left: 20px; position: relative; }
.dfa-sources li::before { content: "📖"; position: absolute; left: 0; font-size: .8rem; }
.dfa-sources a { word-break: break-all; }

/* 著者・CTA */
.dfa-cta {
  margin: 40px auto 10px; max-width: var(--readw);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 30px; background: var(--bg-alt); text-align: center;
}
.dfa-cta h3 { margin: 0 0 8px; color: var(--yokuto-blue); border: 0; padding: 0; }
.dfa-cta p { color: var(--text-mid); margin: 0 0 16px; font-size: .95rem; }
.dfa-btn {
  display: inline-block; background: var(--yokuto-blue); color: #fff !important;
  padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 0;
}
.dfa-btn:hover { background: var(--yokuto-green); }
.dfa-btn--ghost { background: transparent; color: var(--yokuto-blue) !important; border: 1px solid var(--yokuto-blue); }
.dfa-btn--ghost:hover { background: var(--yokuto-blue); color: #fff !important; }

/* ===================================================================
   連載トップ（index）専用
   =================================================================== */
.dfa-hero {
  background: linear-gradient(135deg, var(--yokuto-blue-dark) 0%, var(--yokuto-blue) 55%, var(--yokuto-blue-mid) 130%);
  color: #fff; padding: clamp(48px, 9vw, 96px) 0; position: relative; overflow: hidden;
}
.dfa-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,191,165,.35), transparent 70%); border-radius: 50%;
}
.dfa-hero__inner { position: relative; z-index: 1; }
.dfa-hero .dfa-series-badge { background: rgba(255,255,255,.12); color: #fff; }
.dfa-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.4; margin: 18px 0 16px; }
.dfa-hero p { font-size: 1.05rem; color: rgba(255,255,255,.88); max-width: 640px; margin: 0; }
.dfa-hero .accent { color: var(--yokuto-mint); }

.dfa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 40px 0; }
.dfa-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; background: #fff;
  display: flex; flex-direction: column; gap: 10px; transition: .2s; position: relative; overflow: hidden;
}
.dfa-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yokuto-green); transform: scaleY(0); transform-origin: top; transition: .25s; }
.dfa-card:hover { box-shadow: var(--shadow); border-color: var(--yokuto-green); transform: translateY(-2px); }
.dfa-card:hover::before { transform: scaleY(1); }
.dfa-card__no { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--yokuto-green); }
.dfa-card__ttl { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.5; color: var(--text); }
.dfa-card__desc { font-size: .9rem; color: var(--text-soft); line-height: 1.7; }
.dfa-card__go { margin-top: auto; font-family: var(--mono); font-size: .74rem; color: var(--yokuto-blue-mid); }
.dfa-section-head { margin: 56px 0 6px; }
.dfa-section-head .en { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--yokuto-green); }
.dfa-section-head h2 { font-family: var(--serif); font-size: 1.7rem; margin: 6px 0 0; color: var(--text); }

/* ===================================================================
   フッター（yokuto: クリーム背景 #f7f6f3・濃色テキスト・2拠点）
   =================================================================== */
.dfa-footer { background: var(--bg-alt); color: var(--text); margin-top: 80px; border-top: 1px solid var(--line-soft); }
.dfa-footer__wrap { max-width: var(--maxw); margin: 0 auto; padding: 56px clamp(16px,4vw,40px) 28px; }
.dfa-footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.dfa-footer__brand img { height: 30px; margin-bottom: 12px; }
.dfa-footer__brand .name { font-weight: 700; font-size: 1.05rem; margin: 0; }
.dfa-footer__brand .en { font-family: var(--mono); font-size: .72rem; color: var(--text-soft); margin: 2px 0 0; letter-spacing: .1em; }
.dfa-footer__locs { display: flex; gap: 36px; flex-wrap: wrap; }
.dfa-footer__loc .lbl { font-family: var(--mono); font-size: .7rem; color: var(--yokuto-blue); font-weight: 600; margin: 0 0 4px; }
.dfa-footer__loc .addr { font-size: .82rem; color: var(--text-mid); margin: 0; line-height: 1.7; }
.dfa-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 44px 0 30px; }
.dfa-footer__col h3 { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--yokuto-blue); margin: 0 0 12px; }
.dfa-footer__col ul { list-style: none; padding: 0; margin: 0; }
.dfa-footer__col li { margin: 7px 0; }
.dfa-footer__col a { font-size: .85rem; color: var(--text-mid); }
.dfa-footer__col a:hover { color: var(--yokuto-green); }
.dfa-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.dfa-footer__bottom p { margin: 0; font-size: .74rem; color: var(--text-soft); font-family: var(--mono); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===================================================================
   レスポンシブ
   =================================================================== */
@media (max-width: 820px) {
  .dfa-nav { position: fixed; inset: 90px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line-soft); padding: 8px 24px 20px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    max-height: calc(100vh - 90px); overflow-y: auto; }
  .dfa-nav.is-open { transform: none; }
  .dfa-nav__item { width: 100%; margin-right: 0; padding: 0; border-bottom: 1px solid var(--line-soft); }
  .dfa-nav__item:last-child { border-bottom: none; }
  .dfa-nav__top, .dfa-nav__item > a { width: 100%; flex-direction: row; gap: 10px; align-items: baseline; padding: 14px 0 6px; }
  .dfa-drop { position: static; width: auto; min-width: 0; opacity: 1; visibility: visible;
    background: transparent; padding: 0 0 12px 12px; }
  .dfa-drop::before { display: none; }
  .dfa-drop li { border-top: none; }
  .dfa-drop li:hover { background: transparent; }
  .dfa-drop a { padding: 8px 6px; color: var(--text-dark); font-weight: 500; font-size: 15px; }
  .dfa-drop a:hover { color: var(--yokuto-blue); }
  .dfa-burger { display: block; }
  .dfa-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .dfa-steps > li { padding-left: 44px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .dfa-footer__grid { grid-template-columns: 1fr 1fr; }
  .dfa-serienav a, .dfa-serienav span.disabled { flex-basis: 100%; }
}

@media print {
  .dfa-header, .dfa-serienav, .dfa-burger, .dfa-cta { display: none; }
  body { font-size: 12px; }
}
