/* ==========================================================================
 * Page Name : 採用css
 * File Name : /assets/css/style.css
 * Created   : 2026-08-10
 * Updated   : 
 * ========================================================================== */

/* ========================================
  　root
======================================== */
:root {
  --text-black: #2d2d2d;
  --text-white: #ffffff;
  --text-red: #ed3c1b;

  --color-system: #409ed9;
  --color-system2: #eaf5fc;
  --color-design: #f97316;
  --color-design2: #fff1e6;
  --color-dark-blue: #243b53;
  --color-base: #fff8f0;
  --color-button-yellow: #ffe200;

  /* システムの青 */
  --color-system01: #243b53;
  --color-system02: #2d5e7c;
  --color-system03: #4e8bb1;
  /* デザインのオレンジ */
  --color-design01: #533624;
  --color-design02: #814f2d;
  --color-design03: #c3723b;

  --font-weight-regular: 400;
  --font-weight-bold: 700;
}

/* ========================================
  　フォント
======================================== */
/* Zen Kaku Gothic */
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../font/ZenKakuGothicNew/ZenKakuGothicNew-Bold.ttf")
    format("truetype");
  font-weight: var(--font-weight-bold);
  font-style: bold;
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../font/ZenKakuGothicNew/ZenKakuGothicNew-Medium.ttf")
    format("truetype");
  font-weight: 400;
  font-style: medium;
  font-display: swap;
}

html,
body {
  overflow-x: clip;
}

/* 角丸 */
.br-m {
  border-radius: 9999px;
}

.br-50 {
  border-radius: 50px;
}

.br-30 {
  border-radius: 30px;
}

.br-25 {
  border-radius: 25px;
}

.br-15 {
  border-radius: 15px;
}

.sys {
  color: var(--color-system);
}
.del {
  color: var(--color-design);
}

body {
  background-color: var(--text-red);
  font-family: "Zen Kaku Gothic New";
  font-size: 16px;
  line-height: 1.5;
}

.sp {
  display: none;
}

/* ========================================
  　header
======================================== */
.recruit-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.recruit-header__inner {
  max-width: 1920px;
  /* XDのアートボード幅に合わせて調整 */
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* 左:ロゴの白ボックス(右下だけ角丸) */
.header-logo-area {
  display: flex;
  align-items: center;
  height: var(--header-height);
  background-color: #fff;
  border-right: 3px solid var(--color-ink);
  border-bottom: 3px solid var(--color-ink);
  border-radius: 0 0 56px 0;
  padding: 0 40px 0 32px;
  height: 80px;
  border: 2px solid var(--text-black);
  border-top: none;
}

.header-logo-area .header-logo img {
  display: block;
  width: 70px;
}

/* 右:ナビ+ボタンの白ボックス(左下だけ角丸) */
.header-right {
  height: var(--header-height);
}

.header-nav {
  height: 100%;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 10px 40px 10px 48px;
  background-color: #fff;
  border-left: 2px solid var(--text-black);
  border-bottom: 2px solid var(--text-black);
  border-radius: 0 0 0 56px;
}

.header-nav ul li a {
  color: var(--text-black);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header-nav ul li a:not(.header-button):hover {
  color: var(--text-red);
}

.header-nav ul li a.header-button {
  color: var(--text-white);
}

.header-nav ul li.header-dropdown {
  position: relative;
}
.header-nav ul li.header-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; /* liの下端から */
  left: -16px; /* メニュー名より左右に16pxだけ広げる */
  right: -16px;
  height: 14px; /* すき間12pxより少し大きく */
}

.header-button {
  appearance: none;
  border: none;
  cursor: pointer;
  background-color: var(--color-dark-blue);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  height: 55px;
  width: 140px;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  display: flex;
  color: var(--text-white);
}

.header-nav ul li.header-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-white);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 100;
}

/* ホバーで表示 */
.header-nav ul li.header-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid var(--text-white);
}

.dropdown-people {
  width: 590px;
  padding: 12px;
}

/* システム / デザイン */
.dropdown-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 10px;
}

.dropdown-category > div {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}

.category-system {
  background: var(--color-system2);
  color: var(--color-system);
}

.category-design {
  background: var(--color-design2);
  color: var(--color-design);
}

/* インタビュー2列 */

.dropdown-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

.dropdown-column a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 10px;
  border-bottom: 1px solid #ccc;
  color: #3c3c3c;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* ========================================
   環境を知る
======================================== */

.dropdown-environment {
  width: 330px;
  padding: 20px 26px;
}

