@charset "UTF-8";
/* =========================================================
   関根車輌 2026（B案：8°の斜めの構図）
   ========================================================= */

:root {
	--navy: #05173F;
	--navy-2: #0F2453;
	--blue: #005BA8;
	--sky: #13A6EA;
	--yellow: #F5C400;
	--text: #33405A;
	--muted: #5B6577;
	--line: #D5DCE6;
	--pale: #F2F5F9;
	--white: #FFFFFF;
	--tan: 0.1405;            /* tan(8°) */
	--skew: -8deg;
	--header-h: 88px;
	--ff: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
	--ff-en: 'Oswald', 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
	--container: min(1120px, calc(100vw - 48px));
}
@media (max-width: 1023px) {
	:root { --header-h: 64px; --container: min(1120px, calc(100vw - 40px)); }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--ff);
	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.04em;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.is-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
	background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: var(--container); margin-inline: auto; }
.container--narrow { width: min(880px, calc(100vw - 48px)); margin-inline: auto; }
@media (max-width: 1023px) { .container--narrow { width: min(880px, calc(100vw - 40px)); } }

.en { font-family: var(--ff-en); }
.sp-only { display: none; }
@media (max-width: 767px) {
	.sp-only { display: inline; }
	.pc-only { display: none; }
}

/* ---------- 斜めの写真（平行四辺形） ----------
   .slant の親（または自身）を skewY(-8deg) にし、中の画像を逆に傾けて正立させる */
.slant { position: relative; display: block; overflow: hidden; container-type: inline-size; background: var(--line); }
.slant img {
	position: absolute; left: 0; top: calc(var(--tan) * -50cqw);
	width: 100%; height: calc(100% + var(--tan) * 100cqw);
	object-fit: cover; transform: skewY(8deg);
}
.skew { transform: skewY(var(--skew)); transform-origin: 0 0; }
.unskew { transform: skewY(8deg); }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 56px; padding: 0 32px;
	font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none;
	color: var(--white); background: var(--navy);
	border: 2px solid var(--navy); border-radius: 2px;
	transition: background .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

/* =========================================================
   header
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h); background: var(--white);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(5, 23, 63, 0.08); }
.site-header__inner {
	display: flex; align-items: center; gap: 36px;
	height: 100%; padding: 0 clamp(20px, 3.9vw, 56px);
}
.site-logo { display: block; margin-right: auto; }
.site-logo img { display: block; width: auto; height: 44px; }

.gnav__list { display: flex; gap: clamp(20px, 2.5vw, 36px); }
.gnav__list a {
	position: relative; display: block; padding: 6px 0;
	font-size: 14px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6;
	color: var(--navy); text-decoration: none;
}
.gnav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }

.btn-recruit {
	display: inline-flex; align-items: center; gap: 10px;
	height: 48px; padding: 0 28px; border-radius: 2px;
	background: var(--navy); color: var(--white);
	font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none;
	transition: background .2s;
}
.btn-recruit:hover { background: var(--blue); color: var(--white); }

.menu-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; cursor: pointer;
	border: 1px solid var(--line); border-radius: 2px; background: var(--white);
}
.menu-toggle__bars { position: relative; display: block; width: 18px; height: 12px; }
.menu-toggle__bars span {
	position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: var(--navy);
	transition: transform .25s, opacity .25s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
	position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
	padding: 32px 24px 48px; overflow-y: auto;
	background: var(--navy); color: var(--white);
}
.drawer[hidden] { display: none; }
.drawer__nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.drawer__nav a {
	display: flex; align-items: center; gap: 12px; min-height: 56px;
	color: var(--white); font-size: 17px; font-weight: 700; text-decoration: none;
}
.drawer__nav a .en { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; color: var(--yellow); }
.drawer__nav a[aria-current="page"] { color: var(--yellow); }
.drawer__recruit {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; margin-top: 32px; border-radius: 2px;
	background: var(--yellow); color: var(--navy); font-weight: 700; text-decoration: none;
}
.drawer__recruit:hover { color: var(--navy); }
.drawer__recruit .icon-ext path { stroke: var(--navy); }
.drawer .sns { justify-content: center; margin-top: 28px; }
.drawer .sns a { color: var(--white); }

@media (max-width: 1023px) {
	.site-header__inner { gap: 8px; padding: 0 12px 0 16px; }
	.site-logo img { height: 32px; }
	.gnav { display: none; }
	.btn-recruit { height: 44px; padding: 0 16px; font-size: 13px; gap: 6px; }
	.menu-toggle { display: inline-flex; }
}
@media (max-width: 359px) {
	.btn-recruit { padding: 0 10px; }
}

/* =========================================================
   footer
   ========================================================= */
