/*
Theme Name: Torque Redesign Theme
Theme URI: https://xs721194.xsrv.jp/torque-redesign/
Author: CyberCats
Description: TORQUE RECRUIT(トルク採用サイト)用テーマ。Figma「202607トルク採用サイトリニューアル」1440px基準
Version: 0.14.43
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: torque-redesign-theme
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
  --blue: #4591e5;
  --blue-light: #8cc2ff;
  --blue-dark: #1d5fa9;
  --red: #bc3838;
  --red-hover: #a02f2f;
  --green: #458748;
  --brown: #9e763e;
  --gray: #afafaf;
  --gray-text: #616161;
  --light-gray: #f6f6f6;
  --light-blue: #f3faff;
  --focus: #4a90e2;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ==========================================================
   Base
   ========================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* 疑似要素にも border-box を効かせる(枠線付きの丸が指定幅より大きくならないように) */
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 28px;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

/* フォーカス:outlineは消さず、見やすい色に統一 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* 本文へスキップ(キーボード操作時だけ見える) */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* スクリーンリーダー専用テキスト(隠し見出しなど) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   Header (Figma: menu03)
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}
.header__inner {
  max-width: 1440px;
  height: 87px;
  margin: 0 auto;
  padding: 0 20px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: block; flex-shrink: 0; }
.logo img { width: 204px; height: auto; }

.gnav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  line-height: 28px;
}
.gnav__list a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  white-space: nowrap;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s;
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { width: 100%; }

.gnav__list .btn-apply {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 39px 2px 33px;
  margin-left: 8px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  transition: background .25s;
}
.gnav__list .btn-apply::after { display: none; }
.gnav__list .btn-apply:hover { background: var(--red-hover); }

/* ハンバーガー(PCでは非表示) */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none;
  cursor: pointer;
  position: relative;
}
.menu-btn__bar {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: #000;
  transition: .3s;
}
.menu-btn__bar:nth-child(1) { top: 14px; }
.menu-btn__bar:nth-child(2) { top: 21px; }
.menu-btn__bar:nth-child(3) { top: 28px; }

/* 1025〜1200px: ナビが1行に収まるよう間隔を詰める(1024px以下はハンバーガー) */
/* 9項目が横一列に収まらない幅ではハンバーガーに切り替える(1024px ちょうどで「応募・面談」が画面外に出ていたため 1120px に変更 2026-10-29) */
@media (min-width: 1121px) and (max-width: 1380px) { /* 「研修」追加で 1241〜1380px でも詰め表示にする(2026-10-29) */
  .gnav__list { gap: 16px; font-size: 15px; }
  .gnav__list .btn-apply { padding: 0 18px 2px; margin-left: 0; }
}

/* ==========================================================
   Footer (Figma: foot)
   ========================================================== */
.footer {
  background: #000;
  color: #fff;
  min-height: 216px;
  padding: 66px 20px 40px;
  text-align: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 16px;
  line-height: 28px;
}
.footer__links li + li::before { content: "｜"; }
.footer__links a:hover { text-decoration: underline; }

.footer__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  margin-top: 30px;
}
.footer__sns a { display: block; transition: opacity .25s; }
.footer__sns a:hover { opacity: .7; }
.sns-instagram { width: 38px; height: 38px; }
.sns-threads { width: 38px; height: 38px; }
.sns-youtube {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
}
.sns-youtube img {
  position: absolute;
  left: 15.4%; top: 17.3%;
  width: 67.4%; height: 67.3%;
}
.sns-tiktok { width: 40px; height: 40px; }
.sns-x { width: 38px; height: 38px; }

/* ==========================================================
   Buttons (共通ボタン 45px)
   ========================================================== */
/* 文字はボタンの中央、矢印は右端に固定(文字の長さに関係なく中央に揃える) */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 52px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  transition: opacity .25s;
}
.btn:hover { opacity: .85; }
.btn__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 13px;
  height: 14px;
  transform: translateY(-50%);
}
.btn--brown { background: var(--brown); }
.btn--green { background: var(--green); }
.btn--blue  { background: var(--blue-dark); }

/* ==========================================================
   MV (Figma: MV)
   ========================================================== */
.mv { padding: 16px 20px 24px; }
.mv__box {
  max-width: 1400px;
  height: 485px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 490px 1fr;
  border-radius: 10px;
  overflow: hidden;
}
.mv__text {
  background: url(images/mv-gradient.webp) center / cover no-repeat;
  color: #fff;
  padding: 142px 40px 40px 73px;
}
.mv__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 35px;
  line-height: 50px;
  margin-bottom: 30px;
}
.mv__lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}
.mv__img { position: relative; }
.mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.mv__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(images/mv-overlay.webp) left top / 106.81% 100% no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ==========================================================
   採用区分の入口 (Figma: リンク)
   ========================================================== */
.entry {
  background: var(--light-gray);
  padding: 45px 20px;
}
.entry__list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.entry-card {
  position: relative;
  min-height: 260px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  overflow: hidden;
}
.entry-card__img {
  position: absolute;
  left: 0; top: 0;
  width: 399px;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
/* 写真の右側の白フェードは画像に焼き込み済み(支給写真) */
.entry-card__body {
  position: relative;
  padding: 40px 20px 36px 248px;
}
.entry-card__title {
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0;
}
.entry-card--brown .entry-card__title { color: var(--brown); }
.entry-card--green .entry-card__title { color: var(--green); }
.entry-card__target {
  margin-top: 15px;
  font-weight: 700;
}
.entry-card__copy { margin-top: 5px; }
/* 一言が2行になってもボタンの位置が左右で揃うよう、ボタンはカードの下端に寄せる */
.entry-card { display: flex; }
.entry-card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.entry-card__copy { margin-bottom: 36px; }
.entry-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================
   関連ページ (Figma: LINK)
   ========================================================== */
.links { padding: 48px 20px 54px; }
.links__list {
  max-width: 1202px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.link-item { padding-right: 30px; }
.link-item + .link-item {
  padding-right: 0;
  padding-left: 29px;
  border-left: 1px solid var(--gray);
}
.link-item__title {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.link-item__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 2px solid var(--blue);
  border-radius: 100px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
  flex: none;
}
.link-item__text { margin-top: 10px; }
.link-item .btn { margin-top: 20px; }

/* ==========================================================
   構造改革ページ (why-torque)
   ========================================================== */

/* MV(下層用の余白) */
.mv--why .mv__text { padding: 105px 40px 40px 46px; }

/* セクションタイトル(英語飾り + 日本語見出し) */
.sec-title {
  padding: 50px 0;
  text-align: center;
}
.sec-title__en {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.sec-title__ja {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
  color: var(--blue-dark);
  white-space: nowrap;
}
.sec-title__ja::before,
.sec-title__ja::after {
  content: "";
  flex: 0 1 496px;
  height: 2px;
  border-radius: 2px;
}
.sec-title__ja::before { background: linear-gradient(to left, var(--blue), rgba(140,194,255,0)); }
.sec-title__ja::after  { background: linear-gradient(to right, var(--blue), rgba(140,194,255,0)); }

/* Before / After */
.reality { padding: 0 20px 48px; }
.reality .sec-title { margin-top: -12px; }
.ba {
  max-width: 1400px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px;
}
.ba__card {
  position: relative;
  min-height: 621px;
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 5px;
}
.ba__card--after { border: 3px solid var(--blue); }
.ba__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 65px;
  padding: 0 8px 0 14px;
  background: var(--light-gray);
  border-radius: 4px 4px 0 0;
}
.ba__card--after .ba__head { background: var(--light-blue); }
.ba__head-title {
  align-self: center;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 5px;
  white-space: nowrap; /* 幅が足りない時は見出し語を分割せずバッジの下へ回す */
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--gray-text);
}
.ba__card--after .ba__head-title { color: var(--blue-dark); }
.ba__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-bottom: 1px;
  padding: 0 11px;
  border-radius: 100px;
  background: var(--gray-text);
  border: 2px solid var(--gray);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}
