@charset "UTF-8";
/* =========================================================
   迅技術経営 採用サイト 共通スタイル（2026-10 改修）
   Bootstrap 5.3 の上に読み込む。旧 css/style.css の置き換え。
   ========================================================= */

/* ---------- 1. デザイントークン ---------- */
:root {
  --brand: #3aaa0b;          /* ブランド緑：大きい面・装飾用（白地とのコントラスト 3.0:1） */
  --brand-ink: #267a08;      /* 文字・リンク・ナビ用の濃い緑（白地 5.4:1） */
  --brand-deep: #1c5c06;
  --brand-light: #e8f5e9;
  --brand-tint: #f4f9f1;
  --brand-red: #d32f2f;
  --brand-blue: #1976d2;
  --text: #2b2b2b;
  --muted: #595959;
  --line: #e2e8de;
  --surface: #ffffff;
  --radius: 14px;
  --nav-h: 64px;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "BIZ UDPMincho", "Yu Mincho", YuMincho, "HG明朝E", serif;

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--text);
  --bs-body-line-height: 1.85;
  --bs-link-color: var(--brand-ink);
  --bs-link-color-rgb: 38, 122, 8;
  --bs-link-hover-color: var(--brand-deep);
  --bs-link-hover-color-rgb: 28, 92, 6;
  --bs-secondary-color: var(--muted);
  --bs-border-radius-lg: var(--radius);
}

/* ---------- 2. ベース ---------- */
html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html.has-subnav {
  scroll-padding-top: calc(var(--nav-h) + 72px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  padding-top: var(--nav-h);
  font-size: 1rem;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  background: var(--surface);
}
h1, h2, h3, h4, h5, h6 { line-height: 1.5; }
img, svg { max-width: 100%; }
img { height: auto; }
a { text-underline-offset: .2em; }
.text-muted, .text-secondary { color: var(--muted) !important; }
.small, small { font-size: .875em; }
.lead { font-size: 1.0625rem; line-height: 1.9; }
::selection { background: var(--brand-light); }

.font-serif, .section-title, .page-title, .hero-title, .voice-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: .06em;
}

/* 旧ページの本文中で使われていた display クラスを控えめなサイズに */
.display-4 { font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem); }
.display-5 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
.display-6 { font-size: clamp(1.375rem, 1.2rem + .9vw, 1.875rem); }

/* アイコン（images/icons.svg のスプライト） */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
  flex-shrink: 0;
}
.icon-lg { font-size: 1.5rem; }
.icon-2x { font-size: 2rem; }
.icon-3x { font-size: 2.5rem; }