.site-footer {
	position: relative; margin-top: 0;
	background: var(--pale);
	clip-path: polygon(0 calc(var(--tan) * 50vw), 100% 0, 100% 100%, 0 100%);
	padding-top: calc(var(--tan) * 50vw + 72px);
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 20px 56px; text-align: center; }
.site-footer__logo img { display: block; width: auto; height: 56px; }
.fnav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; }
.fnav a { display: block; padding: 6px 0; color: var(--navy); font-size: 14px; text-decoration: none; }
.fnav a:hover { text-decoration: underline; }
.site-footer__address { font-size: 14px; line-height: 1.9; color: var(--text); }
.sns { display: flex; gap: 16px; }
.sns a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; color: var(--navy);
}
.sns a:hover { color: var(--blue); }
.copyright { margin: 0; padding: 14px 20px; background: var(--navy); color: rgba(255, 255, 255, 0.9); text-align: center; font-family: var(--ff-en); font-size: 12px; letter-spacing: 0.08em; line-height: 1.6; }
.copyright small { font-size: inherit; }

/* =========================================================
   見出し部品
   ========================================================= */
.sec-head { margin-bottom: 48px; }
.sec-head__en {
	display: block; font-family: var(--ff-en); font-weight: 600; text-transform: uppercase;
	font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: 0.02em; color: var(--navy);
}
.sec-head__ja {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 14px;
	font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--blue);
}
.sec-head__ja::before { content: ""; display: block; width: 32px; height: 4px; background: var(--yellow); transform: skewY(var(--skew)); }
.sec-head--light .sec-head__en { color: var(--white); }
.sec-head--light .sec-head__ja { color: var(--white); }

.lead-title {
	margin-bottom: 36px;
	font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; line-height: 1.6; letter-spacing: 0.04em; color: var(--navy);
}

.sub-head {
	position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
	margin-bottom: 28px; padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.sub-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--yellow); }
.sub-head__ja { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.5; color: var(--navy); }
.sub-head__en { font-family: var(--ff-en); font-size: 15px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

.h3-line {
	display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
	font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--navy);
}
.h3-line::before { content: ""; flex: none; width: 6px; height: 22px; background: var(--blue); transform: skewY(var(--skew)); }
.h4-catch { margin-bottom: 40px; font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--blue); }

.prose p { margin-bottom: 1.4em; }
.prose p:last-child { margin-bottom: 0; }

.section { padding: clamp(72px, 8vw, 120px) 0; }
.section--pale { background: var(--pale); }
.section + .section--pale, .section--pale + .section { }

/* =========================================================
   トップ：MV
   ========================================================= */
.mv {
	--cw: clamp(220px, 23.4vw, 380px);
	--ch: calc(var(--cw) * 1.37);
	--gap: 28px;
	--t: clamp(330px, 30vw, 480px);
	position: relative; overflow: hidden;
	height: calc(var(--t) + var(--ch) * 1.06 + 64px);
}
.mv__copy { position: absolute; left: max(24px, 6.7vw); top: clamp(48px, 7vw, 128px); z-index: 2; }
.mv__label {
	margin-bottom: 18px; font-family: var(--ff-en); font-size: 14px; font-weight: 500;
	letter-spacing: 0.24em; line-height: 1.4; color: var(--blue);
}
.mv__catch img { display: block; width: clamp(280px, 36vw, 540px); height: auto; }

