/* 組み立てで作るファイル（edl-base.css + edl-common.css + edl-front.css）。直接直さない。 */
/*
 * EURASIA Design Layer — 全ページの土台。
 * テーマの CSS の後に読まれる。セレクタは :root で始め、テーマの同じセレクタより 1 段強くする（!important は使わない）。
 * このファイルを止めれば、テーマの見た目に戻る。
 */

:root {
  --edl-paper: #f6f7f9;
  --edl-card: #ffffff;
  --edl-ink: #0f1b2d;
  --edl-muted: #556070;
  --edl-line: rgba(15, 27, 45, .12);
  --edl-blue: #0057b7;
  --edl-blue-ink: #ffffff;
  --edl-blue-soft: #e6eef8;
  --edl-yellow: #ffd500;
  --edl-yellow-ink: #0f1b2d;
  --edl-band: #0f1b2d;
  --edl-band-ink: #eef2f7;
  --edl-band-muted: #a9b4c3;
  --edl-display: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --edl-container: 1120px;
  --edl-gutter: 20px;
  --edl-section: clamp(64px, 5vw + 40px, 128px);
  --edl-ease: cubic-bezier(.22, 1, .36, 1);
  --edl-header: 92px;
}

@media (min-width: 900px) {
  :root { --edl-gutter: 40px; }
}

/* スマホ下部の寄付の帯（dock.php） */
:root .edl-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--edl-card);
  border-top: 1px solid var(--edl-line);
  box-shadow: 0 -6px 20px rgba(15, 27, 45, .08);
  font-family: inherit;
}

:root .edl-dock a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border: 2px solid transparent;
}

:root .edl-dock .edl-dock-primary { background: var(--edl-blue); color: var(--edl-blue-ink); }
:root .edl-dock .edl-dock-secondary { background: transparent; color: var(--edl-ink); border-color: var(--edl-ink); }
:root .edl-dock a:focus-visible { outline: 3px solid var(--edl-yellow); outline-offset: 2px; }

/* 帯の分だけ、ページの最後が隠れないように空ける（帯を出すページだけ） */
:root body:has(.edl-dock) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 900px) {
  :root .edl-dock { display: none; }
  :root body:has(.edl-dock) { padding-bottom: 0; }
}

/* テーマの決済ブランドのアイコン列は、320px 幅で 1 列に収まらず横にはみ出す（Design Layer なしでも起きる）。折り返させる。 */
:root .stripe-icon-wrap { flex-wrap: wrap; max-width: 100%; }
:root .stripe-icon-wrap .stripe-icon-img { min-width: 0; }
:root .stripe-icon-wrap img { max-width: 100%; height: auto; }

/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) {
  :root *,
  :root *::before,
  :root *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
    scroll-behavior: auto;
  }
}

/*
 * EURASIA Design Layer — Design Layer が本文を描くページ（トップ・寄付・お礼）に共通の骨組み。
 * すべて :root .edl-main の中に閉じる。
 */

:root .edl-main {
  display: block;
  padding-top: var(--edl-header);
  background: var(--edl-paper);
  color: var(--edl-ink);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .04em;
}

:root .edl-main *,
:root .edl-main *::before,
:root .edl-main *::after { box-sizing: border-box; }

:root .edl-main img { display: block; max-width: 100%; height: auto; }
:root .edl-main a { color: var(--edl-blue); }
:root .edl-main a:focus-visible,
:root .edl-main button:focus-visible,
:root .edl-main input:focus-visible,
:root .edl-main summary:focus-visible { outline: 3px solid var(--edl-yellow); outline-offset: 3px; border-radius: 4px; }

:root .edl-main h1,
:root .edl-main h2,
:root .edl-main h3 {
  margin: 0;
  min-width: 0;
  font-family: var(--edl-display);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.45;
  text-wrap: balance;
  word-break: auto-phrase;
  color: inherit;
}

:root .edl-main p { margin: 0; }
:root .edl-main section { padding-block: var(--edl-section); }

