@charset "utf-8";

/* APON design system — component stylesheet.
   Loaded after tokens.css (every var(--color-*), --size-*, --radius-*, --font-* below comes from tokens.json).
   Class naming: c- component, p- page part, u- utility; BEM (__element, --modifier).
   The header, footer and nav markup is APON's own (c-header__inner, c-global-nav, c-footer__main). */

:root {
  /* fluid sizes: the clamp() ceilings are the type styles in tokens.json */
  --fs-h1: clamp(32px, 3vw, 40px);
  --fs-h2: clamp(26px, 2.25vw, 32px);
  --fs-h3: clamp(22px, 2vw, 26px);
  --fs-h4: clamp(20px, 1.8vw, 24px);
  --fs-xl: clamp(18px, 1.6vw, 20px);
  --fs-l: clamp(16px, 1.4vw, 18px);
  --fs-m: clamp(14px, 1vw, 16px);
  --fs-s: 14px;
  --fs-xs: 12px;
  --fs-display: clamp(40px, 5vw, 72px);
  --fw-bold: 500;
  --fw-heavy: 600;
  --fw-black: 700;
  --container: min(100% - var(--size-gutter) * 2, var(--width-contents-l));
  --header-h: var(--height-header, 88px);
  /* icon shapes: painted through mask-image, so every colour comes from a token */
  --shape-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M13.5 9L20.5 16L13.5 23' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shape-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M23 13L16 20L9 13' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shape-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Ccircle cx='14' cy='14' r='7' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M19.5 19.5L25 25' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --shape-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M10 10L22 22M22 10L10 22' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --shape-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='2' width='3.5' height='12' rx='1' fill='%23000'/%3E%3Crect x='9.5' y='2' width='3.5' height='12' rx='1' fill='%23000'/%3E%3C/svg%3E");
  --shape-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 2.5L13 8L4.5 13.5Z' fill='%23000' stroke='%23000' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shape-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12 9.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3.5M9.5 2H14v4.5M14 2L7.5 8.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --bg-dark: radial-gradient(circle at 86% 6%, #77cae538, transparent 28%), linear-gradient(145deg, var(--color-primary-900) 0%, var(--color-primary-700) 52%, var(--color-primary-600) 100%);
  --bg-light: linear-gradient(135deg, var(--color-surface-tint) 0%, var(--color-white) 65%);
  --hover-grad: linear-gradient(90deg, #0a5e8312, #0a5e8304);
}
@media (max-width: 767px) { :root { --size-gutter: var(--size-03); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* 固定ヘッダーに隠れない。ページ内リンク・フォーカス移動の両方に効く（[id] 側の scroll-margin は持たない。二重に空かない） */
 html { scroll-padding-top: calc(var(--header-h) + 64px); }
 .has-cookie-notice { scroll-padding-bottom: var(--cookie-notice-h, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  color: var(--color-text-base);
  background: var(--color-white);
  font-family: var(--font-sans, "Noto Sans JP", sans-serif);
  font-size: var(--fs-m);
  line-height: 1.8;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--fw-heavy); letter-spacing: var(--letter-spacing-m); line-height: 1.6; }
/* 見出しの改行: 語の途中で切らない（auto-phrase は未対応ブラウザでは無視される）。Safari 等では balance で1〜2文字だけの行落ちを減らす。TopHero の見出しは対象外 */
h1, h2, h3 { text-wrap: balance; }
/* 日本語の改行（2026-10-30 拡張）: 段落・リード・カード本文・ヒーロー上の団体名・表のセル・ボタンも語の途中で切らない。段落とリードは text-wrap: pretty で最終行の1〜2文字落ちを減らす */
:lang(ja) :is(h1, h2, h3, h4, p, li, dd, th, td, figcaption, .c-btn, .c-tbtn, .c-card__text, .c-news__title, .p-page-hero__a, .p-page-hero__sub, .p-page-hero__category) { word-break: auto-phrase; }
p, .c-section-head__lead, .p-page-hero__lead, .p-top-hero__lead { text-wrap: pretty; }
.p-top-hero__title, .p-top-hero__eyebrow { text-wrap: wrap; } /* 2026-11-17 eyebrow を h1 にしたので、h1 の balance を打ち消す */
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); } h4 { font-size: var(--fs-h4); }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a { color: var(--color-text-link); text-decoration: underline; }
p a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--color-gray-700); outline-offset: 2px; }
.u-inverse :focus-visible, .c-footer__bottom :focus-visible { outline-color: var(--color-white); }
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-en { font-family: var(--font-en, "Figtree", sans-serif); }
.u-bg-light { background: var(--bg-light); }
.u-bg-dark { background: var(--bg-dark); }
.u-bg-tint { background: var(--color-primary-50); }
.u-bg-tint .c-card__eyebrow { color: var(--color-primary-500); }
/* gray-600 text does not reach 4.5:1 on primary-50: side nav and pagination switch to gray-700 (hover / current states below still win) */
.u-bg-tint .c-side-nav a, .u-bg-tint .c-pagination a, .c-news-section .c-pagination a { color: var(--color-gray-700); }
.u-inverse { color: var(--color-white); }
.c-container { width: var(--container); margin-inline: auto; }
.c-contents { width: var(--container); margin-inline: auto; }
.c-contents--s > * { max-width: var(--width-contents-s); }
.c-sec { position: relative; padding-block: clamp(var(--size-05), 5vw, var(--size-10)); }
.c-skip-link { position: fixed; inset: 4px auto auto 4px; z-index: 9999; padding: 12px 16px; background: var(--color-white); transform: translateY(-150%); }
.c-skip-link:focus { transform: none; }

/* ---------- Button ---------- */
.c-btn {
  --btn-circle: var(--color-primary-400); --btn-arrow: var(--color-white);
  position: relative; display: inline-flex; align-items: center;
  min-width: 220px; max-width: 320px; min-height: 56px; padding: 12px 62px 12px 24px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font: inherit; font-size: 15px; font-weight: var(--fw-bold); line-height: 1.4; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.c-btn::before, .c-btn::after { content: ""; position: absolute; top: 50%; right: 14px; width: 32px; height: 32px; margin-top: -16px; pointer-events: none; }
.c-btn::before { border-radius: var(--radius-round); background: var(--btn-circle); transition: background-color .2s ease; }
.c-btn::after { background: var(--btn-arrow); -webkit-mask: var(--shape-arrow) center / 32px 32px no-repeat; mask: var(--shape-arrow) center / 32px 32px no-repeat; }
.c-btn--primary { color: var(--color-white); background-color: var(--color-primary-500); border-color: var(--color-primary-500); }
.c-btn--primary:hover { background-color: var(--color-primary-700); border-color: var(--color-primary-700); --btn-circle: var(--color-primary-500); }
.c-btn--quiet { --btn-circle: var(--color-primary-100); --btn-arrow: var(--color-primary-500); color: var(--color-primary-500); background-color: var(--color-white); border-color: var(--color-primary-200); }
.c-btn--quiet:hover { background-color: var(--color-primary-50); --btn-circle: var(--color-primary-300); }
.c-btn--compact { min-width: 0; min-height: 40px; padding: 6px 38px 6px 12px; font-size: var(--fs-xs); line-height: 1.3; }
.c-btn--compact::before, .c-btn--compact::after { right: 8px; width: 24px; height: 24px; margin-top: -12px; }
.c-btn--compact::after { -webkit-mask-size: 24px 24px; mask-size: 24px 24px; }
/* on dark: the two variants swap roles */
.u-inverse .c-btn--primary { --btn-circle: var(--color-primary-100); --btn-arrow: var(--color-primary-500); color: var(--color-primary-500); background-color: var(--color-white); border-color: var(--color-primary-200); }
.u-inverse .c-btn--primary:hover { background-color: var(--color-primary-50); border-color: var(--color-primary-200); --btn-circle: var(--color-primary-300); }
.u-inverse .c-btn--quiet { --btn-circle: var(--color-primary-400); --btn-arrow: var(--color-white); color: var(--color-white); background-color: var(--color-primary-500); border-color: var(--color-white); }
.u-inverse .c-btn--quiet:hover { background-color: var(--color-primary-700); --btn-circle: var(--color-primary-500); }
.c-actions { display: flex; flex-wrap: wrap; gap: var(--size-03); }

.c-action { position: relative; display: inline-block; flex: none; width: 40px; height: 40px; border: 1px solid var(--color-primary-500); border-radius: var(--radius-round); background-color: var(--color-primary-500); transition: background-color .2s ease, border-color .2s ease; }
.c-action::after { content: ""; position: absolute; inset: -1px; background: var(--color-white); -webkit-mask: var(--shape-arrow) center / 20px 20px no-repeat; mask: var(--shape-arrow) center / 20px 20px no-repeat; transition: background-color .2s ease; }
.c-action--outline { background-color: var(--alpha-white-light); border-color: var(--color-primary-300); }
.c-action--outline::after { background: var(--color-primary-500); }
a:hover .c-action--outline { background-color: var(--color-primary-500); border-color: var(--color-primary-500); }
a:hover .c-action--outline::after { background: var(--color-white); }
.c-tbtn { display: inline-flex; align-items: center; gap: var(--size-02); font-weight: var(--fw-bold); }
a.c-tbtn:hover { color: var(--color-primary-500); }
a.c-tbtn:hover .c-action { background-color: var(--color-primary-700); border-color: var(--color-primary-700); }
/* on dark: text button is white, hover primary-100 */
.u-inverse .c-tbtn { color: var(--color-white); }
.u-inverse a.c-tbtn:hover { color: var(--color-primary-100); }
.u-inverse a.c-tbtn:hover .c-action { background-color: var(--color-primary-100); border-color: var(--color-primary-100); }
.u-inverse .c-action { background-color: var(--color-white); border-color: var(--color-white); }
.u-inverse .c-action::after { background: var(--color-primary-500); }

/* ---------- Label ---------- */
.c-label-group { display: inline-flex; flex-wrap: wrap; gap: var(--size-01); }
.c-label { display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--size-01); font-size: var(--fs-s); font-weight: var(--fw-bold); line-height: 1.8; color: var(--color-primary-500); background: var(--color-white); border: 1px solid var(--color-primary-200); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.c-label--filled { background: var(--color-primary-50); border-color: transparent; }
a.c-label:hover, button.c-label:hover { color: var(--color-white); background: var(--color-primary-500); border-color: var(--color-primary-500); }
a.c-label--filled:hover { color: var(--color-primary-700); background: var(--color-primary-200); border-color: transparent; }
.c-label--s { font-size: var(--fs-xs); }

/* ---------- Note ---------- */
.c-note { padding: var(--size-005) var(--size-02); font-size: var(--fs-s); font-weight: var(--fw-bold); color: var(--color-primary-500); background: var(--color-primary-50); }
.c-note--caution { color: var(--color-caution-500); background: var(--color-caution-50); border: 1px solid var(--color-caution-100); }
.c-note--lg { padding: var(--size-02) var(--size-03); font-size: var(--fs-l); line-height: 1.7; } /* 目立たせる大きい版（large: true。お問い合わせの前のプライバシーポリシーの注意。2026-11-20） */

/* ---------- Breadcrumb ---------- */
.c-breadcrumb { font-size: var(--fs-s); overflow-x: auto; }
.c-breadcrumb ol { display: flex; flex-wrap: nowrap; margin: var(--size-005) 0; }
.c-breadcrumb li { display: flex; align-items: center; flex: none; }
.c-breadcrumb li:not(:last-child)::after { content: "›"; margin: 0 var(--size-03); color: var(--color-gray-500); }
.c-breadcrumb a { color: var(--color-primary-500); text-decoration: underline; }
.c-breadcrumb a:hover { text-decoration: none; }
.c-breadcrumb [aria-current="page"] { color: var(--color-gray-700); font-weight: var(--fw-bold); }

/* ---------- Pagination ---------- */
.c-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--size-02); margin-top: var(--size-05); }
.c-pagination a, .c-pagination button, .c-pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 32px; min-height: 32px; padding: 0 var(--size-01); font: inherit; font-family: var(--font-en, "Figtree", sans-serif); font-weight: var(--fw-bold); line-height: 1; color: var(--color-gray-700); background: none; border: 0; cursor: pointer; }
.c-pagination [aria-current="page"] { color: var(--color-primary-500); font-weight: var(--fw-heavy); cursor: default; }
.c-pagination a:hover { color: var(--color-primary-500); }
.c-pagination__ellipsis { cursor: default; }

