:root {
	--brand-blue: #00A0E9;
	--brand-yellow: #FFE600;
	--bg-white: #FFFFFF;
	--text-main: #003366;
}


header {
	transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: rgba(255, 255, 255, 0.97);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
header.scrolled .header-logo {
	filter: none;
}
header.scrolled .header-title {
	color: #0090CC;
}
header.scrolled .header-entry {
	background-color: var(--brand-blue);
	color: #ffffff;
}

body {
	font-family: 'Noto Sans JP', 'Inter', sans-serif;
	background-color: var(--bg-white);
	color: var(--text-main);
	line-height: 1.6;
	overflow-x: hidden;
}

.splash-bg {
	background: linear-gradient(160deg, var(--brand-blue) 0%, #ffffff 70%);
	-webkit-mask-image: linear-gradient(to bottom, black 50%, transparent);
	mask-image: linear-gradient(to bottom, black 50%, transparent);
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100vh;
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.bg-vertical-text {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-size: clamp(2rem, 6vh, 4rem);
	font-weight: 900;
	color: rgba(30, 30, 30, 0.08);
	white-space: nowrap;
	z-index: 10;
	pointer-events: none;
	letter-spacing: 0.4em;
	user-select: none;
}
.bg-vertical-left { left: 1.5%; }
.bg-vertical-right { right: 1.5%; }
@media (max-width: 767px) {
	.bg-vertical-text {
		font-size: clamp(1.8rem, 5.5vh, 3rem);
		top: calc(50% + 1.5rem);
	}
}
@media (min-width: 768px) {
	.bg-vertical-text {
		top: calc(50% + 2rem);
	}
}

/* 縦帯を隠すセクション */
#salary, #job, #flow, #mid-cta, #apply {
	position: relative;
	z-index: 20;
}

.section-title {
	font-size: clamp(4.5rem, 18vw, 8rem);
	font-weight: 900;
	line-height: 0.9;
	letter-spacing: -0.05em;
	color: white;
	text-shadow: 0 10px 30px rgba(0, 160, 233, 0.3);
}

.btn-refresh {
	background-color: var(--brand-blue);
	color: white;
	padding: 20px 60px;
	font-weight: 900;
	border-radius: 0;
	box-shadow: 0 15px 40px rgba(0, 160, 233, 0.4);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	display: inline-block;
}
.btn-refresh:hover {
	transform: scale(1.05) rotate(-2deg);
}
@media (max-width: 767px) {
	.btn-refresh {
		display: block;
		width: 100%;
		text-align: center;
		padding: 24px 20px;
	}
}

.img-container {
	position: relative;
	background: #e0f2fe;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 0;
}

.img-container img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}

@keyframes floatContainer {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-15px); }
	100% { transform: translateY(0px); }
}
.float-wrap {
	display: inline-block;
	animation: floatContainer 4s ease-in-out infinite;
}

#ao-tenjo {
	display: inline-block;
	transition: transform 0.1s linear;
	will-change: transform;
}