.mv__rail {
	position: absolute; left: 0; top: var(--t); z-index: 1;
	width: 100%; height: var(--ch);
	transform: skewY(var(--skew)); transform-origin: 0 0;
}
.mv__rail::before {
	content: ""; position: absolute; left: 0; right: 0; top: 59%; height: 47%; background: var(--blue);
}
.mv__rail::after {
	content: ""; position: absolute; left: 0; right: 0; top: calc(106% + 14px); height: 8px; background: var(--yellow);
}
.mv__track {
	position: relative; z-index: 1;
	display: flex; gap: var(--gap); width: max-content; height: 100%;
	margin-left: calc(var(--cw) * -0.36); padding-right: var(--gap);
	animation: mv-flow 90s linear infinite;
}
.mv__card { flex: none; width: var(--cw); height: 100%; }
@keyframes mv-flow { to { transform: translateX(-50%); } }


@media (prefers-reduced-motion: reduce) {
	.mv__track { animation: none; }
}

@media (max-width: 767px) {
	.mv { height: auto; padding: 28px 0 84px; }
	.mv__copy { position: static; padding: 0 20px; }
	.mv__label { margin-bottom: 12px; font-size: 12px; letter-spacing: 0.22em; }
	.mv__catch img { width: min(300px, 80vw); }
	.mv__rail { position: relative; top: auto; height: auto; margin-top: calc(var(--tan) * 100vw + 28px); }
	.mv__rail::before { top: 30%; height: calc(70% + 40px); }
	.mv__rail::after { top: calc(100% + 54px); height: 6px; }
	.mv__track { flex-direction: column; gap: 20px; width: auto; height: auto; margin: 0; padding: 0 20px; animation: none; }
	.mv__card { width: 100%; height: 58vw; }
	.mv__card:nth-child(n+4) { display: none; }
}

/* =========================================================
   トップ：守りびと
   ========================================================= */
.about {
	position: relative; z-index: 2;
	margin-top: calc(100px - var(--tan) * 100vw);
	padding: calc(var(--tan) * 100vw + 120px) 0 clamp(88px, 9vw, 140px);
	color: rgba(255, 255, 255, 0.88);
}
.about::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--navy);
	clip-path: polygon(0 calc(var(--tan) * 100vw), 100% 0, 100% 100%, 0 100%);
}
.about__truck { position: absolute; right: max(24px, 4vw); top: -70px; z-index: 2; display: block; width: clamp(280px, 36vw, 560px); }
.about__truck img { display: block; width: 100%; height: auto; }
.about__mark {
	position: absolute; right: max(24px, 4vw); bottom: 48px; z-index: 0;
	font-family: var(--ff-en); font-size: clamp(64px, 8.4vw, 124px); font-weight: 600; line-height: 0.95;
	letter-spacing: 0.02em; text-align: right; color: var(--navy-2); pointer-events: none;
}
.about__inner { position: relative; z-index: 1; }
.about__title { margin-bottom: 22px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; line-height: 1.5; letter-spacing: 0.04em; color: var(--white); }
.about__bar { display: block; width: 48px; height: 4px; margin-bottom: 36px; background: var(--yellow); }
.about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 40px; }
.about__cols p { margin-bottom: 20px; }
.about__cols p:last-child { margin-bottom: 0; }
.about__promise { font-weight: 700; color: var(--white); }

@media (max-width: 767px) {
	.about { margin-top: calc(56px - var(--tan) * 100vw); padding: calc(var(--tan) * 100vw) 0 88px; }
	.about__truck { position: relative; right: auto; top: auto; display: block; width: 80%; margin: calc(var(--tan) * -100vw - 36px) 12px 28px auto; }
	.about__title { font-size: 26px; }
	.about__cols { grid-template-columns: 1fr; gap: 16px; font-size: 14px; line-height: 1.95; }
	.about__cols p { margin-bottom: 16px; }
	.about__mark { display: none; }
}

