@charset "UTF-8";

/* ==========================================================================
   page.css
   下層ページ共通のレイアウト。common.css（ヘッダー／フッター／btn-pill／
   CTA／追従バナー）の後に読み込む前提で、ここには下層固有のものだけを置く。
   ブレークポイントは common/top と同じ 1199px（タブレット以下）／767px（スマホ）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   下層で使い回すトークン
   -------------------------------------------------------------------------- */
:root {
  /* 定義リストの見出し列幅。テーブルごとに上書きする */
  --def-key: 26.67%;
  --def-gap: 5.17%;
  --color-rule-weak: #d3e0f7;
}

/* ==========================================================================
   page-hero ― 下層ページのタイトル帯
   ========================================================================== */
.page-hero {
  position: relative;
  height: 456px;
  /* パンくずをヒーローの中に重ねたので、
     下のコンテンツとの間はこちらで確保する */
  margin-top: var(--header-height);
  margin-bottom: 45px;
  overflow: hidden;
  background: var(--color-white);
}

/* 写真は右側に寄せて敷き、上から青のグラデーションを重ねる（Figma 30%） */
.page-hero__bg {
  position: absolute;
  top: 0;
  left: 36.8%;
  width: 79.9%;
  height: 100%;
  opacity: 0.3;
}

.page-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(134, 171, 255, 0.6) 3.71%, rgba(232, 239, 255, 0.6) 100%);
}

/* 左上から回り込む装飾。デザイン上は画面外まではみ出す */
.page-hero__shape {
  position: absolute;
  top: -282px;
  left: -361px;
  width: 711px;
  height: 870px;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
  padding-top: 181px;
}

/* 下層のタイトルはトップの見出しより一回り小さい */
.page-hero .section-heading__en {
  font-size: 80px;
  line-height: 86px;
}

.page-hero .section-heading__ja {
  font-size: 26px;
  line-height: 40px;
}

/* ==========================================================================
   breadcrumb ― パンくず
   ========================================================================== */
/* Figma ではヒーローの外ではなく、ヒーロー内の右下
   （下端から 18px・コンテナ右端揃え）に重ねて置かれている */
.breadcrumb {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 19px;
  /* コンテナ幅ではなく、画面の右端から 60px の位置に揃える */
  padding-right: 60px;
  padding-left: var(--gutter);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
}

/* 区切りは 6px の青いリング（Figma の Exclude はドーナツ型） */
.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border: 1.125px solid var(--color-blue);
  border-radius: 50%;
}

/* リンクだけ下線つき。現在地は下線なし */
.breadcrumb__link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
  transition: color 0.3s ease;
}

.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  color: var(--color-orange-hover);
}

/* ==========================================================================
   anchor-nav ― ページ内リンク
   ========================================================================== */
.anchor-nav {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 60px auto 60px;
}

.anchor-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
}

.anchor-nav__link {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* 矢印は btn-pill と同じ 2 枚を使い、ホバーで青ベタに反転させる */
.anchor-nav__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: url("../../img/common/arrow-blue-outline.webp") center / contain no-repeat;
  transition: background-image 0.3s ease;
}

.anchor-nav__link:hover .anchor-nav__arrow,
.anchor-nav__link:focus-visible .anchor-nav__arrow {
  background-image: url("../../img/common/arrow-pill-hover.webp");
}

.anchor-nav__label {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.anchor-nav__link:hover .anchor-nav__label,
.anchor-nav__link:focus-visible .anchor-nav__label {
  border-bottom-color: currentColor;
}

/* ==========================================================================
   section-title ― 下層の中見出し（1文字目だけオレンジ）
   ========================================================================== */
.section-title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}

.section-title__accent {
  color: var(--color-orange);
}

.section-lead {
  margin-top: 42px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}

/* 本文幅いっぱいに流す版（会社概要のリード） */
.section-lead--wide {
  margin-top: 47px;
  font-size: 16px;
  line-height: 32px;
  text-align: left;
}

/* ==========================================================================
   message ― 代表挨拶
   ========================================================================== */
.message {
  padding: 109px 0 121px;
  background: #f6f9ff;
}

.message__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.video-card {
  position: relative;
  display: block;
  width: 820px;
  max-width: 100%;
  margin: 52px auto 0;
  aspect-ratio: 820 / 460;
  overflow: hidden;
  color: var(--color-white);
}

.video-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 560/315;
}


.video-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 動画サムネイルは 20% の黒を重ねて文字と再生ボタンを立たせる */
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

/* 動画を直接埋め込む場合はオーバーレイを外し、コントロールを操作できるようにする */
.video-card--player::after {
  content: none;
}

.video-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-card:hover .video-card__image,
.video-card:focus-visible .video-card__image {
  transform: scale(1.04);
}

.video-card__caption {
  position: absolute;
  bottom: 89px;
  left: 26px;
  z-index: 1;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ==========================================================================
   strength ― 丸石グループの事業と強み
   ========================================================================== */
.strength {
  padding: 120px 0 0;
}

.strength__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.strength__doc {
  position: relative;
  width: 792px;
  max-width: 100%;
  margin: 59px auto 0;
  overflow: hidden;
  background: #e5e5e5;
  border-radius: 20px;
}

.strength__doc-image {
  position: absolute;
  top: 6.86%;
  left: 0.38%;
  width: 99.24%;
  height: 86.27%;
  object-fit: cover;
}

/* 差し替え前のプレースホルダー表示。実 PDF が入ったら削除する */
.strength__doc-note {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: #ff5656;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.strength__caption {
  margin-top: 15px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  text-align: center;
}

.strength__text {
  margin-top: 36px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ==========================================================================
   def-table ― 会社概要／アクセスの定義リスト
   ========================================================================== */
.outline {
  padding: 120px 0 0;
}

.outline__inner,
.access__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.def-table {
  margin-top: 52px;
}

/* 罫線は見出し列だけ濃く、残りは淡い青。1本の背景で描く */
.def-table__row {
  display: grid;
  grid-template-columns: var(--def-key) 1fr;
  gap: 0 var(--def-gap);
  padding: 20px 0;
  background-image: linear-gradient(
    to right,
    var(--color-blue) 0 var(--def-key),
    var(--color-rule-weak) var(--def-key) 100%
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 2px;
}

.def-table__key {
  padding-left: 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.def-table__value {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 35px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

.def-table__tel {
  transition: color 0.3s ease;
}

.def-table__tel:hover,
.def-table__tel:focus-visible {
  color: var(--color-orange-hover);
}

/* アクセスは見出し列が少し狭い */
.def-table--narrow {
  --def-key: 23.33%;
  --def-gap: 1.83%;
}

/* ---- dot-list ― 値の中の箇条書き ---------------------------------------- */
.dot-list__item {
  position: relative;
  padding-left: 32px;
  line-height: 32px;
}

.dot-list__item::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
}

/* ==========================================================================
   history ― 沿革
   ========================================================================== */
.history {
  position: relative;
  margin-top: 120px;
  padding: 110px 0 109px;
  overflow: hidden;
  background: #F6F9FF;
}

.history::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background: url("../../img/company/history-decoration.webp") no-repeat center;
  background-size: 848px 474px;
  width: 848px;
  height: 474px;
}

.history__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 97px;
  padding-left: 248px;
}

/* 縦線は日付列とテキスト列の間（コンテナ左から 186px） */
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -55px;
  left: 186px;
  width: 2px;
  background: #00D3E5;
}

.timeline__item {
  position: relative;
  min-height: 64px;
  padding-bottom: 40px;
}

.timeline__item + .timeline__item {
  margin-top: 0;
}

/* 節目の丸。日付の行に合わせる */
.timeline__item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -67px;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: #00D3E5;
  border-radius: 50%;
}

.timeline__date {
  position: absolute;
  top: 14px;
  left: -248px;
  width: 140px;
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.timeline__text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* 続きがあることを示す縦の三点。Figma ではコンテナ中央 */
.history__more {
  margin: 8px auto 0;
  font-size: 24px;
  line-height: 20px;
  text-align: center;
  writing-mode: vertical-rl;
  color: var(--color-blue);
}

/* ==========================================================================
   access ― アクセス
   ========================================================================== */
.access {
  padding: 120px 0 0;
}

.access__map {
  width: 820px;
  max-width: 100%;
  margin: 61px auto 0;
  aspect-ratio: 820 / 460;
  overflow: hidden;
}

/* Google マップの埋め込み。枠と比率は .access__map が持っているので中を埋めるだけ */
.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   banner-zone ― コラム／Instagram バナー
   ========================================================================== */
.banner-zone {
  margin-top: 120px;
  padding: 109px 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(212, 219, 227, 0.2) 97.54%);
}

.banner-zone__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  width: 1300px;
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.banner-zone__lead {
  flex-shrink: 0;
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

.banner-zone__list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.banner-zone__link {
  display: block;
  width: 348px;
  max-width: 100%;
  transition: opacity 0.3s ease;
}

.banner-zone__link:hover,
.banner-zone__link:focus-visible {
  opacity: 0.85;
}

/* コラム側だけ枠線がつく */
.banner-zone__link--framed {
  border: 1px solid #a6a6a6;
}

.banner-zone__image {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   category-tabs ― 一覧の絞り込み
   ========================================================================== */
.category-tabs {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 102px auto 0;
}

.category-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.category-tabs__link {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  white-space: nowrap;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 60px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* 選択中。WP 化時は body クラスや is-current の付け替えで制御する */
.category-tabs__link[aria-current="page"] {
  color: var(--color-white);
  background: var(--color-blue);
}

.category-tabs__link:hover,
.category-tabs__link:focus-visible {
  color: var(--color-white);
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
}

/* ==========================================================================
   article-list ― 記事一覧
   ========================================================================== */
.article-list-section {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 60px auto 0;
}

.article-list__count {
  margin-bottom: 24px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* 罫線は行の上辺だけに引き、最後の行にだけ下辺を足す */
.article-list__item {
  border-top: 2px solid var(--color-bg-light);
}

.article-list__item:last-child {
  border-bottom: 2px solid var(--color-bg-light);
}

.article-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0 38px;
  padding: 29px 0 28px;
}

.article-card__thumb {
  width: 380px;
  height: 234px;
  object-fit: cover;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
}

.article-card__date {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: 0.1em;
  color: var(--color-blue);
}

/* トップの column-card__tag と同じ考え方の枠線チップ（一覧は一回り大きい） */
.article-card__tag {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  white-space: nowrap;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 60px;
}

.article-card__title {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  transition: color 0.3s ease;
}

.article-card:hover .article-card__title,
.article-card:focus-visible .article-card__title {
  color: var(--color-orange-hover);
}

.article-card__thumb {
  transition: opacity 0.3s ease;
}

.article-card:hover .article-card__thumb,
.article-card:focus-visible .article-card__thumb {
  opacity: 0.85;
}

/* ==========================================================================
   interview-list ― 人を知る（社員インタビュー一覧）
   ========================================================================== */
.interview-list {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 100px auto 0;
}

.interview-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  justify-content: center;
  gap: 120px 60px;
}

.interview-entry {
  display: flex;
  flex-direction: column;
}

/* カード全体はリンクにせず、写真とボタンにだけリンクを持たせる（Figma 準拠） */
.interview-entry__role {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 20px;
  width: fit-content;
}

.interview-entry__title {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  margin-bottom: auto;
}

.interview-entry__photo {
  display: block;
  margin-top: 40px;
  aspect-ratio: 570 / 400;
  overflow: hidden;
  border-radius: 20px;
}

.interview-entry__photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.interview-entry__photo:hover .interview-entry__photo-image,
.interview-entry__photo:focus-visible .interview-entry__photo-image {
  transform: scale(1.04);
}

.interview-entry__button {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   page-lead ― 下層の導入文ボックス
   トップの stat-card と同じ斜めストライプを 6px タイルで敷く
   ========================================================================== */
/* 導入文の中のリンク。地の文と同じ色なので、下線でリンクだと分かるようにする */
.page-lead a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.page-lead a:hover,
.page-lead a:focus-visible {
  color: var(--color-orange-hover);
}

/* 導入文の下に置く「プライバシーポリシーはこちら」。導入文と同じ幅で右に寄せる */
.privacy-link {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 16px auto 0;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: var(--tracking);
  text-align: right;
  color: var(--color-blue);
}

.privacy-link a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.privacy-link a:hover,
.privacy-link a:focus-visible {
  color: var(--color-orange-hover);
}

.page-lead {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 100px auto 0;
  padding: 40px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: url("../../img/common/lead-stripe.webp") left top / 6px 6px repeat,
    var(--color-bg-light);
  border-radius: 20px;
}

/* ==========================================================================
   env ― 働く環境
   ========================================================================== */
/* 薄青の全幅セクション。代表挨拶／クロストークと同じ地色 */
.env-section {
  padding: 109px 0 120px;
  background: #f6f9ff;
}

.env-section--plain {
  padding: 120px 0 0;
  background: none;
  margin-bottom: 120px;
}

.env-section__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.env-section__lead {
  margin-top: 28px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- welfare-card ― 福利厚生の 3 カラムカード ------------------------- */
.welfare-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  justify-content: center;
  gap: 60px 30px;
  margin-top: 60px;
}

.welfare-card__figure {
  aspect-ratio: 380 / 234;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: 10px 10px 0 0;
}

.welfare-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真未提供のカードは注記を中央に置く */
.welfare-card__figure--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-white);
}

.welfare-card__title {
  margin-top: 30px;
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.welfare-card__text {
  margin-top: 23px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- system-card ― 社内制度の枠線カード ------------------------------- */
.system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.system-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
}

.system-card__title {
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.system-card__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 16px;
  background: var(--color-orange);
  border-radius: 10px;
}

.system-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin-top: 24px;
}

.system-card__icon img {
  width: auto;
  height: 100%;
}

.system-card__text {
  margin-top: 28px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- uniform ― 制服ギャラリー ----------------------------------------- */
.uniform {
  display: grid;
  grid-template-columns: 440px 174px minmax(0, 1fr);
  gap: 0 30px;
  margin-top: 60px;
}

.uniform__main {
  position: relative;
  aspect-ratio: 440 / 576;
  overflow: hidden;
  border: 1px solid var(--color-blue);
}

.uniform__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像右下のカテゴリーラベル */
.uniform__tag {
  position: absolute;
  right: 0;
  bottom: 21px;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-white);
  background: var(--color-blue);
}

/* 2 列 × 4 行。1 列だと枚数が増えたときに 1 枚が潰れるため */
.uniform__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  margin: 0;
  padding: 0;
}

