/* =========================================================
   mirainet-base : components.css
   見本サイト準拠：電話ヘッダー / 青ナビバー / 写真スライダー /
   青帯見出し / ピンクコールアウト / フラットカード / フッター
   ========================================================= */

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.3; min-height: 46px;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn--cta { background: var(--color-cta); color: var(--color-cta-ink); }
.btn--cta:hover { background: var(--color-cta-hover); color: #fff; }
.btn--blue { background: var(--color-primary-bright); color: #fff; }
.btn--blue:hover { background: var(--color-bright-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--color-primary); border-color: var(--color-primary-bright); }
.btn--ghost:hover { background: var(--color-surface-3); color: var(--color-primary-dark); }
.btn--sm { padding: 8px 14px; font-size: .88rem; min-height: 38px; }
.btn--block { width: 100%; }
.sec-head__btn.btn { min-height: 36px; padding: 6px 14px; font-size: .84rem; background: #fff; color: var(--color-primary); border-color: #fff; }
.sec-head__btn.btn:hover { background: var(--color-surface-3); }

/* ---------- ヘッダー上段（電話・タイトル） ---------- */
.topbar { background: #fff; border-bottom: 3px solid var(--color-primary-bright); }
.topbar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.sitetitle { text-decoration: none; color: inherit; display: block; }
.sitetitle__catch { font-size: clamp(18px, 2.6vw, 28px); font-weight: 900; color: var(--color-primary); margin: 0; line-height: 1.35; }
.sitetitle__main {
  font-size: clamp(18px, 2.6vw, 28px); font-weight: 900; color: var(--color-primary);
  line-height: 1.35; letter-spacing: .01em; margin-top: 2px;
}
.sitetitle__area { display: block; font-size: clamp(13px, 1.8vw, 19px); font-weight: 800; margin-top: 6px; color: var(--color-primary-bright); }

.topbar__right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto;
}
.grant-logo {
  display: block; line-height: 0; text-decoration: none;
}
.grant-logo img {
  display: block; width: auto; height: auto;
  max-width: min(220px, 48vw); max-height: 44px;
  object-fit: contain;
}
@media (min-width: 900px) {
  .grant-logo img { max-height: 52px; max-width: 260px; }
}

.contactblock { text-align: right; }
.contactblock__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-primary); font-weight: 800; font-size: clamp(1.17rem, 2.88vw, 1.71rem);
  line-height: 1; letter-spacing: .01em; text-decoration: none;
}
.contactblock__phone svg { width: 23px; height: 23px; flex: none; }
a.contactblock__phone:hover { color: var(--color-primary-dark); }
.contactblock__org { font-size: .74rem; color: var(--color-ink-2); margin-top: 6px; line-height: 1.5; }
.contactblock__note { font-size: .68rem; color: var(--color-ink-3); }
.contactblock__actions { margin-top: 8px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- ナビバー（横長・水色） ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--color-area); }
.navbar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  display: flex; align-items: stretch;
}
.navbar__home {
  display: flex; align-items: center; padding: 0 16px 0 4px; color: #fff; text-decoration: none;
}
.navbar__home svg { width: 24px; height: 24px; }
.gnav { display: none; flex: 1; }
.gnav ul { list-style: none; display: flex; margin: 0; padding: 0; height: 100%; width: 100%; }
.gnav li { display: flex; flex: 1; }
.gnav a {
  display: flex; align-items: center; justify-content: center; padding: 15px 10px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; white-space: nowrap; border-left: 1px solid rgba(255,255,255,.25);
  width: 100%;
}
.gnav li:last-child a { border-right: 1px solid rgba(255,255,255,.25); }
.gnav a:hover, .gnav a[aria-current="page"] { background: rgba(255,255,255,.18); color: #fff; }
.navbar__cta { display: none; margin-left: auto; align-self: center; }

.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; align-self: center;
  border: none; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* モバイルドロワー */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 320px); z-index: 120;
  background: #fff; transform: translateX(100%); transition: transform .25s ease;
  padding: 16px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu .btn--cta { margin-bottom: 8px; }
