/* ゆいまち 採用サイト｜design-system.md が正本 */
:root {
  --snow: #F3F5F0;
  --paper: #FFFFFF;
  --leaf: #DCE6D6;
  --moss: #3E5C4B;
  --ink: #23312A;
  --text: #3A4540;
  --note: #66716B;
  --lamp: #E9B949;
  --lamp-deep: #D9A42F;
  --rule: #C9D3C4;
  --radius: 14px;
  --wrap: 1120px;
  --read: 680px;
  --f-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.9;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
h1 { font-size: 56px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }
p { margin: 0 0 1.1em; }
.l { display: inline-block; } /* 改行の単位（句読点ごと） */
.nb { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.read { max-width: var(--read); }
.note { font-size: 14px; color: var(--note); line-height: 1.7; }

/* 制作例の注記 */
.demo-bar {
  background: var(--ink);
  color: #E8EEE6;
  font-size: 13px;
  line-height: 1.6;
  padding: 8px 24px;
  text-align: center;
}
.demo-bar a { color: #E8EEE6; }
.demo-bar .for-sp { display: none; }
.job-photo { margin: 0 0 40px; }
.job-photo img { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 768px) {
  .demo-bar { font-size: 12px; padding-block: 8px; }
  .demo-bar .for-pc { display: none; }
  .demo-bar .for-sp { display: inline; }
}

/* ヘッダー */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243, 245, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-head.is-scrolled { border-bottom-color: var(--rule); }
.head-in { display: flex; align-items: center; gap: 28px; height: 72px; width: min(1320px, 100% - 48px); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { font-family: var(--f-head); font-size: 20px; letter-spacing: .04em; display: block; line-height: 1.2; }
.logo small { display: block; font-size: 11px; color: var(--note); line-height: 1.3; }
.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.head-cta .btn { white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--moss); text-decoration: underline; text-decoration-thickness: 2px; }
.head-cta { display: flex; gap: 10px; }
.menu-btn { display: none; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.4;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
  word-break: keep-all;
}
.btn-main { background: var(--lamp); color: var(--ink); }
.btn-main:hover { background: var(--lamp-deep); color: var(--ink); }
.btn-sub { background: transparent; color: var(--moss); border-color: var(--moss); }
.btn-sub:hover { background: var(--moss); color: #fff; }
.btn-s { min-height: 42px; padding: 8px 18px; font-size: 15px; }

/* ルート線（署名モチーフ） */
.route path { fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.route .dash { stroke-dasharray: 2 9; }
.route .stop { fill: var(--paper); stroke: var(--moss); stroke-width: 2.4; }
.route .home { fill: var(--lamp); stroke: var(--ink); stroke-width: 2; }
.js .draw path.line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .draw.is-drawn path.line { transition: stroke-dashoffset 2.2s cubic-bezier(.6,.05,.3,1); stroke-dashoffset: 0; }

/* FV */
.fv { position: relative; display: grid; grid-template-columns: 46% 54%; min-height: 720px; overflow: hidden; }
.fv-text { position: relative; z-index: 2; padding: 88px 48px 168px max(24px, calc((100vw - 1320px) / 2)); align-self: center; }
.fv-voice { font-family: var(--f-head); font-size: 52px; line-height: 1.38; color: var(--ink); margin: 0 0 24px; font-weight: 700; }
.fv-voice .q { color: var(--moss); }
.fv-voice .l:first-child .q { margin-left: -0.5em; }
.fv-sub { font-family: var(--f-head); font-size: 26px; color: var(--moss); font-weight: 700; margin: 0 0 22px; line-height: 1.5; }
.fv-lead { max-width: 30em; margin-bottom: 32px; }
.fv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fv-photo { position: relative; margin: 0; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; border-radius: 0 0 0 48px; }
.fv-route { position: absolute; z-index: 3; left: max(24px, calc((100vw - 1320px) / 2)); bottom: 40px; width: calc(46% - max(24px, (100vw - 1320px) / 2) + 14px); height: 110px; pointer-events: none; }
.fv-route .home { stroke: #fff; stroke-width: 3; }
.fv-cap { position: absolute; right: 24px; bottom: 18px; z-index: 2; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* 段 */
.sec { padding: 112px 0; position: relative; }
.sec-leaf { background: var(--leaf); }
.sec-paper { background: var(--paper); }
.sec-head { margin-bottom: 48px; }
.sec-head .kicker { font-family: var(--f-head); color: var(--moss); font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.sec-head p.lead { margin-top: 18px; max-width: 34em; }
.more { margin-top: 40px; }

/* メッセージ：写真が左端まで */
.message { display: grid; grid-template-columns: 50% 1fr; gap: 72px; align-items: center; }
.message figure { margin: 0; }
.message img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 var(--radius) var(--radius) 0; }
.message .body { padding-right: max(24px, calc((100vw - 1120px) / 2)); max-width: calc(560px + max(24px, (100vw - 1120px) / 2)); }
.message h2 { margin-bottom: 28px; }
.message figcaption { font-size: 13px; color: var(--note); margin: 10px 0 0 max(24px, calc((100vw - 1120px) / 2)); }

/* 不安と仕組み：罫線の目次 */
.worries { border-top: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.worries li { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.worries .no { font-family: var(--f-head); font-size: 40px; color: var(--moss); line-height: 1; font-weight: 500; }
.worries .worry { font-family: var(--f-head); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.5; margin: 0; }
.worries .answer { margin: 0; }

/* 数字 */
.numbers { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.big-num { font-family: var(--f-head); color: var(--moss); line-height: 1; margin: 0; }
.big-num b { font-size: 220px; font-weight: 700; letter-spacing: -0.03em; }
.big-num span { font-size: 64px; font-weight: 700; }
.big-label { font-family: var(--f-head); font-size: 24px; color: var(--ink); font-weight: 700; margin: 18px 0 6px; }
.num-list { margin: 0; border-top: 1px solid var(--rule); }
.num-list div { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.num-list dt { color: var(--ink); font-weight: 700; }
.num-list dd { margin: 0; font-family: var(--f-head); color: var(--moss); font-size: 34px; font-weight: 700; text-align: right; white-space: nowrap; }
.num-list dd small { font-size: 16px; margin-left: 2px; }
.num-list .n { grid-column: 1 / -1; font-size: 14px; color: var(--note); }

/* 職種：ジグザグ */
.roles { display: grid; gap: 56px; }
.role { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.role:nth-child(even) figure { order: 2; }
.role figure { margin: 0; }
.role img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); width: 100%; }
.role h3 { margin-bottom: 14px; }
.role .en { display: block; font-size: 14px; color: var(--note); font-family: var(--f-body); font-weight: 400; margin-top: 4px; }

/* インタビュー */
.iv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.iv-list { row-gap: 56px; }
.iv-card { text-decoration: none; color: inherit; display: block; }
.iv-card figure { margin: 0 0 16px; overflow: hidden; border-radius: var(--radius); }
.iv-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .5s ease; }
.iv-card:hover img { transform: scale(1.03); }
.iv-card .catch { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 20px; line-height: 1.55; margin: 0 0 10px; }
.iv-card:hover .catch { text-decoration: underline; text-decoration-color: var(--moss); }
.iv-card .who { font-size: 14px; color: var(--note); margin: 0; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.tags li { font-size: 13px; line-height: 1.4; padding: 4px 10px; border-radius: 999px; background: var(--leaf); color: var(--ink); }
.sec-leaf .tags li { background: var(--paper); }

/* ルートの並び（教育・1日の流れ・選考） */
.stops { position: relative; list-style: none; margin: 0; padding: 0; }
.stops::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 0; border-left: 2.4px dashed var(--moss); opacity: .45; }
.stops .line-fill { position: absolute; left: 20px; top: 22px; width: 4px; height: calc(100% - 44px); background: var(--moss); border-radius: 2px; transform-origin: top; }
.js .stops.draw .line-fill { transform: scaleY(0); }
.js .stops.draw.is-drawn .line-fill { transform: scaleY(1); transition: transform 2.4s cubic-bezier(.6,.05,.3,1); }
.stops > li { position: relative; padding: 0 0 36px 72px; }
.stops > li:last-child { padding-bottom: 0; }
.stops .pin { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2.4px solid var(--moss); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; color: var(--moss); font-size: 15px; z-index: 1; }
.stops > li:last-child .pin { background: var(--lamp); border-color: var(--ink); color: var(--ink); }
.stops h3 { font-size: 22px; margin-bottom: 6px; }
.stops .period { font-size: 14px; color: var(--note); margin: 0 0 4px; font-weight: 700; }
.timeline > li { padding-bottom: 26px; }
.timeline .time { font-family: var(--f-head); font-weight: 700; color: var(--moss); font-size: 20px; margin: 0; line-height: 1.6; }
.timeline .what { font-weight: 700; color: var(--ink); margin: 0; }
.timeline .detail { margin: 2px 0 0; font-size: 15px; color: var(--text); }

.days-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.days-wrap figure { margin: 0; position: sticky; top: 104px; }
.days-wrap figure img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* 罫線の目次（募集・働く環境・FAQ） */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.index > li { border-bottom: 1px solid var(--rule); }
.index a.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 8px; text-decoration: none; color: var(--text); transition: background-color .2s; }
.index a.row:hover { background: rgba(220, 230, 214, .55); }
.index .t { font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.5; }
.index .s { font-size: 15px; }
.index .go { font-family: var(--f-head); font-weight: 700; color: var(--moss); font-size: 15px; white-space: nowrap; }

.env-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--rule); }
.env-grid > div { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.env-grid h3 { font-size: 21px; margin-bottom: 6px; }
.env-grid p { margin: 0; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 28px; gap: 12px; padding: 24px 4px; font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qm { color: var(--moss); font-size: 22px; line-height: 1.3; }
.faq summary .pm { position: relative; width: 20px; height: 20px; margin-top: 6px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--moss); transition: transform .25s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .a { padding: 0 40px 26px 52px; margin: 0; }

/* 灯りの帯（CTA） */
.band { background: var(--lamp); padding: 104px 0; position: relative; overflow: hidden; }
.band h2 { font-size: 44px; text-align: center; margin-bottom: 18px; }
.band p { text-align: center; max-width: 32em; margin: 0 auto 32px; color: var(--ink); }
.band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.band .btn-main { background: var(--ink); color: #fff; }
.band .btn-main:hover { background: var(--moss); color: #fff; }
.band .btn-sub { border-color: var(--ink); color: var(--ink); }
.band .btn-sub:hover { background: var(--ink); color: #fff; }
.band-route { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 60px; opacity: .55; }

/* 下層のヒーロー */
.page-hero { padding: 72px 0 56px; }
.crumbs { font-size: 13px; color: var(--note); margin-bottom: 18px; }
.crumbs a { color: var(--note); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.page-hero h1 { font-size: 48px; margin-bottom: 18px; }
.page-hero .lead { max-width: 36em; font-size: 18px; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* 私たちについて */
.philo { font-family: var(--f-head); font-size: 44px; color: var(--ink); font-weight: 700; line-height: 1.5; margin: 0 0 32px; }
.director { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.director figure { margin: 0; }
.director img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; width: 100%; }
.director .who { margin-top: 24px; font-size: 15px; }
.director .who b { font-family: var(--f-head); color: var(--ink); font-size: 20px; display: block; }
.outline { margin: 0; border-top: 1px solid var(--rule); }
.outline div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.outline dt { font-weight: 700; color: var(--ink); }
.outline dd { margin: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }

/* インタビュー詳細 */
.iv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0 88px; }
.iv-hero figure { margin: 0; }
.iv-hero img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.iv-hero h1 { font-size: 42px; margin-bottom: 26px; }
.iv-hero .prof { border-top: 1px solid var(--rule); padding-top: 18px; }
.iv-hero .prof b { font-family: var(--f-head); font-size: 22px; color: var(--ink); }
.qa { max-width: var(--read); margin-inline: auto; }
.qa h2 { font-size: 26px; padding-left: 22px; border-left: 4px solid var(--moss); margin: 56px 0 18px; line-height: 1.5; }
.qa h2:first-child { margin-top: 0; }
.qa-photo { margin: 56px 0; }
.qa-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.qa-photo figcaption { font-size: 13px; color: var(--note); margin-top: 8px; }

/* 絞り込み */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; border: 0; }
.filter legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; width: 100%; padding: 0; }
.filter label { position: relative; }
.filter input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.filter span { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--moss); color: var(--moss); font-weight: 700; font-size: 15px; transition: background-color .2s, color .2s; }
.filter input:checked + span { background: var(--moss); color: #fff; }
.filter input:focus-visible + span { outline: 3px solid var(--lamp-deep); outline-offset: 2px; }
.filter-count { font-size: 15px; color: var(--note); margin: -24px 0 32px; }
.is-hidden { display: none !important; }

/* 募集要項 詳細 */
.job-head { padding: 56px 0 40px; }
.job-head h1 { font-size: 44px; margin: 10px 0 14px; }
.job-head .catch { font-family: var(--f-head); font-size: 22px; color: var(--moss); font-weight: 700; margin: 0; }
.req { margin: 0; border-top: 2px solid var(--ink); }
.req div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--rule); }
.req dt { font-weight: 700; color: var(--ink); }
.req dd { margin: 0; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.job-side { position: sticky; top: 104px; background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--rule); }
.job-side p { font-size: 15px; }
.job-side .btn { width: 100%; margin-top: 10px; }

/* フォーム */
.form-wrap { max-width: 760px; }
.form-demo { background: var(--paper); border-left: 4px solid var(--lamp); padding: 16px 20px; font-size: 15px; margin-bottom: 40px; }
.steps-bar { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 40px; counter-reset: s; }
.steps-bar li { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: var(--note); padding-top: 12px; border-top: 4px solid var(--rule); }
.steps-bar li.on { color: var(--ink); border-top-color: var(--moss); }
.field { margin-bottom: 30px; }
.field > label, .field > .lbl { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.req-mark { display: inline-block; font-size: 12px; background: var(--moss); color: #fff; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.opt-mark { display: inline-block; font-size: 12px; background: var(--leaf); color: var(--ink); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid #AEBBAA; border-radius: 10px; padding: 13px 14px; line-height: 1.5;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.field .hint { font-size: 14px; color: var(--note); margin: 6px 0 0; }
.field .err { font-size: 14px; color: #A1361F; font-weight: 700; margin: 6px 0 0; }
.field [aria-invalid="true"] { border-color: #A1361F; background: #FFF7F4; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 18px; border: 0; padding: 0; margin: 0; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: var(--text); cursor: pointer; min-height: 40px; }
.choices input { width: 20px; height: 20px; accent-color: var(--moss); }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.confirm-list { margin: 0 0 32px; border-top: 1px solid var(--rule); }
.confirm-list div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.confirm-list dt { font-weight: 700; color: var(--ink); }
.confirm-list dd { margin: 0; white-space: pre-wrap; }
.done { background: var(--paper); border-radius: var(--radius); padding: 48px; }
.done h2 { font-size: 30px; margin-bottom: 16px; }

/* フッター */
.site-foot { background: var(--ink); color: #DCE4DA; padding: 72px 0 40px; font-size: 15px; }
.site-foot a { color: #DCE4DA; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; }
.foot-grid .logo { color: #fff; }
.foot-grid .logo small { color: #B9C6B6; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { text-decoration: none; white-space: nowrap; }
.foot-nav a:hover { text-decoration: underline; }
.foot-demo { border-top: 1px solid #44544A; margin-top: 48px; padding-top: 24px; font-size: 13px; color: #B9C6B6; }

/* 固定の応募ボタン（スマホ） */
.sp-entry { display: none; }

/* ニュース */

/* ------- タブレット ------- */
/* ヘッダーのメニューは1行に入りきる幅（約1250px）より狭くなったら「メニュー」ボタンにまとめる。見学ボタンは1360px以下で外す */
@media (max-width: 1360px) {
  .head-cta .btn-sub { display: none; }
}
@media (max-width: 1240px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--moss); color: var(--moss); border-radius: 999px; padding: 8px 16px; font: 700 15px var(--f-head); cursor: pointer; }
  .gnav.is-open { display: block; position: fixed; inset: 72px 0 0; background: var(--snow); padding: 24px; overflow: auto; z-index: 29; }
  .gnav.is-open ul { flex-direction: column; gap: 0; }
  .gnav.is-open a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--rule); font-size: 18px; }
}
@media (max-width: 1080px) {
  .fv { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .fv-voice { font-size: 44px; }
  .fv-text { padding: 72px 32px 72px 24px; }
  .numbers { gap: 40px; }
  .big-num b { font-size: 160px; }
  .job-layout { grid-template-columns: 1fr; }
  .job-side { position: static; }
  .iv-hero h1 { font-size: 34px; }
  /* 2列のまま列が細くなる幅：見出しを一回り小さく */
  h2 { font-size: 30px; }
  .philo { font-size: 36px; }
  .worries .worry { font-size: 21px; }
}

/* ------- 900px 以下：1列（iPadの縦 820px もここ。2列だと見出しが細かく折れる） ------- */
@media (max-width: 900px) {
  body { font-size: 16px; line-height: 1.85; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  .wrap { width: calc(100% - 32px); }
  .head-in { height: 64px; width: calc(100% - 32px); gap: 12px; }
  .gnav.is-open { inset: 64px 0 0; }
  .logo b { font-size: 17px; }
  .logo small { font-size: 10px; }
  .head-cta .btn-main { display: none; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .fv { grid-template-columns: 1fr; min-height: 0; }
  .fv-photo { order: -1; }
  .fv-photo img { aspect-ratio: 4 / 3.4; height: auto; max-height: 62svh; border-radius: 0 0 0 32px; object-position: 70% 50%; }
  .fv-text { padding: 36px 16px 96px; }
  .fv-voice { font-size: 34px; margin-bottom: 16px; }
  .fv-sub { font-size: 21px; }
  .fv-route { left: 16px; width: calc(100% - 32px); bottom: 14px; height: 70px; }
  .fv-route .home { display: none; }
  .fv-actions .btn { width: 100%; }
  .message { grid-template-columns: 1fr; gap: 32px; }
  .message img { border-radius: 0 var(--radius) var(--radius) 0; width: calc(100% - 16px); }
  .message .body { padding: 0 16px; max-width: none; }
  .message figcaption { margin-left: 16px; }
  .worries li { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .worries .no { font-size: 30px; }
  .worries .worry { font-size: 21px; }
  .numbers { grid-template-columns: 1fr; gap: 32px; }
  .big-num b { font-size: 132px; }
  .big-num span { font-size: 44px; }
  .num-list dd { font-size: 28px; }
  .role, .two, .director, .iv-hero, .days-wrap { grid-template-columns: 1fr; gap: 28px; }
  .role:nth-child(even) figure { order: 0; }
  .roles { gap: 48px; }
  .days-wrap figure { position: static; }
  .days-wrap figure img { aspect-ratio: 3 / 2; }
  .iv-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: -16px; padding: 0 16px 12px; }
  .iv-row > li { flex: 0 0 min(74%, 320px); scroll-snap-align: start; }
  .iv-list.iv-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; overflow: visible; margin: 0; padding: 0; }
  .iv-list .iv-card .catch { font-size: 16px; }
  .iv-list .iv-card .who { font-size: 12px; }
  .index a.row { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }
  .index .t { font-size: 20px; }
  .env-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; grid-template-columns: 28px 1fr 24px; }
  .faq .a { padding: 0 8px 24px 44px; }
  .band { padding: 72px 0 96px; }
  .band h2 { font-size: 28px; }
  .band .btn { width: 100%; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero .lead { font-size: 16px; }
  .page-hero-photo img { aspect-ratio: 3 / 2; }
  .philo { font-size: 28px; }
  .director { grid-template-columns: 1fr; }
  .director figure { max-width: 280px; }
  .outline div, .req div, .confirm-list div { grid-template-columns: 1fr; gap: 4px; }
  .iv-hero { padding: 32px 0 56px; }
  .iv-hero h1 { font-size: 30px; }
  .qa h2 { font-size: 21px; margin-top: 44px; }
  .job-head h1 { font-size: 30px; }
  .job-head .catch { font-size: 19px; }
  .done { padding: 32px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .sp-entry { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 245, 240, .96); border-top: 1px solid var(--rule); }
  .sp-entry .btn { flex: 1; min-height: 48px; padding: 8px 10px; font-size: 15px; }
  body.has-sp-entry { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .draw path.line { stroke-dashoffset: 0; }
  .js .stops.draw .line-fill { transform: none; }
}

/* 日本語の改行：phrase-wrap.js が句読点までを .ph で包む（site-line-breaks） */
.phs { display: inline; }
/* 給与・休日などの並び：「・」「＋」「→」の後と「（」の前でだけ折る（helpers.php の yui_nb） */
.nb { display: inline-block; }
.foot-demo .credit { display: block; margin-top: 4px; }
.ph, .pst { display: inline-block; word-break: auto-phrase; text-wrap: pretty; }
/* .pst は1つの文（「。」まで）。入りきらない時は文ごと次の行へ送る */

/* タブレット縦（スマホの1カラムを使いつつ、幅に合わせて文字とボタンを戻す） */
@media (min-width: 600px) and (max-width: 900px) {
  .fv-text { padding: 48px 32px 104px; }
  .fv-voice { font-size: 44px; }
  .fv-sub { font-size: 24px; }
  .fv-route { left: 32px; width: calc(100% - 64px); }
  .fv-actions .btn { width: auto; }
  .iv-hero img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}

/* お知らせ（WordPressの投稿。トップの募集中の職種の下） */
.index.news a.row { grid-template-columns: 7em minmax(0, 1fr); padding: 20px 8px; }
.index.news .t { font-size: 18px; }
@media (max-width: 900px) {
  .index.news a.row { grid-template-columns: 1fr; gap: 2px; }
}
/* 送信できなかった時の知らせ（エントリー） */
.form-error { background: #FBEDEC; border-left: 4px solid #B3412E; padding: 14px 18px; margin: 0 0 28px; color: #6E2418; }
/* 管理画面で書く本文（このサイトについて・プライバシーポリシー・お知らせ） */
.entry-content h2 { font-size: 24px; margin: 48px 0 16px; }
.entry-content h3 { font-size: 19px; margin: 32px 0 10px; }
.entry-content ul { padding-left: 1.4em; }
