/* 相川ファーム 採用LP — 参考: JAグループ愛知 採用サイトの構成（クリーム地・こげ茶・うねる帯・吊り下げ看板） */
:root {
  --cream: #F6F6E9;
  --paper: #FFFFFF;
  --brown: #60451B;
  --brown-soft: #7A6140;
  --sign: #8A6A3E;
  --g1: #7CC84A;
  --g2: #E6C83A;
  --leaf: #4F8F2A;
  --gold1: #C79A54;
  --gold2: #D6B22E;
  --orange: #F29A3A;
  --line: rgba(96, 69, 27, .14);
  --error: #C23B22;
  --shadow: 0 10px 30px rgba(96, 69, 27, .10);
  --grad: linear-gradient(90deg, var(--g1), var(--g2));
  --en: "Jost", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; position: relative; background: var(--cream); color: var(--brown); font-family: "Zen Kaku Gothic New", system-ui, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.9; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.5; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
main:focus { outline: none; }
.line { display: inline-block; }
.ph { display: inline-block; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, summary, .sec-lead, .mid-cta-text { word-break: auto-phrase; }

/* 矢印つき丸ボタン */
.arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--leaf); display: grid; place-items: center; transition: transform .3s; }
.arrow svg { width: 16px; height: 16px; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* 主CTA（実りの稲穂グラデーション） */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; padding: 12px 14px 12px clamp(18px, 6vw, 26px); border: 0; border-radius: 100vw; background: var(--grad); color: #fff; font: inherit; font-weight: 900; font-size: clamp(14px, 4.4vw, 16px); letter-spacing: .04em; white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(124, 200, 74, .28); transition: transform .25s, box-shadow .25s; text-shadow: 0 1px 2px rgba(79, 110, 20, .35); }
/* ボタンのキラン: 濃いグラデーション（::before）と光の筋（::after）を文字の下に重ねる */
.cta, .sticky-cta, .header-apply { position: relative; overflow: hidden; isolation: isolate; }
.cta::before, .sticky-cta::before, .header-apply::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #5DAA34, #CFA51C); opacity: 0; transition: opacity .35s; }
.header-apply::before { background: linear-gradient(90deg, #B07F3A, #C29A14); }
.cta::after, .sticky-cta::after, .header-apply::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: -1; background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%); transform: translateX(-130%) skewX(-12deg); pointer-events: none; }
@keyframes shine { from { transform: translateX(-130%) skewX(-12deg); } to { transform: translateX(260%) skewX(-12deg); } }
@media (hover: hover) and (pointer: fine) {
  .cta:hover, .header-apply:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124, 200, 74, .34); }
  .cta:hover::before, .sticky-cta:hover::before, .header-apply:hover::before { opacity: 1; }
  .cta:hover::after, .sticky-cta:hover::after, .header-apply:hover::after { animation: shine .7s ease-out; }
}
.cta.is-shine::after { animation: shine .9s ease-out; }
@media (prefers-reduced-motion: reduce) { .cta::after, .sticky-cta::after, .header-apply::after { display: none; } }
.pill { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 8px 10px 8px 26px; border-radius: 100vw; background: #fff; color: var(--brown); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 3px 12px rgba(96, 69, 27, .10); transition: transform .25s; }
.pill .arrow { background: var(--grad); color: #fff; }
.pill:hover { transform: translateY(-2px); }

/* ヘッダー */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 14px 0 16px; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(246, 246, 233, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: .03em; white-space: nowrap; }
.brand-tag { font-size: 11px; font-weight: 700; line-height: 1.5; padding: 1px 8px; border-top: 1px solid var(--brown); border-bottom: 1px solid var(--brown); white-space: nowrap; }
.gnav { display: none; }
.header-apply { margin-left: auto; display: inline-flex; transition: transform .25s, box-shadow .25s; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 100vw; background: linear-gradient(90deg, var(--gold1), var(--gold2)); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.menu-toggle, .menu-close { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--brown); display: grid; place-items: center; cursor: pointer; padding: 0; }
.menu-toggle i { width: 18px; height: 2px; background: #fff; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; }
.menu-close i { position: relative; width: 20px; height: 2px; background: transparent; }
.menu-close i::before, .menu-close i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: rotate(45deg); }
.menu-close i::after { transform: rotate(-45deg); }
.mobile-menu { margin: 0 0 0 auto; width: min(420px, 100%); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; background: var(--cream); color: var(--brown); }
.mobile-menu::backdrop { background: rgba(60, 43, 17, .45); }
.menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: 14px 24px 32px; }
.menu-close { align-self: flex-end; }
.menu-en { margin: 8px 0 12px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--leaf); }
.mobile-menu ul { border-top: 1px solid var(--line); }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.mobile-menu li a::after { content: "→"; color: var(--leaf); }
.menu-cta { margin-top: 28px; }

