:root{--brand:#B60081;--brand-dark:#8f0066;--cream:#F5F5EF;--ink:#202020;--line:#deded8;font-family:Noto Sans JP,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;line-height:1.75}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
[hidden]{display:none!important}
.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100% - 1440px)/2));background:var(--cream)}
.service-logo{display:flex;flex-direction:column;line-height:1}
.service-logo small{font-size:9px;font-weight:700;margin-bottom:5px}
.service-logo img{display:block;width:180px;height:auto}
.header-entry{background:var(--brand);color:#fff;padding:11px 20px;font-weight:800;font-size:13px;border-radius:3px}
.header-entry span{margin-left:18px}
.first-view{width:min(1480px,calc(100% - 48px));margin:0 auto 90px;display:grid;grid-template-columns:minmax(0,2.1fr) minmax(390px,.9fr);gap:26px;align-items:stretch}
.first-view__visual{min-height:665px;position:relative;overflow:hidden}
.first-view__photo{position:absolute;width:100%;height:100%;object-fit:cover}
.first-view__overlay{position:absolute;inset:0;background:#00000075}
.first-view__copy{position:relative;color:#fff;padding:68px 8%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.company-logo{width:115px;height:auto;margin-bottom:26px}
.first-view__copy p{font-size:23px;font-weight:800;margin:0 0 10px}
.first-view__copy h1{font-size:clamp(52px,5vw,76px);line-height:1.32;letter-spacing:.02em;margin:0 0 35px;font-weight:900}
.first-view__copy a{width:min(500px,80%);padding:25px 30px;background:linear-gradient(90deg,#c6008d,var(--brand));font-size:24px;font-weight:800;text-align:center;border-radius:3px}
.first-view__copy a span{float:right}
.entry-panel{background:#fff;box-shadow:0 4px 22px #0000002b;border-radius:5px;overflow:hidden}
.entry-panel__head{background:var(--brand);color:#fff;text-align:center;font-size:25px;font-weight:900;padding:20px 10px}
.entry-panel__intro{color:#777;font-size:13px;line-height:1.7;margin:22px 28px 12px}
.form{padding:8px 28px 28px}
.progress{height:10px;background:#eee;border-radius:5px;overflow:hidden}
.progress div{height:100%;background:var(--brand);transition:.2s}
.progress-label{text-align:right;font-size:11px;color:#888;margin:5px 0 18px}
.form-step{display:none;border:0;padding:0;margin:0;min-height:290px}
.form-step.is-active{display:block}
.form-step legend{width:100%;font-size:18px;font-weight:700;margin-bottom:20px}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.choice-grid input{position:absolute;opacity:0}
.choice-grid span{display:grid;place-items:center;min-height:82px;background:#f3f3f3;border:2px solid transparent;border-radius:4px;cursor:pointer}
.choice-grid input:checked+span{background:#f6e4f1;border-color:var(--brand);color:var(--brand);font-weight:800}
.form select,.wide-input,.stacked-input input{width:100%;min-height:58px;border:2px solid #ddd;padding:0 15px;background:#fff}
.stacked-input{display:block;font-size:12px;font-weight:700;margin-bottom:12px}
.stacked-input input{display:block;margin-top:4px}
.privacy-check{font-size:11px;display:flex;align-items:flex-start;gap:8px;margin-top:12px}
.privacy-check input{margin-top:5px;flex:0 0 auto}
.privacy-check a{color:var(--brand);text-decoration:underline}
.form-actions{display:flex;align-items:stretch;gap:10px;width:100%;margin-top:8px}
.back-button,.next-button{border:0;min-height:58px;border-radius:30px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative}
.back-button{flex:0 0 92px;background:#eee;color:#222}
.next-button{flex:1;background:var(--brand);color:#fff;padding:0 42px}
.next-button span{position:absolute;right:22px}
.form-success{display:none;text-align:center;padding:55px 0}
.form-success.is-active{display:block}
.form-success b{display:grid;place-items:center;width:58px;height:58px;margin:auto;background:var(--brand);color:#fff;border-radius:50%;font-size:28px}
.content-column{width:min(900px,calc(100% - 40px));margin:auto}
.section-block{padding:90px 0;border-bottom:1px solid var(--line)}
.section-label{text-align:center;color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.18em;margin:0 0 8px}
.section-block h2,.oishiru-section h2{text-align:center;font-size:38px;line-height:1.35;margin:0 0 45px}
.company-images{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:35px}
.company-images img{width:100%;height:330px;object-fit:cover;object-position:top center;background:#fff}
.company-copy{font-size:16px}
.company-copy strong{color:var(--brand)}
.position-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.position-list span{display:grid;place-items:center;min-height:86px;background:#fff;border-bottom:4px solid var(--brand);font-size:18px;font-weight:800}
.requirements-title{background:var(--brand);color:#fff;margin:0;padding:18px 22px;font-size:20px}
.requirements{margin:0}
.requirements>div{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid var(--line)}
.requirements dt{background:#ecece7;padding:22px;font-weight:800}
.requirements dd{margin:0;background:#fff;padding:22px}
.requirements dd strong{color:var(--brand);font-size:20px}
.section-cta{display:block;width:min(430px,100%);margin:40px auto 0;background:var(--brand);color:#fff;text-align:center;padding:18px 25px;font-size:18px;font-weight:800;border-radius:3px}
.section-cta span{float:right}
.flow-list{padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.flow-list li{text-align:center;background:#fff;padding:25px 10px;min-height:155px}
.flow-list b{display:block;color:var(--brand);font-size:28px;margin-bottom:12px}
.flow-list span{font-size:13px;font-weight:700}
.oishiru-section{margin:90px 0;padding:55px;background:#fff;display:grid;grid-template-columns:1.4fr 1fr;gap:35px}
.oishiru-section h2{text-align:left;font-size:28px;margin-bottom:18px}
.oishiru-section .section-label{text-align:left}
.oishiru-section p{font-size:14px}
.oishiru-section ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.oishiru-section li{background:var(--brand);color:#fff;padding:10px 18px;display:flex;align-items:center;justify-content:space-between}
.oishiru-section li strong{font-size:24px}
.oishiru-section li span{font-size:11px}
footer{text-align:center;background:#222;color:#fff;padding:45px 20px 100px}
.footer-logo{width:200px;max-width:65%;height:auto;filter:brightness(0) invert(1)}
/* フッターのリンクは2行に分ける（1行目=運営会社・プライバシーポリシー / 2行目=各種導線） */
footer nav{display:flex;flex-direction:column;align-items:center;gap:10px;margin:20px 0;font-size:11px}
.footer-nav__row{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 22px}
.privacy-mark{width:min(650px,100%);margin:28px auto 20px;padding:20px;background:#fff;color:#222;border-radius:8px;display:flex;align-items:center;text-align:left;gap:20px}
.privacy-mark__symbol{width:70px;height:70px;flex:0 0 70px;border:4px solid #1264bb;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1264bb;font-size:38px;font-weight:900;line-height:.8}
.privacy-mark__symbol small{font-size:7px;margin-top:7px}
.privacy-mark p{font-size:12px;line-height:1.6;margin:0}
.privacy-mark strong{font-size:13px}
footer>small{font-size:9px;color:#aaa}
.floating-cta{display:none}
.first-view{grid-template-columns:minmax(390px,.9fr) minmax(0,2.1fr)}
.entry-panel{grid-column:1;grid-row:1}
.first-view__visual{grid-column:2;grid-row:1}
.position-list article{background:#fff;overflow:hidden;border-bottom:4px solid var(--brand)}
.position-list article img{display:block;width:100%;height:150px;object-fit:cover}
.position-list article h3{margin:0;padding:18px 8px;text-align:center;font-size:17px}
.flow-list li{display:flex;flex-direction:column;align-items:center}
.flow-list li img{width:64px;height:64px;object-fit:contain;margin:4px 0 16px}
.flow-list b{font-size:15px;letter-spacing:.05em}
@media(max-width:800px){.site-header{height:62px;padding:0 15px}
.service-logo img{width:150px}
.header-entry{display:none}
.first-view{width:100%;margin-bottom:55px;display:flex;flex-direction:column}
.first-view__visual{order:1;min-height:540px}
.entry-panel{order:2;margin:0 15px;border-radius:0;transform:translateY(-1px)}
.first-view__copy{padding:35px 22px;justify-content:flex-end}
.company-logo{width:76px;margin-bottom:12px}
.first-view__copy p{font-size:15px}
.first-view__copy h1{font-size:42px;margin-bottom:20px}
.first-view__copy a{width:100%;padding:16px;font-size:17px}
.entry-panel__head{font-size:20px;padding:16px}
.entry-panel__intro{font-size:12px}
.form-step{min-height:270px}
.choice-grid span{min-height:65px}
.back-button{flex-basis:82px}
.next-button{padding:0 34px}
.next-button span{right:16px}
.content-column{width:calc(100% - 30px)}
.section-block{padding:65px 0}
.section-block h2{font-size:29px;margin-bottom:30px}
.company-copy{font-size:14px}
.position-list{grid-template-columns:1fr 1fr}
.position-list article img{height:115px}
.position-list article h3{font-size:14px;padding:13px 5px}
.requirements-title{font-size:17px}
.requirements>div{grid-template-columns:1fr}
.requirements dt{padding:11px 15px}
.requirements dd{padding:15px}
.flow-list{grid-template-columns:1fr 1fr}
.flow-list li img{width:55px;height:55px}
.oishiru-section{margin:65px 0;padding:30px 22px;grid-template-columns:1fr}
.oishiru-section h2,.oishiru-section .section-label{text-align:center}
.privacy-mark{padding:16px;gap:12px}
.privacy-mark__symbol{width:58px;height:58px;flex-basis:58px;font-size:30px}
.privacy-mark p{font-size:10px}
.floating-cta{display:block;position:fixed;left:12px;right:12px;bottom:10px;z-index:20;background:var(--brand);color:#fff;text-align:center;padding:13px;font-weight:800;box-shadow:0 3px 15px #0000004d}
.floating-cta span{float:right}
footer nav{flex-wrap:wrap}
}
.site-header{justify-content:flex-start}
.entry-panel__head{line-height:1.25;text-align:center;padding-left:10px;padding-right:10px}
.entry-panel__head span{display:inline-block;margin-top:4px;font-size:.82em}
.oishiru-section li{min-height:78px}
.oishiru-section li .stat-label{font-size:15px;font-weight:700}
.oishiru-section li .stat-label--primary{font-size:19px;font-weight:900}
.oishiru-section li strong{font-size:34px;font-weight:900}
.privacy-mark img{display:block;width:92px;height:auto;flex:0 0 92px}
.privacy-mark__symbol{display:none}
footer nav a span{color:#4da3ff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:800}
@media(max-width:800px){.entry-panel__head{padding-left:12px;padding-right:12px}
.oishiru-section li .stat-label--primary{font-size:17px}
.oishiru-section li strong{font-size:30px}
.privacy-mark img{width:72px;flex-basis:72px}
}
.company-section{padding:52px 0}
.company-section h2{margin-bottom:25px}
/* 会社紹介は2段組みをやめて1列で上から順に読ませる */
.company-copy{font-size:15px;line-height:1.9}
.company-copy p{margin:0 0 20px}
.company-copy__recommend{background:#fff;border-left:5px solid var(--brand);padding:13px 18px;margin-top:22px;font-weight:700}
.position-list{grid-template-columns:repeat(3,1fr)}
.requirements dd .requirement-heading{font-size:16px}
.requirements dd .average-salary,.requirements dd .selection-flow{color:var(--brand);font-size:20px;font-weight:900}
@media(max-width:800px){.company-section{padding:50px 0}
.company-copy{font-size:14px}
.position-list{grid-template-columns:1fr 1fr}
}
.first-view{align-items:start}
.first-view__visual{display:block;min-height:0;aspect-ratio:3/2}
.first-view__photo{position:static;display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:800px){.first-view__visual{width:100%;min-height:0;aspect-ratio:3/2}
}
.company-copy__spacer{height:22px}
.company-copy__recommend{margin-top:0}
@media(min-width:801px){main{width:min(1480px,calc(100% - 48px));margin:0 auto 90px;display:grid;grid-template-columns:clamp(390px,29vw,436px) minmax(0,1fr);grid-template-rows:auto auto;gap:0 26px;align-items:start}
.first-view{display:contents}
.entry-panel{grid-column:1;grid-row:1 / span 2;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;z-index:10}
.first-view__visual{grid-column:2;grid-row:1}
.content-column{grid-column:2;grid-row:2;width:100%}
.section-cta{display:none}
}


/* ============================================================
   ここから下は今回の改修で追加した分
   （年齢のラジオボタン／入力エラー表示／郵便番号の住所表示）
   ============================================================ */

/* Q2 年齢：3列のラジオボタン */
.choice-grid--age{grid-template-columns:repeat(3,1fr)}
.choice-grid--age span{min-height:62px;font-size:16px;font-weight:700}
@media(max-width:800px){.choice-grid--age span{min-height:56px;font-size:15px}}

/* キーボード操作時に選択中の枠が見えるように */
.choice-grid input:focus-visible+span{outline:3px solid var(--brand);outline-offset:2px}

/* 入力エラーのメッセージ（JSが文言を入れたときだけ表示） */
.field-error{display:none;color:#d9333f;font-size:12px;font-weight:700;line-height:1.5;margin:6px 0 0}
.field-error.is-shown{display:block}
.stacked-input input.is-invalid,.choice-grid.is-invalid span{border-color:#d9333f}

/* エラー文が増えても入力欄が跳ねないように高さを確保 */
.form-step{min-height:320px}
@media(max-width:800px){.form-step{min-height:300px}}

/* 送信中はボタンを押せなくする */
.next-button[disabled]{opacity:.6;cursor:progress}

/* オーケー版：共通LPの構成を維持し、企業色とFVだけ変更 */
.ok-hero{color:#fff}
.ok-hero .first-view__photo{position:absolute}
.ok-hero .first-view__copy{position:relative;z-index:1;padding:6% 7%;justify-content:flex-end;text-shadow:0 2px 10px #0008}
.ok-logo{width:105px;background:none}
.ok-hero .first-view__copy h1{font-size:17px;line-height:1.6;letter-spacing:.02em;margin:0 0 10px;font-weight:800}
.ok-hero .first-view__copy .hero-catch{font-size:clamp(36px,4vw,57px);line-height:1.32;letter-spacing:.02em;margin:0 0 20px;font-weight:900}
.hero-conditions{display:block;padding:10px 14px;background:#0006;border:1px solid #ffffff80;font-size:13px;font-weight:800}
.hero-link{display:block;width:min(430px,80%);margin-top:16px;padding:15px 20px;background:var(--brand);font-size:18px;font-weight:800;text-align:center;text-shadow:none}
.hero-link b{float:right}
.position-list--ok{grid-template-columns:repeat(3,1fr)}
.position-note{font-size:12px;color:#666;margin-top:18px}
@media(max-width:800px){.ok-hero .first-view__photo{position:absolute;object-position:center center}.ok-hero .first-view__copy{padding:22px;justify-content:flex-end}.ok-logo{width:72px;margin-bottom:10px}.ok-hero .first-view__copy h1{font-size:13px;line-height:1.6;margin-bottom:7px}.ok-hero .first-view__copy .hero-catch{font-size:30px;line-height:1.35;margin-bottom:12px}.hero-conditions{font-size:10px;padding:7px 9px}.hero-link{width:100%;font-size:15px;padding:12px;margin-top:10px}.position-list--ok{grid-template-columns:1fr 1fr}}



/* 募集要項：転職者が比較したい重要数字を静かに強調 */
.requirement-feature dd{position:relative}
.requirements dd .key-number{display:inline-block;color:var(--brand);font-size:25px;line-height:1.45;font-weight:900;margin-bottom:7px}
.requirements dd .key-sub{display:inline-block;color:var(--brand);font-size:18px;font-weight:900}
.requirements dd .salary-example{display:inline-block;color:var(--ink);font-size:19px;font-weight:900;margin:3px 0 5px}
.leave-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.leave-stats span{display:flex;min-height:105px;flex-direction:column;justify-content:center;padding:13px;background:var(--cream);border-left:4px solid var(--brand)}
.leave-stats b{font-size:10px;color:#666}
.leave-stats strong{font-size:20px;color:var(--brand);line-height:1.45}
.leave-stats small{font-size:10px;margin-top:2px}
@media(max-width:800px){.requirements dd .key-number{font-size:21px}.requirements dd .key-sub,.requirements dd .salary-example{font-size:17px}.leave-stats{grid-template-columns:1fr}.leave-stats span{min-height:90px}}

/* ===== ファーストビューの高さ（2026-09-09 修正）=====
   もとは .first-view__visual に aspect-ratio:3/2 と overflow:hidden がかかっており、
   コンテナの高さが「横幅の2/3」に固定されていた。375px幅では高さ250pxしか無いのに、
   中身（ロゴ＋見出し2行＋条件＋ボタン）は371px必要。justify-content:flex-end のため
   あふれた分が上へ押し出され、ロゴとリード文が切り取られて見えなくなっていた。
   実測: コンテナ上端 y=62 に対し、ロゴは y=-37〜3（＝完全に画面外）。

   直し方＝高さを写真の比率で固定するのをやめ、中身の高さで伸ばす。
   min-height はドンキ（4本のうち唯一まともに出ていたLP）の値に合わせた。
   375 / 800 / 1024 / 1440px すべてで切れゼロを実測確認済み。
   既存行は書き換えず、後ろに足して上書きする形にしてある。 */
.first-view__visual{aspect-ratio:auto;min-height:0}
.ok-hero .first-view__copy{height:auto;min-height:560px}
@media(max-width:800px){
  .first-view__visual{aspect-ratio:auto;min-height:0}
  .ok-hero .first-view__copy{height:auto;min-height:500px}
}

/* ===== 応募フォームの質問をワークス求職者LPに合わせた分（2026-10-08）=====
   Q1 経験職種（8択）／Q2 経験年数／Q3 生年月日 を追加したときのスタイル。
   既存の .choice-grid などはそのまま使い、足りない分だけここに足している。 */

/* Q1 経験職種：8択なので年齢と同じ3列・コンパクトな高さにする */
.choice-grid--occupation{grid-template-columns:repeat(3,1fr)}
.choice-grid--occupation span{min-height:62px;font-size:16px;font-weight:700}
@media(max-width:800px){.choice-grid--occupation span{min-height:56px;font-size:15px}}

/* 「その他」を選んだときだけ出る入力欄 */
.occupation-other{display:none;margin-top:12px}
.occupation-other.is-shown{display:block}
.occupation-other input{width:100%;min-height:52px;border:2px solid #ddd;padding:0 15px;background:#fff}
.occupation-other input.is-invalid{border-color:#d9333f}

/* Q3 生年月日：年・月・日を横に並べる */
.birth-row{display:flex;align-items:center;gap:6px}
.birth-row select{flex:1 1 auto;min-width:0;padding:0 8px}
.birth-row select#birth-year{flex:1.4 1 auto}
.birth-unit{flex:0 0 auto;font-size:14px;font-weight:700}
@media(max-width:800px){.birth-row{gap:4px}.birth-row select{padding:0 6px}.birth-unit{font-size:13px}}