/* ---------- Header (APON global navigation) ---------- */
body.is-menu-open { overflow: hidden; }
header.c-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--color-primary-100); backdrop-filter: blur(18px); }
.c-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--size-02); width: 100%; min-height: var(--header-h); padding-inline: var(--size-gutter); }
.c-brand { display: inline-flex; flex: none; align-items: center; }
.c-brand__logo { display: block; width: clamp(210px, 16vw, 280px); height: auto; }
.c-global-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: clamp(9px, 1.5vw, 16px); }
.c-global-nav__list { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 28px); margin-left: auto; font-size: var(--fs-s); font-weight: var(--fw-heavy); }
.c-global-nav__list a { display: block; padding: 10px 0; color: var(--color-gray-800); line-height: 1.5; white-space: nowrap; }
.c-global-nav__list a:hover, .c-global-nav__list a[aria-current="page"] { color: var(--color-primary-500); }
.c-header-actions { display: flex; align-items: center; gap: 9px; padding-left: clamp(5px, .8vw, 14px); border-left: 1px solid var(--color-primary-100); }
.c-language select { width: 152px; padding: 9px 29px 9px 12px; font: inherit; font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; color: var(--color-gray-600); background: var(--color-white); border: 1px solid var(--color-gray-500); border-radius: var(--radius-pill); }
.c-menu-button { display: none; width: 44px; height: 44px; margin: 0 -9px 0 auto; padding: 9px; background: none; border: 0; cursor: pointer; }
.c-menu-button span:not(.u-visually-hidden) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--color-primary-900); }
@media (max-width: 1360px) {
  .c-menu-button { display: block; }
  .c-global-nav { position: fixed; inset: var(--header-h) 0 auto 0; display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - var(--header-h)); padding: var(--size-03) var(--size-gutter); overflow: auto; background: var(--color-white); }
  .c-global-nav.is-open { display: flex; }
  .c-global-nav__list, .c-header-actions { flex-direction: column; align-items: stretch; margin: 0; }
  .c-global-nav__list a { padding: 10px 0; }
  .c-header-actions { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--color-primary-100); }
  .c-language select, .c-header-actions .c-btn { width: 100%; max-width: 320px; }
}
@media (max-width: 560px) { :root { --header-h: 76px; } .c-brand__logo { width: 190px; } .c-language select, .c-header-actions .c-btn { max-width: none; } }

/* ---------- Footer ---------- */
.c-footer { color: var(--color-gray-700); background: var(--color-white); border-top: 1px solid var(--color-primary-100); }
.c-footer__main { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr); gap: clamp(40px, 7vw, 100px); width: 100%; padding: clamp(48px, 7vw, 80px) var(--size-gutter); }
.c-footer .c-brand { margin-bottom: var(--size-01); }
.c-footer .c-brand__logo { width: min(100%, 280px); }
.c-footer__main > div:first-child > .c-footer__slogan { max-width: none; margin-bottom: var(--size-025); font-family: var(--font-en); font-size: var(--fs-s); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: var(--letter-spacing-m); color: var(--color-gray-600); white-space: nowrap; }
.c-footer__main > div:first-child > p { max-width: 380px; line-height: 1.9; }
.c-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.c-footer__links h2 { margin-bottom: var(--size-02); font-size: 16px; font-weight: var(--fw-heavy); line-height: 1.5; color: var(--color-primary-900); letter-spacing: 0; }
.c-footer__links li + li { margin-top: var(--size-01); }
.c-footer__links a:is(:hover, :focus-visible) { color: var(--color-primary-500); text-decoration: underline; text-underline-offset: .25em; }
.c-footer__bottom { color: var(--color-white); background: var(--color-gray-800); font-size: var(--fs-xs); }
.c-footer__bottom > .c-container { padding-block: 8px; text-align: center; }
/* Footer meta: AI translation note + language links (2026-11-18) */
.c-footer__meta { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr); gap: var(--size-04) clamp(40px, 7vw, 100px); align-items: start; margin-inline: var(--size-gutter); padding-block: var(--size-04) var(--size-06); border-top: 1px solid var(--color-gray-100); }
.c-footer__note { grid-column: 1; line-height: 1.9; }
.c-footer__note p + p { margin-top: var(--size-005); }
.c-footer__note a { display: inline-flex; align-items: center; min-height: 44px; }
.c-footer__langs { grid-column: 2; margin-block: calc((1.9em - 44px) / 2); }
.c-footer__langs ul { display: flex; flex-wrap: wrap; column-gap: var(--size-03); }
.c-footer__langs :is(a, span) { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.7; }
.c-footer__langs a:is(:hover, :focus-visible) { color: var(--color-primary-500); text-decoration: underline; text-underline-offset: .25em; }
.c-footer__langs [aria-current] { font-weight: var(--fw-heavy); color: var(--color-gray-900); }
@media (max-width: 1023px) { .c-footer__meta { grid-template-columns: 1fr; } .c-footer__note, .c-footer__langs { grid-column: 1; } .c-footer__langs { margin-block: 0; } }
@media (max-width: 520px) { .c-footer__langs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .c-footer__main { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) { .c-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .c-footer__links { grid-template-columns: 1fr; } }

/* ---------- Section heading ---------- */
.c-section-head { margin-bottom: var(--size-06); }
.c-section-head__en { display: flex; align-items: center; gap: var(--size-01); margin-bottom: var(--size-01); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-xl); text-transform: uppercase; color: var(--color-primary-500); }
.c-section-head__en::before { content: ""; display: inline-block; width: var(--size-04); height: 1px; background: currentColor; }
.c-section-head__ja { font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-m); color: var(--color-primary-500); margin-bottom: var(--size-01); }
.c-section-head__title { font-size: var(--fs-h2); font-weight: var(--fw-heavy); letter-spacing: var(--letter-spacing-m); color: var(--color-primary-900); }
.c-section-head__lead { margin-top: var(--size-02); color: var(--color-gray-700); } /* 本文の箱の幅いっぱいまで伸ばす（2026-11-06 運用責任者の指摘。960px で文の途中で折り返していた。その前の 2026-11-02 に 640px→960px） */
.c-section-head__lead-line { display: block; } /* head の lead_lines: 句ごとに必ず改行する（768px 以上。inline-block だと幅に余裕があるとき同じ行に並んだ）。スマホは普通に流す（2026-11-19 運用責任者の指摘。TopHero の lead_lines と同じ考え方） */
@media (max-width: 767px) { .c-section-head__lead-line { display: inline; } }
.c-section-head--split { display: grid; grid-template-columns: max-content 1fr; gap: var(--size-04); align-items: end; justify-content: space-between; }
.c-section-head--split .c-section-head__lead { margin: 0; justify-self: end; }
.c-section-head--center { text-align: center; }
.c-section-head--center .c-section-head__en { justify-content: center; }
.c-section-head--center .c-section-head__lead { margin-inline: auto; max-width: var(--width-contents-s); }
.u-inverse .c-section-head__en, .u-inverse .c-section-head__ja { color: var(--color-primary-300); }
.u-inverse .c-section-head__title { color: var(--color-white); }
.u-inverse .c-section-head__lead { color: var(--color-primary-100); }
@media (max-width: 1024px) { .c-section-head--split { grid-template-columns: 1fr; gap: 0; } .c-section-head--split .c-section-head__lead { justify-self: start; margin-top: var(--size-02); } }
.p-bg-word { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.p-bg-word span { position: absolute; top: .05em; left: -.04em; font-family: var(--font-en, "Figtree", sans-serif); font-size: min(14vw, 210px); font-weight: var(--fw-black); line-height: 1; color: #0a5e8309; }
.u-inverse .p-bg-word span { color: var(--alpha-white-weak); }

/* ---------- Page hero (lower pages) ---------- */
.p-page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--color-gray-100); background: var(--bg-light); }
.p-page-hero__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgb(10 94 131 / .055) 1px, transparent 1px), linear-gradient(to bottom, rgb(10 94 131 / .055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(to right, #000, transparent 90%); mask-image: linear-gradient(to right, #000, transparent 90%); }
.p-page-hero__inner { position: relative; display: flex; align-items: center; gap: var(--size-08); width: var(--container); margin-inline: auto; padding-block: clamp(48px, 7vw, 96px); }
.p-page-hero--compact .p-page-hero__inner { padding-block: clamp(32px, 4vw, 56px); }
.p-page-hero__copy { flex: 1; min-width: 0; }
.p-page-hero__category { display: flex; align-items: center; gap: 12px; margin-bottom: var(--size-03); font-size: var(--fs-s); font-weight: var(--fw-bold); line-height: 1; color: var(--color-primary-500); }
.p-page-hero__category::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-round); background: var(--color-primary-500); box-shadow: 0 0 0 5px #4a9bbe1f; }
.p-page-hero__category span + span { display: flex; align-items: center; gap: 12px; }
.p-page-hero__category span + span::before { content: ""; width: 40px; height: 1px; background: var(--color-primary-500); }
.p-page-hero__title { font-size: var(--fs-h1); line-height: 1.6; color: var(--color-primary-900); }
.p-page-hero__title strong { font-weight: var(--fw-black); }
.p-page-hero__a { display: block; margin-top: var(--size-02); font-size: var(--fs-h4); font-weight: var(--fw-bold); color: var(--color-primary-700); }
.p-page-hero__sub { display: block; margin-top: var(--size-02); font-size: var(--fs-m); font-weight: var(--fw-bold); letter-spacing: var(--letter-spacing-s); color: var(--color-primary-400); }
.p-page-hero__lead { margin-top: var(--size-03); line-height: 2; letter-spacing: var(--letter-spacing-s); color: var(--color-gray-700); }
.p-page-hero .c-actions { margin-top: var(--size-04); }
.p-page-hero__visual { position: relative; flex: 1; align-self: stretch; min-height: 320px; background: var(--color-primary-100) center / cover; }
.p-page-hero__visual::before, .p-page-hero__visual::after { content: ""; position: absolute; width: 42%; height: 34%; opacity: .45; }
.p-page-hero__visual::before { bottom: -28px; left: -28px; border-bottom: 1px solid var(--color-primary-300); border-left: 1px solid var(--color-primary-300); }
.p-page-hero__visual::after { top: -28px; right: -28px; border-top: 1px solid var(--color-primary-300); border-right: 1px solid var(--color-primary-300); }
/* photo with its own ratio (3:2): show the whole picture instead of cropping it to the row height */
.p-page-hero__visual--photo { align-self: center; min-height: 0; aspect-ratio: 3 / 2; }
@media (max-width: 1024px) { .p-page-hero__inner { flex-direction: column; align-items: stretch; } .p-page-hero__visual--photo { align-self: stretch; } .p-page-hero__visual::before, .p-page-hero__visual::after { display: none; } }
/* 用語カード（用語ページの compact ヒーローの右。辞書の見出しのような面のカード。1279px 以下では出さない＝本文が折り返してヒーローが高くならないように） */
.p-page-hero__term { display: none; }
@media (min-width: 1280px) { .p-page-hero__term { display: block; flex: none; width: clamp(320px, 30vw, 520px); padding: var(--size-04); background: var(--color-primary-50); border-radius: var(--radius-m); } }
.p-page-hero__term-head { display: flex; align-items: center; gap: var(--size-02); padding-bottom: var(--size-02); border-bottom: 1px solid var(--color-primary-200); }
.p-page-hero__term-mark { position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 40px; height: 46px; padding-top: 1px; font-family: var(--font-en); font-size: 19px; font-weight: var(--fw-heavy); line-height: 1; color: var(--color-white); background: var(--color-primary-700); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.p-page-hero__term-mark::before, .p-page-hero__term-mark::after { content: ""; position: absolute; z-index: -1; clip-path: inherit; }
.p-page-hero__term-mark::before { inset: 4px; background: var(--color-primary-400); }
.p-page-hero__term-mark::after { inset: 5.5px; background: var(--color-primary-700); }
.p-page-hero__term-label { font-family: var(--font-en); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-xl); text-transform: uppercase; color: var(--color-primary-500); }
.p-page-hero__term-name { margin-top: var(--size-03); font-family: var(--font-en); font-size: clamp(26px, 2.1vw, 36px); font-weight: var(--fw-heavy); line-height: 1.2; letter-spacing: 0; color: var(--color-primary-900); text-wrap: balance; overflow-wrap: anywhere; }

/* ---------- Top hero (home page only: 高さ固定の本体 p-top-hero__main ＋ 直下の Pick up p-top-hero__sub) ----------
   本体: 方眼 → 海岸線の地図 → つなぐ弧と点 の背景、左に文字、右に六角形の窓（動画・写真・バッジ）、下段に数値4つ。
   色は tokens の変数だけ。グラデーションはマスク（#000 は透明度の指定で色ではない）のみ。 */
.p-top-hero { position: relative; }
.p-top-hero__main { --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); --hex-closed: polygon(50% 45%, 55% 47.5%, 55% 52.5%, 50% 55%, 45% 52.5%, 45% 47.5%); --hero-h: 812px; --stats-h: 112px; --ease-out: cubic-bezier(.22, 1, .36, 1); position: relative; height: var(--hero-h); overflow: hidden; background: var(--color-white); border-bottom: 1px solid var(--color-primary-200); isolation: isolate; }
/* 数値の段の上の全幅の罫線（方眼の縦線はここで止まる） */
.p-top-hero__main::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: var(--stats-h); background: var(--color-white); }
.p-top-hero__main::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: var(--stats-h); height: 1px; background: var(--color-primary-200); }