/* =========================================================
   タイル（斜めのリンクカード）
   ========================================================= */
.tiles {
	display: grid; gap: 24px;
	transform: skewY(var(--skew)); transform-origin: 0 0;
	margin-top: calc(var(--container) * var(--tan));
}
.tile {
	position: relative; display: block; min-height: 280px;
	color: var(--white); text-decoration: none; overflow: hidden;
	container-type: inline-size;
}
.tile__bg { position: absolute; inset: 0; }
.tile__bg img { transition: transform .5s; }
.tile:hover .tile__bg img { transform: skewY(8deg) scale(1.05); }
.tile::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(5, 23, 63, 0.05) 20%, rgba(5, 23, 63, 0.82) 100%);
}
.tile__body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 0 28px calc(28px + var(--tan) * 50cqw);
	transform: skewY(8deg); transform-origin: 0 100%;
}
.tile__en { font-family: var(--ff-en); font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: 0.02em; }
.tile__ja { margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.tile__sub { margin-top: 8px; font-size: 13px; line-height: 1.7; opacity: 0.92; }
.tile__more {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
	padding-bottom: 4px; border-bottom: 2px solid var(--yellow);
	font-family: var(--ff-en); font-size: 13px; letter-spacing: 0.14em; line-height: 1.4;
}
.tile[aria-current="page"] .tile__more { border-bottom-color: var(--white); }

/* =========================================================
   トップ：採用
   ========================================================= */
.top-recruit { padding: clamp(88px, 9vw, 140px) 0 clamp(64px, 6vw, 96px); }
.top-recruit__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.top-recruit__head .sec-head { margin-bottom: 0; }
.top-recruit__lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.7; color: var(--navy); }
.top-recruit__lead + .btn { margin-top: 20px; }
.tiles--recruit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--recruit .tile:first-child { grid-column: span 2; }
.tiles--recruit .tile { min-height: 300px; }

@media (max-width: 1023px) {
	.tiles--recruit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles--recruit .tile:first-child { grid-column: span 2; }
}
@media (max-width: 767px) {
	.tiles { gap: 16px; }
	.tiles--recruit { grid-template-columns: 1fr; }
	.tiles--recruit .tile:first-child { grid-column: auto; }
	.tiles--recruit .tile, .tile { min-height: 220px; }
	.tile__body { padding: 0 20px calc(20px + var(--tan) * 50cqw); }
}

/* =========================================================
   トップ：ご挨拶・サービス・会社概要
   ========================================================= */
.top-message { padding: clamp(48px, 5vw, 80px) 0 clamp(88px, 9vw, 140px); }
.top-message__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.top-message__photo { aspect-ratio: 4 / 3; transform: skewY(var(--skew)); }
.top-message__sub { margin: 20px 0 32px; font-size: 16px; font-weight: 700; color: var(--navy); }
.top-links { padding: 0 0 clamp(96px, 10vw, 160px); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--2 .tile { min-height: 340px; }

@media (max-width: 767px) {
	.top-message__grid { grid-template-columns: 1fr; gap: 56px; }
	.tiles--2 { grid-template-columns: 1fr; }
	.tiles--2 .tile { min-height: 220px; }
}

/* =========================================================
   下層：ページ見出し
   ========================================================= */
.page-hero {
	position: relative; overflow: hidden;
	min-height: clamp(300px, 33vw, 480px);
	padding: clamp(56px, 7vw, 112px) 0 0;
}
.page-hero__inner { position: relative; z-index: 2; width: var(--container); margin-inline: auto; }
.page-hero__title { display: flex; flex-direction: column; gap: 14px; }
.page-hero__en {
	font-family: var(--ff-en); font-weight: 600; text-transform: uppercase;
	font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: 0.02em; color: var(--navy);
}
.page-hero__ja { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--blue); }
.page-hero__ja::before { content: ""; display: block; width: 32px; height: 4px; background: var(--yellow); transform: skewY(var(--skew)); }
.page-hero__visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.page-hero__band {
	position: absolute; left: 0; right: 0; top: 64%; height: 26%;
	background: var(--navy); transform: skewY(var(--skew)); transform-origin: 0 0;
}
.page-hero__band::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 12px); height: 6px; background: var(--yellow); }
.page-hero__photo {
	position: absolute; right: max(24px, 5vw); top: 12%;
	width: min(40vw, 560px); aspect-ratio: 3 / 2;
	transform: skewY(var(--skew));
}
@media (max-width: 767px) {
	.page-hero { min-height: 0; padding: 40px 0 0; }
	.page-hero__en { font-size: 44px; }
	.page-hero__ja { font-size: 14px; }
	.page-hero__visual { position: relative; inset: auto; height: calc(56vw + 72px); margin-top: calc(var(--tan) * 100vw + 8px); }
	.page-hero__photo { left: 20px; right: 20px; top: 0; width: auto; aspect-ratio: auto; height: 56vw; }
	.page-hero__band { top: 52%; height: 38%; }
}

