/* 下層ページ（TOP 以外）の共通スタイル。recruit.css のあとに読む */

/* 見出し帯：淡いグラデーションの地に、3色のぼかしの光がゆっくり漂う（parts/page-head.php の .ph-deco） */
.ph-head{position:relative;overflow:hidden;isolation:isolate;background:var(--grad-soft);padding:56px 0 76px}
.ph-head>.wrap{position:relative;z-index:1}
.ph-head .hd{margin:0}
.ph-deco{position:absolute;inset:0;z-index:0;pointer-events:none}
.ph-deco i{position:absolute;border-radius:50%;filter:blur(40px);opacity:.8;animation:ph-drift 9s ease-in-out infinite alternate}
.ph-deco i:nth-child(1){width:420px;height:420px;right:6%;top:-180px;background:#8fd3f6}
.ph-deco i:nth-child(2){width:360px;height:360px;right:26%;bottom:-220px;background:#b9eedd;animation-name:ph-drift2;animation-duration:11s;animation-delay:-4s}
.ph-deco i:nth-child(3){width:300px;height:300px;right:-80px;bottom:-120px;background:#eef8a8;animation-name:ph-drift3;animation-duration:8s;animation-delay:-2s}
@keyframes ph-drift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-260px,90px) scale(1.25)}100%{transform:translate(120px,40px) scale(.9)}}
@keyframes ph-drift2{0%{transform:translate(0,0) scale(1)}50%{transform:translate(220px,-90px) scale(.85)}100%{transform:translate(-180px,-40px) scale(1.2)}}
@keyframes ph-drift3{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-200px,-110px) scale(1.3)}100%{transform:translate(-60px,20px) scale(.9)}}
@media (prefers-reduced-motion:reduce){.ph-deco i{animation:none}}
.crumb{font-size:12px;margin-bottom:32px}
.crumb span{margin:0 8px;opacity:.6}
/* まとまり（働く環境）のページの上の切り替えボタン（pionet_group_subnav）。nav の横並び（display:flex）は使わない */
.subnav{display:block;border-bottom:1px solid var(--line);background:#fff}
.subnav .wrap{display:flex;gap:0}
.subnav a{position:relative;display:flex;flex-direction:column;align-items:flex-start;white-space:nowrap;padding:20px 24px 18px;color:var(--ink);font-weight:700;border-left:1px solid var(--line)}
.subnav a:last-child{border-right:1px solid var(--line)}
.subnav a span{font-size:15px;line-height:1.9;transition:color .25s}
.subnav a small{display:block;font-family:Lato,sans-serif;font-size:10px;font-weight:700;letter-spacing:.12em;line-height:1.6;color:#9aa4b1;transition:color .25s}
.subnav a::after{content:"";position:absolute;left:24px;right:24px;bottom:-1px;height:2px;background:var(--grad-bg);transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.subnav a.on span,.subnav a.on small{color:var(--blue)}
@media (hover:hover){.subnav a:hover span,.subnav a:hover small{color:var(--blue)}}
@media (hover:hover){.subnav a:hover::after{transform:scaleX(.4)}}
.subnav a.on::after{transform:none}

/* 段と余白 */
.lsec{padding:96px 0}
.lsec.g{background:var(--bg-2)}
.lsec.first{padding-top:72px}
.lsec.slim{padding-top:48px;padding-bottom:56px}
.w9{max-width:960px}
.center{text-align:center}
.mt8{margin-top:8px}.mt24{margin-top:24px}.mt40{margin-top:40px}

/* 小見出し */
.nh{display:flex;align-items:baseline;gap:18px;margin-bottom:24px}
.nh h2{font-size:26px;line-height:1.5}
.nh small{display:block;font-family:Lato;font-weight:900;font-size:12px;letter-spacing:.16em;color:var(--blue)}
.lead{color:var(--ink)}
.lead.c{text-align:left;max-width:720px;margin:0 auto 44px}

/* 写真と文章の2列 */
.row{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;position:relative;z-index:0}
.row .ph{aspect-ratio:3/2;background-size:cover;background-position:center;position:relative}
.row .ph::before{content:"";position:absolute;right:-18px;bottom:-18px;width:100%;height:100%;background:var(--grad-bg);z-index:-1;opacity:.55}
/* 写真を ::after にも重ねる。出てくる動き（transform）の間は .ph が重なりの基準になり、z-index:-1 の影が写真の上に来てしまうため */
.row .ph::after{content:"";position:absolute;inset:0;background:inherit}
.row .tx p+p{margin-top:16px}
.row .btn,.row .btn-w{margin-top:28px}

/* 動画の枠（再生ボタンを押すまで読み込まない。movie.js） */
.movie{position:relative;aspect-ratio:16/9;background-size:cover;background-position:center}
.movie button{position:absolute;left:50%;top:50%;width:80px;height:80px;margin:-40px 0 0 -40px;border-radius:50%;border:0;background:rgba(255,255,255,.94);cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.movie button::after{content:"";position:absolute;left:32px;top:25px;border:15px solid transparent;border-left:24px solid #4158d0;border-right:0}
.movie .cap{position:absolute;left:0;bottom:0;background:rgba(0,0,0,.6);color:#fff;font-size:12px;padding:4px 12px}

/* 社員インタビューのカード（ホバーの動きは motion.css） */
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;position:relative;display:block}
.card .ph{position:relative;aspect-ratio:4/3;background-image:var(--ph);background-size:cover;background-position:center 25%}
.card .body{padding:18px 20px 22px}
.card .meta{font-size:12px;line-height:1.7;color:var(--sub)}
.card h3{font-size:16px;line-height:1.6;margin:0 0 8px}
.card .tag{display:inline-block;margin-top:10px;font-size:11px;border:1px solid var(--blue);border-radius:999px;color:var(--blue);padding:0 10px;margin-right:6px}
.card .play{position:absolute;right:14px;bottom:14px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.92)}
.card .play::after{content:"";position:absolute;left:16px;top:12px;border:8px solid transparent;border-left:12px solid #4158d0;border-right:0}

/* 制度・強みのカード：頭に大きなアイコンと名前を並べ、点線で区切って本文。スマホは .ttl を display:contents にしてアイコンと名前を縦に積む */
.sys2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sy{background:#fff;padding:32px 34px 34px;border-radius:16px;box-shadow:0 0 0 1px #e6ebf1,0 6px 20px rgba(30,60,90,.06);display:grid;grid-template-columns:80px 1fr;column-gap:22px;align-content:start;align-items:center}
.sy .ttl{display:contents;font-size:20px;font-weight:700;line-height:1.45}
.sy .ttl svg{grid-column:1;grid-row:1;width:80px;height:80px;padding:20px;box-sizing:border-box;border-radius:22px;background:linear-gradient(135deg,#2f9be3 0%,#3dbfae 100%);box-shadow:0 12px 24px -10px rgba(47,155,227,.6);stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sy p{grid-column:1/-1;margin-top:22px;padding-top:20px;border-top:1px dashed #d9e2ec;font-size:14px;line-height:1.95;color:var(--sub)}
.sy dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:13px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.sy dt{color:var(--blue);font-weight:700}
/* 強み（.str4）：アイコンの代わりに大きな番号を淡い青で見出しの後ろに置き、見出しを番号の下の方に重ねる */
.str4{margin-top:64px}
.str4:first-child{margin-top:0}
.str4 .sy.no{position:relative;isolation:isolate;grid-template-columns:1fr;grid-template-rows:auto 1fr;padding-top:96px}
.str4 .sy.no .ttl{font-size:22px}
.str4 .sy.no .ttl .n{position:absolute;left:28px;top:26px;z-index:-1;font-family:Lato,sans-serif;font-weight:900;font-size:128px;line-height:.8;letter-spacing:.025em;color:#1d95d4;opacity:.15;pointer-events:none}
.str4 .sy.no p{align-self:start}
.str4 .sy.no:not(.wide){grid-template-rows:auto 1fr auto}
/* 01・02 は横幅いっぱいにし、左に本文、右にグラフ。グラフの淡い箱は本文と同じ高さまで伸ばし、中は上下中央に */
.str4 .sy.wide{grid-column:1/-1;grid-template-columns:1fr 400px;grid-template-rows:auto auto 1fr;column-gap:40px}
.str4 .sy.wide p{grid-column:1;align-self:start}
.str4 .sy.wide .ch.in{grid-column:2;grid-row:1/span 3;margin:-64px 0 0;align-self:stretch;justify-content:center}
.str4 .sy.wide .ch.in .bars,.str4 .sy.wide .ch.in .donut-w{flex:none}
.str4 .sy .pls{grid-column:1;align-self:start;display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:18px}
/* 05・06 の前に、両方にかかる横長の写真 */
.str4 .band-ph{grid-column:1/-1;aspect-ratio:8/3;border-radius:16px;background-size:cover;background-position:center 25%}
/* 数字のカードは 03・04 の下に横一列で、会社概要へのリンクは右下 */
.str4 .nums{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.str4 .nums .stats{width:100%}

/* 強みのグラフ（カードの中の .ch）：プラグインを使わず CSS で描く */
.ch{grid-column:1/-1;justify-self:stretch;margin:24px 0 0;background:#f7fafd;border-radius:14px;padding:22px 22px 20px;display:flex;flex-direction:column}
.ch figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.ch figcaption b{font-size:15px}
.ch figcaption small{font-size:12px;color:#999}
/* 棒のグラデーションはグラフ全体で1本にする（背景の大きさをグラフの高さ 100cqh にして下にそろえる。低い棒は緑、高い棒ほど上が青） */
.bars{flex:1;height:170px;min-height:170px;padding-top:34px;margin-bottom:28px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:end;position:relative;border-bottom:1px solid #e6ebf1;background:repeating-linear-gradient(to top,transparent 0 calc(25% - 1px),#f0f3f7 calc(25% - 1px) 25%);container-type:size}
.bar{position:relative;height:var(--v);min-height:4px;border-radius:10px 10px 4px 4px;background:linear-gradient(0deg,#3dbfae 0%,#2f9be3 100%) center bottom/100% 100cqh no-repeat;box-shadow:0 10px 20px -12px rgba(47,155,227,.7)}
.bar span{position:absolute;left:-10px;right:-10px;text-align:center;bottom:100%;margin-bottom:6px;font-family:Lato;font-weight:900;font-size:13px;color:var(--blue-d);white-space:nowrap}
.bar i{position:absolute;left:-10px;right:-10px;text-align:center;top:100%;margin-top:10px;font-style:normal;font-family:Lato;font-weight:700;font-size:13px;color:#888}
.donut-w{flex:1;display:flex;align-items:center;gap:28px}
.donut{flex:none;width:150px;height:150px;border-radius:50%;position:relative;display:grid;place-items:center}
.donut::before{content:"";position:absolute;inset:24px;border-radius:50%;background:#f7fafd}
.donut span{position:relative;font-family:"Caveat",cursive;font-size:20px;color:var(--blue);opacity:.7}
.lg{list-style:none;margin:0;padding:0;flex:1;display:flex;flex-direction:column;gap:12px}
.lg li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;padding-bottom:10px;border-bottom:1px dashed #d9e2ec}
.lg li:last-child{border-bottom:0;padding-bottom:0}
.lg i{width:12px;height:12px;border-radius:4px;flex:none}
.lg b{margin-left:auto;font-family:Lato;font-weight:900;font-size:22px;line-height:1;color:var(--blue-d)}
.lg b span{font-size:13px;margin-left:2px}
/* グラフの動き：motion.js が .ch-wait を付け、画面に入ったら .ch-go。棒は左から順に伸び、円グラフは12時から時計回りに描かれる
 * transition は .ch-go の側だけに書く（.ch-wait を付けたときは、動かさずにすぐ隠れた形にするため） */
@property --dp{syntax:'<percentage>';inherits:false;initial-value:100%}
.ch-wait .bar{height:0}
.ch-wait .bar span{opacity:0}
.ch-wait .bar:nth-child(2){--bd:.1s}.ch-wait .bar:nth-child(3){--bd:.2s}.ch-wait .bar:nth-child(4){--bd:.3s}.ch-wait .bar:nth-child(5){--bd:.4s}
.ch-go .bar{height:var(--v);transition:height .9s cubic-bezier(.2,.7,.2,1) var(--bd,0s)}
.ch-go .bar span{opacity:1;transition:opacity .4s calc(.6s + var(--bd,0s))}
.ch-wait .donut span{z-index:1}
.ch-wait .donut::after{content:"";position:absolute;inset:-2px;border-radius:50%;background:conic-gradient(transparent var(--dp),#f7fafd 0);--dp:0%}
.ch-go .donut::after{--dp:100%;transition:--dp 1.3s cubic-bezier(.45,0,.2,1) .1s}
/* 04 の絵（本文ではコメントにしてある）：インプットからアウトプットへ上から流れる形 */
.io{display:flex;flex-direction:column}
.io-b{background:#fff;border-radius:12px;padding:14px 16px 16px;box-shadow:0 0 0 1px #e6ebf1}
.io-b b{font-size:15px;color:var(--blue-d);margin-right:10px}
.io-b small{display:inline-block;font-size:12px;color:#888}
.io-b ul{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.io-b ul li{font-size:12px;font-weight:700;line-height:1.4;background:#eef6fc;color:#24425a;border-radius:999px;padding:5px 11px}
.io-b ul li span{font-weight:400;color:#7a8a99;margin-left:5px;font-size:11px}
.io-c{position:relative;height:58px;display:grid;place-items:center}
.io-c::before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:2px dashed #a9d4ec}
.io-c::after{content:"";position:absolute;left:50%;bottom:0;width:9px;height:9px;margin-left:-4.5px;border-right:2px solid #a9d4ec;border-bottom:2px solid #a9d4ec;transform:translate(0,-1px) rotate(45deg)}
.io-c span{position:relative;font-family:Lato;font-weight:900;font-size:12px;letter-spacing:.16em;color:#fff;background:linear-gradient(135deg,#2f9be3 0%,#3dbfae 100%);border-radius:999px;padding:5px 16px;box-shadow:0 6px 14px -6px rgba(47,155,227,.6)}
.io-b.out b{color:#1e8f76}
.io-b.out ol{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;counter-reset:io}
.io-b.out ol li{position:relative;font-size:12.5px;font-weight:700;line-height:1.5;padding:7px 10px 7px 34px;background:#effaf6;color:#24425a;border-radius:8px}
.io-b.out ol li::before{counter-increment:io;content:counter(io);position:absolute;left:10px;top:50%;margin-top:-9px;width:18px;height:18px;border-radius:50%;background:#3dbfae;color:#fff;font:900 10px/18px Lato,sans-serif;text-align:center}

/* 流れ（選考の流れなど） */
.flow{display:grid;grid-template-columns:repeat(var(--n,4),1fr);gap:0;counter-reset:f}
.flow li{list-style:none;position:relative;background:#fff;padding:28px 24px 26px;margin-right:28px;border-radius:16px;box-shadow:0 0 0 1px #e6ebf1,0 6px 20px rgba(30,60,90,.06)}
.flow li:last-child{margin-right:0}
.flow li:not(:last-child)::after{content:"";position:absolute;right:-22px;top:50%;margin-top:-9px;border:9px solid transparent;border-left:12px solid #4158d0;border-right:0}
.flow small{font-family:Lato;font-weight:900;font-size:12px;letter-spacing:.14em;color:var(--blue)}
.flow b{display:block;font-size:18px;margin:4px 0 8px}
.flow p{font-size:13px;color:var(--sub)}
.flow .when{display:inline-block;font-size:11px;font-weight:700;background:#e6f2fb;color:var(--blue-d);border-radius:999px;padding:1px 10px;margin-bottom:8px}

/* 数字のカード */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.st{background:#fff;padding:24px 24px 20px;border-radius:16px;box-shadow:0 0 0 1px #e6ebf1,0 6px 20px rgba(30,60,90,.06)}
.st small{font-size:13px;font-weight:700;color:var(--sub)}
.st b{display:block;font-family:Lato;font-weight:900;font-size:44px;line-height:1.2;color:var(--blue);white-space:nowrap} /* 数え上げの途中で折り返さないように */
.st b span{font-size:15px;margin-left:4px;color:var(--ink)}
.st i{font-style:normal;font-size:11px;color:#999}

/* 写真の並び（福利厚生の本文ではコメントにしてある「職場の風景」の段） */
.gal{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px;gap:12px}
.gal i{background-size:cover;background-position:center}
.gal i:first-child{grid-row:span 2}

/* 項目と内容の表（応募フォームの確認画面） */
.prof{display:grid;grid-template-columns:6em 1fr;gap:0;font-size:14px;background:#fff}
.prof dt,.prof dd{padding:10px 14px;border-bottom:1px solid var(--line)}
.prof dt{color:var(--blue);font-weight:700}

/* 募集職種のカード（ホバーの動きは motion.css） */
.jobs2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.job{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:16px;box-shadow:0 0 0 1px #e6ebf1,0 6px 20px rgba(30,60,90,.06);padding:30px 32px}
@media (hover:hover){.job:hover .tlink{gap:16px;color:var(--blue)}}
.job .top{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.kind{font-size:12px;font-weight:700;padding:2px 12px;border-radius:999px;background:#e6f2fb;color:var(--blue-d)}
.stt{font-size:12px;font-weight:700;padding:2px 12px;border-radius:999px}
.stt.open{background:#e7f6ec;color:#15803d}
.stt.ext{background:#fff3e0;color:#b45309}
.stt.end{background:#eee;color:#777}
.job b{font-size:19px;line-height:1.5}
.job dl{display:grid;grid-template-columns:5em 1fr;gap:4px 12px;font-size:13px}
.job dt{color:var(--sub)}
.job .tlink{align-self:flex-start;margin-top:8px}
.job.closed{background:#fafafa}
.job.closed b{color:#888}
.job.closed .tlink{opacity:.6}
.empty{background:#fff;border:1px dashed #cfd6dc;border-radius:14px;padding:28px;text-align:center;color:var(--sub);font-size:14px}

/* 募集要項：本文のすぐ上の見出しと、本文の下の応募ボタン（ホバーでグラデーションが流れる） */
.jhead{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:end;margin-top:28px}
.jhead h1{font-size:34px;line-height:1.4;margin-top:10px}
.jhead.in{margin:0 0 36px;padding-bottom:32px;border-bottom:1px solid var(--line)}
.jhead.in h1{font-size:28px}
.apply{display:inline-flex;flex-direction:column;align-items:center;background:linear-gradient(110deg,#ffcb70 0%,#c751c0 25%,#4158d0 50%,#c751c0 75%,#ffcb70 100%) 0 50%/200% 100%;color:#fff;padding:18px 72px;border-radius:999px;font-weight:400;font-size:13px;letter-spacing:.12em;box-shadow:0 10px 26px rgba(65,88,208,.28);transition:background-position .6s cubic-bezier(.2,.7,.2,1)}
.apply:focus-visible{background-position:100% 50%}
@media (hover:hover){.apply:hover{background-position:100% 50%}}
.apply small{font-family:Lato;font-weight:900;font-size:34px;line-height:1.1;letter-spacing:.14em;margin-bottom:6px}

/* 応募フォーム（page-entry.php・entry.js） */
.form{background:#fff;padding:48px 56px;border-radius:16px;box-shadow:0 6px 24px rgba(30,60,90,.08)}
.form-steps{display:flex;gap:0;margin:0 0 40px;padding:0}
.form-steps li{list-style:none;flex:1;text-align:center;font-size:13px;font-weight:700;color:#9aa4b1;padding-top:14px;border-top:3px solid var(--line)}
.form-steps li.on{color:var(--blue);border-color:var(--blue)}
.step:focus{outline:none}
.chosen{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;background:#fff;border:1px solid #cfd6dc;padding:22px 26px;margin-bottom:40px;border-radius:12px}
.chosen .kind{justify-self:start}
.chosen small{display:block;font-size:12px;color:var(--sub)}
.chosen b{font-size:18px}
.req-note{font-size:14px;margin-bottom:12px}
.fld{display:grid;grid-template-columns:220px 1fr;gap:24px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}
.fld label{font-weight:700;padding-top:10px}
/* 必須の札は、緊張感を与えないよう赤ではなく淡い青 */
.req,.opt{display:inline-block;font-size:11px;font-weight:700;padding:0 8px;margin-left:8px;vertical-align:2px}
.req{background:#e3f2fb;color:var(--blue-d)}
.opt{background:#e9ecef;color:#666}
.req-note .req{margin:0 6px 0 0}
.fld input,.fld textarea,.fld select{width:100%;font:inherit;padding:12px 14px;border:1px solid #cfd6dc;border-radius:8px;background:#fff}
.fld textarea{min-height:160px}
.fld .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fld .hint{font-size:12px;color:var(--sub);margin-top:6px}
.fld .err{font-size:13px;color:#d93025;margin-top:6px;font-weight:700}
.fld input.ng,.fld select.ng{border-color:#d93025;background-color:#fff6f5}
.fld select{appearance:none;-webkit-appearance:none;padding-right:44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d95d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center/16px no-repeat;cursor:pointer}
/* ボットよけの欄（人には見えない） */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.agree{margin:36px 0 0;text-align:center;font-size:14px}
.agree a{color:var(--blue);text-decoration:underline}
.agree label{display:inline-flex;gap:10px;align-items:center;font-weight:700;margin-top:12px;font-size:15px}
.agree input{width:20px;height:20px;accent-color:var(--blue)}
.agree .err{font-size:13px;color:#d93025;margin-top:8px;font-weight:700}
/* 確認画面へ・送信する：ホバーでグラデーションが流れる。入力画面に戻るは白いボタン（recruit.css） */
.submit{text-align:center;margin-top:28px}
.submit button{font:inherit;border:0;border-radius:999px;cursor:pointer;background:linear-gradient(110deg,#ffcb70 0%,#c751c0 25%,#4158d0 50%,#c751c0 75%,#ffcb70 100%) 0 50%/200% 100%;color:#fff;font-weight:700;font-size:17px;padding:18px 80px;letter-spacing:.1em;transition:background-position .6s cubic-bezier(.2,.7,.2,1)}
.submit button:not(.back):focus-visible{background-position:100% 50%}
@media (hover:hover){.submit button:not(.back):hover{background-position:100% 50%}}
.confirm-list{grid-template-columns:9em 1fr;margin:20px 0 32px}
.confirm-list dd{white-space:pre-wrap;word-break:break-word}
.two-btn{display:flex;gap:16px;justify-content:center}
.done-title{font-size:24px;margin-bottom:16px}
.entry-closed p+p{margin-top:8px}

@media (max-width:900px){
  .ph-head{padding:40px 0 52px}
  .ph-deco i{filter:blur(28px)}
  .ph-deco i:nth-child(1){width:240px;height:240px;right:-40px;top:-100px}
  .ph-deco i:nth-child(2){width:200px;height:200px;right:30%;bottom:-120px}
  .ph-deco i:nth-child(3){width:180px;height:180px;right:-60px;bottom:-80px}
  .crumb{margin-bottom:20px}
  .subnav .wrap{width:100%;display:grid;grid-template-columns:1fr 1fr;padding:0 20px}
  .subnav a{padding:14px 16px 12px;white-space:normal;border-left:0}
  .subnav a:first-child{border-right:1px solid var(--line)}
  .subnav a:last-child{border-right:0}
  .subnav a span{font-size:14px}
  .subnav a::after{left:16px;right:16px}
  .lsec{padding:64px 0}
  .lsec.first{padding-top:48px}
  .lsec.slim{padding-top:28px;padding-bottom:40px}
  .nh{gap:12px;margin-bottom:18px}
  .nh h2{font-size:20px}
  .row{grid-template-columns:1fr;gap:28px}
  .row .ph::before{right:-10px;bottom:-10px}
  /* 1列に並べ、カードは TOP と同じ写真が上・文字が下の形のまま */
  .cards3{grid-template-columns:1fr;gap:20px}
  .cards3 .card .body{padding:16px 18px 20px}
  .cards3 .card h3{font-size:15px}
  .sys2{grid-template-columns:1fr;gap:12px}
  .sy{padding:28px 24px 26px;grid-template-columns:1fr;justify-items:start}
  .sy .ttl{font-size:18px}
  .sy .ttl svg{width:64px;height:64px;padding:16px;border-radius:18px;margin-bottom:16px}
  .sy p{margin-top:14px;padding-top:14px;justify-self:stretch}
  .str4{margin-top:40px}
  .str4 .sy.no{grid-template-columns:1fr;padding-top:76px}
  .str4 .sy.no .ttl{font-size:18px}
  .str4 .sy.no .ttl .n{left:20px;top:22px;font-size:96px}
  .str4 .sy.wide{grid-template-columns:1fr}
  .str4 .sy.wide .ch.in{grid-column:1;grid-row:auto;margin:20px 0 0}
  .str4 .band-ph{aspect-ratio:3/2}
  .donut-w{flex-direction:column;align-items:stretch;gap:20px}
  .donut{margin:0 auto}
  .flow{grid-template-columns:1fr}
  .flow li{margin:0 0 28px}
  .flow li:last-child{margin-bottom:0}
  .flow li:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-22px;margin:0 0 0 -9px;border:9px solid transparent;border-top:12px solid #4158d0;border-bottom:0}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .st{padding:16px}
  .st b{font-size:32px}
  .gal{grid-template-columns:1fr 1fr;grid-template-rows:180px 110px 110px}
  .gal i:first-child{grid-column:span 2;grid-row:auto}
  .jobs2{grid-template-columns:1fr;gap:12px}
  .job{padding:20px}
  .job b{font-size:17px}
  .jhead{grid-template-columns:1fr;gap:20px}
  .jhead h1{font-size:24px}
  .jhead.in{margin-bottom:28px;padding-bottom:24px}
  .apply{width:100%}
  .form{padding:28px 18px}
  .chosen{grid-template-columns:1fr;gap:8px;padding:18px}
  .chosen .tlink{justify-self:start;margin-top:4px}
  .fld{grid-template-columns:1fr;gap:8px;padding:16px 0}
  .fld label{padding-top:0}
  .submit button{width:100%;padding:16px 0}
  .confirm-list{grid-template-columns:1fr}
  .confirm-list dt{border-bottom:0;padding-bottom:0}
  .two-btn{flex-direction:column-reverse}
}

/* 研修・福利厚生の見出し：日本語を大きく中央に置き、後ろに手書き風の英字を淡い青で重ねる（日本語の頭より少し左から、上の端に少しかかる） */
.tr-h{display:block}
.tr-h h2{display:table;position:relative;isolation:isolate;margin-left:auto;margin-right:auto;font-size:32px;font-weight:700;line-height:1.5;letter-spacing:.06em;padding-top:.5em}
.tr-h h2 small{position:absolute;left:-.7em;top:-.1em;z-index:-1;padding-right:.3em;font-family:"Caveat",cursive;font-weight:400;font-size:40px;line-height:1;letter-spacing:0;white-space:nowrap;color:var(--blue);opacity:.28;transform:rotate(-5deg);transform-origin:left bottom}
.tr-h+.lead{text-align:left;max-width:720px;margin-left:auto;margin-right:auto}
/* 写真と文章の段では、見出しを文章の側に左寄せで置く */
.tr-h.l h2{margin-left:0;margin-right:0}
.row .tx .tr-h.l{margin-bottom:20px}
.pls.c{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 36px;margin-top:36px}
/* 研修：中途入社の方のリスト */
.mid-in{max-width:900px;margin:56px auto 0;background:#f4f9fc;border-radius:16px;padding:28px 34px;display:grid;grid-template-columns:auto 1fr;gap:12px 36px;align-items:start}
.mid-h{font-size:18px;line-height:1.6;padding-top:4px}
.mid-in ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.mid-in li{display:grid;grid-template-columns:7.5em 1fr;gap:14px;align-items:baseline;font-size:15px;line-height:1.8;padding-bottom:12px;border-bottom:1px dashed #d4e2ee}
.mid-in li:last-child{border-bottom:0;padding-bottom:0}
.mid-in li span{justify-self:start;font-size:12px;font-weight:700;color:var(--blue-d);background:#fff;border-radius:999px;padding:3px 12px;white-space:nowrap}
@media (max-width:900px){
  .tr-h h2{font-size:24px}
  .tr-h h2 small{font-size:30px}
  .tr-h.l h2{margin-left:.6em} /* 手書きの英字が左にはみ出して切れないように */
  .mid-in{grid-template-columns:1fr;padding:22px 20px;margin-top:40px}
  .mid-in li{grid-template-columns:1fr;gap:6px}
}

/* 研修の流れ（ol.flow.road）：左に時期、まん中にイラストの丸と縦の線、右に STEP・題名・説明。スマホは時期を説明の上に
 * 線は丸の中心を通し、最後の丸より下は白で隠して止める */
.flow.road{--w:150px;--cg:36px;--c:120px;position:relative;grid-template-columns:1fr;gap:72px;max-width:1000px;margin:56px auto 0;padding:0}
.flow.road::before{content:"";position:absolute;left:calc(var(--w) + var(--cg) + var(--c) / 2 - 3px);right:auto;top:calc(var(--c) / 2);bottom:0;width:6px;height:auto;border-radius:3px;background:linear-gradient(#6fc3f2,#a6e6d6 50%,#e9f69e)}
.flow.road li{position:relative;margin:0;padding:0;background:none;box-shadow:none;display:grid;grid-template-columns:var(--w) var(--c) 1fr;column-gap:var(--cg);align-content:start;align-items:flex-start}
.flow.road li>*{grid-column:3}
/* 丸のイラスト（1 外部研修：講師とボード／2 社内研修：本／3 OJT：2人とPC／4 キャリア：階段と旗） */
.flow.road li::before{content:"";order:-1;grid-column:2;grid-row:1/5;align-self:start;width:var(--c);height:var(--c);margin:0;border-radius:50%;background:var(--ic) center/62px no-repeat,#fff;box-shadow:0 0 0 6px #fff,0 0 0 9px #a6e6d6,0 16px 30px -16px rgba(10,60,110,.5);position:relative;z-index:1}
.flow.road li:nth-child(1){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231d95d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='8' width='26' height='18' rx='2'/%3E%3Cpath d='M11 15h10M11 20h14'/%3E%3Ccircle cx='38' cy='17' r='4'/%3E%3Cpath d='M31 40v-9a7 7 0 0 1 14 0v9'/%3E%3Cpath d='M32 26l-5-3'/%3E%3Cpath d='M19 26v8M13 40l6-6 6 6'/%3E%3C/svg%3E")}
.flow.road li:nth-child(2){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231d95d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12a5 5 0 0 1 5 5v21a4 4 0 0 0-4-4H6z'/%3E%3Cpath d='M42 12H30a5 5 0 0 0-5 5v21a4 4 0 0 1 4-4h13z'/%3E%3Cpath d='M11 19h7M11 25h7M31 19h6M31 25h6'/%3E%3C/svg%3E")}
.flow.road li:nth-child(3){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231d95d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='13' r='5'/%3E%3Ccircle cx='34' cy='13' r='5'/%3E%3Cpath d='M5 32a9 9 0 0 1 18 0'/%3E%3Cpath d='M25 32a9 9 0 0 1 18 0'/%3E%3Crect x='14' y='30' width='20' height='11' rx='1.5'/%3E%3Cpath d='M10 41h28'/%3E%3C/svg%3E")}
.flow.road li:nth-child(4){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231d95d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 41h9v-8h9v-8h9v-8h9v24z'/%3E%3Cpath d='M36 17V5'/%3E%3Cpath d='M36 5l8 3-8 3'/%3E%3C/svg%3E")}
.flow.road li::after{display:none}
.flow.road li:last-child::after{display:block;content:"";position:absolute;left:calc(var(--w) + var(--cg) + var(--c) / 2 - 6px);width:12px;top:calc(var(--c) / 2);bottom:0;background:#fff}
/* 時期：丸の中心の高さに、丸を指す小さな三角つきのラベル */
.flow.road .when{grid-column:1;grid-row:1/5;order:0;position:relative;align-self:start;justify-self:end;margin:calc(var(--c) / 2 - 16px) 0 0;height:32px;line-height:32px;padding:0 16px;border-radius:999px;background:#e4f3fc;color:var(--blue-d);font-size:13px;font-weight:700;letter-spacing:.04em;white-space:nowrap}
.flow.road .when::after{content:"";position:absolute;left:100%;top:50%;margin:-6px 0 0;border:6px solid transparent;border-left-color:#e4f3fc;border-right:0}
/* 文が丸より低いときは丸の中心にそろえ、高いときは丸の上からはじまる */
.flow.road .st-tx{grid-row:1/5;align-self:center}
.flow.road .st-tx small{display:block}
.flow.road .st-tx p+p{margin-top:12px}
.flow.road small{font-size:13px;margin-top:0;line-height:1}
.flow.road b{font-size:21px;margin:6px 0 10px}
.flow.road p{font-size:15px;line-height:1.9}
.road-after{max-width:720px;margin:56px auto 0;font-size:15px;line-height:1.95;color:var(--sub)}
.road-after p+p{margin-top:1em}
@media (max-width:900px){
  .flow.road{--c:80px;margin-top:32px;gap:48px}
  .flow.road::before{left:calc(var(--c) / 2 - 3px)}
  .flow.road li{grid-template-columns:var(--c) 1fr;column-gap:16px}
  .flow.road li>*{grid-column:2}
  .flow.road li::before{grid-column:1;background-size:42px,auto}
  .flow.road li:last-child::after{left:calc(var(--c) / 2 - 6px)}
  /* 時期の上を、丸の外側の緑の輪の上にそろえる */
  .flow.road .when{grid-column:2;grid-row:auto;align-self:auto;justify-self:start;margin:-9px 0 14px -10px;height:26px;line-height:26px;padding:0 12px;font-size:12px}
  .flow.road .when::after{display:none}
  .flow.road .st-tx{grid-row:auto;align-self:start}
  .road-after{margin-top:40px;font-size:14px}
}
