/* ========================================================================
   lower.css — 下層ページ共通コンポーネント
   採用サイトのダークテーマ（style.css の :root トークン）を前提に、
   下層ページで使うコンポーネントを定義する。
   使用例は template.html を参照。
======================================================================== */

/* ------------------------------------------------------------------
   追加デザイントークン（セクションアクセント色・角丸・余白）
------------------------------------------------------------------ */
/* カラー・角丸などサイト共通トークンは style.css の :root が正本。
   ここには下層ページ専用のレイアウトトークンだけを置く。 */
:root {
  --container:  1440px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(3.5rem, 8vw, 7rem);
}

/* ------------------------------------------------------------------
   レイアウト土台
------------------------------------------------------------------ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
}
.section--surface { background: var(--surface); }

/* スクロールイン演出フック。
   非表示状態は CSS ではなく JS 側（gsap.set）が直前に付与する（main.js の
   .interview-card と同じ方式）。CSS で既定 opacity:0 にすると、GSAP の
   読み込みに失敗した場合コンテンツが永久に非表示になるため避ける。 */
.fade-in.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ========================================================================
   01. 見出し / HEADINGS
======================================================================== */
.h-hero {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}
.h-hero .accent { color: var(--accent); }

.h-section {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.h-sub {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}
.h-4 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 500; color: var(--text); }
.h-5 { font-size: 1rem;   font-weight: 500; color: var(--text); }
.h-caption {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* セクション見出し（英字ラベル＋日本語サブ） */
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head__en {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
}
.section-head__en::before {
  content: '';
  width: 1.75rem;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.section-head__ja {
  display: block;
  margin-top: 0.75rem;
  padding-left: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.section-head--blue   .section-head__en::before { background: var(--blue); }
.section-head--teal   .section-head__en::before { background: var(--teal); }
.section-head--purple .section-head__en::before { background: var(--purple); }
.section-head--red    .section-head__en::before { background: var(--red); }

/* ========================================================================
   HERO（内ページ共通ヒーロー）
   カラー面 + 右側に斜めクリップの写真。ページごとに色バリアント。
======================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  /* 固定ヘッダーの下に隠れないよう、セクション全体をヘッダー分だけ下げる */
  margin-top: var(--header-h);
}
/* --blue は既定値と同じだが、他の色バリアントと名前を揃えて明示的に指定できるようにする */
.page-hero--blue    { background: var(--blue); }
.page-hero--teal    { background: var(--teal); }
.page-hero--purple  { background: var(--purple); }
.page-hero--red     { background: var(--red); }

.page-hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.35) brightness(0.6);
  mix-blend-mode: luminosity;
}
.page-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--blue) 72%, transparent) 0%,
    color-mix(in srgb, var(--blue) 45%, transparent) 100%);
}
.page-hero--teal .page-hero__photo::after {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--teal) 72%, transparent) 0%,
    color-mix(in srgb, var(--teal) 45%, transparent) 100%);
}
.page-hero--purple .page-hero__photo::after {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--purple) 72%, transparent) 0%,
    color-mix(in srgb, var(--purple) 45%, transparent) 100%);
}
.page-hero--red .page-hero__photo::after {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--red) 72%, transparent) 0%,
    color-mix(in srgb, var(--red) 45%, transparent) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.page-hero__title {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 1rem;
}
.page-hero__sub {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--white);
}
.page-hero__desc {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
}

/* 写真主体の詳細ページ用（職種詳細など）: 暗いスクリム + 白文字 */
.page-hero--photo { background: var(--bg); }
.page-hero--photo .page-hero__photo {
  width: 100%;
  clip-path: none;
}
.page-hero--photo .page-hero__photo img {
  filter: none;
  mix-blend-mode: normal;
}
.page-hero--photo .page-hero__photo::after {
  background: linear-gradient(90deg, rgba(20,19,17,0.92) 0%, rgba(20,19,17,0.6) 55%, rgba(20,19,17,0.35) 100%);
}

/* 写真なし（プレーン）タイプ: 色面のみ。.page-hero__photo を置かないページで使う */
.page-hero--plain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
          mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}