/* うねる帯（script.js がページの実寸から1本の曲線を描く） */
.band { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.band path { fill: none; stroke: url(#rice); stroke-width: 96px; stroke-linecap: round; }
.band.is-growing path { transition: stroke-dashoffset .5s ease-out; }
@media (prefers-reduced-motion: reduce) { .band.is-growing path { transition: none; } }
main { position: relative; z-index: 1; }
.hero, .flow { position: relative; z-index: 1; }

/* ヒーロー */
.hero { position: relative; padding: 72px 12px 0; }
.hero-frame { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1 / 1.02; max-height: 640px; border-radius: 28px; }
.hero-map { position: absolute; inset: 0; }
.hero-map img { position: absolute; bottom: 0; left: 46%; height: 118%; width: auto; max-width: none; transform: translateX(-50%); }
.hero-map img.slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-map img.slide.is-active { opacity: 1; }
.hero-catch { position: absolute; top: 26px; left: 22px; display: grid; writing-mode: vertical-rl; font-size: clamp(24px, 7vw, 28px); font-weight: 900; line-height: 1.55; letter-spacing: .12em; text-shadow: 0 0 10px var(--cream), 0 0 4px var(--cream); }
/* キャッチは同じ位置に重ね、表示中の組だけ1文字ずつ上から流れて出る */
.catch-set { grid-area: 1 / 1; }
.catch-set:not(.is-active) { visibility: hidden; }
.catch-row { display: block; }
.ch { display: inline-block; }
.js-fv .catch-set:not(.is-active) { visibility: visible; }
.js-fv .ch { opacity: 0; transform: translateY(-.6em); filter: blur(3px); transition: opacity .35s ease, transform .35s ease, filter .35s ease; }
.js-fv .hero.is-ready .catch-set.is-active .ch { opacity: 1; transform: none; filter: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1), filter .6s ease; transition-delay: calc(var(--i) * 70ms + .25s); }
.hero-rec { position: absolute; top: 28px; right: 20px; text-align: right; font-family: var(--en); font-weight: 700; filter: drop-shadow(0 0 3px var(--cream)) drop-shadow(0 0 8px var(--cream)); }
.hero-rec small { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 500; letter-spacing: .3em; }
.hero-rec b { display: block; font-size: clamp(30px, 9.4vw, 38px); line-height: 1; letter-spacing: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card { position: relative; z-index: 2; display: flex; flex-direction: column; margin: -40px 8px 0; padding: 18px 18px 20px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.hero-card .cta { order: 2; }
.hero-card .hero-lead { order: 3; margin: 14px 0 0; font-size: 14px; }
.hero-lead { margin-bottom: 16px; font-size: 15px; line-height: 1.85; }

/* セクション共通 */
.sec { position: relative; padding: 88px 20px; }
.label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--leaf); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.label::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--grad); }
.sec h2 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.5; letter-spacing: .02em; }
.sec-head { margin-bottom: 32px; }
.sec-lead { margin-top: 16px; font-size: 15px; }
.sec-head .sec-lead { max-width: 640px; }

/* 相川ファームについて */
.about h2 { margin-bottom: 20px; }
.about-text p:not(.label) { margin-bottom: 14px; }
.about-text .pill { margin-top: 10px; }
.about-photo { margin: 36px 0 0; padding: 8px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }

