/* ラーメン ユキノメ（デモ）アルバイト募集とお給料の目安 */
/* 共通部品（TENKA LAB バー・ヘッダー・フッター・ボタン・固定バー・よくある質問・応募の箱）は、これまでの LP のデモと同じクラス名と作り */
:root {
  --c-base: #FAF7F2;
  --c-surface: #FFFFFF;
  --c-soft: #F2EDE6;
  --c-pick: #FAF0E4;
  --c-main: #7A3419;
  --c-accent: #2B6A3C;
  --c-accent-dark: #1F5530;
  --c-text: #2B2521;
  --c-sub: #625A54;
  --c-line: #E2DAD0;

  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  --font-head: var(--font-body);

  --pad-x: 16px;
  --gap-sec: 64px;
  --pad-card: 16px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  /* 日本語の文を語のまとまりで折り返す（対応しない端末はふつうの折り返し） */
  word-break: auto-phrase;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--c-main); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
/* 文の中のリンク：行の高さは変えずに、押せる範囲だけ上下に広げる（48px） */
.inline-link { padding: 15px 0; font-weight: 700; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-main); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad-x); }
.nw { white-space: nowrap; }
svg { flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[tabindex="-1"]:focus { outline: none; }
[tabindex="-1"]:focus-visible { outline: 3px solid var(--c-main); }
.sec__title, .hero h1, .pay-out__title { scroll-margin-top: 24px; }
p, li, dd, summary { text-wrap: pretty; }

/* ---------- TENKA LAB バー（作品例・デモ 共通） ---------- */
.tl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px; padding: 8px 16px; background: #1B2A41; color: #FFFFFF;
  font-family: var(--font-body); font-size: 13px; line-height: 1.5; letter-spacing: .04em;
}
.tl-bar__text { margin: 0; }
.tl-bar strong { font-weight: 700; }
.tl-bar__back {
  flex: none; position: relative; color: #FFFFFF; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.tl-bar__back:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.tl-bar__back::before { content: ""; position: absolute; inset: -15px -8px; }
.tl-bar__back::after { content: "→"; margin-left: 4px; }
.tl-bar__back:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
@media (min-width: 768px) { .tl-bar { padding: 8px 32px; } }

/* ---------- ボタン ---------- */
.btn-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 28px;
  background: var(--c-accent); color: #FFFFFF; font-size: 16px; font-weight: 700; line-height: 1.3;
  text-decoration: none; text-align: center;
}
.btn-main:hover, .btn-main:active { background: var(--c-accent-dark); color: #FFFFFF; }
.btn-sub {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 2px solid var(--c-main); border-radius: 24px;
  background: #FFFFFF; color: var(--c-main); font-size: 16px; font-weight: 700; line-height: 1.3;
  text-decoration: none; text-align: center;
}
.btn-sub:hover { background: var(--c-soft); }
.btn-text {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 64px; padding: 0 4px;
  border: 0; background: none; color: var(--c-main); font-size: 15px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-text:hover { text-decoration-thickness: 2px; }
.btn-sm {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  min-height: 48px; padding: 4px 16px; border: 1.5px solid var(--c-main); border-radius: 24px;
  background: #FFFFFF; color: var(--c-main); font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center;
}
.btn-sm:hover { background: var(--c-soft); }

/* ---------- ヘッダー（メニューなし） ---------- */
.hd { background: #FFFFFF; border-bottom: 1px solid var(--c-line); position: relative; z-index: 20; }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.hd__logo {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 48px; min-width: 0;
  color: var(--c-main); text-decoration: none;
}
.hd__name { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: .08em; white-space: nowrap; }
.hd__demo {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px;
  background: var(--c-text); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.hd__price { display: none; color: var(--c-sub); font-size: 14px; line-height: 1.4; text-align: right; }

/* ---------- ブロック ---------- */
.sec { padding: var(--gap-sec) 0; }
.sec--band { background: var(--c-soft); }
.sec--line { border-top: 1px solid var(--c-line); }
.sec--pay { border-top: 1px solid var(--c-line); }
.sec__en { color: var(--c-sub); font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; }
.sec__title { margin-top: 8px; font-family: var(--font-head); color: var(--c-main); font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.sec__lead { margin-top: 16px; color: var(--c-sub); font-size: 16px; line-height: 1.8; max-width: 40em; }
.sec__title + :not(.sec__lead), .sec__lead + * { margin-top: 32px; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
h4 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.note { margin-top: 16px; color: var(--c-sub); font-size: 14px; line-height: 1.7; max-width: 40em; }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--pad-card); }

/* ---------- ファーストビュー ---------- */
.hero { padding: 40px 0 64px; }
.hero__tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; margin-bottom: 16px;
  border: 1px solid var(--c-sub); border-radius: 14px; background: #FFFFFF; color: var(--c-text);
  font-size: 13px; font-weight: 700; line-height: 1.4;
}
.hero__kind { margin-bottom: 8px; color: var(--c-sub); font-size: 14px; font-weight: 700; line-height: 1.5; }
.hero h1 { font-family: var(--font-head); color: var(--c-main); font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.hero__lead { margin-top: 16px; font-size: 16px; line-height: 1.9; max-width: 40em; }
.hero__wages { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
.hero__wages li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  background: #FFFFFF; border: 1.5px solid var(--c-main); border-radius: 20px;
  color: var(--c-text); font-size: 15px; font-weight: 700; line-height: 1.4;
}
.hero__act { display: grid; gap: 12px; margin-top: 32px; }
.hero__btn, .hero__btn2 { width: 100%; }
.hero__note { margin-top: 8px; color: var(--c-sub); font-size: 14px; line-height: 1.7; }
.hero__art { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 3; margin: 32px auto 0; }
.snow { animation: snow 5s ease-in-out infinite alternate; }
@keyframes snow { from { opacity: .6; } to { opacity: 1; } }
.steam { animation: steam 6s ease-in-out infinite alternate; }
@keyframes steam { from { transform: translateY(0); } to { transform: translateY(-4px); } }

/* ---------- こんな方に・働きやすさ ---------- */
.fors, .points, .voices { display: grid; gap: 12px; }
.fors > li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 20px; }
.fors__ic {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px;
  border-radius: 50%; background: var(--c-pick); color: var(--c-main);
}
.fors p { margin-top: 8px; font-size: 15px; line-height: 1.8; }
.point-block { margin-top: 64px; }
.points > li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 20px; }
.points__n {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 12px;
  border-radius: 50%; background: var(--c-main); color: #FFFFFF; font-size: 15px; font-weight: 700; line-height: 1;
}
.points p { margin-top: 8px; }

/* ---------- 募集の内容 ---------- */
.job {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #FFFFFF;
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.job th, .job td { padding: 12px 16px; vertical-align: top; text-align: left; line-height: 1.7; }
.job tr + tr th, .job tr + tr td { border-top: 1px solid var(--c-line); }
.job th { width: 96px; word-break: keep-all; overflow-wrap: normal; background: var(--c-soft); color: var(--c-text); font-size: 15px; font-weight: 700; }
.job td { font-size: 15px; }

/* ---------- 1日の流れ ---------- */
.days { display: grid; gap: 16px; }
.day h3 { color: var(--c-text); }
.day-flow { margin-top: 16px; display: grid; gap: 16px; }
.day-flow li { position: relative; display: grid; grid-template-columns: 72px 12px minmax(0, 1fr); column-gap: 12px; }
.day-flow__t { color: var(--c-main); font-size: 16px; font-weight: 700; line-height: 1.5; }
.day-flow li::before {
  content: ""; grid-column: 2; grid-row: 1; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--c-main);
}
.day-flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 89px; top: 18px; bottom: -22px; width: 2px; background: var(--c-line);
}
.day-flow li > div { grid-column: 3; grid-row: 1; min-width: 0; }
.day-flow p { margin-top: 2px; font-size: 15px; line-height: 1.7; }

