/* ==========================================================================
   RAXUS Management 中途採用LP（大阪版）
   モバイルファーストで記述する（基準: 393px）。
   確認幅: 320 / 375 / 393 / 768 / 1024 / 1440
   デザイン正本: design/reference/0X-*-sp.png
   ========================================================================== */

:root {
  /* 白〜オフホワイト ＋ 濃紺 ＋ 落ち着いたゴールド */
  --c-navy: #14294b;
  --c-navy-deep: #0e2041;
  --c-gold: #b3904f;
  --c-gold-mid: #d2b678;
  --c-text: #26324a;
  --c-sub: #5a6478;
  --c-line: #e4e6eb;
  --c-off: #faf8f4;
  --c-pale: #f2f5f9;
  --c-white: #fff;

  --ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-en: "Roboto Condensed", "Noto Sans JP", sans-serif;

  --gutter: clamp(20px, 5.6vw, 48px);
  --header-h: 50px;
  --sec-pad: 72px;
}

/* Reset (minimal)
   ------------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: clip;
  /* 日本語を文節単位で改行（対応ブラウザのみ） */
  word-break: auto-phrase;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

em {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

/* 改行の出し分け */
.u-pc {
  display: none;
}

/* Header / Footer: 現行採用LPの共通ヘッダー・フッターを css/recruit-common.css で読み込む。
   本文の開始位置は現行LP（.recruit_lp_content の margin-top）と同じ: SP 50px／768px〜 100px
   ------------------------------------------------------------------------ */
@media (min-width: 768px) {
  :root {
    --header-h: 100px;
  }
}

/* 本文とフッターの間隔: フッターの白箱（.footer_whitebox_2）は上に重なる設計のため、
   最終CTAと白箱の間が現行LPと同じ空き（SP 20px／768px〜 50px）になるよう本文下に余白を取る */
main {
  margin-bottom: 92px;
}

@media (min-width: 768px) {
  main {
    margin-bottom: 150px;
  }
}

/* 02 FV（完成画像1枚＋直下CTA。画像は縦横比そのまま・横幅いっぱい。PCは最大480pxの列で中央）
   画像とCTAは密着（間の margin/padding 0）、CTAの下だけ次セクションとの区切り余白を取る
   ------------------------------------------------------------------------ */
.fv {
  background: var(--c-off);
}

.fv__visual,
.fv__cta {
  max-width: 480px;
  margin: 0 auto;
}

.fv__visual {
  line-height: 0; /* img 下の行間由来の隙間を出さない */
}

.fv__img {
  display: block;
  width: 100%;
  height: auto;
}

/* 直下CTA: 外側の上余白をなくし画像に 10px 重ねて続ける。左右 14px（本体幅 = 100% - 28px）、下 36px で次セクションへ */
.fv__cta {
  display: flow-root; /* 子の負マージンが親に伝わり、親の白背景が画像に被るのを防ぐ */
  background: var(--c-white);
}

.fv__cta .recruit-cta {
  position: relative;
  z-index: 2;
  margin-top: -10px; /* 画像下端に 10px だけ重ね、角丸の隙間で分断して見えないようにする */
  padding: 0 14px 36px;
  background: transparent; /* 重なり部分はカードだけが画像に乗る（外側の白で画像を隠さない） */
}

/* FV直下CTAのみ: 文字の階層（393px 基準。最終CTAと並べても小さく見えない強さ）
   1. 限定4名募集（28px・「4」はゴールド 31px）
   2. キャリア面談を予約する（ボタン 20px・高さ 63px・矢印 12px）
   3. 面接確約（20px・ゴールド）
   4. 大阪支店 立ち上げメンバー（16px）
   5. 今だけ（15px 補助ラベル）
   バッジ「30秒で完了」13.5px／安心材料3項目 13px（アイコン 16px）／注記 11.5px
   上下の間隔: 面接確約 → 8px → 大阪支店 立ち上げメンバー → 6px → 限定4名募集 → 14px → バッジ（ボタン上端まで 24px）→ ボタン → 12px → 安心材料 */
.fv__cta .recruit-cta .recruit-cta__top {
  padding: 28px 14px 0;
}

.fv__cta .recruit-cta .recruit-cta__lead {
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
}

.fv__cta .recruit-cta .recruit-cta__lead em {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
}

.fv__cta .recruit-cta .recruit-cta__catch {
  margin-top: 8px;
}

.fv__cta .recruit-cta .recruit-cta__catch span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.35;
  color: var(--c-text);
}