/* ========================================================================
   02. ボタン / BUTTONS
   ベースの .btn / .btn-pill / .btn-lg / .btn-arrow は style.css を利用。
   ここでは色・形のバリアントを追加する。
======================================================================== */
/* 色バリアント。ベースの .btn / .btn-pill / .btn-lg / .btn-accent / .btn-white /
   .btn-dark は style.css（common）側が正本。ここは下層で使う追加バリアントのみ。
   命名はサイト全体の単ハイフン（.btn-xxx）に統一する。 */
.btn-blue   { background: var(--blue);   color: #fff; }
.btn-teal   { background: var(--teal);   color: #10312e; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-red    { background: var(--red);    color: #fff; }
.btn-blue:hover, .btn-teal:hover, .btn-purple:hover, .btn-red:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* テキストリンク型（tertiary） */
.btn-text {
  background: none;
  padding: 0;
  color: var(--blue);
  font-weight: 500;
}
.btn-text:hover { transform: none; box-shadow: none; opacity: 0.8; }

.btn-sm { font-size: 0.78rem; padding: 0.5rem 1.1rem; }

/* アイコンボタン（円形） */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-icon:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-icon-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-icon-outline:hover { border-color: var(--text); }

/* ========================================================================
   03. タグ・ラベル / TAGS & LABELS
======================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
a.tag:hover, .tag.is-active {
  color: var(--text);
  border-color: var(--text);
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}
.label--new       { background: var(--red); }
.label--recruiting{ background: var(--teal); color: #10312e; }
.label--pickup    { background: var(--purple); }
.label--closed    { background: var(--border); color: var(--text); }

.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ステップ（簡易）: エントリー → 面接 → 内定 */
.stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  text-align: center;
}
.stepper__dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}
.stepper__step--active .stepper__dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper__label { font-size: 0.78rem; color: var(--muted); }
.stepper__step--active .stepper__label { color: var(--text); }
.stepper__bar {
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
  margin-top: 1rem;
  min-width: 1.5rem;
}

/* ========================================================================
   04. カード / CARD
======================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
/* パソコン幅では、カードサイズを画面幅で伸縮させず「4列時のサイズ」に固定する。
   auto-fill + 固定トラック幅なので、画面が狭ければ列数の方が減る（カード自体は縮まない）。
   19.75rem は 1440px リファレンス幅・4列・gap 24px（スクロールバー分の余裕込み）から逆算した値。 */
@media (min-width: 1025px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, 19.75rem);
  }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
/* セクション背景とカード背景を必ず反転させ、どのセクションでもカードが浮くようにする */
.section--surface .card { background: var(--bg); }
.section--surface .accordion__item { background: var(--bg); }
a.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.card:hover .card__img img { transform: scale(1.05); }
.card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card__title { font-size: 1.05rem; font-weight: 500; color: var(--text); }
.card__text  { font-size: 0.85rem; line-height: 1.8; color: var(--text); flex: 1; }
.card__link  { font-size: 0.85rem; color: var(--blue); display: inline-flex; gap: 0.4rem; }