.breadcrumb { padding: 24px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin: 0 10px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 700; }

/* =========================================================
   下層：共通レイアウト
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; gap: clamp(32px, 5vw, 64px); }
.split--rev > :first-child { order: 2; }
.split__photo img { display: block; width: 100%; height: auto; }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-row img { display: block; width: 100%; aspect-ratio: 32 / 27; object-fit: cover; }
.block + .block { margin-top: clamp(64px, 7vw, 104px); }
@media (max-width: 767px) {
	.split { grid-template-columns: 1fr; }
	.split--rev > :first-child { order: 0; }
	.photo-row { grid-template-columns: 1fr; gap: 12px; }
	.photo-row--3sp { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- メッセージ ---------- */
.message-gallery { margin-top: clamp(56px, 6vw, 88px); padding: clamp(56px, 6vw, 88px) 0; background: var(--pale); }
.message-gallery .prose { margin-top: 40px; }
.message-sign { margin-top: 28px; text-align: right; font-size: 15px; line-height: 1.9; color: var(--navy); }
.message-sign .en { display: block; font-size: 14px; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- サービス ---------- */
.vehicles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.vehicles img { display: block; width: 100%; aspect-ratio: 32 / 27; object-fit: cover; background: var(--pale); }
.vehicles figcaption { margin-top: 12px; text-align: center; font-size: 14px; line-height: 1.7; color: var(--navy); }
.vehicles figcaption strong { display: block; font-family: var(--ff-en); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; color: var(--blue); }
.note { margin-top: 20px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.note--top { margin: -12px 0 28px; }
@media (max-width: 767px) {
	.vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.vehicles figcaption { font-size: 13px; }
}

/* ---------- 採用情報 ---------- */
.recruit-intro__ifs { margin-bottom: 20px; font-size: 16px; font-weight: 700; line-height: 1.9; color: var(--navy); }
.recruit-intro__strong { display: block; margin-top: 1.4em; font-weight: 700; color: var(--navy); }
.tiles--recruit-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--recruit-top .tile:first-child, .tiles--recruit-top .tile:nth-child(4), .tiles--recruit-top .tile:nth-child(5) { grid-column: span 2; }
.tiles--recruit-top .tile { min-height: 300px; }
@media (max-width: 767px) {
	.tiles--recruit-top { grid-template-columns: 1fr; }
	.tiles--recruit-top .tile:nth-child(n) { grid-column: auto; min-height: 220px; }
}

.recruit-links { padding: clamp(40px, 5vw, 72px) 0 clamp(96px, 10vw, 150px); }
.recruit-links__grid {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	width: var(--container); margin-inline: auto;
	transform: skewY(var(--skew)); transform-origin: 0 0;
	margin-top: calc(var(--container) * var(--tan));
}
.recruit-links__grid .tile { min-height: 260px; }
@media (max-width: 767px) {
	.recruit-links__grid { grid-template-columns: 1fr; gap: 16px; }
	.recruit-links__grid .tile { min-height: 200px; }
}

/* ---------- 社長インタビュー ---------- */
.profile { position: relative; margin-bottom: clamp(56px, 6vw, 88px); padding: 32px clamp(24px, 4vw, 48px); background: var(--pale); }
.profile::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--blue); }
.profile__label { display: inline-block; margin-bottom: 12px; padding: 2px 14px; background: var(--navy); color: var(--white); font-family: var(--ff-en); font-size: 13px; letter-spacing: 0.12em; line-height: 1.8; }
.profile__name { margin-bottom: 14px; font-size: 15px; font-weight: 700; line-height: 1.8; color: var(--blue); }
.profile__name .en { margin-left: 12px; font-family: var(--ff); font-weight: 500; }
.interview-block + .interview-block { margin-top: clamp(56px, 6vw, 88px); }
.interview-block .h3-line { margin-bottom: 20px; font-size: clamp(19px, 1.8vw, 22px); }