.dropdown-environment > a {
  position: relative;
  display: block;
  padding: 10px 30px 12px 0;
  border-bottom: 1px dashed var(--text-red);
  color: var(--text-black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.dropdown-environment > a:last-child {
  border-bottom: none;
}

/* タイトル */
.dropdown-environment strong {
  display: block;
  margin-bottom: 3px;
  font-weight: var(--font-weight-bold);
}

/* 説明 */

.dropdown-environment span:not(.arrow) {
  display: block;
  color: #777;
  font-size: 12px;
}

/* 矢印 */
.dropdown-environment .arrow {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--text-red);
  font-size: 26px;
  font-weight: var(--font-weight-regular);
}

/* ホバー */
.dropdown-environment > a:hover {
  opacity: 0.5;
}

.footer-entry {
  position: relative;
  overflow: hidden;
}

.entry-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ========================================
   SP ハンバーガーメニュー
======================================== */

.sp-hamburger {
  display: none; /* PCでは非表示 */
  appearance: none;
  border: none;
  background: var(--text-white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.sp-hamburger span {
  display: block;
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--text-black);
  transform: translateX(-50%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sp-hamburger span:nth-child(1) {
  top: 20px;
}
.sp-hamburger span:nth-child(2) {
  top: 27px;
}
.sp-hamburger span:nth-child(3) {
  top: 34px;
}

/* オーバーレイ */
.sp-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* スライドメニュー本体 */
.sp-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(85%, 360px);
  height: 100%;
  background: var(--text-white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 30px 24px 40px;
  box-sizing: border-box;
}

/* 開いた状態 */
body.sp-menu-open .sp-menu-overlay {
  display: block;
  opacity: 1;
}

body.sp-menu-open .sp-menu {
  display: block;
  transform: translateX(0);
}

body.sp-menu-open {
  overflow: hidden; /* 背景スクロール防止 */
}

/* 閉じるボタン */
.sp-menu-close {
  appearance: none;
  border: none;
  background: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.sp-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--text-black);
}

.sp-menu-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.sp-menu-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* メニューリスト */
.sp-menu-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.sp-menu-list > li {
  border-bottom: 1px solid var(--text-white);
}

.sp-menu-list > li > a {
  display: block;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-black);
  text-decoration: none;
}

/* アコーディオン */
.sp-accordion-trigger {
  appearance: none;
  border: none;
  background: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-black);
  cursor: pointer;
  text-align: left;
}

.sp-accordion-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sp-accordion-icon::before,
.sp-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-black);
  transition: transform 0.2s ease;
}

.sp-accordion-icon::before {
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%);
}

.sp-accordion-icon::after {
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%);
}

/* 開いたら「×」に */
.sp-accordion.is-open .sp-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.sp-accordion-panel {
  display: none;
  padding: 0 4px 12px;
}

.sp-accordion.is-open .sp-accordion-panel {
  display: block;
}

.sp-accordion-panel > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-black);
  text-decoration: none;
  border-radius: 8px;
  background: var(--text-white);
}

.sp-arrow {
  color: var(--text-red);
  font-size: 18px;
}

/* タグ分けグループ（システム事業部／デザイン） */
.sp-tag-group {
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden; /* 中の要素の角を切り取って、グループ全体を角丸に見せる */
  padding: 10px 10px 2px; /* 箱の内側の余白 */
}

.sp-tag-system {
  background: var(--color-system2); /* システム事業部グループの背景色 */
}

.sp-tag-design {
  background: var(--color-design2); /* デザイングループの背景色 */
}