:root .edl-wrap { max-width: var(--edl-container); margin-inline: auto; padding-inline: var(--edl-gutter); }
:root .edl-eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--edl-muted); font-weight: 700; }
:root .edl-sec-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 40em; }
:root .edl-sec-head h2 { font-size: clamp(24px, 1.2vw + 18px, 36px); }
:root .edl-lead { color: var(--edl-muted); }

/* ボタン：主（寄付）と従の 2 種類だけ */
:root .edl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--edl-ease), color .2s var(--edl-ease), border-color .2s var(--edl-ease);
}
/* .edl-main a（本文のリンクの色）より強くするため、.edl-main を頭に付ける */
:root .edl-main .edl-btn-primary { background: var(--edl-blue); color: var(--edl-blue-ink); }
:root .edl-main .edl-btn-primary:hover { background: #00469a; color: var(--edl-blue-ink); }
:root .edl-main .edl-btn-primary:disabled { opacity: .7; cursor: progress; }
:root .edl-main .edl-btn-secondary { background: transparent; color: var(--edl-ink); border-color: var(--edl-ink); }
:root .edl-main .edl-btn-secondary:hover { background: var(--edl-ink); color: var(--edl-paper); }
:root .edl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
:root .edl-actions .edl-btn { flex: 1 1 220px; }

/* 小見出しの頭の短い線（明るい面では青、暗い面では黄） */
:root .edl-eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--edl-blue); }
:root .edl-route .edl-eyebrow::before,
:root .edl-hero .edl-eyebrow::before,
:root .edl-close .edl-eyebrow::before { background: var(--edl-yellow); }
@media (min-width: 900px) { :root .edl-sec-head h2 { font-size: clamp(28px, 1.4vw + 18px, 44px); } }

/* 画面には出さず、読み上げだけに渡す文 */
:root .edl-main .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/*
 * EURASIA Design Layer — トップページ（templates/front.php の本文）。
 * すべて :root .edl-main の中に閉じる。テーマの class（map-wrap・vehicle・log-list・support-btn）は
 * front.js と donation.js との約束のために同じ名前で置いており、ここで見た目を上書きする。
 */

