@charset "utf-8";

/* ---------------------------------------------------------------------------
   Redesign HR Forum 2026 — 土台
   色・文字・余白の定義と、要素の初期化だけを置く。
   値は Figma「9/22 修正版」から取った実測。
--------------------------------------------------------------------------- */

:root {
  /* 文字色 */
  --ink: #0f0915;
  --ink-plain: #000;
  --ink-soft: #626262;
  --muted: #89858e;
  --note: #727171;
  /* Figma の塗りの不透明度をそのまま持つ。見落とすと全体が濃くなる。 */
  --ink-soft-a: rgb(0 0 0 / 70%);   /* 補足文・所属・役職 */
  --card: rgb(255 255 255 / 80%);   /* カード・表の地 */
  --rule: rgb(0 0 0 / 10%);         /* 表の区切り */

  /* キーカラー */
  --blue: #2195fb;
  --cta: rgb(239 40 0 / 85%);
  --cta-edge: #ff5100;
  --ring: #f14826;
  --ring-soft: #f08d7a;

  /* 地の色 */
  --page: #f3f3f3;
  --sheet: #fff;
  --lavender: #e2e1fa;
  /* FVと KEYNOTE を覆う紗（Rectangle 3）。カードの藤色とは別の色。 */
  --hero-veil: #e4e1f2;
  --lavender-deep: #9390d4;
  --sky: #e5f3ff;
  --deep: #a4b9e8;
  --hairline: #dcd3e9;

  /* 版面。左右の余白は 430px で 20px、1440px で 120px。 */
  --gutter: clamp(20px, 1.98vw + 11.5px, 120px);
  --measure: 1200px;

  /* ファーストビューの水面の板が左右に詰まる量（scroll.js が書き換える） */
  --hero-inset: 0px;
  --hero-radius: 0px;

  /* 固定ヘッダーの高さ。ページ内リンクの着地位置に使う。 */
  --hud: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  /* Figma は和文を全角送りで組んでいる（palt を入れると1割詰まる）。 */
  text-size-adjust: 100%;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* 固定ヘッダーに頭を隠されないよう、ページ内リンクの着地点を下げる。 */
:target,
section[id],
div[id] {
  scroll-margin-top: calc(var(--hud) + 16px);
}

/* ---- 文字の型 ------------------------------------------------------------ */

.en {
  font-family: Montserrat, system-ui, sans-serif;
  font-feature-settings: normal;
}

/* セクションの英字ラベル（MESSAGE / TIME TABLE …） */
.eyebrow {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  /* Figma のセクションラベルは字間 12%（TIME TABLE と ABOUT だけ 8%）。 */
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: var(--blue);
}

.eyebrow--cta {
  color: var(--cta);
}

/* セクション見出し（当日のタイムテーブル／よくあるご質問 …） */
.section-title {
  margin-top: 12px;
  font-size: clamp(24px, 0.4vw + 22.3px, 28px);
  font-weight: 700;
  line-height: 1.6;
}

.section-head {
  text-align: center;
}

.section-lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}

/* ---- 申し込みボタン ------------------------------------------------------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;   /* 設計のボタンは 290x68 */
  min-height: 68px;
  padding: 0 40px;
  border-radius: 100px;
  background: var(--cta);
  box-shadow: inset 0 0 0 1px var(--cta-edge);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.cta:hover {
  background: #d92400;
  transform: translateY(-2px);
}

.cta--small {
  min-width: 142px;   /* 設計のヘッダーボタンは 142x44 */
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.cta-row {
  display: flex;
  justify-content: center;
}

/* ---- 表示アニメーション --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