/* ---------- 3. 色ユーティリティ（旧 style.css 互換＋未定義だったもの） ---------- */
.text-brand { color: var(--brand-ink) !important; }
.text-brand-red { color: var(--brand-red) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-light { color: #b9d9a8 !important; }
.brand-color { color: var(--brand-ink) !important; }
.bg-brand, .bg-brand-color { background-color: var(--brand-ink) !important; }
.bg-brand-light { background-color: var(--brand-light) !important; }
.bg-brand-tint { background-color: var(--brand-tint) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }
.bg-brand-blue { background-color: var(--brand-blue) !important; }
.border-brand { border-color: var(--brand) !important; }
.border-brand-red { border-color: var(--brand-red) !important; }
.border-brand-blue { border-color: var(--brand-blue) !important; }
.border-start-4 { border-left: 4px solid var(--brand) !important; }
.text-justify { text-align: justify; }
.font-weight-normal { font-weight: 400 !important; }
.unselectable { user-select: none; }
@media (min-width: 768px) { .w-md-50 { width: 50% !important; } }

/* ---------- 4. ボタン ---------- */
.btn { --bs-btn-font-weight: 700; letter-spacing: .04em; }
.btn-brand, .btn-brand-red, .btn-brand-blue { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; }
.btn-brand { --bs-btn-bg: var(--brand-ink); --bs-btn-border-color: var(--brand-ink); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep); --bs-btn-active-bg: var(--brand-deep); }
.btn-brand-red { --bs-btn-bg: var(--brand-red); --bs-btn-border-color: var(--brand-red); --bs-btn-hover-bg: #b71c1c; --bs-btn-hover-border-color: #b71c1c; --bs-btn-active-bg: #b71c1c; }
.btn-brand-blue { --bs-btn-bg: var(--brand-blue); --bs-btn-border-color: var(--brand-blue); --bs-btn-hover-bg: #0d47a1; --bs-btn-hover-border-color: #0d47a1; --bs-btn-active-bg: #0d47a1; }
.btn-success { --bs-btn-bg: var(--brand-ink); --bs-btn-border-color: var(--brand-ink); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep); --bs-btn-active-bg: var(--brand-deep); }
.btn-outline-success, .btn-outline-brand {
  --bs-btn-color: var(--brand-ink); --bs-btn-border-color: var(--brand-ink);
  --bs-btn-hover-bg: var(--brand-ink); --bs-btn-hover-border-color: var(--brand-ink); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-deep); --bs-btn-active-border-color: var(--brand-deep); --bs-btn-active-color: #fff;
}
.btn-entry {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 13.5rem; padding: .7rem 1.4rem; border-radius: 999px; line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.btn-entry small { font-size: .75rem; font-weight: 500; opacity: .92; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(3px); }

/* ---------- 5. ナビゲーション ---------- */
#navbar {
  min-height: var(--nav-h);
  background: var(--brand-ink) !important;
  padding-block: .5rem;
}
#navbar .navbar-brand img {
  height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 3px 5px;
}
#navbar .nav-link {
  color: #fff !important; font-weight: 700; font-size: .95rem; padding-inline: .7rem !important;
  position: relative;
}
#navbar .nav-link:hover, #navbar .nav-link[aria-current="page"] { color: #fff !important; }
#navbar .nav-link[aria-current="page"]::after, #navbar .nav-link:hover::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: #fff; opacity: .85;
}
#navbar .btn-entry-nav { background: #fff; color: var(--brand-ink); font-weight: 700; border-radius: 999px; padding-inline: 1.2rem; }
#navbar .btn-entry-nav:hover { background: var(--brand-light); }
@media (max-width: 991.98px) {
  #navbar .navbar-collapse { padding-block: .5rem 1rem; }
  #navbar .nav-link { padding-block: .65rem !important; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  #navbar .nav-link::after { display: none; }
}

/* ---------- 6. セクション共通 ---------- */
.section-padding { padding-block: clamp(44px, 5vw, 72px); }
.section-head { text-align: center; margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.eyebrow {
  display: block; margin-bottom: .35rem; color: var(--brand-ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.section-title {
  margin: 0; color: var(--text);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
}
.section-title::after {
  content: ""; display: block; width: 40px; height: 3px; margin: .8rem auto 0; border-radius: 2px; background: var(--brand);
}
.section-head .section-lead { margin: .9rem auto 0; max-width: 40rem; color: var(--muted); }
.section-header { text-align: center; }
.sub-title {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  color: var(--brand-ink); text-align: center; margin-bottom: 1.5rem; letter-spacing: .05em;
}

/* カード共通 */
.card { --bs-card-border-radius: var(--radius); --bs-card-inner-border-radius: calc(var(--radius) - 1px); }
.hover-lift, .hover-up, .box-shadow-hover, .hover-card, .link-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.hover-lift:hover, .hover-up:hover, .box-shadow-hover:hover, .hover-card:hover, .link-card:hover {
  transform: translateY(-3px); box-shadow: 0 .75rem 1.75rem rgba(0, 0, 0, .1) !important;
}
@media (prefers-reduced-motion: reduce) {
  .hover-lift, .hover-up, .box-shadow-hover, .hover-card, .link-card, .link-arrow .icon { transition: none; }
  .hover-lift:hover, .hover-up:hover, .box-shadow-hover:hover, .hover-card:hover, .link-card:hover { transform: none; }
}
.zoom-effect, .transition-scale { transition: transform .4s ease; }
.zoom-effect:hover, .card:hover .transition-scale { transform: scale(1.03); }
.hover-brand:hover { color: var(--brand-ink) !important; }
.object-pos-top { object-position: 50% 20%; }

/* ---------- 7. ヒーロー（トップ） ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: clamp(520px, 50vw, 720px);   /* 集合写真（約2:1）の顔に文字が重ならない高さ */
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-media img { object-fit: cover; object-position: 50% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .72) 100%);
}
.hero-inner { padding-block: 3rem clamp(1.75rem, 4vw, 3rem); }
.hero-title {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: .12em; margin-bottom: .4rem; line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.hero-lead {
  font-size: clamp(.95rem, .9rem + .25vw, 1.0625rem); line-height: 1.85; margin-bottom: 1.4rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
@media (min-width: 992px) {
  .hero-lead br.pc-hide { display: none; }
}
@media (max-width: 767.98px) {
  .hero { min-height: clamp(520px, 86svh, 720px); }
  .hero-media img { object-position: 50% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 15%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .78) 100%); }
  .btn-entry { min-width: 0; width: 100%; max-width: 20rem; }
}

/* ---------- 8. トップ各セクション ---------- */
.intro-text { max-width: 46rem; margin-inline: auto; text-align: center; }
.intro-text .intro-catch {
  font-family: var(--font-serif); font-weight: 600; color: var(--brand-ink);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.7; margin-bottom: 1rem;
}
@media (max-width: 575.98px) { .intro-text { text-align: left; } .intro-text .intro-catch { text-align: center; } }

/* 動画 */
.movie-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .07); border: 1px solid var(--line);
}
.movie-card .movie-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.movie-card .movie-label {
  align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--brand-ink);
  background: var(--brand-light); border-radius: 999px; padding: .15rem .7rem;
}
.movie-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.6; margin: 0; }
.movie-card .movie-meta { margin-top: auto; font-size: .85rem; }
.yt-facade {
  position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; cursor: pointer;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .4s; }
