@charset "utf-8";
/* ==========================================================================
   OSCF 公式サイト v3（ロゴ基調）
   レイアウト: 12カラム・左揃えの編集的な組版。節の名前は左3カラム（PCでは追従）、本文は右9カラム。

   色の役割（ロゴキット 70_Outputs/oscf-logo-kit の5色から。役割を固定して、ページに散らさない）
   役割          トークン        値        使う場所
   ------------  --------------  --------  ------------------------------------------------------------
   地            --paper         #FAFAF8   ページの地。ロゴの白地に合わせ、黄みを抑えた白
   面            --paper-2       #F2F1EE   節の切り替え（tint の節）
   文字・構造    --ink           #15191B   ロゴの墨。本文・見出し・図の線・罫（地の上で 16.9:1）
                                           墨の面（白文字）は、財団が担う範囲を示す1か所だけ（事業紹介の役割の表の中央）
   補足の文字    --ink-2         #3E4448   導入文・説明（9.5:1）
                 --ink-3         #5D6368   ラベル・日付（地で 5.8:1、面で 5.4:1）
   主役          --red           #E51A46   ロゴのレッド。次の3つだけに使う
                                             1 行動: 主ボタンの地（白文字 4.6:1）、お問い合わせの帯
                                             2 現在地: ナビ・ページ内ナビの下線
                                             3 強調: 図の主線と動く点（学び続ける人）、各節で1点だけの強調
   赤い文字      --red-ink       #B8103A   赤で文字を書くとき・主ボタンの hover（地で 6.3:1、面で 5.9:1）
                                           #E51A46 は地の上の文字だと 4.4:1 で AA に届かないため、文字には使わない
                 --red-wash      #FBE4E9   文字を選択したときの地だけ
   基準          --blue          #2075B4   ロゴのブルー。図の中の「組織の基準」（目盛りと、基準を通る点）だけ
                 --blue-ink      #1C65A0   基準を説明する文字（地で 5.9:1）
   ロゴだけ      --yellow        #F0BA1D   ロゴの中だけ。部品・文字・印には使わない
                 --green         #3A9629   ロゴの中だけ（パネルをつなぐ線）
   濃い地        --night         #15191B   フッター（墨）。文字は --on-night（15.8:1）と --on-night-2（7.9:1）

   書体: 和文＝Noto Sans JP（ロゴの和文名と同じ）、欧文・数字＝Inter（ロゴの英文名と同じ）。
         見出しもゴシック（赤×明朝は日本AI大賞のトーンと重なるため使わない）。
         見出しの太さは 600〜650（ロゴの和文名は 650）。palt は見出しだけにかける。
   ========================================================================== */

