@charset "UTF-8";
/* ==========================================================================
 アイジスレガシー財団 HP 改修（2026-10）
 既存 style.css の後に読み込む。新規部品は接頭辞 a- で既存クラスと分離。
 色は正式なブランド指定色が決まるまで指示書の仮値（第15章）。:root の変数で一括変更できる。
============================================================================*/
:root {
  --alf-green: #003110;          /* 濃緑：名刺（裏面）のブランド色。既存ロゴ・旧サイトの #00320F とほぼ同色 */
  --alf-green-deep: #00230B;
  --alf-green-soft: #E4ECE6;
  --alf-bg: #F7F6F1;             /* 背景（指示書の値） */
  --alf-text: #26332B;           /* 本文 */
  --alf-muted: #52635D;
  --alf-line: #D9D6CB;
  --alf-white: #fff;
  --alf-accent: #6B7B37;         /* 既存サイトの英字見出し色を基調に、コントラストを確保して調整 */
  --alf-amber: #7A5A12;
  --alf-focus: #B8860B;
  --alf-header-h: 80px;
  --alf-radius: 6px;
  --alf-gutter: 24px;
  --alf-font: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --alf-font-head: "Shippori Mincho", "Zen Old Mincho", "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --alf-font-en: "Cormorant Garamond", "Times New Roman", serif;
}
@media (max-width: 1279px) { :root { --alf-header-h: 116px; } }
@media (max-width: 1023px) { :root { --alf-header-h: 64px; --alf-gutter: 16px; } }

/* ---------- 基本 ---------- */
body.alf {
  background-color: var(--alf-white);
  color: var(--alf-text);
  font-family: var(--alf-font);
  font-size: 1rem;
  line-height: 1.85;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
body.alf p { font-size: 1rem; line-height: 1.9; }
@media (min-width: 1024px) { body.alf p { font-size: 1.0625rem; } }
body.alf a { color: var(--alf-green); }
body.alf a:hover { color: var(--alf-green-deep); }
body.alf :focus-visible { outline: 3px solid var(--alf-focus); outline-offset: 2px; }
body.alf .l-wrapper { padding-top: var(--alf-header-h); overflow: clip; }
html.is-alf-menu-open { overflow: hidden; }
.a-main:focus { outline: none; }
.a-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.a-skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--alf-green); color: #fff !important; padding: 10px 16px; border-radius: var(--alf-radius); }
.a-skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* 既存本文の見出しは明朝を維持（雰囲気の継承） */
body.alf .c-hd-01, body.alf .c-hd-02, body.alf .c-hd-03, body.alf .p-commitment, body.alf .p-top-mv__copy { font-family: var(--alf-font-head); }
body.alf .c-hd-02 { color: var(--alf-green); }

/* ---------- レイアウト ---------- */
.a-container { width: 100%; max-width: calc(1160px + var(--alf-gutter) * 2); margin-inline: auto; padding-inline: var(--alf-gutter); box-sizing: border-box; }
.a-container--narrow { max-width: calc(800px + var(--alf-gutter) * 2); }
.a-sec { padding-block: clamp(56px, 8vw, 104px); }
.a-sec--tight { padding-block: clamp(32px, 5vw, 56px); }
.a-sec--alt { background: var(--alf-bg); }
.a-sec--flow { padding-block: clamp(32px, 5vw, 64px); background: var(--alf-bg); }
.a-container p, .a-pagehead p, .a-footer p, .a-ctaband p { margin: 0; }
.a-container * + p, .a-pagehead * + p, .a-ctaband * + p { margin-top: 1em; }
.a-page-body > .a-sec:first-child { padding-top: clamp(40px, 6vw, 72px); }

/* ---------- 見出し ---------- */
.a-h2 { font-family: var(--alf-font-head); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.5; color: var(--alf-green); margin: 0 0 .75em; letter-spacing: .02em; }
.a-h3 { font-family: var(--alf-font); font-weight: 700; font-size: clamp(1.1875rem, 1rem + .6vw, 1.375rem); line-height: 1.55; color: var(--alf-text); margin: 0 0 .9em; padding-left: 14px; border-left: 4px solid var(--alf-green); }
.a-h4 { font-weight: 700; font-size: 1.0625rem; margin: 0 0 .6em; color: var(--alf-text); }
.a-eyebrow { display: block; font-family: var(--alf-font-en); font-size: 1rem; letter-spacing: .08em; color: var(--alf-accent); margin-bottom: .25em; }
.a-lead { font-size: 1.0625rem; color: var(--alf-text); max-width: 46em; }
.a-sec__head { margin-bottom: clamp(28px, 4vw, 44px); }
.a-sec__head .a-h2 { margin-bottom: .4em; }
.a-note { font-size: .9375rem !important; color: var(--alf-muted); line-height: 1.8 !important; }