.yt-facade:hover img { opacity: .85; transform: scale(1.02); }
.yt-facade .yt-play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px;
  background: rgba(220, 0, 0, .92); display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: background .2s;
}
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: #ff0000; }
.yt-facade .yt-play .icon { font-size: 1.4rem; margin-left: 3px; }
.yt-facade .yt-duration {
  position: absolute; right: .5rem; bottom: .5rem; font-size: .75rem; color: #fff; background: rgba(0, 0, 0, .75);
  padding: .05rem .4rem; border-radius: 4px; letter-spacing: 0;
}
.yt-frame { aspect-ratio: 16 / 9; width: 100%; display: block; border: 0; background: #000; }
@media (max-width: 767.98px) {   /* スマホは横スワイプ */
  .movie-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
  .movie-row > .col { flex: 0 0 84%; max-width: 84%; scroll-snap-align: start; }
}

/* 求める人物像 */
.persona-grid {
  display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 60rem; margin-inline: auto; list-style: none; padding: 0;
}
@media (min-width: 768px) { .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }
.persona-grid li {
  display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 12px; padding: .9rem 1rem;
  border: 1px solid var(--line); font-weight: 700; line-height: 1.55; font-size: .95rem;
}
.persona-grid .icon-wrap {
  flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand-ink); font-size: 1.15rem;
}
@media (max-width: 575.98px) {
  .persona-grid li { flex-direction: column; text-align: center; gap: .5rem; padding: .9rem .6rem; font-size: .875rem; }
}

/* リンクカード（はやてを知る・働き方） */
.link-card {
  display: grid; grid-template-columns: 7.5rem 1fr; height: 100%; color: inherit; text-decoration: none;
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.link-card .lc-img { height: 100%; min-height: 6rem; overflow: hidden; background: var(--brand-tint); }
.link-card .lc-img img { width: 100%; height: 100%; object-fit: cover; }
.link-card .lc-body { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.link-card h3 { font-size: 1.0625rem; font-weight: 700; margin: 0; color: var(--text); }
.link-card p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.75; }
.link-card .link-arrow { margin-top: auto; font-size: .85rem; color: var(--brand-ink); padding-top: .2rem; }
@media (min-width: 768px) {
  .link-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .link-card .lc-img { height: auto; aspect-ratio: 16 / 10; }
  .link-card .lc-body { padding: 1rem 1.15rem 1.15rem; }
}
.link-card.is-compact h3 { font-size: 1rem; }

/* 先輩の声（トップ） */
.voice-card {
  display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.voice-card .vc-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-tint); }
