/* =========================================================
   PRODUS トップページ スタイル
   （汎用スクロールモーションは common.css に定義）
   ========================================================= */

/* ---------- ヒーロー ---------- */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 700px;
	overflow: hidden;
	background: var(--color-black);
}

.video-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
	z-index: 1;
	will-change: transform;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.15) 45%,
		rgba(0, 0, 0, 0.6) 100%);
}

.key-message {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 24px;
}

.key-message-inner {
	max-width: 1100px;
}

/* 英語キッカー（小さく添える） */
.hero-kicker {
	font-size: clamp(0.8rem, 1.4vw, 1rem);
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 400;
	margin-bottom: 28px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.hero-kicker.is-in {
	opacity: 1;
	transform: none;
}

/* 日本語タイトル（主役・行マスク演出） */
.hero-title {
	font-size: clamp(2.8rem, 7vw, 5.5rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0.04em;
	color: var(--color-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
	margin: 0 0 32px;
}

.hero-title .line {
	display: block;
	overflow: hidden;
}

.hero-title .line > span {
	display: block;
	/* 行末の句読点（、。）は墨が左半分のみのため、半文字ぶん右へ寄せて光学センターに合わせる */
	padding-left: 0.55em;
	transform: translateY(110%);
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title.is-in .line > span {
	transform: translateY(0);
}

/* 英語版: g/y 等のディセンダーが overflow:hidden で切れないよう行下に余白を確保し、
   日本語句読点向けの左パディングは外す */
html[lang="en"] .hero-title .line {
	padding-bottom: 0.18em;
	margin-bottom: -0.18em;
}

html[lang="en"] .hero-title .line > span {
	padding-left: 0;
	transform: translateY(130%);
}

html[lang="en"] .hero-title.is-in .line > span {
	transform: translateY(0);
}

.hero-title.is-in .line:nth-child(2) > span {
	transition-delay: 0.12s;
}

.hero-lead {
	font-size: clamp(0.95rem, 2vw, 1.25rem);
	font-weight: 300;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
	word-break: keep-all;
	overflow-wrap: anywhere;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hero-lead.is-in {
	opacity: 1;
	transform: none;
}

/* スクロールインジケータ */
.scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-white);
	z-index: 2;
}

.scroll-indicator::after {
	content: '';
	display: block;
	width: 1px;
	height: 40px;
	background: var(--color-white);
	margin: 15px auto 0;
	animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
	0%, 100% { opacity: 0; transform: translateY(-10px); }
	50%      { opacity: 1; transform: translateY(10px); }
}

/* ---------- ニュース ---------- */
.news-ticker-section {
	padding: 100px 0;
	background: var(--color-white);
}

.news-ticker-content {
	max-width: 900px;
	margin: 0 auto;
}

.news-ticker-content .section-title {
	margin-bottom: 60px;
}

.news-ticker-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.news-ticker-item {
	display: flex;
	align-items: baseline;
	gap: 30px;
	padding: 25px 0;
	border-bottom: 1px solid var(--color-gray-mid);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.news-ticker-item:first-child {
	border-top: 1px solid var(--color-gray-mid);
}

.news-ticker-item:hover {
	transform: translateX(5px);
}

.news-ticker-item time {
	flex-shrink: 0;
	font-size: 0.85rem;
	color: var(--color-gray-dark);
	letter-spacing: 0.1em;
	font-weight: 400;
	min-width: 100px;
}

.news-ticker-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-black);
	line-height: 1.6;
}

.news-ticker-more {
	text-align: center;
	margin-top: 60px;
}

/* ---------- 事業領域（数字リスト） ---------- */
.business-section {
	padding: 120px 0;
	background: var(--color-white);
}

.section-head {
	margin-bottom: 70px;
}

.biz-list {
	max-width: 1000px;
	margin: 0 auto;
	border-top: 1px solid var(--color-gray-mid);
}

.biz-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px 24px;
	border-bottom: 1px solid var(--color-gray-mid);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: color 0.4s ease;
}

.biz-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #111111;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 0;
}