:root {
  --paper: #FAFAF8;
  --paper-2: #F2F1EE;
  --white: #FFFFFF;
  --ink: #15191B;
  --ink-2: #3E4448;
  --ink-3: #5D6368;
  --line: #E2E1DD;
  --line-2: #C6C5C0;
  --red: #E51A46;
  --red-ink: #B8103A;
  --red-wash: #FBE4E9;
  --blue: #2075B4;
  --blue-ink: #1C65A0;
  --yellow: #F0BA1D;
  --green: #3A9629;
  --night: #15191B;
  --on-night: #F2F2F0;
  --on-night-2: #A9AEB1;
  --night-line: rgba(242, 242, 240, .16);
  /* 線の図（Canvas）用の色。r, g, b */
  --flow-ink: 21, 25, 27;
  --flow-accent: 229, 26, 70;
  --flow-std: 32, 117, 180;

  --f-sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --fw-display: 600;
  --fw-head: 650;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --col-gap: clamp(16px, 2vw, 32px);
  --header-h: 60px;
  --subnav-h: 0px;
  --sec-space: clamp(88px, 11vw, 168px);
}
@media (min-width: 640px) { :root { --header-h: 76px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }
.page-about, .page-business { --subnav-h: 59px; }

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
::selection { background: var(--red-wash); color: var(--ink); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: .6em 1.2em; background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
/* 長い本文は1文字単位で折り返して右端をそろえる。見出し・導入文・ラベルは BudouX の文節で折り返す */
.prose, .person__bio, .block__text, .pillar-row__desc, .case__gap,
.shift__text, .facts dd, .spec td, .history__text, .pillar__sum, .flow-foot__text, .cta-band__text {
  word-break: normal; overflow-wrap: anywhere; line-break: strict;
}
.hero__lead, .sec__lead, .phead__lead { text-wrap: pretty; }
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(250, 250, 248, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.menu-open .site-header { background: var(--paper); }
.site-header__inner {
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
}
/* ロゴ: スマホはマーク＋略称の1行（マークの高さ 32px）、640px 以上はヘッダー用1行（48px。キットの最小値）。
   どちらも 64px 未満なので連結線なしの -simple。ファイルのパスは tools/content.py の LOGO だけで決める */
.brand { display: flex; align-items: center; flex: none; min-width: 0; }
.brand__logo, .brand__logo img { display: block; }
.brand__logo img { width: auto; height: 32px; }
@media (min-width: 640px) {
  .brand__logo img { height: 48px; }
}
.gnav { display: none; margin-left: auto; align-items: center; gap: clamp(24px, 2.6vw, 44px); }
.gnav__list { display: flex; gap: clamp(22px, 2.4vw, 40px); }
.gnav__link {
  position: relative; display: block; padding-block: 8px;
  font-size: .9375rem; font-weight: 500; letter-spacing: .08em;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.gnav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav__link[aria-current]::after { transform: scaleX(1); height: 2px; background: var(--red); }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 2px 0 10px; background: none; border: 0; cursor: pointer;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; flex: none;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn__bars { position: relative; width: 24px; height: 9px; }
.menu-btn__bars span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn__bars span:first-child { top: 0; }
.menu-btn__bars span:last-child { top: 7.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { top: 3.75px; transform: rotate(24deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { top: 3.75px; transform: rotate(-24deg); }
@media (min-width: 1024px) {
  .gnav { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- スマホのメニュー ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .7s var(--ease) both; }
.menu.is-closing { animation: menu-out .38s var(--ease-io) both; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes menu-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
.menu__inner { padding: 12px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 40px; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu.is-open .menu__list li { animation: item-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 140ms); }
@keyframes item-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.menu__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font: var(--fw-head) 1.5rem/1.4 var(--f-sans); letter-spacing: .06em; font-feature-settings: "palt" 1;
}
.menu__list a .icon { width: 20px; height: 20px; color: var(--ink-3); }
.menu__list a[aria-current] span { color: var(--red-ink); }
.menu__foot { display: grid; gap: 18px; font-size: .875rem; }
.menu__exam { color: var(--ink-2); }
.menu__exam a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.menu-open { overflow: hidden; }

/* ---------- ボタンとリンク ---------- */
.btn {
  --btn-h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: var(--btn-h); padding: 0 10px 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .9375rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn__i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  transition: transform .55s var(--ease), background-color .45s var(--ease), color .45s var(--ease);
}
.btn__i .icon { width: 15px; height: 15px; }
.btn:hover .btn__i { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #FFFFFF; }
.btn--primary .btn__i { background: rgba(255, 255, 255, .2); }
.btn--primary:hover { background: var(--red-ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line .btn__i { background: var(--ink); color: var(--paper); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line:hover .btn__i { background: var(--red); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--ink); }
.btn--light .btn__i { background: var(--ink); color: #FFFFFF; }
.btn--light:hover { background: var(--ink); color: #FFFFFF; }
.btn--light:hover .btn__i { background: #FFFFFF; color: var(--ink); }
.btn--sm { --btn-h: 44px; padding: 0 22px; font-size: .8125rem; justify-content: center; }
button.btn:not(:has(.btn__i)) { padding-inline: 26px; justify-content: center; }

.arrow-link { display: inline-flex; align-items: center; gap: 14px; font-size: .9375rem; font-weight: 700; letter-spacing: .08em; }
.arrow-link span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .6s var(--ease);
}
.arrow-link:hover span { background-size: 100% 1px; }
.arrow-link .icon {
  width: 40px; height: 40px; padding: 12px; border: 1px solid var(--line-2); border-radius: 50%;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.arrow-link:hover .icon { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateX(3px); }
.arrow-link--back .icon { transform: rotate(180deg); }
.arrow-link--back:hover .icon { transform: rotate(180deg) translateX(3px); }

/* ---------- ファーストビュー ---------- */
.hero { padding-top: clamp(36px, 5vw, 80px); overflow: clip; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap); row-gap: 28px; align-items: end;
}
.hero__text, .hero__side { grid-column: 1 / -1; min-width: 0; }
.hero__org {
  margin-bottom: clamp(18px, 2.2vw, 32px);
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-2);
  animation: fade-up 1.2s var(--ease) .05s both;
}
.hero__title {
  font-weight: var(--fw-display);
  font-size: clamp(1.875rem, .95rem + 3.9vw, 4.5rem);
  line-height: 1.32; letter-spacing: .02em; font-feature-settings: "palt" 1;
}
.hero__line { display: block; overflow: hidden; padding-block: .02em .08em; }
.hero__line > span {
  display: inline-block; transform: translateY(110%);
  animation: line-up 1.4s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + 140ms);
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__lead { max-width: 30em; color: var(--ink-2); line-height: 2; animation: fade-up 1.2s var(--ease) .55s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: fade-up 1.2s var(--ease) .7s both; }
@media (max-width: 559px) { .hero__actions { display: grid; grid-template-columns: 1fr; } }
@media (min-width: 1024px) {
  .hero__text { grid-column: 1 / 9; }
  .hero__side { grid-column: 9 / 13; padding-bottom: .5em; }
  .hero__lead { font-size: .9375rem; }
}
.hero__figure { margin-top: clamp(32px, 4vw, 56px); }
.flow { position: relative; width: 100%; }
.flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow--hero { height: clamp(210px, 27vw, 380px); }
.zones {
  display: grid; grid-template-columns: 30% 40% 30%;
  padding-top: 16px; font-size: .75rem; line-height: 1.6;
  animation: fade-up 1.2s var(--ease) 1.4s both;
}
.zone { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-inline: var(--gutter) 8px; }
.zone--read { align-items: center; text-align: center; padding-inline: 8px; }
.zone--use { align-items: flex-end; text-align: right; padding-inline: 8px var(--gutter); }
.zone__name { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.zone--read .zone__name { color: var(--blue-ink); }
.zone__desc { display: none; color: var(--ink-3); }
@media (min-width: 720px) {
  .zones { grid-template-columns: 38% 24% 38%; }
  .zone__name { font-size: .875rem; }
  .zone__desc { display: block; }
}

/* ---------- 名称変更のお知らせ ---------- */
.notice { margin-top: clamp(56px, 7vw, 104px); background: var(--paper-2); border-block: 1px solid var(--line); padding-block: clamp(36px, 4.5vw, 60px); }
.notice__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap); row-gap: 24px; align-items: center;
}
.notice__label { grid-column: 1 / -1; font-size: .9375rem; font-weight: 700; letter-spacing: .12em; }
.notice__names { grid-column: 1 / -1; min-width: 0; padding-left: 30px; }
.notice__name { position: relative; line-height: 1.6; }
.notice__k { display: block; margin-bottom: 2px; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); }
.notice__name--old { color: var(--ink-3); }
.notice__name--new {
  margin-top: 16px; color: var(--ink);
  font-weight: var(--fw-head); font-size: clamp(1.125rem, 1rem + .55vw, 1.4375rem); letter-spacing: .03em;
  font-feature-settings: "palt" 1;
}
.notice__name::before {
  content: ""; position: absolute; left: -30px; width: 9px; height: 9px; border-radius: 50%;
}
.notice__name--old::before { top: 30px; border: 1px solid var(--line-2); background: var(--paper-2); }
.notice__name--new::before { top: 34px; background: var(--red); }
.notice__name::after { content: ""; position: absolute; left: -26px; width: 1px; transform-origin: top; transition: transform 1.2s var(--ease) .3s; }
.notice__name--old::after { top: 39px; bottom: -16px; background: var(--line-2); }
.notice__name--new::after { top: 0; height: 34px; background: var(--line-2); transition-delay: .9s; }
.notice__link { display: none; }
.js .notice__names.is-pending .notice__name::after { transform: scaleY(0); }
.notice__side { grid-column: 1 / -1; display: grid; gap: 20px; justify-items: start; }
.notice__meta { display: grid; gap: 8px; font-size: .875rem; line-height: 1.75; }
.notice__meta div { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); gap: 8px; }
.notice__meta dt { color: var(--ink-3); font-weight: 500; }
.notice__meta dd { display: flex; flex-wrap: wrap; align-items: center; }
@media (min-width: 1024px) {
  .notice__label { grid-column: 1 / 4; }
  .notice__names { grid-column: 4 / 9; }
  .notice__side { grid-column: 9 / 13; }
}

/* ---------- 節 ---------- */
.sec { padding-block: var(--sec-space); }
.sec--tint { background: var(--paper-2); }
.sec--first { padding-top: clamp(56px, 7vw, 112px); }
.sec__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap); row-gap: clamp(20px, 3vw, 32px);
}
.sec__label {
  grid-column: 1 / -1; align-self: start;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: .9375rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6;
}
.sec__body { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) {
  .sec__label { grid-column: 1 / 4; padding-top: .6em; position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 32px); }
  .sec__body { grid-column: 4 / 13; }
}
.statement {
  max-width: 24em;
  font-weight: var(--fw-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.6; letter-spacing: .03em; font-feature-settings: "palt" 1;
  text-wrap: balance;
}
.statement--xl { max-width: 13em; font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.25rem); line-height: 1.48; }
.sec__lead { margin-top: 20px; max-width: 36em; color: var(--ink-2); line-height: 2; }
.prose { max-width: 36em; margin-top: clamp(28px, 3vw, 40px); line-height: 2.05; }
.prose > * + * { margin-top: 1.25em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .24em; text-decoration-thickness: 1.5px; transition: color .3s; }
.prose a:hover { color: var(--red-ink); }
@media (min-width: 1024px) { .prose { font-size: 1.0625rem; } }
.sec__more { margin-top: clamp(32px, 4vw, 48px); }
.sub-title { margin-top: clamp(72px, 9vw, 120px); font-size: 1rem; font-weight: 700; letter-spacing: .1em; }
.note { margin-top: 24px; font-size: .9375rem; }

/* ---------- 事業の一覧（トップ） ---------- */
.pillars { margin-top: clamp(44px, 5.5vw, 80px); border-top: 1px solid var(--line-2); }
.pillar-row { border-bottom: 1px solid var(--line-2); }
.pillar-row__link {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "glyph title go" "desc desc desc";
  column-gap: 18px; row-gap: 14px; align-items: center;
  padding-block: 28px 30px;
}
.pillar-row__link::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -1);
  background: var(--white); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.pillar-row__link:hover::before { transform: scaleX(1); }
.pillar-row__num { display: none; }
.pillar-row__title {
  grid-area: title;
  font-weight: var(--fw-head); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem);
  line-height: 1.5; letter-spacing: .04em; font-feature-settings: "palt" 1;
  transition: transform .7s var(--ease);
}
.pillar-row__desc { grid-area: desc; font-size: .9375rem; line-height: 1.9; color: var(--ink-2); max-width: 34em; }
.pillar-row__go {
  grid-area: go; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.pillar-row__go .icon { width: 16px; height: 16px; }
.pillar-row__link:hover .pillar-row__go { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateX(4px); }
.pillar-row__link:hover .pillar-row__title { transform: translateX(6px); }
@media (min-width: 1024px) {
  .pillar-row__link {
    grid-template-columns: 2.5rem 132px minmax(0, 1fr) minmax(0, 1.45fr) 56px;
    grid-template-areas: "num glyph title desc go";
    column-gap: clamp(20px, 2.6vw, 44px);
    padding-block: clamp(36px, 3.4vw, 52px);
  }
  .pillar-row__num { display: block; grid-area: num; font: 500 1rem/1 var(--f-sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .pillar-row__go { width: 56px; height: 56px; }
}
.glyph { grid-area: glyph; width: 84px; height: auto; overflow: visible; color: var(--ink); }
@media (min-width: 1024px) { .glyph { width: 120px; } }
.glyph path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease) .15s; }
.glyph .glyph__accent { stroke: var(--red); stroke-width: 1.7; }
.glyph circle { fill: var(--ink); }
.glyph .glyph__accent-dot { fill: var(--red); }
.glyph .glyph__ring { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .7s; }
.js .is-pending .glyph path, .js .is-pending .glyph .glyph__ring { stroke-dashoffset: 1; }
.pillar-row__link:hover .glyph__accent { animation: redraw 1.2s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- よくある現在地（トップ） ---------- */
.cases { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.case { display: grid; row-gap: 16px; padding-block: 30px 34px; border-bottom: 1px solid var(--line-2); }
.case__k { display: block; margin-bottom: 6px; font: 700 .6875rem/1.6 var(--f-sans); letter-spacing: .14em; color: var(--ink-3); }
.case__now { font-weight: var(--fw-head); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.7; letter-spacing: .03em; font-feature-settings: "palt" 1; }
.case__gap-mark {
  display: block; width: 124px; height: 9px;
  background:
    radial-gradient(circle at 4.5px 4.5px, var(--ink) 3px, transparent 3.6px) 0 0 / 9px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 13px 4px / 46px 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 7px) 70px 4px / 42px 1px no-repeat,
    radial-gradient(circle at 4.5px 4.5px, transparent 2.7px, var(--line-2) 3.1px, var(--line-2) 3.9px, transparent 4.4px) 115px 0 / 9px 9px no-repeat;
}
.case__gap { font-size: .9375rem; line-height: 1.9; }
.case__gap .case__k { color: var(--ink); }
.cases__cta { margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 768px) { .cases { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); } }

/* ---------- ニュース ---------- */
.news-list { border-top: 1px solid var(--line-2); }
.news-item { border-bottom: 1px solid var(--line-2); }
.news-item__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "meta go" "title go";
  column-gap: 20px; row-gap: 6px; align-items: center;
  padding-block: 24px;
}
.news-item__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .8125rem; color: var(--ink-3); }
.news-item__date { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.news-item__cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.news-item__title { grid-area: title; font-weight: 500; line-height: 1.75; transition: color .35s; }
.news-item__go {
  grid-area: go; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.news-item__go .icon { width: 14px; height: 14px; }
.news-item__link:hover .news-item__title { color: var(--red-ink); }
.news-item__link:hover .news-item__go { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateX(3px); }
@media (min-width: 768px) {
  .news-item__link { grid-template-columns: 14em minmax(0, 1fr) auto; grid-template-areas: "meta title go"; padding-block: 28px; }
}

/* ---------- お問い合わせの帯 ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--red); color: #FFFFFF;
  padding-block: clamp(96px, 12vw, 176px);
}
.flow--band {
  --flow-ink: 255, 255, 255;
  --flow-accent: 255, 255, 255;
  --flow-std: 255, 255, 255;
  position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .35) 40%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .35) 40%, #000 78%);
}
.cta-band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; }
.cta-band__label { grid-column: 1 / -1; font-size: .9375rem; font-weight: 700; letter-spacing: .12em; color: #FFFFFF; }
.cta-band__body { grid-column: 1 / -1; min-width: 0; }
.cta-band__title {
  max-width: 13em;
  font-weight: var(--fw-display); font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.25rem);
  line-height: 1.48; letter-spacing: .03em; font-feature-settings: "palt" 1; text-wrap: balance;
}
.cta-band__text { margin-top: 22px; max-width: 34em; color: #FFFFFF; font-weight: 500; line-height: 2; }
.cta-band__actions { margin-top: 36px; }
@media (min-width: 1024px) {
  .cta-band__label { grid-column: 1 / 4; padding-top: .9em; }
  .cta-band__body { grid-column: 4 / 13; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--night); color: var(--on-night);
  padding-block: clamp(56px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--night-line); font-size: .875rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
/* 墨の地に反転版（マーク＋略称の1行）。マークの高さ 64px なので連結線つきの版を使う。
   ロゴのまわりはマークの高さの1/4（16px）以上あける（キットの規則） */
.site-footer__brand { display: flex; align-items: flex-start; gap: 16px; }
.site-footer__logo { display: block; width: auto; height: 64px; }
.site-footer__name { margin-top: 28px; font-weight: 700; letter-spacing: .06em; }
.site-footer__en { margin-top: 2px; font-size: .8125rem; color: var(--on-night-2); letter-spacing: .01em; }
.site-footer__addr { margin-top: 16px; color: var(--on-night-2); line-height: 1.9; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-footer__nav ul { display: grid; gap: 12px; align-content: start; }
.site-footer__nav a { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__nav .icon { width: 12px; height: 12px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--night-line); color: var(--on-night-2); font-size: .75rem;
}
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night); font-weight: 700; letter-spacing: .08em; }
.to-top .icon { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.to-top:hover .icon { transform: translateY(-3px); }
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .site-footer__id { grid-column: 1 / 6; }
  .site-footer__nav { grid-column: 7 / 13; }
  .site-footer__bottom { grid-column: 1 / -1; }
}

/* ---------- 下層ページの見出し ---------- */
.phead { padding-top: clamp(24px, 3.4vw, 48px); overflow: clip; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .75rem; letter-spacing: .06em; color: var(--ink-3); }
.crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: ""; width: 12px; height: 1px; background: var(--line-2); flex: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.phead__title {
  margin-top: clamp(28px, 4.5vw, 64px); overflow: hidden;
  font-weight: var(--fw-display); font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  line-height: 1.3; letter-spacing: .05em; font-feature-settings: "palt" 1;
}
.phead__in { display: inline-block; animation: line-up-from 1.3s var(--ease) .1s both; }
@keyframes line-up-from { from { transform: translateY(105%); } to { transform: none; } }
.phead__lead { margin-top: clamp(18px, 2.2vw, 28px); max-width: 38em; color: var(--ink-2); line-height: 2; animation: fade-up 1.2s var(--ease) .35s both; }
.flow--thin { height: clamp(88px, 10vw, 140px); margin-top: clamp(32px, 4.5vw, 64px); }

/* ---------- ページ内ナビ ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(250, 250, 248, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.subnav__list {
  position: relative; display: flex; gap: clamp(24px, 3vw, 44px);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { flex: none; }
.subnav a {
  position: relative; display: block; padding-block: 16px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap;
  transition: color .3s;
}
.subnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.subnav a:hover, .subnav a[aria-current="true"] { color: var(--ink); }
.subnav a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- 学ぶ環境の変化（財団について） ---------- */
.shifts { margin-top: 24px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.shift { padding-block: 28px 32px; border-bottom: 1px solid var(--line-2); }
.shift__title { font-weight: var(--fw-head); font-size: 1.25rem; line-height: 1.6; letter-spacing: .03em; font-feature-settings: "palt" 1; }
.shift__text { margin-top: 10px; font-size: .9375rem; line-height: 1.95; color: var(--ink-2); }
.shift--key .shift__title { color: var(--red-ink); }
@media (min-width: 768px) {
  .shifts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
  .shift { padding: 32px 32px 40px 0; border-bottom: 0; }
  .shift + .shift { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- 学びが生かされるまでの4段階（財団について） ---------- */
.cycle { margin-top: clamp(44px, 5vw, 72px); }
.cycle__loop { display: none; }
.cycle__stages { position: relative; display: grid; }
.stage { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
.stage__n {
  grid-row: 1 / 3; position: relative; z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper-2);
  font: 600 .875rem/1 var(--f-sans);
}
.stage.is-out .stage__n { border-style: dashed; }
.stage:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 1px; background: var(--line-2); }
.stage__title { font-weight: var(--fw-head); font-size: 1.25rem; line-height: 1.5; letter-spacing: .03em; font-feature-settings: "palt" 1; padding-top: 1px; }
.stage__desc { margin-top: 4px; font-size: .9375rem; line-height: 1.85; color: var(--ink-2); }
.cycle__foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.cycle__return { font-size: .9375rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8125rem; color: var(--ink-2); }
.legend__item { display: inline-flex; align-items: center; gap: 10px; }
.legend__item::before { content: ""; width: 28px; border-top: 1px solid var(--ink); }
.legend__item--out::before { border-top-style: dashed; }
@media (min-width: 900px) {
  .cycle {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 36%) minmax(0, 1fr);
    grid-template-rows: 170px 170px; column-gap: clamp(36px, 4.5vw, 72px);
    padding-block: 36px 96px;
  }
  .cycle__loop { display: block; position: relative; grid-column: 2; grid-row: 1 / 3; }
  .cycle__stages { display: contents; }
  .stage { display: block; padding: 0; max-width: 19em; }
  .stage__n { display: none; }
  .stage::before { display: none; }
  .stage--1 { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; text-align: right; margin-top: -.9375rem; }
  .stage--2 { grid-column: 3; grid-row: 1; justify-self: start; align-self: start; margin-top: -.9375rem; }
  .stage--3 { grid-column: 3; grid-row: 2; justify-self: start; align-self: end; transform: translateY(calc(100% - .9375rem)); }
  .stage--4 { grid-column: 1; grid-row: 2; justify-self: end; align-self: end; text-align: right; transform: translateY(calc(100% - .9375rem)); }
  .cycle__edge { position: absolute; border: 0 solid var(--ink); transition: transform .9s var(--ease-io); }
  .cycle__edge--top { left: 0; right: 0; top: 0; border-top-width: 1px; border-top-style: dashed; transform-origin: left; }
  .cycle__edge--right { top: 0; bottom: 0; right: 0; border-right-width: 1px; transform-origin: top; transition-delay: .8s; }
  .cycle__edge--bottom { left: 0; right: 0; bottom: 0; border-bottom-width: 1px; transform-origin: right; transition-delay: 1.6s; }
  .cycle__edge--left { top: 0; bottom: 0; left: 0; border-left-width: 1px; border-left-style: dashed; transform-origin: bottom; transition-delay: 2.4s; }
  .js .cycle.is-pending .cycle__edge--top, .js .cycle.is-pending .cycle__edge--bottom { transform: scaleX(0); }
  .js .cycle.is-pending .cycle__edge--right, .js .cycle.is-pending .cycle__edge--left { transform: scaleY(0); }
  .cycle__edge::after { content: ""; position: absolute; width: 8px; height: 8px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
  .cycle__edge--top::after { left: 50%; top: -5px; transform: translateX(-50%) rotate(45deg); }
  .cycle__edge--right::after { top: 50%; right: -5px; transform: translateY(-50%) rotate(135deg); }
  .cycle__edge--bottom::after { left: 50%; bottom: -5px; transform: translateX(-50%) rotate(225deg); }
  .cycle__edge--left::after { top: 50%; left: -5px; transform: translateY(-50%) rotate(-45deg); }
  .cycle__node {
    position: absolute; z-index: 2; display: grid; place-items: center;
    width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
    border: 1px solid var(--ink); background: var(--paper-2);
    font: 600 1.0625rem/1 var(--f-sans);
  }
  .cycle__node.is-out { border-style: dashed; }
  .cycle__node--1 { left: 0; top: 0; }
  .cycle__node--2 { left: 100%; top: 0; }
  .cycle__node--3 { left: 100%; top: 100%; }
  .cycle__node--4 { left: 0; top: 100%; }
  .cycle__center {
    position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
    font-weight: var(--fw-head); font-size: clamp(1.0625rem, .8rem + .6vw, 1.3125rem);
    line-height: 1.75; letter-spacing: .04em; font-feature-settings: "palt" 1;
  }
  .cycle__center span { display: block; }
  .cycle__dot {
    position: absolute; left: 0; top: 0; z-index: 3; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 0 5px rgba(229, 26, 70, .16);
    transition: opacity .6s; will-change: transform;
  }
  .cycle__foot { justify-content: center; flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cycle__dot { display: none; } }

/* ---------- 役員 ---------- */
.board { display: grid; grid-template-columns: 1fr; gap: 32px; }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.person__photo { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 1.4s var(--ease); }
.person:hover .person__photo img { transform: scale(1.035); }
.person__role { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); }
.person__name { margin-top: 4px; font-weight: var(--fw-head); font-size: 1.375rem; line-height: 1.5; letter-spacing: .1em; }
.person__bio { margin-top: 10px; font-size: .875rem; line-height: 1.95; color: var(--ink-2); }
@media (min-width: 640px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
  .person { grid-template-columns: 1fr; gap: 0; }
  .person__role { margin-top: 22px; }
}
.board--single { display: block; margin-top: 2.4em; padding-top: 2em; border-top: 1px solid var(--line); }
.board--single .person { grid-template-columns: 112px minmax(0, 1fr); gap: 24px; }
.board--single .person__role { margin-top: 0; }

/* ---------- 財団概要・連絡先の表 ---------- */
.facts { border-top: 1px solid var(--ink); }
.facts__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding-block: 20px; border-bottom: 1px solid var(--line-2); }
.facts dt { display: flex; flex-wrap: wrap; align-items: center; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.facts dd { min-width: 0; line-height: 1.85; }
.facts__sub { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-3); }
.facts__line { display: block; }
.facts__list li { position: relative; padding-left: 1.2em; }
.facts__list li::before { content: ""; position: absolute; left: 0; top: .95em; width: .6em; height: 1px; background: var(--ink-3); }
.facts__action { display: block; margin-top: 14px; }
.tel-link { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
@media (min-width: 768px) {
  .facts__row { grid-template-columns: 10em minmax(0, 1fr); gap: 24px; padding-block: 22px; }
  .facts dt { align-items: flex-start; align-content: flex-start; font-size: .875rem; padding-top: .15em; }
}

/* ---------- 沿革 ---------- */
.history { border-top: 1px solid var(--ink); }
.history__item { position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 22px 0 22px 32px; border-bottom: 1px solid var(--line); }
.history__item::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.history__item:first-child::before { top: calc(22px + .95em); }
.history__item.is-next::before { bottom: auto; height: calc(22px + .95em); background: repeating-linear-gradient(var(--red-ink) 0 3px, transparent 3px 6px); }
.history__item::after { content: ""; position: absolute; left: 0; top: calc(22px + .95em - 4.5px); width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.history__item.is-next::after { background: var(--paper); border: 1px dashed var(--red-ink); }
.history__date { display: flex; flex-wrap: wrap; align-items: center; font-weight: 700; font-size: .9375rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.history__text { line-height: 1.85; }
@media (min-width: 768px) { .history__item { grid-template-columns: 10em minmax(0, 1fr); gap: 24px; padding-left: 40px; } }

/* ---------- 事業紹介ページ ---------- */
.pillar { padding-block: var(--sec-space); }
.pillar--tint { background: var(--paper-2); }
.pillar__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.pillar__head, .pillar__main { grid-column: 1 / -1; min-width: 0; }
.pillar__main { display: grid; gap: clamp(56px, 7vw, 104px); }
.pillar__num { font: 700 .8125rem/1 var(--f-sans); letter-spacing: .16em; color: var(--ink-2); }
.pillar__title { margin-top: 18px; font-weight: var(--fw-display); font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem); line-height: 1.4; letter-spacing: .04em; font-feature-settings: "palt" 1; }
.pillar__sum { margin-top: 20px; max-width: 26em; color: var(--ink-2); line-height: 2; }
@media (min-width: 1024px) {
  .pillar__head { grid-column: 1 / 5; }
  .pillar__main { grid-column: 5 / 13; }
  .pillar__sticky { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 40px); }
}
.block__title { font-size: 1.125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.block__title--lg { font-weight: var(--fw-head); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); letter-spacing: .04em; line-height: 1.5; font-feature-settings: "palt" 1; }
.block__text { margin-top: 16px; max-width: 38em; line-height: 2; }
.block__action { margin-top: 36px; }

.steps { --n: 5; position: relative; display: grid; grid-template-columns: 1fr; margin-top: 28px; }
.step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
.step__n {
  grid-row: 1 / 3; position: relative; z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper);
  font: 600 .875rem/1 var(--f-sans);
}
.pillar--tint .step__n, .sec--tint .step__n { background: var(--paper-2); }
.step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 1px; background: var(--line-2); }
.step__title { padding-top: 3px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.step__desc { margin-top: 4px; font-size: .875rem; line-height: 1.85; color: var(--ink-2); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 20px; }
  .steps::before {
    content: ""; position: absolute; left: 17px; right: 0; top: 17px; height: 1px; background: var(--line-2);
    transform-origin: left; transition: transform 1.8s var(--ease) .2s;
  }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { display: none; }
  .step__n { grid-row: auto; margin-bottom: 22px; }
  .step__title { padding-top: 0; }
  .js .is-pending .steps::before, .js .steps.is-pending::before { transform: scaleX(0); }
  .step .step__n, .step .step__title, .step .step__desc { transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .is-pending .step .step__n, .js .is-pending .step .step__title, .js .is-pending .step .step__desc,
  .js .steps.is-pending .step__n, .js .steps.is-pending .step__title, .js .steps.is-pending .step__desc { opacity: 0; transform: translateY(10px); }
  .step:nth-child(2) > * { transition-delay: .25s; }
  .step:nth-child(3) > * { transition-delay: .5s; }
  .step:nth-child(4) > * { transition-delay: .75s; }
  .step:nth-child(5) > * { transition-delay: 1s; }
}
.steps--wide { margin-top: clamp(44px, 5vw, 64px); }

.roles { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.roles > div { background: var(--paper); padding: 22px 24px 24px; }
.roles > .roles__mid { order: 3; background: var(--ink); color: #FFFFFF; }
.roles__head { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.6; color: var(--ink-2); }
.roles__mid .roles__head { color: #FFFFFF; }
.roles__list { margin-top: 12px; display: grid; gap: 6px; }
.roles__list li { display: flex; align-items: baseline; gap: 10px; }
.roles__list li::before { content: ""; flex: none; width: 8px; height: 1px; background: currentColor; transform: translateY(-.32em); }
@media (min-width: 768px) {
  .roles { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); }
  .roles > .roles__mid { order: 0; }
}

.quad { margin-top: 28px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.quad__item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line-2); }
.quad__n { font: 500 1.75rem/1 var(--f-sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.quad__item p { font-weight: 500; line-height: 1.75; }
@media (min-width: 640px) { .quad { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.meta { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.meta__fig { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.meta__lines path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease) .2s; }
.meta__src circle { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.2; }
.meta__lbl text { font: 500 14px var(--f-sans); fill: var(--ink); letter-spacing: .06em; }
.meta__ring { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) 1.1s; }
.meta__core { fill: var(--red); }
.meta__out { font: 700 14px var(--f-sans); fill: var(--red-ink); letter-spacing: .08em; }
.js .is-pending .meta__lines path, .js .is-pending .meta__ring { stroke-dashoffset: 1; }
@media (min-width: 768px) { .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }

.uses { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.uses li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.uses li::before { content: ""; width: 16px; height: 1px; background: var(--ink); flex: none; }

.levels { margin-top: 36px; max-width: 540px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; border-bottom: 1px solid var(--ink); }
.level {
  --step: clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 2px;
  min-height: calc(var(--step) * (var(--i) + 1) + 72px);
  padding: 16px 12px 16px 16px;
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.level:last-child { border-right: 1px solid var(--ink); }
@media (max-width: 400px) { .level { padding: 14px 8px 14px 10px; } .level__name { font-size: 1rem; letter-spacing: .02em; } }
.level__name { font-weight: var(--fw-head); font-size: 1.0625rem; letter-spacing: .04em; }
.level__desc { font-size: .875rem; color: var(--ink-2); }
.level { transition: transform 1s var(--ease), opacity .9s var(--ease); transform-origin: bottom; }
.level:nth-child(2) { transition-delay: .15s; }
.level:nth-child(3) { transition-delay: .3s; }
.js .is-pending .level { opacity: 0; transform: translateY(12px); }

.principles { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.principle { padding-block: 28px 32px; border-bottom: 1px solid var(--line-2); }
.principle p { font-weight: var(--fw-head); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.7; letter-spacing: .03em; font-feature-settings: "palt" 1; }
@media (min-width: 768px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

.flow-foot { margin-top: clamp(44px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.flow-foot__text { max-width: 36em; color: var(--ink-2); }

/* ---------- ニュース記事 ---------- */
.article { padding-top: clamp(24px, 3.4vw, 48px); padding-bottom: var(--sec-space); }
.article__grid { max-width: 46rem; margin-top: clamp(36px, 5vw, 80px); }
@media (min-width: 1024px) { .article__grid { margin-left: calc((100% + var(--col-gap)) / 12 * 3); } }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .8125rem; color: var(--ink-3); }
.article__date { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.article__cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.article__title {
  margin-top: 18px;
  font-weight: var(--fw-head); font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.5rem);
  line-height: 1.55; letter-spacing: .03em; font-feature-settings: "palt" 1; text-wrap: balance;
  animation: fade-up 1.2s var(--ease) .05s both;
}
.article__body { max-width: none; margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-2); }
.prose--article h2 { margin-top: 2.4em; font-size: 1.1875rem; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.prose--article h2 + p { margin-top: .6em; }
.spec { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.8; }
.spec th, .spec td { padding: 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.spec th { width: 8.5em; padding-right: 16px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ink); }
/* 個人情報保護方針 */
.policy-list { margin-top: .6em; padding: 0; list-style: none; counter-reset: pl; }
.policy-list li { counter-increment: pl; display: grid; grid-template-columns: 3em minmax(0, 1fr); }
.policy-list li::before { content: "（" counter(pl) "）"; font-variant-numeric: tabular-nums; }
.policy-list li + li { margin-top: .35em; }
.policy .policy-sign { margin-top: 3.2em; }
.policy-sign th { width: 6.5em; }
@media (max-width: 560px) {
  .spec th, .spec td { display: block; width: auto; }
  .spec th { padding-bottom: 0; border-bottom: 0; }
  .spec td { padding-top: 2px; }
  .spec tr:first-child td { border-top: 0; }
}
.article__back { margin-top: clamp(48px, 6vw, 72px); }
.sec--related { padding-block: clamp(64px, 8vw, 112px); }

/* ---------- お問い合わせページ ---------- */
.formbox { padding-bottom: clamp(16px, 2vw, 24px); }
.formbox__k { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.formbox__lead {
  margin-top: 8px;
  font-weight: 600; font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2.25rem);
  line-height: 1.5; letter-spacing: .02em; font-feature-settings: "palt" 1; text-wrap: balance;
}
.formbox__kinds { margin: clamp(28px, 3.5vw, 40px) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.formbox__kinds li { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 18px 20px; border: 1px solid var(--line-2); background: var(--white); }
.formbox__kind { font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.formbox__desc { font-size: .8125rem; line-height: 1.7; color: var(--ink-2); }
@media (min-width: 900px) { .formbox__kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.formbox__actions { margin-top: 28px; }
.formbox__note { margin-top: 14px; font-size: .8125rem; line-height: 1.8; color: var(--ink-2); }
.formbox__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- 出現の動き（スクロール） ---------- */
.js [data-reveal] { transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-pending { opacity: 0; transform: translateY(28px); }

/* ---------- ページの切り替え ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.site-header { view-transition-name: site-header; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .hero__line > span { transform: none; }
}

/* ---------- 印刷 ---------- */
@media print {
  .menu, .menu-btn, .flow, .cta-band, .subnav, .skip-link { display: none !important; }
  .site-header { position: static; }
  .js [data-reveal].is-pending { opacity: 1; transform: none; }
}