/* 位置のずれ（視差＋マウス。JS が --py / --mx / --my を入れる） */
.p-top-hero__vx, .p-top-hero__map, .p-top-hero__grid-svg { transform: translate3d(var(--mx, 0px), calc(var(--py, 0px) + var(--my, 0px)), 0); will-change: transform; }

/* 背景 1段目: 方眼（経緯線） */
.p-top-hero__grid { position: absolute; z-index: 0; left: 0; right: 0; top: 0; bottom: var(--stats-h); overflow: hidden; pointer-events: none; }
.p-top-hero__grid-svg { position: absolute; right: -4%; top: -90px; width: 80%; aspect-ratio: 1200 / 1050; overflow: visible; }
.p-top-hero__grid-svg path { fill: none; stroke: var(--color-primary-100); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }

/* 背景 2段目: 海岸線（線の地図。上の端だけ消える） */
.p-top-hero__map { position: absolute; z-index: 0; left: 14%; top: -10px; width: 52%; aspect-ratio: 1200 / 1050; pointer-events: none; --coast-sw: 1.4; }
.p-top-hero__coast-box { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%); }
.p-top-hero__coast { display: block; width: 100%; height: 100%; opacity: .5; } /* 文字の下に来るので薄く（2026-11-02 運用責任者の指摘で .82 → .5） */
.p-top-hero__coast path { fill: none; stroke: var(--color-primary-200); stroke-width: var(--coast-sw); stroke-linejoin: round; stroke-linecap: round; }
/* 背景 3段目: 各地をつなぐ弧と点（都市名は出さない） */
.p-top-hero__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p-top-hero__arcs path { fill: none; stroke: var(--color-primary-300); stroke-width: 1.5; stroke-linecap: round; opacity: .5; }
.p-top-hero__arcs-dash path { stroke: var(--color-primary-200); stroke-width: 1.5; stroke-dasharray: 2 6; opacity: .55; }
.p-top-hero__arcs-signal { display: none; }
.p-top-hero__arcs-signal path { stroke: var(--color-primary-400); stroke-width: 2.4; }
.p-top-hero__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: var(--radius-round); background: var(--color-primary-300); box-shadow: 0 0 0 3px var(--color-primary-50); }
.p-top-hero__dot--sub { background: var(--color-primary-200); }

/* 文字（下から置く。文字が増えたら上へ伸びる） */
.p-top-hero__copy { position: absolute; z-index: 4; left: var(--size-gutter); bottom: calc(var(--stats-h) + 88px); width: min(840px, 58vw); } /* 2026-11-04: 文章側を広げ（540px/38vw → 840px/58vw）、文字を約1.3倍、六角形を小さく右上へ */
.p-top-hero__eyebrow { margin: 0 0 var(--size-03); font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; color: var(--color-primary-500); } /* 2026-11-06「無骨」→ 19px・600・primary-700 から、小さく細く、字間を広げた */
.p-top-hero__title { margin: 0; font-family: var(--font-en); font-size: clamp(40px, 6vw, 86px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; color: var(--color-primary-700); } /* 2026-11-06「一部真っ黒」→ primary-900・400 から primary-700・300 に */
.p-top-hero__title > span, .p-top-hero__title > strong { display: block; }
.p-top-hero__title > strong { position: relative; isolation: isolate; width: fit-content; font-size: 1.08em; font-weight: 700; letter-spacing: -.035em; color: var(--color-primary-500); } /* 2026-11-06「Open Badges だけ目立たせたい」: 太く・少し大きく、下に薄い青の帯 */
.p-top-hero__title > strong::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.06em; bottom: .1em; height: .26em; background: var(--color-primary-100); transform-origin: left center; }
.p-top-hero__lead { max-width: 36em; margin: var(--size-04) 0 0; font-size: 20px; font-weight: 400; line-height: 1.95; letter-spacing: .02em; color: var(--color-gray-700); }
.p-top-hero__lead-line { display: inline-block; } /* content の lead_lines: 句ごとに折り返す（768px 以上）。スマホは普通に流す */ /* 2026-11-06 23px・gray-800 から、少し小さく・ゆったり・やわらかい色に */
.p-top-hero__main .c-actions { margin-top: var(--size-05); gap: var(--size-015); }

/* 六角形（2026-11-06 ハニカム案）: 写真・動画・バッジの台・オレンジの小六角形を、すべて1つの六角形の格子にのせる。線（輪・円）は使わず面で見せる。
   格子のピッチ --p、すき間 --g（p の 1/4）。各六角形は --hs（大きさ。幅 = (2×hs+1)×p − g。0=1マス、1=3マス、2=5マス、4=9マス）と
   --q / --r（格子の座標。大の六角形の中心が 0,0。右へ q、右下へ r）で置く。接する2つのあいだは、どの幅でも --g にそろう。
   大の六角形の右端を size-gutter の線（ナビ・数値の帯の右端と同じ）にそろえ（--ox）、まとまり全体の上下の中心を --oy で決める。
   幅ごとに変えるのは --p・--oy と各六角形の --q / --r と表示・非表示だけ（下の「配置」）。六角形どうしは同じ視差で一体に動き、浮遊するのは台の上のバッジだけ */
.p-top-hero__visual { position: absolute; z-index: 2; inset: 0; pointer-events: none; --kA: 4; --g: calc(var(--p) / 4); --ox: calc(100% - var(--size-gutter) - (var(--kA) * 2 + 1) * var(--p) / 2 + var(--g) / 2); }
.p-top-hero__vx { position: absolute; }
.p-top-hero__float { width: 100%; height: 100%; }
.p-top-hero__cell { z-index: 2; --w: calc((2 * var(--hs) + 1) * var(--p) - var(--g)); left: calc(var(--ox) + (var(--q) + var(--r) * .5) * var(--p) - var(--w) * .5); top: calc(var(--oy) + var(--r) * .866025 * var(--p) - var(--w) * .57735); width: var(--w); aspect-ratio: .866025; }
/* 配置（1800px 以上）: 大を右上、中を左下に置き、バッジの台3つを上から左下へ階段状に。オレンジは大の右上の辺に接する */
.p-top-hero__visual { --p: min(calc(2.5vw + 2px), 54px); --oy: calc(345px - .1443 * var(--p)); }
.p-top-hero__vx--big   { --hs: 4; --q: 0;  --r: 0; }
.p-top-hero__vx--mid   { --hs: 2; --q: -9; --r: 4; }
.p-top-hero__vx--tile1 { --hs: 1.8; --q: -8; --r: -2; }
.p-top-hero__vx--tile2 { --hs: 1.4; --q: -12.5; --r: 3; }
.p-top-hero__vx--tile3 { --hs: 1.1; --q: 1.5; --r: 5.2; }
.p-top-hero__vx--solid { --hs: 0; --q: 5;  --r: -5; }

/* 面: バッジの台（primary-100）とオレンジの小六角形（accent-500。このヒーローだけの例外で1つだけ）。バッジは台の内側で浮遊する（台は動かない） */
.p-top-hero__face { position: absolute; inset: 0; display: block; background: var(--color-primary-100); clip-path: var(--hex); }
.p-top-hero__face--accent { background: var(--color-accent-500); }
.p-top-hero__cell > .p-top-hero__float { position: absolute; inset: 0; width: auto; height: auto; } /* バッジは台を置かず、そのまま浮かべる（2026-11-06 運用責任者「バッジの背景が六角形はへん」）。--tile* の --hs・--q・--r は、バッジの大きさと位置だけに使う（格子からは外れてよい） */
/* 写真・動画の窓（白い縁つきの六角形）。動画は JS が条件を確かめて再生。大の六角形の静止画は、動画が再生される見込みのとき（html.has-video）だけ出さない（動画の前に別の写真が見えないように）。再生されないとき（スマホ・動きを止めた表示・データ節約・一時停止・読み込めない）は静止画が出る */
.p-top-hero__hex { position: relative; width: 100%; height: 100%; background: var(--color-white); clip-path: var(--hex); }
.p-top-hero__hex-ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--color-primary-100); clip-path: var(--hex); }
.p-top-hero__hex-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; transform-origin: center; }
.p-top-hero__hex-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-top-hero__hex-img--big { object-position: 45% 50%; }
html.has-video:not(.is-paused) .p-top-hero__hex-img--big { display: none; }
html.has-video:not(.is-paused) .p-top-hero__vx--big .p-top-hero__hex-ph { background: var(--color-white); } /* 動画が出るまでの面は白（薄い青を見せない） */
.p-top-hero__hex-img--mid { object-position: 50% 50%; } /* 写真（握手する2人とノートPC）。写真の中心を六角形の中心に */
.p-top-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity .5s ease; }
.p-top-hero__video.is-ready { opacity: 1; }

/* バッジ画像 */
.p-top-hero__bdg { position: relative; display: block; width: 100%; height: 100%; }
.p-top-hero__bdg img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 数値（下段 112px） */
.p-top-hero__stats { position: absolute; z-index: 5; left: var(--size-gutter); right: calc(var(--size-gutter) + 56px); bottom: 0; height: var(--stats-h); display: flex; align-items: center; }
/* 縦罫線: 全項目に border-left を付け、リスト側を左に1項目分の余白ぶん広げて overflow: hidden で切る。折り返して行の先頭になった項目の罫線は切れて見えない（先頭の文字位置は帯の左端にそろう）。下線（stat-num の -7px）が切れないよう上下に余白を足す */
.p-top-hero__stats-list { display: flex; flex-wrap: wrap; align-items: center; row-gap: var(--size-02); margin: calc(var(--size-01) * -1) 0 calc(var(--size-01) * -1) calc(var(--size-05) * -1); padding: var(--size-01) 0 var(--size-03); margin-bottom: calc(var(--size-03) * -1); overflow: hidden; list-style: none; }
.p-top-hero__stats-list li { display: flex; flex-direction: column; gap: 2px; margin-left: -1px; padding-inline: var(--size-05); border-left: 1px solid var(--color-primary-200); height: 44px; justify-content: center; }
.p-top-hero__stat-label { font-size: 14px; line-height: 1.4; color: var(--color-gray-700); }
.p-top-hero__stat-num { position: relative; display: flex; align-items: baseline; gap: 4px; font-family: var(--font-en); font-weight: 700; font-size: 40px; line-height: 1.1; color: var(--color-primary-700); white-space: nowrap; }
.p-top-hero__stat-num::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--color-primary-300); transform-origin: left center; }
.p-top-hero__stat-unit { font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: 0; }
.p-top-hero__stats-date { max-width: 14em; margin: 0 0 0 auto; font-size: 14px; line-height: 1.4; color: var(--color-gray-700); }
.p-top-hero__stats-date span { display: block; }

/* 一時停止ボタン（1つで動きを全部止める。動画・視差・マウス・浮遊・信号） */
.p-top-hero__pause { position: absolute; z-index: 6; right: var(--size-gutter); bottom: 36px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--color-primary-300); border-radius: var(--radius-round); background: var(--color-white); color: var(--color-primary-500); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.p-top-hero__pause::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--shape-pause) center / contain no-repeat; mask: var(--shape-pause) center / contain no-repeat; }
html.is-paused .p-top-hero__pause::before { -webkit-mask-image: var(--shape-play); mask-image: var(--shape-play); }
.p-top-hero__pause:hover { color: var(--color-white); background: var(--color-primary-500); border-color: var(--color-primary-500); }
.p-top-hero__pause:focus-visible { outline: 2px solid var(--color-gray-700); outline-offset: 2px; }
.p-top-hero__pause[hidden], html.is-reduced .p-top-hero__pause { display: none; }