.uniform__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 79 / 103;
  overflow: hidden;
  border: 1px solid var(--color-blue);
  transition: opacity 0.3s ease;
  padding: 0;
}

.uniform__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uniform__thumb[aria-current="true"] {
  outline: 2px solid var(--color-orange);
  outline-offset: -2px;
}

.uniform__thumb:hover,
.uniform__thumb:focus-visible {
  opacity: 0.75;
}

.uniform__body {
  padding-top: 1px;
}

.uniform__text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.uniform__subtitle {
  margin-top: 52px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-orange);
}

.uniform__spec {
  margin-top: 9px;
}

/* ---- voice-card ― 社員の声 -------------------------------------------- */
.voice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  justify-content: center;
  gap: 60px;
  margin-top: 63px;
}

.voice-card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 0 44px;
  min-height: 222px;
  padding: 32px 30px;
  background: var(--color-white);
  border-radius: 20px;
}

.voice-card__avatar {
  width: 152px;
  height: 152px;
}

.voice-card__name {
  margin-top: 25px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-orange);
}

.voice-card__text {
  margin-top: 5px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- tour ― 職場ギャラリー -------------------------------------------- */
.tour {
  position: relative;
  margin-top: 60px;
}

.tour__stage {
  position: relative;
  width: 960px;
  max-width: calc(100% - 168px);
  margin: 0 auto;
  /* aspect-ratio: 960 / 580; */
  overflow: hidden;
}

.tour__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 100px;
  padding: 16px 40px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-white);
  background: rgba(5, 37, 78, 0.8);
}

/* 枚数が 4 枚固定ではないので、grid の 4 列ではなく flex で中央に寄せる。
   4 枚のときは 222×4 ＋ 余白 24×3 = 960px でちょうど 1 行に収まる */
.tour__thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 960px;
  max-width: calc(100% - 168px);
  margin: 20px auto 0;
}

/* 基準幅を 0 にして「まず縮む」ようにする。max-width で 222px を超えず、
   min-width があるので詰まりすぎたら折り返す（写真 6 枚までは 1 行）。 */
.tour__thumbs > li {
  flex: 1 1 0;
  min-width: 140px;
  max-width: 222px;
}

.tour__thumb {
  display: block;
  aspect-ratio: 222 / 134;
  overflow: hidden;
  background: #828282;
  padding: 0;
  transition: opacity 0.3s ease;
}

.tour__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 表示中の写真が分かるよう、ユニフォームのサムネと同じ枠を付ける */
.tour__thumb[aria-current="true"] {
  outline: 2px solid var(--color-orange);
  outline-offset: -2px;
}

.tour__thumb:hover,
.tour__thumb:focus-visible {
  opacity: 0.75;
}

/* 左右の矢印。INTERVIEW と同じ絵柄の 72px 版 */
.tour__arrow {
  position: absolute;
  top: 322px;
  width: 72px;
  height: auto;
  transition: opacity 0.3s ease;
}

.tour__arrow--prev {
  left: 0;
  rotate: 180deg;
}

.tour__arrow--next {
  right: 0;
}

.tour__arrow img {
  width: 100%;
  height: 100%;
}

.tour__arrow:hover,
.tour__arrow:focus-visible {
  opacity: 0.6;
}

.env-closing {
  margin-top: 113px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.env-button {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

/* ==========================================================================
   data-grid ― 数字で見る丸石
   カード本体は common.css の stat-card をそのまま使い、
   ここでは並びと、このページ固有のカード（男女割合・育休取得数）だけ足す
   ========================================================================== */
.data-grid {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 94px auto 0;
}

.data-grid .stat-grid {
  margin-top: 0;
  gap: 60px 30px;
}

/* アイコンは絵柄ごとに縦横比が違うので、高さだけ揃えて中央に置く。
   高さは stat-card__icon と同じ 64px。カードは 1:1 固定で余白が少ないため */
.data-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  margin-top: 16px;
}

.data-card__icon img {
  width: auto;
  height: 100%;
}

/* ---- 男女割合：人型アイコン 2 つを並べる ---- */
.data-card__icon--pair {
  position: relative;
  gap: 6px;
}

/* Figma どおりラベルはアイコンの下部に重ねる。
   通常フローに置くとカード（1:1 固定）から注記があふれるため */
.data-card__pair-labels {
  position: absolute;
  bottom: -18px;
  left: 50%;
  display: flex;
  gap: 128px;
  white-space: nowrap;
  transform: translateX(-50%);
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-orange);
}

/* ---- 育休取得数：ドーナツ＋男女 2 つの割合 ---- */
.data-card__ring {
  position: relative;
  /* カードが少し小さくなる幅でも円が潰れないよう、比率で持たせる。
     カード 380px のとき 170px になる割合 */
  width: min(170px, 44.7%);
  aspect-ratio: 1;
  margin-top: 20px;
  flex-shrink: 0;
}

/* 中央のアイコンにも効かないよう、リング本体だけを対象にする */
/* 下に並ぶ男性／女性の割合に合わせて色を塗り分ける円グラフ。
   --male-ratio（0〜100）は JS が本文の数値から計算して入れる。
   男性＝青／女性＝オレンジ。内側をくり抜いてドーナツにする
   （くり抜き 34% は元の childcare-ring.svg の内径 57.8/170 に合わせた値）。 */
.data-card__ring-image {
  display: block;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    var(--color-blue) 0 calc(var(--male-ratio, 0) * 1%),
    var(--color-orange) calc(var(--male-ratio, 0) * 1%) 100%
  );
  border-radius: 50%;
  /* closest-side なら 100% ＝ 円の半径。内側 68% をくり抜く（57.8/85） */
  -webkit-mask: radial-gradient(closest-side, transparent 0 68%, #000 68%);
  mask: radial-gradient(closest-side, transparent 0 68%, #000 68%);
}

.data-card__ring-icon {
  position: absolute;
  top: 66px;
  left: 65px;
  width: 40px;
  height: 38px;
}

.data-card__ratio {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 12px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-orange);
}

.data-card__ratio-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.data-card__ratio-value {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1;
}

/* ==========================================================================
   quick-know ― 3分でわかる丸石（数字で見る丸石ページ）
   Q ＆ A を 3 つ並べる。Figma の 785:2398 が元になっている。
   この節でしか使わない 2 色は、ここでまとめて変数にしている。
   ========================================================================== */
.quick-know {
  --qa-blue-bg: #e8efff;
  --qa-orange-bg: #ffedd7;
  --qa-orange: #ff5436;
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 109px auto 0;
}

.qa-block {
  position: relative;
  margin-top: 54px;
}

.qa-block + .qa-block {
  margin-top: 100px;
}

/* ---- 見出し（Q のまる＋質問文） ---------------------------------------- */
.qa-block__title {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.qa-block__mark {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 50%;
}

/* ---- Q1：ひとことピル ---------------------------------------------------- */
.qa-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

/* 行の幅いっぱいまで伸ばす。文字が増えても勝手に折り返す。
   min-width は Figma と同じ「1 行に 2 つ」を保つため。
   （1200px の中に 3 つ入れるには 1 つ 378px 未満が必要なので、380px で止めている） */
.qa-pill {
  flex: 1 1 auto;
  min-width: 380px;
  padding: 14px 24px;
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  text-align: center;
  border-radius: 40px;
}

.qa-pill--blue {
  color: var(--color-blue);
  background: var(--qa-blue-bg);
}

.qa-pill--orange {
  color: var(--qa-orange);
  background: var(--qa-orange-bg);
}

/* ---- Q1 のイラスト ------------------------------------------------------ */
.qa-illust {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.qa-illust__image {
  height: auto;
}

/* ふきだしのような小さい丸。大きい丸が本体、小さい丸は ::before */
.qa-illust__dots {
  position: relative;
  align-self: flex-start;
  width: 20px;
  height: 20px;
  margin-top: 17px;
  background: var(--qa-orange-bg);
  border-radius: 50%;
}

.qa-illust__dots::before {
  content: "";
  position: absolute;
  top: 22px;
  width: 11px;
  height: 11px;
  background: var(--qa-orange-bg);
  border-radius: 50%;
}

.qa-illust__dots--left {
  margin-right: 128px;
}

.qa-illust__dots--left::before {
  left: 20px;
}

.qa-illust__dots--right {
  margin-left: 99px;
}

.qa-illust__dots--right::before {
  right: 20px;
}

/* ---- Q2：青枠の箱に 2 列のリスト ---------------------------------------- */
.qa-box {
  position: relative;
  margin-top: 40px;
  padding: 70px 60px;
  background: var(--color-white);
  border: 4px solid var(--color-blue);
}

.qa-box__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 82px;
  row-gap: 60px;
}

.qa-box .dot-list__item {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* 行の高さが 36px になったぶん、点の位置も下げる */
.qa-box .dot-list__item::before {
  top: 15px;
}

/* 箱の下辺をまたいで人が立つ */
.qa-box__illust {
  position: absolute;
  bottom: -59px;
  left: 55.5%;
  height: auto;
}

/* ---- Q3：4 列のカード --------------------------------------------------- */
.qa-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.qa-card {
  min-height: 200px;
  padding: 32px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  border-radius: 10px;
}

.qa-card--blue {
  color: var(--color-blue);
  background: var(--qa-blue-bg);
}

.qa-card--orange {
  color: var(--qa-orange);
  background: var(--qa-orange-bg);
}

/* 最後のマスはカードではなくイラスト。はみ出して良いので overflow は切らない */
.qa-cards__illust {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.qa-cards__illust img {
  height: auto;
  margin-bottom: -28px;
}

/* ==========================================================================
   job-intro ― 募集要項の導入（薄青の全幅ブロック）
   ========================================================================== */
.job-intro {
  padding: 109px 0 80px;
  background: #f6f9ff;
}

.job-intro__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.job-intro__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.job-intro__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  justify-content: center;
  gap: 0 60px;
  margin-top: 39px;
}

.job-intro__text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.job-intro__text > p + p {
  margin-top: 32px;
}

.job-intro__figure {
  aspect-ratio: 570 / 400;
  overflow: hidden;
  border-radius: 20px;
}

.job-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 募集要項テーブル。会社概要の def-table をそのまま使う ---- */
.job-spec {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 136px auto 0;
}

.job-spec .def-table {
  margin-top: 0;
}

.job-back,
.page-back {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

/* ==========================================================================
   link-card ― 画像＋説明＋ボタンの 2×2 カード（採用情報一覧）
   ========================================================================== */
.link-card-list {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 85px auto 0;
}

.link-card-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 570px));
  justify-content: center;
  gap: 120px 60px;
}

.link-card__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.link-card__photo {
  display: block;
  margin-top: 40px;
  aspect-ratio: 570 / 320;
  overflow: hidden;
  border-radius: 20px;
}

.link-card__photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.link-card__photo:hover .link-card__photo-image,
.link-card__photo:focus-visible .link-card__photo-image {
  transform: scale(1.04);
}

.link-card__text {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.link-card__button {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   interview-detail ― 先輩社員インタビュー詳細
   ========================================================================== */
:root {
  /* A の吹き出し用。ここでしか使わないのでページ側で定義する */
  --color-answer: #ff8d7d;
}

.interview-detail {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 102px auto 0;
}

.interview-detail__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}

/* 所属は右寄せ。people の interview-entry__role より一回り大きい */
.interview-detail__role {
  display: flex;
  justify-content: flex-end;
  margin-top: 37px;
}

.interview-detail__role-label {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 23px;
}

.interview-detail__hero {
  margin-top: 60px;
  /* aspect-ratio: 1200 / 680; */
  overflow: hidden;
}

.interview-detail__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- ph-box ― 写真差し替え前のプレースホルダー ------------------------- */
.ph-box {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  text-align: center;
  color: #8a97a8;
  background: #d0d0d0;
  border-radius: 20px;
}

.ph-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- qa ― Q&A ---------------------------------------------------------- */
.qa-list {
  margin-top: 60px;
}

.qa-item + .qa-item {
  margin-top: 53px;
}

.qa-item__row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
}

