@charset "UTF-8";
/* ==========================================================
   テーマ mirainet メインCSS（承認済みプロトタイプ 2026-11-05 から移植）
   トークンは docs/style-guide.md が正本。theme.json のパレットと同じ値
   モバイルファースト（SP → 768px → 1080px）
   ========================================================== */

:root {
  /* ブランド */
  --color-brand: #3390d6;
  --color-brand-strong: #1f6fb5;
  --color-brand-tint: #e6f2fb;
  /* 依頼ボタン */
  --color-cta: #d63b3b;
  --color-cta-hover: #b8302f;
  /* アクセント */
  --color-rose: #cc2e5c;
  --color-rose-tint: #fdf0f4;
  --color-orange: #b04e18;
  --color-orange-tint: #fff6ec;
  /* 文字・背景 */
  --color-text: #333333;
  --color-text-sub: #5c6670;
  --color-link: #0066bf;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-border: #dddddd;

  /* 文字 */
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  --fs-body: 1rem;        /* 16px */
  --fs-small: 0.875rem;   /* 14px */
  --fs-label: 0.8125rem;  /* 13px */
  --fs-h2: 1.5rem;        /* SP 24px → PC 28px */
  --fs-h3: 1.25rem;       /* SP 20px → PC 22px */
  --fs-h4: 1.125rem;      /* 18px */
  --lh-body: 1.8;

  /* 余白・形 */
  --space-section: 4rem;
  --gutter: 1rem;
  --container: 1120px;
  --article: 760px;
  --radius: 8px;
  --header-h: 60px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .06);
}

@media (min-width: 768px) {
  :root {
    --fs-h2: 1.75rem;
    --fs-h3: 1.375rem;
    --space-section: 5.5rem;
    --gutter: 1.5rem;
    --header-h: 76px;
  }
}

/* ---------- ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: .02em;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-wrap: anywhere;
  line-break: strict;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-feature-settings: "palt"; letter-spacing: .04em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-brand-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-brand-strong); color: #fff; padding: .5rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: .5rem; }

.visually-hidden, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--article { max-width: calc(var(--article) + var(--gutter) * 2); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--cta { background: var(--color-cta); color: #fff; }
.btn--cta:hover { background: var(--color-cta-hover); text-decoration: none; }
.btn--sub { background: #fff; color: var(--color-brand-strong); border-color: var(--color-brand-strong); }
.btn--sub:hover { background: var(--color-brand-tint); }
.btn--sm { min-height: 40px; padding: .4em 1.1em; font-size: .9375rem; }
.btn__arrow { width: .9em; height: .9em; flex: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; gap: .75rem;
}
.site-logo { margin: 0; flex: 0 1 auto; min-width: 0; }
.site-logo a { display: block; }
.site-logo img { width: 200px; height: auto; }

.gnav { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }

.menu-toggle {
  width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--color-text);
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (min-width: 400px) {
  .site-logo img { width: 230px; }
}

@media (min-width: 1080px) {
  .site-logo img { width: 300px; }
  .menu-toggle { display: none; }
  .gnav { display: block; margin-left: auto; }
  .gnav__list { list-style: none; display: flex; gap: .25rem; }
  .gnav__item { position: relative; }
  .gnav__link {
    display: flex; flex-direction: column; align-items: center;
    padding: .5rem .9rem; color: var(--color-text); text-decoration: none;
    font-size: .9375rem; font-weight: 700; line-height: 1.3;
  }
  /* 日本語の上に英字（メニューの「説明」欄。大文字・青で表示） */
  .gnav__link small {
    font-size: .625rem; font-weight: 400; letter-spacing: .15em;
    color: var(--color-brand-strong); text-transform: uppercase;
  }
  .gnav__link:hover, .gnav__link[aria-current="page"] { color: var(--color-brand-strong); }
  .gnav__sub {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
    min-width: 240px; list-style: none; padding: .5rem 0; margin-top: .5rem;
    background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    /* マウスが外れても少しのあいだ表示を残す */
    visibility: hidden; opacity: 0; transition: opacity .15s .25s, visibility 0s .4s;
  }
  /* 項目とメニューのすき間を、マウスが通っても途切れないようにする */
  .gnav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(.5rem + 2px); }
  .gnav__item:hover .gnav__sub,
  .gnav__item:focus-within .gnav__sub { visibility: visible; opacity: 1; transition: opacity .15s, visibility 0s; }
  .gnav__sub a {
    display: block; padding: .5rem 1.25rem; color: var(--color-text);
    text-decoration: none; font-size: .9375rem; white-space: nowrap;
  }
  .gnav__sub a:hover { background: var(--color-brand-tint); color: var(--color-brand-strong); }
}