/* 動き（止めた表示では当てない。止めた表示は基本の指定が完成形） */
@media (prefers-reduced-motion: no-preference) {
  /* 文字の登場（2026-11-06 運用責任者「文字の出方を少しだけ動き入れて」）: 団体名 → 見出し1行ずつ → リード → ボタンの順に、14px 下から浮かび上がる。止めた表示では最初から出ている */
  html:not(.is-reduced) .p-top-hero__eyebrow,
  html:not(.is-reduced) .p-top-hero__title > span,
  html:not(.is-reduced) .p-top-hero__title > strong,
  html:not(.is-reduced) .p-top-hero__lead,
  html:not(.is-reduced) .p-top-hero__main .c-actions { animation: apon-hero-text-in .9s var(--ease-out) both; }
  html:not(.is-reduced) .p-top-hero__eyebrow { animation-delay: .1s; }
  html:not(.is-reduced) .p-top-hero__title > span:nth-child(1) { animation-delay: .22s; }
  html:not(.is-reduced) .p-top-hero__title > span:nth-child(2) { animation-delay: .34s; }
  html:not(.is-reduced) .p-top-hero__title > strong { animation-delay: .46s; }
  html:not(.is-reduced) .p-top-hero__lead { animation-delay: .62s; }
  html:not(.is-reduced) .p-top-hero__title > strong::after { animation: apon-hero-line-grow .9s var(--ease-out) 1.05s both; }
  html:not(.is-reduced) .p-top-hero__main .c-actions { animation-delay: .76s; }
  html:not(.is-reduced) .p-top-hero__hex { animation: apon-hero-hex-open .8s .1s var(--ease-out) both; }
  html:not(.is-reduced) .p-top-hero__vx--mid .p-top-hero__hex { animation-delay: .3s; }
  html:not(.is-reduced) .p-top-hero__face { animation: apon-hero-hex-open .8s var(--ease-out) both; animation-delay: calc(.2s + var(--k, 0) * .1s); }
  html:not(.is-reduced) .p-top-hero__hex-inner { animation: apon-hero-ph-zoom .8s .1s var(--ease-out) both; }
  html:not(.is-reduced) .p-top-hero__vx--mid .p-top-hero__hex-inner { animation-delay: .3s; }
  /* 2026-11-17: 動画の六角形（大）だけ、clip-path の形を変える動きと拡大（1.15→1）をやめて、フェードだけにする。clip-path のアニメーションは毎コマ描き直しで重く、拡大中は動画が荒く見えて、読み込み時に動画が止まる・ガビガビする原因になっていた */
  html:not(.is-reduced) .p-top-hero__vx--big .p-top-hero__hex { animation: apon-hero-fade-in .5s .1s ease-out both; }
  html:not(.is-reduced) .p-top-hero__vx--big .p-top-hero__hex-inner { animation: none; }
  html:not(.is-reduced) .p-top-hero__in { animation: apon-hero-fig-in .8s var(--ease-out) both; animation-delay: calc(.5s + var(--k, 0) * .1s); }
  /* 線が描かれ、窓が開く: 方眼 → 海岸線 → つなぐ点 → つなぐ線 → 信号 */
  html:not(.is-reduced) .p-top-hero__grid-svg { animation: apon-hero-fade-in .8s ease-out both; }
  html:not(.is-reduced) .p-top-hero__coast path { stroke-dasharray: 1; animation: apon-hero-line-draw 1.4s cubic-bezier(.45, 0, .2, 1) both; animation-delay: calc(.2s + var(--d, 0) * .8s); }
  html:not(.is-reduced) .p-top-hero__dot { animation: apon-hero-dot-in .4s var(--ease-out) both; animation-delay: calc(1.4s + var(--k) * .06s); }
  html:not(.is-reduced) .p-top-hero__arcs > path { stroke-dasharray: 1; animation: apon-hero-line-draw .8s ease-out both; animation-delay: calc(1.7s + var(--k, 0) * .05s); }
  html:not(.is-reduced) .p-top-hero__arcs-dash { animation: apon-hero-fade-in .8s ease-out 2.2s both; }
  html:not(.is-reduced) .p-top-hero__arcs-signal { display: inline; }
  html:not(.is-reduced) .p-top-hero__arcs-signal path { stroke-dasharray: .06 1; animation: apon-hero-signal 7.2s linear infinite both; animation-delay: calc(3s + var(--k) * 1.2s); }
  /* 数値の下の線 */
  html:not(.is-reduced) .p-top-hero__stat-num::after { animation: apon-hero-line-grow 1.2s ease-out both; animation-delay: calc(.6s + var(--n) * .1s); }
  /* 浮遊（0pxから始め、往復） */
  html:not(.is-reduced) .p-top-hero__float { animation: apon-hero-float var(--fd) ease-in-out var(--fl) infinite alternate; }
}
/* 一時停止・画面外では続く動き（浮遊と信号）を止める */
html.is-paused .p-top-hero__float, html.is-paused .p-top-hero__arcs-signal path,
.p-top-hero__main.is-offscreen .p-top-hero__float, .p-top-hero__main.is-offscreen .p-top-hero__arcs-signal path { animation-play-state: paused; }

@keyframes apon-hero-hex-open { from { clip-path: var(--hex-closed); } to { clip-path: var(--hex); } }
@keyframes apon-hero-ph-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes apon-hero-fig-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes apon-hero-text-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes apon-hero-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes apon-hero-fade-from-0 { from { opacity: 0; } }
@keyframes apon-hero-dot-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes apon-hero-line-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes apon-hero-signal { 0% { stroke-dashoffset: .06; } 16.67% { stroke-dashoffset: -1; } 100% { stroke-dashoffset: -1; } }
@keyframes apon-hero-line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes apon-hero-float { from { transform: translateY(0); } to { transform: translateY(var(--fa)); } }

/* 配置（1024〜1799px）: 大を右上、中を右下に置いて右端をそろえ、バッジの台2つを左に互い違いに。3つ目の台は出さない。1800px 未満で横に流れる配置にすると、リードが長い言語（文字の箱いっぱい）で中・台と当たるため */
@media (max-width: 1799px) {
  .p-top-hero__visual { --p: min(2.9vw, 41px); --oy: calc(345px - 2.3094 * var(--p)); }
  .p-top-hero__vx--mid   { --q: -2; --r: 8; }
  .p-top-hero__vx--tile1 { --hs: 1.7; --q: -6.4; --r: .6; }
  .p-top-hero__vx--tile2 { --q: -7.3; --r: 8.2; }
  .p-top-hero__vx--tile3 { display: none; }
}
/* 配置（768〜1023px）: 文字の右の列に縦に積む。オレンジは小さくなりすぎるので出さない */
@media (max-width: 1023px) {
  .p-top-hero__visual { --p: 2.9vw; --oy: calc(400px - 1.0104 * var(--p)); }
  .p-top-hero__vx--tile1 { --hs: 1.3; --q: -6.6; --r: 8; }
  .p-top-hero__vx--tile2 { --hs: 1.2; --q: 4; --r: -8; }
  .p-top-hero__vx--solid { display: none; }
}
/* 画面幅ごとの調整（文字と中の六角形がぶつからないように。海岸線は画面上で約1px のまま） */
@media (max-width: 1280px) { .p-top-hero__map { --coast-sw: 1.55; } }
/* 広い画面（1441px〜）: 左の文字の部分を約15%大きく（2026-11-06 運用責任者「左側エリアをあと10〜20%大きく」）。
   文字は下から置くので、ヒーローを 88px 高くしてヘッダーとのすき間を保ち、六角形のまとまりは半分（44px）下げて上下の中心を合わせる */
@media (min-width: 1441px) {
  .p-top-hero__main { --hero-h: 900px; }
  .p-top-hero__visual { --oy: calc(389px - .1443 * var(--p)); }
  .p-top-hero__copy { width: min(966px, 58vw); }
  .p-top-hero__eyebrow { font-size: 18px; }
  .p-top-hero__title { font-size: clamp(40px, 6vw, 99px); }
  .p-top-hero__lead { font-size: 23px; }
  .p-top-hero__main .c-actions { margin-top: var(--size-06); gap: var(--size-02); }
  .p-top-hero__main .c-actions .c-btn { min-width: 252px; max-width: 368px; min-height: 64px; padding: 14px 72px 14px 28px; font-size: 17px; }
  .p-top-hero__main .c-actions .c-btn::before, .p-top-hero__main .c-actions .c-btn::after { right: 16px; width: 36px; height: 36px; margin-top: -18px; }
  .p-top-hero__main .c-actions .c-btn::after { -webkit-mask-size: 36px 36px; mask-size: 36px 36px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .p-top-hero__copy { width: 58vw; }
  .p-top-hero__lead { font-size: 18px; }
  .p-top-hero__map { --coast-sw: 1.9; }
  /* 実績帯: 基準日が入りきらない幅では、日付をリストの下の行（1行）に回す。単位が長い言語ではリストが折り返し、帯が上へ伸びる */
  .p-top-hero__stats { flex-direction: column; align-items: flex-start; justify-content: center; height: auto; min-height: var(--stats-h); padding-block: var(--size-02); }
  .p-top-hero__stats-date { max-width: none; margin: calc(var(--size-03) + var(--size-01)) 0 0; } /* 数値の下線（文字の下 7px）とのすき間を約 size-03 にする。size-02 だと数 px しか空かない */
  .p-top-hero__stats-date span { display: inline; }
  .p-top-hero__stats-date span:first-child { margin-right: .75em; }
}
/* 960〜1100px: 4項目は1段に入る（項目の合計716px、帯は960pxで約761px）。日付は下の行（上の規則）。その行の分だけ帯を高くし（--stats-h: 136px）、ヒーロー本体も同じ増分だけ高くする */
@media (min-width: 960px) and (max-width: 1023px) {
  .p-top-hero__main { --stats-h: 136px; --hero-h: calc(880px + var(--stats-h) - 112px); }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  .p-top-hero__main { --stats-h: 136px; --hero-h: calc(812px + var(--stats-h) - 112px); }
}
/* 768〜959px: 4項目が1段に入らない幅（項目の合計約716px に対し、帯は768pxで約597px）。スマホと同じ 2×2 にし、帯の高さ（--stats-h）を罫線・白地・方眼の下端と同じ値にする。ヒーロー本体は増えた分だけ高くし、上の領域は今のまま */
@media (min-width: 768px) and (max-width: 959px) {
  .p-top-hero__main { --stats-h: 232px; --hero-h: calc(880px + var(--stats-h) - 112px); }
  .p-top-hero__stats { height: var(--stats-h); min-height: 0; }
  .p-top-hero__stats-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--size-03) var(--size-02); margin: 0; padding: 0; overflow: visible; }
  .p-top-hero__stats-list li { margin-left: 0; padding: 0; border-left: 0; height: auto; }
}

/* スマホ（767px 以下）: 縦に積む。地図・方眼は ::before / ::after で薄く敷く。動画は読み込まない（JS） */
@media (max-width: 767px) {
  .p-top-hero__main { height: auto; display: flex; flex-direction: column; padding: var(--size-06) var(--size-gutter) var(--size-05); }
  .p-top-hero__main::before, .p-top-hero__main::after { display: none; }
  .p-top-hero__map, .p-top-hero__grid { display: none; }
  .p-top-hero__copy { display: contents; }
  .p-top-hero__eyebrow { order: 1; position: relative; z-index: 4; margin-top: 0; font-size: 13px; }
  .p-top-hero__title { order: 2; position: relative; z-index: 4; font-size: clamp(34px, 10vw, 44px); }
  .p-top-hero__lead { order: 3; position: relative; z-index: 4; font-size: 16px; margin-top: var(--size-025); }
  .p-top-hero__lead-line { display: inline; }
  .p-top-hero__visual { order: 5; position: relative; inset: auto; height: 220px; margin-top: var(--size-04); --p: 21.5px; --oy: 110px; --ox: calc(50% + 3 * var(--p)); }
  .p-top-hero__visual::before { content: ""; position: absolute; z-index: 0; inset: 0;
    background-image: linear-gradient(var(--color-primary-100) 1px, transparent 1px), linear-gradient(90deg, var(--color-primary-100) 1px, transparent 1px); background-size: 48px 48px; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
  .p-top-hero__visual::after { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--color-primary-200); opacity: .5;
    -webkit-mask-image: url("../img/hero/apac-coast-sm.svg"), linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
    -webkit-mask-size: 160% auto, 100% 100%; -webkit-mask-position: center 40%, center; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: source-in;
    mask-image: url("../img/hero/apac-coast-sm.svg"), linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
    mask-size: 160% auto, 100% 100%; mask-position: center 40%, center; mask-repeat: no-repeat; mask-composite: intersect; }
  html:not(.is-reduced) .p-top-hero__visual::after { animation: apon-hero-fade-from-0 .6s ease-out both; }
  .p-top-hero__vx--mid   { --q: -8; --r: 2; }
  .p-top-hero__vx--tile1 { --hs: 1.1; --q: -9.6; --r: -1.6; }
  .p-top-hero__vx--tile2 { --hs: 1.1; --q: -5.4; --r: -3; }
  .p-top-hero__float { animation: none !important; }
  .p-top-hero__stats { order: 6; position: relative; inset: auto; height: auto; display: block; margin-top: var(--size-03); }
  .p-top-hero__stats-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--size-03) var(--size-02); margin: 0; padding: 0; overflow: visible; }
  .p-top-hero__stats-list li { margin-left: 0; padding: 0; border-left: 0; height: auto; }
  .p-top-hero__stat-num { font-size: 32px; }
  .p-top-hero__stats-date { max-width: none; margin: var(--size-02) 0 0; }
  .p-top-hero__stats-date span { display: inline; }
  .p-top-hero__stats-date span:first-child { margin-right: .75em; }
  .p-top-hero__pause { display: none; }
  .p-top-hero__main .c-actions { order: 4; position: relative; z-index: 4; flex-direction: column; align-items: stretch; margin-top: var(--size-03); }
}