.qa-item__row + .qa-item__row {
  margin-top: 41px;
}

/* Q／A のバッジ。画像を使わず円と文字で組む */
.qa-item__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1;
  letter-spacing: var(--tracking);
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 50%;
}

.qa-item__badge--a {
  background: var(--color-answer);
}

.qa-item__question {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.qa-item__answer {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* Q&A の途中に挟む横長写真 */
.qa-figure {
  width: 820px;
  max-width: 100%;
  margin: 52px auto 0;
  aspect-ratio: 820 / 460;
}

/* 写真と Q&A を左右に並べるブロック */
.qa-columns {
  display: grid;
  grid-template-columns: 570px minmax(0, 1fr);
  gap: 0 60px;
  margin-top: 105px;
}

.qa-columns__figure {
  aspect-ratio: 570 / 400;
}

/* ==========================================================================
   emphasis-box ― 「就活中の方々へのメッセージ」「私の相棒」
   ========================================================================== */
.emphasis-box {
  position: relative;
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 80px auto 0;
  padding: 61px 60px 60px;
  overflow: hidden;
  background: var(--color-bg-cream);
  border-radius: 20px;
}

/* 背景に薄く敷く M の飾り。box ごとに位置と絵柄を変える */
.emphasis-box::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 412px;
  width: 1076px;
  height: 489px;
  background: url("../../img/people/box-mark-cream.svg") left top / contain no-repeat;
  pointer-events: none;
}

.emphasis-box--blue {
  background: var(--color-bg-light);
}

.emphasis-box--blue::before {
  top: 93px;
  left: 463px;
  width: 892px;
  height: 499px;
  background-image: url("../../img/people/box-mark-blue.svg");
}

.emphasis-box__inner {
  position: relative;
  z-index: 1;
}

.emphasis-box__title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-jp);
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* 見出し左の縦棒 */
.emphasis-box__title::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 40px;
  background: var(--color-blue);
  border-radius: 10px;
}

.emphasis-box__body {
  margin-top: 34px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  /* color: var(--color-blue); */
}

.emphasis-box__body > p + p {
  margin-top: 34px;
}

/* 「私の相棒」は本文と写真の 2 カラム */
.emphasis-box__columns {
  display: grid;
  grid-template-columns: minmax(0, 621px) 400px;
  gap: 0 79px;
  margin-top: 34px;
}

.emphasis-box__figure {
  aspect-ratio: 400 / 273;
}

/* ==========================================================================
   schedule ― 1日のスケジュール
   ========================================================================== */
.schedule {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 112px auto 0;
}

.schedule__list {
  position: relative;
  margin-top: 60px;
  padding-left: 124px;
}

/* 時刻の丸をつなぐ縦線 */
.schedule__list::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -60px;
  left: 47px;
  width: 2px;
  background: var(--color-blue);
}

.schedule__item {
  position: relative;
}

.schedule__item + .schedule__item {
  margin-top: 102px;
}

.schedule__item::before {
  content: "";
  position: absolute;
  top: 1px;
  /* 丸の中心を縦線（コンテナ左から 48px）に合わせる */
  left: -93px;
  z-index: 1;
  width: 33px;
  height: 33px;
  background: var(--color-orange);
  border: 2px solid var(--color-white);
  border-radius: 50%;
}

.schedule__time {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.schedule__detail {
  margin-top: 25px;
}

.schedule__more {
  margin: 8px auto 0;
  font-size: 24px;
  line-height: 20px;
  text-align: center;
  writing-mode: vertical-rl;
  color: var(--color-blue);
}

/* ==========================================================================
   crosstalk ― 先輩社員クロストーク
   ========================================================================== */
.crosstalk {
  margin-top: 120px;
  padding: 109px 0 120px;
  background: #f6f9ff;
}

.crosstalk__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

.crosstalk__lead {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* 見出し下にオレンジの短い線が付く h3。クロストーク／スケジュールで共用 */
.bar-heading {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.bar-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 20px;
  background: var(--color-orange);
  border-radius: 10px;
}

.crosstalk__theme {
  margin-top: 60px;
}

.crosstalk__figure {
  position: relative;
  width: 820px;
  max-width: 100%;
  margin: 40px auto 0;
}

.crosstalk__image {
  display: block;
  width: 100%;
  aspect-ratio: 820 / 460;
  object-fit: cover;
}

/* 写真の右下に重なる飾り文字。乗算で下の写真になじませる */
.crosstalk__watermark {
  position: absolute;
  right: 0;
  bottom: 6px;
  font-family: var(--font-en);
  font-size: 60px;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: var(--color-blue);
  white-space: nowrap;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.crosstalk__watermark-accent {
  color: var(--color-orange);
}

.crosstalk__button {
  display: flex;
  justify-content: center;
  margin-top: 39px;
}

/* 次ページへの導線 */
.page-next {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

/* ==========================================================================
   article-single ― 記事詳細
   ========================================================================== */
.article-single {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 103px auto 0;
  /* 記事ヘッダーの上に 1 本罫線を引く */
  border-top: 2px solid var(--color-bg-light);
}

.article-single__header {
  padding-top: 60px;
}

/* 日付＋カテゴリー。一覧の article-card__meta と同じ並びで、日付だけ大きい */
.article-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
}

.article-single__date {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: 0.1em;
  color: var(--color-blue);
}

.article-single__title {
  margin-top: 27px;
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.article-single__thumb {
  width: 900px;
  max-width: 100%;
  margin: 80px auto 0;
  aspect-ratio: 900 / 600;
  overflow: hidden;
}

.article-single__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- article-body ― WP の本文（the_content）が入る箱 -------------------- */
.article-body {
  margin-top: 91px;
  padding-bottom: 91px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  border-bottom: 2px solid var(--color-bg-light);
}

/* 以下は WP エディタが吐く要素向けの受け皿。デザインに指定がないため
   サイトのタイプスケールに合わせて最低限だけ整えている */
.article-body > * + * {
  margin-top: 32px;
}

.article-body h2 {
  margin-top: 56px;
  font-size: 28px;
  font-weight: 700;
  line-height: 44px;
}

.article-body h3 {
  margin-top: 48px;
  font-size: 22px;
  font-weight: 700;
  line-height: 36px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5em;
}

.article-body ul > li {
  list-style: disc;
}

.article-body ol > li {
  list-style: decimal;
}

.article-body img {
  height: auto;
}

.article-body a {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: var(--color-orange-hover);
}

/* ---- article-pager ― 前後の記事と一覧に戻る ---------------------------- */
.article-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 96px;
  margin-top: 122px;
}

.article-pager__arrow {
  display: block;
  width: 50px;
  height: 50px;
  transition: opacity 0.3s ease;
}

.article-pager__arrow:hover,
.article-pager__arrow:focus-visible {
  opacity: 0.6;
}

.article-pager__arrow img {
  width: 100%;
  height: 100%;
}

/* 矢印画像は右向き 1 種類しかないので、前へは反転させる */
.article-pager__arrow--prev img {
  rotate: 180deg;
}

.article-pager__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.article-pager__back:hover,
.article-pager__back:focus-visible {
  color: var(--color-white);
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
}

/* ==========================================================================
   pagination ― ページ送り
   ========================================================================== */
.pagination {
  margin-top: 120px;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.pagination__link[aria-current="page"] {
  color: var(--color-white);
  background: var(--color-blue);
}

.pagination__link:hover,
.pagination__link:focus-visible {
  color: var(--color-white);
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
}

/* 前後の矢印は INTERVIEW スライダーと同じ画像を使う */
.pagination__arrow {
  display: block;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 0;
  transition: opacity 0.3s ease;
}

.pagination__arrow:hover,
.pagination__arrow:focus-visible {
  opacity: 0.6;
}

.pagination__arrow img {
  width: 100%;
  height: 100%;
}

/* 矢印画像は右向き 1 種類しかないので、前へは反転させる（INTERVIEW と同じ手） */
.pagination__arrow--prev img {
  rotate: 180deg;
}

.pagination__ellipsis {
  font-family: var(--font-jp);
  font-size: 20px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}


/* ==========================================================================
   仕事紹介ページ（job.html）
   ========================================================================== */

/* ---- 職種ブロック ------------------------------------------------------- */
.job + .job {
  margin-top: 120px;
}

/* 上段：淡い青背景の中に見出しと概要を置く */
.job__head {
  padding: 109px 0 82px;
  background: #f6f9ff;
}
.job__head-inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}
.job__body {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
  padding-top: 88px;
}

/* ---- 職種概要（写真＋テキスト） ----------------------------------------- */
.job-detail {
  display: flex;
  gap: 83px;
  margin-top: 52px;
}
.job-detail__figure {
  flex: 0 0 570px;
}
.job-detail__image {
  width: 100%;
  aspect-ratio: 570 / 400;
  object-fit: cover;
  border-radius: 20px;
}
.job-detail__body {
  flex: 1 1 auto;
  min-width: 0;
}
.job-detail__text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.job-detail__list {
  margin-top: 22px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}
.job-detail__term-title {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-orange);
}
.job-detail__term {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- やりがい／向いている人の 2 カード ---------------------------------- */
.job-point-list {
  display: flex;
  gap: 59px;
}
.job-point-card {
  flex: 1 1 0;
  min-width: 0;
  /* Figma の枠線は内側 4px なので、その分パディングを引いている */
  padding: 36px 36px 56px;
  background: var(--color-white);
  border: 4px solid var(--color-blue);
}
.job-point-card__title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
/* 見出し下のオレンジの短い下線 */
.job-point-card__title::after,
.career-flow__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 20px;
  background: var(--color-orange);
  border-radius: 10px;
}
.job-point-card__list {
  margin-top: 42px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* 仕事の厳しさ・難しさ。やりがいと同じ枠を、横いっぱいに 1 つだけ置く */
.job-point-list + .job-point-card--wide {
  margin-top: 59px;
}
.job-point-card__text {
  margin-top: 42px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* キャリアフローの見出しの下に入れる説明文 */
.career-flow__lead {
  margin-top: 32px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}
/* 説明文が入ったときは、図との間を少し詰める */
.career-flow__lead + .career-flow__chart {
  margin-top: 40px;
}

/* メッセージ。職種ブロックの中はすでに幅が決まっているので、枠いっぱいに広げる */
.job-message {
  width: 100%;
  max-width: none;
}

/* ---- キャリアフロー ----------------------------------------------------- */
.career-flow {
  margin-top: 120px;
}
.career-flow__title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.career-flow__chart {
  position: relative;
  margin-top: 65px;
}
/* 背景の上昇矢印。棒グラフの下端を基準に置く */
.career-flow__arrow {
  position: absolute;
  bottom: 121px;
  left: 0;
  width: 100%;
  height: 173px;
}
.career-flow__list {
  position: relative;
  display: flex;
  align-items: stretch;
}
/* 文字のかたまりは下ぞろえにして、棒はいちばん下に敷く。
   こうしておくと棒の高さが違っても文字の下端がそろう（Figma と同じ見え方）。
   padding-bottom はいちばん高い棒 200px ＋ 矢印のぶんの余白 */
.career-step {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding-bottom: 296px;
}
/* STEP 番号を上、職位名を下に置く（Figma の並び）。
   column-reverse にしているのは、読み上げ順を「職位名 → STEP 番号」のまま
   見た目だけ入れ替えるため */
.career-step__head {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 20px;
}

/* 文字が列の端まで詰まると隣の STEP とくっついて見えるので、左右に余白を取る。
   棒グラフは隙間なく並べたいので、文字のかたまりにだけ付ける。
   リストは parts.css の .dot-list（padding-left: 0）に負けないよう親から指定する */
.career-step .career-step__head,
.career-step .career-step__list {
  padding: 0 10px;
}
.career-step__title {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}
.career-step__no {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  line-height: 48px;
  color: var(--color-blue);
}
.career-step__no-label {
  font-size: 20px;
  letter-spacing: 0.2em;
}
.career-step__no-accent {
  color: var(--color-orange);
}
.career-step__no-num {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 0.05em;
}
.career-step__list {
  margin-top: 14px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}
/* 棒グラフ。4 本の下端を揃え、高さの差でキャリアの段差を表す */
.career-step__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-white);
}
.career-step__bar--green {
  height: 100px;
  background: var(--color-green);
}
.career-step__bar--cyan {
  height: 130px;
  background: #00d3e5;
}
.career-step__bar--orange {
  height: 170px;
  background: var(--color-orange);
}
.career-step__bar--red {
  height: 200px;
  background: #ff6d58;
}
/* 年数のうち数字だけ英字フォントで大きく見せる */
.career-step__num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 600;
  line-height: 40px;
}
.career-step__tilde {
  font-size: 26px;
}

/* ---- ページ下部のボタン ------------------------------------------------- */
.job__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 220px;
  margin-top: 80px;
}
.job-back,
.page-back {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}