/* スマホメニュー */
.spmenu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto;
  padding: 1rem var(--gutter) 3rem;
}
.spmenu[hidden] { display: none; }
.spmenu__list { list-style: none; }
.spmenu__list > li { border-bottom: 1px solid var(--color-border); }
.spmenu__list a {
  display: flex; align-items: center; min-height: 52px;
  color: var(--color-text); text-decoration: none; font-weight: 700;
}
.spmenu__sub { list-style: none; padding: 0 0 .75rem 1rem; }
.spmenu__sub a { min-height: 44px; font-weight: 400; font-size: .9375rem; }
.spmenu__cta { margin-top: 1.5rem; width: 100%; }
.spmenu__search { margin-top: 1.5rem; }

/* ---------- パンくず・ページ見出し ---------- */
.breadcrumb { font-size: var(--fs-small); color: var(--color-text-sub); padding-block: .75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .5rem; color: var(--color-text-sub); }
.breadcrumb a { color: var(--color-text-sub); }

.page-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2.5rem;
}
.page-header__label {
  display: block; font-size: var(--fs-label); letter-spacing: .15em;
  color: var(--color-brand-strong); text-transform: uppercase; font-weight: 700; margin: 1rem 0 .25rem;
}
.page-header__title { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); }
.page-header__meta { margin-top: .75rem; color: var(--color-text-sub); font-size: var(--fs-small); display: flex; gap: 1rem; flex-wrap: wrap; }
.page-header__lead { margin: 1.25rem 0 0; max-width: 46em; font-size: 1.0625rem; }
.page-header__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- セクション見出し（英字ラベル＋日本語） ---------- */
.section { padding-block: var(--space-section); }
.section--alt { background: var(--color-bg-alt); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head__label {
  display: block; font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--color-brand-strong);
  margin-bottom: .35rem;
}
.section-head__title { font-size: var(--fs-h2); }
.section-head__lead { margin: 1rem auto 0; max-width: 40em; color: var(--color-text-sub); }
.section-foot { margin-top: 2.5rem; text-align: center; }

/* ---------- ヒーロー ---------- */
.hero { border-bottom: 1px solid var(--color-border); }
.hero__inner {
  display: grid; gap: 1.5rem;
  padding-block: 2rem 2.5rem;
}
.hero__eyebrow {
  display: inline-block; font-size: var(--fs-small); font-weight: 700;
  color: var(--color-brand-strong); background: var(--color-brand-tint);
  padding: .2em .8em; border-radius: 4px; margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(1.625rem, 1.05rem + 2.9vw, 2.75rem);
  line-height: 1.45; letter-spacing: .06em;
}
.hero__title em { font-style: normal; color: var(--color-brand-strong); }
.hero__lead { margin: 1rem 0 1.5rem; font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__actions .btn { flex: 1 1 14rem; }
.hero__proof {
  margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--color-border);
  font-size: var(--fs-small); color: var(--color-text-sub);
}
.hero__proof strong { color: var(--color-text); font-size: 1rem; }
.hero__media { margin: 0; position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius);
}
.hero__media figcaption { font-size: var(--fs-label); color: var(--color-text-sub); margin-top: .5rem; }

@media (min-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center; gap: 3.5rem; padding-block: 3.5rem 4rem;
  }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- 写真カード（取り組み・事業報告） ---------- */
.card-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } }

.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); color: var(--color-text); text-decoration: none;
}
.card:hover { text-decoration: none; }
.card:hover .card__title { color: var(--color-brand-strong); text-decoration: underline; }
.card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--color-bg-alt); }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__meta { font-size: var(--fs-small); color: var(--color-text-sub); display: flex; gap: .75rem; flex-wrap: wrap; }
.card__title { font-size: 1rem; line-height: 1.6; }
.card__text { font-size: .9375rem; margin: 0; }

.card--activity .card__title { font-size: 1.0625rem; }
.card--activity .card__img { aspect-ratio: 4 / 3; }

