/* =================================================================
   VOLVE LP1 — style.css
   BEM記法 / CSS変数によるデザイントークン管理
================================================================= */

/* -----------------------------------------------------------------
   1. DESIGN TOKENS
----------------------------------------------------------------- */
:root {
  /* Colors — editorial minimal */
  --c-primary: #14246f;
  /* 見出し・CTA・主要アクション（ほぼ黒） */
  --c-primary-dark: #060b22;
  --c-advisors-gradient: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  /* ホバー・押下時 */
  --c-cta-strip: #1a1a1a;
  /* CTAストリップ背景 */
  --c-dark: #3e3e3e;
  /* 本文テキスト・フッター背景 */
  --c-bg-blue: #f7f7f7;
  /* セクション背景（ウォームグレー） */
  --c-tag-bg: #edecea;
  /* タグ背景 */
  --c-grey-subtle: #b8b8b8;
  /* プレースホルダー・サブ背景 */
  --c-muted: #71706e;
  /* サブテキスト */
  --c-inactive: #a3a09c;
  /* 非アクティブ項目 */
  --c-rule: #dddbd8;
  /* 罫線・区切り線 */
  --c-rail-border: #1a1a1a;
  /* Railアクティブボーダー */
  --c-white: #FFFFFF;
  --c-mirage: #111111;
  /* ヒーロー見出しカラー */
  --c-accent: #c43e2a;
  /* 強調・締切表示（抑えた赤） */

  /* Typography */
  --f-en: 'EB Garamond', serif;
  --f-jp: 'Noto Sans JP', sans-serif;
  --f-serif: 'Noto Serif JP', serif;

  /* Font sizes — 明確なジャンプ率 */
  --fs-2xs: clamp(10px, 0.4vw + 8px, 11px);
  --fs-xs: clamp(11px, 0.5vw + 8px, 12px);
  --fs-sm: clamp(12px, 0.6vw + 9px, 14px);
  --fs-base: clamp(14px, 0.8vw + 10px, 16px);
  --fs-md: clamp(15px, 1vw + 10px, 18px);
  --fs-lg: clamp(17px, 1.2vw + 10px, 20px);
  --fs-xl: clamp(20px, 1.8vw + 10px, 26px);
  --fs-2xl: clamp(24px, 2.4vw + 10px, 34px);
  --fs-3xl: clamp(32px, 4vw + 10px, 50px);
  --fs-4xl: clamp(40px, 5.6vw + 10px, 66px);

  /* Semantic typography — 役割別トークン */
  /* セクション見出し: 画面幅に応じて 28px〜50px をスムーズに伸縮（折り返し回避） */
  --fs-section-heading: clamp(28px, 3.6vw + 4px, 50px);
  --fw-section-heading: 700;
  --fs-section-lead: clamp(13px, 1.2vw + 8px, 16px);
  /* セクションリード 13px〜16px */
  --fw-section-lead: 300;
  --fs-card-title: var(--fs-md);
  /* カードタイトル 17px */
  --fw-card-title: 700;
  --fs-body: var(--fs-base);
  /* 本文・説明 13px */
  --fw-body: 300;
  --fs-label: var(--fs-xs);
  /* ラベル・タグ 11px */
  --fw-label: 500;
  --fs-caption: var(--fs-xs);
  /* メタ・注釈 11px */
  --fw-caption: 400;
  --fs-cta: var(--fs-base);
  /* CTAボタン 15px */
  --fw-cta: 700;

  /* Line heights */
  --lh-tight: 1.3;
  --lh-snug: 1.45;
  --lh-base: 1.65;
  --lh-relaxed: 1.8;
  --lh-loose: 1.95;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 14px;
  --sp-lg: 20px;
  --sp-xl: 28px;
  --sp-2xl: 36px;
  --sp-3xl: 48px;
  --sp-4xl: 56px;
  --sp-5xl: 72px;
  --sp-6xl: 100px;
  --sp-7xl: 140px;
  --sp-8xl: 180px;

  /* Semantic spacing — セクション余白 */
  --section-padding: var(--sp-8xl);
  --heading-gap: var(--sp-4xl);
  --content-gap: var(--sp-2xl);

  /* Layout */
  --rail-width: 25vw;
  /* Rail 25% : Content 75% */
  --header-height: 60px;
  --content-max: 1100px;
  --content-pr: 40px;
  /* 右パディング */

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 4px;
  --r-xl: 4px;

  /* Shadow — カードには使わない。フローティング/モーダルのみ */
  --shadow-card: none;
  --shadow-float: 0 4px 20px rgba(0, 0, 0, 0.12);

  /* Transition */
  --trans: 0.2s ease;
}


/* -----------------------------------------------------------------
   2. RESET & BASE
----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--f-jp);
  font-size: var(--fs-base);
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-height: var(--lh-base);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* -----------------------------------------------------------------
   3. LAYOUT UTILITIES
----------------------------------------------------------------- */

/* サイト全体のオフセット（Railの幅分） */
.site-main {
  margin-left: var(--rail-width);
  min-height: 100vh;
}

/* ヒーロー以���のコンテンツラッパー */
.main-content {
  /* overflow-x は html/body で制御（sticky を無効化しないため） */
}

/* セクション内コンテンツの共通幅制御 */
.section-inner {
  width: 80%;
  padding-left: var(--sp-2xl);
  padding-right: var(--content-pr);
  margin: 0 auto;
}

.flow .section-inner {
  width: 94%;
}

@media (max-width: 768px) {
  .flow .section-inner {
    width: 100%;
  }
}

.cta-strip__inner.section-inner {
  width: 100%;
}

/* -----------------------------------------------------------------
   4. EVENT RAIL（左固定サイドバー）
----------------------------------------------------------------- */
/* Rail本体 */
.event-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-width);
  height: 100vh;
  overflow: hidden;
  background: var(--c-bg-blue);
  border-right: 1px solid var(--c-rule);
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.22, 0.6, 0.36, 1), visibility 0.4s ease;
  scrollbar-width: none;
}

.event-rail::-webkit-scrollbar {
  display: none;
}

.event-rail.is-hidden {
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
}

.event-rail__inner {
  padding: 0 var(--sp-2xl);
  padding-bottom: 80px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: none;
}

.event-rail__inner::-webkit-scrollbar {
  display: none;
}

/* Railヘッダー（タイトル + インフォを上部固定） */
.event-rail__head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--c-bg-blue);
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: var(--sp-2xl);
}

.event-rail__title {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-primary-dark);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.event-rail__info {
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* Railアイテム — カード風 */
.event-rail__item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-sm);
  margin-bottom: 6px;
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.event-rail__link {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: var(--sp-md);
  row-gap: 2px;
  flex: 1;
  min-width: 0;
  padding: var(--sp-sm);
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-sm);
}

/* サムネイルを3行分の高さにまたがらせる */
.event-rail__link .event-rail__thumb {
  grid-row: 1 / -1;
  align-self: stretch;
  margin: auto;
}

.event-rail__item:hover {
  border-color: var(--c-rule);
  box-shadow: none;
}

/* アクティブ状態 */
.event-rail__item.is-active {
  background: var(--c-white);
  border-color: var(--c-primary);
  box-shadow: none;
}

.event-rail__item.is-active .event-rail__co {
  color: var(--c-primary-dark);
}

.event-rail__item.is-active .event-rail__name {
  font-weight: 700;
  color: var(--c-dark);
}

.event-rail__item.is-active .event-rail__date {
  color: var(--c-primary);
}

/* サムネイル（横並び） */
.event-rail__thumb {
  width: 100px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}

/* 画像は 100px 幅いっぱいに、縦は元の比率に追従（両端トリミングしない） */
.event-rail__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* サムネイルが無い場合: 会社名プレートにフォールバック（最低高さを確保） */
.event-rail__thumb--fallback {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-primary);
  background: var(--c-bg-blue);
  padding: var(--sp-xs);
  word-break: break-word;
}

/* 会社名 */
.event-rail__co {
  font-size: var(--fs-2xs);
  line-height: var(--lh-snug);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* イベント名 */
.event-rail__name {
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--c-dark);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 日時 */
.event-rail__date {
  font-size: var(--fs-2xs);
  color: var(--c-inactive);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Rail チェックボックス */
.event-rail__check-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.event-rail__check {
  display: none;
}

.event-rail__check-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--c-rail-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans), border-color var(--trans);
}

.event-rail__check:checked+.event-rail__check-mark {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.event-rail__check:checked+.event-rail__check-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--c-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

/* Rail 申し込みボタン */
.event-rail__apply {
  position: fixed;
  bottom: var(--sp-lg);
  left: var(--sp-lg);
  width: calc(var(--rail-width) - var(--sp-lg) * 2);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-float);
  transition: background var(--trans);
}

.event-rail__apply:hover {
  background: var(--c-primary-dark);
}

.event-rail__apply[hidden] {
  display: none;
}

/* Rail下部固定バナー */
.event-rail__banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: var(--sp-lg);
  background: var(--c-cta-strip);
  color: var(--c-white);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 201;
  transition: background var(--trans);
}

.event-rail__banner:hover {
  background: #142d50;
}

.event-rail__banner:hover .event-rail__banner-link {
  background: var(--c-white);
  color: var(--c-primary-dark);
}

/* サムネイル */
.event-rail__banner-thumb {
  width: 80px;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

/* テキスト部 */
.event-rail__banner-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: var(--sp-md);
}

.event-rail__banner-badge {
  display: inline-block;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-white);
  background: var(--c-primary);
  padding: 2px 8px;
  border-radius: 2px;
  width: fit-content;
  line-height: 1.4;
}

.event-rail__banner-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
}

.event-rail__banner-sub {
  font-size: var(--fs-2xs);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-snug);
}

.event-rail__banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin-top: var(--sp-xs);
  width: fit-content;
  letter-spacing: 0.04em;
  transition: background var(--trans), color var(--trans);
}