/* ---------- お給料の目安 ---------- */
.pay-presets { margin-top: 32px; }
.sec__lead + .pay-presets { margin-top: 32px; }
.pay-presets__label { font-size: 15px; font-weight: 700; line-height: 1.4; }
.pay-presets__btns { display: grid; gap: 8px; margin-top: 8px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.pay-in { display: grid; gap: 24px; }
.pay-field { min-width: 0; padding: 0; border: 0; }
.pay-field legend, .pay-label { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.pay-opts { display: grid; gap: 8px; }
.pay-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay-opts--3, .pay-opts--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 選ぶボタン：枠 1.5px → 選んだら 2px。内側の余白を 0.5px 減らして、中身の位置と幅が跳ねないようにする */
.pay-opt {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 0; min-height: 48px; padding: 4px 8px;
  border: 1.5px solid var(--c-sub); border-radius: 12px; background: #FFFFFF;
  color: var(--c-text); font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer;
}
.pay-opt--job { min-height: 64px; }
.pay-opt__ck { width: 18px; height: 18px; color: var(--c-main); visibility: hidden; }
.pay-opt__t { min-width: 0; }
.pay-opt--job .pay-opt__t { display: flex; flex-direction: column; align-items: flex-start; }
.pay-opt__sub { font-size: 14px; font-weight: 700; color: var(--c-sub); line-height: 1.4; }
.pay-opt:hover { border: 2px solid var(--c-main); padding: 3.5px 7.5px; background: var(--c-soft); }
.pay-opt:has(input:checked) { border: 2px solid var(--c-main); padding: 3.5px 7.5px; background: var(--c-pick); color: var(--c-main); }
.pay-opt:has(input:checked) .pay-opt__sub { color: var(--c-main); }
.pay-opt:has(input:checked) .pay-opt__ck { visibility: visible; }
.pay-opt:focus-within { outline: 3px solid var(--c-main); outline-offset: 2px; }
.pay-opt:has(input:focus:not(:focus-visible)) { outline: none; }
/* :has() の無い古いブラウザ：選んだ印が出ないので、本物の丸いボタンを見せる */
@supports not selector(:has(a)) {
  .pay-opt input { position: static; width: 18px; height: 18px; margin: 0; clip: auto; overflow: visible; accent-color: var(--c-main); }
  .pay-opt__ck { display: none; }
}
.pay-times { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 0 8px; align-items: end; }
.pay-time { min-width: 0; }
.pay-time__l { display: block; margin-bottom: 4px; color: var(--c-sub); font-size: 13px; font-weight: 700; line-height: 1.4; }
.pay-times__sep { height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.pay-select {
  display: block; width: 100%; height: 48px; padding: 0 36px 0 12px;
  border: 1.5px solid var(--c-main); border-radius: 12px; background-color: #FFFFFF;
  color: var(--c-text); font-size: 16px; font-weight: 700; line-height: 1.3;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%237A3419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 20px 20px;
}
.pay-select[aria-invalid="true"] { border: 2px dashed var(--c-main); padding: 0 35.5px 0 11.5px; }
.pay-hint { margin-top: 8px; color: var(--c-sub); font-size: 13px; line-height: 1.6; }

.pay-out { display: grid; gap: 16px; align-content: start; }
.pay-out__title { color: var(--c-text); }
.pay-err {
  display: flex; gap: 12px; padding: 16px; background: #FFFFFF;
  border: 2px dashed var(--c-main); border-radius: 12px;
}
.pay-err__ic { color: var(--c-main); }
.pay-err__h { font-size: 16px; font-weight: 700; line-height: 1.5; }
.pay-err__t { margin-top: 4px; font-size: 15px; line-height: 1.7; }
.pay-sum { display: grid; gap: 16px; padding: 16px; border-radius: 12px; background: var(--c-pick); }
.pay-sum__row + .pay-sum__row { padding-top: 16px; border-top: 1px solid var(--c-line); }
.pay-sum__l { color: var(--c-sub); font-size: 14px; font-weight: 700; line-height: 1.4; }
.pay-sum__v { margin-top: 4px; color: var(--c-text); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pay-sum__n { font-size: 32px; }
.pay-sum__u { margin-left: 2px; font-size: 18px; }
.pay-sum__f { margin-top: 8px; color: var(--c-sub); font-size: 14px; line-height: 1.6; }
.pay-break__h { font-size: 15px; font-weight: 700; line-height: 1.4; }
.pay-break { margin-top: 8px; }
.pay-break > div {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px;
  padding: 8px 0; border-top: 1px solid var(--c-line); font-size: 15px; line-height: 1.6;
}
.pay-break > div:last-child { border-bottom: 1px solid var(--c-line); }
.pay-break dt { min-width: 0; }
.pay-break dd { margin-left: auto; font-weight: 700; text-align: right; }
.pay-must {
  padding: 8px 12px; border-left: 4px solid var(--c-main);
  color: var(--c-text); font-size: 15px; font-weight: 700; line-height: 1.7;
}
.pay-rules { display: grid; gap: 4px; }
.pay-rules li { color: var(--c-sub); font-size: 13px; line-height: 1.6; padding-left: 1em; text-indent: -1em; }
.pay-hash-line { color: var(--c-sub); font-size: 14px; line-height: 1.7; }
.pay-hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--c-text); }
.pay-acts { display: grid; gap: 8px; justify-items: start; }
.pay-to-apply { width: 100%; }

/* ---------- スタッフの声 ---------- */
.voice { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 20px; }
.voice__q { display: block; color: var(--c-main); }
.voice p { margin-top: 8px; }
.voice .voice__who { margin-top: 12px; color: var(--c-sub); font-size: 14px; font-weight: 700; line-height: 1.6; }

/* ---------- よくある質問 ---------- */
.faq-list { display: grid; gap: 8px; max-width: 800px; margin: 32px auto 0; }
.sec__title + .faq-list { margin-top: 32px; }
.faq { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 12px; }
.faq summary {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 16px 48px 16px 16px;
  font-size: 16px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; border-radius: 12px;
}
.faq summary:hover { background: var(--c-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq__q { color: var(--c-main); flex: none; width: 20px; }
.faq summary svg { position: absolute; right: 16px; top: 50%; margin-top: -10px; color: var(--c-main); }
.faq__minus { display: none; }
.faq[open] .faq__plus { display: none; }
.faq[open] .faq__minus { display: block; }
.faq__a { display: flex; gap: 12px; padding: 0 16px 16px 16px; }
.faq__al { color: var(--c-sub); font-weight: 700; flex: none; width: 20px; }
.faq__a p { max-width: 40em; }

/* ---------- 応募について ---------- */
.apply {
  max-width: 800px; margin-left: auto; margin-right: auto;
  background: #FFFFFF; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px;
}
.apply__h { font-size: 15px; font-weight: 700; line-height: 1.6; }
.apply__steps { display: grid; gap: 8px; margin-top: 12px; }
.apply__steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.6; }
.apply__n {
  display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px;
  border-radius: 50%; background: var(--c-main); color: #FFFFFF; font-size: 15px; font-weight: 700; line-height: 1;
}
.apply__btn { width: 100%; margin-top: 24px; }
.apply__nopi { margin-top: 8px; color: var(--c-sub); font-size: 14px; line-height: 1.7; }
.apply__msg {
  margin-top: 16px; padding: 16px 20px; border-left: 4px solid var(--c-main); border-radius: 12px; background: var(--c-pick);
}
.apply__msg-h { display: flex; align-items: center; gap: 8px; color: var(--c-text); font-size: 16px; font-weight: 700; line-height: 1.5; }
.apply__msg-h svg { color: var(--c-main); }
.apply__msg-b { margin-top: 8px; font-size: 15px; line-height: 1.7; }
.apply__msg-c { margin-top: 4px; color: var(--c-sub); font-size: 14px; line-height: 1.7; }

/* ---------- 実際のお仕事では（TENKA LAB の層） ---------- */
.sec--lab { border-top: 1px dashed var(--c-sub); }
.lab-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px;
  background: var(--c-text); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 1;
}
.lab-title { margin-top: 12px; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--c-text); }
.lab-lead { margin-top: 12px; max-width: 40em; }
.work-3 { display: grid; gap: 16px; margin-top: 24px; }
.work-3 > li { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 12px; padding: 24px; }
.work-3 > li > svg { color: var(--c-main); }
.work-3 h3 { margin-top: 8px; font-size: 17px; }
.work-3 ul, .work-check ul { margin-top: 8px; }
.work-3 ul li, .work-check li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.7; }
.work-3 ul li + li, .work-check li + li { margin-top: 4px; }
.work-3 ul li::before, .work-check li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-main); }
.work-check { margin-top: 16px; padding: 16px; background: #FFFFFF; border: 1px dashed var(--c-sub); border-radius: 12px; }
.work-check h3 { font-size: 16px; }
.work-check__note { margin-top: 12px; color: var(--c-sub); font-size: 14px; line-height: 1.7; }
.lab-more { margin-top: 16px; }
.lab-more .btn-text { font-size: 14px; padding: 0; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--c-main); color: var(--c-base); font-size: 15px; line-height: 1.8;
  padding: 48px 16px; text-align: center;
}
.site-footer p + p { margin-top: 16px; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 52px;
  margin: 0 auto; border: 2px solid #FFFFFF; border-radius: 26px; background: var(--c-accent); color: #FFFFFF;
  font-size: 16px; font-weight: 700; text-decoration: none;
}
.btn:hover, .btn:active { background: var(--c-accent-dark); }
.copy { font-size: 12px; }