/* 最初の画面：実際の写真を画面いっぱいに敷き、言葉と「次の1台」の進み具合を重ねる */
:root .edl-main .edl-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, calc(100vh - var(--edl-header)), 880px);
  padding-block: clamp(72px, 8vw, 120px) clamp(56px, 6vw, 88px);
  overflow: hidden;
  background: var(--edl-band);
  color: #fff;
}
:root .edl-hero-media { position: absolute; inset: 0; }
:root .edl-main .edl-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 45%; }
:root .edl-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 14, 26, .92) 0%, rgba(8, 14, 26, .8) 36%, rgba(8, 14, 26, .25) 66%, rgba(8, 14, 26, .05) 100%),
    linear-gradient(to top, rgba(8, 14, 26, .6) 0%, rgba(8, 14, 26, 0) 45%);
}
:root .edl-hero-inner { position: relative; width: 100%; }
:root .edl-hero .edl-eyebrow { color: rgba(255, 255, 255, .85); }
:root .edl-hero h1 {
  margin-top: 16px;
  max-width: 14em;
  font-size: clamp(30px, 3.6vw + 14px, 68px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
:root .edl-hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(15px, .4vw + 14px, 18px); line-height: 1.9; color: rgba(255, 255, 255, .9); }
:root .edl-hero-actions { margin-top: 32px; max-width: 560px; }
:root .edl-main .edl-hero .edl-btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .75); }
:root .edl-main .edl-hero .edl-btn-secondary:hover { background: #fff; color: var(--edl-ink); }
:root .edl-strip {
  margin-top: 36px;
  max-width: 560px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(8, 14, 26, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}
:root .edl-strip-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
:root .edl-strip-top b { font-family: var(--edl-display); font-size: 26px; color: var(--edl-yellow); margin-right: 2px; }
:root .edl-main .edl-strip-meter { display: block; width: 100%; height: 8px; margin-top: 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); }
:root .edl-main .edl-strip-meter::-webkit-meter-bar { background: rgba(255, 255, 255, .18); border: 0; border-radius: 999px; height: 8px; }
:root .edl-main .edl-strip-meter::-webkit-meter-optimum-value,
:root .edl-main .edl-strip-meter::-webkit-meter-suboptimum-value,
:root .edl-main .edl-strip-meter::-webkit-meter-even-less-good-value { background: var(--edl-yellow); border-radius: 999px; }
:root .edl-main .edl-strip-meter::-moz-meter-bar { background: var(--edl-yellow); border-radius: 999px; }
:root .edl-strip-note { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
:root .edl-strip-note b { font-size: 18px; color: #fff; margin-inline: 2px; }
:root .edl-hero-credit { position: absolute; right: var(--edl-gutter); bottom: 12px; max-width: 40em; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .7); text-align: right; }
/* パソコン：左は紺の地に言葉、右に写真。写真の端を地へ溶かし、写真の中の文字と言葉を重ねない */
@media (min-width: 900px) {
  /* 位置は言葉の列（中央寄せの容器）を基準にする。どの画面幅でも言葉は紺の地の上に乗る */
  :root .edl-hero-media { left: calc(50% - 120px); }
  :root .edl-main .edl-hero-media img { object-position: 50% 45%; }
  :root .edl-hero-shade {
    background:
      linear-gradient(to right, var(--edl-band) 0, var(--edl-band) calc(50% + 40px), rgba(15, 27, 45, .55) calc(50% + 150px), rgba(15, 27, 45, 0) calc(50% + 320px)),
      linear-gradient(to top, rgba(8, 14, 26, .55) 0%, rgba(8, 14, 26, 0) 35%);
  }
  :root .edl-hero-inner { max-width: var(--edl-container); }
  :root .edl-hero h1, :root .edl-hero-lead, :root .edl-hero-actions, :root .edl-strip { max-width: min(580px, 46vw); }
  :root .edl-hero h1 { max-width: min(640px, 48vw); font-size: clamp(32px, 2.1vw + 18px, 56px); }
  :root .edl-main .edl-hero { padding-block: 48px 56px; }
  :root .edl-hero-lead { margin-top: 18px; }
  :root .edl-hero-actions { margin-top: 24px; }
  :root .edl-strip { margin-top: 24px; }
}

/* スマホ：写真の中の文字と見出しが重ならないよう、写真を上、言葉を下に分ける */
@media (max-width: 899px) {
  :root .edl-main .edl-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-block: 0 48px; }
  :root .edl-hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  :root .edl-hero-shade { display: none; }
  :root .edl-hero-credit { position: static; order: 1; max-width: none; padding: 10px var(--edl-gutter) 0; text-align: left; }
  :root .edl-hero-inner { order: 2; padding-top: 28px; }
}

:root .edl-main figure { margin: 0; }
:root .edl-main figcaption { font-size: 13px; color: var(--edl-muted); margin-top: 10px; line-height: 1.7; }

/* 活動の仕組み */
:root .edl-main .edl-how { background: var(--edl-card); border-block: 1px solid var(--edl-line); }
:root .edl-how-grid { display: grid; gap: 40px; }
/* スマホでは救急車の写真を見出しより先に出す（文字だけが続く画面を作らない） */
@media (max-width: 899px) { :root .edl-how-fig { order: -1; } }
@media (min-width: 900px) { :root .edl-how-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; } }
:root .edl-how .edl-sec-head { margin-bottom: 32px; }
:root .edl-steps { list-style: none; margin: 0; padding: 0; counter-reset: edl-step; }
:root .edl-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-block: 24px; border-top: 1px solid var(--edl-line); }
:root .edl-steps li:last-child { border-bottom: 1px solid var(--edl-line); }
:root .edl-steps li::before { counter-increment: edl-step; content: counter(edl-step); font-family: var(--edl-display); font-size: 32px; line-height: 1.2; color: var(--edl-blue); }
:root .edl-steps h3 { font-size: 20px; margin-bottom: 6px; }
:root .edl-steps p { color: var(--edl-muted); font-size: 15px; }
:root .edl-why { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--edl-blue); background: var(--edl-paper); font-size: 15px; color: var(--edl-muted); }
:root .edl-why b { display: block; color: var(--edl-ink); font-size: 16px; margin-bottom: 4px; }
:root .edl-how-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* キーウまでの前進アニメーション */
:root .edl-main .edl-route { background: var(--edl-band); color: var(--edl-band-ink); }
:root .edl-route .edl-eyebrow,
:root .edl-route .edl-lead { color: var(--edl-band-muted); }
:root .edl-rt-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { :root .edl-rt-grid { grid-template-columns: 1.45fr 1fr; gap: 48px; } }
:root .edl-main .map-wrap.edl-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1520 / 1042;
  border-radius: 12px;
  overflow: hidden;
  background: #07101f;
}
:root .edl-main .edl-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
:root .edl-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
:root .edl-trail { stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 100000; }
:root .edl-trail-done { stroke: var(--edl-yellow); filter: drop-shadow(0 0 6px rgba(255, 213, 0, .8)); }
:root .edl-trail-you { stroke: #7cc4ff; filter: drop-shadow(0 0 6px rgba(124, 196, 255, .8)); }
:root .edl-map-counter {
  position: absolute;
  left: 4%;
  bottom: 6%;
  margin: 0;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(7, 16, 31, .78);
  border: 1px solid rgba(255, 213, 0, .45);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.2;
}
:root .edl-map-counter b { font-family: var(--edl-display); font-size: clamp(22px, 2vw + 10px, 34px); color: var(--edl-yellow); margin-right: 4px; font-variant-numeric: tabular-nums; }
@keyframes edl-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
:root .edl-main .vehicle.edl-vehicle::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--edl-yellow);
  animation: edl-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