/* -----------------------------------------------------------------
   5. HEADER
----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: var(--rail-width);
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--c-rule);
  z-index: 100;
  display: flex;
  align-items: center;
  /* FV区間は非表示（JSでis-hiddenを付与） */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* FV表示中はヘッダー非表示 */
.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header__inner {
  width: 100%;
  padding: 0 var(--content-pr) 0 var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo-img {
  height: 34px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.site-header__link {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  letter-spacing: 0.04em;
  transition: color var(--trans);
}

.site-header__link:hover {
  color: var(--c-dark);
}

.site-header__cta {
  background: var(--c-primary-dark);
  color: var(--c-white);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.04em;
  padding: 9px 22px;
  transition: opacity var(--trans);
}

.site-header__cta:hover {
  opacity: 0.85;
}

/* ハンバーガーボタン（SP用、PCでは非表示） */
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px 6px;
  border: none;
  background: none;
  cursor: pointer;
}

.site-header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ハンバーガー → × アニメーション */
.site-header__burger.is-open .site-header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__burger.is-open .site-header__burger-line:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-open .site-header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* -----------------------------------------------------------------
   6. HERO
----------------------------------------------------------------- */
.hero {
  position: relative;
  /* 100vw/100vh: site-mainのmargin-leftを打ち消して全画面表示 */
  width: 100vw;
  height: 100vh;
  margin-left: calc(-1 * var(--rail-width));
  background-image: url('../images/bg.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  overflow: hidden;
  animation: heroZoom 8s ease-out forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* FV区間はヘッダー非表示のため padding-top 不要 */
}

/* 黒オーバーレイ — 初期は真っ黒から徐々に明ける */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(6, 11, 34, 0.65) 0%, rgba(20, 36, 111, 0.45) 50%, rgba(6, 11, 34, 0.30) 100%);
  z-index: 0;
  animation: heroOverlay 2s ease forwards;
}

@keyframes heroOverlay {
  0% {
    background: rgba(6, 11, 34, 1);
  }

  100% {
    background: linear-gradient(to bottom right, rgba(6, 11, 34, 0.65) 0%, rgba(20, 36, 111, 0.45) 50%, rgba(6, 11, 34, 0.30) 100%);
  }
}

@keyframes heroZoom {
  0% {
    background-size: 110% auto;
  }

  100% {
    background-size: 100% auto;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  transform: scaleX(-1);
  /* 親の反転を打ち消し */
  /* Railが覆う左25vwを避け、右側コンテンツエリアに内容を配置 */
  padding-left: calc(var(--rail-width) + -250px);
  padding-right: var(--content-pr);
  padding-top: var(--sp-8xl);
  padding-bottom: var(--sp-8xl);
}

.hero__heading {
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: white;
  letter-spacing: -0.56px;
  font-feature-settings: "palt";
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--sp-4xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

/* 各行 — 静かなフェードイン */
.hero__line {
  display: block;
  opacity: 0;
  animation: heroFade 1.2s ease forwards;
}

.hero__line:nth-child(1) {
  animation-delay: 0.3s;
}

.hero__line:nth-child(2) {
  animation-delay: 0.7s;
}

.hero__body {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255);
  margin-bottom: var(--sp-4xl);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--c-white);
  color: var(--c-dark);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.84px;
  padding: var(--sp-lg) var(--sp-2xl);
  transition: opacity var(--trans);
}

.hero__cta:hover {
  opacity: 0.9;
}


/* -----------------------------------------------------------------
   7. CTA STRIP
----------------------------------------------------------------- */
.cta-strip {
  position: relative;
  background: #2a2a2a;
  overflow: hidden;
}

/* 斜めパネルを重ねた背景 */
.cta-strip::before,
.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-strip::before {
  /* 左上からの大きな斜めパネル — エッジからグラデで溶ける */
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 42%);
}

.cta-strip::after {
  /* 右下からの斜めパネル — エッジからグラデで溶ける */
  background: linear-gradient(330deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 38%);
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  height: auto;
  min-height: 124px;
}

.cta-strip__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-3xl) 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: var(--sp-4xl);
}

.cta-strip__sub {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1.2px;
}

.cta-strip__main {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-white);
}

.cta-strip__btn {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.84px;
  padding: 0 var(--sp-3xl);
  white-space: nowrap;
  transition: background var(--trans);
}

.cta-strip__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}


/* -----------------------------------------------------------------
   8. PAIN
----------------------------------------------------------------- */
/* -----------------------------------------------------------------
   CLIENTS TICKER
----------------------------------------------------------------- */
.clients {
  overflow: hidden;
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--c-rule);
}

.clients__track {
  display: flex;
  gap: var(--sp-4xl);
  width: max-content;
  animation: clientsScroll 30s linear infinite;
}

.clients__logo {
  height: 102px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .clients {
    padding: var(--sp-md) 0;
  }
.clients__logo {
  height: 72px;
}
}

@keyframes clientsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* -----------------------------------------------------------------
   7b. PICKUP EVENT（ピン留めイベントのバナー）
----------------------------------------------------------------- */
.pickup {
  padding: var(--sp-5xl) 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-rule);
}

.pickup__badge {
  display: inline-block;
  font-family: var(--f-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-primary);
  padding: 4px 14px;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-lg);
}

.pickup__card {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  text-decoration: none;
  color: inherit;
  border: 1.5px solid var(--c-rule);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  background: var(--c-white);
  transition: border-color var(--trans), box-shadow var(--trans);
}

.pickup__card:hover {
  border-color: var(--c-primary);
}

.pickup__thumb {
  flex: 0 0 280px;
  width: 280px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.pickup__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.pickup__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.pickup__co {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: .02em;
}

.pickup__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-dark);
}

.pickup__summary {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pickup__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--sp-xs);
}

.pickup__meta i {
  margin-right: 4px;
}

.pickup__deadline {
  color: var(--c-accent);
  font-weight: 600;
}

.pickup__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: var(--sp-xs);
}

.pickup__tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-primary-dark);
  background: var(--c-tag-bg);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}

.pickup__cta {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-primary);
  margin-top: var(--sp-sm);
  letter-spacing: .04em;
  margin-left: auto;
}

@media (max-width: 768px) {
  .pickup__card {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .pickup__thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }

  .pickup__title {
    font-size: var(--fs-lg);
  }
}


/* -----------------------------------------------------------------
   8. PAIN
----------------------------------------------------------------- */
.pain {
  padding: var(--section-padding) 0;
  padding-bottom: calc(var(--section-padding) + 40px);
  overflow: hidden;
  background: var(--c-bg-blue);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 82px), 50% 100%, 0 calc(100% - 82px));
}

@media (max-width: 768px) {
  .pain {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
    padding-bottom: calc(var(--sp-7xl) + 24px);
  }
}

/* ── ヘッダー：他セクションと統一されたh2 + lead 構造 ── */
.pain__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-bottom: var(--heading-gap);
  max-width: 880px;
}

.pain__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-base);
  color: var(--c-dark);
}

@media (max-width: 768px) {
  .pain__heading {
    font-size: var(--fs-xl);
  }
}

.pain__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-dark);
}

/* ── 3つの悩みカード（横3列） ── */
.pain__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--heading-gap);
}

.pain__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
}

/* 左上の「 */
.pain__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 4px solid #aeaeae;
  border-left: 4px solid #cccccc;
}

/* 右下の」 */
.pain__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-bottom: 4px solid #aeaeae;
  border-right: 4px solid #cccccc;
}

.pain__item>span {
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

/* ── 結び：悩みの本質 → VOLVE への橋渡し ──
   左ボーダー + タイポグラフィ階層で「pull quote 風」の結論ブロック */
.pain__insight {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.pain__insight-eyebrow {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-primary);
}

.pain__insight-statement {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-dark);
}

.pain__insight-statement strong {
  color: var(--c-primary);
  font-weight: 700;
}

.pain__insight-body {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

.pain__insight-bridge {
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: var(--lh-relaxed);
  color: var(--c-primary);
}


/* -----------------------------------------------------------------
   9. WHY
----------------------------------------------------------------- */
.why {
  padding: var(--section-padding) 0;
}

.why__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4xl);
  margin-bottom: var(--heading-gap);
}

.why__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.why__lead-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
  flex: 1;
}

.why__points {
  flex: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  background: var(--c-bg-blue);
  border-radius: var(--r-lg);
  padding: var(--sp-3xl);
}

@media (max-width: 768px) {
  .why__points {
    padding: var(--sp-md);
  }
}

.why__points li {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--c-dark);
  padding-left: var(--sp-2xl);
  position: relative;
}

.why__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
}

.why__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
  margin-bottom: 0;
}

/* ロウのコンテナ（2pxギャップ） */
.services__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
  margin-bottom: var(--sp-md);
  margin-top: var(--sp-sm);
}

.why__rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--sp-2xl);
}

.why-row {
  background: var(--c-white);
  display: flex;
  align-items: center;
  gap: var(--sp-3xl);
  padding: var(--sp-4xl) var(--sp-3xl);
}

/* 画像プレースホルダー */
.why-row__img {
  width: 204px;
  height: 163px;
  object-fit: cover;
  border-radius: var(--r-md);
  flex-shrink: 0;
}

.why-row__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

@media (max-width: 768px) {
  .why-row__content{
    gap: var(--sp-md);
  }
}

.why-row__header {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

@media (max-width: 768px) {

  .why-row__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
  }
}

.why-row__num {
  font-family: var(--f-en);
  font-size: var(--fs-3xl);
  font-weight: 400;
  color: var(--c-grey-subtle);
  line-height: var(--lh-tight);
  font-variant-numeric: tabular-nums;
  font-style: italic;
}

.why-row__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-grey-subtle);
  /* Figmaのプレースホルダーカラー: #D9D9D9相当 */
  line-height: var(--lh-tight);
}

.why-row__emphasis {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-primary);
}

.why-row__body {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}


/* -----------------------------------------------------------------
   10. VOICES
----------------------------------------------------------------- */
.voices {
  background: var(--c-bg-blue);
  padding: var(--section-padding) 0;
}