.biz-item:hover::before {
	transform: scaleX(1);
}

.biz-item:hover {
	color: var(--color-white);
}

.biz-num,
.biz-body,
.biz-arrow {
	position: relative;
	z-index: 1;
}

.biz-num {
	font-size: clamp(1.2rem, 2.4vw, 1.8rem);
	font-weight: 900;
	letter-spacing: 0.05em;
	color: var(--color-accent);
	min-width: 2.5em;
	transition: color 0.4s ease;
}

.biz-item:hover .biz-num {
	color: var(--color-white);
}

.biz-body {
	flex: 1;
}

.biz-title {
	font-size: clamp(1.2rem, 2.6vw, 1.7rem);
	font-weight: 900;
	margin: 0 0 8px;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.biz-desc {
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.7;
	margin: 0;
	color: var(--color-gray-dark);
	transition: color 0.4s ease;
}

.biz-item:hover .biz-desc {
	color: rgba(255, 255, 255, 0.85);
}

.biz-arrow {
	font-size: 1.4rem;
	transform: translateX(0);
	transition: transform 0.4s ease;
}

.biz-item:hover .biz-arrow {
	transform: translateX(8px);
}

/* ---------- 企業理念 ---------- */
.philosophy-section {
	background: var(--color-gray-light);
	padding: 100px 0;
}

.philosophy-content {
	max-width: 1000px;
	margin: 0 auto;
}

.philosophy-content .section-title {
	margin-bottom: 60px;
}

.philosophy-intro {
	font-size: clamp(1rem, 2vw, 1.3rem);
	line-height: 2.2;
	color: var(--color-black);
	margin-bottom: 80px;
	font-weight: 300;
	text-align: center;
}

.problem-list {
	list-style: none;
	padding: 0;
	margin: 60px 0;
}

.problem-list li {
	padding: 30px 0;
	border-top: 1px solid var(--color-gray-mid);
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-black);
	font-weight: 400;
	display: flex;
	align-items: flex-start;
}

.problem-list li:last-child {
	border-bottom: 1px solid var(--color-gray-mid);
}

.problem-list li::before {
	content: '—';
	margin-right: 20px;
	color: var(--color-accent);
	font-weight: 700;
	flex-shrink: 0;
}

.highlight-box {
	background: var(--color-white);
	padding: 60px 40px;
	margin: 80px 0;
	border: 1px solid var(--color-accent);
	text-align: center;
}

.highlight-box p {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	line-height: 2;
	color: var(--color-black);
	font-weight: 400;
	margin: 0;
}

.highlight-text {
	font-weight: 700;
	border-bottom: 2px solid var(--color-accent);
	padding-bottom: 2px;
}

/* ---------- CTA ---------- */
.cta-section {
	text-align: center;
	padding: 100px 0;
}

.cta-title {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 900;
	letter-spacing: 0.05em;
	color: var(--color-black);
	margin-bottom: 50px;
	line-height: 1.6;
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 768px) {
	.hero-section { min-height: 600px; }
	.hero-lead { letter-spacing: 0.06em; }
	.news-ticker-section { padding: 80px 0; }
	.news-ticker-item {
		flex-direction: column;
		gap: 8px;
		padding: 20px 0;
	}
	.business-section { padding: 80px 0; }
	.biz-item {
		gap: 20px;
		padding: 30px 12px;
		align-items: flex-start;
	}
	.biz-arrow { display: none; }
	.philosophy-section { padding: 80px 0; }
	.problem-list li { flex-direction: column; }
	.problem-list li::before { margin-bottom: 10px; }
	.highlight-box { padding: 40px 30px; }
	.cta-section { padding: 80px 0; }
}

@media screen and (max-width: 480px) {
	.hero-section { min-height: 500px; }
}

/* ---------- モーション無効化（ヒーロー固有） ---------- */
@media (prefers-reduced-motion: reduce) {
	.hero-title .line > span,
	.hero-kicker,
	.hero-lead {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.video-background { transform: none !important; }
	.scroll-indicator::after { animation: none; }
}
