/* OTF 採用サイト — スタイル（心拍ゾーン軸）
   色は OKLCH。
   地は温かいオフホワイト。アクセントはOTF固有の5つの心拍ゾーン
   （Gray / Blue / Green / Orange / Red）。主役はオレンジ＝"Orange Zone"。
   内容は its-g 採用ページ（実データ）と Canva公式版（ブランド）を統合。 */

:root {
  /* 地・インク（オレンジ寄りに微着色した中立色） */
  --paper:    oklch(0.976 0.008 74);
  --paper-2:  oklch(0.948 0.010 72);
  --paper-3:  oklch(0.915 0.012 70);
  --ink:      oklch(0.22 0.014 55);
  --ink-2:    oklch(0.36 0.012 55);
  --ink-mut:  oklch(0.50 0.010 58);
  --line:     oklch(0.87 0.008 72);
  --line-2:   oklch(0.80 0.010 70);

  /* 心拍5ゾーン */
  --z-gray:   oklch(0.66 0.020 250);
  --z-blue:   oklch(0.60 0.120 245);
  --z-green:  oklch(0.66 0.140 150);
  --z-orange: oklch(0.66 0.195 45);
  --z-red:    oklch(0.56 0.200 25);

  --orange:      var(--z-orange);
  --orange-deep: oklch(0.53 0.170 40);
  --orange-soft: oklch(0.95 0.045 60);
  --green-deep:  oklch(0.45 0.130 150);
  --green-soft:  oklch(0.94 0.035 150);

  --font: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Barlow Condensed", "Noto Sans JP", sans-serif;

  /* 文字サイズの段（本文1remから約1.25倍刻み） */
  --text-sm: 0.9rem;
  --text-lg: clamp(1.25rem, 1.8vw, 1.4rem);
  --text-xl: clamp(1.8rem, 4vw, 2.7rem);
  --text-2xl: clamp(2.3rem, 4.8vw, 3.6rem);

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink);
  line-height: 1.8; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,p { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--z-orange); outline-offset: 3px; border-radius: 2px;
}
.btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.skip-link { position: fixed; top: 0.6rem; left: 0.6rem; z-index: 100;
  padding: 0.65rem 1rem; background: var(--paper); color: var(--ink); font-weight: 700;
  transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[id] { scroll-margin-top: 5.25rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.tint { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
/* 同じ地色の節が続くとき、余白が二重になって境目が消えるのを防ぐ */
.section.tint:has(+ .section.tint) { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.section.tint + .section.tint { padding-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }

/* 見出し */
.h2 { font-family: var(--font-head); font-size: var(--text-xl); font-weight: 900; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.26rem); line-height: 1.85; color: var(--ink-2); max-width: 62ch; font-weight: 400; }
.dark .lead { color: oklch(0.82 0.010 70); }
.section-title-space { margin-top: 1.1rem; }
.section-title-space-sm { margin-top: 0.8rem; }
.section-lead-space { margin-top: 1rem; }
/* .rule-zone の margin:0 に負けないよう2クラスで指定する */
.figures-rule.rule-zone { margin-top: 1.5rem; max-width: 280px; }

/* キッカー（英語大文字アイブロウの代わり：ゾーンの点＋短い和文） */
.kicker { display: inline-flex; align-items: center; gap: 0.5em; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; color: var(--ink-mut); letter-spacing: 0.02em; }
.kicker .zdot { width: 11px; height: 11px; border-radius: 50%; background: var(--z-orange); }

/* ゾーン・スペクトル（このサイトの通し記号） */
.zonebar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; }
.zonebar i { display: block; }
.zonebar .g { flex: 1;   background: var(--z-gray); }
.zonebar .b { flex: 1;   background: var(--z-blue); }
.zonebar .n { flex: 1.3; background: var(--z-green); }
.zonebar .o { flex: 1.6; background: var(--z-orange); }
.zonebar .r { flex: 1;   background: var(--z-red); }
.rule-zone { border: 0; height: 6px; border-radius: 999px; margin: 0;
  background: linear-gradient(90deg,
    var(--z-gray) 0 16%, var(--z-blue) 16% 34%,
    var(--z-green) 34% 56%, var(--z-orange) 56% 84%, var(--z-red) 84% 100%); }

/* ボタン（ピルをやめ、角を絞った編集的な形） */
.btn { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.5em; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer;
  min-height: 44px; justify-content: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--z-orange); color: oklch(0.19 0.01 50); }
.btn--primary:hover { background: var(--orange-deep); color: var(--paper); }
.btn--outline { border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--onink { background: var(--z-orange); color: oklch(0.19 0.01 50); }
.btn--onink:hover { background: var(--paper); }
.btn--lg { font-size: 1.05rem; padding: 0.95em 1.9em; }

/* ヘッダー */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 1.05rem var(--gutter);
  transition: background-color 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
/* 写真の上でロゴ・ナビを読ませる上部スクリム。スクロール後は消す */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.16 0.02 45 / 0.5), transparent); transition: opacity 0.3s; }
.site-header.scrolled, .site-header--solid { background: var(--paper); border-bottom-color: var(--line); }
.site-header.scrolled::before, .site-header--solid::before { opacity: 0; }
/* 既定（写真の上）は白系、スクロール後は黒系 */
.brand { display: flex; align-items: center; gap: 0.65rem; min-height: 44px; color: oklch(0.99 0.004 75); font-weight: 700; }
.brand img { height: 26px; width: auto; }
.brand small { display: block; font-family: var(--font-num); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; color: oklch(0.85 0.01 70); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: oklch(0.92 0.008 75); font-size: 0.92rem; font-weight: 600; transition: color 0.15s; }
.nav a:hover { color: oklch(1 0 0); }
.nav .nav-cta { padding: 0.6em 1.1em; color: oklch(0.19 0.01 50); }
/* 901〜1100px：CTA文言が長くなったため、ナビを詰めて1行に収める */
.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: 0.84rem; }
  .nav .nav-cta { padding: 0.6em 0.9em; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .nav { gap: 0.8rem; }
  .nav a { font-size: 0.8rem; }
}
.site-header.scrolled .brand, .site-header--solid .brand { color: var(--ink); }
.site-header.scrolled .brand small, .site-header--solid .brand small { color: var(--ink-mut); }
.site-header.scrolled .nav a, .site-header--solid .nav a { color: var(--ink-2); }
.site-header.scrolled .nav a:hover, .site-header--solid .nav a:hover { color: var(--z-orange); }
.site-header.scrolled .nav .nav-cta, .site-header--solid .nav .nav-cta { color: oklch(0.19 0.01 50); }
.site-header.scrolled .nav .nav-cta:hover, .site-header--solid .nav .nav-cta:hover { color: var(--paper); }
.menu-toggle { display: none; }