/* カード（アイコン版）— 写真素材がない項目一覧用。.card__img の代わりに .card__icon を使う */
.card--icon .card__body { padding-top: clamp(1.5rem, 2.5vw, 2rem); }
/* アイコンの配色に合わせた左辺の細いアクセントライン（info-box と同じ左辺ボーダーの文法で統一） */
.card--icon { border-left: 3px solid var(--blue); }
.card--icon:has(.card__icon--teal)   { border-left-color: var(--teal); }
.card--icon:has(.card__icon--purple) { border-left-color: var(--purple); }
.card__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
/* セクションのアクセント色に合わせて配色を変える場合 */
.card__icon--teal   { background: var(--teal); color: #10312e; }
.card__icon--purple { background: var(--purple); color: #fff; }

/* ========================================================================
   05. テーブル / TABLE
======================================================================== */
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 32rem;
}
.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.data-table thead th:first-child { border-top-left-radius: var(--radius-sm); }
.data-table thead th:last-child  { border-top-right-radius: var(--radius-sm); }
.data-table tbody tr { background: var(--surface); }
.data-table tbody td { border-bottom: 1px solid var(--border); color: var(--text); }
.data-table tbody td:first-child { color: var(--muted); font-weight: 500; white-space: nowrap; }

/* 定義リスト型（職種詳細の 雇用形態/勤務地 など） */
.def-list { border-top: 1px solid var(--border); }
.def-list__row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  border-bottom: 1px solid var(--border);
}
.def-list__row dt { color: var(--muted); font-weight: 500; }
.def-list__row dd { color: var(--text); }
@media (max-width: 640px) {
  .def-list__row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* def-list の拡張パーツ（会社概要など、1セル内が複雑になる場合に使う） */

/* 1セル内に複数の項目を縦に並べる（役員一覧など） */
.def-list__items { display: grid; row-gap: 0.9em; }
.def-list__item { display: flex; flex-wrap: wrap; column-gap: 1.5em; }
.def-list__item-label { flex: 0 0 9em; color: var(--text); }

/* 1セル内で「グループ見出し＋箇条書き」を左右2列に並べる（事業内容など）。
   グループごとに高さが違っても列内で詰めて積みたいので、列ラッパー(-col)を挟む。 */
.def-list__groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
}
.def-list__groups-col { display: grid; row-gap: 1.25rem; align-content: start; min-width: 0; }
.def-list__group-title { font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.def-list__group-list { display: flex; flex-direction: column; gap: 0.3rem; }
.def-list__group-list li {
  position: relative;
  padding-left: 1em;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.8;
}
.def-list__group-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--teal);
}
@media (max-width: 640px) {
  .def-list__groups { grid-template-columns: 1fr; row-gap: 1.25rem; }
}

/* モバイル幅でのみ改行させる汎用ユーティリティ（住所の郵便番号と番地の間など） */
.u-break-mobile { display: none; }
@media (max-width: 640px) {
  .u-break-mobile { display: inline; }
}

/* ========================================================================
   05b. シンプルリスト / SIMPLE LIST
   見出し（長文可）＋本文が縦に並ぶ、装飾を抑えたリスト。
   個人情報保護方針など、規約・法務系の項目一覧に使う（アイコンや番号バッジのような
   装飾は付けない。def-list は見出しが短い名称・値ペア用、simple-list は見出しが
   文章になる場合用、と使い分ける）。
======================================================================== */
.simple-list { border-top: 1px solid var(--border); }
.simple-list__item { padding: 1.25rem 0.25rem; border-bottom: 1px solid var(--border); }
.simple-list__num { color: var(--muted); font-weight: 500; margin-right: 0.4em; }
.simple-list__title { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.simple-list__text { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.9; color: var(--text); }

/* ========================================================================
   06. リスト / LIST
======================================================================== */
.check-list { display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.check-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.icon-list { display: flex; flex-direction: column; gap: 0.85rem; }
.icon-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.icon-list__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--purple);
}
.icon-list__icon svg { width: 100%; height: 100%; }

/* ========================================================================
   07. アコーディオン / ACCORDION（FAQ）
======================================================================== */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.accordion__head::after {
  content: '';
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s ease;
}
.accordion__item.is-open .accordion__head {
  background: var(--blue);
  color: #fff;
}
.accordion--teal   .accordion__item.is-open .accordion__head { background: var(--teal); }
.accordion--purple .accordion__item.is-open .accordion__head { background: var(--purple); }
.accordion--red    .accordion__item.is-open .accordion__head { background: var(--red); }
.accordion__item.is-open .accordion__head::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.accordion__item.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__body-inner { overflow: hidden; }
.accordion__body p {
  padding: 1.1rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text);
}

/* 本文用の .accordion__body p ではなく構造化コンテンツ（def-list等）を入れる場合は、.accordion__body-inner
   自体にはpadding/borderを付けず、中の要素（.def-list / .btn）側に持たせる。付けると閉じていてもその分の
   最小サイズが残って中身が漏れて見えるため。 */