.fv__cta .recruit-cta .recruit-cta__catch b {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.15;
}

.fv__cta .recruit-cta .recruit-cta__catch em {
  font-size: 31px;
}

.fv__cta .recruit-cta .recruit-cta__btn {
  min-height: 63px;
  margin-top: 24px;
  padding: 10px 34px;
}

.fv__cta .recruit-cta .recruit-cta__btn-txt {
  font-size: clamp(16px, 5.1vw, 20px);
  letter-spacing: .04em;
  line-height: 1.3;
}

.fv__cta .recruit-cta .recruit-cta__arrow {
  right: 20px;
  width: 12px;
  height: 12px;
}

.fv__cta .recruit-cta .recruit-cta__badge {
  padding: 1px 12px 2px;
  font-size: 13.5px;
  font-weight: 600;
}

.fv__cta .recruit-cta .recruit-cta__badge b {
  font-size: 17px;
}

.fv__cta .recruit-cta .recruit-cta__bottom {
  padding: 12px 4px 20px;
}

/* 安心材料: 文字幅に合わせた3列で中央寄せ（長い「初回は履歴書不要」を詰めない） */
.fv__cta .recruit-cta .recruit-cta__points {
  grid-template-columns: repeat(3, auto);
  justify-content: center;
}

.fv__cta .recruit-cta .recruit-cta__points li {
  gap: 4px;
  padding: 0 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--c-text);
}

.fv__cta .recruit-cta .recruit-cta__icon,
.fv__cta .recruit-cta .recruit-cta__icon svg {
  width: 16px;
  height: 16px;
}

.fv__cta .recruit-cta .recruit-cta__br {
  display: none;
}

.fv__cta .recruit-cta .recruit-cta__note {
  margin-top: 8px;
  font-size: 11.5px;
}

@media (min-width: 768px) {
  .fv__cta .recruit-cta .recruit-cta__btn {
    min-height: 64px;
  }
}

/* 389px 以下: 「初回は／履歴書不要」を2行にして3項目を1行に収める（374px 以下は 12px） */
@media (max-width: 389px) {
  .fv__cta .recruit-cta .recruit-cta__points li {
    text-align: left;
  }

  .fv__cta .recruit-cta .recruit-cta__br {
    display: inline;
  }
}

@media (max-width: 374px) {
  .fv__cta .recruit-cta .recruit-cta__points li {
    gap: 2px;
    padding: 0 3px;
    font-size: 12px;
    text-align: left;
  }

  .fv__cta .recruit-cta .recruit-cta__br {
    display: inline;
  }
}

/* 08.5 募集要項（アコーディオン）
   白×ネイビー×控えめなゴールド。最終CTAと同じオフホワイト地で「確認 → 予約」へ続ける
   間隔: アコーディオン下端 → 最終CTAパネル上端 ≒ 40px（本セクション下 12px＋CTA上 28px）
   ------------------------------------------------------------------------ */
.info {
  padding: 56px 0 12px;
  background: var(--c-off);
}

.info__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

.info__eyebrow {
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-align: center;
  color: var(--c-gold);
}

.info__title {
  margin-top: 6px;
  font-family: var(--ff-serif);
  font-size: clamp(24px, 7.2vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-align: center;
  color: var(--c-navy);
}

.info__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--c-gold);
}

/* 開閉ボタン: 高さ 56px／右端に ＋・− */
.info__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 52px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  background: var(--c-white);
  box-shadow: 0 2px 6px rgba(14, 32, 65, .06);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-navy);
  cursor: pointer;
}

.info__toggle:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

.info__toggle-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
}

.info__toggle-icon::before,
.info__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--c-gold);
  transition: transform .25s;
}

.info__toggle-icon::after {
  transform: rotate(90deg);
}

.info__toggle[aria-expanded="true"] .info__toggle-icon::after {
  transform: rotate(0deg);
}

.info__toggle[aria-expanded="true"] {
  border-radius: 8px 8px 0 0;
}

/* 中身: 1カラム。項目名（ゴールドの細線つき小見出し）→ 内容 */
.info__body {
  padding: 4px 18px 8px;
  border: 1px solid #d6dbe3;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--c-white);
}

.info__body[hidden] {
  display: none;
}

.info__row {
  padding: 18px 0;
}

.info__row + .info__row {
  border-top: 1px solid var(--c-line);
}