/* ヒーロー（写真を主役にした、率直な採用訴求） */
.hero { position: relative; min-height: min(90vh, 780px); display: flex; align-items: center;
  overflow: hidden; padding: 6.5rem 0 3.5rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(0.13 0.015 45 / 0.88) 0%, oklch(0.13 0.015 45 / 0.6) 42%, oklch(0.13 0.015 45 / 0.08) 76%); }
.hero .wrap { position: relative; z-index: 1; }

/* 告知バナー（FV直下） */
.hero-banner { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-banner a { display: block; line-height: 0; border-radius: 12px; overflow: hidden; transition: opacity 0.2s ease; }
.hero-banner a:hover, .hero-banner a:focus-visible { opacity: 0.8; }
.hero-banner img { display: block; width: 100%; height: auto; }
.hero-copy { max-width: 42rem; color: white; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.1rem, 4.3vw, 3.1rem); font-weight: 900; line-height: 1.16; letter-spacing: -0.02em;
  text-wrap: balance; }
.hero-catch { margin-top: 1.3rem; font-family: var(--font-head); font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; }
.hero-catch .zone { color: var(--z-orange); white-space: nowrap; }
.hero-sub { margin-top: 1.4rem; }
.hero-copy .hero-sub { color: oklch(0.94 0.006 70); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-copy .btn--outline { border-color: oklch(0.9 0.005 70 / 0.7); color: white; }
.hero-copy .btn--outline:hover { border-color: white; background: oklch(1 0 0 / 0.08); }
.hero-badge { margin-bottom: 1rem; color: var(--z-orange);
  font-family: var(--font-head); font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 900; letter-spacing: 0.04em; }
/* OTF独自のコンセプトと心拍ゾーン */
.concept .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.concept-copy .lead { max-width: 48ch; }
.zonescale { min-width: 0; }
.zonescale-title { margin-bottom: 0.75rem; font-size: var(--text-sm); font-weight: 700; color: var(--ink-mut); }
.zonescale .track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.zonescale .z { padding: 0.9rem 1rem 1rem; position: relative; background: var(--paper); }
.zonescale .z::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.zonescale .z.g::before { background: var(--z-gray); }
.zonescale .z.b::before { background: var(--z-blue); }
.zonescale .z.n::before { background: var(--z-green); }
.zonescale .z.o::before { background: var(--z-orange); }
.zonescale .z.r::before { background: var(--z-red); }
.zonescale .z + .z { border-left: 1px solid var(--line); }
.zonescale .zname { font-family: var(--font-num); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; margin-top: 0.35rem; }
.zonescale .zpct { font-family: var(--font-num); font-weight: 500; font-size: 0.9rem; color: var(--ink-mut); font-variant-numeric: tabular-nums; }
.zonescale .z.o { background: var(--orange-soft); }
.zonescale .z.o .zname { color: var(--orange-deep); }
/* 注記はセルの中に重ねず、帯の下でOrangeの列に合わせて置く */
.zonescale-note { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 0.5rem; }
.zonescale-note span { grid-column: 4 / -1; display: inline-flex; align-items: center; gap: 0.3em;
  padding-left: 1rem; font-size: 0.82rem; font-weight: 700; line-height: 1.4;
  color: var(--orange-deep); white-space: nowrap; }
.zonescale-note span::before { content: "↑"; font-size: 0.95em; }
.zonescale .cap { margin-top: 0.9rem; font-size: 0.95rem; color: var(--ink-mut); }

/* 全米No.1のPOP画像（クライアント支給） */
.award-img { margin: 0; justify-self: center; }
.award-img img { width: min(100%, 478px); height: auto; }

/* 数字（実績）— タイル格子にせず、見出しと本文に織り込む */

/* この仕事の意味 + Instagramの動画 */
.voice .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.voice-copy { max-width: 34rem; }
.voice-note { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line-2); color: var(--ink-mut); font-size: 0.95rem; }
/* 埋め込みスクリプトは使わない。どの環境でも同じ見え方にするため静止画で置く */
.reel { margin: 0; width: 100%; max-width: 340px; min-width: 0; justify-self: end; }
/* Instagram公式埋め込み（embed.jsがiframeへ変換する）。列幅に収める */
.reel .instagram-media { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.reel-link { display: block; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 12px; transition: border-color 0.25s; }
.reel-link img { width: 100%; height: auto; }
.reel-cta { display: flex; align-items: center; justify-content: center; gap: 0.45em;
  min-height: 48px; padding: 0.7rem 1rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; font-weight: 700; color: var(--orange-deep);
  transition: background-color 0.25s, color 0.25s; }
.reel-cta::after { content: "↗"; font-weight: 400; }
.reel-link:hover { border-color: var(--orange-deep); }
.reel-link:hover .reel-cta { background: var(--orange-deep); color: var(--paper); }

/* 働く環境・福利厚生 */
.env-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4.5vw, 3.8rem); }
/* 制度カードはコーチ・店舗スタッフの両方にかかるため、2職種のカードの下に全幅で置く */
.env-layout { display: grid; gap: 1.2rem; }
.env-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.env-role { padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.3rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; }
.env-role h3 { display: flex; align-items: center; gap: 0.55em; font-size: var(--text-lg); font-weight: 700; line-height: 1.4; }
.env-role h3::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--z-orange); }
.env-role--staff h3::before { background: var(--z-green); }
.env-role p { margin-top: 0.5rem; max-width: 40em; color: var(--ink-2); font-size: 1rem; }
.env-role a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.2rem; font-size: 0.95rem; font-weight: 700; color: var(--orange-deep); }
.env-role--staff a { color: var(--green-deep); }
.env-role a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.env-support { padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; }
.env-support-label { color: var(--orange-deep); font-size: var(--text-sm); font-weight: 700; }
.env-support h3 { margin-top: 0.35rem; font-size: var(--text-lg); line-height: 1.45; }
.env-support ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 2.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.env-support li { position: relative; padding-left: 1.15rem; color: var(--ink-2); font-size: 0.95rem; }
.env-support li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--z-orange); }