.sp-tag-label {
  display: block; /* 独立した行にする（前回の修正） */
  width: fit-content;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.sp-tag-system .sp-tag-label {
  background: #c5e4f7; /* ラベル自体は少し濃い色のピル型バッジとして残す */
  color: var(--color-system);
}

.sp-tag-design .sp-tag-label {
  background: #ffd9bb;
  color: var(--color-design);
}

.sp-tag-system a,
.sp-tag-design a {
  display: flex; /* ← 追加：これがないと inline のまま */
  justify-content: space-between;
  align-items: center;
  background: none;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--text-black);
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sp-tag-system a:last-child,
.sp-tag-design a:last-child {
  border-bottom: none;
}

/* 下部ボタン */
.sp-menu-buttons {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 55px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.sp-btn-navy {
  background: var(--color-dark-blue);
  color: var(--text-white);
}

.sp-btn-red {
  background: var(--text-red);
  color: var(--text-white);
}

.sp-btn-icon {
  width: 18px;
  height: auto;
}

/* ========================================
   1000px以下：SP表示切り替え
======================================== */
@media (max-width: 1000px) {
  .header-nav {
    display: none; /* PC用ナビを隠す */
  }

  .sp-hamburger {
    display: block;
  }

  /* .recruit-header__inner {
    padding: 0 20px;
  } */

  .header-logo-area {
    height: 60px;
    padding: 0 20px;
  }

  .header-logo-area .header-logo img {
    width: 50px;
  }

  .header-right {
    display: flex;
    align-items: center;
    height: 60px;
    padding-right: 4px;
  }
}

/* ========================================
　 Footer
======================================== */

.recruit-footer {
  position: relative;
  overflow: hidden;
}

/* ========================================
  ENTRY
======================================== */

.footer-entry {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0; /* 高さを固定せず、余白で調整 */
  z-index: 2;
}

.footer-entry-inner {
  position: relative;
  width: 80%;
  max-width: 850px;
  margin: 0 auto;
}

.footer-entry-image {
  position: static; /* absoluteをやめて自然な高さを持たせる */
  width: 100%;
  height: auto;
  display: block;
}

.footer-entry-button {
  position: absolute;
  /* 画像内のボタンの位置に合わせて%で指定（要微調整） */
  left: 50%;
  top: 66%;
  width: 26%;
  height: 14%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-button-yellow);
  color: var(--text-black);
  font-size: clamp(12px, 1.6vw, 18px); /* 文字サイズも連動して縮小 */
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  z-index: 4;
}

.footer-entry-button:hover {
  opacity: 0.6;
}

.footer-main {
  position: relative;
  min-height: 380px;
  background-color: var(--color-dark-blue);
}

.footer-navy-logo img {
  display: block;
  width: 100px;
  height: auto;
}

.footer-mountain {
  position: absolute;
  top: -170px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 上揃えにする */
  padding: 40px 40px; /* 上下左右の余白 */
  color: var(--text-white); /* 文字色を白に */
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* 左側のグループ：3つの列を横並びにする */
.footer-left {
  flex: 1 1 auto; /* 余ったスペースを埋めつつ、足りなければ縮む */
  min-width: 0; /* flexアイテムが縮めるようにする重要な指定 */
  --menu-gap: clamp(12px, 2.5vw, 60px);
  gap: var(--menu-gap);
  display: flex;
  max-width: 550px;
}

.footer-left > div {
  position: relative;
  flex: 1 1 0; /* 3列が均等に縮む */
  min-width: 0;
}

.footer-left > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(var(--menu-gap) / -2); /* gapの半分の位置＝常に中央 */
  top: 5px;
  height: calc(100% - 40px);
  border-right: 1px dashed var(--text-white);
}

.menu-column h3 {
  font-size: clamp(13px, -10.33px + 2.333vw, 20px);
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--text-red); /* 画像にある赤い下線 */
  padding-bottom: 5px;
  color: var(--text-white);
  white-space: nowrap;
}

.menu-column ul {
  list-style: none;
  padding: 10 0;
  font-size: clamp(11px, 0.95vw, 16px); /* 16px→11pxまで縮む */
  word-break: keep-all; /* 「仕事・人を｜知る」のような変な位置での改行を防ぐ */
  overflow-wrap: break-word; /* 本当に入らない時だけ折り返す */
}

.menu-column li {
  list-style-type: disc;
  font-size: clamp(14px, 7.25px + 0.625vw, 16px);
  word-break: keep-all;
  overflow-wrap: break-word;
  margin-bottom: 10px;
  font-weight: 400;
  list-style-position: inside;
}

/* 右側のグループ：テキストとボタンを右寄せにする */
.footer-right {
  text-align: right;
  flex-shrink: 0;
}

.catchphrase {
  font-size: clamp(35px, 11.4px + 2.19vw, 42px);
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 25px;
  white-space: nowrap;
}

/* ボタンを横並びにする */
.btn-group {
  display: flex;
  gap: clamp(8px, 1vw, 18px);
  justify-content: flex-end; /* ボタンエリアも右寄せ */
  white-space: nowrap;
}

/* ボタンの共通パーツ（角丸） */
.btn {
  display: inline-block;
  padding: clamp(8px, 1vw, 12px) clamp(16px, 2vw, 30px);
  font-size: clamp(13px, 1vw, 16px);
  white-space: nowrap;
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  color: #333;
}

/* ボタン系は後でまとめて直し */
.btn-orange {
  background-color: #ff4500;
  color: #fff;
}
.btn-yellow {
  background-color: #fff000;
}

/* ベージュフッター全体の背景と余白 */
.footer-beige {
  background-color: var(--color-base); /* 画像に合わせたベージュ色（要調整） */
  padding: 60px 0; /* 上下の余白 */
  width: 100%;
}