/* ---------- お知らせの行リスト ---------- */
.news-list { list-style: none; border-top: 1px solid var(--color-border); }
.news-list li { border-bottom: 1px solid var(--color-border); }
.news-list a { display: grid; gap: .125rem; padding: .625rem .25rem; color: var(--color-text); text-decoration: none; }
.news-list a:hover .news-list__title { color: var(--color-brand-strong); text-decoration: underline; }
.news-list__meta { font-size: var(--fs-small); color: var(--color-text-sub); display: flex; gap: .75rem; }
.news-list__title { font-weight: 700; line-height: 1.6; }
@media (min-width: 768px) {
  .news-list a { grid-template-columns: 12rem 1fr; align-items: baseline; gap: 1.5rem; }
}

.cat {
  display: inline-block; font-size: .75rem; font-weight: 700; line-height: 1.6;
  padding: 0 .6em; border-radius: 3px; background: var(--color-brand-tint); color: var(--color-brand-strong);
}
.cat--repo { background: var(--color-rose-tint); color: var(--color-rose); }

/* ---------- 依頼CTA帯 ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: 4rem; background: #1b2a38; color: #fff; }
/* トップの最初の画面と同じ写真を敷き、暗く重ねて文字を白で載せる */
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 24, 36, .86) 0%, rgba(12, 24, 36, .72) 60%, rgba(12, 24, 36, .6) 100%);
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band__title { font-size: var(--fs-h2); color: #fff; }
.cta-band__text { margin: .75rem 0 0; color: rgba(255, 255, 255, .9); }
.cta-band__actions { display: grid; gap: .75rem; justify-items: start; }
@media (min-width: 1080px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; }
  .cta-band__actions { justify-items: end; text-align: right; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--color-rose); color: #fff; padding-block: 3rem 1.5rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__name { font-size: 1.0625rem; font-weight: 700; margin: 0 0 .75rem; line-height: 1.6; }
.site-footer address { font-style: normal; font-size: var(--fs-small); line-height: 1.9; }
.site-footer__head {
  font-size: var(--fs-label); letter-spacing: .15em; font-weight: 700;
  margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .4);
}
.site-footer ul { list-style: none; font-size: var(--fs-small); }
.site-footer li { margin-bottom: .35rem; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer__copy {
  margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .4);
  font-size: .8125rem; text-align: center;
}

.pagetop {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--color-brand-strong); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop svg { width: 20px; height: 20px; }

/* ---------- 本文（固定ページ・投稿） ---------- */
.entry { padding-block: 2.5rem var(--space-section); }
.entry > * + * { margin-top: 1.25rem; }
.entry h2 {
  font-size: var(--fs-h2); margin-top: 3.5rem; padding-bottom: .5rem;
  border-bottom: 3px solid var(--color-brand);
}
.entry h3 { font-size: var(--fs-h3); margin-top: 2.5rem; padding-left: .75rem; border-left: 4px solid var(--color-brand); }
.entry h4 { font-size: var(--fs-h4); margin-top: 2rem; }
.entry ul, .entry ol { padding-left: 1.5em; }
.entry li + li { margin-top: .35em; }
.entry figure { margin: 2rem 0; }
.entry figcaption { font-size: var(--fs-small); color: var(--color-text-sub); margin-top: .5rem; }
.entry img { border-radius: var(--radius); }

.entry-summary {
  background: var(--color-brand-tint); border-left: 4px solid var(--color-brand);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-summary p:last-child { margin-bottom: 0; }


/* 表（SWELLの説明リストの書き換え先） */
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { border: 1px solid var(--color-border); padding: .75rem 1rem; text-align: left; vertical-align: top; }
.table th { background: var(--color-bg-alt); width: 30%; font-weight: 700; }
@media (max-width: 639px) {
  .table--stack th, .table--stack td { display: block; width: 100%; }
  .table--stack th { border-bottom: 0; }
  .table--stack tr + tr th { border-top: 0; }
  .table--stack td { border-top: 0; }
}

/* キャプションボックス（SWELLのcap_box） */
.capbox { border: 1px solid var(--color-orange); border-radius: var(--radius); background: var(--color-orange-tint); overflow: hidden; }
.capbox__title { background: var(--color-orange); color: #fff; font-weight: 700; padding: .5rem 1.25rem; font-size: 1rem; margin: 0; }
.capbox__body { padding: 1.25rem; }
.capbox__body > :last-child { margin-bottom: 0; }

/* 原稿待ちの枠（プロトタイプ専用の表示） */
.placeholder {
  border: 2px dashed #b9c4ce; border-radius: var(--radius); padding: 1.25rem 1.5rem;
  background: repeating-linear-gradient(-45deg, #fafbfc 0 12px, #f3f5f7 12px 24px);
  color: var(--color-text-sub);
}
.placeholder__tag {
  display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: #6b7780;
  padding: .1em .6em; border-radius: 3px; margin-bottom: .5rem;
}
.placeholder p:last-child { margin-bottom: 0; }

/* 依頼の流れ（順番に意味がある手順なので番号付き） */
.steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: .75rem; }
.steps li {
  counter-increment: step; position: relative; margin: 0 !important;
  padding: 1rem 1rem 1rem 3.75rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-brand-strong); color: #fff; font-weight: 700;
}
.steps b { display: block; }

/* よくある質問 */
.faq { border-top: 1px solid var(--color-border); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 2.25rem; position: relative; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: .25rem; color: var(--color-brand-strong); font-weight: 700; }
.faq summary::after { content: "+"; position: absolute; right: .75rem; top: .9rem; font-size: 1.25rem; color: var(--color-brand-strong); }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 1rem 1.25rem 2.25rem; }