.voice-card .vc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.voice-card .vc-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.voice-card .vc-role { font-size: .78rem; font-weight: 700; color: var(--brand-ink); }
.voice-card .vc-name { font-size: 1.125rem; font-weight: 700; margin: 0; }
.voice-card .vc-profile { font-size: .78rem; color: var(--muted); line-height: 1.6; margin: 0; }
.voice-card .vc-quote {
  font-size: .9rem; line-height: 1.8; margin: .3rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.voice-card .link-arrow { margin-top: auto; padding-top: .4rem; font-size: .875rem; color: var(--brand-ink); }
@media (max-width: 767.98px) {
  .voice-card { display: grid; grid-template-columns: 7.5rem 1fr; }
  .voice-card .vc-photo { aspect-ratio: auto; max-height: none; height: 100%; }
  .voice-card .vc-quote { -webkit-line-clamp: 3; font-size: .85rem; }
}

/* FAQ アコーディオン */
.faq-list .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: .75rem; }
.faq-list .accordion-button { font-weight: 700; line-height: 1.6; gap: .6rem; }
.faq-list .accordion-button:not(.collapsed) { color: var(--brand-deep); background: var(--brand-tint); box-shadow: none; }
.faq-list .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(58, 170, 11, .25); }
.faq-list .q-mark { flex-shrink: 0; color: var(--brand-ink); font-family: var(--font-serif); font-size: 1.15rem; }
.faq-list .accordion-button::after { margin-left: auto; flex-shrink: 0; }
.faq-list .q-text { margin-right: .5rem; }
.faq-list .accordion-body { line-height: 1.95; }