.accordion__title { flex: 1; }
@media (max-width: 768px) {
  .accordion__head { padding: 1.1rem; }
  .accordion__head .label { font-size: 0.6rem; }
}
.accordion__body .def-list { padding: 0 1.5rem; margin-bottom: 1.5rem; }
.accordion__body .btn { display: flex; width: fit-content; margin: 0 auto 1.75rem; }
/* 見出しに .label--closed（応募停止）があるアイテムは、エントリーボタンを常にマークアップしてよい。
   表示/非表示はここで自動判定するので、CMS側でボタンの出し分けを実装する必要はない。 */
.accordion__item:has(.label--closed) .btn { display: none; }

/* ========================================================================
   08. タブ / TABS + ニュースリスト
======================================================================== */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.tabs__btn {
  padding: 0.6rem 0.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tabs__btn.is-active { color: var(--text); border-color: var(--accent); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

.news-list { display: flex; flex-direction: column; }
.news-list__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
a.news-list__item:hover { background: rgba(255,255,255,0.03); }
.news-list__date {
  flex: 0 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
.news-list__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}
.news-list__arrow { flex: 0 0 auto; color: var(--muted); }

/* ========================================================================
   09. パンくずリスト / BREADCRUMB
======================================================================== */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.breadcrumb__item { color: rgba(255,255,255,0.7); }
.breadcrumb__item[aria-current="page"] { color: #fff; font-weight: 500; }
.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin-right: 0.5rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb__link:hover { color: #fff; text-decoration: underline; }
/* ダーク背景（写真なし）で使う場合 */
.breadcrumb--dark .breadcrumb__item { color: var(--muted); }
.breadcrumb--dark .breadcrumb__item[aria-current="page"] { color: var(--text); }
.breadcrumb--dark .breadcrumb__item + .breadcrumb__item::before { color: var(--border); }

/* ========================================================================
   10. ページネーション / PAGINATION
======================================================================== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
}
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pagination__link:hover { border-color: var(--text); }
.pagination__link.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pagination__ellipsis { color: var(--muted); padding: 0 0.25rem; }

/* ========================================================================
   11. その他の要素 / OTHER ELEMENTS
======================================================================== */
/* 区切り線 */
.divider { height: 1px; background: var(--border); border: 0; }
.divider--accent {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* 引用 */
.blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.9;
}
.blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}

/* インフォメーションボックス */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
}
.info-box__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
}
.info-box__icon svg { width: 100%; height: 100%; }
.info-box--info    { border-left-color: var(--blue); }
.info-box--info    .info-box__icon { color: var(--blue); }
.info-box--success { border-left-color: var(--teal); }
.info-box--success .info-box__icon { color: var(--teal); }
.info-box--note    { border-left-color: var(--purple); }
.info-box--note    .info-box__icon { color: var(--purple); }

/* プログレスバー（選考ステップ・チェック付き） */
.progress { display: flex; align-items: center; }
.progress__step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.progress__dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
}
.progress__step--done .progress__dot,
.progress__step--current .progress__dot {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
  border-color: var(--blue);
}
.progress__label { font-size: 0.75rem; color: var(--muted); }
.progress__step--done .progress__label,
.progress__step--current .progress__label { color: var(--text); }
.progress__bar { flex: 1 1 auto; height: 2px; background: var(--border); margin: 0 0.25rem; margin-bottom: 1.5rem; }
.progress__bar--done { background: var(--blue); }

/* スキルバー */
.skill { display: flex; flex-direction: column; gap: 0.4rem; }
.skill + .skill { margin-top: 0.9rem; }
.skill__head { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text); }
.skill__pct { font-family: 'Inter', sans-serif; color: var(--muted); }
.skill__track { height: 0.5rem; background: var(--surface); border-radius: var(--radius-pill); overflow: hidden; }
.skill__fill { height: 100%; border-radius: var(--radius-pill); background: var(--blue); }
.skill__fill--purple { background: var(--purple); }
.skill__fill--teal   { background: var(--teal); }

/* 背景パターン */
.bg-swatch { height: 6rem; border-radius: var(--radius-md); border: 1px solid var(--border); }
.bg-gradient { background: linear-gradient(135deg, var(--surface), var(--bg)); }
.bg-dots {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 8px 8px;
}