/* ---------- スマホの固定バー ---------- */
.fixbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #FFFFFF; border-top: 1px solid var(--c-line);
  transition: transform .2s ease, visibility .2s;
}
.fixbar .btn-main, .fixbar .btn-sub { min-height: 48px; padding: 0 8px; white-space: nowrap; }
.fixbar.is-hide { transform: translateY(100%); visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fixbar { transition: none; }
  .snow { animation: none; opacity: 1; }
  .steam { animation: none; }
}

/* 〜374px：h1 の2行目（28px×11字）が 360px の端末で右端に寄りすぎるため、字間だけ詰める */
@media (max-width: 374px) {
  .hero h1 { letter-spacing: 0; }
  /* 一番長いハッシュ（#pay=kitchen-2200-3100-60-5-1200）とかっこが、360px の結果のカードに1行で入るように */
  .pay-hash { font-size: 13px; }
}

/* ---------- 〜767px ---------- */
@media (max-width: 767px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- 768px 以上 ---------- */
@media (min-width: 768px) {
  :root { --pad-x: 32px; --gap-sec: 96px; --pad-card: 24px; }
  .fixbar { display: none; }
  .hd__name { font-size: 18px; }
  .hd__price { display: block; }
  .hero { padding: 80px 0 96px; }
  .hero h1 { font-size: 34px; }
  .hero__lead { font-size: 18px; }
  .hero__wages { flex-direction: row; flex-wrap: wrap; }
  .hero__wages li { font-size: 16px; }
  .hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .hero__btn { width: auto; min-width: 280px; }
  .hero__btn2 { width: auto; }
  .hero__art { max-width: 560px; }
  .sec__title { font-size: 32px; }
  .sec__lead + * { margin-top: 48px; }
  h3 { font-size: 20px; }
  .day-flow__t { font-size: 18px; }
  .fors, .points, .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .point-block { margin-top: 96px; }
  .job th { width: 200px; }
  .job td { font-size: 16px; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .pay-presets, .pay-grid { max-width: 720px; margin-left: auto; margin-right: auto; }
  .pay-presets__btns { display: flex; flex-wrap: wrap; gap: 8px; }
  .pay-field legend, .pay-label { font-size: 16px; }
  .pay-opts--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pay-sum { padding: 24px; }
  .pay-sum__n { font-size: 40px; }
  .pay-sum__u { font-size: 20px; }
  .pay-break > div { font-size: 16px; }
  .apply { padding: 24px; }
  .apply__btn { width: 320px; }
  .btn { width: 280px; }
}

/* ---------- 1024px 以上 ---------- */
@media (min-width: 1024px) {
  .hd__in { min-height: 72px; }
  .hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: 40px; }
  .hero__art { margin: 0; max-width: none; height: 400px; width: 100%; aspect-ratio: auto; }
  .pay-presets, .pay-grid { max-width: none; }
  .pay-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; align-items: start; }
  .pay-in { padding: 32px; }
  .pay-out { padding: 32px; position: sticky; top: 24px; }
  .pay-out.is-static { position: static; }
  .faq-list, .apply { max-width: 800px; }
  .work-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 1024〜1279px：左の列が狭いので、h1 の2行目（40px×11字）と週の日数（6つ横）が入らない。h1 は 36px、日数は 3×2 にする */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero h1 { font-size: 36px; }
  .pay-opts--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 印刷（崩れない程度） ---------- */
@media print {
  .fixbar, .tl-bar__back, .hero__art, .pay-presets, .hero__act, .pay-acts, .apply__btn, .btn, .lab-more { display: none !important; }
  body { padding-bottom: 0; background: none; color: #2B2521; }
  .sec--band, .site-footer, .pay-sum, .apply__msg, .tl-bar { background: none !important; color: #2B2521 !important; }
  .site-footer { border-top: 1px solid #E2DAD0; }
  .card, .job, .faq, .voice, .fors > li, .points > li, .work-3 > li { break-inside: avoid; }
  .pay-out { position: static; }
}