/* ---------- 働く環境 ---------- */
.steps { display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 0.9fr); gap: 0 40px; align-items: start; }
.step__num { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; font-family: var(--ff-en); color: var(--blue); line-height: 1; }
.step__num span:first-child { font-size: 14px; letter-spacing: 0.16em; }
.step__num span:nth-child(2) { margin-top: 6px; font-size: 48px; font-weight: 500; }
.step__num::after { content: ""; flex: 1; width: 2px; margin-top: 16px; background: linear-gradient(var(--sky), rgba(19, 166, 234, 0)); }
.step__title { margin-bottom: 14px; font-size: 18px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.step__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps + .h3-line { margin-top: clamp(72px, 8vw, 112px); }
.welfare { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.welfare img { display: block; width: 100%; aspect-ratio: 23 / 16; object-fit: cover; }
.welfare__title { margin: 18px 0 12px; font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--blue); text-align: center; }
.welfare__text { font-size: 14px; line-height: 1.95; }
@media (max-width: 1023px) {
	.welfare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 16px; }
	.step__num span:nth-child(2) { font-size: 34px; }
	.step__photo { grid-column: 2; }
	.welfare { grid-template-columns: 1fr; }
}

/* ---------- 会社概要 ---------- */
.data-table { border-top: 1px solid var(--line); }
.data-table__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.data-table dt { padding: 22px 24px; background: var(--pale); font-weight: 700; line-height: 1.8; color: var(--navy); }
.data-table dd { padding: 22px 28px; line-height: 1.95; }
.data-table dd p + p { margin-top: 1.2em; }
.data-table dd a { word-break: break-all; }
.cert { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cert img { display: block; width: 160px; height: auto; }
.declarations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: clamp(56px, 6vw, 88px); }
.declarations figure { text-align: center; }
.declarations img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border: 1px solid var(--line); }
.declarations figcaption { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--navy); }
@media (max-width: 767px) {
	.data-table__row { grid-template-columns: 1fr; }
	.data-table dt { padding: 12px 16px; }
	.data-table dd { padding: 16px 16px 22px; }
	.declarations { grid-template-columns: 1fr; }
}

/* ---------- お問い合わせ ---------- */
.contact-lead { margin-bottom: 56px; }
.policy {
	max-height: 380px; overflow-y: auto; padding: 28px 32px;
	border: 1px solid var(--line); background: var(--white);
	font-size: 14px; line-height: 1.95;
}
.policy h3 { margin: 24px 0 6px; font-size: 15px; font-weight: 700; color: var(--navy); }
.policy h3:first-of-type { margin-top: 20px; }
.policy ul { margin-top: 4px; }
.policy li { position: relative; padding-left: 1em; }
.policy li::before { content: "・"; position: absolute; left: 0; }
.policy__org { margin-top: 8px; }
.contact-form { margin-top: clamp(64px, 7vw, 96px); }
.form-intro { margin-bottom: 20px; }