.info__row dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-navy);
}

.info__row dt::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--c-gold);
}

.info__row dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
}

.info__row dd p + p,
.info__row dd .info__map + p,
.info__row dd p + .info__map {
  margin-top: 12px;
}

.info__strong {
  font-weight: 700;
  color: var(--c-navy);
}

.info__accent {
  font-size: 15px;
  color: var(--c-gold);
}

/* 休日・福利厚生の箇条書き: 「・」付きで2列（短い語が多いため縦に長くしない） */
.info__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  margin-top: 10px;
}

.info__items li {
  position: relative;
  padding-left: 1em;
}

.info__items li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--c-gold);
}

.info__row dd .info__strong + .info__items {
  margin-top: 10px;
}

.info__map {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--c-pale);
}

.info__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .info {
    padding-top: 72px;
  }

  /* タブレット以上: 項目名 左／内容 右 の2列 */
  .info__row {
    display: grid;
    grid-template-columns: 9.5em 1fr;
    gap: 16px;
  }

  .info__row dt {
    align-items: flex-start;
  }

  .info__row dt::before {
    margin-top: .35em;
  }

  .info__row dd {
    margin-top: 0;
  }

  .info__map {
    aspect-ratio: 16 / 9;
  }
}

/* 応募CTA（共通コンポーネント: CTA①②③ とも同一デザイン・同一テンプレート）
   オフホワイトの余白で前後と区切り、その中に独立した濃紺パネルを置く
   優先順位: キャリア面談を予約する > 大阪支店 立ち上げメンバー／限定4名募集 > 30秒で完了 > 今だけ面接確約 > 安心材料 > 注記
   ------------------------------------------------------------------------ */
.recruit-cta {
  padding: 28px 12px;
  background: var(--c-off);
  text-align: center;
}

.recruit-cta__panel {
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--c-white);
  box-shadow: 0 8px 24px rgba(14, 32, 65, .12);
}

.recruit-cta__top {
  padding: 22px 14px 24px;
  background: var(--c-navy-deep);
  color: var(--c-white);
}

/* 4. 小さなフック */
.recruit-cta__lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .85);
}

.recruit-cta__lead::before,
.recruit-cta__lead::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--c-gold-mid);
}

.recruit-cta__lead em {
  font-size: 1.15em;
  color: var(--c-gold-mid);
}

/* 2. メイン訴求 */
.recruit-cta__catch {
  margin-top: 8px;
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 1.35;
}

.recruit-cta__catch span {
  display: block;
  font-size: clamp(16px, 4.6vw, 19px);
  letter-spacing: .06em;
}

.recruit-cta__catch b {
  display: block;
  font-size: clamp(24px, 7.2vw, 30px);
  letter-spacing: .04em;
}

.recruit-cta__catch em {
  margin: 0 .05em;
  font-size: 1.3em;
  line-height: 1;
  color: var(--c-gold-mid);
}

/* 1. 応募ボタン（落ち着いたゴールド・控えめなグラデーション） */
.recruit-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
  margin-top: 28px;
  padding: 10px 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e2cb97 0%, #cfb072 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 222, .5), 0 4px 12px rgba(0, 0, 0, .25);
  color: var(--c-navy-deep);
  transition: filter .2s;
}

/* ボタン文言「キャリア面談を予約する」（11字）を1行で。ボタン自体の大きさは変えない */
.recruit-cta__btn-txt {
  font-family: var(--ff-serif);
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.1;
  white-space: nowrap;
}

/* 3. 30秒で完了: ボタン上縁に重なる小バッジ */
.recruit-cta__badge {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px 3px;
  border: 1px solid #cfb072;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.recruit-cta__badge svg {
  width: 14px;
  height: 14px;
}

.recruit-cta__badge b {
  font-family: var(--ff-serif);
  font-size: 17px;
  color: var(--c-gold);
}

.recruit-cta__arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 5. 安心材料 / 6. 注記 */
.recruit-cta__bottom {
  padding: 16px 10px 14px;
}

.recruit-cta__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.recruit-cta__points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(13px, 3.8vw, 15px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-navy);
  white-space: nowrap;
}

.recruit-cta__points li + li {
  border-left: 1px solid var(--c-line);
}

.recruit-cta__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3eee4;
  color: var(--c-gold);
}

.recruit-cta__icon svg {
  width: 20px;
  height: 20px;
}