.voices__header {
  margin-bottom: var(--heading-gap);
}

.voices__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
  margin-bottom: var(--sp-sm);
}

.voices__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-dark);
}

/* PC: 2カラム（左ナビ + 右スタッキング） */
.voices__inner {
  display: flex;
  gap: var(--sp-3xl);
  align-items: flex-start;
  position: relative;
}

.voices-nav {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  list-style: none;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
  scrollbar-width: none;
}

.voices-nav::-webkit-scrollbar {
  display: none;
}

.voices-nav__item {
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0;
  border: none;
  border-left: 2px solid var(--c-rule);
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans), border-width var(--trans);
}

.voices-nav__item:hover {
  background: var(--c-white);
  border-left-color: var(--c-muted);
}

.voices-nav__item.is-active {
  background: var(--c-white);
  border-left: 3px solid var(--c-dark);
}

.voices-nav__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-xs);
}

.voices-nav__transition {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--sp-sm);
  row-gap: var(--sp-xs);
  font-size: var(--fs-2xs);
  line-height: var(--lh-tight);
}

/* from は単独で1行目を占有 → arrow と to が2行目に並ぶ */
.voices-nav__from {
  width: 100%;
  color: var(--c-muted);
}

.voices-nav__arrow {
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: var(--fs-sm);
  margin-left: 12px;
}

.voices-nav__to {
  color: var(--c-accent);
  font-weight: 700;
  font-size: var(--fs-2sm);
}

/* 右カラム: スタッキングカード */
.voices__stack {
  flex: 1;
  position: relative;
  min-height: 100vh;
  min-width: 0;
  /* flex shrink対応 */
}


.voice-stack-card {
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-3xl);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* JSで固定されたカード */
.voice-stack-card.is-fixed {
  position: fixed;
  left: var(--rail-width);
  right: 0;
  z-index: 10;
}

/* JSでスタック済みカード（前のカードの下に積まれた状態） */
.voice-stack-card.is-stacked {
  position: fixed;
  left: var(--rail-width);
  right: 0;
  z-index: 10;
}

.voice-stack-card:last-child {
  margin-bottom: 0;
}

.voice-stack-card__title {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-md);
}

.voice-stack-card__transition {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--c-rule);
}

.voice-stack-card__from {
  color: var(--c-muted);
}

.voice-stack-card__arrow {
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.voice-stack-card__to {
  color: var(--c-dark);
  font-weight: 700;
}

.voice-stack-card__body {
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

/* SP用リスト一覧 */
.voices-sp-list {
  display: none;
  list-style: none;
}

.voices-sp-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--c-rule);
  cursor: pointer;
}

.voices-sp-list__text {
  flex: 1;
  min-width: 0;
}

.voices-sp-list__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-xs);
}

@media (max-width: 768px) {
  .voices-sp-list__title {
    font-size: var(--fs-base);
  }
}

.voices-sp-list__transition {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-2xs);
  line-height: var(--lh-tight);
}

.voices-sp-list__from {
  color: var(--c-muted);
}

.voices-sp-list__arrow {
  color: var(--c-primary);
  font-weight: 700;
}

.voices-sp-list__to {
  color: var(--c-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .voices-sp-list__title {
    font-size: var(--fs-sm);
  }
  .voices-sp-list__transition {
    font-size: var(--fs-2xs);
  }
  .voices-sp-list__from {
    color: var(--c-muted);
  }
  .voices-sp-list__to {
    color: var(--c-accent);
  }
  .voices-sp-list__arrow {
    color: var(--c-primary);
  }
}
.voices-sp-list__chevron {
  font-size: 24px;
  color: var(--c-inactive);
  flex-shrink: 0;
}

/* SP用モーダル */
.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
}

.voice-modal[hidden] {
  display: none;
}

.voice-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.voice-modal__sheet {
  position: relative;
  width: 100%;
  max-height: 85vh;
  background: var(--c-white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.voice-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg) var(--sp-2xl);
  border-bottom: 1px solid var(--c-rule);
  position: sticky;
  top: 0;
  background: var(--c-white);
  z-index: 1;
}

.voice-modal__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
}

.voice-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--c-bg-blue);
  border-radius: 50%;
  cursor: pointer;
  color: var(--c-dark);
}

.voice-modal__body {
  padding: var(--sp-2xl);
}


/* -----------------------------------------------------------------
   11. ADVISORS
----------------------------------------------------------------- */
.advisors {
  background: var(--c-advisors-gradient);
  padding: var(--section-padding) 0;
}

.advisors__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
}

.advisors__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--heading-gap);
}

.advisors__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6xl);
  /* 96px gap between advisors */
}

.advisor {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-3xl);
}

/* 逆順（画像右） */
.advisor--reverse {
  flex-direction: row;
}

.advisor__photo {
  width: 254px;
  height: 254px;
  object-fit: cover;
  flex-shrink: 0;
}

.advisor__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  padding-top: var(--sp-lg);
  max-width: 741px;
}

.advisor__role {

  font-size: var(--fs-xs);
  color: var(--c-white);
  letter-spacing: 1.54px;
  text-transform: uppercase;
  line-height: 1;
}

.advisor__name {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-white);
  line-height: 1;
}

.advisor__bio {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-white);
}


/* -----------------------------------------------------------------
   11b. FIRMS（ご紹介可能先の例 — 固定グリッド）
----------------------------------------------------------------- */
.firms {
  padding: var(--section-padding) 0;
  background: var(--c-white);
}

.firms__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--heading-gap);
}

.firms__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.firms__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* 1行目に4つ、2行目に5つを flex-wrap で実現
   各行が幅100%で揃うよう、行ごとに width を nth-child で指定 */
.firms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.firms__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md) var(--sp-sm);
  min-height: 150px;
}

/* 1行目 4枚 */
.firms__item:nth-child(-n+4) {
  width: calc((100% - 3 * var(--sp-sm)) / 4);
}

/* 2行目 5枚 */
.firms__item:nth-child(n+5) {
  width: calc((100% - 4 * var(--sp-sm)) / 5);
}

.firms__logo {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .firms__grid {
    gap: var(--sp-xs);
  }

  .firms__item,
  .firms__item:nth-child(-n+4),
  .firms__item:nth-child(n+5) {
    /* SPは2列固定（4-5レイアウトは崩して綺麗に並べる） */
    width: calc((100% - var(--sp-xs)) / 2);
    min-height: 100px;
    padding: var(--sp-md) var(--sp-sm);
  }

  .firms__logo {
    max-height: 70px;
  }
}

/* -----------------------------------------------------------------
   12. EVENTS（コンテンツ内セクション）
----------------------------------------------------------------- */
.events {
  background: var(--c-bg-blue);
  padding: var(--section-padding) 0;
}

.events__inner {
  display: flex;
  gap: var(--sp-3xl);
  min-height: 651px;
  align-items: flex-start;
}

.events__left {
  width: 375px;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
  justify-content: flex-start;
  padding: var(--sp-5xl) 0;
}

.events__more {
  margin-top: var(--sp-lg);
  width: 100%;
}

.events__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--heading-gap);
}

.events__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.events__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* イベントナビ */
.events-nav {
  display: flex;
  flex-direction: column;
}

.events-nav__item {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  border-bottom: 1px solid var(--c-rule);
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.events-nav__item:last-child {
  border-bottom: 1px solid var(--c-rule);
}

.events-nav__item:hover {
  background: var(--c-white);
  border-color: var(--c-rule);
}

.events-nav__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-grey-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.events-nav__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.events-nav__item.is-active {
  background: var(--c-white);
  border: 1.5px solid var(--c-primary);
  box-shadow: none;
}

.events-nav__item.is-active .events-nav__co {
  color: var(--c-primary);
}

.events-nav__item.is-active .events-nav__name {
  font-weight: 700;
  color: var(--c-dark);
}

.events-nav__co {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
  line-height: var(--lh-tight);
}

.events-nav__name {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--c-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.events-nav__date {

  font-size: var(--fs-2xs);
  font-weight: 400;
  color: var(--c-inactive);
  line-height: var(--lh-tight);
}

/* 右パネル: 詳細カード */
.events__right {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5xl) 0;
}

.event-detail {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-3xl);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
  overflow: hidden;
}

.event-detail.is-leaving {
  animation: cardOut 0.18s ease-in forwards;
}

.event-detail.is-entering {
  animation: cardIn 0.25s ease-out forwards;
}

@keyframes cardOut {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-detail__thumb {
  width: 72px;
  height: 72px;
  background: var(--c-grey-subtle);
  background-size: cover;
  background-position: center;
  border-radius: var(--r-md);
  flex-shrink: 0;
}

.event-detail__top-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.event-detail__top {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
}

.event-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-tag-bg);
  border-radius: var(--r-sm);
  padding: var(--sp-xs) var(--sp-sm) var(--sp-xs) var(--sp-sm);
}

.event-detail__badge-icon {
  font-size: 12px;
  color: var(--c-primary-dark);
}

.event-detail__badge-text {
  font-size: var(--fs-xs);
  color: var(--c-primary-dark);
  white-space: nowrap;
}

.event-detail__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-dark);
}