/* 募集要項（求人カード） */
.jobs-head { margin-bottom: 2.2rem; }
.role-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1.4rem; }
.role-switch__item { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; min-height: 100px; padding: 1.1rem clamp(1.2rem, 3vw, 2rem); align-content: center;
  border-radius: 16px; border: 1.5px solid transparent; box-shadow: 0 1px 3px oklch(0.2 0.02 50 / 0.08); transition: background-color 0.2s, border-color 0.2s, transform 0.15s ease, box-shadow 0.2s ease; }
.role-switch__item:hover, .role-switch__item:focus-visible, .role-switch__item:active { transform: translateY(-2px); box-shadow: 0 10px 22px oklch(0.2 0.02 50 / 0.16); }
.role-switch__item--coach { background: var(--orange-soft); border-color: color-mix(in oklch, var(--z-orange) 40%, transparent); }
.role-switch__item--staff { background: var(--green-soft); border-color: color-mix(in oklch, var(--z-green) 40%, transparent); }
.role-switch__item--coach:hover { background: color-mix(in oklch, var(--orange-soft) 82%, var(--z-orange)); }
.role-switch__item--staff:hover { background: color-mix(in oklch, var(--green-soft) 82%, var(--z-green)); }
.role-switch__type { grid-column: 1; font-size: var(--text-sm); font-weight: 700; }
.role-switch__item--coach .role-switch__type { color: var(--orange-deep); }
.role-switch__item--staff .role-switch__type { color: var(--green-deep); }
.role-switch__item strong { grid-column: 1; font-size: var(--text-lg); line-height: 1.3; color: var(--ink); }
.role-switch__item > span:last-of-type { grid-column: 1; color: var(--ink-2); font-size: 0.82rem; }
.role-switch__item i { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: center;
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--paper); font-style: normal; font-size: 1.05rem; flex: none; }
.role-switch__item--coach i { background: var(--z-orange); }
.role-switch__item--staff i { background: var(--z-green); }
.job-card { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--paper); }
.job-card + .job-card { margin-top: 1.4rem; }
.job-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; padding: 1.4rem clamp(1.3rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); }
.job-card--coach .job-card__head { background: var(--orange-soft); }
.job-card--staff .job-card__head { background: var(--green-soft); }
.job-card__head .zmk { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.job-card--coach .zmk { background: var(--z-orange); }
.job-card--staff .zmk { background: var(--z-green); }
.job-title span { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--ink-mut); }
.job-title h3 { margin-top: 0.1rem; font-size: clamp(1.35rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.job-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-left: auto; }
.tag { font-size: 0.84rem; font-weight: 700; padding: 0.28em 0.7em; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-2); }
.job-card__head .tag { color: var(--ink); }
/* 区切り線は1pxのgapで引く。全幅の項目が混ざっても列位置とずれない */
.job-card__body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--line); }
.spec { padding: 1.2rem clamp(1.3rem, 3vw, 2.2rem); background: var(--paper); }
.spec dt { font-size: var(--text-sm); font-weight: 700; color: var(--ink-mut); }
.spec dd { margin: 0.45rem 0 0; max-width: 34em; font-size: 1rem; }
.spec--full { grid-column: 1 / -1; }
.spec ul { margin: 0.45rem 0 0; padding-left: 1.15em; }
.spec .note { display: block; margin-top: 0.4rem; font-size: 0.95rem; color: var(--ink-mut); }
.pref-list { max-width: none; }
.pref-group { margin-top: 0.5rem; }
.pref-group:first-child { margin-top: 0; }
.pref-group strong { display: block; font-weight: 700; }
.pref-group span { display: block; padding-left: 1em; color: var(--ink-2); }
/* 募集要項カードの中に移動した「オレンジセオリーでの仕事」ブロック */
.job-voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 0.5fr); gap: clamp(1.4rem, 4vw, 2.4rem); align-items: center;
  padding: 1.4rem clamp(1.3rem, 3vw, 2.2rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.job-voice .voice-copy { max-width: none; }
.job-voice h4 { font-family: var(--font-head); font-size: var(--text-lg); font-weight: 900; line-height: 1.25; margin: 0.3rem 0 0.6rem; }
.job-voice .lead { font-size: 0.98rem; }
/* 画像/埋め込みの箱を列幅ぴったりに合わせる。固定max-widthを列幅より狭く設定すると、
   justify-self:endで右に寄った箱の左側（モバイルではstartで右側）に余白ができるため、
   stretchで列幅いっぱいに広げて余白そのものをなくす */
.job-voice .reel { max-width: 100%; justify-self: stretch; }
.voice-arrow::before { content: "▶"; }
@media (max-width: 900px) {
  .voice-arrow::before { content: "▼"; }
}
.step-note { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-mut); }
.benefits-note { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink-mut); }
.job-card__foot { padding: 1.3rem clamp(1.3rem, 3vw, 2.2rem); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: flex-end; background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-a a { text-decoration: underline; text-underline-offset: 0.2em; }

/* 選考フロー */
.flow-intro { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.step { position: relative; min-width: 0; padding: 0 0.5rem; text-align: center; }
/* 連結線は自分の丸の右端から次の丸の左端まで。矢印はその終点に置く */
.step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: calc(1.4rem - 1px); left: calc(50% + 1.65rem); width: calc(100% - 1.95rem); height: 2px; background: var(--line-2); }
.step:not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: calc(1.4rem - 5px); right: calc(-50% + 0.3rem); width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--line-2); }
.step .z { position: relative; z-index: 2; width: 2.8rem; height: 2.8rem; margin: 0 auto 1rem; border: 6px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.step .z--gray { background: var(--z-gray); }
.step .z--blue { background: var(--z-blue); }
.step .z--green { background: var(--z-green); }
.step .z--orange { background: var(--z-orange); }
.step h3 { font-size: var(--text-lg); font-weight: 700; }
.step p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--ink-2); text-wrap: balance; }

