/* ============================================================
   Tsubame Logistics — 採用LP (/recruiting/)
   - クラス接頭辞 rct- (共通ヘッダー/フッターと干渉させない)
   - 共通トークンは main.css の :root を使用
   - ブレークポイント: 960px(タブレット) / 767px(モバイル)
   ============================================================ */

.rct {
  --rct-red: #E60012;
  --rct-red-deep: #C4000F;
  --rct-pink: #F9C1C5;
  --rct-ink: #1A1A1A;
  --rct-ink-2: #444;
  --rct-gray: #6E6E6E;
  --rct-line: #9A9A9A;
  --rct-line-light: #DCDCDC;
  --rct-w: 1160px;
  --rct-w-md: 1000px;
  --rct-gutter: 24px;
  --rct-sec-y: 120px;
  --rct-serif: var(--font-jp-serif);
  --rct-num-font: "Times New Roman", "Noto Serif JP", serif;
  --rct-grad: linear-gradient(90deg, #FCF0F7 0%, #F3F0FA 30%, #DCE6F8 65%, #86BEF2 100%);

  color: var(--rct-ink);
  overflow-x: clip;
}

.rct img { max-width: 100%; height: auto; }

.rct-inner {
  max-width: calc(var(--rct-w) + var(--rct-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--rct-gutter);
}
.rct-inner--md { max-width: calc(var(--rct-w-md) + var(--rct-gutter) * 2); }

.rct-sec { padding: var(--rct-sec-y) 0; }

/* アンカーで飛んだ時に固定ヘッダーで隠れないように */
.rct [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.rct-heading {
  font-family: var(--rct-serif);
  font-weight: 700;
  font-size: clamp(24px, 5.8vw, 38px);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 64px;
}

.rct-grad { background: var(--rct-grad); }

/* モバイルだけ改行 */
br.rct-sp { display: none; }

/* ============================================================
   KV
   ============================================================ */
.rct-kv {
  position: relative;
  margin-top: var(--header-h);
  color: #fff;
  overflow: hidden;
}
.rct-kv__slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
/* 〜1200px: 1枚あたり 420:940 の比率を維持 / 1200px超: 高さ940px固定で3分割 */
.rct .rct-kv__slide { /* .rct img の height:auto より優先させる */
  width: 100%;
  height: auto;
  aspect-ratio: 420 / 940;
  max-height: 940px;
  object-fit: cover;
}
@media (min-width: 1201px) {
  .rct .rct-kv__slide { height: 940px; aspect-ratio: auto; }
}
.rct-kv__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 3.4vw;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.rct-kv__title-lg { font-size: 5.4vw; }

.rct-kv__en {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5%;
  font-family: var(--rct-serif);
  font-size: max(11px, 1.25vw);
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--rct-red);
  line-height: 1;
}

.rct-kv__entry {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: max(40px, 3.6vw);
  padding-right: 2%;
  background: var(--rct-red);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: max(13px, 1.4vw);
  letter-spacing: 0.3em;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  transition: background 0.2s;
}
.rct-kv__entry:hover { background: var(--rct-red-deep); }

/* ============================================================
   メッセージ + 動画
   ============================================================ */
.rct-intro { text-align: center; padding-top: 90px; }
.rct-intro__catch {
  font-family: var(--rct-serif);
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 34px);
  letter-spacing: 0.5em;
  margin-right: -0.5em; /* letter-spacing分の右余白を相殺して中央に */
}
.rct-intro__logo {
  width: 340px;
  max-width: 64%;
  margin: 48px auto 0;
}
.rct-intro__en {
  margin-top: 14px;
  font-family: var(--rct-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--rct-red);
}
.rct-intro__text { /* 中央に置き、折り返した行は左揃え(PCは改行位置固定で各行中央) */
  display: table;
  margin: 44px auto 0;
  font-family: var(--rct-serif);
  font-size: 17px;
  line-height: 2.6;
}

.rct-movie {
  position: relative;
  margin-top: 90px;
  aspect-ratio: 16 / 9;
  background: #000;
}
.rct-movie__btn,
.rct-movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.rct-movie__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rct-movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136px;
  height: 136px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}