.recruit-cta__note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-sub);
}

/* FV直下CTA（data-variant="compact"）: FVの濃紺から切り替えるため白ベースの軽いパネルにする
   テンプレート・文言は共通のまま、見た目だけこのクラスで上書き */
.recruit-cta--compact {
  padding: 36px 12px 40px;
  background: var(--c-white);
}

.recruit-cta--compact .recruit-cta__panel {
  border: 1px solid #e6dfd0;
  border-top: 3px solid var(--c-navy);
  box-shadow: 0 6px 20px rgba(14, 32, 65, .07);
}

.recruit-cta--compact .recruit-cta__top {
  padding-bottom: 20px;
  background: var(--c-white);
  color: var(--c-navy);
}

.recruit-cta--compact .recruit-cta__lead {
  color: var(--c-sub);
}

.recruit-cta--compact .recruit-cta__lead::before,
.recruit-cta--compact .recruit-cta__lead::after {
  background: var(--c-gold);
}

.recruit-cta--compact .recruit-cta__lead em,
.recruit-cta--compact .recruit-cta__catch em {
  color: var(--c-gold);
}

/* ボタンは濃紺地にして白背景上で最も目立たせる */
.recruit-cta--compact .recruit-cta__btn {
  background: var(--c-navy);
  box-shadow: 0 6px 16px rgba(14, 32, 65, .28);
  color: var(--c-white);
}

.recruit-cta--compact .recruit-cta__btn-txt {
  color: var(--c-white);
}

.recruit-cta--compact .recruit-cta__badge {
  border-color: var(--c-gold-mid);
}

.recruit-cta--compact .recruit-cta__bottom {
  padding-top: 4px;
  border-top: 0;
}

/* 安心材料は軽く: アイコン円をやめ、細線アイコン＋文字 */
.recruit-cta--compact .recruit-cta__points li {
  flex-direction: row;
  justify-content: center;
  gap: 4px;
  font-size: clamp(12.5px, 3.5vw, 14px);
  font-weight: 500;
  color: var(--c-text);
}

.recruit-cta--compact .recruit-cta__icon {
  width: 18px;
  height: 18px;
  background: none;
}

.recruit-cta--compact .recruit-cta__icon svg {
  width: 18px;
  height: 18px;
}

.recruit-cta--compact .recruit-cta__note {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .recruit-cta {
    padding: 40px var(--gutter);
  }

  .recruit-cta__top {
    padding: 28px 32px 30px;
  }

  .recruit-cta__btn {
    min-height: 88px;
  }
}

@media (hover: hover) {
  .recruit-cta__btn:hover {
    filter: brightness(1.05);
  }

  .external__btn:hover {
    border-color: var(--c-gold);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(14, 32, 65, .07), 0 8px 18px rgba(14, 32, 65, .12);
  }

  .external__btn:active {
    transform: translateY(0);
  }
}

/* 03 カルチャー「仕事も、遊びも、本気で。」（デザイン参考: design/reference/02-culture-sp.png）
   見出し → 短い説明 → 大小・斜めの写真コラージュ。色は大阪LPのオフホワイト×濃紺×ゴールド
   ------------------------------------------------------------------------ */
.culture {
  /* CTA（白）の後で空気を切り替える感情訴求パート: 濃紺の独立ブロック */
  position: relative;
  padding: 72px 0 72px;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0, rgba(210, 182, 120, .10) 0%, rgba(210, 182, 120, 0) 70%),
    var(--c-navy-deep);
  overflow: hidden;
}

/* 上辺の細いゴールド線でセクションの始まりを示す */
.culture::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--c-gold-mid), rgba(210, 182, 120, 0));
}

.culture__text {
  padding: 0 var(--gutter);
}

.culture__title {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 9.2vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--c-white);
}

.culture__title > span {
  display: block;
  white-space: nowrap;
}

/* 「本気で。」を一回り大きくして締めにする */
.culture__title-l2 {
  margin-top: 2px;
  font-size: 1.42em;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--c-gold-mid);
}

.culture__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 18px;
  background: var(--c-gold-mid);
}

.culture__body {
  margin-top: 16px;
  font-size: clamp(13.5px, 4.1vw, 17px);
  line-height: 1.85;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .88);
}

/* コラージュ: 斜めの切り替えで大小の写真を組む（座標は幅基準 cqw、余白は背景色） */
.culture__collage {
  container-type: inline-size;
  margin-top: 8px;
}

