/* 採用サイト v3：plan-b（site.css）の上に重ねる差分
 * - ファーストビュー＝c-next の映像、帯と2画面目＝theme-2（itsuki-recruit-lp v7）を、plan-b の配色と書体で組み込む
 * - 社員の写真は拡大・視差・全面背景をやめ、普通の大きさで見せる（2026-10-31 かず指示「拡大ではなくシンプルなサイズで」）
 */

/* ---------- 映像のステージ（16:9。トップと2画面目で共通） ---------- */
.ms { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--paper); overflow: hidden; container-type: inline-size; }
.ms-top { margin-top: var(--header-h); }
.ms-view { position: absolute; inset: 0; overflow: hidden; }
.ms canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ms .copyblock { position: absolute; left: 5.2cqw; top: 0; bottom: 0; z-index: 3; width: 40cqw; display: flex; flex-direction: column; justify-content: center; }
.ms-eyebrow { display: flex; align-items: center; gap: .9em; margin: 0 0 1.6cqw; font-weight: 700; font-size: max(11px, .82cqw); letter-spacing: .16em; color: var(--primary-ink); }
.ms-eyebrow b { background: var(--primary); color: var(--on-primary); padding: .4em .85em; letter-spacing: .14em; font-family: var(--f-en); font-weight: 400; font-size: 1.15em; }
.fv-h1 { font-family: var(--f-head); font-weight: 900; font-size: clamp(30px, 4.3cqw, 84px); line-height: 1.22; letter-spacing: .02em; margin: 0 0 1.6cqw; }
.fv-h1 .ln:first-child { color: var(--ink); }
.fv-h1 .ln:last-child { color: var(--primary); }
.ms-chap { margin: 0 0 .6cqw; min-height: 1.4em; font-weight: 700; font-size: max(11px, .76cqw); letter-spacing: .24em; color: var(--ink-3); opacity: 0; transition: opacity .4s; }
.ms-chap.in { opacity: 1; }
.ms-copy { margin: 0; min-height: 1.7em; font-family: var(--f-head); font-weight: 700; font-size: clamp(15px, 1.5cqw, 28px); line-height: 1.6; letter-spacing: .04em; opacity: 0; transform: translateY(.4em);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.ms-copy.in { opacity: 1; transform: none; }
.ms-copy span { display: block; white-space: nowrap; }   /* 行の途中で折り返さない */
.ms-lead { margin: 1.6cqw 0 0; font-size: max(12px, .95cqw); line-height: 1.9; color: var(--ink-2); }
.ms-lead strong { color: var(--ink); }
.ms-cta { display: flex; align-items: center; gap: 1.2cqw 2cqw; margin-top: 2cqw; flex-wrap: wrap; }
.vctl { display: flex; align-items: center; gap: 1.2cqw; margin-top: 2cqw; font-size: max(11px, .76cqw); }
.vctl button { font: inherit; font-weight: 700; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: .55em 1.2em; min-height: 44px; min-width: 44px; cursor: pointer; }
.ms-dots { display: flex; gap: .7em; }
.ms-dots span { width: .62em; height: .62em; border-radius: 50%; background: rgba(23,24,28,.2); transition: background .3s, transform .3s; }
.ms-dots span.on { background: var(--primary); transform: scale(1.3); }
.ainote { position: absolute; right: 1.4cqw; bottom: 1.1cqw; z-index: 3; margin: 0; font-size: max(12px, .85cqw); font-weight: 700; color: var(--ink); background: rgba(255,255,255,.9); padding: .3em .7em; line-height: 1.6; }

/* 2画面目：一段静かに（白に近い地＋淡いレモンの領域）。人物を左、文字を右 */
.ms-second { background: #FBFBF8; }
.ms-second .copyblock { left: auto; right: 5.2cqw; width: 38cqw; }
.ms-second .ms-eyebrow { color: var(--primary-ink); }
.ms-second .ms-chap { color: var(--primary-ink); }
.ms-second .ms-copy { font-size: clamp(18px, 2.55cqw, 50px); line-height: 1.45; min-height: 3.4em; }
.ms-second .ms-copy .big { display: block; white-space: normal; }
.ms-second .ms-copy small { display: block; margin-top: .9em; font-family: var(--f-jp); font-weight: 500; font-size: .36em; line-height: 1.8; color: var(--ink-2); white-space: normal; letter-spacing: .06em; }
.ms-second .ms-copy small.pre { margin: 0 0 .8em; color: var(--primary-ink); font-weight: 700; }
.ms-second .ainote { right: auto; left: 1.4cqw; }

/* ---------- 募集の要点が流れる青い帯（42秒でゆっくり。止めるボタンつき） ---------- */
.rband { position: relative; background: var(--primary); color: #fff; overflow: hidden; white-space: nowrap; box-shadow: inset 0 2px 0 #fff, inset 0 -2px 0 #fff; }
.rband .track { display: flex; width: max-content; padding: .84em 0; font-weight: 700; font-size: clamp(13px, 1.18vw, 19px); letter-spacing: .08em; animation: rband 42s linear infinite; }
.rband .seq { display: flex; gap: 3.2em; padding-right: 3.2em; }
.rband .track span::before { content: "●"; font-size: .8em; margin-right: 1.4em; vertical-align: .15em; color: var(--accent); }
.rband .track em { font-style: normal; font-weight: 900; color: var(--accent); }
.rband:hover .track, .rband.paused .track { animation-play-state: paused; }
.rband-stop { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 12px; font-weight: 700; background: var(--primary); color: #fff; border: 1.5px solid currentColor; border-radius: 999px; padding: .4em 1em; min-height: 36px; cursor: pointer; }
@keyframes rband { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 社員の写真は普通の大きさで（拡大・視差・全面背景をやめる） ---------- */
.js .photo-mask .photo, .js .photo-mask.is-in .photo, .chapter-photo .photo, .chapter.is-cur .chapter-photo .photo { transform: none; }
.about-photo { position: static; max-width: 440px; }
.work-chapters { height: min(64svh, 600px); }
.chapter { grid-template-rows: auto auto; align-content: center; }
.chapter-photo { max-width: 520px; aspect-ratio: 3 / 2; }
.culture-photo { max-width: 520px; }
.culture-item.is-rev .culture-photo { justify-self: end; }
.growth-photo { transform: none; }
.person:hover .photo { transform: none; }

/* ---------- スマホ：映像は人物と枠がある側を正方形に切り出し、文字は映像の下へ ---------- */
@media (max-width: 760px) {
  .ms { aspect-ratio: auto; container-type: normal; }
  .ms-view { position: relative; inset: auto; height: calc(100vw + 48px); }   /* 正方形の映像＋下に AI 表示の行（絵にかけない） */
  /* 16:9 の縦横比を保ったまま、正方形の窓で切り抜く（引き伸ばさない）。トップは右側の枠、2画面目は左側の人物を見せる */
  .ms canvas { inset: 0 0 auto auto; height: calc(100% - 48px); width: auto; aspect-ratio: 16 / 9; }
  .ms-second canvas { inset: 0 auto auto 0; }
  .ms .copyblock, .ms-second .copyblock { position: static; width: auto; padding: 22px 20px 30px; display: block; }
  .ms-eyebrow { font-size: 11px; margin-bottom: 14px; flex-wrap: wrap; }
  .fv-h1 { font-size: clamp(32px, 10vw, 44px); margin-bottom: 14px; }
  .ms-chap { font-size: 11px; margin-bottom: 6px; }
  .ms-copy { font-size: 16px; }
  .ms-copy span { white-space: normal; }
  .ms-second .ms-copy { font-size: clamp(20px, 6vw, 28px); }
  .ms-lead { font-size: 13px; margin-top: 12px; }
  .ms-cta { gap: 14px 20px; margin-top: 16px; }
  .vctl { margin-top: 16px; font-size: 12px; gap: 12px; }
  .ainote, .ms-second .ainote { font-size: 12px; left: 12px; right: 12px; top: auto; bottom: 4px; background: none; padding: 0; line-height: 1.5; }
  .rband-stop { right: 6px; min-width: 44px; min-height: 44px; padding: 0; font-size: 0; }
  .rband-stop::before { content: "❚❚"; font-size: 12px; letter-spacing: -.1em; }
  .rband.paused .rband-stop::before { content: "▶"; }
  .rband .track { font-size: 13px; }
  .about-photo, .chapter-photo, .culture-photo { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rband .track { animation: none; }
  .ms-copy, .ms-chap { transition: none; }
}

/* ---------- 会社紹介の事実（確認済みの数字だけ）と、2画面目からの間隔 ---------- */
.about { padding-top: clamp(64px, 7vw, 112px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 12px; letter-spacing: .16em; color: var(--primary-ink); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.6; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts div { padding: 12px 0 0; } }

/* ===== 採用寄りの作り直し（2026-10-31 かず指示：会社紹介に寄りすぎ／青い英字の書体を変える） ===== */

/* 青い英字はすべて太いゴシック体（Inter）の大文字に。明朝・セリフの英字は使わない */
[data-plan="b"] { --f-en: "Inter", "Zen Kaku Gothic New", sans-serif; }
.eyebrow .en { font-weight: 800; font-size: clamp(36px, 4.6vw, 80px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.work-head .eyebrow .en, .next-head .eyebrow .en { font-size: clamp(26px, 2.4vw, 38px); }
.tag, .chapter-no, .person-tag, .brand-sub, .btn-entry, .copy { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.menu .en { font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.q-no { font-style: normal; font-weight: 800; }
.work-index li, [data-plan="b"] .work-index li { font-weight: 900; letter-spacing: -.01em; }
.next-title { font-weight: 900; letter-spacing: -.01em; }
.nw-no { font-weight: 800; }
.ms-eyebrow b { font-family: var(--f-en); font-weight: 800; font-size: 1em; letter-spacing: .12em; }

/* ファーストビューの採用メッセージ */
.fv-msg { margin: 0 0 1.4cqw; font-weight: 700; font-size: clamp(14px, 1.3cqw, 24px); letter-spacing: .08em; color: var(--ink-2); }
.ms-copy { font-family: var(--f-jp); font-size: clamp(14px, 1.2cqw, 22px); color: var(--primary-ink); }

/* 2 募集の要点（2画面目）：文字が主役。写真は1枚を普通の大きさで */
.points { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "head photo" "list photo" "cta photo"; gap: clamp(24px, 3vw, 48px) clamp(40px, 6vw, 104px);
  align-items: start; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: clamp(72px, 9vw, 136px) var(--gut) clamp(72px, 8vw, 120px); padding-left: max(var(--gut), 64px); }
.points-head { grid-area: head; }
.points-head .h2 { font-size: clamp(30px, 3.6vw, 58px); line-height: 1.3; }
.points-photo { grid-area: photo; max-width: 380px; justify-self: end; }
.points-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.points-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.points-list { grid-area: list; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.points-list > div { padding: 22px 20px 24px 0; border-bottom: 1px solid var(--line); }
.points-list > div:nth-child(odd) { border-right: 1px solid var(--line); }
.points-list > div:nth-child(even) { padding-left: 24px; }
.points-list dt { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--primary-ink); }
.points-list dd { margin: 6px 0 0; }
.points-list b { display: block; font-size: clamp(22px, 2.3vw, 36px); font-weight: 900; line-height: 1.3; letter-spacing: .02em; }
.points-list small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.points-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* 4 1日の流れ */
.day { position: relative; display: grid; gap: 0; max-width: 820px; border-left: 2px solid var(--primary); margin-left: 6px; }
.day li { position: relative; display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); }
.day li::before { content: ""; position: absolute; left: -7px; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.day time { font-family: var(--f-en); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); color: var(--primary-ink); letter-spacing: .02em; }
.day p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.8; }
.day-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* 11 よくある質問（details で開閉。キーボードでも操作できる） */
.faq-list { max-width: 880px; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 22px 52px 22px 0; min-height: 44px; font-weight: 700; font-size: clamp(16px, 1.25vw, 19px); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; margin-right: 14px; font-family: var(--f-en); font-weight: 900; color: var(--primary); }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--f-en); font-weight: 600; font-size: 26px; color: var(--primary); transition: transform .3s var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 24px 30px; color: var(--ink-2); }

/* 13 応募（電話とメール） */
.entry-inner .contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: clamp(28px, 4vw, 48px) auto 0; max-width: 860px; text-align: left; }
.contact-box { display: grid; gap: 12px; justify-items: start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.contact-h { font-weight: 700; letter-spacing: .1em; color: var(--primary-ink); }
.contact-note { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.contact .btn-xl { min-height: 64px; padding: 0 28px; font-size: clamp(15px, 1.2vw, 18px); }
.btn-outline { background: #fff; color: var(--primary-ink); border: 2px solid var(--primary); }
.btn-outline::before { background: var(--primary); }
.btn-outline:hover, .btn-outline:focus-visible { color: #fff; }

/* 会社についての見出し（英字＋日本語ラベル） */
.about-body .eyebrow { margin-bottom: 24px; }

@media (max-width: 760px) {
  .points { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "list" "cta"; padding: 64px 20px; }
  .points-photo { justify-self: start; max-width: 260px; }
  .points-list { grid-template-columns: 1fr; }
  .points-list > div, .points-list > div:nth-child(even) { padding: 18px 0; border-right: 0; }
  .day li { grid-template-columns: 4.6em minmax(0, 1fr); padding-left: 20px; }
  .entry-inner .contact { grid-template-columns: 1fr; }
  .eyebrow .en { font-size: clamp(30px, 9vw, 44px); }
}
/* スマホは見出し・採用メッセージ・応募ボタンを映像より先に（最初の画面で採用サイトだと分かるように） */
@media (max-width: 760px) {
  .ms-top { display: flex; flex-direction: column; }
  .ms-top .copyblock { order: -1; padding-bottom: 20px; }
  .ms-top .vctl { margin-top: 12px; }
}

/* ===== 2026-10-31 修正：電話は表示だけ（押しても発信しない）・メールはフォーム ===== */
.tel-note { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.tel-list { display: grid; gap: 10px; margin: 0; }
.tel-list > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); align-items: baseline; gap: 12px; }
.tel-list dt { font-size: 14px; color: var(--ink-2); }
.tel-list dd { margin: 0; font-family: var(--f-en); font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: .02em; color: var(--ink); }
.entry-inner .contact { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; max-width: 1040px; }
.contact-form { gap: 16px; justify-items: stretch; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: 14px; font-weight: 700; }
.contact-form .req, .contact-form .opt { margin-left: 8px; padding: 1px 7px; border-radius: 3px; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.contact-form .req { background: var(--primary); color: #fff; }
.contact-form .opt { background: var(--tint); color: var(--ink-2); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(23,24,28,.3); border-radius: 6px; }
.contact-form textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.contact-form [aria-invalid="true"] { border-color: #C2261B; }
.field-check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; }
.field-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--primary); }
.field-check label { font-weight: 500; line-height: 1.6; }
.field-check a { color: var(--primary-ink); }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-msg { min-height: 1.4em; font-size: 14px; font-weight: 700; color: var(--primary-ink); }
.form-msg.is-error { color: #C2261B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-note a { color: var(--primary-ink); }
.thanks { display: grid; gap: 24px; justify-items: start; max-width: 720px; margin: 0 auto; padding: 72px 20px; }
@media (max-width: 760px) { .entry-inner .contact { grid-template-columns: 1fr; } }
.tel-list > div { grid-template-columns: 5.5em minmax(0, 1fr); }
.tel-list dd { white-space: nowrap; font-size: clamp(19px, 1.6vw, 25px); }   /* 番号の途中で折り返さない */
/* 会社について：外観写真を外したので文字だけの1列に */
.about-grid.about-text-only { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* 先輩の声（4名）：写真は普通の大きさ、文章を横に。2列で並べる */
.people { padding-right: var(--gut); }
.voice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.voice { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; align-items: start; }
.voice figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.voice .photo { object-position: 50% 20%; }
.voice-title { margin: 6px 0 12px; font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: .04em; }
.voice-text p:last-child { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
@media (max-width: 900px) { .voice-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .voice { grid-template-columns: 1fr; } .voice figure { max-width: 220px; } }

/* ===== 2026-10-31 余白の詰め（かず指示：余白は生かしつつ、右側の空きと間延びを埋める） ===== */
.sec { padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }

/* WORK：スクロールの区間を短くし、写真を右の列いっぱいに */
.work-pin { height: 260vh; }
.work-chapters { height: min(72svh, 700px); }
.chapter-photo { max-width: none; width: 100%; aspect-ratio: 16 / 10; }
.work-close { padding: clamp(56px, 7vw, 104px) var(--gut); }

/* ONE DAY：見出しを左、流れを右の2列に */
.oneday { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head list" "head note"; gap: 0 clamp(40px, 6vw, 104px); align-items: start; }
.oneday .sec-head { grid-area: head; position: sticky; top: calc(var(--header-h) + 32px); }
.oneday .day { grid-area: list; max-width: none; }
.oneday .day-note { grid-area: note; }

/* OUR STYLE：見出しと本文を左右に並べ、3つの問いは下に横いっぱい */
.listen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head prose" "q q"; gap: 0 clamp(40px, 6vw, 104px); align-items: end; }
.listen .sec-head { grid-area: head; }
.listen .prose { grid-area: prose; max-width: none; margin-bottom: clamp(36px, 5vw, 72px); }
.listen .questions { grid-area: q; margin-bottom: 0; }

/* WHO WE LOOK FOR：見出しを左、3つの人物像と本文を右に */
.persona { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head keys" "head prose"; gap: 0 clamp(40px, 6vw, 104px); align-items: start; }
.persona .sec-head { grid-area: head; }
.persona .persona-keys { grid-area: keys; }
.persona .prose { grid-area: prose; max-width: none; }

@media (max-width: 760px) {
  .oneday, .listen, .persona { display: block; }
  .oneday .sec-head { position: static; }
  .listen .prose { margin-bottom: 32px; }
  .work-pin { height: auto; }
  .chapter-photo { aspect-ratio: 3 / 2; }
}
/* WORK の章：写真は「文字の上に残った高さ」いっぱいに（比率固定だと文字に重なるため） */
.chapter { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.chapter-photo { aspect-ratio: auto; height: 100%; min-height: 0; }
.work-chapters { height: min(74svh, 720px); }
@media (max-width: 760px) { .chapter-photo { aspect-ratio: 3 / 2; height: auto; } }

/* ===== 2026-10-31 縦の間延びを詰め、写真と文字の縦幅をそろえる ===== */
/* 「保険、コンサルティング、DX。」の帯：上下を詰める */
.work-close { padding: clamp(36px, 4vw, 56px) var(--gut); font-size: clamp(18px, 1.7vw, 26px); }

/* フッター：3段を2段にまとめ、上下の余白を詰める */
.footer { padding: clamp(36px, 4vw, 56px) var(--gut) 28px; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.footer-top { grid-column: 1 / -1; }
.footer-nav { grid-column: 1; }
.footer-sign { grid-column: 1; }
.footer .copy { grid-column: 2; grid-row: 3; justify-self: end; }
.footer-catch { font-size: clamp(20px, 2vw, 30px); }

/* 募集の要点：写真の縦幅を、見出しから条件の欄までにそろえる */
.points { grid-template-areas: "head photo" "list photo" "cta cta"; align-items: stretch; }
.points-photo { grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; max-width: 380px; width: 100%; }
.points-photo img { flex: 1 1 auto; min-height: 0; height: 100%; aspect-ratio: auto; }
.points-list b { font-size: clamp(20px, 2.1vw, 34px); word-break: keep-all; }

/* 会社について：写真の縦幅を、右の文章（MISSION〜VISION）の縦幅にそろえる */
.about-grid { align-items: stretch; }
.about-photo { aspect-ratio: auto; height: 100%; max-width: none; position: static; }
.about-photo .photo { height: 100%; object-position: 50% 60%; }

@media (max-width: 760px) {
  .footer { grid-template-columns: 1fr; }
  .footer .copy { grid-column: 1; grid-row: auto; justify-self: start; }
  .points { grid-template-areas: "head" "photo" "list" "cta"; }
  .points-photo { grid-row: auto; max-width: 260px; }
  .points-photo img { aspect-ratio: 4 / 5; height: auto; }
  .about-photo { aspect-ratio: 3 / 2; height: auto; }
}

/* ===== 2026-10-31 見出しの大きさをそろえ、短い見出しは1行に ===== */
/* セクションの見出しはすべて同じ大きさ（WORK の3行見出しも同じ大きさ） */
.h2, .h2-xl, .points-head .h2, .work-head .h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.4; letter-spacing: .04em; }
.h2-one { white-space: nowrap; }
.entry-inner .h2-one { margin-bottom: 20px; }
@media (max-width: 760px) {
  .h2, .h2-xl, .points-head .h2, .work-head .h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .h2-one { white-space: normal; }
}

/* 先輩の声：写真の縦幅を、横の文章の縦幅にそろえる */
.voice { align-items: stretch; }
.voice figure { aspect-ratio: auto; height: 100%; min-height: 240px; }
.voice .photo { height: 100%; }
@media (max-width: 520px) { .voice figure { aspect-ratio: 3 / 4; height: auto; min-height: 0; } }
.persona { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }   /* 1行の見出しが左の列に収まるように */
/* フォーム：宛先の表示と、送信・コピーの2つのボタン */
.form-to { font-size: 13px; color: var(--ink-2); background: var(--tint); padding: 10px 14px; border-radius: 6px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-copy { min-height: 52px; padding: 0 22px; font-size: 14px; }

/* ===== Codex 仕上げ2回目：英字ラベルと見出しの大きさの差を縮め、WORK の区間を短く ===== */
.eyebrow .en { font-size: clamp(30px, 3.4vw, 56px); }
.work-pin { height: 230vh; }
.copy-fallback { display: grid; gap: 8px; }
.copy-fallback[hidden] { display: none; }
.copy-fallback label { font-size: 13px; font-weight: 700; color: #C2261B; }
.copy-fallback textarea { width: 100%; padding: 10px 14px; font: inherit; font-size: 14px; line-height: 1.7; border: 2px solid var(--primary); border-radius: 6px; background: var(--tint); }

/* ===== Codex 仕上げ4回目：英字ラベルを日本語の見出しと同じ大きさに（主従を逆転させない） ===== */
.eyebrow .en { font-size: clamp(26px, 2.5vw, 38px); }
.work-head .eyebrow .en, .next-head .eyebrow .en { font-size: clamp(22px, 2vw, 30px); }

/* ===== Codex 仕上げ5回目：WORK の区間を短く・応募への導線をもう一度 ===== */
.work-pin { height: 190vh; }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto clamp(24px, 3vw, 40px);
  padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px); background: var(--primary); color: #fff; border-radius: 10px; }
.mid-cta-text { font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: .04em; }
.mid-cta-actions { display: grid; gap: 10px; justify-items: start; }
.mid-cta .btn-primary { background: #fff; color: var(--primary-ink); }
.mid-cta .btn-primary::before { background: var(--accent); }
.mid-cta .btn-primary:hover, .mid-cta .btn-primary:focus-visible { color: var(--ink); }
.mid-cta-tel { font-size: 13px; color: rgba(255,255,255,.92); }
.mid-cta a:focus-visible { outline-color: #fff; }
@media (max-width: 760px) { .mid-cta { margin: 0 16px 24px; padding: 24px 20px; } .mid-cta .btn-xl { width: 100%; } }
/* 欄ごとのエラー表示 */
.field-err { font-size: 13px; font-weight: 700; color: #C2261B; line-height: 1.6; }
.field-err[hidden] { display: none; }
.field-check .field-err { grid-column: 1 / -1; }