/* 講師プロフィール */
.profile { display: grid; gap: 1.5rem; }
.profile__name { font-size: var(--fs-h3); font-weight: 700; margin: 0; }
.profile__name small { display: block; font-size: var(--fs-small); color: var(--color-text-sub); font-weight: 400; letter-spacing: .1em; }
.profile__creds { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.profile__creds li { margin: 0 !important; font-size: var(--fs-small); background: var(--color-brand-tint); color: var(--color-brand-strong); padding: .2em .75em; border-radius: 999px; font-weight: 700; }
.profile__themes { list-style: none; padding: 0 !important; display: grid; gap: .5rem; }
@media (min-width: 640px) { .profile__themes { grid-template-columns: repeat(2, 1fr); } }
.profile__themes li { margin: 0 !important; }
.profile__themes a { display: block; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.profile__themes a:hover { background: var(--color-brand-tint); }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: .5rem; }
.form__label { font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.req { font-size: .75rem; color: #fff; background: var(--color-cta); padding: 0 .5em; border-radius: 3px; font-weight: 700; }
.opt { font-size: .75rem; color: var(--color-text-sub); border: 1px solid var(--color-border); padding: 0 .5em; border-radius: 3px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid #9aa5ae; border-radius: 6px; background: #fff; color: var(--color-text);
}
.form textarea { min-height: 10rem; resize: vertical; }
.form__help { font-size: var(--fs-small); color: var(--color-text-sub); margin: 0; }
.form__choices { display: grid; gap: .25rem; border: 0; padding: 0; margin: 0; }
@media (min-width: 640px) { .form__choices { grid-template-columns: repeat(2, 1fr); } }
.form__choices label { display: flex; gap: .5rem; align-items: center; min-height: 40px; }
.form__choices input { width: 1.15rem; height: 1.15rem; }
.form__turnstile {
  width: 300px; max-width: 100%; height: 65px; border: 1px solid var(--color-border); border-radius: 4px;
  display: grid; place-items: center; font-size: var(--fs-small); color: var(--color-text-sub); background: #fafafa;
}
.form__submit { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }
.form-steps { list-style: none; display: flex; gap: .5rem; margin-bottom: 2rem; font-size: var(--fs-small); }
.form-steps li { flex: 1; text-align: center; padding: .5rem; border-bottom: 3px solid var(--color-border); color: var(--color-text-sub); }
.form-steps li[aria-current="step"] { border-color: var(--color-brand-strong); color: var(--color-brand-strong); font-weight: 700; }
.confirm-table { width: 100%; border-collapse: collapse; }
.confirm-table th, .confirm-table td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.confirm-table th { width: 32%; font-size: var(--fs-small); color: var(--color-text-sub); }

/* ---------- 動き（控えめ） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.is-shown { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .spmenu, .cta-band, .site-footer, .pagetop, .breadcrumb { display: none !important; }
  .page-header { background: none; }
}

/* ---------- 追加：動画・前後の記事 ---------- */
button.resource { font: inherit; text-align: left; width: 100%; cursor: pointer; }
button.resource:hover .resource__title { color: var(--color-brand-strong); text-decoration: underline; }
.yt__frame { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); grid-column: 1 / -1; }
.post-nav { margin-top: 2.5rem; border-top: 1px solid var(--color-border); padding-top: 1rem; }
.post-nav a { display: block; text-decoration: none; color: var(--color-text); font-weight: 700; }
.post-nav small { display: block; font-weight: 400; color: var(--color-text-sub); }
.post-nav a:hover { color: var(--color-brand-strong); }

/* ---------- 調整：スマホ表示（2026-11-03 確認後） ---------- */
h1, h2, h3 { word-break: auto-phrase; }
.nowrap { white-space: nowrap; }
.br-pc { display: none; }
@media (min-width: 1080px) { .br-pc { display: inline; } }

@media (max-width: 399px) {
  .site-logo img { width: 176px; }
}

@media (max-width: 767px) {
  :root { --space-section: 3rem; }
  .section-head { margin-bottom: 1.75rem; }
  .section-foot { margin-top: 1.75rem; }
  .hero__inner { padding-block: 1.5rem 2rem; }

  /* 研修カード：余白を詰める */
  .hug-card { padding: 1rem 1rem .9rem 1.25rem; }
  .hug-card__title { margin: .4rem 0 .35rem; }
  .hug-card__text { margin-bottom: .6rem; font-size: .875rem; }

  /* 取り組み：2列の小さなカード */
  .card-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card-grid--5 .card__body { padding: .6rem .75rem .75rem; }
  .card-grid--5 .card__title { font-size: .9375rem; }

  /* 事業報告：写真を左に置いた横長の行 */
  .card-grid--3 { gap: .75rem; }
  .card-grid--3 .card { flex-direction: row; }
  .card-grid--3 .card__img { width: 112px; flex: none; aspect-ratio: 1 / 1; }
  .card-grid--3 .card__body { padding: .6rem .85rem; gap: .2rem; }
  .card-grid--3 .card__title { font-size: .875rem; line-height: 1.55; }
  .card-grid--3 .card__meta { font-size: .75rem; gap: .5rem; }

  /* 実績の数字：2列 */
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers li { padding: 1rem .9rem; }
  .numbers__value span { font-size: 1.625rem; }
  .numbers__value small { font-size: .875rem; }

  .resource { padding: 1rem; }
  .relation { padding: 1.1rem 1.25rem; }
  .cta-band { padding-block: 2.5rem; }
}

@media (max-width: 767px) {
  /* フッター：リンクを2列にして短く */
  .site-footer { padding-block: 2.25rem 1.25rem; }
  .site-footer__grid { gap: 1.5rem; }
  .site-footer ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1rem; }
  .site-footer li { margin-bottom: .2rem; }
  .site-footer__copy { margin-top: 1.5rem; }
  /* 関わり方：説明文を短く見せる */
  .relation-list { gap: .75rem; }
  .relation__title { font-size: 1.0625rem; }
}

/* ==========================================================
   トップ：今のサイトの構成に合わせた部品（2026-11-05 修正）
   ========================================================== */

/* 大きな英字＋日本語の見出し（今のサイトの形を継承。英字は飾りなので読み上げ対象外） */
.section-head--big { margin-bottom: 2rem; }
.section-head__en {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.25rem, 2rem + 6vw, 5.6rem);
  font-weight: 700; line-height: 1; letter-spacing: .02em;
  color: #e6ebf0;
  user-select: none;
}
.section--alt .section-head__en { color: #e3e8ed; }
.section-head--big .section-head__title { margin-top: -.35em; position: relative; }

/* 主な取り組み：写真＋青い見出し */
.work-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
.work { display: block; text-decoration: none; text-align: center; }
.work img { width: 100%; aspect-ratio: 500 / 260; object-fit: cover; border-radius: 4px; }
.work__title { display: block; margin-top: .6rem; font-weight: 700; color: var(--color-brand-strong); }
.work:hover .work__title { text-decoration: underline; }

/* 事業報告：写真の上にタイトルの帯 */
.report-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 960px) { .report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.report { position: relative; display: block; border-radius: 4px; overflow: hidden; color: #fff; text-decoration: none; background: #555; }
.report img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.report__cat {
  position: absolute; top: .6rem; right: .6rem;
  font-size: .75rem; font-weight: 700; padding: .1em .6em; border-radius: 3px;
  background: var(--color-brand-strong); color: #fff;
}
.report__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .75rem 1rem; background: rgba(40, 40, 40, .78);
  display: grid; gap: .15rem;
}
.report__title { font-weight: 700; font-size: .9375rem; line-height: 1.55; }
.report time { font-size: .8125rem; }
.report:hover .report__title { text-decoration: underline; }

/* 関わり方：写真＋一文＋ボタン */
.relation-grid { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .relation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .relation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.rel { display: flex; flex-direction: column; align-items: center; gap: .75rem; height: 100%; text-align: center; }
.rel img { width: 100%; aspect-ratio: 500 / 340; object-fit: cover; border-radius: 4px; }
.rel p { margin: 0; flex: 1; font-size: .9375rem; }

/* 資料・動画：キャプションボックスに入ったバナー */
.banner-grid { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.banner-grid .capbox { height: 100%; }
.banner-grid .capbox__title { text-align: center; font-size: .9375rem; line-height: 1.6; }
.banner-grid .capbox__body { padding: 1rem; }
.banner-grid img { width: 100%; aspect-ratio: 500 / 260; object-fit: cover; }

/* 活動実績：年度のボタン */
.year-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.year-grid a {
  display: grid; place-items: center; min-height: 56px; padding: .5rem; text-align: center;
  background: #fff; border: 1px solid #ccc; border-radius: 4px;
  color: var(--color-text); font-weight: 700; text-decoration: none; line-height: 1.4;
}
.year-grid a:hover { border-color: var(--color-brand-strong); color: var(--color-brand-strong); }

/* ==========================================================
   ヒーロー：全幅の背景写真＋重ねた文字（2026-11-05）
   文字のコントラストは暗い膜で確保（白文字×膜の最も明るい所でも4.5以上）
   ========================================================== */
.hero--cover {
  position: relative; isolation: isolate; overflow: hidden;
  border-bottom: 0;
  min-height: calc(100svh - var(--header-h) - 2rem);
  display: flex; align-items: center;
  color: #fff;
  background: #1b2a38;
}
.hero--cover .hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
}
/* 背景の写真を、順にフェードで切り替える（1枚あたり6秒、切り替えは1.2秒）。CSSだけで動く */
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides .hero__bg { z-index: 0; opacity: 0; }
@media (min-width: 1080px) {
  /* 写真を欠けさせずに右寄せ。左の余白は上のぼかしで埋まる */
  }
.hero__slides .hero__slide:first-child { opacity: 1; }
.hero__slides--n2 .hero__slide, .hero__slides--n3 .hero__slide,
.hero__slides--n4 .hero__slide, .hero__slides--n5 .hero__slide {
  animation-name: hero-fade; animation-timing-function: linear; animation-iteration-count: infinite;
  animation-delay: calc(var(--i) * 6s - 1.2s);
}
.hero__slides--n2 .hero__slide { animation-duration: 12s; animation-name: hero-fade-2; }
.hero__slides--n3 .hero__slide { animation-duration: 18s; animation-name: hero-fade-3; }
.hero__slides--n4 .hero__slide { animation-duration: 24s; animation-name: hero-fade-4; }
.hero__slides--n5 .hero__slide { animation-duration: 30s; animation-name: hero-fade-5; }
@keyframes hero-fade-2 { 0% { opacity: 0; } 10% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-fade-3 { 0% { opacity: 0; } 6.667% { opacity: 1; } 33.33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-fade-4 { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-fade-5 { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slides .hero__slide { animation: none !important; opacity: 0; }
  .hero__slides .hero__slide:first-child { opacity: 1; }
}
.hero--cover::before {
  /* 文字を読みやすくする暗い膜 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 24, 36, .64) 0%, rgba(12, 24, 36, .74) 55%, rgba(12, 24, 36, .84) 100%);
}
.hero--cover .hero__inner { display: block; padding-block: 3rem 3.5rem; width: 100%; }
.hero--cover .hero__content { max-width: 40rem; }
.hero--cover .hero__eyebrow { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.hero--cover .hero__title { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero--cover .hero__title em { color: #a9d6f7; }
.hero--cover .hero__lead { color: #fff; }
.hero--cover .hero__proof { border-top-color: rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .9); }
.hero--cover .hero__proof strong { color: #fff; }
.hero__caption {
  position: absolute; right: var(--gutter); bottom: .6rem; margin: 0;
  font-size: .75rem; color: rgba(255, 255, 255, .85);
}
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }

@media (min-width: 1080px) {
  .hero--cover { min-height: min(680px, calc(100vh - var(--header-h))); }
  .hero--cover::before {
    background: linear-gradient(90deg, rgba(12, 24, 36, .82) 0%, rgba(12, 24, 36, .7) 45%, rgba(12, 24, 36, .3) 75%, rgba(12, 24, 36, .15) 100%);
  }
  .hero--cover .hero__inner { padding-block: 4rem; }
  .hero--cover .hero__actions .btn { flex: 0 0 auto; }
}
