@charset "UTF-8";
/* ==========================================================================
   common.css — トークン・リセット・レイアウト基礎(HTML_SPEC §2-2 / §4)
   基底=SP。広い幅は @media (min-width: 768px) で足す(このファイルは768の1本だけ)
   ========================================================================== */

/* トークン */
:root {
  /* 色 §4-1 */
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --mist: #F1F4EE;
  --mist-blue: #EEF2F7;
  --ink: #242E3C;
  --ink-soft: #5D6571;
  --ink-mute: #8A919B;
  --brand: #5B7F67;
  --brand-dark: #3E5C49;
  --blue: #58799D;
  --blue-dark: #486686;
  --blue-line: #A9BACB;
  --sun: #D9A441;
  --line: #E3E6DF;
  --line-hand: var(--ink-mute);   /* 手描き風の線(SVGマスクに塗る色) */
  --alert: #C2603D;
  --alert-bg: #FBEFEA;
  --brand-blue: #22AEE6;   /* ロゴの水色(img/logo.svg と同値) */
  --brand-yellow: #FFF67F; /* ロゴの黄色(同上) */
  --accent-orange: #E8A33D; /* 本文中の強調(TOP「”感じる”」。現行サイトの orange #FFA500 を落ち着かせた値) */
  --pale-yellow: #FFF9C4;  /* TOP 理事長メッセージの名札(現行サイトと同値。ロゴの黄色 --brand-yellow とは別) */
  --cream: #FFFCDE;        /* TOP 学び舎・生活・仲間の帯(現行サイトと同値) */
  --brand-brown: #562E31;  /* ロゴの茶(img/logo.svg と同値)。線のボタン c-btn--line */
  --accent-lime: #C6C20E;  /* TOP「保護者の方へ」の見出し(現行サイトと同値) */
  /* TOP ヒーローの縦書き「Swedish」: a=余白側 / b=写真側(.p-hero--mono で白黒版に戻す) */
  --hero-title-a: var(--brand-blue);
  --hero-title-b: var(--brand-yellow);

  /* 書体 §4-2 */
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; /* Noto Serif CJK JP: Web フォントが読めない Linux/Android で縦書き漢字が潰れる汎用 serif を避ける */
  --font-display: "Helvetica Neue", Arial, sans-serif;
  --fs-body: 15px;
  --fs-h1: 28px;
  --fs-h2: 24px;
  --fs-h3: 19px;
  --fs-small: 13px;
  --lh: 1.85;

  /* 余白・幅 §4-3 */
  --space-section: 112px;
  --space-block: 40px;
  --gutter: 20px;
  --container: 1120px; /* 2026-10-28 1200→1120(PC で大きすぎるとの声。見比べ②) */
  --container-banner: 1200px; /* 2026-10-28 TOP のバナー3枚だけ前の幅のまま(見比べ2) */
  --container-wide: 1440px;
  --text-width: 760px;

  /* 角丸・影 */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px rgba(36, 46, 60, .08);
  --shadow-hover: 0 12px 32px rgba(36, 46, 60, .12);
  --shadow-photo: 0 16px 36px rgba(36, 50, 72, .13), 0 2px 6px rgba(36, 50, 72, .06);

  /* ヘッダー・動き */
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
  :root {
    --fs-body: 16px;
    --fs-h1: 34px; /* 2026-10-28 38/32/22 → 34/28/20(見比べ②) */
    --fs-h2: 28px;
    --fs-h3: 20px;
    --lh: 1.9;
    --space-section: 192px;
    --space-block: 64px;
    --gutter: 32px;
    --header-h: 84px;
  }
}

/* リセット(0-html-site-production §4 の雛形+見出し・リストの余白) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* レイアウト基礎: 幅 */
.l-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.l-container--narrow { max-width: calc(var(--text-width) + var(--gutter) * 2); }
.l-container--banner { max-width: calc(var(--container-banner) + var(--gutter) * 2); }

/* レイアウト基礎: 下層の本文 main。ブロック間は --space-section の1値だけ(部品は外側余白を持たない) */
.l-content { display: block; padding-bottom: var(--space-section); }
.l-content > * + * { margin-top: var(--space-section); }

/* セクション: 帯1つ=section 1つ。帯(背景つき)は内側と外側で --space-section を半分ずつ持つ */
.l-section--alt { background: var(--mist); }
.l-section--alt,
.l-section--band { padding-block: calc(var(--space-section) / 2); }
.l-content > * + :is(.l-section--alt, .l-section--band),
.l-content > :is(.l-section--alt, .l-section--band) + * { margin-top: calc(var(--space-section) / 2); }
.l-content > :is(.l-section--alt, .l-section--band) + :is(.l-section--alt, .l-section--band) { margin-top: 0; }
.l-content:has(> :is(.l-section--alt, .l-section--band):last-child) { padding-bottom: 0; }

/* セクション内の部品間(見出し→本文、カード群→ボタン) */
.l-section > .l-container > * + *,
.l-content > .l-container > * + * { margin-top: var(--space-block); }

/* ユーティリティ */
.u-accent { font-style: normal; color: var(--accent-orange); }
.u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