.culture__frame {
  position: relative;
  height: 132cqw;
}

.culture__photo {
  position: absolute;
  overflow: hidden;
  background: #1c2f52;
}

.culture__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* メイン（左・大）: 打ち合わせ */
.culture__photo--a {
  left: 0;
  top: 19cqw;
  width: 50cqw;
  height: 79cqw;
  clip-path: polygon(0 6.3%, 100% 0, 95% 97.5%, 0 100%);
}

.culture__photo--a img {
  object-position: 72% 45%;
}

/* 右上: 電話営業 */
.culture__photo--b {
  left: 50.2cqw;
  top: 4cqw;
  width: 49.8cqw;
  height: 48cqw;
  clip-path: polygon(2.8% 10.4%, 100% 0, 100% 91.7%, 0 100%);
}

.culture__photo--b img {
  /* 元画像右側の余白を避ける */
  object-position: 36% 30%;
}

/* 右中: 屋上 */
.culture__photo--c {
  left: 48.6cqw;
  top: 50cqw;
  width: 51.4cqw;
  height: 46cqw;
  clip-path: polygon(2.7% 8.7%, 100% 0, 100% 94.6%, 0 100%);
}

.culture__photo--c img {
  object-position: 55% 30%;
}

/* 下左: 海辺の食事 */
.culture__photo--d {
  left: 0;
  top: 98cqw;
  width: 47cqw;
  height: 34cqw;
  clip-path: polygon(0 5.9%, 100% 0, 93.6% 100%, 0 100%);
}

.culture__photo--d img {
  object-position: 62% 50%;
}

/* 下右: 集合写真 */
.culture__photo--e {
  left: 46cqw;
  top: 95.5cqw;
  width: 54cqw;
  height: 36.5cqw;
  clip-path: polygon(5.2% 6.8%, 100% 0, 100% 100%, 0 100%);
}

.culture__photo--e img {
  object-position: 50% 50%;
}

@media (min-width: 768px) {
  .culture {
    padding-top: 96px;
  }

  .culture__inner {
    max-width: 960px;
    margin: 0 auto;
  }

  .culture__collage {
    margin-top: 0;
    padding: 0 var(--gutter);
  }
}

@media (min-width: 1024px) {
  .culture {
    padding-bottom: 96px;
  }

  /* PC: 左に見出し・説明、右にコラージュ */
  .culture__inner {
    display: grid;
    grid-template-columns: 36% 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    padding: 0 var(--gutter);
  }

  .culture__text,
  .culture__collage {
    padding: 0;
  }

  .culture__title {
    font-size: clamp(34px, 3vw, 44px);
  }

  .culture__body {
    font-size: 16px;
  }

  .culture__frame {
    height: 110cqw;
    margin-top: -12cqw;
  }
}

/* 04 大阪支店立ち上げ: 論理訴求（独立した訴求ブロック）
   白地＋訴求カード（見出し・要点アイコン）→ 短い補足 → 4つのチャンス
   ------------------------------------------------------------------------ */
.osaka {
  padding: 72px 0 80px;
  background: #eef1f6;
}

.osaka__inner {
  padding: 0 var(--gutter);
}

.osaka__card {
  padding: 32px 16px 24px;
  border: 1px solid #e8e1d3;
  border-top: 4px solid var(--c-gold);
  border-radius: 14px;
  background: var(--c-white);
}

.osaka__eyebrow {
  display: inline-block;
  padding: 2px 6px 8px 14px;
  border-left: 2px solid var(--c-navy);
  border-bottom: 1px solid var(--c-gold);
  font-family: var(--ff-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  color: var(--c-navy);
}

.osaka__title {
  margin-top: 20px;
  font-family: var(--ff-serif);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-navy);
}

.osaka__title > span {
  display: block;
  white-space: nowrap;
}

.osaka__title em {
  color: var(--c-gold);
}

.osaka__title-l1,
.osaka__title-l3 {
  font-size: clamp(24px, 7.3vw, 40px);
  line-height: 1.35;
}

.osaka__title-l2 {
  margin-top: 4px;
  font-size: clamp(19px, 5.7vw, 30px);
  line-height: 1.45;
}

.osaka__title-l3 b {
  margin: 0 .04em;
  font-size: 1.5em;
  line-height: 1;
}

/* イメージビジュアル: 実社員のチーム写真に濃紺のグラデーションと梅田のスカイライン線画を重ねる */
.osaka__visual {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--c-navy-deep);
}