/* ---------- ボタン・リンク ---------- */
.a-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 28px !important; }
.a-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none !important; text-align: center; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.a-btn--primary { background: var(--alf-green); color: #fff !important; border-color: var(--alf-green); }
.a-btn--primary:hover { background: var(--alf-green-deep); border-color: var(--alf-green-deep); }
.a-btn--outline { background: #fff; color: var(--alf-green) !important; border-color: var(--alf-green); }
.a-btn--outline:hover { background: var(--alf-green-soft); }
.a-btn--light { background: #fff; color: var(--alf-green) !important; border-color: #fff; }
.a-btn--light:hover { background: var(--alf-bg); }
.a-btn--text { background: none; color: var(--alf-green) !important; text-decoration: underline !important; padding-inline: 8px; }
.a-btn--small { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.a-btn--wide { width: 100%; }
.a-btn--file::before { content: ""; width: 14px; height: 16px; margin-bottom: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M1 0h8l4 4v12H1z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M1 0h8l4 4v12H1z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; display: none; }
.a-btn__sub { display: block; font-size: .75rem; font-weight: 400; opacity: .9; }
.a-link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--alf-green) !important; text-decoration: none !important; border-bottom: 1px solid currentColor; line-height: 1.5; }
.a-link-arrow::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex: none; }
.a-link-arrow:hover { color: var(--alf-green-deep) !important; border-bottom-width: 2px; }
.a-link-file { display: inline-flex; gap: 10px; align-items: baseline; color: var(--alf-green) !important; text-decoration: underline !important; min-height: 44px; padding-block: 8px; }
.a-link-file::after { content: "PDF"; font-size: .6875rem; font-weight: 700; border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; text-decoration: none; }
.a-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

/* ---------- ヘッダー ---------- */
.a-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.a-header.is-scrolled { box-shadow: 0 2px 12px rgba(20,40,35,.08); }
.a-header__inner { display: flex; align-items: center; gap: 16px 24px; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 2vw, 32px); min-height: var(--alf-header-h); box-sizing: border-box; }
.a-header__logo { flex: none; line-height: 0; }
.a-header__logo img { width: 200px; height: auto; }
.a-gnav { margin-left: auto; }
.a-gnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.a-gnav__item { position: relative; display: flex; align-items: center; }
.a-gnav__link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .9375rem; font-weight: 500; color: var(--alf-text) !important; text-decoration: none !important; white-space: nowrap; border-radius: 4px; }
.a-gnav__link:hover { background: var(--alf-bg); color: var(--alf-green) !important; }
.a-gnav__item.is-current > .a-gnav__link { color: var(--alf-green) !important; box-shadow: inset 0 -2px 0 var(--alf-green); border-radius: 0; }
.a-gnav__toggle { width: 28px; height: 44px; margin-left: -8px; border: 0; background: none; cursor: pointer; position: relative; color: var(--alf-text); }
.a-gnav__toggle::before { content: ""; position: absolute; left: 9px; top: 17px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.a-gnav__item.is-open .a-gnav__toggle::before { transform: translateY(3px) rotate(-135deg); }
.a-gnav__sub { position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--alf-line); border-radius: var(--alf-radius); box-shadow: 0 10px 28px rgba(20,40,35,.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .18s; }
.a-gnav__item.has-sub:hover .a-gnav__sub, .a-gnav__item.is-open .a-gnav__sub { opacity: 1; visibility: visible; transform: none; }
.a-gnav__sub a { display: block; padding: 10px 12px; min-height: 44px; box-sizing: border-box; color: var(--alf-text) !important; text-decoration: none !important; border-radius: 4px; font-size: .9375rem; }
.a-gnav__sub a:hover, .a-gnav__sub a[aria-current] { background: var(--alf-bg); color: var(--alf-green) !important; }
.a-header__cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--alf-green); color: #fff !important; font-weight: 700; font-size: .875rem; text-decoration: none !important; white-space: nowrap; }
.a-header__cta:hover { background: var(--alf-green-deep); }
.a-header__cta-sp, .a-header__menu { display: none; }
.a-drawer { display: none; }