/* 直下の Pick up（スライド。3件まで想定、一時停止つき） */
.p-top-hero__sub { position: relative; z-index: 6; padding: var(--size-05) 0 var(--size-06); background: var(--color-white); }
.p-top-hero__sub-inner { width: var(--container); margin-inline: auto; }
.p-top-hero__pickup { min-width: 0; }
.p-top-hero__sub-head { display: flex; align-items: flex-end; justify-content: space-between; min-height: 32px; margin-bottom: var(--size-02); }
.p-top-hero__sub-title { display: flex; align-items: center; gap: var(--size-01); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-xl); text-transform: uppercase; color: var(--color-primary-500); }
.p-top-hero__sub-title::before { content: ""; width: var(--size-04); height: 1px; background: currentColor; }
.p-top-hero__controls { display: flex; gap: var(--size-01); }
.p-top-hero__controls[hidden] { display: none; }
.p-top-hero__control { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--color-primary-300); border-radius: var(--radius-round); background: var(--color-white); color: var(--color-primary-500); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.p-top-hero__control::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--shape-arrow) center / 20px 20px no-repeat; mask: var(--shape-arrow) center / 20px 20px no-repeat; }
.p-top-hero__control--prev::before { transform: scaleX(-1); }
.p-top-hero__control--toggle::before { width: 14px; height: 14px; -webkit-mask: var(--shape-pause) center / contain no-repeat; mask: var(--shape-pause) center / contain no-repeat; }
.p-top-hero__control--toggle.is-paused::before { -webkit-mask-image: var(--shape-play); mask-image: var(--shape-play); }
.p-top-hero__control:hover { color: var(--color-white); background: var(--color-primary-500); border-color: var(--color-primary-500); }
.p-top-hero__track { --per: 2; display: flex; overflow: hidden; margin-inline: calc(var(--size-02) * -1); } /* --per: 1画面に並べる件数（PC 2、1024px以下 1）。JS が読んで件数ぶんまとめて送る（2026-11-02 運用責任者の指定で2カラムに） */
.p-top-hero__slide { flex: 0 0 calc(100% / var(--per)); min-width: 0; box-sizing: border-box; padding-inline: var(--size-02); }
.p-top-hero__item { display: flex; align-items: center; justify-content: space-between; gap: var(--size-02); min-height: 140px; padding: var(--size-02); border-top: 1px solid var(--color-primary-200); transition: background .2s ease; }
a.p-top-hero__item:hover { background: var(--hover-grad); }
.p-top-hero__thumb { flex: 0 0 120px; width: 120px; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--color-primary-50); }
.p-top-hero__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-top-hero__item-body { flex: 1; min-width: 0; }
.p-top-hero__item-cat { display: block; padding-bottom: var(--size-005); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-m); color: var(--color-primary-500); }
.p-top-hero__item-title { font-size: var(--fs-l); font-weight: var(--fw-heavy); line-height: 1.5; color: var(--color-primary-900); }
.p-top-hero__item-text { margin-top: var(--size-005); font-size: var(--fs-xs); line-height: 1.8; color: var(--color-gray-700); }
.p-top-hero__progress { position: relative; z-index: 2; height: 2px; margin-top: -1px; overflow: hidden; }
.p-top-hero__progress > span { display: block; width: 100%; height: 100%; background: var(--color-primary-500); transform: scaleX(var(--progress, 0)); transform-origin: left center; }
@media (max-width: 1024px) { /* タブレット以下は1カラム（2カラムだと1件が狭く、説明が何行にも折れる） */
  .p-top-hero__track { --per: 1; margin-inline: 0; }
  .p-top-hero__slide { padding-inline: 0; }
}
@media (max-width: 768px) {
  .p-top-hero__sub { padding: 0; }
  .p-top-hero__sub-inner { padding-block: var(--size-01); }
  .p-top-hero__item { min-height: 0; }
  .p-top-hero__thumb, .p-top-hero__item-text { display: none; }
}


/* ---------- Grid ---------- */
.c-grid { display: grid; gap: var(--size-column); }
.c-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .c-grid--3, .c-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .c-grid--2, .c-grid--3, .c-grid--4 { grid-template-columns: 1fr; } .c-grid--4:has(.c-grid__item-img) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Card ---------- */
.c-card { display: flex; flex-direction: column; position: relative; min-width: 0; }
.c-card__thumb { overflow: hidden; border-radius: var(--radius-s); }
.c-card__thumb img { display: block; width: 100%; transition: transform .3s ease; }
a.c-card:hover .c-card__thumb img { transform: scale(1.05); }
.c-card__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: var(--size-02); padding-top: var(--size-03); }
.c-card__eyebrow { display: flex; align-items: center; gap: var(--size-02); padding-bottom: var(--size-02); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1; letter-spacing: var(--letter-spacing-m); color: var(--color-primary-400); }
.c-card__num { font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1; color: var(--color-primary-500); }
.c-card__title { font-size: var(--fs-l); font-weight: var(--fw-bold); letter-spacing: var(--letter-spacing-m); color: var(--color-gray-900); }
.c-card__text { margin-top: var(--size-01); font-size: var(--fs-s); color: var(--color-gray-700); }
.c-card__link { display: flex; align-items: flex-end; justify-content: flex-end; gap: var(--size-03); }
.c-card--frame { border: 1px solid transparent; background: var(--color-primary-50); transition: border-color .2s ease; }
a.c-card--frame:hover { border-color: var(--color-primary-300); }
.u-bg-tint .c-card--frame { background: var(--color-white); }
.c-card--frame .c-card__thumb { border-radius: var(--radius-s) var(--radius-s) 0 0; }
.c-card--frame .c-card__body { padding: var(--size-03); }
.c-card--frame .c-card__eyebrow { color: var(--color-primary-500); } /* primary-50 の面の上では primary-400 だと 4.5:1 に届かない */
.c-card--border { padding: var(--size-03) var(--size-02); border-block: 1px solid var(--color-primary-200); }
.c-card--border .c-card__body { padding-top: 0; }
a.c-card--border:hover { background: var(--hover-grad); }
a.c-card:hover .c-action--outline { background-color: var(--color-primary-500); border-color: var(--color-primary-500); }
a.c-card:hover .c-action--outline::after { background: var(--color-white); }
@media (max-width: 768px) { /* 1列のとき: 矢印を見出しの行の右へ（本文は全幅のまま）。カード間の罫線は1本に（下の線を消し、最後だけ残す） */
  .c-card--border .c-card__eyebrow, .c-card--border .c-card__title { padding-right: calc(40px + var(--size-02)); }
  .c-card--border .c-card__link { position: absolute; top: var(--size-03); right: var(--size-02); }
  .c-grid:has(> .c-card--border) { gap: 0; }
  .c-card--border { border-bottom: 0; }
  .c-card--border:last-child { border-bottom: 1px solid var(--color-primary-200); }
}
.u-inverse .c-card--frame, .u-inverse .c-card--border { border-color: var(--alpha-white-heavy); background: var(--alpha-white-light); }
.u-inverse .c-card__title { color: var(--color-white); }
.u-inverse .c-card__text { color: var(--color-primary-100); }
.u-inverse .c-card__eyebrow, .u-inverse .c-card__num { color: var(--color-primary-300); }

/* ---------- Link list ---------- */
.c-link-list { border-top: 1px solid var(--color-gray-100); }
.c-link-box { display: flex; align-items: center; justify-content: space-between; gap: var(--size-02); width: 100%; padding: var(--size-03) var(--size-02); border-bottom: 1px solid var(--color-gray-100); transition: background .2s ease; }
a.c-link-box:hover { background: var(--hover-grad); }
.c-link-box__main { display: flex; align-items: center; gap: var(--size-02); min-width: 0; }
.c-link-box__icon { display: flex; flex: none; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--radius-round); background: var(--color-primary-100); }
.c-link-box__num { min-width: 56px; padding-right: var(--size-03); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-s); font-weight: var(--fw-bold); color: var(--color-primary-500); }
.c-link-box__sub { display: block; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--color-primary-500); }
.c-link-box__title { font-size: var(--fs-m); font-weight: var(--fw-bold); }
.c-link-box__text { margin-top: var(--size-005); font-size: var(--fs-xs); color: var(--color-gray-700); }

/* ---------- Feature (image + text, alternating) ---------- */
.p-feature { display: flex; flex-direction: column; gap: var(--size-08); }
.p-feature__item { display: grid; grid-template-columns: 1fr 1fr; gap: var(--size-column); align-items: center; }
.p-feature__item:nth-child(even) .p-feature__img { order: 2; }
.p-feature__img { overflow: hidden; border-radius: var(--radius-s); background: var(--color-primary-100); }
.p-feature__img img { display: block; width: 100%; }
.p-feature__num { display: block; margin-bottom: var(--size-01); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1; color: var(--color-primary-500); }
.p-feature__title { margin-bottom: var(--size-02); font-size: var(--fs-h3); color: var(--color-primary-900); }
.p-feature__text { color: var(--color-gray-700); } /* 本文の箱の幅いっぱいまで（2026-11-17 運用責任者の指示。960px の上限を外した） */
@media (max-width: 768px) { .p-feature__item { grid-template-columns: 1fr; } .p-feature__item:nth-child(even) .p-feature__img { order: 0; } }

/* ---------- Flow ---------- */
.p-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--size-column); margin-top: var(--size-08); border-top: 1px solid var(--color-primary-200); }
.p-flow__step { position: relative; padding-top: var(--size-04); }
.p-flow__step::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: var(--radius-round); background: var(--color-primary-400); box-shadow: var(--shadow-marker-ring); }
.p-flow__num { display: block; margin-bottom: var(--size-02); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1; color: var(--color-primary-500); }
.p-flow__title { margin-bottom: var(--size-01); font-size: var(--fs-l); font-weight: var(--fw-bold); }
.p-flow__text { font-size: var(--fs-s); color: var(--color-gray-700); }

/* ---------- FAQ (details/summary; no script) ---------- */
.c-faq { border-top: 1px solid var(--color-primary-100); }
.c-faq details { border-bottom: 1px solid var(--color-primary-100); }
.c-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--size-02); padding: var(--size-02); font-weight: var(--fw-bold); cursor: pointer; list-style: none; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::before { content: "Q."; flex: none; width: 2em; color: var(--color-primary-500); }
.c-faq summary > span { flex: 1; }
.c-faq summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--color-primary-500); -webkit-mask: var(--shape-chevron) center / contain no-repeat; mask: var(--shape-chevron) center / contain no-repeat; transition: transform .3s ease; }
.c-faq details[open] summary::after { transform: rotate(180deg); }
.c-faq__answer { display: flex; padding: 0 var(--size-02) var(--size-03); color: var(--color-gray-700); }
.c-faq__answer::before { content: "A."; flex: none; width: 2em; font-weight: var(--fw-bold); color: var(--color-primary-500); }
.c-faq__answer > div { flex: 1; min-width: 0; } /* 上限なし（2026-11-17。960px を外した） */
.c-faq__answer > div > * + * { margin-top: var(--size-02); }