.osaka__visual-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.osaka__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 32, 65, 0) 40%, rgba(14, 32, 65, .55) 72%, rgba(14, 32, 65, .92) 100%);
}

.osaka__skyline {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  color: var(--c-gold-mid);
  opacity: .9;
}

.osaka__visual-label {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 14px;
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--c-white);
}

.osaka__visual-label span {
  margin: 0 .1em;
  color: var(--c-gold-mid);
}

@media (min-width: 768px) {
  .osaka__visual {
    margin-top: 28px;
    aspect-ratio: 16 / 9;
  }

  .osaka__visual-label {
    left: 28px;
    bottom: 22px;
    font-size: 26px;
  }
}

.osaka__lead {
  margin-top: 18px;
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.85;
  letter-spacing: 0;
}

@media (min-width: 768px) {
  .osaka {
    padding: 104px 0 112px;
  }

  .osaka__inner {
    max-width: 720px;
    margin: 0 auto;
  }

  .osaka__card {
    padding: 44px 40px 36px;
  }

  .osaka__lead {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .osaka__inner {
    max-width: 960px;
  }
}

/* ビジュアル: メイン写真＋小さな写真2枚＋濃紺のグラデーション＋チップ */

/* 写真下部を濃紺へ溶かし、チップと見出しの台にする */

/* 4つのチャンス */
.osaka__sub {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-navy);
}

.osaka__sub span {
  font-size: clamp(16px, 4.6vw, 20px);
  letter-spacing: .04em;
}

.osaka__sub em {
  font-size: clamp(30px, 9vw, 44px);
  color: var(--c-gold);
}

.osaka__chances {
  margin-top: 20px;
}

.osaka__chance {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 18px 16px;
  border-radius: 12px;
}

.osaka__chance {
  background: var(--c-white);
  border: 1px solid #ece6da;
}

.osaka__chance + .osaka__chance {
  margin-top: 10px;
}

.osaka__chance-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-navy-deep);
  color: var(--c-white);
}

.osaka__chance-icon svg {
  width: 40px;
  height: 40px;
}

.osaka__chance-icon .g {
  stroke: var(--c-gold-mid);
}

.osaka__chance-num {
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold);
}

.osaka__chance-title {
  margin-top: 4px;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 4.6vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-navy);
}

.osaka__chance-txt {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-sub);
}

@media (min-width: 1024px) {

  .osaka__chances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

}

/* 05 未経験でも活躍できる3つの理由: HTML見出し＋支給図版画像3枚（画像のデザインをそのまま見せる）
   ------------------------------------------------------------------------ */
.why {
  padding: 64px 0 56px;
  background: var(--c-white);
}

.why__head {
  padding: 0 var(--gutter);
  text-align: center;
}

.why__eyebrow {
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--c-gold);
}

.why__title {
  margin-top: 10px;
  font-family: var(--ff-serif);
  font-size: clamp(26px, 7.9vw, 40px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .02em;
  color: var(--c-navy);
}

.why__title em {
  color: var(--c-gold);
}

/* SP: 縮小しすぎないよう左右余白は最小限（10px） */
.why__figures {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 28px auto 0;
  padding: 0 10px;
}

.why__figures img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .why {
    padding: 96px 0 88px;
  }

  .why__figures {
    gap: 24px;
    margin-top: 44px;
  }
}

/* 06 給与・報酬制度（原稿・デザイン支給待ちの配置確認用プレースホルダー） */
.salary.is-placeholder {
  padding: 48px var(--gutter);
  background: var(--c-off);
}

.salary__placeholder {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 16px;
  border: 1px dashed #c9d0dc;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--c-navy);
}

.salary__placeholder span {
  font-size: 13px;
  font-weight: 400;
  color: #8a94a6;
}

/* 07 会社理解・外部コンテンツ（アコーディオンにしない／01〜04を常時表示）
   応募前に会社を知るための補助導線。文言の正本は既存採用LP。
   ------------------------------------------------------------------------ */
.external {
  padding: 64px 0 0;
  background:
    radial-gradient(circle at 100% 0, #edf1f7 0 min(56vw, 480px), transparent calc(min(56vw, 480px) + 1px)),
    var(--c-white);
}

.external__head {
  padding: 0 var(--gutter);
}

.external__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-gold);
}

.external__eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--c-gold);
}