/* PC幅が不足する場合は2段（ナビを無理に1行へ詰めない） */
@media (min-width: 1024px) and (max-width: 1279px) {
  .a-header__inner { flex-wrap: wrap; padding-top: 8px; row-gap: 0; }
  .a-header__logo { order: 1; }
  .a-header__cta { order: 2; margin-left: auto; }
  .a-gnav { order: 3; flex: 1 0 100%; margin: 0; border-top: 1px solid var(--alf-line); }
  .a-gnav__list { justify-content: center; }
}
@media (max-width: 1023px) {
  .a-gnav, .a-header__cta { display: none; }
  .a-header__logo img { width: 160px; }
  .a-header__cta-sp { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 6px 16px; border-radius: 999px; background: var(--alf-green); color: #fff !important; font-weight: 700; font-size: .875rem; text-decoration: none !important; }
  .a-header__menu { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 48px; height: 48px; border: 0; background: none; color: var(--alf-text); cursor: pointer; padding: 0; }
  .a-header__menu-bar, .a-header__menu-bar::before, .a-header__menu-bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: .2s; }
  .a-header__menu-bar::before, .a-header__menu-bar::after { content: ""; position: absolute; left: 0; }
  .a-header__menu-bar::before { top: -7px; }
  .a-header__menu-bar::after { top: 7px; }
  .a-header__menu[aria-expanded="true"] .a-header__menu-bar { background: transparent; }
  .a-header__menu[aria-expanded="true"] .a-header__menu-bar::before { top: 0; transform: rotate(45deg); }
  .a-header__menu[aria-expanded="true"] .a-header__menu-bar::after { top: 0; transform: rotate(-45deg); }
  .a-header__menu-label { font-size: .625rem; line-height: 1; margin-top: 6px; }
  .a-drawer { display: block; position: fixed; inset: var(--alf-header-h) 0 0 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--alf-line); }
  .a-drawer__inner { padding: 16px var(--alf-gutter) 40px; }
  .a-drawer ul { list-style: none; margin: 0; padding: 0; }
  .a-drawer__primary { display: grid; gap: 8px; margin-bottom: 20px !important; }
  .a-drawer__primary a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border-radius: var(--alf-radius); background: var(--alf-green); color: #fff !important; font-weight: 700; text-decoration: none !important; font-size: 1.0625rem; }
  .a-drawer__primary a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
  .a-drawer__list > li { border-bottom: 1px solid var(--alf-line); }
  .a-drawer__list a { display: block; padding: 14px 4px; min-height: 48px; box-sizing: border-box; color: var(--alf-text) !important; text-decoration: none !important; font-weight: 500; }
  .a-drawer__list ul { padding: 0 0 10px 16px; display: grid; grid-template-columns: 1fr 1fr; }
  .a-drawer__list ul a { padding: 10px 4px; font-weight: 400; font-size: .9375rem; }
  .a-drawer__cta { margin-top: 24px !important; }
}

/* ---------- パンくず・ページ見出し ---------- */
.a-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; color: var(--alf-muted); }
.a-breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--alf-line); }
.a-breadcrumb a { color: var(--alf-muted) !important; }
.a-pagehead { padding: clamp(20px, 3vw, 32px) 0 clamp(36px, 5vw, 64px); }
.a-pagehead__body { margin-top: clamp(24px, 4vw, 48px); display: grid; gap: 28px 56px; align-items: center; }
.a-pagehead--image .a-pagehead__body { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
.a-pagehead__title { font-family: var(--alf-font); font-weight: 700; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.4; color: var(--alf-text); margin: 0; letter-spacing: .03em; }
.a-pagehead__title--call, .a-pagehead__title--article { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.a-pagehead__en { display: block; font-family: var(--alf-font-en); font-weight: 500; font-size: 1rem; letter-spacing: .1em; color: var(--alf-accent); margin-top: 4px; }
.a-pagehead__catch { font-family: var(--alf-font-head); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.6; color: var(--alf-green); margin-top: 20px !important; }
.a-pagehead__lead { margin-top: 16px; max-width: 40em; }
.a-pagehead__lead p + p { margin-top: .8em; }
.a-pagehead__fig { margin: 0; }
.a-pic img, .a-pagehead__fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--alf-radius); }
@media (max-width: 899px) {
  .a-pagehead--image .a-pagehead__body { grid-template-columns: 1fr; }
}