/* ========================================================================
   複合ブロック（下層ページで頻出する構成）
======================================================================== */

/* TEXT BLOCK — 写真なしの長文プロース（会社概要のメッセージ・強み等、複数段落の本文）。
   幅は他セクション（カードグリッド等）と同じくコンテナ全幅に揃える。 */
.text-block__body {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
}
/* .text-block は gap を使わない素の縦積みなので、段落間隔は margin で確保する。
   .interview-detail 等の flex+gap コンテナ内で使う場合は gap だけで揃えるため、
   ここでは効かせない（付けると gap の上に margin が重複して間隔が不揃いになる）。 */
.text-block .text-block__body { margin-bottom: 1.25rem; }
.text-block .text-block__body:last-child { margin-bottom: 0; }

/* テキストリンク — 本文（地の文）に埋め込むリンク。CTAボタンの .btn-text とは別に、
   文章中で「これはリンクである」と分かる程度の控えめな見た目にする。
   常時は下線なし、ロールオーバーで下線が出る。 */
.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

/* PHOTO BAND — 見出し無しの一枚写真（テキストセクション間の区切り・全幅・低め） */
.photo-band {
  width: 100%;
  height: clamp(11.25rem, 22vw, 20rem);
  margin-block: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
/* 直前が .section--surface の場合、背景色が padding-bottom ごと塗りつぶすため
   写真から色面境界までの余白が下側（写真から次セクションの見出しまでの余白）
   より狭く見える。不足分を写真側の margin-top に振り替えて揃える。 */
.section--surface:has(+ .photo-band) {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.section--surface + .photo-band {
  margin-top: calc(var(--section-py) + clamp(1rem, 3vw, 2rem));
}

/* MESSAGE — 代表メッセージ（写真＋見出し＋本文） */
.message {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: flex-start;
}
.message__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.message__photo img { width: 100%; height: 100%; object-fit: cover; }
/* 元画像の縦横比のままトリミングせず表示したい場合の修飾クラス */
.message__photo--natural { aspect-ratio: auto; }
.message__photo--natural img { height: auto; object-fit: contain; }
.message__body { display: flex; flex-direction: column; gap: 1.25rem; }
/* 写真なしで本文だけ全幅表示したい場合の修飾クラス */
.message--no-photo { grid-template-columns: 1fr; }
@media (max-width: 768px) { .message { grid-template-columns: 1fr; } }

/* OFFICE ROW — 拠点一覧（左に住所、右に地図。地図を大きく見せたい所在地セクション用）。
   .message とは逆に地図側を広く取る（4fr / 6fr）。拠点が複数ある場合は縦に並べる。 */
.office-row {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.office-row + .office-row { margin-top: clamp(2rem, 4vw, 3rem); }
.office-row__body { display: flex; flex-direction: column; gap: 0.75rem; }
.office-row__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 16rem; }
.office-row__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 768px) {
  .office-row { grid-template-columns: 1fr; }
  .office-row__map { min-height: 14rem; }
}

/* STAT — 数字で見る（データセクション） */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-height: 11rem;
}
.stat__label { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; color: var(--text); }
.stat__value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat__value .unit { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 0.2rem; }
.stat__accent {
  width: 2rem;
  height: 3px;
  margin-top: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.stat__desc {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text);
  margin-top: 0.25rem;
}
/* stat-grid の列数を可変にしたい場合（例: 2列で大きめタイル） */
.stat-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .stat-grid { grid-template-columns: 1fr; } }