.external__title {
  margin-top: 12px;
  font-family: var(--ff-serif);
  font-size: clamp(24px, 7.2vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--c-navy);
}

.external__lead {
  margin-top: 14px;
  font-size: clamp(14px, 3.82vw, 16px);
  line-height: 1.85;
  letter-spacing: .02em;
}

.external__list {
  margin-top: 32px;
  border-top: 1px solid #e4e8ee;
}

/* 各項目: 番号＋カテゴリ＋小タイル → 見出し → 説明 → ボタン */
.external__item {
  display: grid;
  grid-template-columns: auto 1fr 60px;
  grid-template-areas:
    "num   cat   media"
    "title title title"
    "txt   txt   txt"
    "btn   btn   btn";
  column-gap: 12px;
  align-items: center;
  padding: 28px var(--gutter) 30px;
  border-bottom: 1px solid #e4e8ee;
}

/* 背景を交互に切り替えてリズムをつける */
.external__item:nth-child(even) {
  background: var(--c-pale);
}

.external__body {
  display: contents;
}

.external__num {
  grid-area: num;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--c-gold);
  font-family: var(--ff-en);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  color: #a9864a;
}

.external__cat {
  grid-area: cat;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-gold);
}

.external__item-title {
  grid-area: title;
  margin-top: 16px;
  font-family: var(--ff-serif);
  font-size: clamp(18px, 5.1vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy-deep);
}

.external__item-txt {
  grid-area: txt;
  margin-top: 8px;
  font-size: clamp(14px, 3.82vw, 16px);
  line-height: 1.8;
  color: var(--c-sub);
}

/* ビジュアル: 画像支給までは小さなアイコンタイル（差し替え時は img を入れて is-placeholder を外す） */
.external__media {
  grid-area: media;
  overflow: hidden;
  border-radius: 10px;
}

.external__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external__media.is-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #eef1f6;
  color: var(--c-navy);
}

.external__item:nth-child(even) .external__media.is-placeholder {
  background: var(--c-white);
}

.external__media.is-placeholder svg {
  width: 36px;
  height: 36px;
}

.external__media.is-placeholder .g {
  stroke: var(--c-gold);
}

/* リンクボタン: 押せると分かるが、CTAより弱く。幅・高さは全項目共通 */
.external__btn {
  grid-area: btn;
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  margin-top: 18px;
  padding: 0 48px 0 20px;
  border: 1px solid #bfc7d4;
  border-radius: 8px;
  background: var(--c-white);
  box-shadow: 0 1px 2px rgba(14, 32, 65, .06), 0 3px 10px rgba(14, 32, 65, .08);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-navy-deep);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

/* タップ時の軽い押下感（SP・PC共通） */
.external__btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(14, 32, 65, .08);
  background: #f8f9fb;
}

.external__btn-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid var(--c-gold);
  border-right: 2.5px solid var(--c-gold);
  transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   Tablet（768px〜）
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --sec-pad: 104px;
  }

  .u-sp {
    display: none;
  }

  .u-pc {
    display: inline;
  }

  .external {
    padding-top: 88px;
  }

  .external__head,
  .external__list {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
  }

  .external__lead {
    font-size: 15px;
  }

  .external__list {
    margin-top: 40px;
  }

  /* 番号を左に、タイルを右に置く横組み */
  .external__item {
    grid-template-columns: 72px 1fr 112px;
    grid-template-areas:
      "num cat   media"
      "num title media"
      "num txt   media"
      "num btn   media";
    column-gap: 24px;
    align-items: start;
    padding: 32px var(--gutter);
  }

  /* 偶数行の背景を画面幅いっぱいに伸ばす */
  .external__item:nth-child(even) {
    box-shadow: 0 0 0 100vmax var(--c-pale);
    clip-path: inset(0 -100vmax);
  }

  .external__num {
    justify-self: start;
    font-size: 38px;
  }

  .external__item-title {
    margin-top: 6px;
  }

  .external__media.is-placeholder svg {
    width: 48px;
    height: 48px;
  }

  .external__btn {
    width: 320px;
  }
}

/* ==========================================================================
   PC（1024px〜）
   PC版FVは作らない。SP版FV（.fv__visual 最大480px）を中央に表示する暫定対応。
   ========================================================================== */