/* ---------- 汎用：グリッド・カード ---------- */
.a-grid { display: grid; gap: 24px; }
.a-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .a-grid--3, .a-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .a-grid--2, .a-grid--3, .a-grid--4 { grid-template-columns: 1fr; gap: 16px; } }
.a-card { position: relative; background: #fff; border: 1px solid var(--alf-line); border-radius: var(--alf-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.a-card > * { margin: 0 !important; }
.a-card--plain { background: var(--alf-bg); border-color: transparent; }
.a-card__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; color: var(--alf-text); }
.a-card__title a { color: inherit !important; text-decoration: none !important; }
.a-card__title a::after { content: ""; position: absolute; inset: 0; }
.a-card__title a:focus-visible { outline: none; }
.a-card:focus-within { outline: 3px solid var(--alf-focus); outline-offset: 2px; }
.a-card:hover { border-color: var(--alf-green); }
.a-card--plain:hover { border-color: transparent; }
.a-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; }
.a-card__type { color: var(--alf-muted); font-weight: 500; }
.a-card__period { font-weight: 700; color: var(--alf-text); font-size: .9375rem !important; }
.a-card__more { margin-top: auto !important; padding-top: 6px; }
.a-card__more .a-link-arrow { position: relative; z-index: 1; }
.a-card__fig { margin: -24px -24px 6px !important; line-height: 0; }
.a-card__fig img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--alf-radius) var(--alf-radius) 0 0; }
.a-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.5; border: 1.5px solid currentColor; }
.a-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.a-badge--open { background: var(--alf-green); border-color: var(--alf-green); color: #fff; }
.a-badge--upcoming, .a-badge--preparing { color: var(--alf-amber); background: #FBF5E6; }
.a-badge--closed, .a-badge--selecting, .a-badge--result { color: #555; background: #F0F0EE; }
.a-tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--alf-green-soft); color: var(--alf-green) !important; font-size: .8125rem; font-weight: 500; text-decoration: none !important; line-height: 1.6; }

/* 定義リスト */
.a-dl { margin: 0; }
.a-dl__row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 4px 12px; }
.a-dl dt { font-weight: 700; color: var(--alf-muted); }
.a-dl dd { margin: 0; }
.a-dl--compact { font-size: .9375rem; line-height: 1.7; display: grid; gap: 4px; }
.a-dl--table { border-top: 1px solid var(--alf-line); }
.a-dl--table .a-dl__row { grid-template-columns: 11em minmax(0, 1fr); padding: 16px 4px; border-bottom: 1px solid var(--alf-line); gap: 6px 24px; }
.a-dl--table dt { color: var(--alf-text); }
@media (max-width: 767px) {
  .a-dl--table .a-dl__row { grid-template-columns: 1fr; padding: 14px 2px; }
  .a-dl--table dt { font-size: .875rem; color: var(--alf-muted); }
}

/* ステップ */
.a-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.a-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.a-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a-steps li { position: relative; background: #fff; border: 1px solid var(--alf-line); border-radius: var(--alf-radius); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.a-steps li > p, .a-steps li > strong { margin: 0 !important; }
.a-steps__no { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--alf-green); color: #fff; font-weight: 700; font-size: .9375rem; }
.a-steps__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.5; color: var(--alf-text); }
@media (min-width: 1100px) {
  .a-steps--5 li:not(:last-child)::after, .a-steps--4 li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 32px; width: 10px; height: 10px; border-top: 2px solid var(--alf-green); border-right: 2px solid var(--alf-green); transform: rotate(45deg); z-index: 1; }
}
@media (max-width: 1099px) { .a-steps--5, .a-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .a-steps--5, .a-steps--4 { grid-template-columns: 1fr; gap: 10px; }
  .a-steps li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; }
  .a-steps__no { flex: none; }
}