/* ==========================================================================
   エントリーフォームページ（entry.html）
   ========================================================================== */

/* ---- 電話・LINE の受付帯 ------------------------------------------------ */
.contact-band {
  position: relative;
  width: 1376px;
  max-width: calc(100% - 60px);
  /* 見出しの英字が帯の上辺からはみ出すので、その分の余白を上に取っている */
  margin: 89px auto 0;
  padding: 82px 88px 62px 141px;
  background: url("../../img/entry/contact-band-bg.webp") center / cover no-repeat;
}
.contact-band__en {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: var(--color-orange);
}
.contact-band__title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-orange);
}
.contact-band__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 62px;
}
.contact-band__tel-label {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0.2em;
  color: var(--color-blue);
}
.contact-band__tel-number {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
}
.contact-band__tel-icon {
  flex-shrink: 0;
}
.contact-band__tel-link {
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: 58px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0.12em;
  color: var(--color-blue);
}
.contact-band__tel-note {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.contact-band__line {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 49px;
  width: 520px;
  height: 159px;
  padding-left: 44px;
  background: var(--color-green);
  transition: opacity 0.3s ease;
}
.contact-band__line:hover,
.contact-band__line:focus-visible {
  opacity: 0.8;
}
.contact-band__line-icon {
  flex-shrink: 0;
}
.contact-band__line-label {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-white);
}

/* ---- 入力フォーム ------------------------------------------------------- */
.entry-form {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 80px auto 0;
}

/* 行の下線は左 26.7% だけ濃い青。幅が変わっても比率を保てるよう % で指定する */
.entry-form__row {
  display: flex;
  align-items: flex-start;
  /* 入力欄 44px + 余白 32px + 下線 2px = 78px。行の間隔は 30px */
  padding-bottom: 34px;
  background-image: linear-gradient(
    to right,
    var(--color-blue) 0 26.7%,
    transparent 26.7% 26.85%,
    var(--color-bg-light) 26.85%
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 2px;
}
.entry-form__row + .entry-form__row {
  margin-top: 30px;
}
.entry-form__row--message {
  padding-bottom: 40px;
}
.entry-form__label {
  display: flex;
  flex: 0 0 382px;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding-left: 20px;
}
.entry-form__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 32px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-white);
  background: #ff8d7d;
  border-radius: 6px;
}

/* 任意の項目は、必須と見分けがつくよう落ち着いた色にする */
.entry-form__badge--optional {
  background: #9db2cc;
}

.entry-form__name {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.entry-form__control {
  flex: 1 1 auto;
  min-width: 0;
}
.entry-form__input {
  width: 376px;
  max-width: 100%;
  height: 44px;
  padding: 6px 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
  background: var(--color-bg-light);
  border: 0;
  border-radius: 2px;
}
.entry-form__input::placeholder,
.entry-form__textarea::placeholder {
  color: rgba(5, 37, 78, 0.16);
}
.entry-form__input:focus-visible,
.entry-form__textarea:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
/* メールアドレスの欄だけ少し広い */
.entry-form__input--wide {
  width: 408px;
}

/* 生年月日はカレンダー入力なので短くてよい */
.entry-form__input--date {
  width: 220px;
}

/* 未入力のときに出す文言 */
.entry-form__error {
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: var(--tracking);
  color: #e5342b;
}

.entry-form__error[hidden] {
  display: none;
}

/* 未入力の欄は枠を付けて、どこが足りないか分かるようにする */
.entry-form__row.is-error .entry-form__input,
.entry-form__row.is-error .entry-form__textarea {
  outline: 2px solid #e5342b;
  outline-offset: -2px;
}

/* 入力欄の下に添える補足文 */
.entry-form__note {
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}
.entry-form__textarea {
  display: block;
  width: 720px;
  max-width: 100%;
  height: 220px;
  padding: 6px 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
  background: var(--color-bg-light);
  border: 0;
  border-radius: 2px;
  resize: vertical;
}

/* ---- ラジオボタン ------------------------------------------------------- */
.entry-form__radios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: 44px;
}
.entry-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.entry-radio__input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  background: var(--color-white);
  border: 1px solid rgba(5, 37, 78, 0.3);
  border-radius: 50%;
  appearance: none;
  transition: border-color 0.3s ease;
}
.entry-radio__input:checked {
  border-color: var(--color-blue);
  /* 中の点は背景で描く。border-width で描くより大きさを決めやすい */
  background: radial-gradient(circle, var(--color-blue) 0 4px, transparent 4px);
}
.entry-radio__input:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
.entry-radio__label {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* ---- チェックボックス（希望職種） --------------------------------------- */
.entry-form__checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: 44px;
}

.entry-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* 丸いラジオと見分けがつくよう、こちらは角丸の四角にする */
.entry-check__input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  background: var(--color-white);
  border: 1px solid rgba(5, 37, 78, 0.3);
  border-radius: 4px;
  appearance: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.entry-check__input:checked {
  background-color: var(--color-blue);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  border-color: var(--color-blue);
}

.entry-check__input:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.entry-check__label {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

/* ---- 送信・戻る --------------------------------------------------------- */
.entry-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 60px;
  margin-top: 60px;
}
/* btn-pill をボタン要素で使うためのリセット */
.entry-submit {
  font: inherit;
  cursor: pointer;
  appearance: none;
}


/* ==========================================================================
   採用イベントページ（event.html）
   ========================================================================== */

/* ---- 導入文 ------------------------------------------------------------- */
.event-intro__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 100px auto 0;
}
.event-intro__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.event-intro__lead {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- 見出し（オレンジの下線つき） --------------------------------------- */
.event-heading {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.event-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 20px;
  background: var(--color-orange);
  border-radius: 10px;
}

/* ---- 5つのステップ（丸アイコン） ---------------------------------------- */
.event-steps__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 74px auto 0;
}
.event-icon-list {
  display: flex;
  gap: 30px;
  margin-top: 43px;
}
.event-icon {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.event-icon__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  background: var(--color-white);
  border: 2px solid var(--color-blue);
  border-radius: 50%;
}
/* リンクになっているアイコンだけ、押せることが分かるようにする */
.event-icon__circle--link {
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.event-icon__circle--link:hover,
.event-icon__circle--link:focus-visible {
  background: var(--color-bg-light);
  transform: translateY(-4px);
}
/* アイコンは書き出したままの大きさで置き、狭い画面では拡大縮小だけで合わせる */
.event-icon__image {
  flex-shrink: 0;
}
.event-icon__label {
  /* Figma のテキスト枠は 73px。1 行 32px の上下に 20px ずつ余白を持たせている */
  margin-top: 20px;
  padding-bottom: 21px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ==========================================================================
   cta-events ― CTA の下に並べる「選べる！採用イベント」
   丸とラベルは採用イベントページ（.event-icon__circle / .event-icon__label）を
   そのまま使い、囲みと並べ方だけここで持つ。
   ========================================================================== */
.cta-events {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 64px auto 0;
}

.cta-events__title {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}

.cta-events__list {
  display: flex;
  gap: 30px;
  margin-top: 32px;
}

.cta-events__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

/* ---- クイック診断 ------------------------------------------------------- */
.quick-check__inner {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 80px auto 0;
}
.quick-check__lead {
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.quick-check__start {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-top: 67px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: var(--color-green);
}
/* バーの下に出る三角。次の質問へ視線を送る */
.quick-check__start::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-right: 17px solid transparent;
  border-left: 17px solid transparent;
  border-top: 12px solid var(--color-green);
}
.quick-check__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  margin-top: 73px;
  padding: 60px 40px;
  text-align: center;
  background: #f2fcfc;
  border: 2px solid var(--color-blue);
}
.quick-check__panel > * {
  width: 100%;
}
.check-question__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.check-question__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 50%;
}
.check-question__text {
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  text-align: left;
  color: var(--color-blue);
}
.check-question__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 80px;
  margin-top: 136px;
}
.check-button {
  min-width: 300px;
  height: 68px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-white);
  border: 0;
  border-radius: 34px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.check-button:hover,
.check-button:focus-visible {
  opacity: 0.8;
}
.check-button--yes {
  background: var(--color-orange);
}
.check-button--no {
  background: var(--color-blue);
}
.check-question__count {
  margin-top: 24px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* 診断結果 */
.check-result:focus {
  outline: none;
}
.check-result__lead {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.check-result__circle {
  margin-top: 24px;
}
.check-result__title {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.check-result__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  background: var(--color-bg-light);
  border-radius: 20px;
}
.check-result__text {
  max-width: 720px;
  margin: 20px auto 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
  /* 結果文は JS が textContent で入れるので、文中の改行（\n）をそのまま改行として見せる */
  white-space: pre-line;
}
.check-result__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.check-retry {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
.check-retry:hover,
.check-retry:focus-visible {
  text-decoration: none;
}

/* ---- 5つの選択肢カード -------------------------------------------------- */
.event-card-list {
  display: flex;
  gap: 30px;
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 120px auto 0;
}
.event-card {
  flex: 1 1 0;
  min-width: 0;
}
.event-card__title {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}
.event-card__text {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- 迷ったらカジュアル面談の帯 ----------------------------------------- */
.event-cta {
  width: 1376px;
  max-width: calc(100% - 60px);
  min-height: 489px;
  margin: 160px auto 0;
  padding: 61px 90px 100px;
  background: url("../../img/event/cta-band-bg.webp") center / cover no-repeat;
}
.event-cta__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.event-cta__text {
  margin-top: 47px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.event-cta__button {
  display: flex;
  justify-content: center;
  margin-top: 59px;
}
.event-cta__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 520px;
  max-width: 100%;
  height: 106px;
  padding: 0 21px 0 40px;
  background: var(--color-blue);
  transition: opacity 0.3s ease;
}
.event-cta__link:hover,
.event-cta__link:focus-visible {
  opacity: 0.85;
}
.event-cta__link-label {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-white);
}
.event-cta__link-arrow {
  display: flex;
  flex-shrink: 0;
}


/* ==========================================================================
   ここにも！丸石グループ（ability.html）
   ========================================================================== */

.ability-title {
  margin-top: 92px;
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-blue);
}
/* 見出しの直後に来るリード文だけ、間隔を Figma に合わせる */
.ability-title + .page-lead {
  margin-top: 54px;
}
.ability-map-section {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
}

/* ---- ポイントの吹き出し ------------------------------------------------- */
.point-balloon {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 62px;
}
.point-balloon__icon {
  flex-shrink: 0;
}
.point-balloon__text {
  position: relative;
  /* Figma の枠線は内側 2px。高さ 56px に収まるようパディングを引いている */
  padding: 9px 30px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: #ff8d7d;
  background: var(--color-white);
  border: 2px solid #ff8d7d;
  border-radius: 8px;
}
/* 吹き出しの左向きのしっぽ。正方形を 45 度回してかたちを作る */
.point-balloon__text::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -9px;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  border-bottom: 2px solid #ff8d7d;
  border-left: 2px solid #ff8d7d;
  transform: rotate(45deg);
}

/* ---- マップ ------------------------------------------------------------- */
.ability-map {
  position: relative;
  margin-top: 60px;
}
.ability-map__image {
  display: block;
  width: 100%;
  height: auto;
}
/* マップ上の当たり判定。JS が <area> の座標から％で置く。
   イラストにピンが描かれているので、ボタン自体は透明にしておく */
.ability-map__point {
  position: absolute;
  aspect-ratio: 1;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.ability-map__point:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ---- ピンを押したときのポップアップ（パソコン） ------------------------- */
body.is-ability-modal-open {
  overflow: hidden;
}
.ability-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
/* display を指定すると hidden 属性が効かなくなるので、明示的に打ち消す */
.ability-modal[hidden] {
  display: none;
}
.ability-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 37, 78, 0.6);
}
.ability-modal__panel {
  position: relative;
  width: 1200px;
  max-width: 100%;
  max-height: 100%;
  /* Figma：写真の上 80px・下 120px、左右 100px */
  padding: 80px 100px 120px;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: 20px;
}
.ability-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0px 0px 5px 1px var(--color-rule-weak);
}
.ability-modal__close:hover,
.ability-modal__close:focus-visible {
  background: var(--color-bg-light);
}
/* ×印。2 本の線を交差させて描く */
.ability-modal__close::before,
.ability-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  margin: -1px 0 0 -11px;
  background: var(--color-blue);
}
.ability-modal__close::before {
  transform: rotate(45deg);
}
.ability-modal__close::after {
  transform: rotate(-45deg);
}
/* 中身は一覧のパネルをそのまま複製するので、並べ方だけ上書きする */
.ability-modal__content {
  display: grid;
  /* 400px の円 ＋ 58px ＋ 本文 541px で 1000px（1200px − 左右 100px） */
  grid-template-columns: 400px 1fr;
  column-gap: 58px;
  align-items: start;
  padding-top: 0;
}
/* ポップアップの写真だけ丸く切り抜いて青い線で縁取る。
   線の 6px は外径に含めたいので box-sizing: border-box（reset.css で全体に指定済み）に任せる */
