/* 株式会社Hazama コーポレートサイト — v0.1（2026-11-15）
   Michibikiゼミの地（ベージュ・Zen Kaku Gothic New・波の区切り）を引き継ぎ、
   見出しを明朝・緑を深くして、会社のサイトとして落ち着かせる。 */

:root {
  --paper: #F3F4EF;      /* Michibikiと同じ地 */
  --paper-2: #E9ECE4;    /* 帯の地 */
  --surface: #FFFFFF;
  --ink: #2B3A33;        /* 見出し */
  --text: #434343;       /* 本文（Michibikiと同じ） */
  --muted: #6B736E;
  --green: #69AF8D;      /* Michibikiのブランド緑：線・小さな印だけ */
  --green-deep: #2F7A5C; /* 文字・ボタンの緑（Michibikiの濃い緑 #2F906B を少し落ち着かせた） */
  --green-pale: #E1EEE6; /* 面の薄い緑 */
  --footer: #4E8F72;
  --line: #CFD8CF;
  --lamp: #E9A23B;       /* 灯：一か所だけ */
  --serif: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --wrap: 1080px;
  --gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: .06em; line-height: 1.6; margin: 0; }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 1.2em; }
.lead { font-size: 17px; }
.small { font-size: 13px; color: var(--muted); line-height: 1.8; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 239, .92); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.logo small { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-right: .5em; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 18px; }
.nav a { font-size: 13.5px; color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-deep); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); }
.nav .nav-cta { background: var(--green-deep); color: #fff; padding: 8px 18px; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
  .menu-btn span[aria-hidden] { display: inline-block; width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .nav { display: none; position: absolute; top: 68px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; border-radius: 20px; padding: 12px; box-shadow: 0 12px 32px rgba(34, 55, 47, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { padding-top: 0; }
.band { background: var(--paper-2); }
.section.band, .band + .section { padding-top: clamp(64px, 9vw, 112px); }
.sec-head { margin-bottom: 40px; }
.sec-head p { margin: 14px 0 0; max-width: 40em; }
.sec-head .en { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; color: var(--green); margin-bottom: 10px; font-weight: 500; }

/* page title (下層ページ) */
.page-title { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-title h1 { font-size: clamp(28px, 4.2vw, 40px); }
.page-title p { margin: 18px 0 0; max-width: 38em; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px); max-width: var(--wrap); margin: 0 auto; }
.hero-copy { max-width: 30em; }
.hero-copy .def { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 25px); color: var(--ink); line-height: 1.85; margin-bottom: 28px; }
.hero-copy .sub { color: var(--text); margin-bottom: 36px; }
.mission { position: relative; writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.9; letter-spacing: .2em; margin: 0; padding: .2em 0; }
.mission .line2 { display: block; margin-top: 2.6em; }
.mission .lamp { position: relative; }
.mission .lamp::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 3.4em; height: 3.4em; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(233, 162, 59, .42) 0%, rgba(233, 162, 59, .14) 42%, rgba(233, 162, 59, 0) 70%); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .mission { order: -1; justify-self: center; font-size: 34px; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 999px; font-size: 15px; text-decoration: none; letter-spacing: .06em; border: 1.5px solid var(--green-deep); }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { color: var(--green-deep); background: transparent; }
.btn-ghost:hover { background: var(--surface); }

/* ---------- 一覧（サービス・実績） ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 18px; }
.row p { margin: 0; }
.row .meta { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.row .meta b { color: var(--green-deep); font-weight: 500; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; padding: 22px 0; } }

.tag { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; line-height: 1; padding: 6px 10px; border-radius: 999px; margin-top: 10px; font-weight: 500; }
.tag-open { background: var(--green-deep); color: #fff; }
.tag-soon { background: transparent; color: var(--green-deep); border: 1px solid var(--green); }

/* ---------- 深い緑の面（Michibikiの波を引き継ぐ） ---------- */
.deep { position: relative; background: var(--green-deep); color: #E8EFEA; }
.deep h2, .deep h3 { color: #fff; }
.deep a { color: #fff; }
.wave { display: block; width: 100%; height: 48px; color: var(--green-deep); }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; transform: scaleY(-1); }

/* ---------- 2カラムの文章 ---------- */
.split { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px 56px; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

/* ビジョン本文 */
.vision-word { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px); color: var(--ink); letter-spacing: .14em; line-height: 1.5; margin: 0 0 24px; }
.deep .vision-word { color: #fff; }
.quote { font-family: var(--serif); font-size: 17px; line-height: 2.1; margin: 0; }

/* Value */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.values > div { padding: 28px 24px 8px 0; }
.values > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.values h3 { font-size: 22px; margin-bottom: 10px; }
.values p { font-size: 15px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } .values > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); } }

/* 事業（ゼミ・メディア） */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.biz-item { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); }
.biz-item .kind { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.biz-item h3 { font-size: 23px; margin-bottom: 14px; }
.biz-item .btns { margin-top: 20px; }
@media (max-width: 720px) { .biz { grid-template-columns: 1fr; } }

/* 3つの柱 */
.pillars { list-style: none; padding: 0; margin: 20px 0 0; }
.pillars li { padding: 14px 0; border-top: 1px solid var(--line); }
.pillars b { font-family: var(--serif); color: var(--ink); font-size: 18px; margin-right: .6em; font-weight: 600; }

/* 表（会社概要） */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.table th { width: 9em; color: var(--ink); font-family: var(--serif); font-weight: 600; padding-right: 24px; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 560px) { .table th, .table td { display: block; width: auto; } .table th { padding-bottom: 0; border-bottom: 0; } .table td { padding-top: 4px; } .table tr:first-child td { border-top: 0; } }

/* 採択歴 */
.programs { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.programs li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 720px) { .programs { columns: 1; } }

/* ニュース */
.news { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 8.5em 7.5em 1fr; gap: 6px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.news .cat { font-size: 12px; color: var(--green-deep); border: 1px solid var(--green); border-radius: 999px; padding: 4px 10px; justify-self: start; line-height: 1; }
.news .ttl { color: var(--ink); }
.news .ttl a { color: var(--ink); }
.news .src { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .news li { grid-template-columns: auto 1fr; } .news .ttl { grid-column: 1 / -1; } }

/* 空の状態 */
.empty { background: var(--surface); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.empty h2 { font-size: 22px; margin-bottom: 12px; }

/* 代表 */
.ceo-name { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 28px 0 4px; }
.ceo-name small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; }
.timeline li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.timeline time { color: var(--green-deep); }

/* 実績の資料 */
.case { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.case img { border-radius: 12px; border: 1px solid var(--line); }
.case ol { padding-left: 1.3em; margin: 0 0 20px; }
.case li { margin-bottom: 4px; }
@media (max-width: 720px) { .case { grid-template-columns: 1fr; } }

/* フォーム */
.form { display: grid; gap: 22px; }
.field label, .field legend { display: block; font-weight: 500; color: var(--ink); margin-bottom: 8px; font-size: 15px; }
.req { font-size: 11px; color: #fff; background: var(--green-deep); border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; font-weight: 400; }
.opt { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field .hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: .45em; width: 18px; height: 18px; accent-color: var(--green-deep); }
.notice { background: var(--surface); border-left: 3px solid var(--lamp); border-radius: 0 12px 12px 0; padding: 16px 20px; font-size: 14.5px; }
.form-result { display: none; background: var(--surface); border-radius: 16px; padding: 20px 24px; }
.form-result.show { display: block; }

/* CTA（ページ末） */
.cta { text-align: left; }
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 36em; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #D9E4DD; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 40px var(--gutter) 32px; max-width: var(--wrap); margin: 0 auto; }
.site-footer .logo { color: #fff; }
.site-footer address { font-style: normal; margin-top: 14px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-content: start; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copy { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: #B9C9BF; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* ビジョンの見出しを2行で折り返さずに置く */
.vw-split { font-size: clamp(28px, 3.2vw, 38px); }
.vw-split span { display: block; white-space: nowrap; }
.nav a.nav-cta[aria-current="page"] { color: #fff; text-decoration: none; }
/* .wrap と .section を同じ要素に付けたときも左右の余白を残す */
.wrap.section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* =========================================================
   v0.2（2026-11-15）やわらかく・教育の会社らしく
   - 見出しを丸ゴシックに、太さを上げる
   - 深い緑の面 → 薄い緑の面（文字は墨）
   - 見出しの後ろに薄い丸（Michibikiのモチーフ）
   - トップは横書き＋5色の形（一人ひとりの色）
   ========================================================= */
h1, h2, h3, .logo { font-weight: 700; letter-spacing: .05em; }
.logo { letter-spacing: .08em; }

/* 面：薄い緑 */
.deep { background: var(--green-pale); color: var(--text); }
.deep h2, .deep h3, .deep .vision-word { color: var(--ink); }
.deep a { color: var(--green-deep); }
.wave { color: var(--green-pale); }
.wave-footer { color: var(--footer); }
.site-footer { background: var(--footer); color: #EEF5F1; }
.copy { color: #DCEAE2; border-top-color: rgba(255,255,255,.28); }
.values { border-top-color: var(--line); }
.values > div + div { border-left-color: var(--line); }
@media (max-width: 720px) { .values > div + div { border-top-color: var(--line); } }
.quote { font-family: var(--sans); font-size: 16.5px; line-height: 2.1; }
.vision-word { font-weight: 700; color: var(--green-deep); }

/* 見出しの後ろの薄い丸 */
.page-title h1, .sec-head h2, .split > h2, .split > div > h2 { position: relative; z-index: 0; }
.page-title h1::before, .sec-head h2::before, .split > h2::before, .split > div > h2::before {
  content: ""; position: absolute; z-index: -1; left: -.7em; top: 50%; transform: translateY(-58%);
  width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--green-pale);
}
.deep .split > h2::before, .deep .split > div > h2::before, .band .sec-head h2::before, .band .split > h2::before { background: #D3E6DA; }

/* カード・タグ・ボタンを少しやわらかく */
.biz-item, .case, .empty { border-radius: 28px; }
.btn { font-weight: 500; }
.tag-open { background: var(--green-deep); }

/* ---------- トップ：横書き＋5色の形 ---------- */
.hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
.mission { writing-mode: horizontal-tb; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(32px, 4.4vw, 52px); line-height: 1.5; letter-spacing: .06em; margin: 0 0 26px; padding: 0; }
.mk { background: linear-gradient(transparent 64%, rgba(240, 200, 80, .6) 64%); padding: 0 .04em; }
.hero-copy .def { font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.9; margin-bottom: 18px; }
.hero-copy .sub { font-size: 15px; }

.hero-art { position: relative; height: clamp(230px, 28vw, 360px); display: flex; align-items: flex-end; justify-content: center; padding: 0 4% 26px; }
.hero-art .b { display: block; flex: 0 0 auto; border-radius: 50% 50% 44% 44% / 64% 64% 36% 36%; margin-left: -4%; position: relative; z-index: 1; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-art .b:first-child { margin-left: 0; }
.b1 { width: 22%; height: 52%; background: #E58C9F; animation-delay: .05s !important; }
.b2 { width: 19%; height: 40%; background: #F0C951; animation-delay: .15s !important; }
.b3 { width: 26%; height: 80%; background: #69AF8D; animation-delay: .25s !important; z-index: 2 !important; }
.b4 { width: 19%; height: 46%; background: #EDA35C; animation-delay: .35s !important; }
.b5 { width: 23%; height: 64%; background: #63B7DA; animation-delay: .45s !important; }
.hero-art .ground { position: absolute; left: -6%; right: -6%; bottom: 0; height: 52px; background: var(--green-pale); border-radius: 50%; z-index: 0; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; height: 170px; max-width: 320px; width: 100%; justify-self: center; }
  .mission { font-size: clamp(28px, 8vw, 34px); }
}
/* 形をずんぐり丸く（Michibikiのキャラクターの比率に寄せる） */
.hero-art { height: clamp(200px, 22vw, 300px); padding-bottom: 22px; }
.hero-art .b { border-radius: 50% 50% 44% 44% / 56% 56% 44% 44%; margin-left: -6%; }
.b1 { width: 25%; height: 46%; }
.b2 { width: 22%; height: 37%; }
.b3 { width: 29%; height: 72%; }
.b4 { width: 22%; height: 42%; }
.b5 { width: 26%; height: 58%; }
@media (max-width: 720px) { .hero-art { height: 150px; } }
@media (max-width: 720px) { .mission { order: 0; justify-self: auto; } }

/* 写真（v0.3） */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--paper-2); }
.photos.tall img { aspect-ratio: 3 / 4; }
.photos figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
@media (max-width: 720px) {
  .photos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .photos figure { scroll-snap-align: start; }
}
.ceo-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; border-radius: 28px; margin-bottom: 28px; }
.photos.tall img { aspect-ratio: 4 / 5; }
.side-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; margin-top: 28px; }
@media (max-width: 720px) { .side-photo { margin: 20px 0 8px; } }

/* v0.4 トップ：Michibikiのキャラクター（kv）を波の上に立たせる */
.hero-inner { grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: clamp(32px, 4vw, 56px); }
.hero-inner .mission { margin: 0; }
.hero-copy { max-width: 34em; }
.hero-copy .def { margin-bottom: 14px; }
.kv { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); line-height: 0; position: relative; z-index: 1; }
.kv img { width: 100%; height: auto; }
.wave-kv { margin-top: -18px; position: relative; z-index: 0; }
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .kv { padding: 0 12px; }
  .wave-kv { margin-top: -6px; }
}
.nw { white-space: nowrap; }
.hero-inner { align-items: center; }

/* v0.5 事業の写真：ゼミとメディアで1枚ずつ、同じ比率でそろえる */
.biz-photo { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: 50% 55%; border-radius: 18px; margin: 4px 0 8px; display: block; background: var(--paper-2); }
.biz-item { display: flex; flex-direction: column; }
.biz-item .btns { margin-top: auto; padding-top: 20px; }

/* 採択・支援歴（事業説明資料 p.100 に合わせる） */
ol.programs { list-style: none; }
.programs .num { color: var(--green-deep); margin-right: .5em; font-weight: 700; }
.logos { margin-top: 36px; border-radius: 24px; overflow: hidden; background: #E6F8EF; }
.logos img { width: 100%; height: auto; display: block; }

/* ---------- ブログ（v0.6） ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.post-card-img { display: block; aspect-ratio: 5 / 3; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: 13px; color: var(--muted); letter-spacing: .06em; margin-top: 4px; }
.post-card-title { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.6; }
.post-card:hover .post-card-title { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

.post { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-title { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.5; margin-bottom: 28px; }
.post-thumb img { width: 100%; border-radius: 20px; margin-bottom: 36px; }
.post-body { font-size: 16px; line-height: 2.05; }
.post-body h2 { font-size: 22px; margin: 2.2em 0 .8em; padding-left: 14px; border-left: 4px solid var(--green); line-height: 1.5; }
.post-body h3 { font-size: 18px; margin: 1.8em 0 .6em; }
.post-body h4 { font-size: 16px; margin: 1.6em 0 .5em; font-family: var(--serif); color: var(--ink); }
.post-body img { border-radius: 14px; margin: 1.4em 0; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.post-body blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--surface); border-radius: 14px; }
.post-body a { word-break: break-all; }
.post-origin { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.hero-copy .def { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.95; }
.vision-label { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .12em; color: var(--green-deep); margin: 0 0 14px; }

/* v0.7 改行を整える：日本語は文節で折り返し、最後の行に1〜2文字だけ残らないようにする */
p, li, td, th, dd, figcaption, .post-card-title, .ttl, .row h3 { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3, .def, .lead, .quote, .vision-word { word-break: auto-phrase; text-wrap: balance; }
.post-body p, .post-body li { text-wrap: pretty; }
a { overflow-wrap: anywhere; }
/* 2枚のカードで説明文の長さが違っても、画像とボタンの高さをそろえる */
.biz-item > p:not(.kind) { flex: 1 0 auto; }
.biz-item .btns { margin-top: 0; }
/* ヒーローの説明文2段落は同じ大きさ・太さ・色にそろえる */
.hero-copy .def, .hero-copy .sub { font-family: var(--sans); font-size: clamp(16px, 1.45vw, 18px); font-weight: 500; color: var(--ink); line-height: 2; letter-spacing: .04em; }
.hero-copy .def { margin-bottom: 12px; }
.hero-copy .sub { margin-bottom: 32px; }
/* トップのビジョン：右の文章を、左の「Our Vision」〜「尊厳」×「可能性」の上下中央にそろえる */
.vision-split { align-items: center; }
.vision-split .quote { margin: 0; }
.vision-split .quote + p { margin-bottom: 0; }

/* v0.8 本文は両端そろえ（均等割付け）。1文字単位で折り返し、禁則は守る。見出しは文節で折り返したまま */
p, li, dd, figcaption {
  text-align: justify;
  text-justify: inter-character;
  word-break: normal;
  line-break: strict;
  text-wrap: wrap;
  hanging-punctuation: allow-end;
}
p .nw, li .nw { white-space: normal; }
/* 両端そろえにしないもの：中央寄せ・短いラベル・ボタン周り・表のセル */
.c, .foot, .small.c, .post-card time, .post-meta, .tag, .btn, .pill, .say span, .news li, .post-origin, .copy, .row .meta, .ceo-name, .vision-label, .kind { text-align: left; }
.foot, .c { text-align: center; }
/* 両端そろえの段落は、最後の行に1〜2文字だけ残らないようにし、字間を少し詰める */
p, li, dd { text-wrap: pretty; }
.hero-copy .def, .hero-copy .sub { letter-spacing: .02em; font-feature-settings: normal; }
/* 見出し扱いだった段落（.def .lead .quote）も、本文として両端そろえ・1文字単位で折り返す */
.hero-copy .def, .hero-copy .sub, p.lead, p.quote, .page-title p, .sec-head p { word-break: normal; text-wrap: pretty; text-align: justify; text-justify: inter-character; line-break: strict; }
.hero-copy .def, .hero-copy .sub { letter-spacing: 0; }
.split > h2, .split > div > h2 { align-self: start; }
.sec-head p { max-width: none; }
.case.partner { grid-template-columns: 1fr 1.1fr; } .case.partner img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 720px) { .case.partner { grid-template-columns: 1fr; } }

/* 私たちについて：はざまの図・インパクトモデル・代表紹介 */
.venn { margin: 36px 0 0; }
.venn img { width: 100%; max-width: 460px; border-radius: 28px; background: #EAF8F0; }
.venn figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.toc { margin: 56px 0 0; }
.toc h3 { font-size: 20px; margin-bottom: 16px; }
.toc-scroll { overflow-x: auto; border-radius: 20px; background: #EAF8F0; -webkit-overflow-scrolling: touch; }
.toc-scroll img { width: 100%; min-width: 860px; display: block; }
.toc figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.ceo-bio { font-size: 15px; line-height: 2; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ceo-lead { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.2vw, 24px); color: var(--ink); line-height: 1.6; margin-bottom: 20px !important; text-align: left !important; }
.ceo-lead { word-break: auto-phrase !important; text-wrap: balance !important; }

/* ミッション：図を左、文章を右 */
.mission-grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 32px 64px; align-items: center; }
.mission-grid .venn { margin: 0; }
.mission-grid .venn img { width: 100%; max-width: none; background: none; border-radius: 0; }
.mission-grid .venn figcaption { text-align: center; margin-top: 16px; }
.mission-grid h2 { position: relative; z-index: 0; display: inline-block; }
.mission-grid h2::before { content: ""; position: absolute; z-index: -1; left: -.7em; top: 50%; transform: translateY(-58%); width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--green-pale); }
@media (max-width: 720px) {
  .mission-grid { grid-template-columns: 1fr; }
  .mission-grid .venn { max-width: 360px; margin: 0 auto; order: 2; }
}
p.vision-word { text-align: left !important; word-break: auto-phrase !important; text-wrap: balance !important; letter-spacing: .06em; }
/* インパクトモデルの上に余白（画像の上端と同じ色で足す） */
.toc-scroll { background: #FAFEFC; padding-top: 28px; border: 1px solid var(--line); }
.themes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 12px 0 0; }
.themes li { font-size: 14px; line-height: 1.5; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-align: left; }
.themes li::before { content: "「"; } .themes li::after { content: "」"; }

/* 帯（.band）の上下の境目を、ほかと同じ波の曲線にする。
   帯の上端・下端を、ページの地の色の波で切り抜く（隣が帯どうしのときは付けない） */
.band { position: relative; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 48px; pointer-events: none;
  background: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1280 54 920 30 760 18S240 6 0 30Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1280 54 920 30 760 18S240 6 0 30Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.band::before { top: -1px; }
.band::after { bottom: -1px; transform: scaleY(-1); }
.band + .band::before, .band:has(+ .band)::after { display: none; }
.page-title p { max-width: none; }

/* ボタンのホバー：白（枠線）ボタンは緑に、緑ボタンは白に反転 */
.btn, .nav .nav-cta { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-ghost { background: var(--surface); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--surface); color: var(--green-deep); border-color: var(--green-deep); }
.nav .nav-cta { border: 1.5px solid var(--green-deep); }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible, .nav a.nav-cta[aria-current="page"]:hover { background: var(--surface); color: var(--green-deep); }
/* 緑と白のボタンが横に並ぶところは、反転させると紛らわしいので前の動きに戻す */
.btns:has(.btn-primary):has(.btn-ghost) .btn-ghost { background: transparent; }
.btns:has(.btn-primary):has(.btn-ghost) .btn-ghost:hover,
.btns:has(.btn-primary):has(.btn-ghost) .btn-ghost:focus-visible { background: var(--surface); color: var(--green-deep); border-color: var(--green-deep); }
.btns:has(.btn-primary):has(.btn-ghost) .btn-primary:hover,
.btns:has(.btn-primary):has(.btn-ghost) .btn-primary:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
/* 採択・支援歴のロゴ：背景透過の画像をそのまま並べる */
.logos { background: none; border-radius: 0; }
.programs li { text-align: left; }

/* =========================================================
   v1.1 モーション：開いたとき・スクロールしたときのフェード
   JSが動いたとき（html.js）だけ隠すので、JSなしでも文字は消えない
   ========================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ページを開いたとき */
.js .hero .mission, .js .hero .def, .js .hero .sub, .js .hero .btns, .js .hero .kv,
.js .page-title h1, .js .page-title p {
  opacity: 0; animation: fadeUp 1.8s ease forwards;
}
/* 2026-11-15 全体を「私たちについて」のミッションと同じ速さにそろえた：1.8秒かけて、約0.45秒ずつずらす */
.js .hero .mission { animation-delay: .1s; }
.js .hero .def { animation-delay: .55s; }
.js .hero .sub { animation-delay: 1s; }
.js .hero .btns { animation-delay: 1.45s; }
.js .hero .kv { animation-delay: .55s; }
.js .page-title h1 { animation-delay: .1s; }
.js .page-title p { animation-delay: .55s; }

/* スクロールしたとき */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 1.8s ease, transform 1.8s ease; transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .hero .mission, .js .hero .def, .js .hero .sub, .js .hero .btns, .js .hero .kv,
  .js .page-title h1, .js .page-title p, .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}
.biz-item .btns { justify-content: center; }
.hero-copy .btns { justify-content: center; }

/* 私たちについて：ミッションだけゆっくりフェード（1行ずつ、約1.8秒・0.45秒ずらし） */
.js #mission .reveal.is-in { transform: none; }
/* ミッションはページ名のフェード（〜1秒）が終わってから始める */
.js #mission .mission-grid > figure.reveal { transition-delay: .9s; }
.js #mission .mission-grid > div > .reveal:nth-child(1) { transition-delay: .9s; }
.js #mission .mission-grid > div > .reveal:nth-child(2) { transition-delay: 1.4s; }
.js #mission .mission-grid > div > .reveal:nth-child(3) { transition-delay: 1.9s; }
.js #mission .mission-grid > div > .reveal:nth-child(4) { transition-delay: 2.4s; }
.js #mission .mission-grid > div > .reveal:nth-child(5) { transition-delay: 2.9s; }
/* 隠す瞬間はフェードさせない（site.js が最初だけ付ける） */
.reveal-init .reveal { transition: none !important; }
/* 本文中でも、ここだけは言葉の途中で折り返さない（.nw は本文では無効にしてあるため別に用意） */
p .keep { white-space: nowrap; }
/* ビジョン：対個人／対社会の2つ（2026-11-15） */
.vision-for { display: inline-block; margin-left: 12px; padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--green-deep); font-family: var(--sans, inherit); font-size: 13px; font-weight: 700; letter-spacing: .08em; vertical-align: 3px; }
.vision-split.vision-2 { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid #C9DECF; }
.vision-btns { margin-top: clamp(32px, 4vw, 48px); justify-content: center; }
#vision .vision-label.vision-2 { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid #C9DECF; }
.vw-soc span { white-space: normal; }
/* トップのビジョンは左の見出しを広めにして、「地域包括ケアの浸透」を1行に収める */
@media (min-width: 721px) { .vision-split { grid-template-columns: minmax(200px, 380px) 1fr; } }
.vw-soc { letter-spacing: .06em; }
.vw-soc span { white-space: nowrap; }
@media (max-width: 400px) { .vw-soc { font-size: 26px; } }
#vision .quote + .quote { margin-top: 1em; }
/* ミッションの図：ページに埋め込み、見出しと同じ字体（Zen Maru Gothic）で描く */
.venn-svg { display: block; width: 100%; height: auto; }
.venn-svg .venn-label { font-family: var(--serif); font-weight: 700; }
@media (max-width: 720px) { .mission-grid .venn figcaption br { display: none; } .mission-grid .venn figcaption .nw { white-space: normal; } }

/* =========================================================
   私たちについて「課題の原因」の図（事業説明資料のスライドをHTMLで組み直し）
   PC：左から右へ流れる2本の枝／スマホ：縦に積む
   ========================================================= */
.causes { margin: 0 0 clamp(56px, 8vw, 96px); }
.causes h3 { margin: 0 0 20px; }
.cz-root { display: inline-block; margin: 0; padding: 16px 26px; border-radius: 16px; background: var(--green-deep); color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; letter-spacing: .04em; text-align: left !important; }
.cz-lanes { margin-left: 28px; }
.cz-lane { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; align-items: center; padding: 22px 0 22px 40px; }
/* 木の幹（縦線）と枝（横線） */
.cz-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 2px solid #B9D3C3; }
.cz-lane:last-child::before { bottom: 50%; }
.cz-lane::after { content: ""; position: absolute; left: 0; top: 50%; width: 30px; border-top: 2px solid #B9D3C3; }
.cz-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.cz-card h4 { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; letter-spacing: .04em; }
.cz-card h4 em { font-style: normal; color: var(--green-deep); border-bottom: 3px solid #F3D88E; }
.cz-card p { font-size: 14px; line-height: 1.85; margin: 0; text-align: left; }
.cz-stack { position: relative; display: grid; gap: 14px; }
/* 次の箱へ向かう矢印 */
.cz-lane > * + *::before { content: ""; position: absolute; left: -36px; top: 50%; width: 26px; border-top: 2px solid var(--green); }
.cz-lane > * + *::after { content: ""; position: absolute; left: -16px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 8px solid var(--green); border-right: 0; }
.causes figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .cz-lanes { margin-left: 18px; }
  .cz-lane { grid-template-columns: 1fr; padding: 22px 0 22px 26px; }
  .cz-lane::after { width: 18px; top: 46px; }
  .cz-lane:last-child::before { bottom: auto; height: 46px; }
  .cz-lane > * + * { margin-top: 38px; }
  .cz-lane > * + *::before { left: 50%; top: -30px; width: 0; height: 20px; border-top: 0; border-left: 2px solid var(--green); }
  .cz-lane > * + *::after { left: calc(50% - 5px); top: -13px; border: 6px solid transparent; border-top: 8px solid var(--green); border-bottom: 0; }
}
/* ヘッダーのSNS（Michibikiゼミ公式：LINE・Instagram・note） */
.nav .nav-sns { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding-left: 8px; border-left: 1px solid var(--line); }
.nav .nav-sns a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: var(--green-deep); border-radius: 50%; transition: background-color .2s ease; }
.nav .nav-sns a:hover, .nav .nav-sns a:focus-visible { background: var(--green-pale); }
.nav .nav-sns .sns-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1500px) and (min-width: 961px) {
  .nav { gap: 0; padding-left: 10px; }
  .nav a { padding: 6px 6px; font-size: 13px; }
  .nav .nav-cta { padding: 8px 14px; }
  .nav .nav-sns { margin-left: 2px; padding-left: 4px; gap: 0; }
  .nav .nav-sns a { width: 30px; height: 30px; }
  .logo small { display: none; }
}
@media (max-width: 960px) {
  .nav .nav-sns { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: center; gap: 10px; }
  .nav .nav-sns a { width: auto; height: auto; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 13px; }
  .nav .nav-sns .sns-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 960px) { .nav .nav-sns { flex-wrap: wrap; gap: 4px 6px; } .nav .nav-sns a { padding: 8px 8px; } }
/* フッターのSNS（ヘッダーと同じ3つ。名前つき） */
.footer-sns { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.footer-sns a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; font-size: 13px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.footer-sns a:hover, .footer-sns a:focus-visible { background: #fff; color: var(--footer); }
.footer-sns svg path[fill="var(--surface)"] { fill: var(--footer); }
.footer-sns a:hover svg path[fill="var(--surface)"], .footer-sns a:focus-visible svg path[fill="var(--surface)"] { fill: #fff; }
/* サービス内容：Michibiki Labo（2026-11-15）／トップのカードは3枚並び */
.labo-en { font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--green-deep); margin: 6px 0 0; }
.labo-fig { margin: 8px 0 0; }
.labo-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (min-width: 1000px) { .biz { grid-template-columns: repeat(3, minmax(0, 1fr)); } .biz-item h3 { font-size: 21px; } }
@media (min-width: 721px) and (max-width: 999px) { .biz > .biz-item:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .biz-item > p { text-align: left; } }
#labo h3 + p { margin-top: 12px; }
.biz-photo[src$="m-labo.jpg"] { object-position: 50% 85%; }

/* =========================================================
   解決したい社会課題（social-issue.html）2026-11-15
   ========================================================= */
.issue-link { margin: 0 0 clamp(56px, 8vw, 96px); padding: 28px clamp(20px, 3vw, 36px); border-radius: 24px; background: var(--surface); }
.issue-link p { margin: 0; }
.issue-link .btns { margin-top: 18px; justify-content: flex-start; }
.gz-cards { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gz-cards li { background: var(--surface); border-radius: 20px; padding: 22px 22px 20px; font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.6; color: var(--ink); }
.gz-small { display: block; font-size: 14px; color: var(--green-deep); }
.gz-note { display: block; margin-top: 10px; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.stat-lead { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; margin-top: 28px; padding: 24px clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--surface); }
.stat-lead p { margin: 0; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--green-deep); }
.stat-num span, .stat-grid b span { font-size: .5em; margin-left: 2px; }
.src { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.path { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 0; }
.path li { flex: 1; position: relative; text-align: center; padding: 10px 4px; font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--ink); background: var(--surface); }
.path li:first-child { border-radius: 999px 0 0 999px; }
.path li:last-child { border-radius: 0 999px 999px 0; }
.path li + li { border-left: 2px solid var(--green-pale); }
.path li:nth-child(1) { background: #fff; } .path li:nth-child(2) { background: #F3F7F4; } .path li:nth-child(3) { background: #E6EEE9; } .path li:nth-child(4) { background: #D7E4DC; }
.school-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; }
.school-types > div { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: var(--surface); }
.school-types dt { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.school-types dd { margin: 0; font-size: 14px; line-height: 1.8; }
.stat-ttl { margin: clamp(36px, 5vw, 52px) 0 16px; font-size: 18px; }
.stat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-grid li { background: var(--green-pale); border-radius: 18px; padding: 20px; font-size: 14px; line-height: 1.7; }
.stat-grid b { display: block; font-family: var(--serif); font-size: 36px; line-height: 1.1; color: var(--green-deep); margin-bottom: 8px; }
.after-stat { margin-top: 24px; }
.then-now { border-top: 1px solid var(--line); }
.tn-head, .tn-row { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 12px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tn-head { padding: 12px 0; font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--green-deep); }
.tn-row b { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.tn-row p { margin: 0; font-size: 15px; text-align: left; }
.tn-row p:last-child { color: var(--ink); font-weight: 500; }
.issue-quote { margin: clamp(40px, 6vw, 64px) 0 0; padding: 28px clamp(20px, 4vw, 44px); border-left: 4px solid var(--green); background: var(--surface); border-radius: 0 20px 20px 0; }
.issue-quote p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 2vw, 21px); line-height: 1.8; color: var(--ink); text-align: left; }
.issue-quote p + p { margin-top: 6px; color: var(--green-deep); }
.band .causes { margin-bottom: 0; }
.band .cz-card { border-color: transparent; }
@media (max-width: 860px) {
  .gz-cards, .school-types { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-lead { grid-template-columns: 1fr; }
  .tn-head { display: none; }
  .tn-row { grid-template-columns: 1fr; gap: 6px; }
  .tn-row p:nth-of-type(1)::before { content: "これまで："; color: var(--muted); }
  .tn-row p:nth-of-type(2)::before { content: "いま："; color: var(--green-deep); font-weight: 700; }
}
.stat-grid li, .school-types dd, .gz-cards li { text-align: left; }
/* 社会課題：冒頭の妹と代表の写真 */
.sister-photo { margin: 24px 0 0; max-width: 260px; }
.sister-photo img { width: 100%; height: auto; display: block; border-radius: 20px; }
.sister-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .sister-photo { max-width: 220px; } }
/* 冒頭：右の本文を左の写真の高さの中央にそろえる（PCのみ。スマホは見出し→写真→本文の順） */
@media (min-width: 721px) {
  .sister-split h2 { grid-column: 1; grid-row: 1; }
  .sister-split .sister-photo { grid-column: 1; grid-row: 2; margin-top: 0; }
  .sister-split .sister-text { grid-column: 2; grid-row: 2; align-self: center; }
}
.sister-split .sister-text > p:last-child { margin-bottom: 0; }
@media (min-width: 721px) { .sister-split .sister-text { padding-bottom: 32px; } }
.issue-quote.solo { margin-top: 0; }
/* ロゴ（2026-11-15 B案「すき間の灯」） */
.logo-img { display: inline-flex; align-items: center; line-height: 0; }
.logo-img img { height: 40px; width: auto; display: block; }
.site-footer .logo-img img { height: 44px; }
@media (max-width: 960px) { .logo-img img { height: 34px; } }
.logo-img { flex-shrink: 0; }
/* 社会課題：上下の支援にはさまれた「はざま」の図（資料 p.25・p.33 を組み直し） */
.gap-dia { margin: clamp(32px, 5vw, 52px) 0 clamp(32px, 5vw, 52px); }
.gd-band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; border-radius: 18px; background: var(--surface); }
.gd-band b { font-family: var(--serif); font-size: 18px; color: var(--ink); min-width: 9em; }
.gd-band ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-band li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: var(--paper); }
.gd-gap { position: relative; margin: 14px 0; padding: 22px 24px; border: 2px dashed #E3A86B; border-radius: 18px; background: rgba(233, 162, 59, .07); }
.gd-gap p { margin: 0; text-align: left; }
.gd-q { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 2vw, 21px); color: #B5652E; margin-bottom: 8px !important; }
.gd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.gd-who { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border-radius: 999px; background: #fff; color: #B5652E; font-size: 13px; font-weight: 700; }
.gd-two p { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.7; color: var(--ink); }
@media (max-width: 720px) { .gd-two { grid-template-columns: 1fr; } .gd-band b { min-width: 0; width: 100%; } }

/* お問い合わせ：Googleフォームの埋め込み（2026-11-16） */
.gform { margin-top: 16px; background: var(--surface); border-radius: 18px; overflow: hidden; }
.gform iframe { display: block; width: 100%; height: 1790px; border: 0; }
@media (max-width: 640px) { .gform iframe { height: 2150px; } }

/* 会社のタブ（会社概要｜採用情報）と採用ページ（2026-11-16） */
.subtabs-in { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.subtabs a { padding: 10px 2px 12px; text-decoration: none; color: var(--muted); font-size: 15px; letter-spacing: .06em; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.subtabs a:hover { color: var(--green-deep); }
.subtabs a[aria-current="page"] { color: var(--green-deep); border-bottom-color: var(--green-deep); font-weight: 700; }
.rc-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.rc-values > div { background: var(--surface); border-radius: 18px; padding: 24px 26px; }
.rc-values h3 { font-family: var(--serif); font-size: 22px; color: var(--green-deep); margin: 0 0 8px; }
.rc-values p { margin: 0; }
.rc-split h3 { font-family: var(--serif); font-size: 19px; margin: 22px 0 6px; }
.rc-split h3:first-child { margin-top: 0; }
@media (max-width: 760px) { .rc-values { grid-template-columns: 1fr; } }
.rc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 24px; }
.rc-split .labo-fig { margin: 0; }
.rc-split .labo-fig img { width: 100%; height: auto; border-radius: 18px; display: block; }
@media (max-width: 860px) { .rc-split { grid-template-columns: 1fr; } }

/* メニュー7項目（採用情報を追加、2026-11-16）：狭いPC幅でさらに詰める */
@media (max-width: 1500px) and (min-width: 961px) { .nav a { letter-spacing: .02em; } }
@media (max-width: 1080px) and (min-width: 961px) {
  .logo-img img { height: 32px; }
  .nav a { padding: 6px 4px; font-size: 12.5px; letter-spacing: 0; }
  .nav .nav-cta { padding: 8px 12px; margin-left: 4px; }
  .header-inner { gap: 10px; }
}