/* ---------- Stats (achievements) ---------- */
.c-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--size-column); border-block: 1px solid var(--color-primary-200); padding-block: var(--size-03); }
.c-stats__item { position: relative; display: flex; flex-direction: column; gap: var(--size-01); }
.c-stats__item + .c-stats__item::before { content: ""; position: absolute; top: 0; left: calc(var(--size-column) / -2); width: 1px; height: 100%; background: var(--color-primary-100); }
.c-stats__label { font-size: var(--fs-m); }
.c-stats__value { display: flex; align-items: baseline; gap: 4px; font-weight: var(--fw-heavy); letter-spacing: -.04em; }
.c-stats__num { font-family: var(--font-en, "Figtree", sans-serif); font-size: clamp(32px, 4vw, 40px); font-weight: var(--fw-heavy); line-height: 1; color: var(--color-primary-500); font-variant-numeric: tabular-nums; }
.c-stats__unit { font-size: var(--fs-s); line-height: 1; }
.c-stats__date { padding-top: var(--size-01); font-size: var(--fs-xs); text-align: right; color: var(--color-gray-700); }
.u-inverse .c-stats { border-color: var(--alpha-white-heavy); }
.u-inverse .c-stats__item + .c-stats__item::before { background: var(--alpha-white-heavy); }
.u-inverse .c-stats__num { color: var(--color-white); }
.c-stats__date span + span { margin-left: .75em; }
.u-inverse .c-stats__date { color: var(--color-primary-100); }
.c-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 768px) { .c-stats, .c-stats--2, .c-stats--4 { grid-template-columns: 1fr; } .c-stats__item + .c-stats__item::before { top: calc(var(--size-column) / -2); left: 0; width: 100%; height: 1px; } }
/* 帯のような薄いセクション（Stats の小さい版を置く帯など）。上下の余白を 24〜32px にする（既定は 40〜80px）（2026-11-19 発行団体一覧の実績帯） */
.c-sec--slim { padding-block: clamp(var(--size-03), 3vw, var(--size-04)); }
/* Stats の小さい版（compact: true）。数字 26〜32px、ラベル小さめ、余白を詰める。768px 以下は 2×2 */
.c-stats--compact { padding-block: var(--size-015); gap: var(--size-03); }
.c-stats--compact .c-stats__item { gap: var(--size-005); }
.c-stats--compact .c-stats__label { font-size: var(--fs-s); }
.c-stats--compact .c-stats__num { font-size: var(--fs-h2); }
@media (max-width: 768px) {
  .c-stats--compact, .c-stats--compact.c-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--size-03); }
  .c-stats--compact .c-stats__item:nth-child(2n)::before { top: 0; left: calc(var(--size-column) / -2); width: 1px; height: 100%; }
  .c-stats--compact .c-stats__item:nth-child(2n+1)::before { content: none; }
  .c-stats--compact .c-stats__item:nth-child(n+3)::after { content: ""; position: absolute; left: 0; top: calc(var(--size-03) / -2); width: calc(200% + var(--size-column)); height: 1px; background: var(--alpha-white-heavy); }
  .c-stats--compact .c-stats__item:nth-child(4)::after { content: none; }
}

/* ---------- News list + filter ---------- */
.c-filter { display: flex; flex-wrap: wrap; gap: var(--size-02) var(--size-04); margin-bottom: var(--size-03); }
.c-filter button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--size-04); font: inherit; font-weight: var(--fw-bold); color: var(--color-gray-700); background: transparent; border: 1px solid transparent; border-radius: var(--radius-pill); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.c-filter button:hover { color: var(--color-primary-500); }
.c-filter button[aria-pressed="true"] { color: var(--color-white); background: var(--color-primary-500); border-color: var(--color-primary-500); }
.c-news { margin-top: var(--size-02); }
.c-news__item { display: grid; grid-template-columns: 112px 8em minmax(0, 1fr) 40px; align-items: center; gap: var(--size-03); padding: var(--size-03) var(--size-02); border-bottom: 1px solid var(--color-gray-100); transition: background .2s ease; }
a.c-news__item:hover { background: var(--hover-grad); }
.c-news__date { font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-m); font-weight: var(--fw-bold); color: var(--color-gray-700); font-variant-numeric: tabular-nums; }
.c-news__item .c-label { min-width: 8em; text-align: center; }
.c-news__title { font-size: var(--fs-m); font-weight: 400; }
@media (max-width: 1280px) { .c-news__item { grid-template-columns: auto 8em minmax(0, 1fr); row-gap: var(--size-01); } .c-news__title { grid-column: 1 / -1; grid-row: 2; } .c-news__item .c-action { grid-column: 3; grid-row: 1; justify-self: end; } }
/* 国旗アイコン（Flag）: 国名の横に置く小さな旗。色は画像の中だけ（ブランド色の例外）。高さは文字の大きさ（--flag-h）。 */
.c-flag { display: inline-block; flex: none; height: var(--flag-h, .9em); width: auto; margin-inline-end: .4em; vertical-align: calc(.38em - var(--flag-h, .9em) / 2); border: 1px solid var(--color-gray-300); }
.c-flag--after { margin-inline: .4em 0; } /* 題の末尾に置く版（お知らせの行。Pick up は 2026-11-20 から先頭置き） */
.c-label .c-flag { --flag-h: 1em; margin-inline-end: var(--size-005); vertical-align: baseline; }
.p-page-hero__title .c-flag { --flag-h: .5em; margin-inline-end: .3em; }
.c-tcard__title .c-flag { --flag-h: 1em; }
.c-news__title:has(> .c-flag--after) { text-wrap: balance; } /* 末尾の旗と最後の1字だけが次の行へ落ちるのを防ぐ（2行に分けるとき、行の長さをそろえる。文節の途中では切れない: 上の auto-phrase に c-news__title を含む） */
@media (max-width: 768px) { .c-news__item .c-action { display: none; } }
.c-news-section { background: var(--color-primary-50); }

/* ---------- CTA band + CTA section ---------- */
.c-cta-band { background: var(--color-primary-100); }
.c-cta-band__inner { display: grid; grid-template-columns: max-content 1fr; gap: var(--size-04); align-items: center; justify-content: space-between; width: var(--container); margin-inline: auto; padding-block: var(--size-04); }
.c-cta-band__title { font-size: var(--fs-xl); color: var(--color-primary-900); }
.c-cta-band__text { font-size: var(--fs-s); color: var(--color-gray-700); }
.c-cta-band .c-actions { justify-content: flex-end; }
@media (max-width: 1024px) { .c-cta-band__inner { grid-template-columns: 1fr; text-align: center; } .c-cta-band .c-actions { justify-content: center; } }
.p-cta { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-700) 46%, var(--color-primary-500)); color: var(--color-white); }
.p-cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--alpha-white-weak) 1px, transparent 1px), linear-gradient(90deg, var(--alpha-white-weak) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000000e6); mask-image: linear-gradient(90deg, transparent, #000000e6); }
.p-cta__inner { width: var(--container); margin-inline: auto; padding-block: clamp(48px, 6vw, 80px); text-align: center; }
.p-cta .c-actions { justify-content: center; margin-top: var(--size-05); }

/* ---------- Columns: divided variant (c-grid is defined above) ---------- */
.c-grid--divided { padding-block: var(--size-03); border-block: 1px solid var(--color-primary-200); }
.c-grid--divided > * { position: relative; min-width: 0; }
.c-grid--divided > * + *::before { content: ""; position: absolute; top: 0; left: calc(var(--size-column) / -2); width: 1px; height: 100%; background: var(--color-primary-100); }
.c-grid--divided.c-grid--2 > :nth-child(2n+1)::before,
.c-grid--divided.c-grid--3 > :nth-child(3n+1)::before,
.c-grid--divided.c-grid--4 > :nth-child(4n+1)::before { display: none; }
.c-grid--divided.c-grid--2 > :nth-child(2n+1):not(:first-child)::after { content: ""; position: absolute; left: 0; top: calc(var(--size-column) / -2); width: calc(200% + var(--size-column)); height: 1px; background: var(--color-primary-100); }
.c-grid--divided.c-grid--3 > :nth-child(3n+1):not(:first-child)::after { content: ""; position: absolute; left: 0; top: calc(var(--size-column) / -2); width: calc(300% + var(--size-column) * 2); height: 1px; background: var(--color-primary-100); }
.c-grid--divided.c-grid--4 > :nth-child(4n+1):not(:first-child)::after { content: ""; position: absolute; left: 0; top: calc(var(--size-column) / -2); width: calc(400% + var(--size-column) * 3); height: 1px; background: var(--color-primary-100); }
@media (max-width: 1024px) {
  .c-grid--divided.c-grid--3 > :nth-child(n)::before, .c-grid--divided.c-grid--4 > :nth-child(n)::before { display: block; }
  .c-grid--divided.c-grid--3 > :nth-child(2n+1)::before, .c-grid--divided.c-grid--4 > :nth-child(2n+1)::before { display: none; }
  .c-grid--divided.c-grid--3 > :nth-child(n)::after, .c-grid--divided.c-grid--4 > :nth-child(n)::after { content: none; }
  .c-grid--divided.c-grid--3 > :nth-child(3n+1):not(:first-child)::after { content: none; } /* 2026-11-17: 上の1行は :not(:first-child) の分だけ詳細度が低く、4番目の項目の 300% の線が残って横スクロールになっていた（769〜1024px） */
  .c-grid--divided.c-grid--3 > :nth-child(2n+1):not(:first-child)::after, .c-grid--divided.c-grid--4 > :nth-child(2n+1):not(:first-child)::after { content: ""; position: absolute; left: 0; top: calc(var(--size-column) / -2); width: calc(200% + var(--size-column)); height: 1px; background: var(--color-primary-100); }
}
@media (max-width: 768px) {
  .c-grid--divided.c-grid--2 > :nth-child(n)::before, .c-grid--divided.c-grid--3 > :nth-child(n)::before, .c-grid--divided.c-grid--4 > :nth-child(n)::before { display: block; top: calc(var(--size-column) / -2); left: 0; width: 100%; height: 1px; }
  /* :not(:first-child) keeps this as specific as the row-line rules above, so the 200–400%-wide lines really are removed in one column */
  .c-grid--divided.c-grid--2 > :nth-child(n):not(:first-child)::after, .c-grid--divided.c-grid--3 > :nth-child(n):not(:first-child)::after, .c-grid--divided.c-grid--4 > :nth-child(n):not(:first-child)::after { content: none; }
}
.c-grid__item-icon { display: block; width: 48px; height: 48px; margin-bottom: var(--size-02); }
.c-grid__item-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-s); background: var(--color-primary-100); margin-bottom: var(--size-03); }
.c-grid__item-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .c-grid__item-icon { width: 40px; height: 40px; } .c-grid__item-img { aspect-ratio: 16 / 9; } }
.c-grid__item-num { display: block; margin-bottom: var(--size-01); font-family: var(--font-en, "Figtree", sans-serif); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1; color: var(--color-primary-500); }
.c-grid__item-title { margin-bottom: var(--size-01); font-size: var(--fs-l); font-weight: var(--fw-bold); }
.c-grid__item-text { font-size: var(--fs-s); color: var(--color-gray-700); }

/* ---------- Split (2 columns with a ratio) ---------- */
.c-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--size-column); align-items: start; }
.c-split--1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.c-split--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }
.c-split--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; }
.c-split--reverse > :first-child { order: 2; }
.c-split__media { overflow: hidden; border-radius: var(--radius-s); background: var(--color-primary-100); }
.c-split__media img { display: block; width: 100%; }
.c-split .c-section-head { margin-bottom: 0; }
@media (max-width: 768px) { .c-split, .c-split--1-1, .c-split--1-2, .c-split--2-1 { grid-template-columns: 1fr; gap: var(--size-03); } .c-split--reverse > :first-child { order: 0; } }

/* ---------- Side layout (sticky side nav + content) ---------- */
.c-side-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: clamp(var(--size-05), 6vw, var(--size-10)); align-items: start; }
.c-side-nav { position: sticky; top: calc(var(--header-h) + var(--size-03)); }
.c-side-nav a { display: flex; align-items: center; gap: var(--size-025); padding: var(--size-015) 0; border-bottom: 1px solid var(--color-gray-100); font-size: var(--fs-s); color: var(--color-gray-600); transition: color .2s ease; }
.c-side-nav li:last-child a { border-bottom: 0; }
.c-side-nav a::before { content: ""; flex: none; width: var(--size-01); height: var(--size-01); border-radius: var(--radius-round); background: var(--color-primary-200); }
.c-side-nav a:hover, .c-side-nav a[aria-current="true"] { color: var(--color-primary-500); font-weight: var(--fw-bold); }
.c-side-nav a[aria-current="true"]::before { background: var(--color-primary-500); box-shadow: var(--shadow-marker-ring); }
@media (max-width: 768px) { .c-side-layout { grid-template-columns: 1fr; } .c-side-nav { position: static; } }

