/* 光陽運輸 リクルートサイト
   カラーは公式サイト(www.kouyou-unyu.co.jp)のグリーン/オレンジを踏襲 */
:root {
  --green: #4c9a1c;
  --green-d: #2f6b12;
  --green-dd: #16331a;
  --green-l: #eef5e6;
  --orange: #f0561f;
  --orange-d: #d4430f;
  --ink: #1c2420;
  --mute: #5b6a60;
  --line: #dce4d5;
  --bg: #fff;
  --bg2: #f6f8f2;
  --header-h: 72px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-en: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-jp); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
  overflow-wrap: anywhere; word-break: auto-phrase;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.sp-only { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .97); /* backdrop-filter は fixed の子(SPメニュー)の基準を変えてしまうため使わない */
  border-bottom: 1px solid var(--line);
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: clamp(16px, 3vw, 40px); }
.header__logo { display: flex; align-items: center; gap: 12px; flex: none; }
.header__logo img { width: 190px; }
/* RECRUIT: 緑のバッジで目立たせる */
.header__logo small { font-family: var(--font-en); font-weight: 700; font-size: 20px; letter-spacing: .16em; line-height: 1; color: #fff; background: var(--green); padding: 7px 8px 6px 12px; border-radius: 4px; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.gnav a.link { display: block; text-align: center; line-height: 1.25; padding: 6px 0; position: relative; }
.gnav a.link b { display: block; font-family: var(--font-en); font-size: 17px; letter-spacing: .08em; font-weight: 700; color: var(--ink); }
.gnav a.link span { display: block; font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.gnav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.gnav a.link:hover::after, .gnav a.link[aria-current="page"]::after { transform: scaleX(1); }
.gnav a.link[aria-current="page"] b { color: var(--green-d); }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 32px;
  background: var(--orange); color: #fff; font-weight: 700; font-family: var(--font-head); letter-spacing: .08em; border-radius: 999px;
  border: 2px solid var(--orange); transition: background .2s, color .2s, transform .2s; cursor: pointer;
}
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 6px 22px; font-size: 14px; }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-d); border-color: var(--green-d); }
.btn--line { background: transparent; color: #fff; border-color: #fff; }
.btn--line:hover { background: #fff; color: var(--green-dd); border-color: #fff; }
.btn--white { background: #fff; color: var(--green-d); border-color: var(--green); box-shadow: 0 6px 18px -10px rgba(22, 51, 26, .5); }
.btn--white:hover { background: var(--green); color: #fff; border-color: var(--green); }
.hero__cta .btn { box-shadow: 0 8px 22px -10px rgba(22, 51, 26, .55); }
.btn--line-dark { background: transparent; color: var(--green-d); border-color: var(--green); }
.btn--line-dark:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn--ext::after { transform: none; width: 12px; height: 12px; border: 0; background: currentColor; -webkit-mask: var(--ext-icon) center/contain no-repeat; mask: var(--ext-icon) center/contain no-repeat; }
:root { --ext-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M14 3h7v7M21 3l-10 10M19 14v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h6'/%3E%3C/svg%3E"); }
.more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--green-d); letter-spacing: .08em; }
.more::after { content: ""; width: 36px; height: 2px; background: currentColor; transition: width .25s; }
.more:hover::after { width: 56px; }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 980px; margin-top: var(--header-h); background: #e8f1de; color: var(--ink); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
/* ゆっくり縮むズーム。非表示になった後は、フェードアウトが終わるまで現在の大きさを保ち(1.6s 待ってから)初期状態へ戻す。
   (以前は非表示と同時に animation が外れ、フェード中に一瞬拡大して見えていた) */
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 0s linear 1.6s; }
.hero__slide.is-active img { transform: scale(1); transition: transform 8s ease-out 0s; }
/* PC: 写真は右側(約72%)に寄せ、左端は白へ溶かす。人物の顔が左のテキストに被らないようにする */
@media (min-width: 901px) {
  .hero { background: #fff; }
  .hero__slide img { display: block; width: 72%; margin-left: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
  .hero__slide:nth-child(1) img { object-position: 60% 50%; }
  .hero__slide:nth-child(2) img { object-position: 0% 50%; }
  .hero__slide:nth-child(3) img { object-position: 50% 50%; }
  .hero__slide:nth-child(4) img { object-position: 50% 50%; }
}
/* 左から白く抜けるアミ(文字が読めるように) + 全体に薄い白 */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 30%, rgba(255, 255, 255, .3) 60%, rgba(255, 255, 255, 0) 100%), linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)); }
.hero__body { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.hero__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .28em; font-size: clamp(14px, 1.6vw, 20px); display: inline-flex; align-items: center; gap: 16px; color: var(--green-d); }
.hero__en::before { content: ""; width: 48px; height: 3px; background: var(--orange); }
.hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(38px, 7.2vw, 96px); line-height: 1.25; letter-spacing: .06em; margin: 20px 0 0; color: var(--ink); text-shadow: 0 0 28px rgba(255, 255, 255, .7); }
.hero h1 em { font-style: normal; color: var(--green); display: block; font-size: .56em; letter-spacing: .12em; margin-top: .3em; }
.hero__lead { max-width: 640px; margin-top: 28px; font-size: clamp(14px, 1.5vw, 17px); line-height: 2; font-weight: 500; text-shadow: 0 0 14px rgba(255, 255, 255, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__scroll { position: absolute; z-index: 3; left: clamp(16px, 3vw, 40px); bottom: 28px; font-family: var(--font-en); font-weight: 700; letter-spacing: .3em; font-size: 12px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; color: var(--green-d); }
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: var(--green-d); transform-origin: top; animation: sc 2s infinite; }
@keyframes sc { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec--alt { background: var(--bg2); }
.sec--dark { background: linear-gradient(135deg, #3f8c1d, #5aa72e); color: #fff; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .en { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: .06em; color: var(--green); text-transform: uppercase; }
.sec--dark .sec-head .en { color: #e4f6c8; }
.sec-head h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 3vw, 34px); line-height: 1.5; letter-spacing: .08em; margin-top: 10px; }
.sec-head--c { text-align: center; }
.lead { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.6; letter-spacing: .08em; }
.lead em { font-style: normal; color: var(--green); }
.sec--dark .lead em { color: #e4f6c8; }
.txt p + p { margin-top: 1.4em; }
.txt strong { background: linear-gradient(transparent 62%, #d6eab9 62%); font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--single { display: block; }
.split--rev .split__img { order: 2; }
.split__img { position: relative; }
.split__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 48px -20px rgba(22, 51, 26, .45); }
.split__img::before { content: ""; position: absolute; z-index: -1; inset: 20px -20px -20px 20px; background: var(--green-l); border-radius: 4px; }
.split--rev .split__img::before { inset: 20px 20px -20px -20px; }
.split h3, .split h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; letter-spacing: .08em; margin-bottom: 20px; }
.tag-en { display: block; font-family: var(--font-en); font-weight: 700; letter-spacing: .24em; font-size: 15px; color: var(--green); margin-bottom: 6px; }

/* ---------- subpage head ---------- */
.phead { margin-top: var(--header-h); background: var(--green-l); color: var(--ink); position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; }
.phead::before { content: ""; position: absolute; right: -80px; top: -40px; bottom: -40px; width: 52%; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .75) 0 28px, transparent 28px 64px); }
.phead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--green) 0 60%, var(--orange) 60%); }
.phead .wrap { position: relative; z-index: 1; }
.phead .en { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(52px, 9vw, 112px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.phead h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: .14em; margin-top: 14px; color: var(--green-d); }
.crumb { font-size: 12px; letter-spacing: .1em; padding: 12px 0; color: var(--mute); border-bottom: 1px solid var(--line); }
.crumb a:hover { color: var(--green-d); text-decoration: underline; }
.crumb a + a::before, .crumb a + span::before { content: "/"; margin: 0 .8em; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 32px -16px rgba(22, 51, 26, .35); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(22, 51, 26, .45); }
.card__img { position: relative; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__no { position: absolute; left: 0; top: 0; background: var(--green); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 26px; letter-spacing: .08em; padding: 4px 18px 2px; line-height: 1.4; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--font-head); font-weight: 900; font-size: 20px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.9; color: #3b4a40; flex: 1; }
.card .more { margin-top: 18px; font-size: 14px; }
.card__q { font-family: var(--font-head); font-weight: 900; }
/* 写真なしのインタビューカード */
.card--iv { border-top: 5px solid var(--green); }
.card--iv .card__body { padding: 30px 28px 28px; }
.card--iv .card__q { font-size: 21px; line-height: 1.6; margin: 10px 0 20px; flex: 1; }

/* ---------- data (フリップクロック) ---------- */
.sec-lead { margin: -28px 0 40px; max-width: 760px; line-height: 2; }
.data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.data > div { background: rgba(255, 255, 255, .14); border-radius: 8px; padding: clamp(24px, 3vw, 40px) 8px clamp(20px, 2.6vw, 32px); text-align: center; }
.data dt { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: #fff; margin-bottom: 10px; }
.data dd { font-family: var(--font-en); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: 0; display: flex; justify-content: center; align-items: flex-end; }
.data dd small { font-family: var(--font-head); font-size: .3em; margin: 0 0 .25em .35em; letter-spacing: .08em; }
.flip { display: inline-flex; gap: .06em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fd { position: relative; display: block; width: .64em; height: 1em; perspective: 1em; color: var(--green-d); filter: drop-shadow(0 .05em .06em rgba(10, 50, 10, .3)); }
.fd__h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #fff; }
.fd__h i { position: absolute; left: 0; right: 0; display: block; height: 200%; font-style: normal; line-height: 1; text-align: center; }
.fd__t { top: 0; border-radius: .1em .1em 0 0; }
.fd__t i { top: 0; }
.fd__b { bottom: 0; border-radius: 0 0 .1em .1em; background: #f4f8ee; }
.fd__b i { bottom: 0; }
.fd__u, .fd__l { z-index: 1; }
.fd__f, .fd__k { z-index: 2; backface-visibility: hidden; }
.fd__f { transform-origin: 50% 100%; }
.fd__k { transform-origin: 50% 0; transform: rotateX(90deg); }
.fd::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .03em; margin-top: -.015em; background: rgba(22, 51, 26, .22); z-index: 3; }

/* ---------- table / dl ---------- */
.tbl { border-top: 1px solid var(--line); }
.tbl > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.tbl dt { font-family: var(--font-head); font-weight: 700; color: var(--green-d); letter-spacing: .1em; }
.tbl dd small { color: var(--mute); }
.tbl--sm > div { grid-template-columns: 120px 1fr; padding: 14px 4px; font-size: 15px; }
.tbl--sm dd { line-height: 1.8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; line-height: 1.4; padding: 6px 14px; border-radius: 999px; background: var(--green-l); color: var(--green-d); font-weight: 500; letter-spacing: .04em; }

/* 線画アイコン (jobs: <svg class="ico-s"><use href="#i-xxx"/></svg>) */
.ico-s { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tbl--sm dt { display: flex; align-items: flex-start; gap: 8px; }
.tbl--sm dt .ico-s { width: 20px; height: 20px; margin-top: .2em; color: var(--green); }
.chips li:has(.ico-s) { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; }
.chips li .ico-s { width: 16px; height: 16px; color: var(--green); }

/* 安全への取り組みなど、短い要点を目立たせる 2x2 のポイントカード */
.points { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.points li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-left: 5px solid var(--green); border-radius: 4px; box-shadow: 0 10px 24px -16px rgba(22, 51, 26, .45); font-family: var(--font-head); font-weight: 900; font-size: 17px; line-height: 1.5; letter-spacing: .06em; }
.points .ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; }

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fleet li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 14px 18px; font-weight: 500; line-height: 1.6; }
.sec--alt .fleet li { background: #fff; }

.area { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.area > div { background: var(--green-l); padding: 28px; border-radius: 6px; }
.area h3 { font-family: var(--font-head); font-weight: 900; font-size: 18px; margin-bottom: 8px; letter-spacing: .08em; }
.area h3 small { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; color: var(--green); }
.area p { font-size: 15px; line-height: 1.9; }

/* ---------- job detail ---------- */
.job { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.job:last-of-type { border-bottom: 0; }
.job__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.job__no { font-family: var(--font-en); font-weight: 700; font-size: 72px; line-height: 1; color: var(--green); letter-spacing: .04em; }
.job__head h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; letter-spacing: .08em; margin: 8px 0 16px; }
.job__head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 48px -20px rgba(22, 51, 26, .45); }
.job__salary { display: inline-flex; align-items: baseline; gap: 10px; margin: 20px 0 0; padding: 10px 20px; background: var(--green-l); border-radius: 4px; font-weight: 700; }
.job__salary small { font-size: 13px; color: var(--green-d); }
.job__salary b { font-family: var(--font-en); font-size: 28px; letter-spacing: .04em; }
.job__body { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.job__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.job h3 { font-family: var(--font-head); font-weight: 900; font-size: 17px; letter-spacing: .1em; margin: 0 0 12px; padding-left: 12px; border-left: 4px solid var(--green); line-height: 1.4; }
.note { font-size: 13px; color: var(--mute); line-height: 1.8; }

.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.benefits li { grid-column: span 2; }
/* 5項目のとき: 下段の2つを幅広にして、段ごとにそろえる */
.benefits li:nth-child(5):last-child, .benefits li:nth-child(4):nth-last-child(2) { grid-column: span 3; }
.benefits li { background: #fff; padding: 26px 24px; border-radius: 6px; border-top: 4px solid var(--green); box-shadow: 0 10px 28px -18px rgba(22, 51, 26, .4); }
.benefits .ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--green-l); color: var(--green-d); }
.benefits b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 18px; letter-spacing: .06em; margin-bottom: 6px; line-height: 1.5; }
.benefits span { font-size: 14px; line-height: 1.8; color: #3b4a40; display: block; }

/* ---------- interview ---------- */
.iv { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.iv:last-of-type { border-bottom: 0; }
.iv__head { position: sticky; top: calc(var(--header-h) + 24px); }
.iv__role { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--green); padding: 2px 14px; border-radius: 999px; letter-spacing: .08em; }
.iv h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 3vw, 36px); line-height: 1.55; letter-spacing: .08em; margin: 14px 0 28px; }
.qa dt { font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--green-d); letter-spacing: .06em; display: flex; gap: 12px; line-height: 1.6; }
.qa dt::before { content: "Q"; font-family: var(--font-en); font-size: 28px; line-height: 1.1; color: var(--orange); }
.qa dd { margin: 8px 0 28px 0; padding-left: 28px; }
.qa dd:last-child { margin-bottom: 0; }

/* ---------- news ---------- */
.news { border-top: 1px solid var(--line); }
.news li a, .news li > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--green-d); }
.news li a:hover { background: var(--bg2); }
.article { padding: 8px 0 0; }
.article time { font-family: var(--font-en); font-weight: 700; letter-spacing: .1em; color: var(--green-d); }
.article h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.6; letter-spacing: .06em; margin: 6px 0 24px; padding-bottom: 20px; border-bottom: 3px solid var(--green); }