@media (min-width: 1024px) {
  .fv {
    background: linear-gradient(90deg, var(--c-off) 0%, #eef1f6 50%, var(--c-off) 100%);
  }

  /* PC: 3列。カードにせず縦の細線で区切る */

  /* PC: 2×2。背景は市松にしてリズムをつける */
  .external__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 0;
  }

  .external__item {
    grid-template-columns: 56px 1fr 84px;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "num cat   media"
      "num title media"
      "num txt   txt"
      "num btn   btn";
    padding: 40px 36px 44px;
    border-bottom: 0;
  }

  .external__item:nth-child(even) {
    box-shadow: none;
    clip-path: none;
    background: none;
  }

  .external__item:nth-child(2),
  .external__item:nth-child(3) {
    background: var(--c-pale);
  }

  .external__item:nth-child(2) .external__media.is-placeholder,
  .external__item:nth-child(3) .external__media.is-placeholder {
    background: var(--c-white);
  }

  .external__item:nth-child(4) .external__media.is-placeholder {
    background: #eef1f6;
  }

  .external__btn {
    align-self: end;
    white-space: nowrap;
    width: 100%;
    max-width: 320px;
  }
}

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

/* ==========================================================================
   フローティングCTA（スマホのみ・画面下部固定）
   393px 基準: 左右 10px／下 10px＋safe-area／高さ 64px。濃紺＋ゴールドの細線、影はごく弱く
   表示制御は main.js（.is-visible の付け外し）。JS無効時は不可視のまま
   ========================================================================== */
.floating-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}

.floating-cta__link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 14px 0 14px;
  border: 1px solid rgba(210, 182, 120, .55);
  border-radius: 16px;
  background: var(--c-navy);
  box-shadow: 0 4px 14px rgba(14, 32, 65, .18);
  color: var(--c-white);
}

/* 左（約3割）: 限定4名（11px）／今だけ（10px）面接確約（13.5px）。ゴールドの縦線で右と区切る */
.floating-cta__sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1px solid rgba(210, 182, 120, .45);
  line-height: 1.25;
  white-space: nowrap;
}

.floating-cta__limit {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-gold-mid);
}

.floating-cta__deal {
  font-size: clamp(12px, 3.45vw, 13.5px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-gold-mid);
}

.floating-cta__deal small {
  margin-right: .3em;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}

/* 右（約7割）: キャリア面談を予約する（393px で 16px・1行）＋矢印 */
.floating-cta__main {
  flex: 1;
  min-width: 0;
  font-family: var(--ff-serif);
  font-size: clamp(12.5px, 4vw, 17px);
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
  white-space: nowrap;
}

.floating-cta__arrow {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c-gold-mid);
  border-right: 2px solid var(--c-gold-mid);
  transform: rotate(45deg);
}

.floating-cta__link:focus-visible {
  outline: 2px solid var(--c-gold-mid);
  outline-offset: 3px;
}

/* PC・タブレット横では使わない */
@media (min-width: 769px) {
  .floating-cta {
    display: none;
  }
}

/* 「初回は履歴書不要」: 374px 以下だけ「初回は／履歴書不要」の2行にして3項目を収める */
.recruit-cta__br {
  display: none;
}

@media (max-width: 374px) {
  .recruit-cta__br {
    display: inline;
  }

  .recruit-cta__points li {
    text-align: center;
  }

  .recruit-cta--compact .recruit-cta__points {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .recruit-cta--compact .recruit-cta__points li {
    font-size: 11.5px;
    text-align: left;
  }
}

/* ==========================================================================
   主要CTAの常時モーション（応募ボタン3つ＋フローティングCTA）
   ボタン全体: scale 1 → 1.03 → 1（1.9s）／右矢印: 右へ5px → 戻る（1.2s）。どちらも常時・ease-in-out
   独立プロパティ scale / translate を使い、既存の transform・配置・サイズは変えない（レイアウトシフトなし）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .recruit-cta__btn,
  .floating-cta__link {
    animation: cta-breathe 1.9s ease-in-out infinite;
  }

  .recruit-cta__arrow,
  .floating-cta__arrow {
    animation: cta-arrow-nudge 1.2s ease-in-out infinite;
  }
}

/* タップ時（ループを止めて押し込み）。reduce 時も押した感触だけは残す */
.recruit-cta__btn:active,
.floating-cta__link:active {
  animation: none;
  scale: .97;
}

@keyframes cta-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.03; }
}

@keyframes cta-arrow-nudge {
  0%, 100% { translate: 0 0; }
  50% { translate: 5px 0; }
}