.ba__card--after .ba__badge { background: var(--blue-dark); border-color: var(--blue); }
.ba__illust {
  --illust-w: 128px;
  flex: 0 0 auto;
  width: var(--illust-w);
  height: auto;
}
/* 画像右側の透明な余白(before 18px / after 7px px幅)の分だけ見出しを寄せる */
.ba__card--before .ba__illust { margin-right: calc(var(--illust-w) * -18 / 128); }
.ba__card--after .ba__illust { margin-right: calc(var(--illust-w) * -7 / 128); }
.ba__list {
  max-width: 640px;
  margin: 23px 21px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ba__item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 5px;
  border-bottom: 2px solid var(--gray);
}
.ba__card--after .ba__item-head { border-bottom-color: var(--blue); }
.ba__check {
  width: 30px;
  height: 31px;
  object-fit: contain;
  flex: 0 0 30px;
}
.ba__card--before .ba__check { opacity: .5; }
.ba__item-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  color: var(--gray-text);
}
.ba__card--after .ba__item-title { color: #000; }
.ba__item-text { font-size: 16px; line-height: 28px; }

/* SYSTEM 3本柱 */
.sys {
  background: var(--light-gray);
  padding: 0 20px 55px;
}
.pillars {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.pillar {
  width: 452px;
  min-width: 0;
  min-height: 0; /* 画像枠を外したので内容の高さに合わせる(2026-10-29) */
  padding: 25px 14px 14px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  text-align: center;
}
.pillar__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--blue-dark);
}
.pillar__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 2px solid var(--blue);
  border-radius: 100px;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1;
}
.pillar__img {
  width: 100%;
  max-width: 425px;
  height: auto;
  aspect-ratio: 425 / 250;
  margin: 10px auto 0;
  background: #d9d9d9;
  border-radius: 5px;
  overflow: hidden;
}
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar__text {
  max-width: 420px;
  margin: 10px 0 0 3px;
  text-align: left;
  font-size: 16px;
  line-height: 28px;
}

/* FLOW 出動の流れ */
.flow { padding: 0 20px 104px; }
.flow__head { text-align: center; }
.flow__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
}
.flow__lead { margin-top: 30px; font-size: 16px; line-height: 28px; }

.steps {
  position: relative;
  max-width: 1000px;
  margin: 49px auto 0;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 24.5px; /* 円(51px)の中心 25.5px に線(2px)の中心を合わせる */
  top: 3px;
  bottom: 53px;
  width: 2px;
  border-radius: 100px;
  background: linear-gradient(to top, var(--blue), var(--blue-light));
}
.step {
  position: relative;
  padding-left: 70px;
  counter-increment: step;
}
.step + .step { margin-top: 41px; }
/* 番号の丸(グラデ枠) */
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 51px; height: 51px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(180deg, var(--blue), var(--blue-light)) border-box;
}
/* 番号(グラデ文字) */
.step::after {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 51px; height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px; /* Noto Serif JP の数字は字面が約2px下に寄るため、上に2px寄せて円の中心に合わせる */
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 9px 1px 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}
.tag--sys { background: var(--blue-dark); }
.tag--member { background: var(--green); }
.tag--hq { background: var(--red); }
.step__text { margin-top: 6px; font-size: 16px; line-height: 28px; }

.banner {
  position: relative;
  max-width: 1000px;
  height: 232px;
  margin: 73px auto 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(245,245,245,0), rgba(61,61,61,.5) 57.7%);
  opacity: .2;
}
.banner__img {
  position: absolute;
  left: 0; top: 0;
  width: 404px;
  height: 100%;
  object-fit: cover;
}
.banner__body {
  position: absolute;
  left: 434px;
  top: 73px;
  width: 480px;
}
.banner__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 40px;
}
.banner__sub {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
}

/* CTA */
.cta {
  background: var(--light-gray);
  padding: 84px 20px 94px;
  text-align: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
}
.cta__btns {
  max-width: 1150px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.cta__btns li { flex: 0 1 560px; }
.cta-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 133px;
  text-align: left;
  color: var(--brown);
  transition: transform .25s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn--green { height: 137px; color: var(--green); }
.cta-btn__box {
  position: absolute;
  left: 0; right: 0;
  top: 40px; bottom: 0;
  border: 3px solid currentColor;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff 0%, #efefef 100%);
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
}
.cta-btn--green .cta-btn__box { top: 44px; }
.cta-btn__img {
  position: absolute;
  left: 2px; bottom: 3px;
  width: 254px;
  height: 132px;
  border-radius: 5px;
  object-fit: cover;
  object-position: bottom;
}
.cta-btn--green .cta-btn__img { height: 136px; }
.cta-btn__label {
  position: absolute;
  left: 238px;
  top: 40px;
  right: 53px;
  bottom: 0;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.cta-btn--green .cta-btn__label { left: 208px; top: 44px; right: 83px; }
.cta-btn__arrow {
  position: absolute;
  right: 24px;
  top: 78px;
  width: 17px;
  height: 18px;
}
.cta-btn--green .cta-btn__arrow { right: 54px; top: 82px; }

/* ==========================================================
   事業ロードマップページ (roadmap)
   ========================================================== */

/* MV(下層用の余白) */
.mv--roadmap .mv__text { padding: 120px 40px 40px 46px; }
/* ドット模様は支給写真に焼き込み済み */
.mv--roadmap .mv__img::after { display: none; }

.roadmap { padding: 0 20px 0; }
.roadmap .sec-title { margin-top: -12px; }

/* 文節単位で折り返す(単語の途中で改行させない) */
.phrase { display: inline-block; }

/* PHASEラベル(両側の線 + バッジ + 状態) */
.phase-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--blue-dark);
  white-space: nowrap;
}
.phase-label::before,
.phase-label::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--blue);
}
.phase-label::before { margin-right: 4px; }
.phase-label::after { margin-left: 4px; }
.phase-label__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 100px;
  background: var(--blue-dark);
  border: 2px solid var(--blue);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}
.phase-label--center { justify-content: center; }
.phase-label--center::before,
.phase-label--center::after { flex: 0 1 205px; }
.phase-label--center::before { margin-right: 12px; }
.phase-label--center::after { margin-left: 12px; }

/* PHASE 1・2 */
.phases {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}
.phase__img {
  width: 100%;
  height: auto;
  aspect-ratio: 570 / 360;
  margin-top: 20px;
  border-radius: 5px;
  object-fit: cover;
}
.phase__title {
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.phase__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
}
.phase__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.phase__stat {
  display: flex;
  align-items: center;
  gap: .5em;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gray-text);
  border-radius: 4px;
  font-size: 16px;
  line-height: 28px;
}

/* PHASE3(写真背景のバナー) */
.phase3 {
  position: relative;
  max-width: 1400px;
  min-height: 652px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
}
.phase3__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phase3__body {
  position: relative;
  z-index: 1;
  padding: 85px 20px 40px;
  text-align: center;
}
.phase3__title {
  margin-top: 17px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 56px;
}
.phase3__sub {
  margin-top: 6px;
  font-size: 18px;
  line-height: 32px;
}