.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: all 1s ease-out;
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.glass-card {
	position: relative;
	border-radius: 0;
	padding: 0.75rem;
	overflow: hidden;
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 1 / 1;
	container-type: inline-size;
	container-name: glass-card;
}
@media (min-width: 768px) {
	.glass-card {
		padding: 2.5rem;
	}
}
/* カード内部レイアウト */
.glass-card-inner {
	position: relative;
	z-index: 10;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* カード内テキスト — コンテナ幅基準で可変 */
.glass-card .card-label {
	font-size: clamp(0.5rem, 5cqi, 0.85rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	white-space: nowrap;
}
.glass-card [data-fit-text] {
	font-weight: 900;
	font-style: italic;
	letter-spacing: -0.025em;
	line-height: 1.1;
}
.glass-card .card-badge {
	font-size: clamp(0.7rem, 7cqi, 1.1rem);
	font-weight: 900;
	padding: 0.4em 0.75em;
	letter-spacing: 0.02em;
	display: inline-block;
	white-space: nowrap;
	border-width: 1px;
	border-style: solid;
}

.glass-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.card-bg-icon {
	position: absolute;
	bottom: -10%;
	right: -10%;
	font-size: 10rem;
	opacity: 0.1;
	font-weight: 900;
	font-style: italic;
	line-height: 1;
	pointer-events: none;
}

.card-accent-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 40%;
	background: var(--brand-yellow);
	border-radius: 0;
}

/* セクション見出し — vw基準で連続スケール（全幅要素向け） */
.heading-hero {
	font-size: clamp(2.5rem, 13cqi, 6rem);
}
.heading-lg      { font-size: clamp(3rem, 7vw, 4.5rem); }
.heading-section { font-size: clamp(2rem, 5.5vw, 3.75rem); }
.heading-sub     { font-size: clamp(1.4rem, 4vw, 2.25rem); }
/* カード見出し装飾 */
.heading-sub-decorated {
	display: inline-block;
	border-bottom: 4px solid var(--brand-yellow);
	padding-bottom: 0.2em;
}
.heading-cta     { font-size: clamp(2rem, 7vw, 6rem); }

.text-brand { color: var(--brand-blue); }
.bg-brand { background-color: var(--brand-blue); }
.border-brand { border-color: var(--brand-blue); }

.req-table {
	width: 100%;
	border-collapse: collapse;
}
.req-table tr {
	border-bottom: 1px solid #dbeafe;
}
.req-table tr:last-child {
	border-bottom: none;
}
.req-table th {
	background-color: #f0f9ff;
	color: var(--brand-blue);
	font-weight: 900;
	font-size: 0.875rem;
	padding: 1rem 1.25rem;
	white-space: nowrap;
	vertical-align: top;
	text-align: left;
	width: 10em;
}
.req-table td {
	color: #1e3a5f;
	font-weight: 700;
	line-height: 1.625;
	padding: 1rem 1.25rem;
	vertical-align: top;
}
/* モバイル: th/td を縦積み */
@media (max-width: 767px) {
	.req-table,
	.req-table tbody,
	.req-table tr,
	.req-table th,
	.req-table td {
		display: block;
		width: 100%;
	}
	.req-table tr {
		border-bottom: none;
		margin-bottom: 0;
	}
	.req-table th {
		white-space: normal;
		padding: 0.75rem 0.5rem 0.3rem;
		border-bottom: none;
	}
	.req-table td {
		padding: 0.3rem 0.5rem 0.875rem;
		border-bottom: 1px solid #dbeafe;
		background-color: #fff;
		font-size: 0.875rem;
	}
	.req-table tr:last-child td {
		border-bottom: none;
	}
}

/* セクション見出し装飾 */
.heading-hero-wrap {
	position: relative;
	container-type: inline-size;
	container-name: hero-wrap;
}

.salary-sky-bright {
	background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}
.bg-sky-number {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 40vw;
	font-weight: 900;
	color: var(--brand-blue);
	opacity: 0.05;
	line-height: 1;
	white-space: nowrap;
	z-index: 1;
	pointer-events: none;
	letter-spacing: -0.05em;
}
.salary-main-card {
	background: #ffffff;
	border-radius: 0;
	box-shadow: 0 50px 100px -20px rgba(0, 160, 233, 0.12);
	border: 1px solid rgba(0, 160, 233, 0.1);
	container-type: inline-size;
	container-name: salary-card;
}
/* 根拠セクション内テキスト — コンテナ幅基準で可変 */
.salary-main-card .salary-card-body {
	font-size: clamp(0.95rem, 3.2cqi, 1.2rem);
	line-height: 1.8;
	letter-spacing: 0.02em;
}
.salary-main-card .salary-card-heading {
	font-size: 1.2em;
}
.salary-main-card .salary-card-badge {
	font-size: 0.92em;
}
@media (max-width: 767px) {
	.salary-main-card .salary-card-badge {
		font-size: 1.05em;
		padding: 0.3em 0.8em;
	}
}
/* 根拠ブロック — 2列グリッド + 蛍光マーカー帯 */
.salary-evidence-block {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3em 0.8em;
}
.salary-evidence-block .salary-card-badge {
	grid-row: 1;
	grid-column: 1;
}
.salary-evidence-block .salary-evidence-highlight {
	grid-row: 1;
	grid-column: 2;
}
.salary-evidence-block::before {
	content: "";
	grid-row: 1;
	grid-column: 1 / -1;
	background: var(--brand-yellow);
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.reveal.active .salary-evidence-block::before {
	transform: scaleX(1);
}
.salary-evidence-block:nth-child(2)::before {
	transition-delay: 1.5s;
}
@media (max-width: 767px) {
	.salary-evidence-block > p.col-start-2 {
		grid-column: 1 / -1;
	}
}
.salary-main-card .salary-card-emphasis {
	font-size: clamp(1.2rem, 5cqi, 2rem);
	line-height: 1.5;
}
.accent-dot-bg {
	background-image: radial-gradient(var(--brand-blue) 1px, transparent 1px);
	background-size: 20px 20px;
	opacity: 0.1;
}

.step-num {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-style: italic;
	background: linear-gradient(135deg, var(--brand-blue), #00d2ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.step-arrow {
	color: var(--brand-blue);
	opacity: 0.3;
}

.company-table dt {
	color: #93c5fd;
	font-weight: 900;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
}
.company-table {
	container-type: inline-size;
	font-size: clamp(0.8rem, 4cqi, 1.125rem);
}
.company-table dd {
	color: #1e3a5f;
	font-weight: 700;
	font-size: 1em;
	margin-bottom: 2em;
	border-bottom: 1px solid #dbeafe;
	padding-bottom: 1em;
}

.routine-line {
	position: relative;
}
.routine-line::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--brand-blue);
	opacity: 0.2;
}

/* CTAセクション — 青↔黄 反転アニメーション */
.cta-animate {
	position: relative;
	background: var(--brand-blue);
	overflow: hidden;
	z-index: 20;
}
.cta-animate::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--brand-yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}
.cta-animate.cta-active::after {
	transform: scaleX(1);
}
.cta-animate > * {
	position: relative;
	z-index: 1;
}
/* ボタン: 黄→青に反転 */
.cta-btn-pop {
	transition: background-color 0.4s ease 0.4s, color 0.4s ease 0.4s, box-shadow 0.4s ease 0.4s;
}
.cta-animate.cta-active .cta-btn-pop {
	background-color: var(--brand-blue) !important;
	color: #fff !important;
	box-shadow: 0 15px 40px rgba(0, 160, 233, 0.5);
}
/* テキスト: 白→紺に反転 */
.cta-animate .cta-text {
	transition: color 0.4s ease 0.3s;
}
.cta-animate.cta-active .cta-text {
	color: #003366;
}
/* PC: ホバーで発火 */
@media (hover: hover) {
	.cta-animate:hover::after {
		transform: scaleX(1);
	}
	.cta-animate:hover .cta-btn-pop {
		background-color: var(--brand-blue) !important;
		color: #fff !important;
		box-shadow: 0 15px 40px rgba(0, 160, 233, 0.5);
	}
	.cta-animate:hover .cta-text {
		color: #003366;
	}
}