.ability-modal__content .ability-item__figure img {
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--color-blue);
  border-radius: 50%;
}
.ability-modal__content .ability-item__figure {
  grid-row: 1 / span 4;
}
.ability-modal__content .ability-item__tag {
  /* グリッドの中では inline-block でも横に伸びるので、左寄せにする */
  justify-self: start;
  margin-top: 0;
}

/* ---- スマホ用のアコーディオン（パソコンでは隠す） ----------------------- */
.ability-list {
  display: none;
}
.ability-item__heading {
  font-size: inherit;
  font-weight: inherit;
}
.ability-item__button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 8px 16px 8px 8px;
  font: inherit;
  text-align: left;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  cursor: pointer;
}
.ability-item__thumb {
  flex-shrink: 0;
  width: 104px;
}
.ability-item__thumb img {
  width: 100%;
  aspect-ratio: 104 / 68;
  object-fit: cover;
}
.ability-item__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
/* 開閉のしるし。閉じているときは＋、開いているときは－ */
.ability-item__mark {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.ability-item__mark::before,
.ability-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--color-blue);
}
.ability-item__mark::after {
  transform: rotate(90deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ability-item__button[aria-expanded="true"] .ability-item__mark::after {
  transform: rotate(0deg);
  opacity: 0;
}
.ability-item__panel {
  padding-top: 20px;
}
.ability-item__figure img {
  width: 100%;
  aspect-ratio: 362 / 211;
  object-fit: cover;
}
.ability-item__tag {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 10px 20px;
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}
.ability-item__subject {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}
.ability-item__subject::first-letter {
  color: var(--color-orange);
}
.ability-item__text {
  margin-top: 44px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

/* ---- ページ下部のボタン ------------------------------------------------- */
.ability-button {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

/* ==========================================================================
   レスポンシブ：タブレット以下（1199px）
   ========================================================================== */
@media (max-width: 1199px) {
  /* ---- page-hero ---- */
  .page-hero {
    height: 300px;
    margin-bottom: 40px;
  }

  .page-hero__shape {
    top: -190px;
    left: -250px;
    width: 480px;
    height: 588px;
  }

  .page-hero__inner {
    padding-top: 118px;
  }

  .page-hero .section-heading__en {
    font-size: 56px;
    line-height: 60px;
  }

  .page-hero .section-heading__ja {
    font-size: 20px;
    line-height: 30px;
  }

  /* ---- breadcrumb / anchor-nav ---- */
  .breadcrumb {
    bottom: 14px;
  }

  .breadcrumb__list {
    gap: 14px;
    padding-right: 24px;
    font-size: 13px;
    line-height: 22px;
  }

  .breadcrumb__item {
    gap: 14px;
  }

  /* 記事タイトルなどが長いと折り返して見出しとぶつかるので、
     タブレット以下では 1 行に固定して現在地を三点リーダーで収める */
  .breadcrumb__list {
    flex-wrap: nowrap;
  }

  .breadcrumb__item {
    flex-shrink: 0;
  }

  .breadcrumb__item:last-child {
    display: block;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .breadcrumb__item + .breadcrumb__item:last-child::before {
    display: inline-block;
    margin-right: 14px;
    vertical-align: middle;
  }

  .anchor-nav {
    margin-top: 40px;
  }

  .anchor-nav__list {
    gap: 16px 32px;
  }

  .anchor-nav__link {
    gap: 14px;
    font-size: 16px;
  }

  .anchor-nav__arrow {
    width: 40px;
    height: 40px;
  }

  /* ---- 見出し ---- */
  .section-title {
    font-size: 28px;
    line-height: 40px;
  }

  .section-lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 30px;
  }

  .section-lead--wide {
    margin-top: 30px;
    font-size: 15px;
    line-height: 28px;
  }

  /* ---- message ---- */
  .message {
    padding: 70px 0 80px;
  }

  .video-card {
    margin-top: 36px;
  }

  .video-card__caption {
    bottom: 20px;
    left: 20px;
    font-size: 15px;
    line-height: 28px;
  }

  .video-card__play {
    width: 84px;
    height: 84px;
  }

  /* ---- strength ---- */
  .strength {
    padding-top: 80px;
  }

  .strength__doc {
    margin-top: 36px;
  }

  .strength__doc-note {
    font-size: 18px;
  }

  .strength__caption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 34px;
  }

  .strength__text {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  /* ---- def-table ---- */
  .outline,
  .access {
    padding-top: 80px;
  }

  .def-table {
    margin-top: 36px;
  }

  .def-table__row {
    padding: 16px 0;
  }

  .def-table__key {
    padding-left: 12px;
    font-size: 16px;
    line-height: 30px;
  }

  .def-table__value {
    font-size: 15px;
    line-height: 30px;
  }

  .dot-list__item {
    padding-left: 24px;
    line-height: 28px;
  }

  .dot-list__item::before {
    top: 11px;
    left: 4px;
    width: 7px;
    height: 7px;
  }

  /* ---- history ---- */
  .history {
    margin-top: 80px;
    padding: 70px 0;
  }

  .history::before {
    background-size: contain;
    right: -5%;
    width: 50%;
    aspect-ratio: 848/474;
    height: auto;
  }

  .timeline {
    margin-top: 48px;
    padding-left: 180px;
  }

  .timeline::before {
    left: 132px;
  }

  .timeline__item::before {
    top: 12px;
    left: -53px;
  }

  .timeline__date {
    top: 10px;
    left: -180px;
    width: 120px;
    font-size: 17px;
  }

  .timeline__text {
    font-size: 15px;
    line-height: 28px;
  }


  /* ---- access ---- */
  .access__map {
    margin-top: 40px;
  }

  /* ---- 一覧 ---- */
  .category-tabs {
    margin-top: 56px;
  }

  .category-tabs__list {
    gap: 10px 16px;
  }

  .category-tabs__link {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .article-list-section {
    margin-top: 40px;
  }

  .article-list__count {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 30px;
  }

  .article-card {
    grid-template-columns: 280px 1fr;
    gap: 0 24px;
    padding: 20px 0;
  }

  .article-card__thumb {
    width: 280px;
    height: 172px;
  }

  .article-card__meta {
    gap: 10px 24px;
  }

  .article-card__date {
    font-size: 16px;
    line-height: 30px;
  }

  .article-card__tag {
    height: 34px;
    padding: 0 16px;
    font-size: 14px;
  }

  .article-card__title {
    margin-top: 20px;
    font-size: 20px;
    line-height: 32px;
  }

  /* ---- 人を知る ---- */
  .interview-list {
    margin-top: 56px;
  }

  .interview-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 24px;
  }

  .interview-entry__role {
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 28px;
  }

  .interview-entry__title {
    margin-top: 14px;
    font-size: 24px;
    line-height: 36px;
  }

  .interview-entry__photo {
    margin-top: 24px;
  }

  .interview-entry__button {
    margin-top: 24px;
  }

  /* ---- 働く環境 ---- */
  .env-section {
    padding: 70px 0 80px;
  }

  .env-section--plain {
    padding: 80px 0 0;
    margin-bottom: 80px;
  }

  .env-section__lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 30px;
  }

  .welfare-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 20px;
    margin-top: 40px;
  }

  .welfare-card__figure--empty {
    font-size: 15px;
    line-height: 26px;
  }

  .welfare-card__title {
    margin-top: 18px;
    font-size: 20px;
    line-height: 30px;
  }

  .welfare-card__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 28px;
  }

  .system-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
  }

  .system-card {
    padding: 24px 20px;
  }

  .system-card__title {
    font-size: 22px;
    line-height: 32px;
  }

  .system-card__title::after {
    margin-top: 12px;
  }

  .system-card__icon {
    height: 70px;
    margin-top: 18px;
  }

  .system-card__text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 28px;
  }

  /* ユニフォームは写真＋サムネを上、説明を下に */
  .uniform {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 0 16px;
    margin-top: 40px;
  }

  .uniform__body {
    grid-column: 1 / -1;
    margin-top: 32px;
  }

  .uniform__text {
    font-size: 15px;
    line-height: 28px;
  }

  .uniform__subtitle {
    margin-top: 28px;
    font-size: 20px;
    line-height: 30px;
  }

  .voice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
  }

  .voice-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 20px;
    min-height: 0;
    padding: 20px;
  }

  .voice-card__avatar {
    width: 96px;
    height: 96px;
  }

  .voice-card__name {
    margin-top: 0;
    font-size: 18px;
    line-height: 28px;
  }

  .voice-card__text {
    font-size: 15px;
    line-height: 28px;
  }

  .tour {
    margin-top: 40px;
  }

  .tour__stage,
  .tour__thumbs {
    max-width: calc(100% - 120px);
  }

  .tour__caption {
    min-height: 0;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 26px;
  }

  .tour__thumbs {
    gap: 14px;
    margin-top: 14px;
  }

  /* 余白が狭くなる分、折り返さずに 4 枚並ぶよう最小幅を下げる */
  .tour__thumbs > li {
    min-width: 120px;
  }

  .tour__arrow {
    top: 40%;
    width: 48px;
    height: auto;
  }

  .env-closing {
    margin-top: 64px;
    font-size: 16px;
    line-height: 30px;
  }

  .env-button {
    margin-top: 64px;
  }

  /* ---- 数字で見る丸石 ---- */
  .data-grid {
    margin-top: 56px;
  }

  .data-grid .stat-grid {
    gap: 24px 16px;
  }

  /* 狭い幅では注記が 2 行になり 1:1 のカードから溢れるので、
     このページのカードだけ高さを内容なりにする（行内は grid が揃える） */
  .data-grid .stat-card {
    aspect-ratio: auto;
    padding-bottom: 14px;
  }

  .data-grid .stat-card__note {
    margin-bottom: 0;
  }

  .data-card__icon {
    height: 72px;
    margin-top: 10px;
  }

  .data-card__pair-labels {
    bottom: -14px;
    gap: 84px;
    font-size: 14px;
    line-height: 26px;
  }

  .data-card__ring {
    width: 120px;
    margin-top: 12px;
  }

  .data-card__ring-icon {
    top: 46px;
    left: 45px;
    width: 30px;
    height: 29px;
  }

  .data-card__ratio {
    gap: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  .data-card__ratio-value {
    font-size: 28px;
  }

  /* ---- 募集要項 ---- */
  .job-intro {
    padding: 70px 0 56px;
  }

  .job-intro__title {
    font-size: 26px;
    line-height: 40px;
  }

  .job-intro__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 28px;
  }

  .job-intro__text {
    font-size: 15px;
    line-height: 30px;
  }

  .job-intro__text > p + p {
    margin-top: 24px;
  }

  .job-spec {
    margin-top: 64px;
  }

  .job-back,
  .page-back {
    margin-top: 64px;
  }

  /* ---- 導入文・リンクカード ---- */
  .page-lead {
    margin-top: 56px;
    padding: 24px;
    font-size: 16px;
    line-height: 30px;
  }

  .link-card-list {
    margin-top: 56px;
  }

  .link-card-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 24px;
  }

  .link-card__title {
    font-size: 24px;
    line-height: 36px;
  }

  .link-card__photo {
    margin-top: 24px;
  }

  .link-card__text {
    margin-top: 24px;
    font-size: 15px;
    line-height: 30px;
  }

  .link-card__button {
    margin-top: 24px;
  }

  /* ---- インタビュー詳細 ---- */
  .interview-detail {
    margin-top: 56px;
  }

  .interview-detail__title {
    font-size: 28px;
    line-height: 42px;
  }

  .interview-detail__role {
    margin-top: 24px;
  }

  .interview-detail__role-label {
    height: 38px;
    padding: 0 16px;
    font-size: 15px;
    line-height: 38px;
  }

  .interview-detail__hero {
    margin-top: 36px;
  }

  .ph-box {
    font-size: 16px;
  }

  .qa-list {
    margin-top: 40px;
  }

  .qa-item + .qa-item {
    margin-top: 36px;
  }

  .qa-item__row {
    grid-template-columns: 40px 1fr;
    gap: 0 14px;
  }

  .qa-item__row + .qa-item__row {
    margin-top: 24px;
  }

  .qa-item__badge {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .qa-item__question {
    font-size: 22px;
    line-height: 34px;
  }

  .qa-item__answer {
    font-size: 15px;
    line-height: 30px;
  }

  .qa-figure {
    margin-top: 36px;
  }

  .qa-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 24px;
    margin-top: 56px;
  }

  /* ---- 強調ボックス ---- */
  .emphasis-box {
    margin-top: 56px;
    padding: 40px 32px;
  }

  .emphasis-box::before,
  .emphasis-box--blue::before {
    left: 30%;
    width: 90%;
    height: 100%;
  }

  .emphasis-box__title {
    gap: 14px;
    font-size: 20px;
    line-height: 32px;
  }

  .emphasis-box__title::before {
    height: 32px;
  }

  .emphasis-box__body {
    margin-top: 24px;
    font-size: 16px;
    line-height: 30px;
  }

  .emphasis-box__body > p + p {
    margin-top: 24px;
  }

  .emphasis-box__columns {
    grid-template-columns: minmax(0, 1fr) 40%;
    gap: 0 32px;
    margin-top: 24px;
  }

  /* ---- スケジュール ---- */
  .schedule {
    margin-top: 64px;
  }

  .schedule__list {
    margin-top: 40px;
    padding-left: 76px;
  }

  .schedule__list::before {
    left: 28px;
    bottom: -40px;
  }

  .schedule__item + .schedule__item {
    margin-top: 56px;
  }

  .schedule__item::before {
    left: -60px;
    width: 26px;
    height: 26px;
  }

  .schedule__time {
    font-size: 16px;
    line-height: 30px;
  }

  .schedule__detail {
    margin-top: 16px;
  }

  /* ---- クロストーク ---- */
  .crosstalk {
    margin-top: 80px;
    padding: 70px 0 80px;
  }

  .crosstalk__lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 30px;
  }

  .bar-heading {
    font-size: 24px;
    line-height: 34px;
  }

  .bar-heading::after {
    margin-top: 14px;
  }

  .crosstalk__theme {
    margin-top: 40px;
  }

  .crosstalk__figure {
    margin-top: 28px;
  }

  .crosstalk__watermark {
    right: 0;
    bottom: 3px;
    font-size: 42px;
    line-height: 24px;
  }

  .crosstalk__button {
    margin-top: 32px;
  }

  .page-next {
    margin-top: 80px;
  }

  /* ---- 記事詳細 ---- */
  .article-single {
    margin-top: 56px;
  }

  .article-single__header {
    padding-top: 36px;
  }

  .article-single__meta {
    gap: 10px 24px;
  }

  .article-single__date {
    font-size: 20px;
    line-height: 30px;
  }

  .article-single__title {
    margin-top: 18px;
    font-size: 28px;
    line-height: 42px;
  }

  .article-single__thumb {
    margin-top: 40px;
  }

  .article-body {
    margin-top: 48px;
    padding-bottom: 48px;
    font-size: 15px;
    line-height: 30px;
  }

  .article-body > * + * {
    margin-top: 24px;
  }

  .article-body h2 {
    margin-top: 40px;
    font-size: 22px;
    line-height: 36px;
  }

  .article-body h3 {
    margin-top: 32px;
    font-size: 18px;
    line-height: 30px;
  }

  .article-pager {
    gap: 40px;
    margin-top: 64px;
  }

  .article-pager__arrow {
    width: 42px;
    height: 42px;
  }

  .article-pager__back {
    width: 180px;
    height: 46px;
    font-size: 15px;
  }

  .pagination {
    margin-top: 64px;
  }

  .pagination__list {
    gap: 12px;
  }

  .pagination__link,
  .pagination__arrow {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  /* ---- banner-zone ---- */
  .banner-zone {
    margin-top: 80px;
    padding: 64px 0;
  }

  .banner-zone__inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .banner-zone__lead {
    font-size: 24px;
    line-height: 36px;
  }

  .banner-zone__list {
    justify-content: center;
    gap: 24px;
  }

  .banner-zone__link {
    width: 300px;
  }

  /* ---- 仕事紹介 ---- */
  .job + .job {
    margin-top: 80px;
  }

  .job__head {
    padding: 72px 0 56px;
  }

  .job__body {
    padding-top: 56px;
  }

  .job-detail {
    gap: 32px;
    margin-top: 32px;
  }

  .job-detail__figure {
    flex: 0 0 46%;
  }

  .job-detail__text,
  .job-detail__list,
  .job-point-card__list,
  .career-step__list {
    font-size: 15px;
  }

  .job-detail__term-title {
    margin-top: 28px;
    font-size: 20px;
  }

  .job-detail__term {
    font-size: 16px;
  }

  .job-point-list {
    gap: 24px;
  }

  .job-point-card {
    padding: 28px 24px 40px;
  }

  .job-point-card__title,
  .career-flow__title {
    font-size: 24px;
    line-height: 34px;
  }

  .job-point-card__title::after,
  .career-flow__title::after {
    margin-top: 14px;
  }

  .job-point-card__list {
    margin-top: 28px;
  }

  .job-point-list + .job-point-card--wide {
    margin-top: 24px;
  }

  .job-point-card__text {
    margin-top: 28px;
    font-size: 15px;
  }

  .career-flow__lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .career-flow__lead + .career-flow__chart {
    margin-top: 28px;
  }

  .career-flow {
    margin-top: 80px;
  }

  .career-flow__chart {
    margin-top: 40px;
  }

  .career-flow__arrow {
    bottom: 86px;
    height: 124px;
  }

  .career-step {
    padding-bottom: 210px;
  }

  .career-step .career-step__head,
  .career-step .career-step__list {
    padding: 0 10px;
  }

  .career-step__title {
    font-size: 18px;
    line-height: 28px;
  }

  .career-step__head {
    gap: 12px;
  }

  .career-step__no {
    gap: 8px;
    line-height: 36px;
  }

  .career-step__no-label {
    font-size: 14px;
  }

  .career-step__no-num {
    font-size: 36px;
    line-height: 36px;
  }

  .career-step__bar {
    font-size: 18px;
  }

  .career-step__bar--green {
    height: 72px;
  }

  .career-step__bar--cyan {
    height: 94px;
  }

  .career-step__bar--orange {
    height: 122px;
  }

  .career-step__bar--red {
    height: 144px;
  }

  .career-step__num {
    font-size: 28px;
  }

  .career-step__icon {
    width: 30px;
    height: 32px;
  }

  .job__actions {
    gap: 20px 60px;
    margin-top: 56px;
  }

  .job-back,
  .page-back {
    margin-top: 80px;
  }

  /* ---- エントリーフォーム ---- */
  .contact-band {
    max-width: calc(100% - var(--gutter) * 2);
    margin-top: 64px;
    padding: 60px 40px 44px;
  }

  .contact-band__en {
    font-size: 48px;
  }

  .contact-band__title {
    font-size: 24px;
    line-height: 34px;
  }

  .contact-band__body {
    /* 電話番号が折り返すくらい狭くなったら、LINE ボタンを下の行に送る */
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
  }

  .contact-band__tel {
    flex: 1 1 320px;
  }

  .contact-band__tel-label {
    font-size: 18px;
    line-height: 30px;
  }

  .contact-band__tel-number {
    gap: 4px;
    margin-top: 8px;
  }

  .contact-band__tel-icon {
    width: 44px;
    height: 44px;
  }

  .contact-band__tel-link {
    font-size: 38px;
    line-height: 30px;
  }

  .contact-band__tel-note {
    margin-top: 12px;
    font-size: 15px;
    line-height: 26px;
  }

  .contact-band__line {
    flex: 0 0 auto;
    gap: 24px;
    width: 360px;
    height: 120px;
    padding-left: 28px;
  }

  .contact-band__line-icon {
    width: 56px;
    height: 56px;
  }

  .contact-band__line-label {
    font-size: 22px;
    line-height: 32px;
  }

  .entry-form {
    margin-top: 56px;
  }

  .entry-form__label {
    flex-basis: 300px;
    padding-left: 0;
  }

  .entry-form__name {
    font-size: 16px;
  }

  .entry-form__input,
  .entry-form__textarea {
    width: 100%;
  }

  /* 生年月日はカレンダー入力なので、幅いっぱいにはしない */
  .entry-form__input--date {
    width: 220px;
  }

  .entry-form__actions {
    gap: 16px 32px;
    margin-top: 48px;
  }

  /* ---- 採用イベント ---- */
  .event-intro__inner {
    margin-top: 64px;
  }

  .event-intro__title {
    font-size: 28px;
    line-height: 40px;
  }

  .event-intro__lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  .event-heading {
    font-size: 24px;
    line-height: 34px;
  }

  .event-heading::after {
    margin-top: 14px;
  }

  .event-steps__inner {
    margin-top: 56px;
  }

  .event-icon-list {
    gap: 16px;
    margin-top: 32px;
  }

  .event-icon__circle {
    width: 118px;
    height: 118px;
  }

  .event-icon__image {
    transform: scale(0.78);
  }

  .event-icon__label {
    margin-top: 14px;
    font-size: 14px;
    line-height: 24px;
  }

  .quick-check__inner {
    margin-top: 64px;
  }

  .quick-check__lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .quick-check__start {
    height: 56px;
    margin-top: 40px;
    font-size: 20px;
  }

  .quick-check__panel {
    min-height: 0;
    margin-top: 48px;
    padding: 48px 32px;
  }

  .check-question__text {
    font-size: 22px;
    line-height: 34px;
  }

  .check-question__buttons {
    gap: 16px 40px;
    margin-top: 64px;
  }

  .check-button {
    min-width: 220px;
    height: 60px;
    font-size: 20px;
  }

  .check-result__title {
    font-size: 22px;
    line-height: 32px;
  }

  .check-result__text,
  .event-card__text {
    font-size: 14px;
    line-height: 26px;
  }

  /* 5 列だと 1 枚が狭くなりすぎるので、3 列で折り返す */
  .event-card-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 16px;
    margin-top: 80px;
  }

  .event-card {
    flex: 0 0 calc((100% - 32px) / 3);
  }

  .event-card__title {
    font-size: 15px;
    line-height: 24px;
  }

  .event-cta {
    max-width: calc(100% - var(--gutter) * 2);
    min-height: 0;
    margin-top: 96px;
    padding: 48px 40px 56px;
  }

  .event-cta__title {
    font-size: 26px;
    line-height: 40px;
  }

  .event-cta__text {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  .event-cta__button {
    margin-top: 40px;
  }

  .event-cta__link {
    width: 420px;
    height: 88px;
    padding: 0 16px 0 28px;
  }

  .event-cta__link-label {
    font-size: 19px;
  }

  .event-cta__link-arrow img {
    width: 52px;
    height: 52px;
  }

  /* ---- ここにも！丸石グループ ---- */
  .ability-title {
    margin-top: 64px;
    font-size: 28px;
    line-height: 40px;
  }

  .ability-title + .page-lead {
    margin-top: 32px;
  }

  .point-balloon {
    gap: 16px;
    margin-top: 40px;
  }

  .point-balloon__icon {
    width: 44px;
    height: 44px;
  }

  .point-balloon__text {
    padding: 8px 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .point-balloon__text::before {
    top: 15px;
  }

  .ability-map {
    margin-top: 32px;
  }

  .ability-modal__panel {
    padding: 48px 24px 32px;
  }

  .ability-modal__content {
    grid-template-columns: 40% 1fr;
    column-gap: 24px;
  }

  /* 画面が狭いぶん、円と線も少し細くする */
  .ability-modal__content .ability-item__figure img {
    border-width: 4px;
  }

  .ability-button {
    margin-top: 56px;
  }

  /* ---- 3分でわかる丸石 ---- */
  .quick-know {
    margin-top: 72px;
  }

  .qa-block {
    margin-top: 40px;
  }

  .qa-block + .qa-block {
    margin-top: 72px;
  }

  .qa-block__title {
    gap: 14px;
    font-size: 24px;
    line-height: 34px;
  }

  .qa-block__mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .qa-pills {
    gap: 20px;
    margin-top: 28px;
  }

  .qa-pill {
    min-width: 280px;
    padding: 10px 20px;
    font-size: 17px;
    line-height: 30px;
  }

  .qa-illust {
    gap: 16px;
    margin-top: 28px;
  }

  .qa-illust__image {
    width: 150px;
  }

  .qa-illust__dots--left {
    margin-right: 60px;
  }

  .qa-illust__dots--right {
    margin-left: 48px;
  }

  .qa-box {
    margin-top: 28px;
    padding: 40px 32px 64px;
  }

  .qa-box__list {
    column-gap: 40px;
    row-gap: 32px;
  }

  .qa-box .dot-list__item {
    font-size: 17px;
    line-height: 32px;
  }

  .qa-box .dot-list__item::before {
    top: 13px;
  }

  .qa-box__illust {
    width: 180px;
    bottom: -44px;
    left: auto;
    right: 24px;
  }

  .qa-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
  }

  .qa-card {
    min-height: 0;
    padding: 24px;
    font-size: 16px;
    line-height: 30px;
  }

  .qa-cards__illust img {
    width: 200px;
    margin-bottom: 0;
  }

  /* ---- CTA の下の採用イベント ---- */
  .cta-events {
    margin-top: 48px;
  }

  .cta-events__list {
    gap: 16px;
  }
}