/* メタ情報ブロック */
.event-detail__meta {
  background: var(--c-bg-blue);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.event-detail__meta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.event-detail__icon {
  font-size: 14px;
  width: 15px;
  text-align: center;
  flex-shrink: 0;
  color: var(--c-muted);
}

.event-detail__meta-row span {
  font-size: var(--fs-caption);
  font-weight: var(--fw-caption);
  color: var(--c-muted);
  line-height: var(--lh-tight);
}

.event-detail__desc {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.event-detail__desc-label {
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  color: var(--c-dark);
  line-height: var(--lh-tight);
}

.event-detail__desc-text {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

.event-detail__rule {
  border: none;
  border-top: 1px solid var(--c-rule);
}

.event-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.event-detail__tag {
  background: var(--c-tag-bg);
  color: var(--c-primary-dark);
  font-size: var(--fs-xs);
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--r-sm);
}

.event-detail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  background: var(--c-primary-dark);
  color: var(--c-white);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  line-height: var(--lh-tight);
  height: 52px;
  border-radius: var(--r-sm);
  transition: opacity var(--trans);
}

.event-detail__cta:hover {
  opacity: 0.88;
}

.event-detail__cta-icon {
  font-size: 14px;
}


/* イベントスライダー */
.events-slider {
  position: relative;
  overflow: hidden;
}

.events-slider__track {
  display: flex;
  gap: var(--sp-lg);
  transition: transform 0.45s cubic-bezier(0.22, 0.6, 0.36, 1);
  will-change: transform;
}

.events-slider__card {
  flex: 0 0 calc((100% - var(--sp-lg) * 2) / 3);
  min-width: 0;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.events-slider__card:hover {
  border-color: var(--c-primary);
  box-shadow: none;
}

/* 全カードの高さを揃えるためアスペクト比を固定 */
.events-slider__thumb {
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 画像は枠内にトリミングせず収める（画像の比率が枠と異なれば余白が出る） */
.events-slider__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* サムネイルが無い場合: 会社名プレートにフォールバック */
.events-slider__thumb--fallback {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-primary);
  padding: var(--sp-md);
  word-break: break-word;
}

.events-slider__co {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--c-muted);
}

.events-slider__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-slider__summary {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-slider__date {
  font-size: var(--fs-2xs);
  color: var(--c-inactive);
}

.events-slider__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

.events-slider__tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-primary-dark);
  background: var(--c-tag-bg);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}

.events-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  margin-top: var(--sp-2xl);
}

.events-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c-rule);
  background: var(--c-white);
  border-radius: 50%;
  cursor: pointer;
  color: var(--c-dark);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  flex-shrink: 0;
}

.events-slider__btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

.events-slider__dots {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.events-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--c-rule);
  cursor: pointer;
  padding: 0;
  transition: background var(--trans), transform var(--trans);
}

.events-slider__dot.is-active {
  background: var(--c-primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .events-slider__card {
    flex: 0 0 100%;
  }

  .events-slider__track {
    gap: 0;
  }
}


/* -----------------------------------------------------------------
   13. ARTICLES
----------------------------------------------------------------- */
.articles {
  background: var(--c-bg-blue);
  padding: var(--section-padding) 0;
}

.articles__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.articles__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
  padding-bottom: var(--heading-gap);
  padding-top: var(--sp-sm);
}

/* 横並び1列リスト */
.articles__list {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.article-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  display: flex;
  gap: var(--sp-2xl);
  align-items: flex-start;
  padding: var(--sp-2xl);
  min-height: 219px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--trans);
}

.article-card:hover {
  box-shadow: none;
}

.article-card__thumb {
  width: 306px;
  aspect-ratio: 16 / 9;
  background-color: var(--c-grey-subtle);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  align-self: center;
  border-radius: var(--r-sm);
}

.article-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-top: 4px;
  justify-content: center;
}

.article-card__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-card-title);
  line-height: var(--lh-snug);
  color: var(--c-dark);
}

.article-card__desc {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

.article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--sp-sm);
}

.article-card__tag {
  background: #F7F6F3;
  color: var(--c-muted);
  font-size: var(--fs-2xs);
  padding: 2px var(--sp-sm);
}

.article-card__read {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: 0.72px;
  padding-top: var(--sp-sm);
  transition: color var(--trans);
  margin-left: auto;
}

.article-card:hover .article-card__read {
  color: var(--c-primary);
}

.articles__footer {
  text-align: center;
  padding-top: var(--heading-gap);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-dark);
  color: var(--c-dark);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.78px;
  padding: 13px 29px;
  transition: background var(--trans), color var(--trans);
}

.btn-outline:hover {
  background: var(--c-dark);
  color: var(--c-white);
}


/* -----------------------------------------------------------------
   FAQ
----------------------------------------------------------------- */
.faq {
  padding: var(--section-padding) 0;
}

.faq__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
  margin-bottom: var(--heading-gap);
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid var(--c-rule);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--c-rule);
}

.faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2xl);
  width: 100%;
  padding: var(--sp-2xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--fs-card-title);
  font-weight: var(--fw-card-title);
  line-height: var(--lh-snug);
  color: var(--c-dark);
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--c-dark);
  transition: transform 0.3s ease;
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq__icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__toggle[aria-expanded="true"] .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 0;
}

.faq__item.is-open .faq__a {
  max-height: 300px;
  padding-bottom: var(--sp-2xl);
}

.faq__a p {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}


/* -----------------------------------------------------------------
   14. FLOW & FORM
----------------------------------------------------------------- */
.flow {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.flow__inner {
  display: flex;
  align-items: flex-start;
}

.flow__left {
  width: 55%;
  flex-shrink: 0;
  padding: 0 var(--sp-4xl) var(--sp-6xl) var(--sp-5xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-xl);
}

.flow__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.flow__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-dark);
  margin-bottom: var(--sp-md);
}

.flow__steps {
  display: flex;
  flex-direction: column;
}

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2xl);
}

.flow__step-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 54px;
  align-self: stretch;
}

.flow__step-dot {
  width: 54px;
  height: 54px;
  background: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow__step-dot span {

  font-size: var(--fs-md);
  color: var(--c-white);
  line-height: var(--lh-tight);
}

.flow__step-line {
  flex: 1;
  width: 1px;
  background: var(--c-primary);
  min-height: 36px;
}

@media (max-width: 768px) {
  .flow__step-line {
    min-height: 18px;
}
}
.flow__step--last .flow__step-track {
  align-self: flex-start;
}

.flow__step-body {
  flex: 1;
  padding: var(--sp-lg) 0 var(--sp-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

/* PC: details を常に開いた状態にする */
.flow__accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.flow__accordion .flow__step-title {
  list-style: none;
  cursor: default;
}

.flow__accordion .flow__step-title::-webkit-details-marker {
  display: none;
}

/* PC: アコーディオンアイコンを非表示 */
.flow__accordion-icon {
  display: none;
}

/* PC: 説明文を常に表示 */
.flow__accordion .flow__step-desc {
  display: block;
}

.flow__step--last .flow__step-body {
  padding-bottom: 0;
}

.flow__step-title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-card-title);
  line-height: var(--lh-tight);
  color: var(--c-dark);
}

.flow__step-desc {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* フォームカード（右側） */
.flow__right {
  flex: 1;
  background: var(--c-bg-blue);
  padding: var(--sp-5xl) var(--sp-4xl);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

@media (max-width: 768px) {
  .contact-form {
    gap: var(--sp-md);
  }
}

.contact-form[hidden] {
  display: none;
}

.contact-form--thanks[hidden] {
  display: none;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.contact-form__label {
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  color: var(--c-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: var(--sp-xs);
  align-items: center;
}

.contact-form__req {
  color: var(--c-primary-dark);
}

.contact-form__input {
  width: 100%;
  background: var(--c-white);
  border: none;
  border: 1px solid var(--c-inactive);
  padding: 12px;
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--c-dark);
  outline: none;
  transition: border-color var(--trans);
}

.contact-form__input::placeholder {
  color: rgba(17, 16, 16, 0.4);
}

.contact-form__input:focus {
  border-bottom-color: var(--c-primary-dark);
}

.contact-form__fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.contact-form__fieldset legend {
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  color: var(--c-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
  float: left;
  width: 100%;
}

.contact-form__radios {
  display: flex;
  flex-direction: column;
  clear: both;
}

.contact-form__radio-label {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 14px 0;
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: var(--lh-tight);
  color: rgba(17, 16, 16, 0.7);
  border-bottom: 1px solid var(--c-bg-blue);
  transition: color var(--trans);
}

.contact-form__radio-label:hover {
  color: var(--c-dark);
}

.contact-form__radio-input {
  display: none;
}

/* カスタムラジオボタン */
.contact-form__radio-mark {
  width: 20px;
  height: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-bg-blue);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--trans);
}

.contact-form__radio-input:checked+.contact-form__radio-mark {
  border-color: var(--c-primary-dark);
}

.contact-form__radio-input:checked+.contact-form__radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  background: var(--c-primary-dark);
  border-radius: 50%;
}

/* プライバシーポリシー同意 */
.contact-form__consent {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  cursor: pointer;
  font-size: var(--fs-caption);
  color: var(--c-muted);
}

.contact-form__consent-input {
  display: none;
}

.contact-form__consent-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--c-rule);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  position: relative;
  transition: background var(--trans), border-color var(--trans);
}

.contact-form__consent-input:checked+.contact-form__consent-mark {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.contact-form__consent-input:checked+.contact-form__consent-mark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--c-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form__consent-text a {
  color: var(--c-primary);
  text-decoration: underline;
}

.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  width: 100%;
  height: 56px;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: background var(--trans);
}

.contact-form__submit:hover {
  background: #2A2929;
}

.contact-form__submit img {
  width: 16px;
  height: 16px;
}

.contact-form__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  width: 100%;
  padding: var(--sp-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--fs-caption);
  color: var(--c-muted);
  transition: color var(--trans);
}

.contact-form__back:hover {
  color: var(--c-dark);
}

.contact-form__sublabel {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  color: var(--c-muted);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-lg);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 80px;
  padding: 12px;

  line-height: var(--lh-base);
}

.contact-form__skip {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  cursor: pointer;
  padding: var(--sp-md) 0;
  text-decoration: underline;
  transition: color var(--trans);
}

.contact-form__skip:hover {
  color: var(--c-dark);
}

.contact-form__note {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
  line-height: var(--lh-tight);
}

/* 選択イベント表示（フォーム上部） */
.form-selected {
  margin-bottom: var(--sp-lg);
  background: var(--c-bg-blue);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
}

.form-selected[hidden] {
  display: none;
}