/* CTA(道路写真の背景) */
.future {
  position: relative;
  margin-top: 16px;
  padding: 134px 20px 59px;
  overflow: hidden;
  background: #d9d9d9;
  text-align: center;
}
.future__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 写真の上に黒52%の帯を重ねて、見出しは白で読めるようにする */
.future::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
}
.future__body { position: relative; }
.future__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.future__btn {
  max-width: 560px;
  margin: 30px auto 0;
}
.future .future__btn .cta-btn__arrow { right: 30px; }
.future .future__btn .cta-btn__label {
  left: 200px;
  right: 59px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.future__btn-sub {
  font-size: 16px;
  line-height: 24px;
}

/* ==========================================================
   下層共通パーツ (中途LP / 新卒LP / 先輩の声 / エントリー)
   ========================================================== */

/* ルート色(A=中途:brown / B=新卒:green) */
.route-a { --route: var(--brown); --route-bg: #fbf6ee; --route-line: #d9c39b; }
.route-b { --route: var(--green); --route-bg: #eef7ee; --route-line: #a9d1ab; }

/* MV(下層用の余白) */
.mv--sub .mv__text { padding: 120px 40px 40px 46px; }
/* 先輩の声: 見出しが長いので1行に収まるサイズに */
.mv--voice .mv__title { font-size: 32px; }
.mv--entry .mv__title { font-size: 32px; line-height: 48px; }

/* セクション */
.sec { padding: 0 20px 70px; }
.sec--gray { background: var(--light-gray); padding-top: 10px; }
.sec__inner { max-width: 1200px; margin: 0 auto; }
.sec__inner--narrow { max-width: 1000px; }

/* リード文 */
.lead {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0 0;
  text-align: center;
}
.lead__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 46px;
}
.lead__text {
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 28px;
}
.lead__text + .lead__text { margin-top: 12px; }
/* 短い段落が続くメッセージは中央揃え(新卒LPの冒頭) */
.lead--message .lead__text { text-align: center; }
@media (max-width: 768px) {
  .lead--message .lead__text { text-align: left; }
}

/* 小見出し(セクション内) */
.sub-title {
  margin-top: 60px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 40px;
}
.sub-text { margin-top: 14px; text-align: center; font-size: 16px; line-height: 28px; }

/* 章ラベル(ロードマップの PHASE ラベルをルート色で流用) */
.phase-label--route { color: var(--route); }
.phase-label--route::before,
.phase-label--route::after { background: var(--route); }
.phase-label--route .phase-label__badge { background: var(--route); border-color: var(--route-line); }
.phase-label--wide { margin: 50px 0 0; }

/* カード(白地・角丸・影) */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 36px;
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  padding: 28px 30px 30px;
}
.card__label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 100px;
  border: 2px solid var(--route-line);
  color: var(--route);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.card__title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.card__text { margin-top: 12px; font-size: 16px; line-height: 28px; }
.card__note { margin-top: 10px; font-size: 14px; line-height: 24px; color: var(--gray-text); }
.card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 570 / 360;
  margin-top: 16px;
  border-radius: 5px;
  object-fit: cover;
}

.card--neutral { --route: var(--blue-dark); --route-line: var(--blue); }

/* 引用 */
.quote {
  margin-top: 16px;
  padding: 6px 0 6px 20px;
  border-left: 4px solid var(--route, var(--blue));
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 34px;
}
.quote cite {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: var(--gray-text);
}

/* 比較表(SPは項目ごとのカード積み) */
.cmp {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 28px;
}
.cmp th,
.cmp td {
  padding: 16px 20px;
  border: 1px solid var(--gray);
  text-align: left;
  vertical-align: top;
}
.cmp thead th {
  background: var(--light-gray);
  font-size: 16px;
  text-align: center;
}
.cmp thead th.cmp__tq-head { background: var(--route); color: #fff; }
.cmp tbody th { width: 120px; background: var(--light-gray); white-space: nowrap; }
.cmp__now { color: var(--gray-text); background: #fafafa; }
.cmp__tq { font-weight: 700; }
.cmp__tq::before,
.cmp__now::before { display: none; }

/* 代表メッセージ */
.message {
  margin-top: 40px;
  padding: 36px 40px 40px;
  background: #fff;
  border: 3px solid var(--route);
  border-radius: 5px;
}
.message__from { font-size: 14px; font-weight: 700; line-height: 24px; color: var(--route); }
.message__title { margin-top: 8px; font-size: 22px; font-weight: 700; line-height: 36px; }
.message__text { margin-top: 12px; font-size: 16px; line-height: 28px; }

/* 写真ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 570 / 360;
  border-radius: 5px;
  object-fit: cover;
}
.gallery figcaption { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--gray-text); }
.gallery__more { margin-top: 24px; text-align: center; }

/* 募集要項・一覧(dl) */
.spec {
  margin-top: 36px;
  border-top: 1px solid var(--gray);
}
.spec__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 1px solid var(--gray);
}
.spec dt {
  padding: 18px 20px;
  background: var(--light-gray);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
}
.spec dd { padding: 18px 24px; font-size: 16px; line-height: 28px; }

/* FAQ(details/summary) */
.faq { margin-top: 30px; border-top: 1px solid var(--gray); }
.faq__item { border-bottom: 1px solid var(--gray); }
.faq__q {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px 48px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--route, var(--blue-dark));
  color: #fff;
  font-family: var(--serif);
  text-align: center;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gray-text);
  border-bottom: 2px solid var(--gray-text);
  transform: rotate(45deg);
  transition: transform .25s;
}
.faq__item[open] .faq__q::after { transform: rotate(225deg); top: 34px; }
.faq__a {
  display: flex;
  gap: 14px;
  padding: 0 48px 20px 0;
  font-size: 16px;
  line-height: 28px;
}
.faq__a::before {
  content: "A";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--route, var(--blue-dark));
  color: var(--route, var(--blue-dark));
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  line-height: 26px;
}

/* 出口CTA(テキストボタン) */
.exit {
  background: var(--light-gray);
  padding: 70px 20px 80px;
  text-align: center;
}
.exit__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 44px;
}
.exit__text { margin-top: 12px; font-size: 16px; line-height: 28px; }
.exit__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.btn--lg {
  min-width: 320px;
  height: 64px;
  padding: 0 60px;
  font-size: 18px;
}
.btn--lg .btn__arrow { right: 28px; width: 15px; height: 16px; }
.btn--route { background: var(--route); }
.btn--ghost {
  background: #fff;
  border: 2px solid var(--route, var(--blue-dark));
  color: var(--route, var(--blue-dark));
}
.btn--sub { background: var(--gray-text); }

/* 横並びフロー(○ → ○ → ○) */
.flow-h {
  display: flex;
  gap: 32px;
  margin-top: 30px;
  counter-reset: flow;
}
.flow-h li {
  position: relative;
  flex: 1 1 0;
  padding: 20px 16px 22px;
  background: var(--light-blue);
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}
.flow-h li::before {
  counter-increment: flow;
  content: counter(flow);
  display: block;
  margin: 0 auto 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-family: var(--serif);
  line-height: 32px;
}
.flow-h li + li::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-50%) rotate(-45deg);
}
.flow-h small { display: block; font-size: 14px; font-weight: 400; line-height: 24px; }

/* ==========================================================
   中途採用LP (career)
   ========================================================== */
.steps--training { margin-top: 36px; }
.step--more::before { border-style: dashed; }
.step--more::after { content: "15"; font-size: 22px; padding-bottom: 3px; }

/* ==========================================================
   新卒LP (newgrad)
   ========================================================== */
.blank {
  margin-top: 40px;
  padding: 70px 20px 74px;
  border: 2px dashed var(--route);
  border-radius: 10px;
  text-align: center;
}
.blank__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  letter-spacing: .08em;
}
.blank__text { max-width: 760px; margin: 16px auto 0; font-size: 16px; line-height: 28px; }

/* ==========================================================
   先輩の声 (voice)
   ========================================================== */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 36px;
}
.voice {
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
}
.voice__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.voice__body { padding: 22px 24px 26px; }
.voice__role { font-size: 14px; font-weight: 700; line-height: 24px; color: var(--route); }
.voice__catch {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 32px;
}
.voice__text { margin-top: 10px; font-size: 15px; line-height: 26px; }

.timeline {
  display: flex;
  margin-top: 36px;
  padding-top: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 25px;
  height: 2px;
  background: linear-gradient(to right, var(--blue-light), var(--blue));
}
.timeline li {
  position: relative;
  flex: 1 1 0;
  padding-top: 26px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}
.timeline time { display: block; font-size: 13px; font-weight: 400; color: var(--gray-text); }

.movie {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6e6e6;
  border-radius: 5px;
  color: var(--gray-text);
}
.posts { margin-top: 24px; }
.posts li + li { margin-top: 12px; }
.posts a { display: flex; gap: 16px; font-size: 16px; line-height: 28px; }
.posts a:hover { text-decoration: underline; }
.posts time { flex: none; color: var(--gray-text); }

/* ==========================================================
   エントリー (entry)
   ========================================================== */
.forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.form-card {
  padding: 30px 32px 34px;
  background: #fff;
  border: 3px solid var(--route);
  border-radius: 5px;
}
.form-card__title { font-size: 22px; font-weight: 700; line-height: 34px; color: var(--route); }
.form-card__text { margin-top: 8px; font-size: 15px; line-height: 26px; }
.field { margin-top: 18px; }
.field__label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}
.field fieldset { border: 0; min-width: 0; }
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  vertical-align: 2px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.field textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 26px;
  resize: vertical;
}
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 28px; }
.choices input { width: 18px; height: 18px; }
.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.field__help { margin-top: 6px; font-size: 14px; line-height: 24px; color: var(--gray-text); }
.form-card .btn { width: 100%; height: 56px; margin-top: 26px; font-size: 18px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice {
  margin: 40px auto 0;
  max-width: 1000px;
  padding: 22px 26px;
  border-left: 4px solid var(--blue);
  background: var(--light-blue);
  font-size: 16px;
  line-height: 28px;
}
.notice--error { border-left-color: var(--red); background: #fdf2f2; }
.alt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.alt__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
/* フォームが1つだけのときは中央に */
.forms--single { grid-template-columns: minmax(0, 640px); justify-content: center; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1120px) {
  .menu-btn { display: block; z-index: 101; }
  .gnav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 82%);
    height: 100vh;
    padding: 90px 28px 40px;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0,0,0,.12);
    transform: translateX(100%);
    visibility: hidden;
    /* 閉じる時だけ visibility をアニメーション終了まで遅らせる(開く時は即 visible) */
    transition: transform .3s, visibility 0s .3s;
  }
  .gnav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .3s, visibility 0s 0s;
  }
  .gnav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .gnav__list .btn-apply { margin: 10px 0 0; }
  .menu-btn.is-open .menu-btn__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.is-open .menu-btn__bar:nth-child(2) { opacity: 0; }
  .menu-btn.is-open .menu-btn__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1240px) {
  .ba__list { width: auto; margin-right: 21px; max-width: none; }
  .pillars { gap: 16px; }
  .pillar { width: calc((100% - 32px) / 3); }
  .pillar__img { width: 100%; height: auto; aspect-ratio: 425 / 250; max-width: none; }
  .pillar__text { width: 100%; margin-left: 0; max-width: none; }
  .cta__btns { gap: 20px; }
  .cta__btns li { flex-basis: calc(50% - 10px); }
  .cta-btn__img { width: 45%; height: auto; aspect-ratio: 254 / 132; }
  .cta-btn--green .cta-btn__img { height: auto; aspect-ratio: 254 / 136; }
  .cta-btn__label { left: 44%; }
  .cta-btn--green .cta-btn__label { left: 40%; }
}

@media (max-width: 1000px) {
  .mv__box { grid-template-columns: 42% 58%; height: auto; min-height: 420px; }
  .mv__text { padding: 50px 24px 40px; }
  .mv--why .mv__text { padding: 44px 22px 36px; }
  .mv--why .mv__title { font-size: 23px; line-height: 36px; }
  .mv__title { font-size: 24px; line-height: 38px; margin-bottom: 22px; }
  .mv__lead { font-size: 14px; line-height: 26px; }
  .ba { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .ba__card { min-height: 0; }
  .sec-title__ja { font-size: 26px; }
  .pillars { flex-direction: column; align-items: center; }
  .pillar { width: 100%; max-width: 560px; min-height: 0; }
  .banner { height: auto; }
  .banner__img { position: static; width: 100%; height: auto; }
  .banner__body { position: static; width: auto; padding: 24px 24px 28px; }
  .cta__btns { flex-direction: column; align-items: center; }
  .cta__btns li { flex-basis: auto; width: 100%; max-width: 560px; }
  .cta-btn__img { width: 254px; height: 132px; }
  .cta-btn__label { left: 238px; }
  .cta-btn--green .cta-btn__label { left: 208px; }
  .entry__list { grid-template-columns: 1fr; max-width: 580px; gap: 30px; }
  .links__list { grid-template-columns: 1fr; max-width: 640px; gap: 40px; }
  .link-item { padding-right: 0; }
  .link-item + .link-item { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--gray); }
}

@media (max-width: 768px) {
  body { font-size: 15px; line-height: 26px; }
  .header__inner { height: 70px; padding: 0 12px 0 14px; }
  .logo img { width: 160px; }

  .mv { padding: 12px 12px 20px; }
  .mv__box { grid-template-columns: 1fr; min-height: 0; }
  .mv__img { order: 1; height: 240px; }
  .mv__text { order: 2; padding: 36px 24px 40px; }
  .mv__title { font-size: 26px; line-height: 40px; margin-bottom: 20px; }
  .mv__lead { font-size: 14px; line-height: 26px; }

  .entry { padding: 32px 12px; }
  .entry-card { min-height: 0; }
  .entry-card__img { position: static; width: 100%; height: 200px; border-radius: 5px 5px 0 0; }
  .entry-card__body { padding: 20px 18px 24px; }
  .entry-card__title { font-size: 24px; line-height: 36px; }
  .entry-card__target { font-size: 15px; }
  .entry-card__copy { font-size: 14px; line-height: 26px; }
  .entry-card { flex-direction: column; }
  .entry-card__img { flex: none; }
  .entry-card__copy { margin-bottom: 24px; }


  .mv--why .mv__text { padding: 36px 24px 40px; }
  .sec-title { padding: 40px 0 30px; }
  .sec-title__en { font-size: 16px; }
  .sec-title__ja { font-size: 22px; gap: 8px; }
  .sec-title__ja::before, .sec-title__ja::after { flex-basis: 60px; }

  .reality { padding: 0 12px 40px; }
  .reality .sec-title { margin-top: 0; }
  .ba { margin-top: 30px; gap: 56px; }
  .ba__head { height: 60px; padding-left: 8px; }
  .ba__head-title,
  .ba__card--after .ba__head-title { font-size: 17px; line-height: 30px; }
  .ba__illust { --illust-w: 96px; }
  .ba__badge { height: 26px; font-size: 13px; padding: 0 9px; }
  .ba__list { width: auto; max-width: none; margin: 18px 14px 22px; gap: 22px; }
  .ba__item-title { font-size: 16px; line-height: 28px; }
  .ba__item-text { font-size: 14px; line-height: 26px; }
  .ba__check { width: 24px; height: 25px; flex-basis: 24px; }

  .sys { padding: 0 12px 40px; }
  .pillar { padding: 20px 14px 16px; }
  .pillar__title { font-size: 18px; }
  .pillar__text { font-size: 14px; line-height: 26px; }

  .flow { padding: 0 12px 60px; }
  .flow__title { font-size: 22px; line-height: 34px; padding: 0 8px; }
  .flow__lead { margin-top: 16px; font-size: 14px; line-height: 26px; text-align: left; }
  .flow__lead br { display: none; }
  .steps { margin-top: 36px; }
  .steps::before { left: 22px; } /* 円46px の中心 23px */
  .step { padding-left: 60px; }
  .step + .step { margin-top: 28px; }
  .step::before, .step::after { width: 46px; height: 46px; }
  .step::after { font-size: 26px; padding-bottom: 3px; }
  .step__title { font-size: 16px; line-height: 30px; }
  .tag { height: 26px; font-size: 14px; }
  .step__text { font-size: 14px; line-height: 26px; }
  .banner { margin-top: 40px; }
  .banner__body { padding: 20px 18px 24px; }
  .banner__title { font-size: 22px; line-height: 34px; }
  .banner__sub { font-size: 15px; line-height: 28px; margin-top: 6px; }

  .cta { padding: 56px 12px 64px; }
  .cta__title { font-size: 20px; line-height: 34px; }
  .cta__btns { margin-top: 24px; gap: 28px; }
  .cta-btn { height: auto; padding-top: 30px; }
  .cta-btn--green { height: auto; }
  .cta-btn__box { position: static; display: block; min-height: 90px; }
  .cta-btn--green .cta-btn__box { top: auto; }
  .cta-btn__img { width: 40%; height: auto; aspect-ratio: 254 / 132; }
  .cta-btn--green .cta-btn__img { height: auto; }
  .cta-btn__label,
  .cta-btn--green .cta-btn__label {
    left: 44%; right: 45px; top: 50%; bottom: auto; width: auto;
    transform: translateY(-50%);
    margin-top: 15px;
    font-size: 16px; line-height: 26px;
  }
  .cta-btn__arrow,
  .cta-btn--green .cta-btn__arrow { right: 16px; top: 50%; margin-top: 6px; }

  .links { padding: 36px 12px 44px; }
  .links__list { gap: 32px; }
  .link-item + .link-item { padding-top: 32px; }
  .link-item__title { align-items: flex-start; gap: 10px; font-size: 18px; line-height: 30px; }
  .link-item__badge { height: 26px; font-size: 13px; padding: 0 9px; margin-top: 2px; }
  .link-item__text { font-size: 14px; line-height: 26px; }
  .btn { height: 42px; font-size: 15px; padding: 0 44px; }
  .btn__arrow { right: 16px; }
  .footer { min-height: 0; padding: 40px 12px 44px; }
  .footer__links { font-size: 14px; }
  .footer__sns { gap: 24px; margin-top: 24px; }
}