/* FAQ */
.faq-list { max-width: 820px; margin-top: 1.8rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; gap: 0.9rem; align-items: baseline; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--ink-mut); font-size: 1.35rem; transition: transform 0.3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.3rem; color: var(--ink-2); font-size: 1rem; }

/* 最終CTA（暗い面は主張のためここ1箇所だけ） */
.cta { text-align: center; }
.cta .zonebar { max-width: 260px; margin: 0 auto 1.8rem; height: 6px; }
.cta h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.cta p { margin: 1.2rem auto 0; max-width: 48ch; color: oklch(0.82 0.010 70); }
.cta-actions { margin-top: 2.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }
.nowrap { white-space: nowrap; }

/* フッター */
.site-footer { background: var(--paper-2); color: var(--ink-mut); padding-block: 3.2rem 2.2rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2.4rem; justify-content: space-between; }
.footer-company { color: var(--ink); font-size: 1.02rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-co p { font-size: 0.95rem; line-height: 1.7; }
.footer-nav { display: flex; gap: 1rem 3.4rem; flex-wrap: wrap; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; align-content: start; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; } .footer-nav a:hover { color: var(--orange-deep); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.88rem; }

/* 下部固定の応募バー（900px以下でのみ出す） */
.mobile-cta { display: none; }

/* 演出は最小限。非表示状態は一切作らない（どの環境でも本文が確実に見える）。 */

/* レスポンシブ */
@media (max-width: 900px) {
  .hero { min-height: 82vh; padding: 6rem 0 3rem; }
  .hero-bg img { object-position: 66% center; }
  .hero-copy { max-width: 36rem; }
  .concept .wrap { grid-template-columns: 1fr; }
  .job-voice { grid-template-columns: 1fr; }
  .reel { justify-self: start; }
  .job-voice .reel { justify-self: stretch; max-width: 100%; }
  .env-roles, .env-support ul { grid-template-columns: 1fr; }
  /* ヘッダーのナビが消えるぶん、応募導線を画面下に常設する */
  body { padding-bottom: 5.5rem; }
  .mobile-cta { position: fixed; z-index: 30; inset: auto 0 0 0;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 0.6rem;
    padding: 0.7rem var(--gutter);
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-2); }
  .mobile-cta .btn { width: 100%; font-size: 0.95rem; padding: 0.7em 1em; }
  body.menu-open .mobile-cta { display: none; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after, .step:nth-child(2)::before { display: none; }
  .step:nth-child(n+3) { margin-top: 2.2rem; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    position: relative; z-index: 50; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.4rem; }
  .menu-toggle span { width: 26px; height: 2px; background: oklch(0.98 0.005 75); display: block;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease; }
  .site-header.scrolled .menu-toggle span, .site-header--solid .menu-toggle span { background: var(--ink); }
  /* メニューを開いたら常に濃色＋ハンバーガー→バツに変形（開いた状態は常に紙色の全画面オーバーレイの上に乗るため） */
  .menu-toggle[aria-expanded="true"] span { background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  @keyframes navFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .nav.open { display: flex; position: fixed; inset: 0; background: var(--paper); flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; z-index: 40; overflow-y: auto;
    animation: navFadeIn 0.25s ease; }
  /* 開いた状態のオーバーレイは常に紙色背景なので、非スクロール時の薄い文字色を上書きして視認性を確保 */
  .nav.open a { font-size: 1.25rem; color: var(--ink-2); }
  .nav.open a:hover { color: var(--z-orange); }
  .nav.open .nav-cta { color: oklch(0.19 0.01 50); }
}
@media (max-width: 620px) {
  .hero-bg::after { background: oklch(0.13 0.015 45 / 0.72); }
  .hero-catch .zone { white-space: normal; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .zonescale .track { grid-template-columns: repeat(5, 1fr); }
  .zonescale .z { padding: 0.8rem 0.35rem 0.75rem; min-width: 0; }
  .zonescale .zname { font-size: 0.9rem; }
  .zonescale .zpct { font-size: 0.78rem; white-space: nowrap; }
  .zonescale-note { display: block; margin-top: 0.4rem; }
  .zonescale-note span { padding-left: 0; white-space: normal; }
  .role-switch { grid-template-columns: 1fr; }
  .job-card__body { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding: 0 0 2rem; text-align: left; }
  .step:nth-child(n+3) { margin-top: 0; }
  .step .z { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .step:not(:last-child)::after { display: block; top: 2.8rem; left: 1.38rem; width: 1px; height: calc(100% - 2.8rem); }
  .step:not(:last-child)::before { display: none; }
  .job-card__foot .btn { width: 100%; }
  .cta-actions { display: grid; }
  .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 応募フォーム（apply.html） */
.page-main { padding-top: 7.5rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.apply-form { display: grid; gap: 1.9rem; max-width: 640px; margin-top: clamp(2rem, 4vw, 3rem); }
.form-field { display: grid; gap: 0.45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-field legend { float: left; width: 100%; padding: 0; }
.form-label { display: flex; align-items: center; gap: 0.6em; font-weight: 700; font-size: 0.98rem; }
.req, .opt { flex: none; font-size: 0.74rem; font-weight: 700; padding: 0.18em 0.65em; border-radius: 4px; }
.req { background: var(--orange-soft); color: var(--orange-deep); }
.opt { background: var(--paper-3); color: var(--ink-2); }
.form-hint { font-size: 0.85rem; font-weight: 400; color: var(--ink-mut); }
.form-input { width: 100%; padding: 0.7em 0.9em; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; }
.form-input::placeholder { color: oklch(0.68 0.01 60); }
.form-input:focus-visible { outline: 2px solid var(--z-orange); outline-offset: 1px; border-color: var(--z-orange); }
.form-input--sm { max-width: 8.5rem; }
textarea.form-input { min-height: 9em; resize: vertical; }
.form-unit { display: flex; align-items: center; gap: 0.6em; }
.form-file { font-size: 0.95rem; }
.form-file::file-selector-button { margin-right: 1em; padding: 0.55em 1.1em; font: inherit; font-weight: 700;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.form-file::file-selector-button:hover { border-color: var(--ink); }
.choice-list { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.choice-list--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5em, 1fr)); gap: 0 1rem; }
.choice-list-group { grid-column: 1 / -1; margin: 0.9em 0 0.2em; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.choice-list-group:first-child { margin-top: 0; }
.choice { display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; font-size: 0.98rem; cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--z-orange); }
.form-consent { padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.form-actions { display: grid; gap: 1rem; justify-items: start; }
.form-sent { display: none; padding: 0.9rem 1.2rem; background: var(--green-soft); color: var(--green-deep);
  border-radius: 8px; font-size: 0.95rem; font-weight: 700; }
.form-sent.show { display: block; }
@media (max-width: 620px) {
  .form-actions .btn { width: 100%; }
}
.field-error { display: none; margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--z-red); }
.form-field.has-error .field-error { display: block; }
.form-field.has-error .form-label { color: var(--z-red); }
.form-field.has-error .form-input,
.form-field.has-error .form-file { border-color: var(--z-red); }
.form-field.has-error .form-file::file-selector-button { border-color: var(--z-red); }
.form-field.has-error .choice input { accent-color: var(--z-red); }
