/* 応募者向けページ（申し込み・日程調整・店舗選び・個人情報）
   採用LP（doteppan-recruit.pages.dev/baito）と同じ見た目：墨の地・生成りの文字・明朝の見出し・朱は押すボタンと選んでいるものだけ
   余白：4・8・16・24・32　／　角の丸み：4px　／　影なし */
:root {
  /* 2026-11-13 採用LP（PIECE COMPANY DECK のトンマナ）にそろえて白地に */
  --bg:#ffffff; --paper:#EEEAE5; --field:#ffffff; --line:#e3ded7;
  --ink:#2a2420; --ink2:#5e554d; --muted:#9a9087;
  --shu:#C8402F; --shu-d:#b03626; --r:4px;
  --serif:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  --sans:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  /* 旧い名前 */
  --sumi:var(--ink); --blue:var(--shu); --blue-d:var(--shu-d); --blue-l:var(--paper); --red:var(--shu); --red-l:var(--paper); --green:var(--ink); --ai:var(--ink);
}
* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body { background:var(--bg); color:var(--ink); font-family:var(--sans); font-size:16px; line-height:1.8; letter-spacing:.02em; -webkit-font-smoothing:antialiased; }
button, input, select, textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
a { color:var(--ink); }
.hidden { display:none !important; }