:root .edl-main .vehicle.edl-vehicle {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--edl-yellow), 0 6px 16px rgba(0, 0, 0, .45);
  filter: none;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 600px) {
  :root .edl-main .vehicle.edl-vehicle { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 22px; box-shadow: 0 0 0 3px var(--edl-yellow), 0 4px 10px rgba(0, 0, 0, .45); }
}
:root .edl-map-label { position: absolute; font-size: 13px; font-weight: 700; color: #fff; background: rgba(7, 16, 31, .75); padding: 2px 8px; border-radius: 4px; }
:root .edl-map-start { left: 86%; top: 50%; }
:root .edl-map-end { left: 14%; top: 20%; }
:root .edl-main .edl-rt-read { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: var(--edl-band-muted); font-size: 15px; }
:root .edl-rt-read b { color: var(--edl-band-ink); font-family: var(--edl-display); font-size: 22px; }

:root .edl-rt-panel { background: rgba(238, 242, 247, .06); border: 1px solid rgba(238, 242, 247, .14); border-radius: 8px; padding: 24px; display: grid; gap: 14px; }
:root .edl-rt-lab { font-size: 14px; color: var(--edl-band-muted); }
:root .edl-main .edl-amount {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(238, 242, 247, .35);
  background: transparent;
  color: var(--edl-band-ink);
  font-family: var(--edl-display);
  font-size: 32px;
  font-weight: 700;
  text-align: left;
}
:root .edl-main .edl-range { width: 100%; height: 32px; accent-color: var(--edl-yellow); }
:root .edl-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
:root .edl-main .edl-preset {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid rgba(238, 242, 247, .35);
  background: transparent;
  color: var(--edl-band-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s var(--edl-ease);
}
:root .edl-main .edl-preset:hover { background: rgba(238, 242, 247, .12); }
:root .edl-calc-out { font-size: 15px; color: var(--edl-band-muted); }
:root .edl-calc-out b { display: block; font-family: var(--edl-display); font-size: clamp(32px, 2.5vw + 16px, 48px); color: var(--edl-yellow); line-height: 1.3; }
:root .edl-calc-out span { color: var(--edl-band-ink); }
:root .edl-name-note { font-size: 13px; color: var(--edl-band-muted); }
:root .edl-main .edl-name {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(238, 242, 247, .35);
  background: rgba(238, 242, 247, .06);
  color: var(--edl-band-ink);
  font-family: inherit;
  font-size: 16px;
}
:root .edl-main .edl-route .edl-btn-secondary { color: var(--edl-band-ink); border-color: rgba(238, 242, 247, .6); }
:root .edl-main .edl-route .edl-btn-secondary:hover { background: var(--edl-band-ink); color: var(--edl-band); }
:root .edl-main .support-btn.edl-btn { width: auto; height: auto; min-height: 52px; margin: 0; box-shadow: none; }
:root .edl-fine { font-size: 13px; color: var(--edl-band-muted); line-height: 1.7; }

:root .edl-stats { display: grid; gap: 24px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
:root .edl-stats > div { border-top: 1px solid rgba(238, 242, 247, .2); padding-top: 16px; }
:root .edl-stats b { display: block; font-family: var(--edl-display); font-size: clamp(28px, 2vw + 16px, 40px); line-height: 1.3; }
:root .edl-stats small { color: var(--edl-band-muted); font-size: 14px; }

:root .edl-log { margin-top: 40px; }
:root .edl-log h3 { font-size: 18px; margin-bottom: 12px; }
:root .edl-main .edl-log-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
:root .edl-main .edl-log-list .log-item { flex: 0 0 200px; min-width: 0; padding: 14px 16px; border-radius: 8px; background: rgba(238, 242, 247, .06); border: 1px solid rgba(238, 242, 247, .14); color: var(--edl-band-ink); }
:root .edl-main .edl-log-list .log-range { font-size: 12px; color: var(--edl-band-muted); }
:root .edl-main .edl-log-list .log-name { font-weight: 700; margin-block: 4px; }
:root .edl-main .edl-log-list .log-km { font-size: 13px; color: #7cc4ff; }

:root .edl-qa { margin-top: 32px; border-top: 1px solid rgba(238, 242, 247, .2); }
@media (min-width: 900px) { :root .edl-qa { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } }
:root .edl-qa details { border-bottom: 1px solid rgba(238, 242, 247, .2); }
:root .edl-qa summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; font-weight: 700; color: var(--edl-band-ink); }
:root .edl-qa summary::-webkit-details-marker { display: none; }
:root .edl-qa summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 20px; color: var(--edl-band-muted); }
:root .edl-qa details[open] summary::after { content: "−"; }
:root .edl-qa details p { padding: 0 0 16px; color: var(--edl-band-muted); font-size: 15px; }

/* 届けた先 */
:root .edl-ev-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { :root .edl-ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { :root .edl-ev-grid { grid-template-columns: repeat(3, 1fr); } }
:root .edl-ev { background: var(--edl-card); border: 1px solid var(--edl-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
:root .edl-ev img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
:root .edl-ev-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
:root .edl-ev-place { font-family: var(--edl-display); font-size: 20px; }
:root .edl-ev-src { font-size: 13px; color: var(--edl-muted); border-top: 1px solid var(--edl-line); padding-top: 10px; margin-top: 6px; }
:root .edl-nums { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 56px; border-top: 1px solid var(--edl-line); }
@media (min-width: 900px) { :root .edl-nums { grid-template-columns: repeat(5, 1fr); } }
:root .edl-nums > div { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--edl-line); }
:root .edl-nums b { display: block; font-family: var(--edl-display); font-size: clamp(28px, 1.5vw + 20px, 40px); line-height: 1.3; }
:root .edl-nums small, :root .edl-asof { font-size: 14px; color: var(--edl-muted); }
:root .edl-asof { margin-top: 12px; font-size: 13px; }

/* 団体と会計 */
:root .edl-main .edl-trust { background: var(--edl-card); border-block: 1px solid var(--edl-line); }
:root .edl-trust-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { :root .edl-trust-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
:root .edl-trust .edl-sec-head { margin-bottom: 32px; }
:root .edl-dl { margin: 0; }
:root .edl-dl div { display: grid; grid-template-columns: 1fr; gap: 2px; padding-block: 14px; border-top: 1px solid var(--edl-line); font-size: 15px; }
@media (min-width: 600px) { :root .edl-dl div { grid-template-columns: 8.5em 1fr; gap: 16px; } }
:root .edl-dl div:last-child { border-bottom: 1px solid var(--edl-line); }
:root .edl-dl dt { color: var(--edl-muted); }
:root .edl-dl dd { margin: 0; }
:root .edl-finance { margin-top: 12px; font-family: var(--edl-display); font-size: clamp(24px, 1.5vw + 18px, 36px); line-height: 1.45; }
:root .edl-main .edl-bar { display: block; width: 100%; height: 12px; margin-block: 14px 6px; border: 0; border-radius: 999px; background: var(--edl-blue-soft); }
:root .edl-main .edl-bar::-webkit-meter-bar { background: var(--edl-blue-soft); border: 0; border-radius: 999px; }
:root .edl-main .edl-bar::-webkit-meter-optimum-value { background: var(--edl-blue); border-radius: 999px; }
:root .edl-main .edl-bar::-moz-meter-bar { background: var(--edl-blue); border-radius: 999px; }
:root .edl-finance-detail { font-size: 14px; color: var(--edl-muted); }
:root .edl-docs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
:root .edl-docs a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--edl-line); border-radius: 4px; text-decoration: none; color: var(--edl-ink); background: var(--edl-paper); }
:root .edl-docs a:hover { border-color: var(--edl-blue); }
:root .edl-docs span { color: var(--edl-muted); font-size: 13px; white-space: nowrap; }

/* 最近の報告 */
:root .edl-news-list { list-style: none; padding: 0; margin: 0; }
:root .edl-news-list li { border-top: 1px solid var(--edl-line); }
:root .edl-news-list li:last-child { border-bottom: 1px solid var(--edl-line); }
:root .edl-news-list a { display: grid; gap: 4px; padding-block: 20px; text-decoration: none; color: var(--edl-ink); }
@media (min-width: 760px) { :root .edl-news-list a { grid-template-columns: 9em 1fr; gap: 24px; } }
:root .edl-news-list time { color: var(--edl-muted); font-size: 14px; }
:root .edl-news-list a:hover span { color: var(--edl-blue); text-decoration: underline; }
:root .edl-more { display: inline-block; margin-top: 24px; }

/* 自治体・企業の方へ */
:root .edl-main .edl-partner { background: var(--edl-blue-soft); }
:root .edl-partner-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { :root .edl-partner-grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; } }
:root .edl-partner h2 { margin-top: 12px; font-size: clamp(22px, 1vw + 18px, 30px); }
:root .edl-partner p { color: var(--edl-muted); }
:root .edl-partner .edl-btn { margin-top: 16px; }

/* 締め：出港を待つコンテナの写真を敷く */
:root .edl-main .edl-close { position: relative; overflow: hidden; background: var(--edl-band); color: #fff; padding-block: clamp(96px, 10vw, 160px); }
:root .edl-close-media { position: absolute; inset: 0; }
:root .edl-main .edl-close-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
:root .edl-close-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(8, 14, 26, .9) 0%, rgba(8, 14, 26, .72) 55%, rgba(8, 14, 26, .45) 100%); }
:root .edl-close-grid { position: relative; display: grid; gap: 32px; }
@media (min-width: 900px) { :root .edl-close-grid { grid-template-columns: 1.3fr 1fr; align-items: end; } }
:root .edl-close h2 { font-size: clamp(30px, 2.4vw + 16px, 52px); color: #fff; line-height: 1.35; }
:root .edl-close-sub { margin-top: 18px; color: rgba(255, 255, 255, .88); max-width: 32em; }
:root .edl-close-sub .edl-remain { color: var(--edl-yellow); font-weight: 700; }
:root .edl-main .edl-close .edl-btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .75); }
:root .edl-main .edl-close .edl-btn-secondary:hover { background: #fff; color: var(--edl-ink); }
:root .edl-close-credit { position: absolute; right: var(--edl-gutter); bottom: 12px; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .7); }

/* 写真のカードは、触れたときに少しだけ寄る */
:root .edl-ev img { transition: transform .6s var(--edl-ease); }
:root .edl-ev:hover img { transform: scale(1.04); }
:root .edl-count { font-variant-numeric: tabular-nums; }

/* 出典のリンク（掲載元を別のタブで開く） */
:root .edl-main .edl-hero-credit a,
:root .edl-main .edl-ev-src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
:root .edl-main .edl-hero-credit a:hover,
:root .edl-main .edl-ev-src a:hover { text-decoration-thickness: 2px; }
:root .edl-hero-credit { z-index: 1; }