.rct-movie__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 22px 0 22px 36px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}
.rct-movie__btn:hover .rct-movie__play,
.rct-movie__btn:focus-visible .rct-movie__play { background: rgba(0, 0, 0, 0.25); }

/* ============================================================
   選ばれる5つの理由
   ============================================================ */
.rct-reasons { padding-top: 40px; }
.rct-reasons__list {
  display: grid;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.rct-reason {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 350px;
}
.rct-reason__body {
  position: relative;
  padding: 44px 44px 36px;
  background: var(--rct-red);
  color: #fff;
}
.rct-reason__num {
  position: absolute;
  top: 18px;
  left: 14px;
  font-family: var(--rct-num-font);
  font-size: 43px;
  line-height: 1;
}
.rct-reason__title {
  padding-left: 96px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.rct-reason__text {
  margin-top: 28px;
  font-family: var(--rct-serif);
  font-size: 18px;
  line-height: 2;
}
.rct-reason__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   数字でみるツバメロジス
   ============================================================ */
.rct-numbers { padding-top: 40px; }
.rct-numbers__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.rct-numbers__grid::before { /* 中央の縦線 */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rct-ink-2);
}

.rct-num {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid var(--rct-ink-2);
}
.rct-num:first-child { padding-top: 0; }
.rct-num--last { border-bottom: 0; padding-bottom: 0; }

.rct-num__label {
  font-family: var(--rct-serif);
  font-size: 17px;
  line-height: 1.6;
  white-space: nowrap;
}
.rct-num__label small {
  display: block;
  font-size: 13px;
}
.rct-num__label small.rct-num__label-sub { font-size: 17px; }

.rct-num--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rct-num__value {
  font-family: var(--rct-num-font);
  font-size: 88px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rct-num__value--xl { font-size: 96px; }
.rct-num__value--md { font-size: 56px; }
.rct-num__unit {
  margin-left: 6px;
  font-family: var(--rct-serif);
  font-size: 15px;
}
.rct-num__cap {
  display: block;
  margin-bottom: 6px;
  font-family: var(--rct-serif);
  font-size: 17px;
  line-height: 1.4;
}
.rct-num__pair {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

/* --- 円グラフ ---
   circle を太い stroke で描画(r=25 / stroke-width=50 で中心まで塗る)。
   pathLength=100 なので stroke-dasharray は割合(%)で書ける。 */
.rct-num--chart {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.rct-pie {
  position: relative;
  flex-shrink: 0;
  width: var(--pie, 230px);
  margin: 0 40px 0 auto;
}
.rct-pie svg {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-90deg); /* 12時の位置から開始 */
}
.rct-pie circle {
  fill: none;
  stroke-width: 50;
}
.rct-pie__mask {
  stroke: #fff;
  stroke-dasharray: 100 100;
  transition: stroke-dasharray 1.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.rct-pie__in {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--rct-serif);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}
.rct-pie__in--dark { color: var(--rct-ink); }

/* 職業別: 外側ラベル(位置はグラフの幅に対する%) */
.rct-num--jobs { padding-bottom: 40px; }
.rct-pie--jobs { margin-top: 70px; }
.rct-pie__out-item {
  position: absolute;
  font-family: var(--rct-serif);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rct-line);
}
.rct-pie__out-item--other { right: 43.5%; top: -14%; border-bottom: 0; }
.rct-pie__out-item--other::after { /* グレーの扇形へ下ろす線 */
  content: "";
  position: absolute;
  left: 70%;
  top: 100%;
  width: 1px;
  height: 46px;
  background: var(--rct-line);
}
.rct-pie__out-item--heavy { right: 85%; top: 1%; }
.rct-pie__out-item--sales { right: 89.5%; top: 17.5%; }
.rct-pie__out-item--intl  { right: 96.5%; top: 32%; }

/* --- 棒グラフ --- */
.rct-num--age {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.rct-age { flex: 1; }
.rct-bars {
  display: flex;
  align-items: flex-end;
  gap: 21px;
  height: 180px;
  margin-top: 16px;
  padding: 0 10px;
  border-bottom: 1.5px solid var(--rct-ink-2);
}
.rct-bars li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
}
.rct-bars__val {
  font-family: var(--rct-serif);
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
}
.rct-bars__bar {
  width: 100%;
  height: calc(var(--v) * 2.4px);
  background: var(--rct-pink);
  transform-origin: bottom;
  transition: transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}
.rct-bars__key {
  position: absolute;
  top: calc(100% + 6px);
  font-family: var(--rct-serif);
  font-size: 13px;
  white-space: nowrap;
}
.rct-tenure { text-align: left; padding-bottom: 10px; }
.rct-tenure .rct-num__value { margin-top: 18px; text-align: center; }
.rct-num--age + .rct-num { margin-top: 30px; } /* 棒グラフの目盛り分 */

/* --- アニメーション(JS有効時のみ初期状態を隠す) --- */
.rct-anim .rct-pie__mask { stroke-dasharray: 0 100; }
.rct-anim .rct-bars__bar { transform: scaleY(0); }
.rct-anim .rct-bars li:nth-child(2) .rct-bars__bar { transition-delay: 0.08s; }
.rct-anim .rct-bars li:nth-child(3) .rct-bars__bar { transition-delay: 0.16s; }
.rct-anim .rct-bars li:nth-child(4) .rct-bars__bar { transition-delay: 0.24s; }
.rct-anim .rct-bars li:nth-child(5) .rct-bars__bar { transition-delay: 0.32s; }
.rct-anim .rct-pie__in,
.rct-anim .rct-bars__val { opacity: 0; transition: opacity 0.6s 1s; }
.rct-anim .is-in .rct-pie__mask { stroke-dasharray: 100 100; }
.rct-anim .is-in .rct-bars__bar { transform: scaleY(1); }
.rct-anim .is-in .rct-pie__in,
.rct-anim .is-in .rct-bars__val { opacity: 1; }

/* ============================================================
   ツバメロジスで働く人々
   ============================================================ */
.rct-people__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  max-width: 1085px;
  margin: 0 auto;
}
.rct-person__img {
  width: 100%;
  aspect-ratio: 645 / 500;
  object-fit: cover;
}
.rct-person__quote {
  margin-top: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}
.rct-person__meta {
  margin-top: 18px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.6;
  color: var(--rct-gray);
}

/* ============================================================
   募集中のポジション
   ============================================================ */
/* 見出し直下の案内文(見出しの下余白を詰めて、案内文の下で取り直す) */
.rct-positions__note {
  margin: -40px 0 56px;
  text-align: center;
  font-family: var(--font-jp);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--rct-ink-2);
}
.rct-positions__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 26px;
}
.rct-position__inner { display: block; height: 100%; }