/* ヘッダー */
.hd { position:sticky; top:0; z-index:5; background:#fffffff2; border-bottom:1px solid var(--line); color:var(--ink); padding:16px; font-family:var(--serif); font-weight:900; font-size:16px; text-align:left; }
.hd small { display:block; font-family:var(--sans); font-weight:500; font-size:12px; color:var(--muted); letter-spacing:.08em; }

/* 日程調整などのページ（チャット風はやめて、上から順に読むページ） */
.chat { max-width:560px; margin:0 auto; padding:24px 16px 96px; }
.msg { margin:24px 0 8px; animation:pop .2s ease-out; }
@keyframes pop { from { opacity:0; transform:translateY(4px) } to { opacity:1; transform:none } }
.msg .av { display:none; }
.msg .bb { white-space:pre-wrap; font-size:16px; color:var(--ink); }
.msg.me { margin:8px 0 0; }
.msg.me .bb { display:inline-block; font-size:13px; color:var(--ink2); border:1px solid var(--line); border-radius:var(--r); padding:4px 16px; }
.msg.me .bb::before { content:"選択："; color:var(--muted); }
.panel { background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:24px 16px; margin:16px 0; }
.panel h4 { margin:0 0 16px; font-family:var(--serif); font-size:17px; color:var(--ink); }
.days { display:flex; gap:8px; overflow-x:auto; padding:0 0 8px; }
.day { flex:0 0 auto; min-width:64px; padding:8px 4px; border:1px solid var(--line); border-radius:var(--r); background:var(--field); text-align:center; line-height:1.3; }
.day .m { font-size:11px; color:var(--muted); } .day .d { font-size:20px; font-weight:700; } .day .w { font-size:11px; color:var(--muted); }
.day.on { border-color:var(--shu); background:var(--shu); color:#fff; }
.day.on .m, .day.on .w, .day.on .n { color:#fff; }
.day .n { display:block; font-size:11px; color:var(--ink2); font-weight:700; }
.times { display:grid; grid-template-columns:repeat(auto-fill, minmax(88px, 1fr)); gap:8px; margin-top:16px; }
.time { padding:16px 4px; border:1px solid var(--line); border-radius:var(--r); background:var(--field); font-weight:700; font-size:15px; }
.time.on { border-color:var(--shu); background:var(--shu); color:#fff; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:16px 24px; border-radius:var(--r); background:var(--shu); color:#fff; font-weight:700; font-size:16px; border:1px solid transparent; text-decoration:none; }
.btn:hover { background:var(--shu-d); }
.btn:disabled { opacity:.4; cursor:default; }
.btn.block { width:100%; }
.btn.line, .btn.gray { background:transparent; color:var(--ink); border-color:var(--muted); }
.btn.red { background:transparent; color:var(--ink); border-color:var(--shu); }
.choices { display:flex; flex-direction:column; gap:8px; margin:16px 0; }
.field { display:block; margin-top:24px; }
.field > span { display:block; font-size:13px; font-weight:700; color:var(--ink2); margin-bottom:8px; }
.field > span i { font-style:normal; color:var(--shu-d); font-size:11px; margin-left:8px; }
.input { width:100%; padding:16px; border:1px solid var(--line); border-radius:var(--r); background:var(--field); font-size:16px; color:var(--ink); }
.input::placeholder { color:#b3aaa0; }
.input:focus { outline:none; border-color:var(--ink); }
select.input { appearance:none; }
.info { display:grid; grid-template-columns:5em 1fr; gap:8px; font-size:15px; margin:0; }
.info dt { color:var(--muted); font-weight:700; } .info dd { margin:0; white-space:pre-wrap; }
.picked { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.picked span { background:var(--field); color:var(--ink); border:1px solid var(--line); border-radius:var(--r); padding:4px 8px; font-size:13px; font-weight:700; }
.err { background:transparent; border:1px solid var(--shu-d); color:var(--shu-d); border-radius:var(--r); padding:8px 16px; font-size:14px; margin:16px 0 0; }
.link { background:none; border:none; color:var(--ink2); text-decoration:underline; padding:8px 0; font-size:14px; }
.foot { text-align:center; font-size:12px; color:var(--muted); margin-top:32px; }
.foot a { color:var(--muted); }
input[type=checkbox], input[type=radio] { accent-color:var(--shu); }

/* SNS・自社サイトから来た人の申し込みページ（/r/<slug>?src=instagram|x|site） */
.lp { max-width:640px; margin:0 auto; padding:0 0 96px; }
.lp-hero { position:relative; min-height:72svh; display:flex; align-items:flex-end; overflow:hidden; }
.lp-hero .ph { position:absolute; inset:0; background-size:cover; background-position:center; }
.lp-hero { color:#fff; }
.lp-hero::after { content:""; position:absolute; inset:0; background:#14110eb8; }
.lp-in { position:relative; z-index:2; width:100%; padding:96px 24px 40px; }
.lp-eye { font-size:14px; font-weight:700; color:var(--ink2); }
.lp h1 { font-family:var(--serif); font-weight:900; font-size:clamp(36px,10vw,52px); line-height:1.3; margin:16px 0 8px; letter-spacing:.04em; }
.lp-feat { margin:0 0 24px; font-size:16px; font-weight:500; line-height:1.75; }
.lp-wage { display:flex; align-items:baseline; gap:8px; }
.lp-wage span { font-size:14px; font-weight:700; color:var(--ink2); }
.lp-wage b { font-family:var(--serif); font-weight:900; font-size:clamp(40px,12vw,56px); line-height:1.1; }
.lp-wnote { font-size:14px; font-weight:700; color:var(--ink2); margin-top:4px; }
.lp-tags { display:flex; flex-wrap:wrap; gap:4px 16px; margin:16px 0 32px; font-size:14px; font-weight:700; color:var(--ink2); }
.lp-go, .lp-bar .btn, .lp-submit { font-size:17px; padding:16px; }
.lp-sub { font-size:13px; color:var(--ink2); text-align:center; margin-top:8px; }
.lp-sec { padding:64px 24px; border-top:1px solid var(--line); }
.lp-sec.alt { background:var(--paper); }
.lp-en { display:block; font-size:11px; font-weight:700; color:var(--shu); letter-spacing:.06em; margin-top:4px; line-height:1.6; }
.lp-sec h2 { font-family:var(--serif); font-weight:900; padding-right:48px; letter-spacing:.04em; font-size:clamp(24px,6.4vw,30px); line-height:1.45; margin:0 0 24px; }
.lp-dl { display:grid; grid-template-columns:5em 1fr; margin:0; font-size:15.5px; }
.lp-dl dt, .lp-dl dd { padding:16px 0; border-top:1px solid var(--line); }
.lp-dl dt { color:var(--muted); font-weight:700; } .lp-dl dd { margin:0; white-space:pre-wrap; }
.lp-dl small { display:block; color:var(--muted); font-size:13px; }
.lp-steps { list-style:none; margin:0; padding:0; counter-reset:st; }
.lp-steps li { counter-increment:st; display:grid; grid-template-columns:32px 1fr; padding:16px 0; border-top:1px solid var(--line); }
.lp-steps li::before { content:counter(st); grid-row:1 / span 2; font-family:var(--serif); font-weight:700; font-size:18px; line-height:1.5; }
.lp-steps li em { display:none; }
.lp-steps b { grid-column:2; display:block; font-size:16px; line-height:1.5; } .lp-steps span { grid-column:2; font-size:14px; color:var(--ink2); line-height:1.7; margin-top:4px; }
.lp-pick { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.lp-pick button, .lp-occ button { background:var(--field); border:1px solid var(--line); border-radius:var(--r); padding:16px 8px; text-align:center; line-height:1.4; }
.lp-pick b { display:block; font-size:16px; } .lp-pick small { display:block; font-size:12px; color:var(--muted); margin-top:4px; }
.lp-occ { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lp-occ button { font-size:14px; font-weight:700; }
.lp-occ.lp-3 { grid-template-columns:repeat(3, 1fr); }
textarea.input { resize:vertical; min-height:96px; line-height:1.7; }
.lp-pick button.on, .lp-occ button.on { border-color:var(--shu); background:var(--shu); color:#fff; }
.lp-pick button.on small { color:#fff; }
.lp-submit { margin-top:32px; }
.lp-note { font-size:12px; color:var(--muted); line-height:1.7; margin:16px 0 0; }
.lp-note a { color:var(--ink2); }
.lp-more { display:block; text-align:center; margin-top:32px; font-size:14px; color:var(--ink2); }
.lp-bar { position:fixed; left:0; right:0; bottom:0; padding:8px 16px calc(8px + env(safe-area-inset-bottom)); background:#fffffff2; border-top:1px solid var(--line); z-index:10; transition:transform .2s; }
.lp-bar .btn { max-width:528px; margin:0 auto; display:flex; }
.lp-bar.off { transform:translateY(110%); }
.lp-txt { font-size:15.5px; line-height:1.9; margin:0 0 16px; }
.lp-txt.lp-small { font-size:14px; color:var(--ink2); margin:24px 0 0; }
.lp-vision { font-size:14px; font-weight:700; color:var(--ink2); margin:24px 0 0; padding-top:16px; border-top:1px solid var(--line); }
.lp-dl.lp-dl-w { grid-template-columns:7.5em 1fr; }

/* 2026-11-13 白地にしたときの調整（採用LPと同じ見え方に） */
.lp-hero .lp-eye, .lp-hero .lp-tags, .lp-hero .lp-wnote, .lp-hero .lp-wage span, .lp-hero .lp-sub { color:#ffffffcc; }
.lp-sec { position:relative; }
.lp-sec::before { content:""; position:absolute; top:64px; right:24px; width:32px; height:32px; background:url(/mark.png) center/contain no-repeat; opacity:.9; }
.lp-sec.alt .input, .lp-sec.alt .lp-pick button, .lp-sec.alt .lp-occ button { background:#fff; }
.lp-dl dt, .lp-dl dd, .lp-steps li { border-top-color:#d6d0c7; }
.lp-steps li::before { color:var(--shu); font-weight:900; }
.lp-more { color:var(--shu); font-weight:700; text-decoration:none; }
.day, .time { background:#fff; }
.panel h4 { font-weight:900; }

/* 2026-11-13 希望日：日ごとに「何時から〜何時まで」 */
.wish-help { margin:8px 0 0; font-size:13px; color:var(--muted); line-height:1.7; }
.wish-list { flex-direction:column; align-items:stretch; }
.wish-list span b { font-weight:700; } .wish-list span small { display:block; font-size:12px; color:var(--muted); font-weight:500; }
.wish-list span { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 8px 8px 16px; font-size:14px; }
.wish-list .x { flex:none; white-space:nowrap; background:none; border:1px solid var(--line); border-radius:var(--r); padding:4px 8px; font-size:12px; color:var(--muted); }
.day .n { font-size:10px; }

/* 2026-11-14 カレンダー登録 */
.cal-add { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.cal-h { font-size:13px; color:var(--muted); font-weight:700; margin-bottom:8px; }
.cal-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.cal-row .btn { padding:12px 8px; font-size:14px; white-space:nowrap; }