/* 横幅を制限して中央に寄せるインナー（紺色フッターや白いフッターと横幅・左右paddingを揃える） */
.footer-beige-inner {
  max-width: 1200px; /* サイトの共通最大幅に合わせてください */
  padding: 0 40px; /* 左右の余白（ガイド線の位置を揃える） */
  align-items: flex-start;
}

/* 左側の3列を横並びにする */
.beige-left {
  display: flex;
  gap: 80px; /* 各列の間隔（ガイド線に合わせて調整してください） */
}

/* 各メニュー列の基本設定 */
.menu-col {
  display: flex;
  flex-direction: column;
}

/* 赤いドット付きの見出しやリンク */
.main-link,
.main-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-black);
  text-decoration: none;
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

/* 見出しの左側にある赤いドット（疑似要素で再現） */
.main-link::before,
.main-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--text-red);
  border-radius: 50%;
}

/* 子メニュー（システム開発など）のリスト */
.menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-col li {
  margin-bottom: 12px;
  font-size: 14px;
}

.menu-col li a {
  color: var(--texy-transparent-color);
  text-decoration: none;
}

/* 子メニューの左側にあるグレーの横線 */
.menu-col li a::before {
  content: "—";
  margin-right: 8px;
  color: var(--texy-transparent-color);
}

/* 右側のグループ（実績など）の縦間隔を調整 */
.beige-right .main-link {
  margin-bottom: 25px; /* 右側のメニュー同士の縦の隙間 */
}

/* ========================================
   SP（1000px以下）
======================================== */
@media (max-width: 1000px) {
  /* ==== 紺色フッター全体 ==== */
  .sp {
    display: block;
  }

  .footer-container {
    flex-direction: column;
    padding: 30px 20px;
    gap: 0;
  }

  .footer-main {
    min-height: auto; /* 中身の高さに応じて自動で伸びるようにする */
  }

  /* ---- キャッチコピー（一番上） ---- */
  .footer-right {
    display: contents; /* 中の子要素をfooter-container直下として扱う */
  }

  .catchphrase {
    order: 1;
    font-size: 35px;
    text-align: left;
    white-space: normal; /* PC用のnowrapを解除、<br>で改行させる */
    margin-bottom: 25px;
  }

  /* ---- メニュー（2カラム） ---- */
  .footer-left {
    order: 2;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    gap: 20px 6%;
    margin-bottom: 30px;
  }

  .footer-left > div {
    flex: 0 0 47%; /* 2カラムに固定 */
  }

  /* 区切り線は横並び前提のため非表示 */
  .footer-left > div::after {
    display: none;
  }

  /* 表示順の入れ替え：①採用トップ ②人を知る ③環境を知る */
  .menu-column:nth-child(1) {
    order: 1;
  } /* 採用トップ（左上） */
  .menu-column:nth-child(3) {
    order: 2;
  } /* 人を知る（右上） */
  .menu-column:nth-child(2) {
    order: 3;
  } /* 環境を知る（左下） */

  .menu-column h3 {
    font-size: 15px;
    white-space: normal;
  }

  .menu-column ul {
    font-size: 13px;
  }

  .menu-column li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  /* ---- ボタン（一番下・横幅いっぱい） ---- */
  .btn-group {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    white-space: normal;
  }

  .btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* ==== ベージュフッター（下段メニュー） ==== */
  .footer-beige {
    padding: 40px 0;
  }

  .footer-beige-inner {
    display: flex; /* 元々display指定が無く効いていなかったため追加 */
    padding: 0 20px;
  }

  .beige-left {
    flex-wrap: wrap;
    width: 100%;
    gap: 20px 6%;
  }

  .menu-col {
    flex: 0 0 47%;
  }

  .main-link,
  .main-title {
    font-size: 14px;
  }

  .menu-col li {
    font-size: 12px;
  }

  .footer-navy-logo {
    display: none;
  }
}

@media (max-width: 600px) {
  .catchphrase {
    font-size: 32px;
  }
}

/* -------------------------------------------------
   他のインタビューへの遷移スライダー（共通パーツ）
------------------------------------------------- */
.interview-related {
  background-color: var(--text-red);
  padding: 48px 0 56px;
  overflow: hidden;
}

.interview-related__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.interview-related__label {
  margin: 0 0 32px;
  color: var(--text-white);
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.05em;
}

.interview-related__slider {
  overflow: hidden;
  width: 100%; /* .interview-related__innerの外に出し、画面幅いっぱいに広げる */
}