/* ---------- entry ---------- */
/* ENTRY は写真を使わず、緑のグラデーションのみ */
.entry { position: relative; color: #fff; text-align: center; padding: clamp(80px, 11vw, 140px) 0; background: linear-gradient(135deg, #3f8c1d, #5aa72e); }
.entry .en { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(56px, 10vw, 128px); line-height: 1; letter-spacing: .1em; color: #f0ffd6; }
.entry p { max-width: 640px; margin: 24px auto 0; line-height: 2; font-weight: 500; }
.entry__btns { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px; }
/* 応募する(主) は大きく・幅広に、電話番号(副) は控えめに */
.entry__btns { align-items: flex-start; }
.entry__telwrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.entry__telwrap small { font-size: 12px; letter-spacing: .06em; line-height: 1.5; opacity: .95; }
/* 2つのボタンは同じ高さ(68px) */
.entry .entry__apply, .entry .entry__tel { height: 68px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.entry .entry__apply { min-width: 360px; padding-left: 64px; padding-right: 64px; font-size: 26px; letter-spacing: .12em; }
.entry .entry__tel { padding-left: 32px; padding-right: 32px; }
.tel { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.3; }
.tel b { font-family: var(--font-en); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .08em; }
.tel small { font-size: 11px; opacity: .9; }

/* ---------- footer ---------- */
.footer { background: var(--green-l); color: var(--ink); border-top: 5px solid var(--green); padding: 64px 0 28px; font-size: 14px; line-height: 1.9; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.footer__logo img { width: 220px; }
.footer address { font-style: normal; margin-top: 20px; }
.footer address b { color: var(--green-d); }
.footer address p + p { margin-top: 10px; }
.footer nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.footer nav a { display: block; padding: 6px 0; border-bottom: 1px solid rgba(22, 51, 26, .16); color: var(--ink); font-weight: 500; letter-spacing: .08em; }
.footer nav a:hover { color: var(--green-d); }
.footer__sub { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; font-size: 13px; }
.footer__sub a { text-decoration: underline; text-underline-offset: 3px; }
.footer small { display: block; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(22, 51, 26, .16); text-align: center; font-family: var(--font-en); letter-spacing: .12em; font-size: 13px; color: var(--mute); }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; border: 0; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-top: 3px solid #fff; border-left: 3px solid #fff; transform: translateY(3px) rotate(45deg); }

/* ---------- 応募フォーム ---------- */
.tel-link { font-family: var(--font-en); font-weight: 700; font-size: 1.15em; letter-spacing: .08em; color: var(--green-d); }
.form { margin-top: 40px; }
.field { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.field:first-child { border-top: 1px solid var(--line); }
.field > label { font-family: var(--font-head); font-weight: 900; letter-spacing: .08em; padding-top: 12px; line-height: 1.5; }
.req, .opt { display: inline-block; margin-left: 10px; padding: 1px 9px; border-radius: 3px; font-family: var(--font-jp); font-size: 11px; font-weight: 700; letter-spacing: .08em; vertical-align: 2px; }
.req { background: var(--orange); color: #fff; }
.opt { background: var(--line); color: var(--mute); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #cfdac7; border-radius: 6px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.6; letter-spacing: .03em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(76, 154, 28, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d33b2c; background-color: #fff6f4; }
.hint { margin-top: 6px; font-size: 13px; color: var(--mute); line-height: 1.7; }
.err { margin-top: 6px; font-size: 14px; font-weight: 700; color: #c22f20; line-height: 1.6; }
.agree-note { margin-top: 32px; text-align: center; font-size: 14px; line-height: 1.8; color: var(--mute); }
.agree-note a { color: var(--green-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 20px 0 0; padding: 14px 18px; border-radius: 6px; background: var(--green-l); color: var(--green-d); font-weight: 700; text-align: center; }
.form__status.is-error { background: #fdecea; color: #b3281a; }
.form__btn { margin-top: 28px; text-align: center; }
.form__btn .btn { min-width: min(100%, 360px); min-height: 64px; font-size: 18px; }
.form__btn .btn:disabled { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 760px) {
  .field { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .field > label { padding-top: 0; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero__scroll { display: none; }
  .menu-btn { display: block; width: 48px; height: 48px; border: 0; background: var(--green); border-radius: 50%; position: relative; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 14px; width: 20px; height: 2px; background: #fff; content: ""; transition: transform .25s, opacity .25s; }
  .menu-btn span { top: 23px; }
  .menu-btn span::before { left: 0; top: -7px; }
  .menu-btn span::after { left: 0; top: 7px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .gnav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 16px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .gnav.is-open { opacity: 1; transform: none; visibility: visible; }
  .gnav a.link { text-align: left; padding: 18px 4px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
  .gnav a.link b { color: var(--ink); font-size: 22px; min-width: 150px; }
  .gnav a.link span { color: var(--mute); font-size: 13px; }
  .gnav a.link::after { display: none; }
  .gnav a.link[aria-current="page"] b { color: var(--green-d); }
  .gnav .btn { margin-top: 28px; }
}
@media (max-width: 900px) {
  /* SP/タブレット(縦長): 写真は上側に置き、下へ向かって白くグラデーション。テキストはその下(グラデーション部に少し重ねる) */
  .hero { --hero-img-h: clamp(280px, 82vw, 520px); height: auto; min-height: 0; max-height: none; background: #fff; }
  .hero__slide { inset: 0 0 auto 0; height: var(--hero-img-h); }
  .hero::before { inset: 0 0 auto 0; height: var(--hero-img-h); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38%, #fff 100%); }
  .hero__body { position: relative; inset: auto; display: block; padding: calc(var(--hero-img-h) - 78px) 0 44px; }
    .hero__slide:nth-child(1) img { object-position: 55% 50%; }
  .hero__slide:nth-child(2) img { object-position: 28% 50%; }
  .hero__slide:nth-child(3) img { object-position: 55% 50%; }
  .hero__slide:nth-child(4) img { object-position: 55% 50%; }
  .split, .job__head, .job__body, .iv, .footer__in { grid-template-columns: 1fr; }
  .iv__head { position: static; }
  .cards, .benefits { grid-template-columns: 1fr; }
  .benefits li, .benefits li:nth-child(5):last-child, .benefits li:nth-child(4):nth-last-child(2) { grid-column: auto; }
  .fleet { grid-template-columns: 1fr 1fr; }
  .area { grid-template-columns: 1fr; }
  .data { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; line-height: 1.85; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .sp-only { display: inline; }
  .header__in { gap: 8px; }
  .header__logo { gap: 10px; }
  .header__logo img { width: 148px; }
  .header__logo small { font-size: 15px; padding: 5px 5px 4px 9px; letter-spacing: .14em; }
  .hero__scroll { display: none; }
  .tbl > div, .tbl--sm > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; }
  .fleet { grid-template-columns: 1fr; }
  .news li a, .news li > div { grid-template-columns: 1fr; gap: 4px; }
  .split__img::before { inset: 12px -8px -12px 8px; }
  .split--rev .split__img::before { inset: 12px 8px -12px -8px; }
  .entry .entry__apply, .entry .entry__tel { height: 60px; }
  .entry .entry__apply { min-width: 0; padding-left: 32px; padding-right: 32px; width: 100%; font-size: 22px; }
  .entry .entry__tel { width: 100%; }
  .entry__telwrap { width: 100%; margin-top: 0; }
  .job__no { font-size: 56px; }
}
@media (max-width: 360px) {
  .header__logo img { width: 128px; }
  .header__logo small { font-size: 13px; padding: 4px 4px 3px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .hero__slide.is-active img { transition: none; animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
}

/* ---------- WordPress: お知らせ本文・ページ送り・管理バー ---------- */
.article .txt ul, .article .txt ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.article .txt ul { list-style: disc; }
.article .txt ol { list-style: decimal; }
.article .txt img { max-width: 100%; height: auto; }
.article .txt figure { margin: 0 0 1.4em; }
.article .txt a:not(.wp-block-button__link) { color: var(--green-d); text-decoration: underline; }
.article .wp-block-buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.article .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 32px; border-radius: 999px; background: var(--green); border: 2px solid var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; transition: background .2s, transform .2s; }
.article .wp-block-button__link::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.article .wp-block-button__link:hover { background: var(--green-d); border-color: var(--green-d); transform: translateY(-2px); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-align: center; font-weight: 700; }
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cf-turnstile { margin-top: 24px; display: flex; justify-content: center; }
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