/* 補足・空表示・コールアウト */
.a-empty { background: var(--alf-bg); border: 1px dashed var(--alf-line); border-radius: var(--alf-radius); padding: 24px; color: var(--alf-text); margin: 0; }
.a-sec--alt .a-empty { background: #fff; }
.a-empty p + p { margin-top: 12px !important; }
.a-callout { margin-top: 40px; padding: clamp(24px, 4vw, 36px); border-radius: var(--alf-radius); background: var(--alf-green-soft); }
.a-aside-note { padding: 20px 24px; border-left: 4px solid var(--alf-green); background: var(--alf-bg); border-radius: 0 var(--alf-radius) var(--alf-radius) 0; }
.a-aside-note--info { margin-bottom: 32px; }
.a-aside-note p + p { margin-top: 6px !important; }
.a-disclaimer { margin-top: 32px; padding: 20px 24px; background: var(--alf-bg); border-radius: var(--alf-radius); font-size: .9375rem; }
.a-disclaimer p { font-size: .9375rem !important; }

/* ---------- トップページ ---------- */
.a-fv { padding: clamp(24px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.a-fv__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 32px 56px; align-items: center; }
.a-fv__title { font-family: var(--alf-font-head); font-weight: 600; font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.45; letter-spacing: .04em; color: var(--alf-green); margin: 0; }
.a-fv__sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem) !important; font-weight: 500; margin-top: 24px !important; line-height: 1.8 !important; }
.a-fv__text { margin-top: 14px !important; color: var(--alf-text); }
.a-fv__fig { margin: 0; }
@media (max-width: 899px) {
  .a-fv__grid { grid-template-columns: 1fr; }
  .a-fv__actions .a-btn { flex: 1 1 100%; }
}
.a-entries { padding-bottom: clamp(56px, 8vw, 104px); }
.a-entry { padding: 0 0 24px; overflow: hidden; }
.a-entry .a-card__fig { margin-bottom: 4px !important; }
.a-entry__body { padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.a-entry__title { font-family: var(--alf-font); font-size: 1.3125rem; font-weight: 700; color: var(--alf-green); margin: 0; }
.a-entry__title a { color: inherit !important; text-decoration: none !important; }
.a-entry__title a::after { content: ""; position: absolute; inset: 0; }
.a-entry__title a:focus-visible { outline: none; }
.a-entry > :not(.a-card__fig) { padding-inline: 24px; }
.a-values .a-card { padding: 28px; }
.a-values .a-card__title { color: var(--alf-green); font-size: 1.1875rem; }
.a-flow-note { margin-top: 24px !important; padding: 18px 22px; border-radius: var(--alf-radius); background: #fff; border: 1px solid var(--alf-line); font-size: .9375rem !important; }
.a-final { background: var(--alf-green); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.a-final .a-h2 { color: #fff; }
.a-final p { color: #fff; }
.a-final__links { margin-top: 28px !important; font-size: .9375rem !important; }
.a-final__links a { color: #fff !important; text-decoration: underline !important; display: inline-flex; min-height: 44px; align-items: center; margin-right: 16px; }

/* お知らせ */
.a-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--alf-line); }
.a-news__item a { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 6px 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--alf-line); color: var(--alf-text) !important; text-decoration: none !important; }
.a-news__item a:hover .a-news__title { text-decoration: underline; color: var(--alf-green); }
.a-news__item time { font-size: .9375rem; color: var(--alf-muted); font-variant-numeric: tabular-nums; }
.a-news__title { font-weight: 500; }
@media (max-width: 767px) { .a-news__item a { grid-template-columns: auto minmax(0, 1fr); } .a-news__title { grid-column: 1 / -1; } }

/* ---------- 一覧：タブ・絞込み ---------- */
.a-tabs ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.a-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1.5px solid var(--alf-line); color: var(--alf-text) !important; text-decoration: none !important; font-weight: 500; background: #fff; }
.a-tabs a:hover { border-color: var(--alf-green); }
.a-tabs a.is-current { background: var(--alf-green); border-color: var(--alf-green); color: #fff !important; }
.a-tabs__count { font-size: .8125rem; margin-left: 2px; }
.a-filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; padding: 20px; background: var(--alf-bg); border-radius: var(--alf-radius); margin-bottom: 16px; }
.a-filter__item { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.a-filter__item label { font-size: .875rem; font-weight: 700; }
.a-filter__actions { display: flex; gap: 8px; align-items: center; }
.a-result-count { margin: 0 0 16px !important; color: var(--alf-muted); font-size: .9375rem !important; }
@media (max-width: 767px) { .a-filter__item { flex: 1 1 100%; } }

/* ---------- 募集詳細 ---------- */
.a-callhead { margin-top: 24px; max-width: 860px; }
.a-callhead .a-card__meta { margin-bottom: 12px !important; }
.a-callhead__deadline { margin-top: 16px !important; font-size: 1.0625rem !important; padding: 12px 16px; background: var(--alf-bg); border-radius: var(--alf-radius); display: inline-block; }
.a-callhead__kind { margin-top: 10px !important; font-size: 1.0625rem !important; }
.a-callhead__target { margin-top: 10px !important; font-weight: 500; }
.a-callhead__purpose { margin-top: 12px; }
.a-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-bottom: clamp(56px, 8vw, 104px); align-items: start; }
.a-detail__sec + .a-detail__sec { margin-top: 48px; }
.a-detail__sec { margin-top: 0; }
.a-container--narrow .a-detail__sec { margin-top: 40px; }
.a-detail__apply { margin-top: 24px; max-width: 420px; }
.a-detail__aside { position: sticky; top: calc(var(--alf-header-h) + 20px); }
.a-summary { border: 1px solid var(--alf-line); border-radius: var(--alf-radius); padding: 22px; background: #fff; display: grid; gap: 14px; }
.a-summary > * { margin: 0 !important; }
.a-summary .a-dl__row { grid-template-columns: 5.5em minmax(0,1fr); }
.a-state-msg { margin: 0 !important; padding: 14px 16px; background: var(--alf-bg); border-radius: var(--alf-radius); font-size: .9375rem !important; line-height: 1.7 !important; }
.a-applybar { display: none; }
.a-richtext > * + * { margin-top: 1em; }
.a-richtext ul, .a-richtext ol { padding-left: 1.5em; }
@media (max-width: 1023px) {
  .a-detail { grid-template-columns: 1fr; }
  .a-detail__aside { position: static; order: -1; }
}
@media (max-width: 767px) {
  .a-applybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -2px 12px rgba(20,40,35,.12); }
  body.single-grants .a-footer, body.single-scholarships .a-footer { padding-bottom: 96px; }
  .a-detail__aside { display: none; }
}

/* ---------- 記事 ---------- */
.a-article { padding-bottom: clamp(56px, 8vw, 104px); }
.a-article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 24px !important; color: var(--alf-muted); font-size: .9375rem !important; }
.a-article__fig { margin: 0 0 32px; }
.a-article__fig img { border-radius: var(--alf-radius); }
.a-article__back { margin-top: 48px !important; }
.a-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 32px 0 0; flex-wrap: wrap; }
.a-pagination a, .a-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--alf-line); border-radius: var(--alf-radius); text-decoration: none !important; padding: 0 10px; }
.a-pagination .current { background: var(--alf-green); color: #fff; border-color: var(--alf-green); }

/* ---------- 情報公開 ---------- */
.a-docs { display: grid; gap: 0; border-top: 1px solid var(--alf-line); }
.a-docs__sec { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 8px 24px; padding: 20px 4px; border-bottom: 1px solid var(--alf-line); }
.a-docs__sec .a-h4 { margin: 0; padding-top: 6px; }
.a-docs__list { list-style: none; margin: 0; padding: 0; }
.a-docs__year { display: inline-block; font-size: .8125rem; background: var(--alf-bg); border-radius: 4px; padding: 0 8px; margin-right: 4px; text-decoration: none; }
.a-docs__pending { color: var(--alf-muted); padding-top: 4px; margin: 0 !important; }
.a-docs__related { grid-column: 2; }
@media (max-width: 767px) { .a-docs__sec { grid-template-columns: 1fr; } .a-docs__related { grid-column: 1; } }

/* ---------- 財団について：ハブ ---------- */
.a-hub .a-card { padding: 24px 24px 20px; }
.a-hub .a-card__title { color: var(--alf-green); }

/* ---------- FAQ ---------- */
.a-faq { margin: 0; }
.a-faq__group + .a-faq__group { margin-top: 56px; }
.a-faq__item { border-top: 1px solid var(--alf-line); padding: 22px 0; }
.a-faq__item:last-child { border-bottom: 1px solid var(--alf-line); }
.a-faq__q { position: relative; padding-left: 2.2em; font-weight: 700; font-size: 1.0625rem; line-height: 1.7; margin: 0; color: var(--alf-text); }
.a-faq__q::before, .a-faq__a::before { position: absolute; left: 0; top: 0; font-family: var(--alf-font-en); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.a-faq__q::before { content: "Q"; color: var(--alf-green); }
.a-faq__a { position: relative; padding-left: 2.2em; margin-top: 10px; }
.a-faq__a::before { content: "A"; color: var(--alf-accent); }

/* ---------- 下層の締めCTA ---------- */
.a-ctaband { background: var(--alf-green); color: #fff; padding-block: clamp(44px, 6vw, 72px); text-align: center; }
.a-ctaband__title { font-family: var(--alf-font-head); font-weight: 600; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem) !important; line-height: 1.6 !important; color: #fff; }
.a-ctaband .a-actions { justify-content: center; }
.a-ctaband--soft { background: var(--alf-bg); color: var(--alf-text); }
.a-ctaband--soft .a-ctaband__text { color: var(--alf-text); }
.a-inline-cta { margin-top: 48px; padding: 28px; background: var(--alf-bg); border-radius: var(--alf-radius); text-align: center; }
.a-inline-cta p { margin: 0 !important; }
.a-inline-cta .a-actions { justify-content: center; margin-top: 16px !important; }
.a-summary-lead { margin-top: 0; padding: 24px 28px; border-left: 4px solid var(--alf-green); background: var(--alf-bg); font-family: var(--alf-font-head); font-size: 1.125rem !important; font-weight: 600; line-height: 1.9 !important; color: var(--alf-green); }

/* ---------- フォーム ---------- */
.a-form-wrap { max-width: 800px; }
.a-form { display: grid; gap: 26px; }
.a-form__req-note { font-size: .9375rem !important; margin: 0 !important; }
.a-field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.a-field__label { font-weight: 700; font-size: 1rem; padding: 0; }
.a-req, .a-opt { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.a-req { background: #8C2F1E; color: #fff; }
.a-opt { background: #ECEBE5; color: var(--alf-muted); }
.a-input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; font-size: 1rem; font-family: inherit; color: var(--alf-text); border: 1.5px solid #A9AEA6; border-radius: var(--alf-radius); background: #fff; }
.a-input:focus { border-color: var(--alf-green); outline: 3px solid rgba(0,49,16,.25); outline-offset: 0; }
.a-input[aria-invalid="true"] { border-color: #8C2F1E; }
.a-input--short { max-width: 360px; }
.a-textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
select.a-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--alf-text) 50%), linear-gradient(135deg, var(--alf-text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.a-choices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.a-choices--type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .a-choices--type { grid-template-columns: 1fr; } }
.a-choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--alf-line); border-radius: var(--alf-radius); background: #fff; cursor: pointer; line-height: 1.5; }
.a-choice input { width: 20px; height: 20px; accent-color: var(--alf-green); flex: none; margin: 0; }
.a-choice:has(input:checked) { border-color: var(--alf-green); background: var(--alf-green-soft); }
.a-choice--inline { border: 0; padding: 4px 0; background: none !important; }
.a-field--consent .a-choice { border: 0; padding: 0; background: none !important; }
.a-field__error { color: #8C2F1E !important; font-weight: 700; font-size: .9375rem !important; margin: 0 !important; }
.a-form__group { display: grid; gap: 26px; padding: 24px; background: var(--alf-bg); border-radius: var(--alf-radius); }
.a-form__context { margin: 0 !important; padding: 10px 14px; background: var(--alf-green-soft); border-radius: var(--alf-radius); font-size: .9375rem !important; }
.a-form__submit { max-width: 360px; }
.a-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a-form-result { padding: 20px 24px; border-radius: var(--alf-radius); margin-bottom: 24px; }
.a-form-result:focus { outline: 3px solid var(--alf-focus); }
.a-form-result--ok { background: var(--alf-green-soft); border: 1.5px solid var(--alf-green); }
.a-form-result--ng { background: #FBEDEA; border: 1.5px solid #8C2F1E; color: #5B1E12; }
.a-form-result ul { margin: 8px 0 0; padding-left: 1.4em; }
.a-form-result .a-h3 { border: 0; padding: 0; }

/* ---------- 仕組み図（非上場株式） ---------- */
.a-diagram { margin: 8px 0 0; }
.a-diagram ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.a-diagram li { position: relative; text-align: center; padding: 0 10px; }
.a-diagram__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; background: var(--alf-green-soft); color: var(--alf-green); }
.a-diagram__icon svg { width: 34px; height: 34px; }
.a-diagram li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -5px; width: 10px; height: 10px; border-top: 2px solid var(--alf-green); border-right: 2px solid var(--alf-green); transform: rotate(45deg); }
.a-diagram__label { display: block; font-weight: 700; line-height: 1.5; }
@media (max-width: 767px) {
  .a-diagram ol { grid-template-columns: 1fr; gap: 22px; }
  .a-diagram li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; text-align: left; padding: 0; }
  .a-diagram__icon { width: 56px; height: 56px; margin: 0; }
  .a-diagram li:not(:last-child)::after { top: auto; bottom: -16px; left: 23px; right: auto; transform: rotate(135deg); }
}

/* チェックリスト */
.a-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.a-checklist li { position: relative; padding: 12px 14px 12px 44px; background: #fff; border: 1px solid var(--alf-line); border-radius: var(--alf-radius); line-height: 1.6; }
.a-checklist li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--alf-green); border-bottom: 2px solid var(--alf-green); transform: rotate(-45deg); }
@media (max-width: 767px) { .a-checklist { grid-template-columns: 1fr; } }
.a-wishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.a-wishes li { background: #fff; border-radius: var(--alf-radius); padding: 20px 22px; border: 1px solid var(--alf-line); font-weight: 500; line-height: 1.7; font-family: var(--alf-font-head); font-size: 1.0625rem; color: var(--alf-green); }

/* ---------- フッター ---------- */
.a-footer { background: var(--alf-green-deep); color: #fff; padding: clamp(48px, 6vw, 72px) 0 24px; }
.a-footer a { color: #fff !important; text-decoration: none !important; }
.a-footer a:hover { text-decoration: underline !important; }
.a-footer .a-btn--light { color: var(--alf-green) !important; text-decoration: none !important; }
.a-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px 56px; }
.a-footer__brand img { width: 220px; height: auto; }
.a-footer__name { margin-top: 16px !important; font-weight: 700; }
.a-footer__offices { margin: 12px 0 0; font-size: .875rem; line-height: 1.7; display: grid; gap: 10px; }
.a-footer__offices dt { font-weight: 700; }
.a-footer__offices dd { margin: 0; opacity: .9; }
.a-footer__contact { margin-top: 12px !important; font-size: .875rem !important; display: flex; gap: 16px; flex-wrap: wrap; }
.a-footer__cta { margin-top: 24px !important; }
.a-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.a-footer__head { font-size: .8125rem !important; letter-spacing: .08em; opacity: .75; margin: 0 0 10px !important; font-weight: 700; }
.a-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.a-footer__nav li a { display: inline-flex; align-items: center; min-height: 40px; font-size: .9375rem; }
.a-footer__nav ul ul { padding-left: 14px; }
.a-footer__nav ul ul a { font-size: .875rem; opacity: .9; min-height: 36px; }
.a-footer__copyright { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; font-size: .75rem !important; opacity: .8; }
@media (max-width: 1023px) { .a-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .a-footer__nav { grid-template-columns: 1fr 1fr; } .a-footer__nav .a-footer__col:first-child { grid-column: 1 / -1; } }

/* ---------- 既存本文との調和 ---------- */
body.alf .l-main { padding-bottom: 0; background-position: 100% 100%; }
body.alf .a-page-body > .l-container:last-child { padding-bottom: clamp(56px, 8vw, 104px); }
body.alf .a-page-body .c-btn-01 { min-height: 44px; display: inline-flex; align-items: center; }
body.alf .a-page-body .c-sec + .a-inline-cta { margin-top: 64px; }
body.alf .a-page-body .p-commitment { padding-bottom: clamp(56px, 8vw, 96px); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 調整 ---------- */
.a-container > .a-lead + .a-grid { margin-top: 32px; }
.a-sec--stories + .a-values { border-top: 1px solid var(--alf-line); }
.a-news__item .a-tag { justify-self: start; }
.a-applybar.is-hidden { transform: translateY(110%); }
.a-applybar { transition: transform .2s; }
body.alf .a-page-body .c-list li { font-size: 1rem; font-weight: 500; line-height: 1.8; }
html { scroll-padding-top: calc(var(--alf-header-h) + 16px); }
.a-richtext li + li { margin-top: 6px; }