.interview-related__track {
  display: flex;
  transition: transform 0.4s ease;
}

.interview-related__slide {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 32px;
}

.interview-related__number {
  position: absolute;
  top: 0;
  left: 4px;
  color: var(--text-white);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.interview-related__card {
  display: block;
  text-decoration: none;
}

.interview-related__slide--placeholder .interview-related__card {
  background-color: var(--color-orange, #e8792f);
}

.interview-related__card img {
  display: block;
  width: 100%;
  height: auto;
}

.interview-related__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.interview-related__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-dark-blue);
  cursor: pointer;
}

.interview-related__count {
  margin: 0;
  color: var(--color-dark-blue);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .interview-related__slide {
    width: 28vw; /* 200px → ビューポート幅基準に変更。3枚+隙間で画面の約90%になる計算 */
    margin-right: 3vw;
  }
}

/* 黄色いピル型トグルボタン */
.stat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between; /* テキストと丸を両端に離す */
  gap: 12px;
  background: var(--color-button-yellow);
  border: none;
  padding: 20px 8px 20px 32px; /* 左右で余白を変え、丸側だけ詰める */
  font-weight: var(--font-weight-bold);
  font-size: 14px;
  color: var(--text-black);
  cursor: pointer;
  font-family: inherit;
  min-width: 260px;
}

.stat-toggle__label {
  flex: 1;
  text-align: center; /* テキストをボタン全体の中央に */
}

.stat-toggle .knob {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text-white);
  display: inline-flex;
}
/* 小さいサイズ */
.stat-toggle--sm {
  padding: 12px 12px 12px 18px;
  font-size: 12px;
  gap: 12px;
  min-width: 140px;
}
.stat-toggle--sm .knob {
  width: 16px;
  height: 16px;
}

/* ラッパー:左に固定マージン、右は画面端まで伸ばす */
.content-wrap {
  margin-right: 0;
  position: relative;
  padding-left: 40px;
}

/* タブ(付箋のように上だけ丸く生える) */
.content-tab {
  display: inline-block;
  background: var(--color-dark-blue);
  color: var(--text-white);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  padding: 14px 40px;
  border-radius: 30px 30px 0 0;
  margin-bottom: -2px;
  position: relative;
  z-index: 2;
  border: 2px solid var(--text-black);
}

.content-wrap--with-bubble {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.content-bubble {
  position: relative;
  flex: 1;
  min-width: 0; /* テキストが1文字ずつ折れる原因(flexアイテムのデフォルトmin-width:auto)を解消 */
  background: var(--text-white);
  color: var(--text-black);
  font-size: 14px;
  line-height: 1.8;
  padding: 16px 24px;
  border-radius: 20px;
  margin-bottom: 12px;
  word-break: normal; /* 単語の途中で折らない */
  overflow-wrap: normal;
}
.content-bubble::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 22px;
  border-width: 8px 14px 8px 0;
  border-style: solid;
  border-color: transparent var(--text-white) transparent transparent;
}

/* 横並びが窮屈になる幅で、縦積みに切り替える */
@media (max-width: 860px) {
  .content-wrap--with-bubble {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .content-tab {
    order: 2; /* 吹き出しを上に */
    align-self: flex-start;
    padding: 5px 30px;
    border-radius: 15px 15px 0 0;
  }

  .content-bubble {
    order: 1; /* 吹き出しを上に */
    margin-bottom: 0;
    padding: 10px 20px;
  }
  .content-bubble::before {
    /* 左向きの尾を、下向き・タブを指す形に変更 */
    left: 24px;
    top: auto;
    bottom: -14px;
    border-width: 14px 8px 0 8px;
    border-color: var(--text-white) transparent transparent transparent;
  }
}
@media (max-width: 600px) {
  .content-wrap {
    padding-left: 30px;
  }
  .content-tab {
    font-size: 18px;
  }
}

/* TOPページ_タイトル画像 */
.title-pin-wrap {
  display: inline-block;
  margin-bottom: -2px;
  position: relative;
}

.title-pin-wrap img {
  display: block;
  height: clamp(90px, 8vw, 124px);
  width: auto;
}

@media (max-width: 600px) {
  .title-pin-wrap img {
    height: 70px;
  }
}

.content-tab {
  margin-top: 0;
}
.career-pattern__title,
.group-title {
  margin: 0;
  font: inherit;
}
.title-pin-wrap h2 {
  margin: 0;
  line-height: 0;
}
.hero-copy {
  margin: 0;
}
.hero-copy__line1,
.hero-copy__line2 {
  display: block;
}
.job-group__label {
  margin: 0;
}