/* 自然の中で働くということ */
.value-grid { display: grid; gap: 14px; }
.value-card { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px 20px 22px; border-radius: 24px; background: var(--paper); box-shadow: 0 4px 16px rgba(96, 69, 27, .07); }
.value-icon { width: 56px; height: 56px; padding: 9px; border-radius: 50%; border: 4px solid #CFE7A6; background: #fff; color: var(--leaf); }
.value-card h3 { font-size: 18px; }
.value-card p { grid-column: 1 / -1; margin-top: 12px; font-size: 14px; line-height: 1.85; }
.value-note { margin-top: 18px; font-size: 14px; color: var(--brown-soft); }
.analog { position: relative; overflow: hidden; margin-top: 48px; padding: 40px 24px 36px; border-radius: 30px; background: var(--brown); color: #F6F0D5; box-shadow: var(--shadow); }
.analog-en { position: absolute; top: 14px; right: -6px; font-family: var(--en); font-weight: 700; font-size: 64px; line-height: .95; text-align: right; color: rgba(246, 240, 213, .07); pointer-events: none; }
.analog h3 { position: relative; margin-bottom: 18px; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.55; color: #fff; }
.analog h3 .line { overflow: hidden; vertical-align: top; }
.analog h3 .rise { display: inline-block; }
.analog h3 .line:last-child .rise { background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 40%, #FFF6C8 50%, var(--g2) 60%, var(--g1) 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.analog p:last-child { position: relative; }
.analog p:last-child::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 18px; border-radius: 2px; background: var(--grad); transform-origin: left; }
/* エモいモーション: パネルが広がる → 英字が浮かぶ → 見出しがせり上がる → 本文が1文ずつ → 最後に線が引かれる */
.analog-en span { display: block; }
.js-analog .analog { clip-path: inset(6% 5% round 30px); }
.js-analog .analog-en span { opacity: 0; transform: translateY(40px); }
.js-analog .analog h3 .rise { transform: translateY(110%); }
.js-analog .analog .sent { display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(5px); }
.js-analog .analog p:last-child::after { transform: scaleX(0); }
/* 動きは画面に入ったとき（is-in）だけ。隠した状態に戻す側には遅れを付けない */
.js-analog .analog.is-in { clip-path: inset(0 round 30px); transition: clip-path 1.1s cubic-bezier(.2, .7, .2, 1); }
.js-analog .analog.is-in .analog-en span { opacity: 1; transform: translateY(var(--px, 0px)); transition: opacity 1.6s ease .2s, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.js-analog .analog.is-in h3 .rise { transform: none; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.45s + var(--r) * .22s); }
.js-analog .analog.is-in h3 .line:last-child .rise { animation: shimmer 1.6s ease 1.3s both; }
.js-analog .analog.is-in .sent { opacity: 1; transform: none; filter: none; transition: opacity .9s ease, transform .9s ease, filter .9s ease; transition-delay: calc(1.2s + var(--s) * .38s); }
.js-analog .analog.is-in p:last-child::after { transform: scaleX(1); transition: transform .9s cubic-bezier(.2, .7, .2, 1) 3.7s; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.analog p:not(.analog-en) { position: relative; margin-top: 12px; font-size: 15px; line-height: 2; }
.analog p:last-child { color: #F2DE9A; font-weight: 700; }

/* 仕事の1年（吊り下げ看板） */
.signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
.sign { position: relative; display: flex; flex-direction: column; padding: 20px 10px 14px; border-radius: 18px; background: var(--sign); color: #FAF5DC; text-align: center; box-shadow: 0 8px 18px rgba(96, 69, 27, .16); }
.sign::before, .sign::after { content: ""; position: absolute; top: -14px; width: 4px; height: 18px; border-radius: 2px; background: var(--brown); }
.sign::before { left: 26%; }
.sign::after { right: 26%; }
.sign-months { display: flex; flex-direction: column; align-items: center; font-size: 13px; font-weight: 700; line-height: 1.4; }
.sign-months .en { font-family: var(--en); font-size: 11px; letter-spacing: .1em; color: #F2DE9A; }
.sign h3 { margin: 4px 0 10px; font-size: 16px; line-height: 1.45; color: #fff; }
.sign-ill { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--cream); display: grid; place-items: center; }
.sign-ill img { width: 100%; height: 100%; object-fit: contain; }
.sign-ill img.zoom { transform: scale(1.3); }
.sign-text { margin-top: 10px; font-size: 13px; line-height: 1.75; text-align: left; color: #F6F0D5; }

/* 中間CTA */
.mid-cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 20px; padding: 26px 20px; border-radius: 24px; background: rgba(255, 255, 255, .8); text-align: center; box-shadow: var(--shadow); }
.mid-cta-text { font-weight: 700; font-size: 15px; }

/* 働き方（ベント） */
.point-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.point { display: flex; flex-direction: column; padding: 18px 16px 16px; border-radius: 22px; background: var(--paper); box-shadow: 0 4px 16px rgba(96, 69, 27, .07); }
.point.wide { grid-column: 1 / -1; background: var(--grad); color: #fff; }
.point-key { display: inline-flex; align-self: flex-start; padding: 0 10px; border-radius: 100vw; background: #EEF6E3; color: var(--leaf); font-size: 12px; font-weight: 700; }
.point.wide .point-key { background: rgba(255, 255, 255, .25); color: #fff; }
.point-value { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; line-height: 1.2; }
.point-value b { font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: .01em; }
.point-value .unit { font-size: 13px; font-weight: 700; }
.point.is-long .point-value b { font-size: 22px; }
.point.wide .point-value b { font-size: clamp(26px, 8vw, 44px); text-shadow: 0 1px 3px rgba(79, 110, 20, .3); }
.point-note { margin-top: auto; padding-top: 8px; font-size: 12px; line-height: 1.6; color: var(--brown-soft); }
.point.wide .point-note { color: #fff; font-size: 14px; font-weight: 700; }

/* 募集要項 */
.req-table { margin: 0; padding: 8px 20px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.req-table > div { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.req-table > div:last-child { border-bottom: 0; }
.req-table dt { margin-bottom: 4px; color: var(--leaf); font-size: 14px; font-weight: 700; }
.req-table dd { margin: 0; font-size: 15px; line-height: 1.85; }

/* 選考の流れ */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: var(--paper); box-shadow: 0 4px 16px rgba(96, 69, 27, .07); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 50px; bottom: -14px; width: 12px; height: 12px; border-right: 3px solid var(--g1); border-bottom: 3px solid var(--g1); transform: rotate(45deg); z-index: 1; }
.step-no { position: absolute; top: 12px; right: 16px; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.step-no b { margin-left: 4px; font-size: 22px; }
.step-icon { grid-row: 1 / 3; width: 72px; height: 72px; padding: 14px; border-radius: 50%; border: 5px solid #CFE7A6; color: var(--leaf); background: #fff; }
.steps h3 { font-size: 18px; }
.steps li p:not(.step-no) { font-size: 14px; line-height: 1.75; }

/* よくある質問 */
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--paper); box-shadow: 0 4px 16px rgba(96, 69, 27, .07); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.q, .a { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--en); font-weight: 700; font-size: 16px; }
.q { background: var(--grad); color: #fff; }
.a { background: #F4EFD6; color: var(--brown); }
.faq-q { flex: 1; }
.faq-toggle { position: relative; flex: none; width: 18px; height: 18px; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 1px; background: var(--leaf); transition: transform .3s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq details[open] .faq-toggle::after { transform: rotate(0); }
.faq-a { display: flex; gap: 12px; padding: 0 16px 18px; }
.faq-a p { padding-top: 4px; font-size: 15px; }

/* 応募フォーム */
.apply { padding-top: 40px; }
.apply-card { padding: 30px 18px 28px; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.apply-head { margin-bottom: 26px; }
.required-note { margin-bottom: 18px; font-size: 14px; color: var(--brown-soft); }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--error); background: #FDF0EC; color: var(--error); font-weight: 700; font-size: 14px; }
.form-alert.is-preview { border-color: var(--leaf); background: #EEF6E3; color: var(--leaf); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field-label, .field legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 15px; }
.badge { padding: 0 8px; border-radius: 6px; background: var(--error); color: #fff; font-size: 11px; line-height: 1.8; }
.badge.optional { background: #B8AE98; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #DDD5C1; border-radius: 12px; background: #FDFCF6; color: var(--brown); font: inherit; font-size: 16px; line-height: 1.6; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g1); box-shadow: 0 0 0 4px rgba(124, 200, 74, .2); }
.field [aria-invalid="true"] { border-color: var(--error) !important; background: #FDF0EC !important; }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--brown-soft); }
.field-error { margin-top: 6px; color: var(--error); font-size: 14px; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 2px solid #DDD5C1; border-radius: 14px; background: #FDFCF6; font-weight: 700; font-size: 15px; line-height: 1.5; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--leaf); }
.choice:has(input:checked) { border-color: var(--g1); background: #F1F8E6; }
.privacy-field .text-link { display: inline-block; margin-bottom: 10px; }
.consent { align-items: flex-start; }
.consent input { margin-top: 3px; }
.text-link { color: var(--leaf); font-weight: 700; text-underline-offset: 3px; }
.turnstile-wrap { margin: 0 0 18px; min-height: 65px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { margin-top: 6px; font-size: 17px; }
.submit:disabled { opacity: .7; cursor: wait; }

/* スマホ追従CTA */
.sticky-cta { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 8px 10px 8px 24px; border-radius: 100vw; background: var(--grad); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 10px 24px rgba(96, 69, 27, .22); text-shadow: 0 1px 2px rgba(79, 110, 20, .35); }
.sticky-cta[hidden] { display: none; }

/* フッター */
.site-footer { position: relative; z-index: 1; margin-top: 40px; }
.footer-big { overflow: hidden; font-family: var(--en); font-weight: 700; font-size: clamp(48px, 14vw, 150px); line-height: 1; letter-spacing: .02em; color: rgba(96, 69, 27, .08); white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: .25em; padding-right: .25em; }
.footer-illust { width: clamp(96px, 24vw, 220px); animation: bob .9s ease-in-out infinite alternate; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { to { transform: translateY(-4px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .footer-illust { animation: none; } }
.footer-inner { display: grid; gap: 28px; margin-top: 24px; padding: 40px 24px 24px; background: var(--brown); color: #F6F0D5; }
.footer-company h2 { margin-bottom: 12px; font-size: 16px; color: #fff; }
.footer-company dl { margin: 0; font-size: 14px; line-height: 1.8; }
.footer-company dl > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-company dt { color: #F2DE9A; }
.footer-company dd { margin: 0; }
.footer-links { display: grid; gap: 4px; font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.copyright { padding: 0 24px 96px; background: var(--brown); color: rgba(246, 240, 213, .7); font-family: var(--en); }

/* 完了・プライバシー */
.simple-page { position: relative; z-index: 1; padding: 108px 20px 40px; }
.simple-inner { max-width: 820px; margin: 0 auto; padding: 32px 22px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.simple-inner.narrow { max-width: 640px; text-align: center; }
.simple-inner h1 { margin-bottom: 18px; font-size: clamp(22px, 6vw, 32px); }
.policy-back { max-width: 360px; margin-top: 32px; }
.simple-inner h2 { margin: 28px 0 10px; font-size: 18px; }
.simple-inner p, .simple-inner li { font-size: 15px; }
.simple-inner ol, .simple-inner ul { padding-left: 1.4em; list-style: revert; }
.simple-inner .label { justify-content: center; }
.page-privacy .simple-inner .label { justify-content: flex-start; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 16px; padding: 18px; border-radius: 50%; background: var(--grad); color: #fff; }
.thanks-status { margin-bottom: 8px; font-weight: 900; color: var(--leaf); }
.next-box { margin-top: 24px; padding: 6px 20px 18px; border-radius: 18px; background: var(--cream); text-align: left; }
.next-box h2 { margin-top: 14px; }
.thanks-links { display: grid; gap: 16px; justify-items: center; margin-top: 28px; }
.thanks-links .cta { max-width: 360px; }
.page-privacy .simple-inner dl > div { display: grid; grid-template-columns: 6em 1fr; gap: 8px; }
.page-privacy .simple-inner dd { margin: 0; }

/* 入場アニメーション */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: calc(var(--d, 0) * .08s); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }
/* 仕事の1年の看板: 金具に引っかけたように、上から現れて左右に揺れて止まる */
.js .sign[data-reveal] { opacity: 0; transform: translateY(-28px) rotate(-9deg); transform-origin: 50% -16px; transition: none; }
.js .sign[data-reveal].is-revealed { opacity: 1; transform: none; animation: hang 1.6s cubic-bezier(.25, .6, .35, 1) both; animation-delay: calc(var(--d) * .14s); }
@keyframes hang {
  0% { opacity: 0; transform: translateY(-28px) rotate(-9deg); }
  25% { opacity: 1; transform: translateY(0) rotate(7deg); }
  45% { transform: rotate(-4.5deg); }
  62% { transform: rotate(2.6deg); }
  78% { transform: rotate(-1.2deg); }
  90% { transform: rotate(.5deg); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 374px) {
  .brand-tag { display: none; }
}

@media (min-width: 600px) {
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-map img { left: 50%; height: 112%; }
  .signs { grid-template-columns: repeat(3, 1fr); gap: 40px 16px; }
  .point-grid { grid-template-columns: repeat(3, 1fr); }
  .req-table > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; }
  .req-table dt { margin: 0; }
  .about-photo { max-width: 540px; margin-left: auto; margin-right: auto; }
}

@media (min-width: 900px) {
  html { scroll-padding-top: 96px; }
  .site-header { height: 80px; padding: 0 28px; }
  .brand-name { font-size: 22px; }
  .band { opacity: .85; }
  .band path { stroke-width: 150px; }
  .hero { padding: 88px 28px 0; }
  .hero-frame { aspect-ratio: auto; height: min(640px, calc(100vh - 140px)); min-height: 520px; max-height: none; }
  .hero-map img { left: 50%; width: 100%; height: 100%; object-fit: cover; object-position: center 88%; }
  .hero-catch { top: 48px; left: 56px; font-size: 36px; }
  .hero-rec { top: 40px; right: 48px; }
  .hero-rec small { font-size: 15px; }
  .hero-rec b { font-size: clamp(80px, 9vw, 120px); }
  .hero-card { width: 640px; margin: -84px 44px 0 auto; padding: 22px 24px; display: grid; grid-template-columns: 1fr 250px; gap: 0 22px; align-items: center; }
  .hero-card .hero-lead { order: 0; margin: 0; font-size: 14px; }
  .hero-card .cta { order: 0; }
  .cta { font-size: 15px; }
  .sec { width: min(1100px, 100% - 80px); margin: 0 auto; padding: 140px 0; }
  .sec h2 { font-size: 44px; }
  .sec-head { margin-bottom: 48px; }
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .about-photo { margin: 0; }
  .signs { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .js .sign[data-reveal].is-revealed { animation-delay: calc(var(--d6) * .12s); }
  .value-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .value-card { grid-template-columns: 1fr; grid-template-rows: auto; align-content: start; justify-items: center; row-gap: 12px; padding: 36px 26px 30px; text-align: center; }
  .value-icon { width: 104px; height: 104px; padding: 22px; border-width: 5px; }
  .value-card h3 { font-size: 20px; }
  .value-card p { grid-column: auto; margin-top: 0; font-size: 15px; text-align: left; }
  .value-note { text-align: center; }
  .analog { margin-top: 72px; padding: 72px 80px 64px; }
  .analog-en { top: 24px; right: 40px; font-size: 150px; }
  .analog h3 { font-size: 40px; }
  .analog h3 .line { display: block; }
  .analog p:not(.analog-en) { max-width: 640px; font-size: 16px; }
  .sign h3 { font-size: 15px; }
  .mid-cta { flex-direction: row; justify-content: center; gap: 28px; width: min(900px, 100% - 80px); margin: 0 auto; }
  .mid-cta-text { font-size: 17px; }
  .point-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .point { padding: 24px 22px 22px; min-height: 180px; }
  .point.wide { grid-column: span 2; grid-row: span 2; justify-content: center; }
  .point:nth-last-child(-n+2) { grid-column: span 2; min-height: 140px; }
  .point-value b { font-size: 38px; }
  .point.is-long .point-value b { font-size: clamp(22px, 2.4vw, 30px); }
  .point.wide .point-value b { font-size: 50px; }
  .point.wide .point-value .unit { font-size: 18px; }
  .req-table { padding: 16px 48px; }
  .req-table > div { grid-template-columns: 10em 1fr; padding: 22px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; padding: 34px 20px 26px; row-gap: 10px; }
  .step-icon { grid-row: auto; width: 96px; height: 96px; padding: 20px; }
  .steps li:not(:last-child)::after { left: auto; right: -19px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
  .faq-list { max-width: 880px; }
  .faq summary { padding: 18px 24px; font-size: 17px; }
  .faq-a { padding: 0 24px 22px; }
  .apply-card { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 56px; }
  .apply-head { position: sticky; top: 120px; align-self: start; }
  .apply-head h2 { font-size: 34px; }
  .sticky-cta { display: none !important; }
  .footer-inner { grid-template-columns: 1fr auto; padding: 56px max(40px, calc((100% - 1100px) / 2)) 28px; }
  .copyright { padding: 0 max(40px, calc((100% - 1100px) / 2)) 32px; }
  .simple-inner { padding: 48px 56px; }
}

@media (min-width: 1100px) {
  .gnav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 15px; }
  .gnav a { text-decoration: none; padding: 8px 0; background: linear-gradient(var(--g1), var(--g1)) no-repeat left bottom / 0 2px; transition: background-size .3s; }
  .gnav a:hover { background-size: 100% 2px; }
  .header-apply { margin-left: 18px; min-height: 48px; padding: 0 24px; font-size: 15px; }
  .menu-toggle { display: none; }
}