/* ---------- Local nav (in-page anchors, sticky under the header) ---------- */
.c-local-nav { position: sticky; top: var(--header-h); z-index: 100; background: var(--color-white); border-bottom: 1px solid var(--color-gray-100); }
.c-local-nav ul { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; } /* 項目が長い言語（ms など）で幅に入りきらないとき、ページではなくナビの中だけを横に動かす（2026-11-24。入りきるときの見た目は変わらない） */
.c-local-nav ul::-webkit-scrollbar { display: none; }
.c-local-nav li { flex: 1; border-left: 1px solid var(--color-gray-100); font-size: var(--fs-s); font-weight: var(--fw-bold); text-align: center; white-space: nowrap; }
.c-local-nav li:last-child { border-right: 1px solid var(--color-gray-100); }
.c-local-nav a { display: block; padding: var(--size-02) var(--size-03); color: var(--color-gray-600); border-bottom: 2px solid transparent; }
.c-local-nav a:hover { color: var(--color-primary-500); }
.c-local-nav a[aria-current="true"] { color: var(--color-primary-500); border-bottom-color: var(--color-primary-500); }
/* LocalNav (<= 767px): 横スクロールのチップ。PC・タブレットは上の指定のまま。極端に長い項目は li の幅（ul の内側の幅）までで、超えるときだけチップの中で折り返す */
@media (max-width: 767px) {
  .c-local-nav ul { position: relative; display: flex; align-items: center; gap: var(--size-01); padding: var(--size-01) var(--size-gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .c-local-nav ul::-webkit-scrollbar { display: none; }
  .c-local-nav li { flex: 0 0 auto; max-width: 100%; border: 0; text-align: left; }
  .c-local-nav li:last-child { border: 0; }
  .c-local-nav a { display: flex; align-items: center; min-height: calc(var(--size-05) + var(--size-005)); padding: var(--size-01) var(--size-02); color: var(--color-gray-700); background: var(--color-white); border: 1px solid var(--color-gray-500); border-radius: var(--radius-pill); white-space: normal; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
  .c-local-nav a[aria-current="true"], .c-local-nav a[aria-current="true"]:hover { color: var(--color-white); background: var(--color-primary-500); border-color: var(--color-primary-500); }
}
@media (max-width: 767px) and (hover: hover) {
  .c-local-nav a:not([aria-current="true"]):hover { color: var(--color-primary-500); background: var(--color-primary-50); border-color: var(--color-primary-300); }
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .c-local-nav ul { scrollbar-width: thin; scrollbar-color: var(--color-gray-300) transparent; }
}
@media (max-width: 767px) and (forced-colors: active) {
  .c-local-nav a[aria-current="true"] { border-width: 3px; text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- Definition list ---------- */
.c-deflist { display: grid; grid-template-columns: var(--deflist-term-w, max-content) minmax(0, 1fr); column-gap: 0; }
.c-deflist dt { padding-right: var(--size-03); font-weight: var(--fw-bold); }
.c-deflist dt, .c-deflist dd { margin: 0; padding-block: var(--size-01); }
.c-deflist dd a { color: var(--color-text-link); text-decoration: underline; white-space: nowrap; }
.c-deflist dt a { color: var(--color-text-link); text-decoration: underline; text-underline-offset: 0.2em; }
.c-deflist dd a:hover, .c-deflist dt a:hover { text-decoration: none; }
.c-deflist--lined dt, .c-deflist--lined dd { padding-block: var(--size-02); border-bottom: 1px solid var(--color-gray-100); }
.c-deflist--lined { border-top: 1px solid var(--color-gray-100); }
.c-deflist--numbered dt { display: grid; grid-template-columns: auto 1fr; column-gap: var(--size-01); align-items: center; }
.c-deflist__num { grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-en); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; color: var(--color-primary-500); }
.c-deflist__term { grid-column: 2; grid-row: 1; }
.c-deflist__en { display: block; grid-column: 2; grid-row: 2; font-family: var(--font-en); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--letter-spacing-xl); text-transform: uppercase; color: var(--color-primary-500); }
.c-split__media--svg svg { display: block; width: 100%; height: auto; }
.c-split__media--svg text { font-family: var(--font-en); font-weight: var(--fw-heavy); }
/* 2026-11-17: 769〜1024px で、用語の列がいちばん長い名前の幅（max-content）になり、右の列が0pxにつぶれて横スクロールになっていた（発行団体一覧）。用語の列は内容の幅のまま、半分までで折り返す */
@media (min-width: 769px) and (max-width: 1024px) { .c-deflist { grid-template-columns: var(--deflist-term-w, fit-content(50%)) minmax(0, 1fr); } }
@media (max-width: 768px) { .c-deflist { grid-template-columns: 1fr; } .c-deflist--lined dt { padding-bottom: 0; border-bottom: 0; } .c-deflist--lined dd { padding-top: var(--size-005); } }

/* ---------- Tabs (script supplies aria-selected / hidden switching) ---------- */
.c-tabs__list { display: flex; flex-wrap: nowrap; overflow-x: auto; }
.c-tabs__btn { flex: none; padding: var(--size-02) var(--size-04); font: inherit; font-size: var(--fs-l); font-weight: var(--fw-bold); color: var(--color-gray-700); background: transparent; border: 0; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.c-tabs__btn[aria-selected="true"] { color: var(--color-primary-500); }
.c-tabs__panel { margin-top: var(--size-03); }
.c-tabs__panel[hidden] { display: none; }
.c-tabs--line .c-tabs__list { border-bottom: 2px solid var(--color-gray-100); }
.c-tabs--line .c-tabs__btn { margin-bottom: -2px; border-bottom: 2px solid transparent; }
.c-tabs--line .c-tabs__btn[aria-selected="true"] { border-bottom-color: var(--color-primary-500); }
.c-tabs--card .c-tabs__btn { background: var(--color-gray-100); border-inline: 2px solid var(--color-white); }
.c-tabs--card .c-tabs__btn:first-child { border-left: 0; }
.c-tabs--card .c-tabs__btn[aria-selected="true"] { background: var(--color-white); border-top: 3px solid var(--color-primary-500); }
.c-tabs--equal .c-tabs__btn { flex: 1; }

/* ---------- Stats: compact variant (top hero band) ---------- */

/* ---------- Empty state (zero results / nothing to show) ---------- */
.c-empty { display: flex; flex-direction: column; align-items: center; gap: var(--size-02); padding: var(--size-08) var(--size-03); text-align: center; }
.c-empty__icon { width: 56px; height: 64px; background: var(--color-primary-100); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.c-empty__title { font-size: var(--fs-l); font-weight: var(--fw-bold); color: var(--color-primary-900); }
.c-empty__text { max-width: 480px; font-size: var(--fs-s); color: var(--color-gray-700); }
.c-empty .c-actions { justify-content: center; margin-top: var(--size-01); }

/* ---------- Scroll to top ---------- */
.c-scroll-top { position: fixed; right: max(16px, 2vw); bottom: max(16px, 2vw); z-index: 900; width: 48px; height: 48px; padding: 0; border: 2px solid var(--color-white); border-radius: var(--radius-round); background: var(--color-primary-500); cursor: pointer; transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .2s ease; }
.c-scroll-top::after { content: ""; position: absolute; inset: 0; background: var(--color-white); -webkit-mask: var(--shape-arrow) center / 32px 32px no-repeat; mask: var(--shape-arrow) center / 32px 32px no-repeat; transform: rotate(-90deg); }
.c-scroll-top:hover { background: var(--color-primary-700); }
.c-scroll-top.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); }

/* ---------- Cookie notice (opt-out bar) ---------- */
.c-cookie-notice { position: fixed; right: 0; bottom: 0; left: 0; z-index: 950; background: var(--color-gray-50); border-top: 1px solid var(--color-gray-200); color: var(--color-text-base); font-size: var(--fs-xs); line-height: 1.6; }
.c-cookie-notice[hidden] { display: none; }
.c-cookie-notice__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--size-01) var(--size-03); width: var(--container); margin-inline: auto; padding-block: var(--size-01); }
.c-cookie-notice__text { flex: 0 1 auto; margin: 0; }
.c-cookie-notice__text a { color: var(--color-text-link); text-decoration: underline; text-underline-offset: .25em; }
.c-cookie-notice__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 0 0 auto; gap: var(--size-01); }
.c-cookie-notice .c-btn { min-width: var(--size-12); min-height: 44px; max-width: none; justify-content: center; padding: var(--size-005) var(--size-02); text-align: center; }
.c-cookie-notice .c-btn::before, .c-cookie-notice .c-btn::after { display: none; }
.has-cookie-notice body { padding-bottom: var(--cookie-notice-h, 0px); }
.has-cookie-notice .c-scroll-top { bottom: calc(var(--cookie-notice-h, 0px) + var(--size-02)); }
.c-cookie-settings { display: inline-flex; align-items: center; min-height: 44px; margin-left: var(--size-02); padding: var(--size-01) var(--size-005); border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.c-cookie-settings[hidden] { display: none; }
.c-cookie-settings:hover { text-decoration-thickness: 2px; }

/* ---------- Figure (image + caption) ---------- */
.c-figure__media { overflow: hidden; border-radius: var(--radius-s); background: var(--color-primary-50); }
.c-figure__media img { display: block; width: 100%; }
.c-figure__caption { display: flex; gap: var(--size-01); margin-top: var(--size-01); font-size: var(--fs-xs); line-height: 1.8; color: var(--color-gray-700); }
.c-figure__caption::before { content: ""; flex: none; width: var(--size-03); height: 1px; margin-top: .9em; background: var(--color-primary-300); }
.c-figure--frame .c-figure__media { padding: var(--size-02); border: 1px solid var(--color-gray-100); background: var(--color-white); }
/* 2026-11-17: size（30〜99%）を指定した図は、箱の幅のその割合に（左そろえ）。1024px 以下は幅いっぱいのまま（文字を含む図が小さくなりすぎないように） */
@media (min-width: 1025px) { .c-figure--sized { width: var(--figure-w); } }

/* ---------- Notice bar (site-wide announcement above the header) ---------- */
.c-notice-bar { color: var(--color-white); background: var(--color-primary-900); font-size: var(--fs-s); }
.c-notice-bar__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--size-01) var(--size-02); width: 100%; min-height: 44px; padding: var(--size-01) calc(var(--size-gutter) + 40px); }
.c-notice-bar__tag { padding: 0 var(--size-01); font-size: var(--fs-xs); font-weight: var(--fw-bold); line-height: 1.8; color: var(--color-primary-100); border: 1px solid var(--color-primary-300); }
.c-notice-bar__text { line-height: 1.6; }
.c-notice-bar a { color: inherit; font-weight: var(--fw-bold); text-decoration: underline; }
.c-notice-bar a:hover { text-decoration: none; }
.c-notice-bar__close { position: absolute; top: 50%; right: var(--size-gutter); width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0; border-radius: var(--radius-round); background: transparent; color: inherit; cursor: pointer; transition: background-color .2s ease; }
.c-notice-bar__close::before { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--shape-close) center / 24px 24px no-repeat; mask: var(--shape-close) center / 24px 24px no-repeat; }
.c-notice-bar__close:hover { background: var(--alpha-white-strong); }
.c-notice-bar--light { color: var(--color-primary-900); background: var(--color-primary-50); border-bottom: 1px solid var(--color-primary-100); }
.c-notice-bar--light .c-notice-bar__tag { color: var(--color-primary-500); background: var(--color-white); border-color: var(--color-primary-200); }
.c-notice-bar--light .c-notice-bar__close:hover { background: var(--color-primary-100); }
.c-notice-bar--caution { color: var(--color-caution-500); background: var(--color-caution-50); border-bottom: 1px solid var(--color-caution-100); }
.c-notice-bar--caution .c-notice-bar__tag { color: var(--color-caution-500); background: var(--color-white); border-color: var(--color-caution-100); }
.c-notice-bar--caution .c-notice-bar__close:hover { background: var(--color-caution-100); }
@media (max-width: 768px) { .c-notice-bar__inner { justify-content: flex-start; padding-left: var(--size-gutter); } }

/* ---------- Table ---------- */
.c-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.c-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.7; text-align: left; }
.c-table caption { padding-bottom: var(--size-01); font-size: var(--fs-m); font-weight: var(--fw-bold); text-align: left; color: var(--color-primary-900); }
.c-table thead th { padding: var(--size-015) var(--size-02); font-weight: var(--fw-bold); white-space: nowrap; color: var(--color-primary-900); background: var(--color-primary-50); border-bottom: 2px solid var(--color-primary-200); }
.c-table tbody th, .c-table tbody td { padding: var(--size-02); vertical-align: top; border-bottom: 1px solid var(--color-gray-100); }
.c-table tbody th { font-weight: var(--fw-bold); color: var(--color-primary-900); }
.c-table__num { font-family: var(--font-en, "Figtree", sans-serif); font-variant-numeric: tabular-nums; text-align: right !important; white-space: nowrap; }
.c-table--striped tbody tr:nth-child(even) { background: var(--color-surface-tint); }
.c-table--fit { min-width: 0; }
/* 日本語は auto-phrase で文節が最小幅になり表が縮まないため、anywhere で最小幅を下げる（折り返しは文節優先、入らないときだけ語の途中） */
:lang(ja) .c-table--fit :is(th, td) { overflow-wrap: anywhere; }
.c-table--fit thead th { white-space: normal; }
.c-table--fit tbody th { min-width: 6em; }
.c-table-wrap--fit { overflow-x: visible; }
.u-bg-tint .c-table tbody tr { background: var(--color-white); }
.c-table--compact thead th, .c-table--compact tbody th, .c-table--compact tbody td { padding: var(--size-01) var(--size-015); }