/* 事業ロードマップ: タブレット・SP */
@media (max-width: 1000px) {
  .mv--roadmap .mv__text { padding: 44px 22px 36px; }
  .mv--roadmap .mv__title { font-size: 23px; line-height: 36px; }
  .phases { gap: 40px; }
  .phase3 { min-height: 520px; }
}

@media (max-width: 768px) {
  .mv--roadmap .mv__text { padding: 36px 24px 40px; }
  .roadmap { padding: 0 12px 0; }
  .roadmap .sec-title { margin-top: 0; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phase-label { font-size: 17px; line-height: 30px; }
  .phase-label__badge { height: 26px; font-size: 13px; padding: 0 9px; }
  .phase-label--center::before,
  .phase-label--center::after { flex-basis: 60px; }
  .phase__img { margin-top: 14px; }
  .phase__title { margin-top: 20px; font-size: 18px; line-height: 30px; }
  .phase__text { margin-top: 12px; font-size: 14px; line-height: 26px; }
  .phase__stat { height: 40px; padding: 0 12px; font-size: 14px; }
  .phase3 { min-height: 0; }
  .phase3__body { padding: 48px 16px 200px; }
  .phase3__title { margin-top: 14px; font-size: 24px; line-height: 36px; }
  .phase3__sub { font-size: 15px; line-height: 26px; }
  .future { margin-top: 20px; padding: 56px 12px 48px; }
  .future__title { font-size: 20px; line-height: 34px; }
  .future__btn { margin-top: 20px; }
  .future .future__btn .cta-btn__label { left: 44%; right: 45px; }
  .future .future__btn .cta-btn__arrow { right: 16px; }
  .future__btn-sub { font-size: 13px; line-height: 20px; }
}

/* 下層共通: タブレット */
@media (max-width: 1000px) {
  .mv--sub .mv__text { padding: 44px 22px 36px; }
  .mv--sub .mv__title { font-size: 23px; line-height: 36px; }
  .cards, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .gallery { gap: 16px; }
  .voices { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .forms, .alt { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
  .timeline { flex-wrap: wrap; }
  .timeline::before { display: none; }
  .timeline li { flex-basis: 25%; }
}

/* 下層共通: SP */
@media (max-width: 768px) {
  .mv--sub .mv__text { padding: 36px 24px 40px; }
  .sec { padding: 0 12px 48px; }
  .lead { padding-top: 40px; }
  .lead__title { font-size: 22px; line-height: 36px; }
  .lead__text { margin-top: 14px; font-size: 14px; line-height: 26px; }
  .phase-label--wide { margin-top: 36px; }
  .sub-title { margin-top: 40px; font-size: 20px; line-height: 32px; }
  .sub-text { font-size: 14px; line-height: 26px; }
  .cards, .cards--3 { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .card { padding: 20px 18px 22px; }
  .card__title { font-size: 18px; line-height: 30px; }
  .card__text { font-size: 14px; line-height: 26px; }
  .quote { font-size: 17px; line-height: 30px; padding-left: 14px; }
  /* 比較表 → 項目ごとのカード */
  .cmp { margin-top: 24px; font-size: 14px; line-height: 26px; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody tr { display: block; margin-bottom: 16px; border: 1px solid var(--gray); border-radius: 5px; overflow: hidden; }
  .cmp tbody th, .cmp td { display: block; width: auto; border: 0; padding: 12px 16px; }
  .cmp tbody th { text-align: center; }
  .cmp td { border-top: 1px solid var(--gray); }
  .cmp__tq::before, .cmp__now::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: var(--route);
  }
  .cmp__now::before { color: var(--gray-text); }
  .message { margin-top: 28px; padding: 22px 18px 24px; }
  .message__title { font-size: 18px; line-height: 30px; }
  .message__text { font-size: 14px; line-height: 26px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .gallery figcaption { font-size: 12px; line-height: 20px; }
  .spec { margin-top: 24px; }
  .spec__row { grid-template-columns: minmax(0, 1fr); }
  .spec dt { padding: 10px 14px; font-size: 14px; line-height: 24px; }
  .spec dd { padding: 12px 14px 16px; font-size: 14px; line-height: 26px; }
  .faq__q { font-size: 16px; line-height: 28px; padding: 14px 36px 14px 0; gap: 10px; }
  .faq__q::before { width: 26px; height: 26px; line-height: 26px; font-size: 15px; }
  .faq__q::after { top: 22px; right: 8px; }
  .faq__item[open] .faq__q::after { top: 28px; }
  .faq__a { font-size: 14px; line-height: 26px; padding: 0 0 16px; gap: 10px; }
  .faq__a::before { width: 26px; height: 26px; line-height: 22px; font-size: 15px; }
  .exit { padding: 48px 12px 56px; }
  .exit__title { font-size: 22px; line-height: 36px; }
  .exit__text { font-size: 14px; line-height: 26px; }
  .exit__btns { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
  .btn--lg { min-width: 0; width: 100%; height: 56px; font-size: 16px; padding: 0 48px; }
  .btn--lg .btn__arrow { right: 20px; }
  .flow-h { flex-direction: column; gap: 22px; margin-top: 24px; }
  .flow-h li + li::after { left: 50%; top: -17px; transform: translateX(-50%) rotate(45deg); }
  .flow-h li { padding: 14px 14px 16px; font-size: 15px; }
  .steps--training { margin-top: 28px; }
  .step--more::after { font-size: 20px; }
  .blank { margin-top: 28px; padding: 44px 16px 48px; }
  .blank__title { font-size: 24px; line-height: 38px; }
  .blank__text { margin-top: 12px; font-size: 14px; line-height: 26px; }
  .voices { gap: 20px; margin-top: 24px; }
  .voice__body { padding: 18px 18px 20px; }
  .voice__catch { font-size: 17px; line-height: 30px; }
  .voice__text { font-size: 14px; }
  .timeline { display: block; margin-top: 24px; padding: 0 0 0 28px; }
  .timeline::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--blue-light), var(--blue)); }
  .timeline li { padding: 0 0 0 0; text-align: left; }
  .timeline li + li { margin-top: 14px; }
  .timeline li::before { left: -28px; top: 5px; margin-left: 0; }
  .timeline time { display: inline; margin-right: 8px; }
  .forms { margin-top: 28px; gap: 20px; }
  .form-card { padding: 20px 16px 24px; }
  .form-card__title { font-size: 19px; line-height: 30px; }
  .dates { grid-template-columns: minmax(0, 1fr); }
  .notice { margin-top: 28px; padding: 16px 18px; font-size: 14px; line-height: 26px; }
  .alt { margin-top: 28px; gap: 20px; }
}

/* ==========================================================
   下層共通: 追加パーツ(ラベル・VOICE見出し)
   ========================================================== */
.message__label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-right: 10px;
  padding: 0 10px;
  border-radius: 100px;
  background: var(--route);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.voice__num { margin-right: 8px; }
.voice__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 3px;
  background: var(--route-bg);
  color: var(--route);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

/* ==========================================================
   車両紹介 (vehicles)
   ========================================================== */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  line-height: 1;
  text-align: center;
  padding: 0 22px;
  border: 2px solid var(--blue);
  border-radius: 100px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.filter__btn:hover { background: var(--light-blue); }
.filter__btn[aria-pressed="true"] {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.album {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.album__item[hidden] { display: none; }
.album__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform .25s;
}
.album__btn:hover { transform: translateY(-2px); }
.album__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.album__body { display: block; padding: 14px 18px 18px; }
.album__cat {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 2px solid var(--blue);
  border-radius: 100px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.album__name { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 30px; }
.album__model { display: block; font-size: 14px; line-height: 24px; color: var(--gray-text); }
.album__hint { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 20px; color: var(--blue-dark); }
.album__note { margin-top: 24px; text-align: center; font-size: 14px; line-height: 24px; color: var(--gray-text); }

/* 車両詳細(dialog) */
.vdialog {
  width: min(920px, calc(100% - 40px));
  max-height: calc(100vh - 60px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.vdialog::backdrop { background: rgba(0,0,0,.6); }
.vdialog__inner { position: relative; padding: 32px 36px 36px; }
.vdialog__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--light-gray);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.vdialog__close:hover { background: #e6e6e6; }
.vdialog__title { padding-right: 56px; font-size: 24px; font-weight: 700; line-height: 36px; }
.vdialog__model { margin-top: 4px; font-size: 14px; line-height: 24px; color: var(--gray-text); }
.angles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.angles li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  border-radius: 5px;
  overflow: hidden;
  font-size: 13px;
  color: var(--gray-text);
}
.angles li:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.angles img { width: 100%; height: 100%; object-fit: cover; }
.vdialog .spec { margin-top: 24px; }
.vdialog .quote { margin-top: 20px; font-size: 17px; line-height: 30px; border-left-color: var(--blue-dark); }

/* 動画コーナー(縦型) */
.movies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 30px auto 0;
}
.movies li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 16;
  background: #e6e6e6;
  border-radius: 5px;
  font-size: 15px;
  color: var(--gray-text);
}

/* 車両紹介・営業職: タブレット */
@media (max-width: 1000px) {
  .album { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* 車両紹介・営業職: SP */
@media (max-width: 768px) {
  .filter { gap: 8px; margin-top: 24px; }
  .filter__btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .album { gap: 12px; margin-top: 24px; }
  .album__body { padding: 10px 12px 14px; }
  .album__name { font-size: 15px; line-height: 24px; }
  .album__model { font-size: 12px; line-height: 20px; }
  .album__hint { font-size: 12px; }
  .vdialog { width: calc(100% - 24px); max-height: calc(100vh - 40px); }
  .vdialog__inner { padding: 20px 16px 24px; }
  .vdialog__title { font-size: 19px; line-height: 30px; }
  .angles { gap: 6px; }
  .movies { gap: 12px; margin-top: 24px; }
  .movies li { font-size: 13px; }
}

/* ==========================================================
   公式ブログの新着(先輩の声)
   ========================================================== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.blog-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
  overflow: hidden;
  transition: transform .25s;
}
.blog-card:hover { transform: translateY(-2px); }
.blog-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card__img--none { background: #e6e6e6; }
.blog-card__body { display: block; padding: 14px 18px 18px; }
.blog-card__date { display: block; font-size: 13px; line-height: 22px; color: var(--gray-text); }
.blog-card__title { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; line-height: 28px; }
.blog-card__text { display: block; margin-top: 6px; font-size: 14px; line-height: 24px; color: var(--gray-text); }
@media (max-width: 1000px) {
  .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 768px) {
  .blog-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .blog-card__body { padding: 12px 14px 16px; }
  .blog-card__title { font-size: 15px; line-height: 26px; }
  .blog-card__text { font-size: 13px; line-height: 22px; }
}

/* ==========================================================
   ブログ(一覧・記事)
   ========================================================== */
.blog-page .sec-title { padding-top: 40px; }
.cat-nav { margin-top: 0; }
.filter__btn[aria-current="page"] {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.blog--list { margin-top: 30px; }

/* ページ送り(WP標準の the_posts_pagination) */
.pagination { margin-top: 40px; text-align: center; }
.pagination .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
}
.pagination .page-numbers:hover { background: var(--light-blue); }
.pagination .page-numbers.current { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* 記事 */
.post { padding: 0 20px 70px; }
.post__head { padding-top: 50px; text-align: center; }
.post__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 24px;
  color: var(--gray-text);
}
.post__cat {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}
.post__cat:hover { background: var(--light-blue); }
.post__title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 46px;
}
.post__eyecatch { margin-top: 30px; }
.post__eyecatch img { width: 100%; height: auto; border-radius: 5px; }

.post__body { margin-top: 36px; font-size: 16px; line-height: 30px; overflow-wrap: anywhere; }
.post__body > * + * { margin-top: 1.2em; }
.post__body h2 {
  margin-top: 2em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
}
.post__body h3 {
  margin-top: 1.8em;
  padding-left: 12px;
  border-left: 4px solid var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}
.post__body h4 { margin-top: 1.6em; font-size: 18px; font-weight: 700; line-height: 30px; }
.post__body ul, .post__body ol { padding-left: 1.6em; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li + li { margin-top: .4em; }
.post__body a { color: var(--blue-dark); text-decoration: underline; }
.post__body a:hover { text-decoration: none; }
.post__body img { height: auto; max-width: 100%; border-radius: 5px; }
.post__body figure { margin: 1.2em 0; }
.post__body figcaption { margin-top: 6px; font-size: 13px; line-height: 22px; color: var(--gray-text); text-align: center; }
.post__body blockquote {
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--gray);
  color: var(--gray-text);
}
.post__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post__body th, .post__body td { padding: 8px 12px; border: 1px solid var(--gray); text-align: left; vertical-align: top; }
.post__body th { background: var(--light-gray); }
.post__body iframe { max-width: 100%; }
.post__body .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.post__body .wp-block-embed-tiktok iframe,
.post__body .wp-block-embed-instagram iframe { aspect-ratio: auto; }
.post__body .alignleft { float: left; margin: 0 20px 10px 0; }
.post__body .alignright { float: right; margin: 0 0 10px 20px; }
.post__body .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.post__body::after { content: ""; display: block; clear: both; }

.post__nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray);
}
.post__nav a {
  max-width: 48%;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: var(--blue-dark);
}
.post__nav a:hover { text-decoration: underline; }
.post__nav-prev::before { content: "« "; }
.post__nav-next { text-align: right; margin-left: auto; }
.post__nav-next::after { content: " »"; }

@media (max-width: 768px) {
  .blog-page .sec-title { padding-top: 30px; }
  .post { padding: 0 12px 48px; }
  .post__head { padding-top: 32px; }
  .post__title { font-size: 22px; line-height: 34px; }
  .post__eyecatch { margin-top: 20px; }
  .post__body { margin-top: 28px; font-size: 15px; line-height: 28px; }
  .post__body h2 { font-size: 20px; line-height: 32px; }
  .post__body h3 { font-size: 18px; line-height: 30px; }
  .post__body h4 { font-size: 16px; line-height: 28px; }
  .post__body .alignleft, .post__body .alignright { float: none; margin: 0 auto 10px; }
  .post__nav { flex-direction: column; gap: 12px; margin-top: 36px; }
  .post__nav a { max-width: none; }
  .post__nav-next { text-align: left; margin-left: 0; }
  .pagination .page-numbers { min-width: 36px; height: 36px; padding: 0 10px; font-size: 14px; }
}

/* 取り込んだ記事に公式サイト(黒背景)用の黄色文字(color:#ffff00)が残っているため、白背景のこのテーマでは見出し色に置き換える */
.post__body [style*="#ffff00"] { color: var(--blue-dark) !important; }

/* TOPの採用ブログ枠 */
.home-blog .blog-list { margin-top: 0; }
.home-blog .blog-card__title { font-size: 17px; line-height: 28px; }

/* ==========================================================
   1日体験入社 (taiken)
   ========================================================== */
.checks { max-width: 760px; margin: 24px auto 0; }
.checks li {
  position: relative;
  padding: 6px 0 6px 36px;
  font-size: 16px;
  line-height: 28px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--route, var(--blue-dark));
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 15px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.checks--in-card { max-width: none; margin-top: 12px; }
.checks--no li::before { background: var(--gray); }
.checks--no li::after {
  width: 8px; height: 8px;
  border: 0;
  left: 6px; top: 17px;
  background: linear-gradient(45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
              linear-gradient(-45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%);
  transform: none;
}
.steps--schedule { margin-top: 36px; }
.steps--schedule .step__title { align-items: baseline; gap: 12px; }
.step__time {
  flex: none;
  min-width: 56px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--route, var(--blue-dark));
}
.quote--center { max-width: 640px; margin: 36px auto 0; border-left: 0; padding-left: 0; text-align: center; }
.cmp--course .cmp__now { color: #000; }
@media (max-width: 768px) {
  .checks li { font-size: 14px; line-height: 26px; padding-left: 32px; }
  .checks li::before { top: 10px; width: 18px; height: 18px; }
  .checks li::after { left: 6px; top: 13px; }
  .checks--no li::after { left: 5px; top: 15px; }
  .step__time { min-width: 48px; font-size: 17px; }
  .quote--center { margin-top: 28px; }
}

/* TOP 新卒カード: 条件の箇条書きと、応募より軽い入口(1日体験入社) */
.entry-card--green { --route: var(--green); }
.entry-card--brown { --route: var(--brown); }
.entry-card__points { margin: 8px 0 36px; }
.entry-card__points li {
  position: relative;
  padding: 2px 0 2px 26px;
  font-size: 15px;
  line-height: 26px;
}
.entry-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--route);
}
.entry-card__points li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.entry-card__sub { margin-top: 12px; font-size: 14px; line-height: 24px; }
.entry-card__sub a { color: var(--route); font-weight: 700; text-decoration: underline; }
.entry-card__sub a:hover { text-decoration: none; }
@media (max-width: 768px) {
  .entry-card__points { margin-bottom: 24px; }
  .entry-card__points li { font-size: 14px; line-height: 24px; padding-left: 24px; }
  .entry-card__points li::before { top: 6px; width: 15px; height: 15px; }
  .entry-card__points li::after { left: 5px; top: 9px; }
  .entry-card__sub { font-size: 13px; }
}

/* ==========================================================
   ショート動画(先輩の声)  スマホ枠に縦動画を並べ、横スクロールで見る
   ========================================================== */
.shorts-wrap { position: relative; margin-top: 28px; }
.shorts {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 6px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gray) transparent;
  -webkit-overflow-scrolling: touch;
}
.shorts__item { flex: 0 0 250px; scroll-snap-align: start; }
.phone {
  padding: 10px;
  background: #111;
  border-radius: 34px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.phone__screen {
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.phone__screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.shorts__cap { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; line-height: 24px; }
.shorts-nav {
  position: absolute;
  top: 215px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  cursor: pointer;
  transition: background .25s;
}
.shorts-nav:hover { background: var(--light-blue); }
.shorts-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue-dark);
  border-bottom: 2px solid var(--blue-dark);
}
.shorts-nav--prev { left: -22px; }
.shorts-nav--prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.shorts-nav--next { right: -22px; }
.shorts-nav--next::before { transform: translate(-70%, -50%) rotate(-45deg); }
@media (max-width: 1240px) {
  .shorts-nav--prev { left: 0; }
  .shorts-nav--next { right: 0; }
}
@media (max-width: 1240px) {
  .shorts { justify-content: flex-start; } /* 4本が入りきらない幅では横スクロール */
}
@media (max-width: 768px) {
  .shorts { gap: 16px; }
  .shorts__item { flex-basis: 220px; }
  .phone { padding: 8px; border-radius: 28px; }
  .phone__screen { border-radius: 20px; }
  .shorts__cap { font-size: 13px; line-height: 22px; }
  .shorts-nav { display: none; } /* スマホは指で横スクロール */
}

/* ==========================================================
   他社の経営者から見たトルク(先輩の声)
   ========================================================== */
.msg__head { display: flex; gap: 18px; align-items: flex-start; }
.msg__photo {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 5px;
  object-fit: cover;
}
.msg__photo--none { background: #e6e6e6; }
.msg__who { min-width: 0; }
.msg__name { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 32px; }
.msg__role { font-size: 14px; font-weight: 700; line-height: 24px; color: var(--route); }
.msg__note { font-size: 13px; line-height: 22px; color: var(--gray-text); }
.msg__text { margin-top: 16px; font-size: 15px; line-height: 27px; }
.msg__link { color: var(--route); font-weight: 700; text-decoration: underline; }
.msg__link:hover { text-decoration: none; }
@media (max-width: 768px) {
  .msg__head { gap: 14px; }
  .msg__photo { width: 96px; height: 96px; }
  .msg__name { margin-top: 6px; font-size: 18px; line-height: 30px; }
  .msg__text { font-size: 14px; line-height: 26px; }
}

/* ==========================================================
   研修 (training) 公式サイト 24torque.jp/training の移植(2026-10-29)
   ========================================================== */
.mv--training .mv__title { font-size: 28px; line-height: 44px; }
.instructor { margin-top: 36px; }
.instructor + .instructor { margin-top: 30px; }
.instructor .msg__photo { width: 150px; height: 178px; object-position: center top; }
.instructor .msg__name { margin-top: 12px; font-size: 24px; line-height: 36px; }
.instructor__en {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 16px;
  color: var(--gray-text);
}
.instructor__spec { margin-top: 24px; }
.instructor__spec dt { padding: 14px 20px; }
.instructor__spec dd { padding: 14px 24px; font-size: 15px; line-height: 27px; }
.instructor__thought { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--gray); }
.instructor__thought-title { font-size: 20px; font-weight: 700; line-height: 32px; color: var(--route); }
.instructor__text { margin-top: 12px; font-size: 15px; line-height: 27px; }
@media (max-width: 768px) {
  .mv--training .mv__title { font-size: 22px; line-height: 34px; }
  .instructor { margin-top: 28px; }
  .instructor .msg__photo { width: 110px; height: 130px; }
  .instructor .msg__name { margin-top: 8px; font-size: 20px; line-height: 32px; }
  .instructor__spec dt { padding: 12px 14px; }
  .instructor__spec dd { padding: 12px 14px; font-size: 14px; line-height: 26px; }
  .instructor__thought-title { font-size: 18px; line-height: 30px; }
  .instructor__text { font-size: 14px; line-height: 26px; }
}

/* ==========================================================
   スマホ用 右下固定「応募・面談」ボタン(オーナー指示 2026-10-29)
   768px 以下で常に表示。PC では非表示。
   ========================================================== */
.sticky-apply { display: none; }
@media (max-width: 768px) {
  .sticky-apply {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 20px 0 22px;
    border-radius: 100px;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    -webkit-tap-highlight-color: transparent;
  }
  .sticky-apply:hover,
  .sticky-apply:active { background: var(--red-hover); color: #fff; }
  .sticky-apply .btn__arrow { width: 14px; height: 15px; flex: none; }
  /* ボタンの下にフッターの内容が隠れないよう余白を足す */
  .footer { padding-bottom: 84px; }
}

/* ==========================================================
   AI チャット(左下)。js/chat.js が生成する。2026-10-29
   ========================================================== */
.tchat { position: fixed; left: 14px; bottom: 14px; z-index: 95; font-family: var(--sans); }
.tchat__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: 100px;
  background: var(--blue, #1a5fb4);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.tchat__toggle:hover { filter: brightness(1.08); }
.tchat__panel {
  position: absolute;
  left: 0;
  bottom: 64px;
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 560px;
  max-height: calc(100vh - 100px);
  display: none; /* 開いたときだけ .is-open で表示(hidden 属性が display:flex に負けて閉じられなかった不具合の修正 2026-10-29) */
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.tchat.is-open .tchat__panel { display: flex; }
.tchat__panel[hidden] { display: none !important; }
.tchat__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--blue, #1a5fb4); color: #fff; }
.tchat__title { margin: 0; font-size: 15px; font-weight: 700; }
.tchat__close { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.tchat__log { flex: 1; overflow-y: auto; padding: 14px 12px; background: #f4f6f9; }
.tchat__msg { max-width: 88%; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.tchat__msg--assistant { background: #fff; border: 1px solid #e3e7ee; border-bottom-left-radius: 4px; }
.tchat__msg--user { margin-left: auto; background: var(--blue, #1a5fb4); color: #fff; border-bottom-right-radius: 4px; }
.tchat__msg--typing { color: #888; letter-spacing: 2px; }
.tchat__msg a { color: inherit; text-decoration: underline; }
.tchat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: #f4f6f9; }
.tchat__chip { border: 1px solid #c9d2df; background: #fff; border-radius: 100px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.tchat__chip:hover { background: #eef3fa; }
.tchat__form { display: flex; gap: 8px; padding: 10px 12px; background: #f4f6f9; border-top: 1px solid #e3e7ee; box-sizing: border-box; width: 100%; }
/* font-size 16px: iPhone で入力欄にフォーカスしたとき画面が拡大されて送信ボタンが画面外に出る不具合の対策(2026-10-29) */
.tchat__input { flex: 1 1 auto; min-width: 0; width: 100%; resize: none; min-height: 40px; max-height: 96px; padding: 9px 10px; border: 1px solid #c9d2df; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.5; box-sizing: border-box; }
.tchat__send { flex: 0 0 auto; height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tchat__send:disabled { opacity: .5; cursor: default; }
.tchat__foot { display: flex; gap: 12px; justify-content: center; padding: 8px 12px 10px; font-size: 12px; background: #fff; border-top: 1px solid #e3e7ee; }
.tchat__link { color: var(--blue-dark, #0d3a6e); text-decoration: underline; }
.tchat__link--entry { font-weight: 700; color: var(--red); }
@media (max-width: 768px) {
  .tchat { left: 10px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .tchat__toggle { height: 48px; padding: 0 16px 0 14px; font-size: 14px; }
  /* スマホは画面に固定して左右 10px に収める(送信ボタンが右にはみ出さないように) */
  .tchat__panel { position: fixed; left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; height: min(560px, calc(100vh - 100px)); height: min(560px, calc(100dvh - 100px)); }
  .tchat__chip { font-size: 12px; padding: 6px 9px; }
}

/* ==========================================================
   ブログ 2カラム(本文 + サイドバー)  公式サイトと同じ構成
   ========================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.blog-main { min-width: 0; }
.blog-layout .blog-list--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-layout .cat-nav { justify-content: flex-start; }

/* 記事(2カラム版): 題名 → 日付 → アイキャッチ → 本文 */
.blog-layout .post { padding: 50px 0 0; }
.blog-layout .post__head { padding-top: 0; text-align: left; }
.blog-layout .post__title { margin-top: 0; font-size: 26px; line-height: 40px; }
.blog-layout .post__meta { justify-content: flex-start; margin-top: 10px; }
.blog-layout .post__eyecatch { margin-top: 24px; }
.blog-layout .post__body { margin-top: 32px; }
.blog-layout .post__nav { margin-top: 40px; }

/* サイドバー */
.side { padding-top: 50px; }
.side__box + .side__box { margin-top: 36px; }
.side__title {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  color: var(--blue-dark);
}
.side__list li { border-bottom: 1px solid var(--gray); }
.side__list a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  line-height: 24px;
}
.side__list a:hover,
.side__list a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; }
.side__list--rank { counter-reset: rank; }
.side__list--rank a {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}
.side__list--rank a::before {
  counter-increment: rank;
  content: counter(rank);
  position: absolute;
  left: 2px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

/* カレンダー(WP標準の get_calendar) */
.side__calendar { margin-top: 14px; }
.side__calendar .wp-calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}
.side__calendar caption { padding-bottom: 8px; font-weight: 700; color: var(--blue-dark); }
.side__calendar th { padding: 6px 0; background: var(--light-gray); font-weight: 700; }
.side__calendar td { padding: 6px 0; border: 1px solid var(--light-gray); color: var(--gray-text); }
.side__calendar td a { display: block; color: var(--blue-dark); font-weight: 700; text-decoration: underline; }
.side__calendar td#today { background: var(--light-blue); color: #000; }
.side__calendar .wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.side__calendar .wp-calendar-nav a { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 1000px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { padding-top: 0; }
}
@media (max-width: 768px) {
  .blog-layout .blog-list--page { grid-template-columns: minmax(0, 1fr); }
  .blog-layout .post { padding-top: 32px; }
  .blog-layout .post__title { font-size: 22px; line-height: 34px; }
  .side__box + .side__box { margin-top: 28px; }
}

/* 会社概要のリンク */
.company__link { color: var(--blue-dark); text-decoration: underline; }
.company__link:hover { text-decoration: none; }

/* 先輩に聞きました(先輩の声) */
.interview { margin-top: 36px; }
.interview__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  color: var(--route);
}
.interview__role { font-size: 14px; font-weight: 400; line-height: 24px; color: var(--gray-text); }
.interview .faq { margin-top: 12px; }
@media (max-width: 768px) {
  .interview { margin-top: 28px; }
  .interview__name { font-size: 19px; line-height: 30px; }
}

/* TOP: 40代の方への案内(採用区分カードの下)。左に写真、右に文章とボタン */
.age-note {
  max-width: 1200px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 440px 1fr;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0,0,0,.25);
}
.age-note--top { margin: 0 auto 30px; } /* 未経験の案内はカードの上に置く(2026-10-29) */
/* 未経験の案内: 左に女性、中央に文章、右に男性の3列(2026-10-29 オーナー指示) */
/* 行も明示する(列だけだと自動配置で本文が2行目に送られ、写真の枠が高さ0になる)。
   指定の強さは .age-note.age-note--pair にして、後ろにある .age-note のスマホ用1列指定に負けないようにする */
.age-note.age-note--pair { grid-template-columns: 300px 1fr 300px; }
.age-note.age-note--pair .age-note__photo--left  { grid-column: 1; grid-row: 1; }
.age-note.age-note--pair .age-note__body         { grid-column: 2; grid-row: 1; }
.age-note.age-note--pair .age-note__photo--right { grid-column: 3; grid-row: 1; }
.age-note.age-note--pair .age-note__photo img { object-position: 50% 20%; }
@media (max-width: 1024px) {
  .age-note.age-note--pair { grid-template-columns: 220px 1fr 220px; }
}
@media (max-width: 768px) {
  .age-note.age-note--pair { grid-template-columns: 1fr 1fr; }
  .age-note.age-note--pair .age-note__photo--left  { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 3 / 4; }
  .age-note.age-note--pair .age-note__photo--right { grid-column: 2; grid-row: 1; min-height: 0; aspect-ratio: 3 / 4; }
  .age-note.age-note--pair .age-note__body         { grid-column: 1 / -1; grid-row: 2; }
}
.age-note__photo { position: relative; min-height: 100%; }
.age-note__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
.age-note__body { min-width: 0; padding: 30px 34px 32px; }
.age-note__label {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}
.age-note__title { margin-top: 12px; font-size: 22px; font-weight: 700; line-height: 36px; color: var(--blue-dark); }
.age-note__text { margin-top: 10px; font-size: 15px; line-height: 26px; }
.age-note__btn { margin-top: 20px; }
@media (max-width: 768px) {
  .age-note { grid-template-columns: 1fr; margin-top: 24px; }
  .age-note--top { margin: 0 auto 24px; }
  .age-note__photo { min-height: 0; aspect-ratio: 3 / 2; }
  .age-note__body { padding: 20px 18px 22px; }
  .age-note__title { font-size: 18px; line-height: 30px; }
  .age-note__title br { display: none; }
  .age-note__text { font-size: 14px; line-height: 24px; }
  .age-note__btn { width: 100%; }
}
}
