/* 採用情報 */
/* ----- ヒーロー（募集情報がすぐ見えるよう、高さは控えめ） ----- */
.rhero { position: relative; isolation: isolate; color: #fff; background: #1a2430; overflow: hidden; min-height: min(78vh, 640px); display: flex; }
.rhero__bg { position: absolute; inset: 0; z-index: -2; }
.rhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.rhero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 20, 28, .86) 0%, rgba(14, 20, 28, .6) 55%, rgba(14, 20, 28, .35) 100%), linear-gradient(0deg, rgba(14, 20, 28, .6) 0%, rgba(14, 20, 28, 0) 50%); }
.rhero__inner { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: calc(var(--header-h) + 36px) 0 44px; gap: 0; }
.breadcrumb--light { color: #d9e0e7; }
.breadcrumb--light a { text-decoration-color: rgba(255, 255, 255, .5); }
.breadcrumb--light a:hover { color: #fff; }
.breadcrumb--light li + li::before { color: #8b97a3; }
.rhero__label { font-size: 13px; font-weight: 700; letter-spacing: .24em; padding: 5px 14px; border-radius: 999px; background: var(--red); margin-bottom: 18px; }
.rhero__title { color: #fff; font-size: clamp(32px, 6vw, 62px); line-height: 1.35; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.rhero__swap { display: inline-block; color: #ffb2c2; min-width: 2em; }
.rhero__sub { margin-top: 14px; font-size: 14px; letter-spacing: .12em; color: #e1e7ed; }
.rhero__cta { margin-top: 28px; }
.rhero__motion { margin-top: 22px; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .rhero__bg img { animation: slowZoom 16s ease-out both; }
  html:not([data-motion="off"]) .rhero__swap.is-changing { animation: swapIn .7s var(--ease) both; }
}
@keyframes swapIn { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }

/* ----- ページ内ナビ（スクロールに追従） ----- */
.rnav { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.rnav__inner { display: flex; align-items: center; gap: 16px; padding-top: 0; }
.rnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; -webkit-overflow-scrolling: touch; padding: 6px 0; }
.rnav__list::-webkit-scrollbar { display: none; }
.rnav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--text); transition: background-color .2s, color .2s; }
.rnav__list a:hover { background: var(--surface); }
.rnav__list a.is-active { background: var(--red); color: #fff; }
.rnav__entry { flex: none; }
@media (max-width: 760px) { .rnav__entry { display: none; } }
/* ヘッダーが浮いた状態（丸角）でも重ならないよう、固定位置はヘッダーの下に */
@media (min-width: 0px) {
  .rnav { top: var(--header-h); }
}
.rnav ~ section[id], section[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ----- 募集要項 ----- */
.recruit-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.salary { font-weight: 700; color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; }

/* ----- 応募方法 ----- */
.apply-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.apply-card .tag { align-self: flex-start; }
.apply-card h3 { margin-bottom: 0; }
.apply-card p { flex: 1; }
.apply-card--main { border: 2px solid var(--red); background: linear-gradient(180deg, var(--red-soft), #fff 60%); }
.apply-flow { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: 34px; counter-reset: s; }
.apply-flow li { position: relative; display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 62px; line-height: 1.7; }
.apply-flow__n { position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.apply-flow strong { color: var(--ink); }
.apply-flow span:last-child { font-size: 14px; color: var(--muted); }

/* ----- 育成・環境 / 数字 ----- */
.culture-card__en { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--red); margin-bottom: 4px; }
.numbers__en { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.numbers__val { font-size: 54px; font-weight: 700; color: var(--red); line-height: 1.2; margin: 6px 0 8px; font-variant-numeric: tabular-nums; font-feature-settings: "palt"; }
.numbers__val span { font-size: 18px; color: var(--ink); margin-left: 4px; }
.numbers__label { font-size: 14px; line-height: 1.85; }

/* ----- メッセージ ----- */
.message-body p { font-size: 17px; line-height: 2.2; }
.message-sig { text-align: right; font-weight: 700; color: var(--ink); margin-top: 1.6em; }

/* ----- FAQ ----- */
.faq { border-top: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q { font-size: 16px; }
.faq__btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 56px 18px 20px; min-height: 64px; position: relative; font-weight: 700; color: var(--ink); line-height: 1.6; transition: background-color .2s; }
.faq__btn:hover { background: var(--surface); }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.faq__btn::after { content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__btn[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.faq__a { padding: 0 24px 22px 66px; }
.faq__a p { color: var(--text); line-height: 2; }
.faq.is-enhanced .faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease); }
.faq.is-enhanced .faq__a > p { overflow: hidden; min-height: 0; }
.faq.is-enhanced .faq__a[hidden] { display: grid !important; grid-template-rows: 0fr; padding-bottom: 0; visibility: hidden; }
.faq.is-enhanced .faq__a[hidden] > p { padding: 0; }
@media (max-width: 640px) { .faq__a { padding: 0 20px 20px 20px; } .faq__btn { padding-left: 16px; } }

.history-note { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