.form-selected__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
  width: 100%;
  margin-bottom: var(--sp-xs);
}

.form-selected__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-primary-dark);
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

.form-selected__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  background: none;
  color: var(--c-inactive);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  transition: color var(--trans), background var(--trans);
}

.form-selected__remove:hover {
  color: var(--c-dark);
  background: var(--c-rule);
}

/* ---- 2ステップ インジケーター ---- */
.contact-form__steps {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.contact-form__step {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-inactive);
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background: var(--c-tag-bg);
  transition: background var(--trans), color var(--trans);
}

.contact-form__step.is-active {
  background: var(--c-primary-dark);
  color: var(--c-white);
}

.contact-form__step-sep {
  font-size: var(--fs-xs);
  color: var(--c-inactive);
}

/* ---- スロット読み込み中 ---- */
.slots__loading {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  padding: var(--sp-2xl) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.slots__loading[hidden] {
  display: none;
}

.slots__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e0e0e0;
  border-top-color: var(--c-accent, #1a6dff);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.slots__empty {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  padding: var(--sp-2xl) 0;
  text-align: center;
}

/* ---- スロットピッカー ---- */
.slots-picker {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

.slots-picker__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.slots-picker__select {
  appearance: none;
  cursor: pointer;
  padding: 12px 8px;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6C68' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.slots-picker__times {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.slots-picker__time-btn {
  padding: 10px 20px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-dark);
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), color var(--trans);
}

.slots-picker__time-btn:hover {
  border-color: var(--c-primary);
}

.slots-picker__time-btn.is-selected {
  background: var(--c-primary-dark);
  color: var(--c-white);
  border-color: var(--c-primary-dark);
}

/* ---- カレンダー ---- */
.cal {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  user-select: none;
}

.cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.cal__label {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
}

.cal__nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-sm);
  background: var(--c-white);
  font-size: 18px;
  color: var(--c-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.cal__nav:hover {
  background: var(--c-tag-bg);
}

.cal__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: var(--sp-xs);
  gap: 2px;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal__cell {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  border: none;
  border-radius: var(--r-sm);
  background: none;
  color: var(--c-inactive);
  cursor: default;
}

.cal__cell--empty {
  visibility: hidden;
}

.cal__cell--available {
  color: var(--c-dark);
  font-weight: 500;
  cursor: pointer;
  background: var(--c-tag-bg);
  transition: background var(--trans), color var(--trans);
}

.cal__cell--available:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.cal__cell--selected {
  background: var(--c-primary-dark);
  color: var(--c-white);
  font-weight: 700;
}

.cal__cell--selected:hover {
  background: var(--c-primary-dark);
}

.cal__cell--sun {
  color: #C0392B;
}

.cal__cell--sun.cal__cell--available {
  color: #C0392B;
}

.cal__cell--sun.cal__cell--selected,
.cal__cell--sun.cal__cell--available:hover {
  color: var(--c-white);
}

.cal__cell--sat {
  color: var(--c-primary);
}

.cal__cell--sat.cal__cell--selected,
.cal__cell--sat.cal__cell--available:hover {
  color: var(--c-white);
}

.slots-picker__hint {
  font-size: var(--fs-sm);
  color: var(--c-inactive);
}

/* ---- サンクスメッセージ ---- */
.contact-form--thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.form-thanks {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.form-thanks__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-thanks__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
}

.form-thanks__text {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}


/* -----------------------------------------------------------------
   15. FOOTER
----------------------------------------------------------------- */
.site-footer {
  background: var(--c-dark);
  padding: var(--sp-4xl) 0;
}

.site-footer__inner {
  width: 100%;
  padding: 0 var(--content-pr) 0 var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2xl);
}

.site-footer__logo {
  display: flex;
  align-items: center;
}

.site-footer__logo-img {
  height: 38px;
  width: auto;
}

.site-footer__links {
  display: flex;
  gap: var(--sp-2xl);
}

.site-footer__link {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.48px;
  transition: color var(--trans);
}

.site-footer__link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.48px;
}


/* -----------------------------------------------------------------
   16. ANIMATIONS（ページロード）
----------------------------------------------------------------- */
@keyframes heroFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero__heading {
  /* 行単位で個別にフェード（.hero__lineで制御） */
}

.hero__body {
  opacity: 0;
  animation: heroFade 1.4s ease forwards;
  animation-delay: 1.1s;
}

.hero__cta {
  opacity: 0;
  animation: heroFade 1.4s ease forwards;
  animation-delay: 1.6s;
}


/* -----------------------------------------------------------------
   17a. EVENTS SP LIST（SPのみ表示）
----------------------------------------------------------------- */

/* PCでは非表示 */
.events__sp {
  display: none;
  padding-top: var(--sp-5xl);
  padding-bottom: var(--sp-5xl);
}

.events-sp-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-2xl);
}

.events-sp-list__item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-2xl);
  border-bottom: 1px solid var(--c-rule);
  cursor: pointer;
  transition: background var(--trans);
}

.events-sp-list__thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--c-grey-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.events-sp-list__item:first-child {
  border-top: 1px solid var(--c-rule);
}

.events-sp-list__item:active {
  background: var(--c-tag-bg);
}

.events-sp-list__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.events-sp-list__co {
  font-size: var(--fs-xs);
  color: var(--c-primary-dark);
  letter-spacing: 0.06em;
}

.events-sp-list__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.5;
}

.events-sp-list__date {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-weight: 300;
}

.events-sp-list__arrow {
  font-size: 20px;
  color: var(--c-muted);
  flex-shrink: 0;
}


/* -----------------------------------------------------------------
   17b. EVENT MODAL（SP用ポップアップ）
----------------------------------------------------------------- */

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  /* 画面下からスライドアップ */
}

/* hidden属性で制御 */
.event-modal[hidden] {
  display: none;
}

.event-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 16, 0.5);
  cursor: pointer;
}

/* ボトムシート */
.event-modal__sheet {
  position: relative;
  z-index: 1;
  background: var(--c-white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
  animation: slideUp 0.35s cubic-bezier(0.22, 0.6, 0.36, 1) forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.event-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg) var(--sp-2xl);
  border-bottom: 1px solid var(--c-rule);
  position: sticky;
  top: 0;
  background: var(--c-white);
  z-index: 1;
}

.event-modal__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
}

.event-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--c-bg-blue);
  border-radius: 50%;
  cursor: pointer;
  color: var(--c-dark);
  transition: background var(--trans);
}

.event-modal__close:hover {
  background: var(--c-rule);
}

.event-modal__body {
  padding: var(--sp-2xl);
}


/* -----------------------------------------------------------------
   18. FLOATING CTA
----------------------------------------------------------------- */

.floating-cta {
  position: fixed;
  bottom: var(--sp-2xl);
  right: var(--sp-2xl);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 260px;
  box-sizing: border-box;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  text-decoration: none;
  transition: background var(--trans), transform var(--trans), opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-cta:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 0;
    right: 0;
    left: 0;
    width: auto;
    border-radius: 0;
    justify-content: center;
    padding: var(--sp-sm) var(--sp-2xl);
    font-size: var(--fs-sm);
  }
}

/* フローティングバナー（ケース面接対策） */
/* CTA(52px) の上に sp-md(14px) のギャップを空けてスタック */
.floating-banner {
  position: fixed;
  bottom: calc(var(--sp-2xl) + 32px + var(--sp-md));
  right: var(--sp-2xl);
  z-index: 89;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 260px;
  box-sizing: border-box;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  text-decoration: none;
  transition: transform var(--trans), opacity 0.3s ease, visibility 0.3s ease;
}

.floating-banner:hover {
  transform: translateY(-2px);
}

.floating-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-banner__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.floating-banner__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-white);
}

.floating-banner__sub {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--lh-tight);
}

.floating-banner__link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-white);
  margin-top: 4px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .floating-banner {
    /* floating-cta の直上に配置 */
    bottom: calc(36px + var(--sp-sm));
    right: 0;
    left: 0;
    width: 50%;
    max-width: none;
    border-radius: 0;
    padding-right: var(--sp-md);
    padding-left: var(--sp-sm);
    flex-direction: column;
    gap: 2px;
    margin-left: auto;
    margin-right: 4px;
    border-radius: var(--r-lg);
  }

  .floating-banner__title {
    font-size: var(--fs-sm);
    line-height: var(--lh-tight);
  }

  .floating-banner__sub {
    font-size: var(--fs-xs);
  }

  .floating-banner__link {
    font-size: var(--fs-xs);
    margin-left: auto;
  }
}

.floating-banner__close {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--trans), background var(--trans);
}

.floating-banner__close:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .floating-banner__close {
    display: flex;
    top: 1px;
    right: 1px;
  }
}

/* スティッキーバー（イベント選択時） */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 91;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-2xl);
  background: var(--c-dark);
  color: var(--c-white);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-bar[hidden] {
  display: none;
}

.sticky-bar.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-bar__text {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.sticky-bar__count {
  font-weight: 900;
  font-size: var(--fs-base);
  color: var(--c-primary);
}

.sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-sm) var(--sp-2xl);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background var(--trans);
}

.sticky-bar__btn:hover {
  background: var(--c-primary-dark);
}

/* 興味ありトグルボタン */
/* -----------------------------------------------------------------
   COMPANY（運営会社）
----------------------------------------------------------------- */
.company {
  padding: var(--section-padding) 0;
  background: var(--c-bg-blue);
}

.company__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
  margin-bottom: var(--heading-gap);
}

.company__body {
  max-width: 640px;
}

.company__text {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
  margin-bottom: var(--sp-lg);
}

.company__text--strong {
  font-weight: 700;
  color: var(--c-dark);
}

.company__info {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--heading-gap);
}

.company__info th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
  padding: var(--sp-md) 0;
  width: 120px;
  vertical-align: top;
  border-bottom: 1px solid var(--c-rule);
}

.company__info td {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-dark);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--c-rule);
}

.company__link {
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans);
}