/* クリックできると分かるように、カードを薄いグレーの枠で囲む */
.rct-position__inner,
.rct-subpos__inner {
  border: 1px solid var(--rct-line-light);
  background: #fff;
}
.rct-position__inner { padding: 14px 14px 24px; }
.rct-subpos__inner { padding: 14px; }

/* ホバーで影を出して少し浮かせる */
a.rct-position__inner,
a.rct-subpos__inner {
  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease;
}
a.rct-position__inner::before,
a.rct-subpos__inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: opacity 0.25s ease;
}
a.rct-position__inner:hover,
a.rct-position__inner:focus-visible,
a.rct-subpos__inner:hover,
a.rct-subpos__inner:focus-visible { transform: translateY(-4px); }
a.rct-position__inner:hover::before,
a.rct-position__inner:focus-visible::before,
a.rct-subpos__inner:hover::before,
a.rct-subpos__inner:focus-visible::before { opacity: 1; }
.rct-position__img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}
.rct-position__title {
  margin-top: 26px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.rct-position__lead {
  margin-top: 18px;
  font-family: var(--rct-serif);
  font-size: 13px;
  line-height: 1.9;
}
.rct-position__points {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rct-line);
  font-family: var(--rct-serif);
  font-size: 13px;
  line-height: 1.85;
}
.rct-position__points li {
  padding-left: 1em;
  text-indent: -1em;
}
.rct-position__points li::before { content: "・"; }

