/* 申込ページ（/apply/）と入口の「ようこそ」が同じ物を読む（2026-11-14）。帯・題・1行・段・見本を同じ場所・同じ大きさにする。 */
@font-face{font-family:apply-ion;src:url('demo/vendor/fonts/ionicons.ttf') format('truetype');font-display:block}
.apply-shell{box-sizing:border-box;width:100%;padding:14px clamp(18px,4vw,64px) 20px;color:#0e3a47;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP","Yu Gothic UI",Meiryo,sans-serif;line-height:1.5}
.apply-shell *,.apply-shell *:before,.apply-shell *:after{box-sizing:border-box}
/* 受付が閉じている間の帯：いまは流れを試している、をこの1か所だけで伝える */
.apply-band{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin:0 0 8px;padding:6px 8px 6px 14px;border:1px solid #c6e5ee;border-radius:10px;background:#e8f6fa;color:#1d4c5a;font-size:13px;line-height:20px}
.apply-band>span{min-width:0}
.apply-band .apply-restart{flex:none;min-height:26px;height:26px;padding:0 12px;border:1px solid #b0dae5;border-radius:8px;background:linear-gradient(#fff,#eef7fa);color:#0e3a47;font:inherit;font-size:12px;line-height:24px;box-shadow:0 1px 2px #1545541a;cursor:pointer;transition:transform .14s,box-shadow .14s}
.apply-band .apply-restart:active{transform:translateY(1px);box-shadow:none}
.apply-shell .apply-main{min-width:0}
.apply-shell .apply-main>header{display:flex;align-items:center;height:48px;margin:0;gap:12px}
.apply-shell .apply-main>header img{display:block;height:44px;width:auto;max-width:60%}
.apply-shell .heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;min-height:52px;margin:2px 0 0;padding:0}
.apply-shell .heading h1{margin:0;font-size:28px;line-height:40px;font-weight:700;color:#0e3a47}
.apply-shell .heading h1 .phrase{display:inline-block}
.apply-shell .heading h1:focus{outline:none}
.apply-shell .free{display:inline-block;padding:4px 14px;border-radius:20px;background:#d8f0f7;font-size:14px;line-height:22px;font-weight:700;color:#0e3a47}
.apply-shell .apply-lead{margin:0 0 6px;min-height:24px;font-size:15px;line-height:24px;color:#285464}
/* 段の帯（4つ）。どの段でも同じ場所・同じ大きさ。4の下に「掲載が始まります」 */
.apply-shell .apply-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;list-style:none}
.apply-shell .apply-steps li{display:flex;align-items:center;gap:9px;min-width:0;height:56px;padding:0 0 6px;border-bottom:3px solid #d9e8ec;color:#637c82;font-size:14px;line-height:20px}
.apply-shell .apply-step-no{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#e1edf0;font-weight:700;transition:background .24s,color .24s}
.apply-shell .apply-step-text{display:flex;flex-direction:column;min-width:0}
.apply-shell .apply-step-text small{font-size:11px;line-height:16px;color:#4d6a74;font-weight:400}
.apply-shell .apply-steps li[aria-current]{color:#0e3a47;font-weight:700;border-color:#2fa8ce}
.apply-shell .apply-steps li[aria-current] .apply-step-no{background:#2fa8ce;color:#fff}
.apply-shell .apply-steps li.is-done{border-color:#8ed1e4;color:#285464}
.apply-shell .apply-steps li.is-done .apply-step-no{background:#d6edf4;color:#0e627c}
.apply-shell .apply-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:start}
/* 見本：同じ部品・同じ大きさ。いつも1画面に全部（大きさは preview.mjs の fitListingPreview が決める） */
.apply-shell .apply-preview{position:sticky;top:20px;display:grid;justify-items:center;align-content:start;gap:12px;min-width:0}
.apply-shell .apply-preview .u-ion{font-family:apply-ion!important}
.apply-shell .apply-preview h2{margin:0;font-size:16px;line-height:24px;color:#285464}
.apply-shell .apply-phone{position:relative;display:block;width:max-content;height:auto;max-width:100%}
.apply-shell .apply-phone .us-fit{position:relative}
.apply-shell .apply-phone.is-arriving{animation:apply-phone-in .28s ease-out}
@keyframes apply-phone-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.apply-shell .apply-phone.is-arriving{animation:none}}
.apply-shell .apply-preview .us-under18{color:var(--us-sub)}
.apply-shell .apply-preview .apply-later{display:block;width:fit-content;padding:0 9px;border:1px dashed #b5d2da;border-radius:10px;font-size:11px;line-height:18px;color:var(--us-sub,#6b8a94)}
.apply-shell .apply-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:330px;min-height:36px}
.apply-shell .apply-preview-head h2{font-size:14px;line-height:20px}

@keyframes apply-shell-in{from{opacity:.6;transform:translateX(14px)}to{opacity:1;transform:none}}
/* 2列：左にロゴ・題・1行・段・札、右に見本（帯のすぐ下からページの下まで・右の列のまん中） */
@media(min-width:1024px){.apply-band{height:40px;max-width:1060px;margin-inline:auto}.apply-shell .apply-layout{grid-template-columns:minmax(0,1fr) 372px;gap:clamp(28px,3.5vw,56px);max-width:1060px;margin-inline:auto}.apply-shell .apply-main header{height:48px}.apply-shell .apply-main header img{max-width:none;width:190px;height:auto}.apply-shell .heading{flex-wrap:nowrap;height:52px;margin:0}.apply-shell .apply-lead{font-size:14px;line-height:22px;min-height:22px;margin-bottom:8px}.apply-shell .apply-preview{top:14px}}
@media(max-width:1023px){.apply-shell .apply-preview{position:static;padding-top:10px}.apply-shell .apply-steps{gap:6px}.apply-shell .apply-steps li{gap:5px;font-size:12px}}
@media(max-width:560px){.apply-shell{padding:12px 14px 18px}.apply-band{align-items:flex-start;font-size:12px;line-height:18px}.apply-shell .heading h1{font-size:23px;line-height:34px}.apply-shell .apply-lead{font-size:14px;line-height:22px}.apply-shell .apply-steps li{flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;height:74px;text-align:center;font-size:12px;line-height:16px}.apply-shell .apply-step-text{align-items:center}.apply-shell .apply-step-text small{font-size:10px;line-height:13px}.apply-shell .apply-step-no{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.apply-band .apply-restart,.apply-shell .apply-step-no{transition:none}}

/* 入口の「ようこそ」：左の札（申込の札と同じ場所）＋右の見本 */
.apply-welcome{min-height:100dvh;background:linear-gradient(145deg,#effbfe,#fff 68%);animation:apply-welcome-in .3s ease-out}
.apply-welcome-card{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(20px,2.4vw,34px);border:1px solid #cae4eb;border-radius:24px;background:linear-gradient(145deg,#fff,#f9fdff);box-shadow:0 7px 22px #174e6010}
.apply-welcome-mark{display:grid;place-items:center;width:54px;height:54px;margin-bottom:18px;border-radius:50%;background:linear-gradient(#d5f2f9,#abe4f1);color:#0c6278;font-size:28px;font-weight:700}
.apply-welcome-shop{margin:0 0 4px;font-size:22px;line-height:32px;font-weight:700;overflow-wrap:anywhere}
.apply-welcome-place{margin:0;font-size:15px;line-height:24px;color:#285464;overflow-wrap:anywhere}
.apply-welcome-note[hidden]{display:none}
.apply-welcome-note{display:inline-block;margin:14px 0 0;padding:8px 14px;border-radius:10px;background:#ecf7fa;font-size:13px}
.apply-welcome-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:28px}
.apply-welcome-actions button{width:auto;min-width:220px;min-height:50px;padding:10px 22px;border:1px solid #bbdce5;border-radius:14px;background:linear-gradient(#fff,#f1f7f9);color:#0e3a47;font:inherit;font-weight:700;box-shadow:0 3px 6px #123b471c;cursor:pointer;transition:transform .15s,box-shadow .15s}
.apply-welcome-actions .primary{background:linear-gradient(#3bb3d6,#1f8db2);border-color:#1b85a8;color:#fff;text-shadow:0 1px 1px #0b4a5e55}
.apply-welcome-actions button:active{transform:translateY(2px);box-shadow:0 1px 2px #123b4726}
.apply-welcome-error{min-height:24px;margin:10px 0 0;color:#a02539}
.apply-welcome-error:empty{background:none;padding:0}
@keyframes apply-welcome-in{from{opacity:.3;transform:translateX(18px)}to{opacity:1;transform:none}}
@media(max-width:560px){.apply-welcome-actions{display:grid;width:100%}.apply-welcome-actions button{width:100%;min-width:0}.apply-welcome-card{padding:24px 18px;min-height:0}}
@media(prefers-reduced-motion:reduce){.apply-welcome{animation:none}.apply-welcome-actions button{transition:none}}
.apply-resume{padding:16px;margin-bottom:20px;border:1px solid #a8d9e5;border-radius:18px;background:linear-gradient(145deg,#f7fcfd,#eaf6f9)}
.apply-resume h2{margin:0 0 8px;font-size:18px}.apply-resume p{overflow-wrap:anywhere}.auth-layout .apply-resume button.primary{width:100%;min-width:0;background:linear-gradient(#60c5df,#2c9fbf);border-color:#2998b7;color:#fff;box-shadow:0 3px 6px #123b471c;transition:transform .15s,box-shadow .15s,filter .15s}
.auth-layout .apply-resume button.primary:hover:not(:disabled):not([aria-disabled="true"]):not([inert]):not([inert] *){background:linear-gradient(#60c5df,#2c9fbf);border-color:#2998b7;box-shadow:0 4px 8px #123b4726}
.auth-layout .apply-resume button.primary:active:not(:disabled):not([aria-disabled="true"]):not([inert]):not([inert] *){transform:var(--u-press,translateY(2px));box-shadow:0 1px 2px #123b4726}
.auth-layout .apply-resume button.primary:disabled{box-shadow:none}
@media(prefers-reduced-motion:reduce){.auth-layout .apply-resume button.primary{transition:none}.auth-layout .apply-resume button.primary:active:not(:disabled):not([aria-disabled="true"]):not([inert]):not([inert] *){transform:none}}
/* 1366×768 でもページが送られない（下の運営の名前まで1画面） */
@media(min-width:1024px) and (max-height:850px){.apply-shell{padding-bottom:8px}}