/* 募集要項 */
.req-table { --bs-table-bg: #fff; margin-bottom: 0; font-size: .95rem; }
.req-table > :not(caption) > * > * { padding: .75rem 1rem; vertical-align: top; line-height: 1.75; }
.req-table thead th { background: var(--brand-blue); color: #fff; text-align: center; font-weight: 700; }
.req-table tbody th { background: var(--brand-tint); white-space: nowrap; text-align: center; vertical-align: middle; width: 8.5rem; }
.req-table ul { margin-bottom: 0; }
.req-table .benefit-list { columns: 1; column-gap: 2rem; padding-left: 1.2rem; }
@media (min-width: 768px) { .req-table .benefit-list { columns: 2; } }
.req-table .benefit-list li { break-inside: avoid; margin-bottom: .2rem; }
.req-table .check-list li { display: flex; gap: .45rem; margin-bottom: .3rem; }
.req-table .check-list .icon { color: var(--brand-ink); margin-top: .45em; font-size: .8rem; }
@media (max-width: 767.98px) {
  .req-wrap { border: 0 !important; box-shadow: none !important; }
  .req-table, .req-table tbody, .req-table tr, .req-table th, .req-table td { display: block; width: 100% !important; }
  .req-table thead { display: none; }
  .req-table tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: .9rem; background: #fff; }
  .req-table tbody th { text-align: left; white-space: normal; border: 0; padding: .65rem 1rem; color: var(--brand-deep); }
  .req-table td { border: 0; border-top: 1px solid var(--line); }
  .req-table td[data-label]::before {
    content: attr(data-label); display: inline-block; margin-bottom: .4rem; padding: .1rem .6rem; border-radius: 999px;
    font-size: .75rem; font-weight: 700; color: #fff; background: var(--brand-blue);
  }
}

.req-switch { display: none; }
@media (max-width: 767.98px) {
  .js .req-switch {
    display: flex; gap: .5rem; position: sticky; top: var(--nav-h); z-index: 5; background: #fff;
    padding: .5rem 0 .75rem; margin-bottom: .25rem;
  }
  .req-switch button {
    flex: 1; border: 1px solid var(--brand-blue); color: var(--brand-blue); background: #fff; border-radius: 999px;
    font-weight: 700; font-size: .8rem; line-height: 1.4; padding: .45rem .5rem;
  }
  .req-switch button[aria-pressed="true"] { background: var(--brand-blue); color: #fff; }
  .js .req-wrap:not(.show-b) td[data-col="b"], .js .req-wrap.show-b td[data-col="a"] { display: none !important; }
  .js .req-table td[data-label]::before { display: none; }
}
.media-sub { font-size: 1.125rem; font-weight: 700; text-align: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; }

/* 新着情報 */
.feed-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.feed-filter button {
  border: 1px solid var(--brand-ink); background: #fff; color: var(--brand-ink); border-radius: 999px;
  padding: .35rem 1.1rem; font-weight: 700; font-size: .9rem;
}
.feed-filter button[aria-pressed="true"] { background: var(--brand-ink); color: #fff; }
.feed-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.25rem; } }
.feed-list > li[hidden] { display: none !important; }
.feed-card > a {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: .9rem; align-items: center; height: 100%;
  color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .65rem;
  transition: box-shadow .2s, transform .2s;
}
@media (min-width: 576px) { .feed-card > a { grid-template-columns: 10.5rem 1fr; } }
.feed-card > a:hover { box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .09); transform: translateY(-2px); }
.feed-card .fc-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--brand-tint); }
.feed-card .fc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-card .fc-thumb .fc-play {
  position: absolute; left: .3rem; bottom: .3rem; color: #fff; background: rgba(0, 0, 0, .72); border-radius: 4px;
  font-size: .65rem; padding: .05rem .35rem; display: inline-flex; gap: .25rem; align-items: center;
}
.feed-card .fc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .75rem; color: var(--muted); margin-bottom: .3rem; }
.feed-card .fc-type { font-weight: 700; border-radius: 4px; padding: .05rem .45rem; color: #fff; }
.feed-card .fc-type.is-blog { background: var(--brand-ink); }
.feed-card .fc-type.is-video { background: #c4302b; }
.feed-card .fc-cat { border: 1px solid var(--line); border-radius: 4px; padding: 0 .4rem; max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-card .fc-new { color: var(--brand-red); font-weight: 700; }
.feed-card .fc-title {
  font-size: .925rem; font-weight: 700; line-height: 1.6; margin: 0; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-empty { text-align: center; color: var(--muted); }

/* 情報発信リンク集 */
.media-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }   /* 12件＝4列×3段 */
.media-link {
  display: flex; align-items: center; gap: .7rem; height: 100%; padding: .8rem .9rem; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.media-link:hover { border-color: var(--brand); box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .07); }
.media-link .ml-icon {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  background: var(--brand-ink); overflow: hidden;
}
.media-link .ml-icon img { width: 100%; height: 100%; object-fit: cover; }
.media-link .ml-icon.is-youtube { background: #ff0000; }
.media-link .ml-icon.is-facebook { background: #1877f2; }
.media-link .ml-icon.is-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.media-link .ml-icon.is-x { background: #000; }
.media-link .ml-text { min-width: 0; line-height: 1.45; }
.media-link .ml-name { display: block; font-weight: 700; font-size: .9rem; }
.media-link .ml-desc { font-size: .75rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA */
.cta-band { background: var(--brand-deep); color: #fff; text-align: center; }
.cta-band .cta-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); letter-spacing: .08em; }
.cta-band .btn-entry { border: 2px solid #fff; }

/* フッター */
.site-footer { background: var(--brand-tint); color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand-ink); text-decoration: underline; }
.site-footer .footer-name { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.site-footer .footer-sns a { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; color: var(--text); }
.site-footer .footer-sns a:hover { color: var(--brand-ink); border-color: var(--brand); text-decoration: none; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; list-style: none; padding: 0; margin: 0; }
#pageTopBtn {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-ink); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
#pageTopBtn.is-visible { opacity: .92; visibility: visible; }

/* ---------- 9. 下層ページ ---------- */
.page-head { background: var(--brand-tint); border-bottom: 1px solid var(--line); padding-block: 1.1rem clamp(1.75rem, 4vw, 2.75rem); }
.page-head .breadcrumb { font-size: .8rem; margin-bottom: 1.1rem; --bs-breadcrumb-divider-color: var(--muted); }
.page-head .breadcrumb a { color: var(--muted); text-decoration: none; }
.page-head .breadcrumb a:hover { color: var(--brand-ink); text-decoration: underline; }
.page-title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); margin: 0; color: var(--text); }
.page-head .page-lead { margin: .6rem 0 0; color: var(--muted); }
.page-head .eyebrow { margin-bottom: .2rem; }

/* ページ内サブナビ（スマホは横スクロール） */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 1010; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.subnav ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; }
.subnav a {
  display: inline-block; padding: .3rem .95rem; border-radius: 999px; font-size: .875rem; font-weight: 700;
  color: var(--text); text-decoration: none; border: 1px solid var(--line); background: #fff;
}
.subnav a:hover { border-color: var(--brand); color: var(--brand-ink); }
.subnav a.is-active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }

.block { padding-block: clamp(48px, 6vw, 80px); }
.block + .block { border-top: 1px solid var(--line); }
.block.bg-light, .block.bg-brand-tint { border-top: 0; }
.block-head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.block-head .block-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); letter-spacing: .06em; margin: 0; }
.block-head .block-title::after { content: ""; display: block; width: 40px; height: 3px; margin: .8rem auto 0; border-radius: 2px; background: var(--brand); }
.block-head .block-lead { margin: .9rem auto 0; max-width: 42rem; color: var(--muted); }
.merged > section { padding-block: clamp(24px, 3vw, 40px); }
.merged > section:first-child { padding-top: 0; }
.merged > section.bg-light, .merged > section.bg-brand-light { border-radius: var(--radius); padding-inline: clamp(12px, 2vw, 24px); }
@media (max-width: 575.98px) {
  /* 旧ページの g-5（3rem）の行がスマホで画面外にはみ出さないように */
  .merged .row, .voice-pane .row { --bs-gutter-x: 1.5rem; }
}

/* 先輩の声ページ：タブはスクロールしてもナビの下に常に表示 */
.voice-tabbar {
  position: sticky; top: var(--nav-h); z-index: 1010; padding-block: .6rem;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.voice-tabbar.is-stuck { box-shadow: 0 6px 16px rgba(0, 0, 0, .07); }
html.has-voicebar { scroll-padding-top: calc(var(--nav-h) + 84px); }
.voice-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; border: 0; margin-bottom: 0; }
.voice-tabs .nav-link {
  width: 100%; display: flex; align-items: center; gap: .7rem; text-align: left; padding: .4rem .7rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
}
.voice-tabs .nav-link:hover { border-color: var(--brand); }
.voice-tabs .nav-link img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.voice-tabs .nav-link .vt-name { display: block; font-weight: 700; line-height: 1.4; }
.voice-tabs .nav-link .vt-role { display: block; font-size: .72rem; color: var(--muted); line-height: 1.4; }
.voice-tabs .nav-link.active { border-color: var(--brand-ink); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand-ink); }
@media (max-width: 575.98px) {
  /* スマホは写真＋名前だけの細いバーにして、本文の表示領域を確保 */
  .voice-tabbar { padding-block: .45rem; }
  html.has-voicebar { scroll-padding-top: calc(var(--nav-h) + 62px); }
  .voice-tabs { gap: .35rem; }
  .voice-tabs .nav-link { gap: .35rem; padding: .3rem .35rem; border-radius: 999px; }
  .voice-tabs .nav-link img { width: 30px; height: 30px; }
  .voice-tabs .nav-link .vt-name { font-size: .8rem; white-space: nowrap; }
  .voice-tabs .nav-link .vt-role { display: none; }
}
.voice-name { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); }
.q-num { font-family: var(--font-serif); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 700; color: #b9d9a8; line-height: 1; margin: 0; }
.schedule-column { height: 100%; }
.voice-pane + .voice-pane { margin-top: 0; }
html.no-tabs .voice-pane, html:not(.js) .voice-pane { display: block !important; opacity: 1 !important; }
html.no-tabs .voice-pane + .voice-pane, html:not(.js) .voice-pane + .voice-pane { border-top: 1px solid var(--line); margin-top: 2rem; }

/* 補助者モデルケースのタイムライン */
.timeline-section { height: 100%; }
.timeline-item { position: relative; }
.timeline-time { min-width: 4.2rem; }

/* フォーム・各種ページ */
.form-label { font-weight: 700; }
.timeline { position: relative; }

/* ---------- 10. 印刷 ---------- */
@media print {
  body { padding-top: 0; }
  #navbar, .subnav, #pageTopBtn, .cta-band, .feed-filter { display: none !important; }
}