/* STAT: ドーナツゲージ（単一割合の可視化）— 円グラフ(.pie)とサイズ・リング太さを統一 */
.stat--viz {
  align-items: center;
  text-align: center;
  /* 同じ行の他カードに補足文があって高さが伸びても、円の位置が上揃いになるようにする */
  justify-content: flex-start;
}
/* グラフ系カードに補足文を入れる場合、段落だけ左寄せにして可読性を保つ */
.stat--viz .stat__desc { text-align: left; align-self: stretch; }
.gauge { position: relative; width: clamp(10rem, 20vw, 13rem); aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 12; }
.gauge__fill {
  fill: none;
  stroke: var(--gauge-color, var(--blue));
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 327;
  /* 円周 2π·52 ≈ 327。--val は 0–100 の数値。値の反映は GSAP が --val を更新して行う */
  stroke-dashoffset: calc(327 * (1 - var(--val, 0) / 100));
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;      /* リング中央に配置（baseline だと上寄りになる） */
  justify-content: center;
}
.gauge__num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  color: var(--text);
  line-height: 1;
}
.gauge__unit { font-size: clamp(0.95rem, 1.6vw, 1.2rem); color: var(--muted); margin-left: 0.1rem; }

/* STAT: 円グラフ（2カテゴリの内訳・ドーナツ）
   各セグメントは --len（割合 0–100）と --start（開始位置 0–100）で指定。
   dasharray から 4 引き・offset を 2 ずらして、境界に約2pxの surface ギャップを作る。 */
.pie { position: relative; width: clamp(10rem, 20vw, 13rem); aspect-ratio: 1; }
.pie svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pie__seg {
  fill: none;
  stroke-width: 12;
  stroke-linecap: butt;
  stroke-dasharray: calc(327 * var(--len) / 100 - 4) 327;
  stroke-dashoffset: calc(-327 * var(--start) / 100 - 2);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: opacity 0.3s ease;
}
/* ホバーで対象セグメントを強調（他を減光） */
.pie:hover .pie__seg { opacity: 0.35; }
.pie__seg:hover { opacity: 1; cursor: pointer; }
/* 中央ラベル（穴の中に 男性/女性・割合を2列表示） */
.pie__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.4vw, 1rem);
}
.pie__item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.pie__k {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: clamp(0.66rem, 1.1vw, 0.78rem);
  color: var(--text);
  white-space: nowrap;
}
.pie__k i { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: 0 0 auto; }
.pie__v {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--text);
  line-height: 1;
}
.pie__ratio {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  color: var(--text);
  line-height: 1;
}

/* 凡例（色＋ラベル。色だけに頼らない） */
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; }
.legend i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  margin-right: 0.45rem;
}

/* HISTORY / TIMELINE — 沿革 */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--border);
}
.timeline__item { position: relative; padding-bottom: 1.75rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.timeline__text { color: var(--text); font-size: 0.9rem; margin-top: 0.2rem; }

/* FLOW — 選考フロー（縦・番号付き） */
.flow { position: relative; padding-left: 3.5rem; }
.flow::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: var(--border);
}
.flow__item { position: relative; padding-bottom: 1.75rem; }
.flow__item:last-child { padding-bottom: 0; }
.flow__num {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--purple);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.flow__title { font-size: 1.05rem; font-weight: 500; color: var(--text); }
.flow__text  { font-size: 0.85rem; line-height: 1.8; color: var(--muted); margin-top: 0.35rem; }

/* JOB LIST — 募集職種一覧 */
.job-list { display: flex; flex-direction: column; gap: 0.75rem; }
.job-list__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.job-list__item:hover { transform: translateX(4px); border-color: var(--purple); }
.job-list__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(165,110,255,0.15);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-list__title { flex: 1; font-size: 1rem; font-weight: 500; color: var(--text); }
.job-list__arrow { flex: 0 0 auto; color: var(--purple); }