.company__link:hover {
  color: var(--c-primary-dark);
}

.company__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-2xl);
  padding: var(--sp-md) var(--sp-3xl);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background var(--trans);
}

.company__cta:hover {
  background: var(--c-primary-dark);
}


/* -----------------------------------------------------------------
   19. RESPONSIVE
----------------------------------------------------------------- */

/* タブレット以下 (1024px): Railを非表示、全幅レイアウトに */
@media (max-width: 1024px) {

  /* Railを非表示 */
  .event-rail {
    display: none;
  }

  .event-rail__banner {
    display: none;
  }

  /* site-mainのオフセットをリセット */
  .site-main {
    margin-left: 0;
  }

  .sticky-bar {
    display: flex;
  }

  /* ヘッダーを左端から開始 */
  .site-header {
    left: 0;
  }

  /* section-inner の左パディングを縮小 + 幅を広げる */
  .section-inner {
    width: 92%;
    padding-left: var(--sp-2xl);
  }

  .site-header__inner {
    padding: 0 var(--sp-2xl);
  }

  /* Heroのbreakout解除 */
  .hero {
    width: 100%;
    margin-left: 0;
  }

  .hero__inner {
    padding-left: var(--sp-2xl);
    padding-right: var(--sp-2xl);
  }

  .hero__heading {
    font-size: clamp(32px, 5vw, var(--fs-4xl));
  }

  .hero__body {
    font-size: clamp(16px, 2.5vw, 28px);
    line-height: var(--lh-relaxed);
  }
}

/* スマートフォン (768px以下) */
@media (max-width: 768px) {
  .site-header__burger {
    display: flex;
  }

  .site-header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2xl);
    z-index: 200;
    overflow-y: auto;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__link {
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-dark);
    padding: var(--sp-lg) 0;
    border-bottom: 1px solid var(--c-rule);
  }

  .site-header__cta {
    margin-top: var(--sp-2xl);
    text-align: center;
    padding: var(--sp-lg);
    border-radius: var(--r-md);
    font-size: var(--fs-md);
  }

  .hero {
    height: 100svh;
    padding: 0 var(--sp-md);
    justify-content: center;
    animation: heroZoomSp 8s ease-out forwards;
  }

  @keyframes heroZoomSp {
    0%   { background-size: auto 110%; }
    100% { background-size: auto 100%; }
  }

  .hero__inner {
    padding: 0;
  }

  .hero__heading {
    font-size: clamp(26px, 5vw, 42px);
    line-height: var(--lh-tight);
    white-space: nowrap;
  }

  .hero__body {
    font-size: 16px;
    line-height: var(--lh-loose);
  }

  .hero__cta {
    font-size: 16px;
    padding: var(--sp-md) var(--sp-2xl);
  }

  /* SP: セクション余白をやや控えめに */
  .pain,
  .why,
  .voices,
  .advisors,
  .events,
  .articles,
  .faq,
  .flow,
  .company {
    --section-padding: var(--sp-6xl);
    --heading-gap: var(--sp-3xl);
  }

  /* SP: 見出し・リード内の <br> を無効化して自然折り返しにする */
  .pain__heading br,
  .pain__lead br {
    display: none;
  }

  .pain__list {
    grid-template-columns: 1fr;
  }

  .pain__insight {
    gap: var(--sp-md);
  }

  .why__header {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .why-row {
    flex-direction: column-reverse;
    gap: var(--sp-md);
    padding: 0;
    margin-bottom: var(--sp-xl);
  }

  .why-row__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .voices__grid {
    flex-direction: column;
  }

  .voices__inner {
    display: none;
  }

  .voices-sp-list {
    display: block;
  }

  .advisors__list {
    gap: var(--sp-3xl);
  }

  .advisors__lead {
    margin-bottom: var(--sp-2xl);
  }

  .advisor,
  .advisor--reverse {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 var(--sp-lg);
  }

  .advisor__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }

  /* content を透明化して子要素を親グリッドに参加させる */
  .advisor__content {
    display: contents;
  }

  .advisor__role {
    grid-column: 2;
    align-self: end;
  }

  .advisor__name {
    grid-column: 2;
    font-size: var(--fs-md);
    align-self: start;
    margin-top:8px;
  }

  .advisor__bio {
    grid-column: 1 / -1;
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    margin-top: var(--sp-md);
  }

  .events__inner {
    flex-direction: column;
    height: auto;
    padding: var(--sp-3xl) 0;
  }

  .events__left {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .events__right {
    width: 100%;
    padding: 0;
  }

  .events__inner {
    display: none;
    /* PCレイアウトを非表示 */
  }

  .events__sp {
    display: block;
    /* SPリストを表示 */
  }

  .articles__list {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--sp-lg);
    padding-bottom: var(--sp-sm);
  }

  .articles__list::-webkit-scrollbar {
    display: none;
  }

  .articles__list .article-card {
    flex: 0 0 85vw;
    flex-direction: column;
    scroll-snap-align: start;
  }

  .articles__list .article-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .flow__inner {
    flex-direction: column;
  }

  .flow__left {
    width: 100%;
    padding: var(--sp-lg) 0;
    gap: 0;
  }

  .flow__heading {
    margin-bottom: var(--sp-lg);
  }

  .flow__step {
    gap: var(--sp-md);
  }

  .flow__step-dot {
    width: 36px;
    height: 36px;
  }

  .flow__step-dot span {
    font-size: var(--fs-sm);
  }

  .flow__step-body {
    padding: var(--sp-sm) 0 var(--sp-lg);
  }

  .flow__step--last .flow__step-body {
    padding-bottom: 0;
  }

  .flow__step-title {
    font-size: var(--fs-sm);
  }

  .flow__step-desc {
    font-size: var(--fs-sm);
  }

  /* SP: フローステップをアコーディオン化 */
  .flow__accordion .flow__step-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
  }

  .flow__accordion-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
  }

  .flow__accordion-icon::before,
  .flow__accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--c-muted);
    border-radius: 1px;
    transition: transform 0.25s ease;
  }

  /* 横棒 */
  .flow__accordion-icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
  }

  /* 縦棒（閉じているとき） */
  .flow__accordion-icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
  }

  /* 開いたら縦棒を回転して消す（＋ → −） */
  .flow__accordion[open] .flow__accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .flow__accordion .flow__step-desc {
    overflow: hidden;
    animation: accordionOpen 0.25s ease;
  }

  @keyframes accordionOpen {
    from {
      opacity: 0;
      max-height: 0;
    }

    to {
      opacity: 1;
      max-height: 200px;
    }
  }

  .flow__right {
    width: 100%;
    padding: var(--sp-xl) var(--sp-xl);
  }

  .cta-strip__inner {
    flex-direction: column;
    height: auto;
    padding: var(--sp-2xl) 0;
    gap: var(--sp-md);
  }

  .cta-strip__text {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0;
    padding-bottom: var(--sp-lg);
  }

  .cta-strip__btn {
    padding: var(--sp-md) var(--sp-2xl);
    justify-content: center;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 var(--sp-2xl);
  }

  /* section-inner をSPでさらに広げる */
  .section-inner {
    width: 100%;
    padding-left: var(--sp-lg);
    padding-right: var(--sp-lg);
  }

  /* ── article.html レスポンシブ ── */
  .article-page {
    padding: 80px var(--sp-lg) var(--sp-3xl);
  }

  .article-detail__title {
    font-size: var(--fs-xl);
  }

  .article-detail__header {
    margin-bottom: var(--sp-2xl);
  }

  .article-toc {
    padding: var(--sp-lg);
    margin-bottom: var(--sp-2xl);
  }

  .article-body h1 {
    font-size: var(--fs-xl);
    margin: var(--sp-3xl) 0 var(--sp-lg);
  }

  .article-body h2 {
    font-size: var(--fs-lg);
    margin: var(--sp-2xl) 0 var(--sp-md);
  }

  .article-body h3 {
    font-size: var(--fs-md);
  }

  .article-body blockquote {
    padding: var(--sp-md) var(--sp-lg);
  }

  .article-body pre {
    padding: var(--sp-lg);
    font-size: var(--fs-xs);
  }

  /* テーブル横スクロール対応 */
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-body img {
    max-width: 100%;
  }

  /* 前後記事ナビ */
  .article-pager {
    margin-top: var(--sp-2xl);
  }

  .article-page__cta {
    margin-top: var(--sp-2xl);
    padding: var(--sp-2xl) 0;
  }

  /* ── articles.html レスポンシブ ── */
  .articles-page {
    padding: 80px var(--sp-lg) var(--sp-3xl);
  }

  .articles-page .article-card {
    flex-direction: column;
    min-height: 0;
    padding: var(--sp-lg) 0;
    gap: var(--sp-lg);
  }

  .articles-page .article-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .articles-page .article-card__title {
    font-size: var(--fs-sm);
  }

  .articles-page .article-card__desc {
    font-size: var(--fs-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* va-page / vp-page のレスポンシブはベース定義の直後に配置 */
}


/* -----------------------------------------------------------------
   19. ARTICLE DETAIL PAGE
----------------------------------------------------------------- */

.page-article {
  background: var(--c-white);
}

.page-article .site-header--article,
.page-articles-list .site-header--article,
.page-video-apply .site-header--article,
.page-video .site-header--article {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--c-rule);
}

.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px var(--sp-2xl) var(--sp-5xl);
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-xs);
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
}

.breadcrumb__link {
  color: var(--c-primary);
  transition: color var(--trans);
}

.breadcrumb__link:hover {
  color: var(--c-primary-dark);
}

.breadcrumb__sep {
  color: var(--c-inactive);
}

.breadcrumb__current {
  color: var(--c-muted);
}

/* 記事ヘッダー */
.article-detail__hero {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--sp-2xl);
}

.article-detail__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.article-detail__header {
  margin-bottom: var(--sp-3xl);
}

.article-detail__cats {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.article-detail__cat {
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  color: var(--c-primary-dark);
  background: var(--c-tag-bg);
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

.article-detail__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-dark);
  margin-bottom: var(--sp-md);
}