.rct-empty {
  text-align: center;
  font-family: var(--rct-serif);
}

/* パート・派遣 */
.rct-subpos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1160px;
  margin: 120px auto 0;
}
.rct-subpos__inner {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 18px;
  align-items: start;
}
.rct-subpos__img {
  width: 100%;
  aspect-ratio: 520 / 340;
  object-fit: cover;
}
.rct-subpos__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}
.rct-subpos__text {
  margin-top: 16px;
  font-family: var(--rct-serif);
  font-size: 13px;
  line-height: 2;
}

/* ============================================================
   福利厚生
   ============================================================ */
.rct-welfare { text-align: center; padding-top: 40px; }
.rct-welfare__catch {
  font-family: var(--rct-serif);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 33px);
  letter-spacing: 0.35em;
  margin-right: -0.35em;
}
.rct-welfare__lead { /* 中央に置き、折り返した行は左揃え */
  display: table;
  margin: 26px auto 0;
  text-align: left;
  font-family: var(--rct-serif);
  font-size: 15px;
}
.rct-welfare__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 110px;
  border-top: 1px solid var(--rct-line);
  border-left: 1px solid var(--rct-line);
  text-align: left;
}
.rct-welfare__item {
  padding: 30px 26px;
  border-right: 1px solid var(--rct-line);
  border-bottom: 1px solid var(--rct-line);
}
.rct-welfare__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}
.rct-welfare__text {
  margin-top: 10px;
  font-family: var(--rct-serif);
  font-size: 14px;
  line-height: 2.1;
}
.rct-welfare__item--icon {
  display: flex;
  align-items: center;
  gap: 28px;
}
.rct-welfare__item--icon .rct-welfare__text { margin-top: 0; }
.rct-welfare__icon {
  order: -1; /* PCはイラストを左に */
  flex-shrink: 0;
  width: 100px;
}

/* ============================================================
   募集要項・エントリー
   ============================================================ */