/* PERSON CARD — 社員インタビュー一覧カード（氏名は掲載しない） */
.person-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.person-card {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
}
.person-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.person-card:hover img { transform: scale(1.05); }
.person-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.8) 100%);
}
.person-card__role {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(30,30,30,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.person-card__comment {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}
@media (max-width: 768px) { .person-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .person-grid { grid-template-columns: 1fr; } }

/* INTERVIEW DETAIL — 社員インタビュー個別記事（氏名は掲載しない。職種のみ） */
.interview-detail { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.interview-detail__section { display: flex; flex-direction: column; gap: 1rem; }
.interview-detail__lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  border-left: 4px solid var(--purple);
  padding-left: 1rem;
}
.interview-detail__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.interview-detail__photo img { width: 100%; height: 100%; object-fit: cover; }

/* INTERVIEW DETAIL（2カラム版）— 写真2枚を左カラムに縦積み、本文を右カラムに配置 */
.interview-detail--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.interview-detail__photos { display: flex; flex-direction: column; gap: 1rem; }
.interview-detail__content { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }

/* 写真1枚版: 本文をスクロールしても写真が画面に追従する（PCのみ） */
.interview-detail--split .interview-detail__photo--sticky {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
@media (max-width: 768px) {
  .interview-detail--split { grid-template-columns: 1fr; }
  .interview-detail--split .interview-detail__photo--sticky { position: static; }
}

/* BUSINESS ICON GRID — 事業内容などのアイコングリッド */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.icon-grid__item {
  background: var(--surface);
  padding: clamp(1.1rem, 2.5vw, 1.75rem) 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.icon-grid__icon { width: 2.25rem; height: 2.25rem; color: var(--blue); }
.icon-grid__icon svg { width: 100%; height: 100%; }
.icon-grid__label { font-size: 0.8rem; color: var(--text); }
@media (max-width: 768px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }

/* PHOTO GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery__item { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* CTA — セクション末尾の行動喚起 */
.cta {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.cta__title { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 500; color: var(--text); }
.cta__text  { margin: 1rem auto 2rem; max-width: 32rem; font-size: 0.9rem; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ========================================================================
   フォーム / FORM（エントリー）
======================================================================== */
.form { max-width: 44rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1.5rem; }
.text-block + .form { margin-top: clamp(2rem, 4vw, 3rem); }
.form__row { display: flex; flex-direction: column; gap: 0.5rem; }
.form__label { font-size: 0.9rem; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
.form__required { font-size: 0.68rem; font-weight: 700; color: #fff; background: var(--red); padding: 0.15em 0.6em; border-radius: var(--radius-pill); }
.form__optional { font-size: 0.68rem; font-weight: 700; color: var(--muted); border: 1px solid var(--border); padding: 0.15em 0.6em; border-radius: var(--radius-pill); }
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus { outline: none; border-color: var(--blue); }
.form__textarea { min-height: 8rem; resize: vertical; }
/* ラジオボタン群（希望入社時期など） */
.form__radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.form__radio { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text); cursor: pointer; }
.form__radio input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.form__note { font-size: 0.78rem; color: var(--muted); }
.form__error { font-size: 0.78rem; color: var(--red); }
.form__consent { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text); }
.form__consent a { color: var(--blue); text-decoration: underline; }
.form__actions { display: flex; justify-content: center; gap: 1.5rem; margin-top: 0.5rem; }
/* 入力エラー */
.form__input.is-invalid,
.form__select.is-invalid,
.form__textarea.is-invalid { border-color: var(--red); }
.form__error--center { text-align: center; }
/* ハニーポット（bot対策・非表示） */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 確認画面（入力内容の確認テーブル） */
.form__confirm { border-top: 1px solid var(--border); }
.form__confirm-row { display: flex; gap: 1.5rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--border); }
.form__confirm-row dt { flex: 0 0 10rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.form__confirm-row dd { flex: 1; font-size: 0.9rem; color: var(--text); white-space: pre-line; }
/* 送信完了 */
.form__complete { text-align: center; max-width: 40rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1.25rem; align-items: center; }
.form__complete-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 500; color: var(--text); }
.form__complete-text { font-size: 0.9rem; line-height: 2; color: var(--muted); }
.form__complete .btn-white { align-self: center; }

/* reCAPTCHAバッジ(画面右下)とback-to-topが重なるため、/entry/だけ位置を上げる */
.entry-page .back-to-top {
  bottom: 96px;
}

/* ========================================================================
   レスポンシブ
======================================================================== */
@media (max-width: 1024px) {
  .page-hero__photo { width: 42%; opacity: 0.9; }
}
@media (max-width: 768px) {
  .page-hero__photo { width: 55%; }
  .stepper { flex-wrap: wrap; gap: 0.75rem; }
  .stepper__bar { display: none; }
}