.article-detail__date {
  font-size: var(--fs-caption);
  color: var(--c-muted);
}

.article-detail__error {
  text-align: center;
  color: var(--c-muted);
  padding: var(--sp-5xl) 0;
}

.article-detail__loading {
  text-align: center;
  color: var(--c-muted);
  padding: var(--sp-5xl) 0;
}

/* 記事目次（JS で h2/h3 から自動生成） */
.article-toc {
  background: var(--c-bg-blue);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}

.article-toc__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: .08em;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--c-dark);
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.article-toc__item--sub {
  padding-left: 1.5em;
}

.article-toc__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-dark);
  text-decoration: none;
  line-height: var(--lh-relaxed);
  transition: color var(--trans);
}

.article-toc__link:hover {
  color: var(--c-primary);
}

.article-toc__num {
  font-family: var(--f-en);
  font-weight: 500;
  color: var(--c-muted);
  flex-shrink: 0;
}

.article-toc__item--sub .article-toc__num {
  font-size: var(--fs-xs);
}

.article-toc__item--sub .article-toc__link {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.article-toc__item--sub .article-toc__link:hover {
  color: var(--c-primary);
}

/* 記事本文 .article-body */
.article-body {
  font-weight: 400;
  line-height: 2;
  color: var(--c-dark);
}

.article-body h1 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  margin: var(--sp-4xl) 0 var(--sp-2xl);
  padding-bottom: var(--sp-md);
  border-bottom: 2px solid var(--c-primary);
}

.article-body h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  margin: var(--sp-3xl) 0 var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-rule);
}

.article-body h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  margin: var(--sp-2xl) 0 var(--sp-md);
}

.article-body h4 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin: var(--sp-2xl) 0 var(--sp-sm);
}

.article-body p {
  margin-bottom: var(--sp-2xl);
}

/* グローバルリセット (list-style: none) を打ち消してマーカーを復活 */
.article-body ul {
  list-style: disc outside;
  margin: var(--sp-lg) 0 var(--sp-2xl);
  padding-left: 1.6em;
}

.article-body ol {
  list-style: decimal outside;
  margin: var(--sp-lg) 0 var(--sp-2xl);
  padding-left: 1.6em;
}

.article-body ul ul {
  list-style: circle outside;
}

.article-body ul ul ul {
  list-style: square outside;
}

.article-body li {
  margin-bottom: var(--sp-sm);
  line-height: var(--lh-loose);
}

.article-body li::marker {
  color: var(--c-muted);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: var(--sp-2xl) 0;
  display: block;
}

.article-body blockquote {
  border-left: 3px solid var(--c-primary);
  padding: var(--sp-lg) var(--sp-2xl);
  margin: var(--sp-2xl) 0;
  background: var(--c-bg-blue);
  color: var(--c-muted);
  font-style: italic;
}

.article-body pre {
  background: #1B222B;
  color: #E4E2DC;
  padding: var(--sp-2xl);
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: var(--sp-2xl) 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.article-body code {
  background: var(--c-tag-bg);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
}

.article-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-2xl) 0;
  font-size: var(--fs-sm);
}

.article-body th,
.article-body td {
  border: 1px solid var(--c-rule);
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
}

.article-body th {
  background: var(--c-bg-blue);
  font-weight: 700;
}

.article-body a {
  color: var(--c-primary);
  text-decoration: underline;
  transition: color var(--trans);
}

.article-body a:hover {
  color: var(--c-primary-dark);
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--c-rule);
  margin: var(--sp-3xl) 0;
}

/* 記事ページ下部CTA */
/* 前後記事ナビ */
.article-pager {
  display: flex;
  gap: var(--sp-lg);
  margin-top: var(--sp-4xl);
  border-top: 1px solid var(--c-rule);
}

.article-pager__link {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  padding: var(--sp-2xl) var(--sp-lg);
  text-decoration: none;
  color: inherit;
  transition: background var(--trans);
}

.article-pager__link:hover {
  background: var(--c-bg-blue);
}

.article-pager__link--next {
  text-align: right;
  border-left: 1px solid var(--c-rule);
}

.article-pager__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}

.article-pager__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-pager__placeholder {
  flex: 1 1 0;
}

@media (max-width: 480px) {
  .article-pager {
    flex-direction: column;
    gap: 0;
  }

  .article-pager__link--next {
    border-left: none;
    border-top: 1px solid var(--c-rule);
  }

  /* article.html 480px */
  .article-page {
    padding: 72px var(--sp-md) var(--sp-2xl);
  }

  .article-detail__title {
    font-size: var(--fs-lg);
  }

  .article-body h1 {
    font-size: var(--fs-lg);
  }

  .article-body h2 {
    font-size: var(--fs-md);
  }

  .article-body th,
  .article-body td {
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-xs);
  }

  /* articles.html 480px */
  .articles-page {
    padding: 72px var(--sp-md) var(--sp-2xl);
  }

  .articles-page__heading {
    font-size: var(--fs-xl);
  }

  .cat-filter {
    gap: var(--sp-xs);
  }

  .cat-filter__btn {
    font-size: var(--fs-2xs);
    padding: var(--sp-xs) var(--sp-md);
  }
}

.article-page__cta {
  text-align: center;
  padding: var(--sp-4xl) 0;
  border-top: 1px solid var(--c-rule);
  margin-top: var(--sp-4xl);
}

.article-page__cta-text {
  font-size: var(--fs-base);
  color: var(--c-muted);
  margin-bottom: var(--sp-lg);
}

.article-page__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  letter-spacing: 0.06em;
  transition: background var(--trans);
}

.article-page__cta-btn:hover {
  background: #2A2929;
}

/* 2ボタン横並び */
.article-page__cta--row {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.article-page__cta-btn--secondary {
  background: var(--c-white);
  color: var(--c-dark);
  border: 1.5px solid var(--c-rule);
}

.article-page__cta-btn--secondary:hover {
  background: var(--c-bg-blue);
  border-color: var(--c-dark);
}


/* -----------------------------------------------------------------
   ARTICLES LIST PAGE
----------------------------------------------------------------- */
.articles-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px var(--sp-2xl) var(--sp-5xl);
}

.articles-page__header {
  margin-bottom: var(--sp-2xl);
}

.articles-page__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
  margin-bottom: var(--sp-sm);
}

.articles-page__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* カテゴリフィルター */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-3xl);
}

.cat-filter__btn {
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  color: var(--c-muted);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  padding: var(--sp-sm) var(--sp-lg);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.cat-filter__btn:hover {
  border-color: var(--c-dark);
  color: var(--c-dark);
}

.cat-filter__btn.is-active {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}

.cat-filter__btn--child {
  font-size: var(--fs-caption);
  padding: var(--sp-xs) var(--sp-md);
}

.cat-filter__btn--child.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

/* 記事リスト */
.articles-page__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--sp-3xl);
}

.articles-page__list .article-card {
  border-bottom: 1px solid var(--c-rule);
  border-radius: 0;
  padding: var(--sp-2xl) 0;
}

.articles-page__list .article-card:first-child {
  border-top: 1px solid var(--c-rule);
}

.articles-page__list .article-card:hover {
  background: var(--c-bg-blue);
}

.articles-page__loading,
.articles-page__empty {
  text-align: center;
  color: var(--c-muted);
  padding: var(--sp-5xl) 0;
}

/* articles.html SP対応は 768px 共通ブロックに統合済み */

/* -----------------------------------------------------------------
   SCROLL REVEAL — subtle fade-up on enter
----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------------
   EVENT DETAIL PAGE (event.html)
   ※ event.html の <style> から外出し。セレクタ・値は一切変更なし。
----------------------------------------------------------------- */

/* ── Hero ── */
.ev-hero {
  background: var(--c-white);
  padding: var(--sp-4xl) 0 var(--sp-3xl);
}

.ev-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.ev-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.ev-hero__tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-primary-dark);
  background: var(--c-tag-bg);
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

.ev-hero h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-dark);
  margin-bottom: var(--sp-md);
}

/* ── Hero main: タイトル + サムネを横並び ── */
.ev-hero__main {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.ev-hero__main h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}

/* ── Thumbnail（ヒーロー右側に小さく表示・180px幅基準で縦は画像比率） ── */
.ev-thumb {
  flex: 0 0 180px;
  width: 180px;
}

.ev-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

@media (max-width: 600px) {
  .ev-hero__main {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .ev-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 240px;
  }
}

/* ── Section shared ── */
.ev-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl);
}

.ev-section__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-dark);
  margin-bottom: var(--sp-xl);
}

/* ── Info table ── */
.ev-info {
  width: 100%;
  border-collapse: collapse;
}

.ev-info th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
  padding: 10px 0;
  width: 110px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.ev-info td {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-dark);
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.ev-info .ev-deadline {
  color: var(--c-accent);
  font-weight: 700;
}

/* ── Rich text content ── */
.ev-rich {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-dark);
}

.ev-rich p {
  margin-bottom: 1em;
}

.ev-rich p:last-child {
  margin-bottom: 0;
}

/* グローバルリセット (ul, ol { list-style: none }) を打ち消してマーカーを復活 */
.ev-rich ul {
  list-style: disc outside;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.ev-rich ol {
  list-style: decimal outside;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.ev-rich ul ul {
  list-style: circle outside;
}

.ev-rich ul ul ul {
  list-style: square outside;
}

.ev-rich li {
  margin-bottom: 0.4em;
  line-height: var(--lh-relaxed);
}

.ev-rich li::marker {
  color: var(--c-muted);
}

.ev-rich h2,
.ev-rich h3,
.ev-rich h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.ev-rich h2 {
  font-size: var(--fs-lg);
}

.ev-rich h3 {
  font-size: var(--fs-md);
}

.ev-rich a {
  color: var(--c-primary);
  text-decoration: underline;
}

.ev-rich img {
  border-radius: var(--r-md);
  margin: 1em 0;
}

/* ── CTA ── */
.ev-cta {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl) var(--sp-4xl);
  text-align: center;
}

.ev-cta__btn {
  display: inline-block;
  padding: 14px 56px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--r-md);
  transition: background var(--trans);
}