.rct-entry { padding-top: 0; }
.rct-entry__box {
  position: relative;
  padding: 70px 80px 260px;
  text-align: center;
  isolation: isolate;
}
/* 下部の街並み: 上をフェードさせてグラデーションに溶かす */
.rct-entry__box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: url("../img/recruiting/nextstage_bk.jpg") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  z-index: -1;
}
.rct-entry__en {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.rct-entry__title {
  margin-top: 20px;
  font-family: var(--rct-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.rct-entry__lead { /* 改行しても左揃えのまま中央に置く */
  display: table;
  margin: 8px auto 0;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
}

.rct-minds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 930px;
  margin: 80px auto 0;
  text-align: left;
}
.rct-mind {
  --mind-img: 180px;
  display: grid;
  grid-template-columns: var(--mind-img) 1fr;
  min-height: calc(var(--mind-img) * 400 / 340); /* 写真(340:400)の高さを確保 */
  background: #fff;
}
.rct .rct-mind__img { /* カードの高さいっぱいに表示(.rct img の height:auto より優先) */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rct-mind__body { /* 文字は上下中央 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
}
.rct-mind__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.65;
}
.rct-mind__text {
  margin-top: 28px;
  font-family: var(--rct-serif);
  font-size: 12px;
  line-height: 2;
}

.rct-entry__message {
  margin-top: 80px;
  font-weight: 700;
  font-size: 22px;
  line-height: 2.8;
  letter-spacing: 0.1em;
}

.rct-entry__btns {
  display: grid;
  gap: 44px;
  max-width: 920px;
  margin: 60px auto 0;
}
.rct-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 12px 90px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: clamp(16px, 2.1vw, 30px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rct-btn::after { /* 右の丸矢印 */
  content: "";
  position: absolute;
  top: 50%;
  right: 50px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  background: center / contain no-repeat;
}
.rct-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.rct-btn--red { background: var(--rct-red); color: #fff; }
.rct-btn--red::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fff'/%3E%3Cpath d='M11 20h16M21 13l7 7-7 7' fill='none' stroke='%23E60012' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.rct-btn--white { background: #fff; color: var(--rct-red); }
.rct-btn--white::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23E60012'/%3E%3Cpath d='M11 20h16M21 13l7 7-7 7' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================================
   タブレット
   ============================================================ */
@media (max-width: 1100px) {
  .rct-reason { min-height: 0; }
  .rct-reason__body { padding: 3.2vw 3.2vw 2.8vw; }
  .rct-reason__num { font-size: 3.6vw; }
  .rct-reason__title { padding-left: 8vw; font-size: 2.8vw; }
  .rct-reason__text { margin-top: 2vw; font-size: max(13px, 1.5vw); }
}

@media (max-width: 960px) {
  .rct { --rct-sec-y: 88px; }

  .rct-numbers__grid { column-gap: 40px; }
  .rct-num__value { font-size: 64px; }
  .rct-num__value--xl { font-size: 64px; }
  .rct-num__value--md { font-size: 44px; }
  .rct-bars { gap: 12px; padding: 0; }
  .rct-bars li { width: 28px; }
  .rct-pie { --pie: 200px; margin-right: 0; }

  .rct-positions__list { grid-template-columns: repeat(2, 1fr); }
  .rct-position__title { font-size: 21px; }

  .rct-subpos { grid-template-columns: 1fr; max-width: 640px; margin-top: 88px; }

  .rct-entry__box { padding: 60px 40px 220px; }
  .rct-minds { gap: 24px; }
  .rct-mind { --mind-img: 140px; }
  .rct-mind__body { padding: 0 18px; }
  .rct-mind__text { margin-top: 14px; }
  .rct-btn { min-height: 80px; padding: 12px 72px; }
  .rct-btn::after { right: 24px; width: 34px; height: 34px; }
}

/* ============================================================
   モバイル
   ============================================================ */
@media (max-width: 819px) {
  /* 数字: 左列を上、右列を下 */
  .rct-numbers__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .rct-numbers__grid::before { display: none; }
  .rct-numbers__col + .rct-numbers__col { border-top: 1px solid var(--rct-ink-2); }
  .rct-num:first-child { padding-top: 32px; }
  .rct-numbers__col:first-child .rct-num:first-child { padding-top: 0; }
  .rct-num--last { padding-bottom: 32px; }
  .rct-numbers__col:last-child .rct-num--last { padding-bottom: 0; }
  .rct-num__value { font-size: 60px; }
  .rct-num__value--xl { font-size: 54px; }
  .rct-num__value--md { font-size: 40px; }
  .rct-num__label { font-size: 15px; }
  .rct-num__cap { font-size: 14px; }
  .rct-num--chart { flex-direction: row; }
  .rct-pie { --pie: 180px; margin-right: 0; }
  .rct-pie__in { font-size: 13px; }
  .rct-num--jobs { flex-direction: column; }
  .rct-num--jobs .rct-pie { --pie: 190px; margin: 56px 0 0 auto; }
  .rct-pie__out-item { font-size: 12px; }
  .rct-pie__out-item--other::after { height: 36px; }
  .rct-num--age { flex-direction: column; align-items: stretch; }
  .rct-bars { justify-content: space-around; height: 170px; }
  .rct-bars li { width: 32px; }
  .rct-bars__bar { height: calc(var(--v) * 2.2px); }
  .rct-tenure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 0;
  }
  .rct-tenure .rct-num__value { margin-top: 0; }
  .rct-num--age + .rct-num { margin-top: 0; }
  .rct-num--last.rct-num--row { flex-direction: column; align-items: flex-start; }
  .rct-num__pair { align-self: flex-end; }
}

@media (max-width: 767px) {
  .rct { --rct-gutter: 16px; --rct-sec-y: 64px; }
  .rct-heading { margin-bottom: 40px; }
  .rct-positions__note { margin: -20px 0 32px; font-size: 13px; }

  /* KV: 3枚をフェードで切り替え(recruiting.js) */
  .rct-kv__slides {
    display: block;
    position: relative;
    aspect-ratio: 840 / 940;
  }
  .rct .rct-kv__slide {
    position: absolute;
    aspect-ratio: auto;
    max-height: none;
    inset: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 1.4s ease;
  }
  .rct-kv__slide.is-active { opacity: 1; }
  br.rct-sp { display: inline; }
  .rct-kv__title { bottom: 9%; font-size: 6.4vw; line-height: 1.3; }
  .rct-kv__title-lg { font-size: 11vw; }
  .rct-kv__en { font-size: 3vw; bottom: 3%; }
  .rct-kv__entry { width: 34%; height: 40px; font-size: 14px; }

  .rct-intro { padding-top: 56px; }
  .rct-intro__catch { letter-spacing: 0.2em; margin-right: -0.2em; font-size: 5vw; }
  .rct-intro__logo { margin-top: 32px; }
  .rct-intro__text { margin-top: 28px; font-size: 14px; line-height: 2.2; text-align: left; }
  .rct-intro__text br { display: none; }
  .rct-movie { margin-top: 48px; margin-left: calc(var(--rct-gutter) * -1); margin-right: calc(var(--rct-gutter) * -1); }
  .rct-movie__play { width: 80px; height: 80px; }
  .rct-movie__play::after { border-width: 14px 0 14px 22px; }

  /* 5つの理由: 写真を下に */
  .rct-reasons__list { gap: 28px; }
  .rct-reason { grid-template-columns: 1fr; min-height: 0; }
  .rct-reason__body { padding: 22px 20px 24px; }
  .rct-reason__num { top: 18px; left: 16px; font-size: 26px; }
  .rct-reason__title { padding-left: 50px; font-size: 20px; }
  .rct-reason__text { margin-top: 14px; }
  .rct-reason__img img { aspect-ratio: 950 / 610; height: auto; }

  /* 働く人々 */
  .rct-people__list { grid-template-columns: 1fr; gap: 40px; max-width: 500px; }

  /* ポジション: 1列(画像の解像度的に最大500px) */
  .rct-positions__list { grid-template-columns: 1fr; gap: 48px; max-width: 500px; margin: 0 auto; }
  .rct-position__title { margin-top: 18px; font-size: 21px; }
  .rct-position__lead { margin-top: 10px; }

  .rct-subpos { margin-top: 64px; gap: 40px; max-width: 500px; }
  .rct-subpos__inner { grid-template-columns: 1fr; gap: 16px; }

  /* 福利厚生: 2列 × 3行。イラストは文章の下 */
  .rct-welfare__catch { font-size: 4.8vw; letter-spacing: 0.12em; margin-right: -0.12em; line-height: 1.8; }
  .rct-welfare__lead { font-size: 13px; }
  .rct-welfare__grid { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .rct-welfare__item { padding: 20px 14px; }
  .rct-welfare__title { font-size: clamp(13px, 3.7vw, 16px); letter-spacing: 0; }
  .rct-welfare__text { font-size: 12.5px; line-height: 1.9; }
  .rct-welfare__item--icon { flex-direction: column; align-items: center; gap: 12px; }
  .rct-welfare__icon { order: 0; width: 80px; }

  /* 募集要項・エントリー */
  .rct-entry__box { padding: 48px var(--rct-gutter) 200px; }
  .rct-entry__box::after { height: 300px; }
  .rct-entry__en { font-size: 15px; }
  .rct-entry__lead { font-size: 13px; }
  .rct-minds { grid-template-columns: 1fr; gap: 24px; max-width: 500px; margin-top: 40px; }
  /* モバイル: 写真を上、文字を下 */
  .rct-mind { grid-template-columns: 1fr; min-height: 0; }
  .rct .rct-mind__img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .rct-mind__body { padding: 20px 18px 24px; }
  .rct-mind__title { font-size: 16px; }
  .rct-mind__text { margin-top: 10px; }
  .rct-entry__message { margin-top: 48px; font-size: 16px; line-height: 2.2; letter-spacing: 0.04em; }
  .rct-entry__btns { gap: 20px; margin-top: 36px; }
  .rct-btn { min-height: 64px; padding: 10px 56px 10px 24px; font-size: 16px; letter-spacing: 0.04em; }
  .rct-btn::after { right: 16px; width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .rct *,
  .rct *::before,
  .rct *::after {
    transition: none !important;
  }
}