.mobile-menu a.mnav {
  padding: 13px 12px; text-decoration: none; color: var(--color-ink); font-weight: 700;
  border-bottom: 1px solid var(--color-line);
}
.mobile-menu a.mnav:hover { color: var(--color-primary); background: var(--color-surface-3); }
.menu-backdrop {
  position: fixed; inset: 0; z-index: 110; background: rgba(0,20,40,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.menu-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .mobile-menu, .menu-backdrop { transition: none; } }

.hero { background: #0a2a3a; width: 100%; position: relative; overflow: hidden; }

/* ヒーロー写真スライダー（全幅）
   ※ aspect-ratio と max-height を併用すると幅が縮むため、高さは min() で制御する */
.slider { position: relative; width: 100%; margin-inline: auto; }
.slider__track {
  position: relative;
  width: 100%;
  height: min(56.25vw, 420px); /* 16:9 相当・SP */
  overflow: hidden;
}
@media (min-width: 900px) {
  .slider__track { height: min(34.375vw, 520px); } /* 16:5.5 相当・PC */
}
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .5s ease;
  display: grid; place-items: center; color: #eaf4fa;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide[data-active="true"] { opacity: 1; }
.slide__ph {
  text-align: center; padding: 24px;
  background: linear-gradient(135deg, #0071BC 0%, #29ABE2 100%);
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px;
}
.slide__ph svg { width: 72px; height: 72px; opacity: .85; margin-inline: auto; }
.slide__ph b { font-size: 1.15rem; font-weight: 800; }
.slide__ph span { font-size: .9rem; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--color-primary); display: grid; place-items: center;
}
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }
@media (min-width: 1180px) {
  .slider__arrow--prev { left: calc((100% - var(--maxw)) / 2 + 24px); }
  .slider__arrow--next { right: calc((100% - var(--maxw)) / 2 + 24px); }
}
.slider__arrow svg { width: 22px; height: 22px; }
.slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.slider__dot[aria-current="true"] { background: #fff; }

/* ---------- ピンク・コールアウト箱 ---------- */
.callout-pink {
  border: 2px solid var(--color-cta); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.callout-pink__head { background: var(--color-cta); color: #fff; padding: 12px 18px; font-weight: 800; font-size: 1.05rem; }
.callout-pink__body { padding: 18px; }
.callout-pink__body p { margin: 0 0 14px; color: var(--color-ink); }

/* 左サイドバー（申込＋資料DLを縦積み） */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ハンドブック紹介＋DL（独立ボックス） */
.hb-box { border: 1px solid var(--color-primary-bright); border-radius: var(--radius); overflow: hidden; background: #fff; }
.hb-box__head { background: var(--color-primary-bright); color: #fff; padding: 10px 16px; font-weight: 800; font-size: 1rem; }
.hb-box__body { padding: 16px; }
.hb-cover {
  position: relative; margin: 0 auto 14px; width: 170px; aspect-ratio: 210 / 297;
  background: linear-gradient(160deg, #0071BC 0%, #29ABE2 100%); color: #fff;
  border-radius: 4px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 12px 10px;
}
.hb-cover--image {
  background: #fff; padding: 0; overflow: hidden; gap: 0;
}
.hb-cover--image img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.hb-cover svg { width: 40px; height: 40px; opacity: .9; }
.hb-cover__title { font-size: .68rem; font-weight: 800; line-height: 1.4; word-break: keep-all; }
.hb-cover__tag {
  position: absolute; top: 8px; right: 8px; font-size: .6rem; font-weight: 800;
  background: var(--color-danger); color: #fff; border-radius: 3px; padding: 2px 6px; letter-spacing: .04em; z-index: 1;
}
.hb-desc { margin: 0 0 12px; font-size: .86rem; color: var(--color-ink-2); line-height: 1.7; }
.hb-box .btn,
.hb-box a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box;
}
.hb-box .btn svg,
.hb-box a.btn svg { width: 18px; height: 18px; flex: none; }
.hb-download {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; box-sizing: border-box;
  padding: 10px 16px; min-height: 44px; font-size: .95rem; line-height: 1.3;
}
.hb-download svg {
  width: 18px !important; height: 18px !important; flex: none; display: block;
}
.hb-download:disabled,
.hb-download--disabled:disabled {
  background: #e0e0e0; color: #999; border: 1px solid #ccc; cursor: not-allowed;
}
.dl-note { margin: 8px 0 0; font-size: .72rem; color: var(--color-ink-3); }
.hb-more { display: inline-block; margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--color-primary); text-decoration: none; }
.hb-more:hover { text-decoration: underline; }

/* ---------- 下層ページ ヒーロー ---------- */
.page-hero {
  position: relative;
  background-image:
    radial-gradient(80% 140% at 90% -20%, color-mix(in srgb, var(--color-primary-bright) 15%, transparent), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.94) 70%),
    url('../images/hero_slide_1.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--color-line);
}
.page-hero__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(26px, 5vw, 46px) var(--gutter);
  min-height: clamp(160px, 16vw, 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero .eyebrow { color: var(--color-primary-bright); }
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--color-primary); margin: 8px 0 10px; }
.page-hero__lead { color: var(--color-ink-2); max-width: 46em; margin: 0; }
.crumb { font-size: .8rem; color: var(--color-ink-3); margin: 0 0 6px; }
.crumb a { color: var(--color-ink-3); text-decoration: none; }
.crumb a:hover { color: var(--color-primary); }

/* ---------- 訓練の流れ ---------- */
.flow { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.flow li {
  background: #fff; border: 1px solid var(--color-line); border-top: 4px solid var(--color-primary-bright);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.flow li .flow__n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 8px;
}
.flow li b { display: block; color: var(--color-primary); font-size: 1rem; }
.flow li span { font-size: .84rem; color: var(--color-ink-2); }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 実施地区・日程 ---------- */
.venue { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.venue__head { background: var(--color-primary-bright); color: #fff; padding: 14px 18px; }
.venue__head b { font-size: 1.2rem; font-weight: 800; }
.venue__head span { display: block; font-size: 1.05rem; opacity: 1; margin-top: 6px; font-weight: 700; }
.venue__body { padding: 8px 18px 16px; }
.sched { width: 100%; border-collapse: collapse; }
.sched th, .sched td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--color-line); font-size: .92rem; vertical-align: middle; }
.sched tr:last-child th, .sched tr:last-child td { border-bottom: none; }
.sched th { width: 38%; color: #1c1c1c; font-weight: 700; }
.sched td { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.sched .tbd { color: var(--color-ink-3); font-size: .86rem; }
.sched .done { color: var(--color-cta); font-weight: 700; }
.sched td:last-child { text-align: right; }
.sched a.report-link { color: var(--color-primary); font-weight: bold; text-decoration: underline; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 2px; }
.sched a.report-link:hover { color: var(--color-primary-dark); text-decoration: none; }
.venue__note { margin: 10px 0 0; font-size: .84rem; color: var(--color-ink-2); background: var(--color-surface-3); border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 10px 12px; }

/* ---------- 参加者募集バンド（全幅・3本柱直後） ---------- */
.recruit-band { border: 2px solid var(--color-cta); border-radius: var(--radius); overflow: hidden; background: #fff; }
.recruit-band__head { background: var(--color-cta); color: #fff; padding: 12px 20px; font-weight: 800; font-size: 1.1rem; }
.recruit-band__inner { display: flex; align-items: center; gap: 20px; padding: 18px 20px; flex-wrap: wrap; }
.recruit-band__inner p { margin: 0; flex: 1; min-width: 240px; color: var(--color-ink); }
.recruit-band__inner .btn { flex: none; }
@media (min-width: 600px) { .recruit-band__inner .btn { min-width: 220px; } }

/* ---------- リード / 趣旨（目的3点） ---------- */
.lead-band { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--color-ink); line-height: 1.9; }
.aims { display: grid; gap: 12px; margin-top: 20px; }
.aim {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--color-surface-3); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 16px 18px;
}
.aim__no {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 800; font-size: .95rem;
}
.aim__txt { flex: 1; }
.aim h3 { font-size: 1.02rem; margin-bottom: 2px; color: var(--color-primary); }
.aim p { margin: 0; color: var(--color-ink-2); font-size: .92rem; line-height: 1.7; }
/* 2カラム内では趣旨①〜③を縦積み（横長リスト）にして、左サイドバーの高さと釣り合わせる */
.layout-2col .aims { grid-template-columns: 1fr; }

/* ---------- 3本柱カード（フラット） ---------- */
.pillars { display: grid; gap: 16px; margin-top: 8px; }
.pillar {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--color-line); border-top: 4px solid var(--color-primary-bright);
  border-radius: var(--radius-sm); padding: 20px; transition: box-shadow .14s ease;
}
.pillar:hover { box-shadow: var(--shadow-lg); }
.pillar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pillar__icon { flex: none; width: 46px; height: 46px; border-radius: 8px; background: var(--color-primary); color: #fff; display: grid; place-items: center; }
.pillar__icon svg { width: 25px; height: 25px; }
.pillar__step { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--color-primary-bright); }
.pillar h3 { font-size: 1.12rem; color: var(--color-primary); }
.pillar p { margin: 0 0 14px; color: var(--color-ink-2); font-size: .93rem; flex: 1; }
.pillar__more { font-weight: 700; color: var(--color-primary-bright); font-size: .9rem; }

/* ---------- 活動内容（見本の実施事業リスト形式） ---------- */
.activity-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .activity-layout { grid-template-columns: 1fr 300px; align-items: start; } }

.activity { margin: 0; display: grid; gap: 20px; }
.activity__item { }
.activity dt { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; }
.activity dt a { color: var(--color-primary); text-decoration: none; }
.activity dt a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.activity__no {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: var(--color-primary); color: #fff; font-size: .9rem; font-weight: 800;
}
.activity dd { margin: 6px 0 0 38px; color: var(--color-ink-2); font-size: .95rem; line-height: 1.8; }
.activity__sub { margin: 10px 0 0 38px; padding: 0; list-style: none; display: grid; gap: 6px; }
.activity__sub li { position: relative; padding-left: 18px; }
.activity__sub li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--color-primary-bright); }
.activity__sub a { color: var(--color-primary); text-decoration: underline; font-weight: 700; font-size: .94rem; }
.activity__sub a:hover { color: var(--color-primary-dark); text-decoration: none; }

/* 写真クラスタ（見本の丸写真） */
.activity__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-content: start; justify-items: center; align-items: center; }
.ph-circle {
  width: 100%; max-width: 115px; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, #d7ebf7, #eff6fb); border: 1px solid var(--color-line);
  display: grid; place-items: center; color: var(--color-primary-bright);
}
.ph-circle svg { width: 40%; height: 40%; opacity: .8; }
.ph-circle--lg { max-width: 160px; grid-row: span 2; }
.ph-circle--sm { max-width: 100px; }
.activity__photos-note { grid-column: 1 / -1; text-align: center; font-size: .76rem; color: var(--color-ink-3); margin-top: 4px; }

/* ---------- 連携機関 ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.partner { background: #fff; border: 1px solid var(--color-primary-bright); border-radius: 4px; padding: 8px 15px; font-weight: 700; font-size: .9rem; color: var(--color-primary); }
.credit { margin-top: 18px; font-size: .85rem; color: var(--color-ink-2); background: var(--color-surface-3); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 14px 16px; }
.credit b { color: var(--color-primary); }

/* ---------- お知らせ / 活動レポート（見本準拠リスト） ---------- */
.feed-list { list-style: decimal; margin-left: 24px; padding: 0; line-height: 1.8; }
.feed-list li { margin-bottom: 16px; color: var(--color-ink); }
.feed-list__date { color: #d35400; font-weight: 800; margin-right: 8px; font-size: 0.92rem; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.feed-list__tag { font-size: 0.8rem; color: var(--color-ink-2); background: var(--color-surface-2); border: 1px solid var(--color-line); padding: 1px 8px; border-radius: 3px; font-weight: 700; margin-right: 8px; display: inline-block; vertical-align: middle; }
.feed-list__tag--event { background: var(--color-cta-soft); color: var(--color-cta-hover); border-color: var(--color-cta-soft); }
.feed-list__link { color: var(--color-primary); text-decoration: underline; font-weight: 700; font-size: 0.96rem; display: inline-block; margin-top: 2px; }
.feed-list__link:hover { color: var(--color-primary-dark); text-decoration: none; }
.feed-list li br { display: block; }
.feed__foot { margin-top: 16px; }

/* 実施レポート一覧（training 等） */
.feed { display: grid; gap: 10px; }
.feed__item {
  display: grid; grid-template-columns: auto auto 1fr; gap: 10px 12px; align-items: center;
  padding: 14px 16px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit; transition: border-color .12s ease, background-color .12s ease;
}
.feed__item:hover { border-color: var(--color-primary-bright); background: var(--color-surface-3); }
.feed__date { color: #d35400; font-weight: 800; font-size: 0.92rem; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.feed__tag { font-size: 0.8rem; color: var(--color-ink-2); background: var(--color-surface-2); border: 1px solid var(--color-line); padding: 1px 8px; border-radius: 3px; font-weight: 700; }
.feed__tag--event { background: var(--color-cta-soft); color: var(--color-cta-hover); border-color: var(--color-cta-soft); }
.feed__title { color: var(--color-primary); font-weight: 700; font-size: 0.96rem; }
@media (max-width: 599px) {
  .feed__item { grid-template-columns: auto 1fr; }
  .feed__title { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq__item { border: 1px solid var(--color-line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.faq__q {
  width: 100%; text-align: left; background: var(--color-surface-3); border: none; cursor: pointer;
  padding: 15px 18px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--color-ink);
  display: flex; align-items: center; gap: 12px;
}
.faq__q::before { content: "Q"; font-weight: 800; color: var(--color-primary-bright); flex: none; }
.faq__q .chev { margin-left: auto; transition: transform .2s ease; color: var(--color-ink-3); flex: none; }
.faq__q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { margin: 0; padding: 16px 18px; color: var(--color-ink-2); font-size: .94rem; }
.faq__a[data-open="true"] { max-height: 340px; }
@media (prefers-reduced-motion: reduce) { .faq__a { transition: none; } }

/* ---------- 帯CTA ---------- */
.cta-band { background: var(--color-cta); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 34em; margin: 8px auto 18px; }
.cta-band .btn { background: #fff; color: var(--color-cta); border-color: #fff; }
.cta-band .btn:hover { background: var(--color-cta-soft); color: var(--color-cta-hover); }

/* ---------- お問い合わせ（CF7） ---------- */
.contact-page { max-width: 700px; }
.contact-form-box {
  background: var(--color-surface-3); padding: 32px 24px; border-radius: 6px; border: 1px solid var(--color-line);
}
.contact-form-setup {
  background: #fff; border: 1px dashed var(--color-primary-bright); border-radius: 6px; padding: 20px; color: var(--color-ink-2); line-height: 1.7;
}
.contact-form-setup ol { margin: 12px 0 0 1.2em; padding: 0; }
.contact-form-setup code { font-size: .85em; background: var(--color-surface-2); padding: 1px 6px; border-radius: 3px; }
.contact-urgent {
  margin-top: 40px; background: #f9f9f9; padding: 20px; border-radius: 6px; border: 1px solid #eee;
  font-size: 0.9rem; line-height: 1.5; color: var(--color-ink-2);
}
.contact-form-cf7 .wpcf7 { margin: 0; }
.contact-form-cf7 .wpcf7-form > p,
.contact-form-cf7 .wpcf7-form label {
  display: block; margin-bottom: 20px; font-weight: 700; color: var(--color-ink); line-height: 1.5;
}
.contact-form-cf7 .wpcf7-form .req,
.contact-form-cf7 .wpcf7-form .wpcf7-not-valid-tip { color: var(--color-cta); font-size: 0.8rem; font-weight: 700; }
.contact-form-cf7 .wpcf7-form input[type="text"],
.contact-form-cf7 .wpcf7-form input[type="email"],
.contact-form-cf7 .wpcf7-form input[type="tel"],
.contact-form-cf7 .wpcf7-form select,
.contact-form-cf7 .wpcf7-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #ccc; border-radius: 4px;
  font-size: 1rem; font-family: inherit; box-sizing: border-box; background: #fff; font-weight: 400; color: var(--color-ink);
}
.contact-form-cf7 .wpcf7-form textarea { height: 160px; resize: vertical; }
.contact-form-cf7 .wpcf7-form .form-note {
  font-size: 0.85rem; color: var(--color-ink-3); margin: 0 0 20px; text-align: center; font-weight: 400;
}
.contact-form-cf7 .wpcf7-form .wpcf7-acceptance { text-align: center; font-weight: 400; margin-bottom: 24px; }
.contact-form-cf7 .wpcf7-form .wpcf7-acceptance a { color: var(--color-primary-bright); font-weight: 700; }
.contact-form-cf7 .wpcf7-form input[type="submit"],
.contact-form-cf7 .wpcf7-form .wpcf7-submit {
  display: block; width: 100%; background: var(--color-cta); color: #fff; border: none; padding: 14px;
  font-size: 1.15rem; font-weight: 800; cursor: pointer; border-radius: 4px; font-family: inherit;
}
.contact-form-cf7 .wpcf7-form input[type="submit"]:hover,
.contact-form-cf7 .wpcf7-form .wpcf7-submit:hover { background: var(--color-cta-hover); }
.contact-form-cf7 .wpcf7-response-output { margin: 16px 0 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--color-primary); color: #fff; padding-block: 34px 90px; margin-top: 8px; }
.site-footer a { color: #dff1fb; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: flex; flex-direction: column; gap: 24px; }
.footer-org { font-size: .85rem; color: #cfe6f5; line-height: 1.8; }
.footer-org b { color: #fff; font-size: 1.15rem; font-weight: 800; display: inline-block; margin-bottom: 6px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .06em; color: #bfe0f3; margin-bottom: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 20px; }
.footer-col li { position: relative; padding-left: 12px; }
.footer-col li::before { content: "›"; position: absolute; left: 0; top: 46%; transform: translateY(-50%); color: #cfe6f5; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.footer-col a { text-decoration: none; font-size: .9rem; display: inline-block; transition: transform .2s ease, color .2s ease; }
.footer-col a:hover { transform: translateX(3px); color: #fff; }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); font-size: .78rem; color: #bfe0f3; }

/* ---------- ページトップ ---------- */
.pagetop {
  position: fixed; right: 16px; bottom: 88px; z-index: 95;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 52px; height: 52px; padding: 0; border: none; border-radius: 4px;
  background: var(--color-primary); color: #fff; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
}
.pagetop.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.pagetop:hover { background: var(--color-primary-dark); color: #fff; }
.pagetop:focus-visible { outline: 2px solid var(--color-primary-bright); outline-offset: 2px; }
.pagetop__arrow {
  display: block; width: 10px; height: 10px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: rotate(45deg); margin-top: 4px;
}
.pagetop__label { font-size: .65rem; font-weight: 800; letter-spacing: .04em; line-height: 1; }
@media (prefers-reduced-motion: reduce) {
  .pagetop { transition: none; }
}

/* ---------- モバイル固定CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.96); border-top: 1px solid var(--color-line); padding: 8px var(--gutter); padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.mobile-cta .btn { width: 100%; }

/* =========================================================
   レスポンシブ（SP→PC）
   ========================================================= */
@media (min-width: 600px) {
  .aims { grid-template-columns: repeat(3, 1fr); }
  .footer-col ul { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gnav { display: flex; }
  .navbar__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-cta { display: none; }
  .pagetop { right: 24px; bottom: 24px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .layout-2col { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
  .layout-2col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer__grid { flex-direction: row; justify-content: space-between; align-items: start; gap: 36px; }
  body { padding-bottom: 0; }
}