.ev-cta__btn:hover {
  background: var(--c-primary-dark);
}

.ev-cta__sub {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--sp-lg);
  line-height: var(--lh-relaxed);
}

/* ── Support block ── */
.ev-support {
  background: var(--c-bg-blue);
  border-top: 1px solid var(--c-rule);
}

.ev-support__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-4xl) var(--sp-xl);
}

.ev-support__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-lg);
}

.ev-support__header img {
  height: 16px;
}

.ev-support__header span {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
}

.ev-support__text {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-xl);
}

.ev-support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: var(--sp-xl);
}

.ev-support__card {
  padding: var(--sp-xl);
  border: 1px solid var(--c-rule);
  border-right: none;
  background: var(--c-white);
}

.ev-support__card:last-child {
  border-right: 1px solid var(--c-rule);
}

.ev-support__card-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 6px;
}

.ev-support__card-text {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.6;
}

.ev-support__cta {
  text-align: center;
}

.ev-support__btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--r-md);
  transition: background var(--trans);
}

.ev-support__btn:hover {
  background: #333;
}

/* ── Loading / Error ── */
.ev-loading {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-5xl) var(--sp-xl);
  text-align: center;
  color: var(--c-muted);
  font-size: var(--fs-base);
}

.ev-loading__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--c-rule);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--sp-lg);
}

/* @keyframes spin は既存定義を使用（重複回避） */

/* ── Responsive ── */
@media (max-width: 768px) {
  .ev-hero {
    padding: var(--sp-2xl) 0;
  }

  .ev-hero h1 {
    font-size: var(--fs-lg);
  }

  .ev-support__grid {
    grid-template-columns: 1fr;
  }

  .ev-support__card {
    border-right: 1px solid var(--c-rule);
    border-bottom: none;
  }

  .ev-support__card:last-child {
    border-bottom: 1px solid var(--c-rule);
  }

  .ev-cta__btn {
    display: block;
    padding: 14px var(--sp-xl);
  }
}

@media (max-width: 480px) {
  .ev-hero {
    padding: var(--sp-xl) 0;
  }

  .ev-hero h1 {
    font-size: var(--fs-md);
  }

  .ev-section {
    padding: var(--sp-xl) var(--sp-lg);
  }

  .ev-info th {
    width: 80px;
    font-size: 10px;
  }

  .ev-info td {
    font-size: var(--fs-sm);
  }

  .ev-support__inner {
    padding: var(--sp-2xl) var(--sp-lg);
  }
}

/* ── 他のイベント ── */
.ev-others {
  display: none;
  border-top: 1px solid var(--c-rule);
  padding: var(--sp-3xl) 0;
}

@media (max-width: 1024px) {
  .ev-others {
    display: block;
  }
}

.ev-others__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.ev-others__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-dark);
  margin-bottom: var(--sp-xl);
}

.ev-others__scroll {
  display: flex;
  gap: var(--sp-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-sm);
}

.ev-others__scroll::-webkit-scrollbar {
  display: none;
}

.ev-others__card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: border-color var(--trans), box-shadow var(--trans);
}

.ev-others__card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(58, 117, 187, 0.1);
}

.ev-others__card-thumb {
  width: 100%;
  height: 80px;
  background: var(--c-grey-subtle);
  background-size: cover;
  background-position: center;
  border-radius: var(--r-sm);
}

/* サムネイルが無い場合: 会社名プレートにフォールバック */
.ev-others__card-thumb--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--c-primary);
  background: var(--c-bg-blue);
  padding: var(--sp-sm);
  overflow: hidden;
  word-break: break-word;
}

.ev-others__card-co {
  font-size: var(--fs-2xs);
  color: var(--c-muted);
}

.ev-others__card-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-others__card-date {
  font-size: var(--fs-2xs);
  color: var(--c-inactive);
}

@media (max-width: 480px) {
  .ev-others__card {
    flex: 0 0 180px;
  }
}

/* レール連携レイアウト */
.page-event .site-header--article {
  left: var(--rail-width);
}

.ev-page-wrapper {
  margin-left: var(--rail-width);
  padding-top: var(--header-height);
}

@media (max-width: 1024px) {
  .page-event .site-header--article {
    left: 0;
  }

  .ev-page-wrapper {
    margin-left: 0;
  }
}

/* -----------------------------------------------------------------
   VIDEO APPLY PAGE (video-apply.html)
----------------------------------------------------------------- */

.va-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 100px var(--sp-2xl) var(--sp-5xl);
}

.va-page__header {
  margin-bottom: var(--sp-3xl);
}

.va-page__heading {
  font-size: var(--fs-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-tight);
  color: var(--c-dark);
  margin-bottom: var(--sp-sm);
}

.va-page__lead {
  font-size: var(--fs-section-lead);
  font-weight: var(--fw-section-lead);
  line-height: var(--lh-relaxed);
  color: var(--c-muted);
}

/* 動画情報カード */
.va-video-info {
  background: var(--c-bg-blue);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}

.va-video-info__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-sm);
}

.va-video-info__meta {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-md);
}

.va-video-info__desc {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

.va-video-info__body {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  line-height: var(--lh-relaxed);
  margin-top: var(--sp-lg);
}

.va-video-info__body p {
  margin-bottom: var(--sp-md);
}

.va-video-info__body ul {
  list-style: disc outside;
  padding-left: 1.5em;
  margin-bottom: var(--sp-md);
}

.va-video-info__body li {
  margin-bottom: var(--sp-xs);
}

.va-video-info__subtitle {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: var(--sp-md);
  margin-top: var(--sp-2xl);
}

.va-speakers {
  margin-top: var(--sp-md);
}

.va-speaker {
  margin-bottom: var(--sp-xl);
}

.va-speaker:last-child {
  margin-bottom: 0;
}

.va-speaker__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--sp-xs);
}

.va-speaker__role {
  font-weight: 400;
  color: var(--c-muted);
  margin-left: var(--sp-sm);
  font-size: var(--fs-xs);
}

.va-speaker__bio {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

.va-recommend ul {
  list-style: none;
  padding: 0;
}

.va-recommend li {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-rule);
}

.va-recommend li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--c-primary);
  margin-right: var(--sp-sm);
  font-size: var(--fs-xs);
}

/* スロット一覧 */
.va-slots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.va-slots__empty {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.va-slots__btn {
  padding: var(--sp-sm) var(--sp-lg);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  font-family: inherit;
  color: var(--c-dark);
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
}

.va-slots__btn:hover {
  border-color: var(--c-primary);
}

.va-slots__btn.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

.va-form {
  margin-bottom: var(--sp-3xl);
}

.va-thanks {
  margin-bottom: var(--sp-3xl);
}

@media (max-width: 768px) {
  .va-page {
    padding: 80px var(--sp-lg) var(--sp-3xl);
  }

  .va-page__heading {
    font-size: var(--fs-xl);
  }

  .va-video-info {
    padding: var(--sp-lg);
  }

  .va-video-info__title {
    font-size: var(--fs-md);
  }

  .va-slots__btn {
    padding: var(--sp-sm) var(--sp-sm);
  }
}

/* -----------------------------------------------------------------
   VIDEO PLAYER PAGE (video.html)
----------------------------------------------------------------- */

.vp-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px var(--sp-2xl) var(--sp-5xl);
  min-height: 60vh;
}

/* ステータス画面（ローディング / エラー / 待機 / 終了） */
.vp-status {
  text-align: center;
  padding: var(--sp-5xl) var(--sp-xl);
}

.vp-status__icon {
  font-size: 48px;
  color: var(--c-muted);
  margin-bottom: var(--sp-lg);
}

.vp-status__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--sp-md);
}

.vp-status__text {
  font-size: var(--fs-base);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

.vp-status__countdown {
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-family: var(--f-en);
  color: var(--c-primary);
  margin-top: var(--sp-2xl);
}

/* ミュート解除バー */
.vp-unmute {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-sm);
  padding: var(--sp-md) var(--sp-xl);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-xl);
}

.vp-unmute__btn {
  margin-left: auto;
  background: var(--c-white);
  color: var(--c-primary);
  border: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  font-family: inherit;
  padding: var(--sp-xs) var(--sp-lg);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: opacity var(--trans);
}

.vp-unmute__btn:hover {
  opacity: 0.85;
}

/* プレーヤー */
.vp-player-wrap {
  margin-bottom: var(--sp-3xl);
}

.vp-player__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--sp-sm);
}

.vp-player__desc {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-xl);
}

.vp-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
}

.vp-notes {
  margin-top: var(--sp-xl);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

/* CTA */
.vp-cta {
  text-align: center;
  padding: var(--sp-4xl) var(--sp-xl);
  background: var(--c-bg-blue);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3xl);
}

.vp-cta__text {
  font-size: var(--fs-base);
  color: var(--c-muted);
  margin-bottom: var(--sp-xl);
}

.vp-cta__btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background var(--trans);
}

.vp-cta__btn:hover {
  background: var(--c-primary-dark);
}

@media (max-width: 768px) {
  .vp-page {
    padding: 80px var(--sp-lg) var(--sp-3xl);
  }

  .vp-status__title {
    font-size: var(--fs-lg);
  }

  .vp-player__title {
    font-size: var(--fs-lg);
  }

  .vp-cta {
    padding: var(--sp-2xl) var(--sp-lg);
  }

  .vp-cta__btn {
    display: block;
    text-align: center;
    padding: 14px var(--sp-xl);
  }
}

@media (max-width: 480px) {
  .vp-status__countdown {
    font-size: var(--fs-xl);
  }

  .vp-unmute {
    flex-wrap: wrap;
  }

  .vp-unmute__btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: var(--sp-sm);
  }
}