/* 3カラムカード — フルイドテキスト */
.job-card-young {
	container-type: inline-size;
	font-size: clamp(0.8rem, 3.8cqi, 0.94rem);
}
.job-card-young > h3 {
	font-size: 1.3em;
}
.job-card-young > p {
	font-size: 1em;
}

/* ヒーローカード — フルイドテキスト（Hero は vw） */
.hero-card-body {
	font-size: clamp(0.875rem, 4.3vw, 1.25rem);
}

/* Work Routine — 共通スタイル */
.routine-time {
	font-weight: 900;
	color: var(--brand-blue);
	font-style: italic;
}
.routine-title {
	font-weight: 900;
	color: #1e3a5f;
	margin-bottom: 0.5em;
}
.routine-line {
	container-type: inline-size;
	font-size: clamp(0.75rem, 3.6cqi, 0.875rem);
}
.routine-desc {
	font-size: 1em;
	color: #6b7280;
	font-weight: 700;
}
@media (max-width: 767px) {
	.routine-line {
		font-size: 0.75rem;
	}
}

/* STEP カード — 共通スタイル */
.step-card {
	background-color: #eff6ff;
	padding: 2rem;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
	height: 100%;
	transition: all 0.3s ease;
}
.group:hover .step-card {
	border-color: var(--brand-blue);
}
.step-card-title {
	color: #1e3a5f;
	font-weight: 900;
	line-height: 1.4;
}
.step-card-icon {
	position: absolute;
	bottom: -1rem;
	right: -1rem;
	color: var(--brand-blue);
	opacity: 0.05;
	pointer-events: none;
}
.step-card-final {
	background-color: var(--brand-blue);
	box-shadow: 0 25px 50px -12px rgba(0, 160, 233, 0.4);
}
.step-card-final .step-card-title {
	color: #fff;
}
.step-card-final .step-num {
	background: none;
	-webkit-background-clip: unset;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.4);
}

/* 募集要項 — フルイドテキスト */
.req-table-wrap {
	container-type: inline-size;
	font-size: clamp(0.75rem, 3.2cqi, 0.875rem);
}
.req-table td {
	font-size: 1em;
}
