/* ============================================================
   front-page.css — TOPページ専用スタイル (v33)
   ※ life2nd-lab.css の後にロードされる
   ============================================================ */

/* ── Hero: 1カラム化（hero-board 削除後の調整） ── */
.fp-hero-inner {
  grid-template-columns: 1fr;
  max-width: 860px;
}

/* hero-actions: 3ボタン横並び */
.fp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── ハンバーガーボタン（デスクトップでは非表示） ── */
.fp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.fp-hb-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}

.fp-hamburger.is-active .fp-hb-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.fp-hamburger.is-active .fp-hb-bar:nth-child(2) {
  opacity: 0;
}
.fp-hamburger.is-active .fp-hb-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── モバイルメニュードロワー ── */
.fp-mobile-menu {
  display: none;
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(246, 241, 232, .98);
  z-index: 99;
  overflow-y: auto;
}

.fp-mobile-menu.is-open {
  display: block;
}

.fp-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 0 40px;
}

.fp-mobile-menu-inner a {
  display: block;
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 1px solid rgba(21, 21, 21, .07);
}

.fp-mobile-menu-inner a:first-child {
  border-top: 1px solid rgba(21, 21, 21, .07);
}

/* ── Definition: explore-board を上書きして「この実験室」っぽく ── */
.definition .explore-board {
  margin-top: 40px;
}

/* ── Toolbox Pickup セクション ── */
.fp-toolbox-pickup {
  background: var(--deep);
  color: var(--white);
  padding: 96px 24px;
}

.fp-toolbox-pickup .section-label {
  color: var(--accent-light);
}

.fp-toolbox-pickup .section-title {
  color: var(--white);
}

.fp-toolbox-pickup .lead {
  color: rgba(251, 246, 236, .72);
}

.fp-tb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.fp-tb-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-tb-card--live {
  background: rgba(197, 164, 106, .10);
  border-color: rgba(197, 164, 106, .26);
}

.fp-tb-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-tb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent-light);
}

.fp-tb-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 999px;
  padding: 4px 10px;
}

.fp-tb-status--live {
  background: rgba(94, 122, 105, .6);
  color: var(--white);
}

.fp-tb-status--soon {
  background: rgba(255, 255, 255, .12);
  color: rgba(251, 246, 236, .6);
}

.fp-tb-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: var(--white);
  flex: 1;
}

.fp-tb-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(251, 246, 236, .60);
  line-height: 1.65;
}

.fp-tb-btn {
  display: inline-block;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 10px 18px;
  width: fit-content;
}

.fp-tb-btn--live {
  background: var(--accent);
  color: var(--deep);
}

.fp-tb-btn--soon {
  background: none;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(251, 246, 236, .45);
  cursor: default;
}

.fp-tb-footer {
  margin-top: 40px;
  text-align: center;
}

/* ── About CTA セクション（底部） ── */
.fp-about-cta {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 96px 24px;
}

.fp-about-cta .wrap {
  max-width: 860px;
  margin: 0 auto;
}

.fp-about-cta .section-title {
  margin: 16px 0 24px;
}

.fp-about-cta .lead {
  margin-bottom: 36px;
}

/* ── モバイル対応 ≤900px ── */
@media (max-width: 900px) {

  /* ハンバーガーボタンを表示 */
  .fp-hamburger {
    display: flex;
  }

  /* ヒーローのモバイルパディング削減 */
  .fp-hero-inner {
    padding-top: 44px;
    padding-bottom: 52px;
    min-height: unset;
  }

  /* ヒーロー3ボタンを縦並び */
  .fp-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Toolbox pickup: 1列 */
  .fp-tb-grid {
    grid-template-columns: 1fr;
  }

  /* About CTA padding */
  .fp-about-cta {
    padding: 64px 24px;
  }

  /* Toolbox pickup padding */
  .fp-toolbox-pickup {
    padding: 64px 24px;
  }
}

/* ≤640px: さらに小さい画面 */
@media (max-width: 640px) {
  .fp-hero-inner {
    padding-top: 36px;
    padding-bottom: 44px;
  }
}