/* ---------- Issuer card (organisation tile: logo + name + region) ---------- */
.c-issuer { display: flex; flex-direction: column; min-width: 0; border: 1px solid transparent; background: var(--color-primary-50); transition: border-color .2s ease; }
.u-bg-tint .c-issuer { background: var(--color-white); }
a.c-issuer:hover { border-color: var(--color-primary-300); }
.c-issuer__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: var(--size-03); border-bottom: 1px solid var(--color-gray-100); }
.c-issuer__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.c-issuer__body { display: flex; flex: 1; flex-direction: column; gap: var(--size-01); padding: var(--size-03); }
.c-issuer__meta { display: flex; flex-wrap: wrap; gap: var(--size-01); }
.c-issuer__name { font-size: var(--fs-m); font-weight: var(--fw-bold); line-height: 1.6; color: var(--color-gray-900); }
.c-issuer__text { font-size: var(--fs-xs); color: var(--color-gray-700); }
.c-issuer__link { display: flex; justify-content: flex-end; margin-top: auto; padding-top: var(--size-01); }

/* Issuer card, text version (2026-11-18): li.c-issuer.c-issuer--text in ul.c-issuer-list. No logo. Name = link to the official site (stretched over the card), optional "badges issued" link. 3 columns (1280px and up) -> 2 (1279px) -> 1 (520px) */
.c-issuer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--size-03); }
@media (max-width: 1279px) { .c-issuer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .c-issuer-list { grid-template-columns: 1fr; gap: var(--size-02); } }
.c-issuer--text { position: relative; padding: var(--size-03); }
.c-issuer--text:has(.c-issuer__more) { padding-bottom: 0; }
.c-issuer--text .c-issuer__main { flex: 1; padding-bottom: var(--size-02); }
.c-issuer--text .c-issuer__main:last-child { padding-bottom: 0; }
.c-issuer--text .c-issuer__name { overflow-wrap: anywhere; }
.c-issuer--text .c-issuer__text { margin-top: var(--size-005); line-height: 1.6; overflow-wrap: anywhere; }
.c-issuer--text [lang="ko"] { font-family: var(--font-sans-kr); font-weight: 400; word-break: keep-all; }
.c-issuer--link .c-issuer__name { padding-right: var(--size-04); }
.c-issuer--link .c-issuer__name a { color: var(--color-primary-500); text-decoration: none; }
.c-issuer--link .c-issuer__name a::before { content: ""; position: absolute; inset: 0; }
.c-issuer--link .c-issuer__name a::after { content: ""; position: absolute; top: var(--size-03); right: var(--size-03); width: 16px; height: 16px; background: var(--color-primary-500); -webkit-mask: var(--shape-external) center / contain no-repeat; mask: var(--shape-external) center / contain no-repeat; }
.c-issuer--link .c-issuer__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-issuer--link:has(.c-issuer__name a:hover) { border-color: var(--color-primary-300); }
.c-issuer--link .c-issuer__name a:focus-visible { outline: none; }
.c-issuer--link .c-issuer__name a:focus-visible::before { outline: 2px solid var(--color-gray-700); outline-offset: 2px; }
.c-issuer__more { margin-top: auto; border-top: 1px solid var(--color-gray-100); }
.c-issuer__more a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--size-01); min-height: 44px; font-size: var(--fs-s); font-weight: var(--fw-bold); color: var(--color-primary-500); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.c-issuer__more a:hover { text-decoration: none; }
.c-issuer__more a::after { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--shape-external) center / contain no-repeat; mask: var(--shape-external) center / contain no-repeat; }

/* ---------- Title card (heading + rule + text + round arrow; filled or white) ---------- */
.c-tcard { display: flex; flex-direction: column; min-width: 0; padding: var(--size-03); border: 1px solid transparent; background: var(--color-primary-50); transition: border-color .2s ease, background-color .2s ease; }
a.c-tcard:hover { border-color: var(--color-primary-300); }
.u-bg-tint .c-tcard:not(.c-tcard--fill) { background: var(--color-white); }
.c-tcard__title { margin-bottom: var(--size-015); padding-bottom: var(--size-015); border-bottom: 1px solid var(--color-gray-100); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: var(--letter-spacing-m); color: var(--color-primary-500); }
.c-tcard__text { flex: 1; font-size: var(--fs-s); color: var(--color-gray-700); }
.c-tcard__link { display: flex; justify-content: flex-end; padding-top: var(--size-01); }
a.c-tcard:hover .c-action--outline { background-color: var(--color-primary-500); border-color: var(--color-primary-500); }
a.c-tcard:hover .c-action--outline::after { background: var(--color-white); }
.c-tcard--fill { border-color: var(--color-primary-500); background: var(--color-primary-500); }
a.c-tcard--fill:hover { border-color: var(--color-primary-700); background: var(--color-primary-700); }
.c-tcard--fill .c-tcard__title { border-bottom-color: var(--color-primary-300); color: var(--color-white); }
.c-tcard--fill .c-tcard__text { color: var(--color-primary-100); }
.c-tcard--fill .c-action { background-color: var(--color-white); border-color: var(--color-white); }
.c-tcard--fill .c-action::after { background: var(--color-primary-500); }
a.c-tcard--fill:hover .c-action { background-color: var(--color-primary-100); border-color: var(--color-primary-100); }
a.c-tcard--fill:hover .c-action::after { background: var(--color-primary-700); }

/* ---------- Thumb card (thumbnail left, heading + rule + text + round arrow right) ---------- */
.c-thcard { --thumb-w: 136px; display: flex; align-items: flex-start; gap: var(--size-03); min-width: 0; padding: var(--size-03); border: 1px solid transparent; background: var(--color-primary-50); transition: border-color .2s ease; }
.u-bg-tint .c-thcard { background: var(--color-white); }
a.c-thcard:hover { border-color: var(--color-primary-300); }
.c-thcard__thumb { flex: 0 0 var(--thumb-w); width: var(--thumb-w); aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-s); background: var(--color-primary-100); }
.c-thcard__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
a.c-thcard:hover .c-thcard__thumb img { transform: scale(1.05); }
.c-thcard__body { display: flex; flex: 1; flex-direction: column; align-self: stretch; min-width: 0; }
.c-thcard__labels { margin-bottom: var(--size-01); } /* 導入事例の一覧: 団体の種類・国のラベル（2026-11-04） */
.c-thcard__title { margin-bottom: var(--size-015); padding-bottom: var(--size-015); border-bottom: 1px solid var(--color-gray-100); font-size: var(--fs-l); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: var(--letter-spacing-m); color: var(--color-primary-500); }
.c-thcard__text { flex: 1; font-size: var(--fs-s); color: var(--color-gray-700); }
.c-thcard__link { display: flex; justify-content: flex-end; padding-top: var(--size-01); }
a.c-thcard:hover .c-action--outline { background-color: var(--color-primary-500); border-color: var(--color-primary-500); }
a.c-thcard:hover .c-action--outline::after { background: var(--color-white); }
@media (min-width: 1025px) { .c-grid--3 > .c-thcard { --thumb-w: 96px; gap: var(--size-02); } }
@media (max-width: 520px) { .c-thcard { flex-direction: column; } .c-thcard__thumb { flex: none; width: 100%; aspect-ratio: 16 / 9; } .c-thcard__body { align-self: auto; width: 100%; } }
/* external link mark (add the modifier on links that open a new tab; also add a visually hidden note in the markup) */
.c-tcard--external .c-tcard__title::after, .c-thcard--external .c-thcard__title::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: var(--size-01); vertical-align: -2px; background: currentColor; -webkit-mask: var(--shape-external) center / contain no-repeat; mask: var(--shape-external) center / contain no-repeat; }

/* ---------- Prose: long body text written in Markdown (news articles, privacy policy) ---------- */
.c-prose { max-width: none; } /* 本文の箱（目次つきなら右の列）の幅いっぱいまで（2026-11-17。960px を外した） */
.c-prose > * + * { margin-top: var(--size-02); }
.c-prose > h2 { margin-top: var(--size-06); padding-bottom: var(--size-01); border-bottom: 1px solid var(--color-primary-200); font-size: var(--fs-h3); color: var(--color-primary-900); }
.c-prose > h3 { margin-top: var(--size-04); font-size: var(--fs-l); color: var(--color-primary-900); }
.c-prose > :first-child { margin-top: 0; }
.c-prose ul, .c-prose ol { padding-left: var(--size-03); }
.c-prose ul { list-style: disc; }
.c-prose ol { list-style: decimal; }
.c-prose li + li { margin-top: var(--size-01); }
.c-prose a { color: var(--color-text-link); text-decoration: underline; text-underline-offset: .2em; }
.c-prose strong { font-weight: var(--fw-bold); color: var(--color-primary-900); }
/* 長い本文（c-prose）の日本語の折り返し。p と li だけ。見出し・カード・リードは auto-phrase のまま */
/* 2026-11-17: 両端そろえは行が十分長い 1024px 以上だけ（768〜1023px では字間が開いた）。767px 以下は左ぞろえのまま文節で折る（word-break: normal だと「学習成/果」のように語の途中で切れた） */
@media (min-width: 1024px) { :lang(ja) .c-prose :is(p, li) { text-align: justify; } }
/* 目次つきの本文。c-side-layout を再利用。1279px 以下は今の1列（目次は出さない） */
.c-side-layout--prose .c-side-nav { max-height: calc(100vh - var(--header-h) - var(--size-05)); overflow-y: auto; overflow-x: hidden; }
.c-side-layout--prose .c-side-nav a:focus-visible { outline-offset: -2px; }
@media (max-width: 1279px) { .c-side-layout--prose { grid-template-columns: minmax(0, 1fr); } .c-side-layout--prose .c-side-nav { display: none; } }

/* ---------- Language adjustments (set <html lang>) ---------- */
/* Each language page loads its own Noto Sans from Google Fonts (data/languages.yaml → baseof.html). font-en falls back to the same family, not Noto Sans JP */
html:lang(zh-Hans) { --font-sans: var(--font-sans-sc); --font-en: "Figtree", var(--font-sans-sc); }
html:lang(zh-Hant) { --font-sans: var(--font-sans-tc); --font-en: "Figtree", var(--font-sans-tc); }
html:lang(ko) { --font-sans: var(--font-sans-kr); --font-en: "Figtree", var(--font-sans-kr); }
html:lang(th) { --font-sans: var(--font-sans-th); --font-en: "Figtree", var(--font-sans-th); }
html:lang(hi) { --font-sans: var(--font-sans-hi); --font-en: "Figtree", var(--font-sans-hi); }
html:lang(bn) { --font-sans: var(--font-sans-bn); --font-en: "Figtree", var(--font-sans-bn); }
/* Latin-script languages: Noto Sans (full Vietnamese support; Noto Sans JP's Latin is tuned for Japanese) */
html:lang(en), html:lang(id), html:lang(vi), html:lang(ms), html:lang(tl) { --font-sans: var(--font-sans-latin); --font-en: "Figtree", var(--font-sans-latin); }
/* English (all of en; today only the issuer pages, 2026-11-19): self-hosted Noto Sans JP (also carries the Japanese names) and Figtree instead of the Google Fonts Noto Sans */
html:lang(en) { --letter-spacing-m: 0.01em; --font-sans: "Noto Sans JP", var(--font-sans-latin); --font-en: "Figtree", "Noto Sans JP", var(--font-sans-latin); }
html:lang(ko) body { word-break: keep-all; }
/* Thai, Devanagari and Bengali stack combining marks: no tracking, taller lines */
html:lang(th), html:lang(hi), html:lang(bn) { --letter-spacing-s: 0; --letter-spacing-m: 0; --letter-spacing-l: 0; }
html:lang(th) body, html:lang(hi) body, html:lang(bn) body { line-height: 2; }
/* 行間の小さい部品（ボタン・ナビ・言語切替・数値の単位）は、結合文字が切れないよう 1.7 以上にする（ja は変えない） */
html:lang(th) :is(.c-btn, .c-global-nav__list a, .c-language select, .c-stats__unit), html:lang(hi) :is(.c-btn, .c-global-nav__list a, .c-language select, .c-stats__unit), html:lang(bn) :is(.c-btn, .c-global-nav__list a, .c-language select, .c-stats__unit) { line-height: 1.7; }
html:lang(th) h1, html:lang(th) h2, html:lang(th) h3, html:lang(th) h4, html:lang(hi) h1, html:lang(hi) h2, html:lang(hi) h3, html:lang(hi) h4, html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3, html:lang(bn) h4 { line-height: 1.8; }