/* Contact Form 7 */
.cf-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); border-bottom: 1px solid var(--white); background: var(--pale); }
.cf-row:nth-child(even) { background: #FAFBFD; }
.cf-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.cf-label--top { align-items: flex-start; }
.req { flex: none; padding: 1px 8px; background: #B4282E; color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.8; }
.any { flex: none; padding: 1px 8px; background: var(--muted); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.8; }
.cf-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 20px; }
.cf-field .wpcf7-form-control-wrap { flex: 1 1 280px; max-width: 420px; }
.cf-field--wide .wpcf7-form-control-wrap { max-width: none; flex-basis: 100%; }
.cf-suffix { font-size: 14px; }
.cf-address { display: grid; gap: 10px; width: 100%; }
.cf-address__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 14px; }
.cf-address__row .wpcf7-form-control-wrap { max-width: 420px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1px solid #B9C3D1; border-radius: 2px; background: var(--white);
	font: inherit; font-size: 16px; line-height: 1.6; color: var(--navy);
}
.wpcf7 textarea { min-height: 200px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid var(--sky); outline-offset: 0; border-color: var(--blue); }
.wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.wpcf7-list-item { margin: 0; }
.wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.wpcf7-list-item input[type="radio"] { width: 20px; height: 20px; accent-color: var(--blue); }
.cf-submit { margin-top: 40px; text-align: center; }
.wpcf7 input[type="submit"] {
	min-width: 280px; min-height: 60px; padding: 0 40px; border: 2px solid var(--navy); border-radius: 2px;
	background: var(--navy); color: var(--white); font: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.12em; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--white); color: var(--navy); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: #B4282E; }
.wpcf7 form .wpcf7-response-output { margin: 28px 0 0; padding: 14px 18px; border: 2px solid var(--blue); font-size: 14px; }
.wpcf7-spinner { margin: 0 0 0 12px; }
.form-missing { padding: 24px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
@media (max-width: 767px) {
	.policy { padding: 20px; }
	.cf-row { grid-template-columns: 1fr; }
	.cf-label { justify-content: flex-start; padding: 14px 16px 0; }
	.cf-field { padding: 10px 16px 16px; }
	.cf-address__row { grid-template-columns: 1fr; gap: 4px; }
	.wpcf7 input[type="submit"] { width: 100%; min-width: 0; }
}

/* ---------- 汎用ページ ---------- */
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1.6; }
.entry-content h3 { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.6; }

/* ---------- 動画モーダル ---------- */
.movie-modal { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.movie-modal::backdrop { background: rgba(5, 23, 63, 0.86); }
.movie-modal__inner { position: relative; }
.movie-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.movie-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.movie-modal__close {
	position: absolute; right: 0; top: -56px;
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 0; background: transparent; color: var(--white); cursor: pointer;
}

/* 余白の調整 */
.lead-title + .block { margin-top: clamp(48px, 5vw, 72px); }
.container--narrow > .block { margin-top: clamp(64px, 7vw, 104px); }

/* =========================================================
   光の演出（写真が画面に入ったとき、光の筋が1回だけ斜めに走る）
   ========================================================= */
.vehicles__photo { position: relative; display: block; }
.shine { overflow: hidden; }
.shine::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(98deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.35) 52%, rgba(255, 255, 255, 0) 56%);
	background-size: 250% 100%; background-repeat: no-repeat; background-position: 100% 0;
}
.shine--soft::after { background-image: linear-gradient(98deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.2) 48%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.2) 52%, rgba(255, 255, 255, 0) 56%); }
.shine--mask { overflow: visible; }
.shine--mask::after {
	-webkit-mask-image: var(--shine-mask); mask-image: var(--shine-mask);
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.shine.is-shine::after { animation: sk-shine 1s cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--shine-delay, 0s) both; }
@keyframes sk-shine {
	from { background-position: 100% 0; }
	to { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.shine::after { display: none; }
}