/* ==========================================================================
   レスポンシブ：スマホ（767px）
   ========================================================================== */
@media (max-width: 767px) {
  /* ---- page-hero ---- */
  .page-hero {
    height: 200px;
    margin-bottom: 36px;
  }

  .page-hero__bg {
    left: 20%;
    width: 100%;
  }

  .page-hero__shape {
    top: -130px;
    left: -180px;
    width: 330px;
    height: 404px;
  }

  .page-hero__inner {
    padding-top: 74px;
  }

  /* スマホは common の section-heading が縦積みになるので左寄せに戻す */
  .page-hero .section-heading {
    align-items: flex-start;
    text-align: left;
  }

  .page-hero .section-heading__en {
    font-size: 40px;
    line-height: 44px;
  }

  .page-hero .section-heading__ja {
    font-size: 15px;
    line-height: 24px;
  }

  /* ---- breadcrumb / anchor-nav ---- */
  .breadcrumb {
    bottom: 10px;
  }

  .breadcrumb__list {
    gap: 10px;
    padding-right: 20px;
    font-size: 12px;
    line-height: 20px;
  }

  .breadcrumb__item {
    gap: 10px;
  }

  .breadcrumb__item + .breadcrumb__item:last-child::before {
    margin-right: 10px;
  }

  .anchor-nav {
    margin-top: 28px;
  }

  .anchor-nav__list {
    flex-direction: column;
    gap: 12px;
  }

  .anchor-nav__link {
    gap: 10px;
    font-size: 15px;
  }

  .anchor-nav__arrow {
    width: 32px;
    height: 32px;
  }

  /* ---- 見出し ---- */
  .section-title {
    font-size: 22px;
    line-height: 32px;
  }

  .section-lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 26px;
  }

  .section-lead--wide {
    margin-top: 20px;
    font-size: 14px;
    line-height: 26px;
  }

  .privacy-link {
    margin-top: 12px;
    font-size: 13px;
    line-height: 24px;
  }

  /* ---- message ---- */
  .message {
    padding: 50px 0 56px;
  }

  .video-card {
    margin-top: 24px;
  }

  .video-card__caption {
    bottom: 12px;
    left: 12px;
    font-size: 13px;
    line-height: 22px;
  }

  .video-card__play {
    width: 60px;
    height: 60px;
  }

  /* ---- strength ---- */
  .strength {
    padding-top: 56px;
  }

  .strength__doc {
    margin-top: 24px;
    border-radius: 12px;
  }

  .strength__doc-note {
    font-size: 14px;
  }

  .strength__caption {
    margin-top: 14px;
    font-size: 12px;
    line-height: 28px;
  }

  .strength__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  /* ---- def-table：スマホは見出しと値を縦に積む ---- */
  .outline,
  .access {
    padding-top: 56px;
  }

  .def-table {
    margin-top: 24px;
  }

  .def-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
    /* 縦積みでは罫線を分割せず 1 色にする */
    background-image: linear-gradient(to right, var(--color-blue) 0 100%);
  }

  .def-table__key {
    padding-left: 0;
    font-size: 14px;
    line-height: 24px;
  }

  .def-table__value {
    font-size: 14px;
    line-height: 24px;
  }

  .dot-list__item {
    padding-left: 18px;
    line-height: 24px;
  }

  .dot-list__item::before {
    top: 9px;
    left: 2px;
    width: 6px;
    height: 6px;
  }

  /* ---- history ---- */
  .history {
    margin-top: 56px;
    padding: 50px 0;
  }

  /* スマホは日付を上に置き、線は左端に寄せる */
  .timeline {
    margin-top: 32px;
    padding-left: 26px;
  }

  .timeline::before {
    top: 6px;
    bottom: -24px;
    left: 4px;
  }

  .timeline__item {
    min-height: 0;
    padding-bottom: 20px;
  }

  .timeline__item::before {
    top: 7px;
    left: -27px;
    width: 10px;
    height: 10px;
  }

  .timeline__date {
    position: static;
    width: auto;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 24px;
  }

  .timeline__text {
    font-size: 14px;
    line-height: 26px;
  }

  .history__more {
    font-size: 18px;
  }

  /* ---- access ---- */
  .access__map {
    margin-top: 24px;
  }

  /* ---- 一覧：サムネイルを上に積む ---- */
  .category-tabs {
    margin-top: 36px;
  }

  .category-tabs__list {
    gap: 8px 10px;
  }

  .category-tabs__link {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .article-list-section {
    margin-top: 28px;
  }

  .article-list__count {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 26px;
  }

  .article-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .article-card__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 234;
  }

  .article-card__meta {
    gap: 8px 16px;
  }

  .article-card__date {
    font-size: 14px;
    line-height: 24px;
  }

  .article-card__tag {
    height: 30px;
    padding: 0 14px;
    font-size: 12px;
  }

  .article-card__title {
    margin-top: 12px;
    font-size: 17px;
    line-height: 28px;
  }

  /* ---- 人を知る：1 カラムに落とす ---- */
  .interview-list {
    margin-top: 36px;
  }

  .interview-list__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .interview-entry__role {
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 24px;
  }

  .interview-entry__title {
    margin-top: 12px;
    font-size: 20px;
    line-height: 32px;
  }

  .interview-entry__photo {
    margin-top: 16px;
    border-radius: 12px;
  }

  .interview-entry__button {
    margin-top: 20px;
  }

  /* ---- 働く環境 ---- */
  .env-section {
    padding: 50px 0 56px;
  }

  .env-section--plain {
    padding: 56px 0 0;
    margin-bottom: 56px;
  }

  .env-section__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  /* カードは 1 カラムに落とす */
  .welfare-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 28px;
  }

  .welfare-card__figure--empty {
    font-size: 14px;
    line-height: 24px;
  }

  .welfare-card__title {
    margin-top: 14px;
    font-size: 18px;
    line-height: 28px;
  }

  .welfare-card__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 28px;
  }

  .system-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .system-card {
    padding: 20px 16px;
  }

  .system-card__title {
    font-size: 18px;
    line-height: 28px;
  }

  .system-card__title::after {
    width: 32px;
    margin-top: 10px;
  }

  .system-card__icon {
    height: 56px;
    margin-top: 14px;
  }

  .system-card__text {
    margin-top: 14px;
    font-size: 14px;
    line-height: 28px;
  }

  .uniform {
    grid-template-columns: 1fr;
    gap: 0 10px;
    margin-top: 28px;
  }

  .uniform__thumbs {
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
  }

  .uniform__tag {
    height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .uniform__body {
    margin-top: 24px;
  }

  .uniform__text {
    font-size: 14px;
    line-height: 28px;
  }

  .uniform__subtitle {
    margin-top: 20px;
    font-size: 17px;
    line-height: 28px;
  }

  .voice-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .voice-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 14px;
    padding: 16px;
    border-radius: 12px;
  }

  .voice-card__avatar {
    width: 72px;
    height: 72px;
  }

  .voice-card__name {
    font-size: 16px;
    line-height: 26px;
  }

  .voice-card__text {
    font-size: 14px;
    line-height: 26px;
  }

  .tour {
    margin-top: 28px;
  }

  .tour__stage,
  .tour__thumbs {
    max-width: 100%;
  }

  .tour__caption {
    position: static;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 24px;
  }

  /* 1 行に詰めると小さすぎるので、4 列で折り返す */
  .tour__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
  }

  .tour__thumbs > li {
    min-width: 0;
    max-width: none;
  }

  .tour__thumb {
    width: 100%;
  }

  /* 画面が狭いので矢印はサムネの下に回さず、写真の上に重ねる。
     % だとキャプションやサムネの行数で位置がずれるため、
     写真の高さ（幅 × 1160/1920）の真ん中に合わせる */
  .tour {
    container-type: inline-size;
  }

  .tour__arrow {
    top: calc(100cqw * 1160 / 1920 / 2 - 18px);
    width: 36px;
    height: auto;
  }

  .tour__arrow--prev {
    left: 4px;
  }

  .tour__arrow--next {
    right: 4px;
  }

  .env-closing {
    margin-top: 40px;
    font-size: 14px;
    line-height: 26px;
  }

  .env-button {
    margin-top: 44px;
  }

  /* ---- 数字で見る丸石 ---- */
  .data-grid {
    margin-top: 36px;
  }

  .data-grid .stat-grid {
    gap: 14px 12px;
  }

  .data-grid .stat-card {
    aspect-ratio: auto;
    padding-bottom: 12px;
  }

  .data-grid .stat-card__note {
    margin-bottom: 0;
  }

  .data-card__icon {
    height: 52px;
    margin-top: 6px;
  }

  .data-card__pair-labels {
    bottom: -10px;
    gap: 48px;
    font-size: 11px;
    line-height: 20px;
  }

  .data-card__ring {
    width: 84px;
    margin-top: 8px;
  }

  .data-card__ring-icon {
    top: 32px;
    left: 32px;
    width: 21px;
    height: 20px;
  }

  .data-card__ratio {
    gap: 10px;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 20px;
  }

  .data-card__ratio-item {
    gap: 4px;
  }

  .data-card__ratio-value {
    font-size: 20px;
  }

  /* ---- 募集要項：導入は縦積み ---- */
  .job-intro {
    padding: 50px 0 44px;
  }

  .job-intro__title {
    font-size: 20px;
    line-height: 32px;
  }

  .job-intro__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
  }

  .job-intro__text {
    font-size: 14px;
    line-height: 28px;
  }

  .job-intro__text > p + p {
    margin-top: 20px;
  }

  .job-intro__figure {
    border-radius: 12px;
  }

  .job-spec {
    margin-top: 44px;
  }

  .job-back,
  .page-back {
    margin-top: 44px;
  }

  /* ---- 導入文・リンクカード ---- */
  .page-lead {
    margin-top: 36px;
    padding: 20px;
    font-size: 14px;
    line-height: 26px;
    border-radius: 12px;
  }

  .link-card-list {
    margin-top: 36px;
  }

  .link-card-list__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .link-card__title {
    font-size: 20px;
    line-height: 32px;
  }

  .link-card__photo {
    margin-top: 16px;
    border-radius: 12px;
  }

  .link-card__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 28px;
  }

  .link-card__button {
    margin-top: 20px;
  }

  /* ---- インタビュー詳細 ---- */
  .interview-detail {
    margin-top: 36px;
  }

  .interview-detail__title {
    font-size: 20px;
    line-height: 32px;
  }

  .interview-detail__role {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .interview-detail__role-label {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 32px;
  }

  .interview-detail__hero {
    margin-top: 24px;
    border-radius: 12px;
  }

  .ph-box {
    font-size: 13px;
    border-radius: 12px;
  }

  .qa-list {
    margin-top: 28px;
  }

  .qa-item + .qa-item {
    margin-top: 28px;
  }

  .qa-item__row {
    grid-template-columns: 32px 1fr;
    gap: 0 10px;
  }

  .qa-item__row + .qa-item__row {
    margin-top: 16px;
  }

  .qa-item__badge {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .qa-item__question {
    font-size: 17px;
    line-height: 28px;
  }

  .qa-item__answer {
    font-size: 14px;
    line-height: 28px;
  }

  .qa-figure {
    margin-top: 24px;
  }

  /* スマホは写真と Q&A を縦に積む */
  .qa-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  /* ---- 強調ボックス ---- */
  .emphasis-box {
    margin-top: 40px;
    padding: 28px 20px;
    border-radius: 12px;
  }

  .emphasis-box__title {
    gap: 10px;
    font-size: 17px;
    line-height: 28px;
  }

  .emphasis-box__title::before {
    height: 28px;
  }

  .emphasis-box__body {
    margin-top: 16px;
    font-size: 14px;
    line-height: 28px;
  }

  .emphasis-box__body > p + p {
    margin-top: 16px;
  }

  .emphasis-box__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 16px;
  }

  /* ---- スケジュール ---- */
  .schedule {
    margin-top: 44px;
  }

  .schedule__list {
    margin-top: 28px;
    padding-left: 44px;
  }

  .schedule__list::before {
    top: 12px;
    bottom: -28px;
    left: 11px;
  }

  .schedule__item + .schedule__item {
    margin-top: 36px;
  }

  .schedule__item::before {
    top: 0;
    left: -44px;
    width: 24px;
    height: 24px;
  }

  .schedule__time {
    font-size: 14px;
    line-height: 26px;
  }

  .schedule__detail {
    margin-top: 10px;
  }

  .schedule__more {
    font-size: 18px;
  }

  /* ---- クロストーク ---- */
  .crosstalk {
    margin-top: 56px;
    padding: 50px 0 56px;
  }

  .crosstalk__lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 26px;
  }

  .bar-heading {
    font-size: 18px;
    line-height: 28px;
  }

  .bar-heading::after {
    width: 32px;
    margin-top: 10px;
  }

  .crosstalk__theme {
    margin-top: 32px;
  }

  .crosstalk__figure {
    margin-top: 20px;
  }

  .crosstalk__watermark {
    right: -2px;
    bottom: -10px;
    font-size: 26px;
    line-height: 16px;
  }

  .crosstalk__button {
    margin-top: 24px;
  }

  .page-next {
    margin-top: 56px;
  }

  /* ---- 記事詳細 ---- */
  .article-single {
    margin-top: 36px;
  }

  .article-single__header {
    padding-top: 24px;
  }

  .article-single__meta {
    gap: 8px 16px;
  }

  .article-single__date {
    font-size: 16px;
    line-height: 26px;
  }

  .article-single__title {
    margin-top: 12px;
    font-size: 20px;
    line-height: 32px;
  }

  .article-single__thumb {
    margin-top: 24px;
  }

  .article-body {
    margin-top: 28px;
    padding-bottom: 28px;
    font-size: 14px;
    line-height: 28px;
  }

  .article-body > * + * {
    margin-top: 20px;
  }

  .article-body h2 {
    margin-top: 32px;
    font-size: 18px;
    line-height: 30px;
  }

  .article-body h3 {
    margin-top: 24px;
    font-size: 16px;
    line-height: 28px;
  }

  .article-pager {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
  }

  .article-pager__arrow {
    width: 36px;
    height: 36px;
  }

  .article-pager__back {
    width: 160px;
    height: 44px;
    font-size: 14px;
  }

  .pagination {
    margin-top: 44px;
  }

  .pagination__list {
    gap: 8px;
  }

  .pagination__link,
  .pagination__arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .pagination__ellipsis {
    font-size: 15px;
  }

  /* ---- banner-zone ---- */
  .banner-zone {
    margin-top: 56px;
    padding: 44px 0;
  }

  .banner-zone__inner {
    gap: 24px;
  }

  .banner-zone__lead {
    font-size: 18px;
    line-height: 30px;
  }

  .banner-zone__list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .banner-zone__link {
    width: 100%;
    max-width: 320px;
  }

  /* ---- 仕事紹介 ---- */
  .job + .job {
    margin-top: 56px;
  }

  .job__head {
    padding: 48px 0 40px;
  }

  .job__body {
    padding-top: 40px;
  }

  /* 写真とテキストは縦積みにする */
  .job-detail {
    display: block;
    margin-top: 24px;
  }

  .job-detail__body {
    margin-top: 24px;
  }

  .job-detail__text,
  .job-detail__list,
  .job-point-card__list,
  .career-step__list {
    font-size: 14px;
    line-height: 24px;
  }

  .job-detail__list {
    margin-top: 16px;
  }

  .job-detail__term-title {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
  }

  .job-detail__term {
    margin-top: 12px;
    font-size: 15px;
    line-height: 26px;
  }

  .job-point-list {
    display: block;
  }

  .job-point-card {
    padding: 24px 20px 28px;
    border-width: 3px;
  }

  .job-point-card + .job-point-card {
    margin-top: 24px;
  }

  .job-point-card__title,
  .career-flow__title {
    font-size: 20px;
    line-height: 30px;
  }

  .job-point-card__title::after,
  .career-flow__title::after {
    width: 32px;
    margin-top: 12px;
  }

  .job-point-card__list {
    margin-top: 20px;
  }

  .job-point-list + .job-point-card--wide {
    margin-top: 24px;
  }

  .job-point-card__text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
  }

  .career-flow__lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 24px;
  }

  .career-flow__lead + .career-flow__chart {
    margin-top: 20px;
  }

  .career-flow {
    margin-top: 56px;
  }

  .career-flow__chart {
    margin-top: 28px;
  }

  /* 横並びの階段は成立しないので、ステップを縦積みにして矢印は隠す */
  .career-flow__arrow {
    display: none;
  }

  .career-flow__list {
    display: block;
  }

  .career-step + .career-step {
    margin-top: 28px;
  }

  .career-step .career-step__head,
  .career-step .career-step__list {
    padding: 0 8px;
  }

  .career-step__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .career-step__title {
    font-size: 17px;
    line-height: 26px;
  }

  .career-step__no-label {
    font-size: 12px;
  }

  .career-step__no-num {
    font-size: 32px;
    line-height: 34px;
  }

  .career-step__list {
    margin-top: 10px;
  }

  /* 縦に積むので、棒は通常の流れに戻して高さもそろえる */
  .career-step {
    padding-bottom: 0;
  }

  .career-step__bar {
    position: static;
    height: 64px;
    margin-top: 14px;
    font-size: 16px;
  }

  .career-step__bar--green,
  .career-step__bar--cyan,
  .career-step__bar--orange,
  .career-step__bar--red {
    height: 64px;
  }

  .career-step__num {
    font-size: 24px;
    line-height: 34px;
  }

  .career-step__tilde {
    font-size: 18px;
  }

  .job__actions {
    display: block;
    margin-top: 40px;
  }

  .job__actions .btn-pill {
    width: 100%;
    justify-content: space-between;
  }

  .job__actions .btn-pill + .btn-pill {
    margin-top: 16px;
  }

  .job-back,
  .page-back {
    margin-top: 56px;
  }

  /* ---- エントリーフォーム ---- */
  .contact-band {
    margin-top: 40px;
    padding: 40px 20px 32px;
  }

  .contact-band__en {
    font-size: 30px;
    letter-spacing: 0.12em;
  }

  .contact-band__title {
    font-size: 18px;
    line-height: 28px;
  }

  /* 電話と LINE は縦積みにする */
  .contact-band__body {
    display: block;
    margin-top: 24px;
  }

  .contact-band__tel-label {
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 0.1em;
  }

  .contact-band__tel-icon {
    width: 34px;
    height: 34px;
  }

  .contact-band__tel-link {
    font-size: 27px;
    line-height: 26px;
  }

  .contact-band__tel-note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 22px;
  }

  .contact-band__line {
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 76px;
    margin-top: 20px;
    padding-left: 0;
  }

  .contact-band__line-icon {
    width: 40px;
    height: 40px;
  }

  .contact-band__line-label {
    font-size: 18px;
    line-height: 28px;
  }

  .entry-form {
    margin-top: 40px;
  }

  /* 項目名と入力欄は縦積み。下線は全幅を薄い青にする */
  .entry-form__row {
    display: block;
    padding-bottom: 20px;
    background-image: linear-gradient(
      to right,
      var(--color-blue) 0 40%,
      transparent 40% 40.4%,
      var(--color-bg-light) 40.4%
    );
  }

  .entry-form__row + .entry-form__row {
    margin-top: 20px;
  }

  .entry-form__row--message {
    padding-bottom: 24px;
  }

  .entry-form__label {
    min-height: 0;
    margin-bottom: 10px;
  }

  .entry-form__badge {
    width: 48px;
    height: 26px;
    font-size: 12px;
  }

  .entry-form__name {
    font-size: 15px;
    line-height: 26px;
  }

  .entry-form__input {
    height: 40px;
    padding: 4px 14px;
    font-size: 15px;
    line-height: 28px;
  }

  .entry-form__textarea {
    height: 160px;
    padding: 8px 14px;
    font-size: 15px;
    line-height: 28px;
  }

  .entry-form__input--date {
    width: 180px;
  }

  .entry-form__note,
  .entry-form__error {
    font-size: 13px;
    line-height: 22px;
  }

  .entry-form__radios {
    gap: 20px 16px;
    min-height: 0;
  }

  .entry-form__checks {
    gap: 20px 16px;
    min-height: 0;
  }

  .entry-radio__label,
  .entry-check__label {
    font-size: 14px;
  }

  .entry-form__actions {
    display: block;
    margin-top: 32px;
  }

  .entry-form__actions .btn-pill {
    display: flex;
    width: 100%;
    height: 56px;
    justify-content: space-between;
  }

  /* ---- 採用イベント ---- */
  .event-intro__inner {
    margin-top: 40px;
  }

  .event-intro__title {
    font-size: 20px;
    line-height: 32px;
  }

  .event-intro__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  .event-heading {
    font-size: 19px;
    line-height: 30px;
  }

  .event-heading::after {
    width: 32px;
    margin-top: 12px;
  }

  .event-steps__inner {
    margin-top: 40px;
  }

  /* 5つ横並びは入らないので折り返して 3 列にする */
  .event-icon-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 12px;
    margin-top: 24px;
  }

  .event-icon {
    flex: 0 0 calc((100% - 24px) / 3);
  }

  .event-icon__circle {
    width: 90px;
    height: 90px;
    border-width: 1px;
  }

  .event-icon__image {
    transform: scale(0.58);
  }

  .event-icon__label {
    margin-top: 10px;
    font-size: 12px;
    line-height: 20px;
  }

  .quick-check__inner {
    margin-top: 40px;
  }

  .quick-check__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  .quick-check__start {
    height: 48px;
    margin-top: 28px;
    font-size: 17px;
  }

  .quick-check__start::after {
    border-right-width: 12px;
    border-left-width: 12px;
    border-top-width: 9px;
  }

  .quick-check__panel {
    margin-top: 32px;
    padding: 32px 16px;
    border-width: 1px;
  }

  /* Q バッジと質問文は縦に積む */
  .check-question__body {
    flex-direction: column;
    gap: 12px;
  }

  .check-question__badge {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .check-question__text {
    font-size: 17px;
    line-height: 28px;
    text-align: center;
  }

  .check-question__buttons {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 32px;
  }

  .check-button {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    font-size: 17px;
  }

  .check-question__count {
    margin-top: 16px;
    font-size: 12px;
  }

  .check-result__lead {
    font-size: 15px;
  }

  .check-result__title {
    margin-top: 14px;
    font-size: 19px;
    line-height: 30px;
  }

  .check-result__tag {
    padding: 2px 14px;
    font-size: 13px;
    line-height: 24px;
  }

  .check-result__text {
    margin-top: 14px;
  }

  .check-result__actions {
    margin-top: 24px;
  }

  .check-result__actions .btn-pill {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  /* カードは縦積み。1 段目に丸アイコンと見出し、2 段目に本文を全幅で置く。
     3 つとも直下の子なので、折り返し（flex-wrap）で 2 段に分けている */
  .event-card-list {
    display: block;
    margin-top: 48px;
  }

  .event-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
  }

  .event-card + .event-card {
    margin-top: 28px;
  }

  .event-card .event-icon__circle {
    flex-shrink: 0;
    margin: 0;
  }

  .event-card__title {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
  }

  .event-card__text {
    flex: 0 0 100%;
    margin-top: 12px;
  }

  .event-cta {
    margin-top: 56px;
    padding: 32px 20px 36px;
  }

  .event-cta__title {
    font-size: 19px;
    line-height: 30px;
  }

  .event-cta__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  .event-cta__button {
    margin-top: 28px;
  }

  .event-cta__link {
    width: 100%;
    height: 68px;
    padding: 0 12px 0 20px;
  }

  .event-cta__link-label {
    font-size: 16px;
  }

  .event-cta__link-arrow img {
    width: 44px;
    height: 44px;
  }


  /* ---- ここにも！丸石グループ ---- */
  .ability-title {
    margin-top: 40px;
    font-size: 20px;
    line-height: 40px;
  }

  .ability-title + .page-lead {
    margin-top: 24px;
  }

  /* スマホのデザインでは吹き出しは出さない（タップで開く案内は不要） */
  .point-balloon {
    display: none;
  }

  .ability-map {
    margin-top: 40px;
  }

  /* ここからアコーディオンを出す */
  .ability-list {
    display: block;
    margin-top: 40px;
  }

  .ability-item + .ability-item {
    margin-top: 12px;
  }

  .ability-item__button {
    min-height: 86px;
  }

  .ability-button {
    margin-top: 40px;
  }

  .ability-button .btn-pill {
    display: flex;
    width: 100%;
    max-width: 320px;
    height: 56px;
    justify-content: space-between;
  }

  /* ---- 3分でわかる丸石 ---- */
  .quick-know {
    margin-top: 56px;
  }

  .qa-block,
  .qa-block + .qa-block {
    margin-top: 48px;
  }

  .qa-block__title {
    gap: 10px;
    font-size: 19px;
    line-height: 30px;
  }

  .qa-block__mark {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .qa-pills {
    gap: 12px;
    margin-top: 20px;
  }

  .qa-pill {
    flex: 1 1 100%;
    min-width: 0;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 26px;
    text-align: left;
  }

  .qa-illust {
    gap: 8px;
    margin-top: 20px;
  }

  .qa-illust__image {
    width: 110px;
  }

  /* 狭いので飾りの丸は出さない */
  .qa-illust__dots {
    display: none;
  }

  .qa-box {
    margin-top: 20px;
    padding: 28px 20px 72px;
    border-width: 3px;
  }

  .qa-box__list {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .qa-box .dot-list__item {
    font-size: 15px;
    line-height: 28px;
  }

  .qa-box .dot-list__item::before {
    top: 11px;
  }

  .qa-box__illust {
    width: 140px;
    bottom: -34px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .qa-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .qa-card {
    padding: 20px;
    font-size: 15px;
    line-height: 28px;
  }

  .qa-cards__illust {
    justify-content: center;
  }

  .qa-cards__illust img {
    width: 180px;
  }

  /* ---- CTA の下の採用イベント ---- */
  .cta-events {
    margin-top: 36px;
  }

  .cta-events__title {
    font-size: 18px;
    line-height: 30px;
  }

  /* 採用イベントページと同じく 3 つ並びで折り返す */
  .cta-events__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 12px;
    margin-top: 24px;
  }

  .cta-events__item {
    flex: 0 0 calc((100% - 24px) / 3);
  }
}

/* ==========================================================================
   not-found ― 404 ページ
   ========================================================================== */
.not-found {
  width: var(--container);
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0 auto;
  padding: 100px 0 120px;
  text-align: center;
}

.not-found__text {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 32px;
  letter-spacing: var(--tracking);
}

.not-found__button {
  margin-top: 56px;
}

@media (max-width: 767px) {
  .not-found {
    padding: 56px 0 72px;
  }

  .not-found__text {
    font-size: 14px;
    line-height: 26px;
    text-align: left;
  }

  /* スマホでは改行位置が崩れるので、自然に折り返させる */
  .not-found__text br {
    display: none;
  }

  .not-found__button {
    margin-top: 36px;
  }
}
