/*
 * /cockroach/lp/invasion/ 専用スタイル
 * - .inv-* prefix で既存LP CSSと非干渉
 * - LCP最適化: critical部分は冒頭に集約
 * - LP特性: 広告ランディング、noindex、CV重視
 * 作成: 2026-04-27
 */

/* ===================================================== */
/* リセット (ベースCSSの上書き) */
/* ===================================================== */
.lp-invasion {
	font-family: 'Hiragino Sans', 'Yu Gothic', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-text-size-adjust: 100%;
	color: #1a2230;
	background: #ffffff;
	line-height: 1.7;
}
.lp-invasion img,
.lp-invasion picture {
	max-width: 100%;
	height: auto;
	display: block;
}
.lp-invasion a {
	color: inherit;
	text-decoration: none;
}
.lp-invasion .pc-only { display: inline; }
.lp-invasion .sp-only { display: none; }
@media (max-width: 768px) {
	.lp-invasion .pc-only { display: none; }
	.lp-invasion .sp-only { display: inline; }
}

/* 隠しh1 (SEO/A11y用、視覚的には非表示) */
.inv-header-h1 {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* ===================================================== */
/* [1] FV ヒーロー (LCP最優先、Critical CSS) */
/* ===================================================== */
.inv-fv {
	background:
		linear-gradient(90deg, rgba(7, 22, 42, 0.92) 0%, rgba(11, 42, 73, 0.86) 48%, rgba(15, 52, 96, 0.70) 100%),
		url("../../images-lp/why2.jpg.webp") center center / cover no-repeat;
	color: #fff;
	padding: 42px 16px 48px;
	position: relative;
	overflow: hidden;
	border-top: 4px solid #e6192a;
}
.inv-fv__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
}
.inv-fv__body {
	min-width: 0;
}
.inv-fv__logo {
	width: min(260px, 72vw);
	height: auto;
	margin: 0 0 18px;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
.inv-fv__visual {
	min-width: 0;
}
.inv-fv__visual picture,
.inv-fv__img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(0,0,0,0.38);
	border: 1px solid rgba(255,255,255,0.35);
	background: #fff;
}
.inv-fv__visual-caption {
	margin: 10px 0 0;
	font-size: 12px;
	font-weight: 700;
	color: rgba(255,255,255,0.88);
	text-align: right;
	text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* プレースホルダー (本番FV画像配置後に削除予定) */
.inv-fv__placeholder {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
	background: linear-gradient(135deg, #1a4480 0%, #0f3460 100%);
	overflow: hidden;
	position: relative;
}
.inv-fv__placeholder svg {
	display: block;
	width: 100%;
	height: auto;
}
.inv-fv__placeholder-note {
	position: absolute;
	bottom: 8px;
	right: 12px;
	font-size: 10px;
	color: rgba(255,255,255,0.5);
	margin: 0;
	background: rgba(0,0,0,0.3);
	padding: 2px 8px;
	border-radius: 4px;
}

.inv-fv__label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 4px 12px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 99px;
	margin-bottom: 14px;
}
.inv-fv__h1 {
	font-size: 32px;
	font-weight: 900;
	line-height: 1.35;
	margin: 0 0 16px;
	letter-spacing: 0.5px;
	text-shadow: 0 3px 18px rgba(0,0,0,0.42);
}
.inv-fv__strong {
	color: #ffd246;
	font-size: 1.05em;
}
.inv-fv__lead {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 22px;
	opacity: 0.95;
	text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.inv-fv__trust {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 0;
	margin: 0 0 24px;
}
.inv-fv__trust li {
	background: rgba(6,18,34,0.46);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 8px;
	padding: 10px 8px;
	text-align: center;
	backdrop-filter: blur(2px);
}
.inv-fv__num {
	display: block;
	font-size: 22px;
	font-weight: 900;
	color: #ffd246;
	line-height: 1.1;
}
.inv-fv__num small {
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	opacity: 0.85;
	display: block;
	margin-top: 2px;
}
.inv-fv__lbl {
	display: block;
	font-size: 11px;
	color: #fff;
	opacity: 0.8;
	margin-top: 4px;
}

.inv-fv__cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.inv-fv__tel,
.inv-fv__form {
	display: block;
	padding: 16px 14px;
	border-radius: 10px;
	text-align: center;
	font-weight: 700;
	transition: transform 0.15s, box-shadow 0.15s;
	cursor: pointer;
}
.inv-fv__tel {
	background: linear-gradient(135deg, #ff5864, #ff3b48);
	color: #fff;
	box-shadow: 0 4px 12px rgba(255, 88, 100, 0.4);
}
.inv-fv__form {
	background: linear-gradient(135deg, #4cd964, #34c759);
	color: #fff;
	box-shadow: 0 4px 12px rgba(76, 217, 100, 0.4);
}
.inv-fv__tel:hover,
.inv-fv__form:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.inv-fv__cta-lbl {
	display: block;
	font-size: 12px;
	opacity: 0.9;
}
.inv-fv__cta-num {
	display: block;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 1px;
	margin-top: 2px;
}
.inv-fv__cta-sub {
	display: block;
	font-size: 11px;
	opacity: 0.85;
	margin-top: 2px;
}
.inv-fv__note {
	font-size: 11px;
	opacity: 0.7;
	margin: 14px 0 0;
}

/* FV モバイル */
@media (max-width: 768px) {
	.inv-fv {
		padding: 22px 14px 26px;
		background:
			linear-gradient(180deg, rgba(7, 22, 42, 0.92) 0%, rgba(11, 42, 73, 0.88) 100%),
			url("../../images-lp/why2.jpg.webp") center center / cover no-repeat;
	}
	.inv-fv__inner {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.inv-fv__visual { order: -1; }
	.inv-fv__logo { width: 210px; margin-bottom: 12px; }
	.inv-fv__h1 { font-size: 22px; line-height: 1.4; }
	.inv-fv__lead { font-size: 14px; }
	.inv-fv__trust { grid-template-columns: repeat(2, 1fr); }
	.inv-fv__num { font-size: 18px; }
	.inv-fv__cta { grid-template-columns: 1fr; }
	.inv-fv__cta-num { font-size: 20px; }
}

/* ===================================================== */
/* セクション共通 */
/* ===================================================== */
.inv-section {
	padding: 56px 16px;
	background: #fff;
}
.inv-section:nth-of-type(even) {
	background: #f5f7fa;
}
.inv-problem,
.inv-cases {
	background:
		linear-gradient(180deg, rgba(245,247,250,0.94), rgba(245,247,250,0.94)),
		url("../../images-lp/bg_nayami.jpg.webp") center center / cover no-repeat;
}
.inv-section__inner {
	max-width: 1100px;
	margin: 0 auto;
}
.inv-section__h2 {
	font-size: 28px;
	font-weight: 900;
	color: #0f3460;
	text-align: center;
	margin: 0 0 16px;
	line-height: 1.4;
	position: relative;
	padding-bottom: 14px;
}
.inv-section__h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #ff5864, #ffd246);
	border-radius: 2px;
	margin: 14px auto 0;
}
.inv-section__lead {
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
	color: #4a5568;
	max-width: 800px;
	margin: 0 auto 32px;
}
@media (max-width: 768px) {
	.inv-section { padding: 40px 14px; }
	.inv-section__h2 { font-size: 22px; }
	.inv-section__lead { font-size: 14px; }
}

/* ===================================================== */
/* [2] 問題提起 */
/* ===================================================== */
.inv-problem__list {
	list-style: none;
	padding: 0;
	margin: 32px 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.inv-problem__list > li {
	background: #fff;
	border-radius: 8px;
	padding: 0 0 20px;
	box-shadow: 0 10px 28px rgba(15, 52, 96, 0.10);
	border-top: 4px solid #ff5864;
	overflow: hidden;
}
.inv-problem__photo {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #e9eef5;
	border-bottom: 1px solid #e2e8f0;
}
.inv-problem__list h3 {
	font-size: 17px;
	font-weight: 700;
	color: #0f3460;
	margin: 18px 18px 10px;
	line-height: 1.4;
}
.inv-problem__list p {
	font-size: 14px;
	color: #4a5568;
	margin: 0 18px;
	line-height: 1.7;
}
.inv-problem__conclusion {
	text-align: center;
	font-size: 18px;
	color: #0f3460;
	background: #fff8e1;
	border-radius: 8px;
	padding: 16px;
	margin: 32px 0 0;
	border-left: 4px solid #ffd246;
}
@media (max-width: 768px) {
	.inv-problem__list { grid-template-columns: 1fr; gap: 14px; }
}

/* ===================================================== */
/* [3] 侵入経路チェック (8グリッド) */
/* ===================================================== */
.inv-routes__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.inv-routes__grid > li {
	background: #fff;
	border-radius: 8px;
	padding: 0 0 16px;
	box-shadow: 0 10px 28px rgba(15, 52, 96, 0.10);
	position: relative;
	transition: transform 0.15s;
	overflow: hidden;
}
.inv-routes__grid > li:hover { transform: translateY(-2px); }
.inv-routes__num {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	font-size: 11px;
	font-weight: 900;
	color: #fff;
	background: #ff5864;
	padding: 3px 8px;
	border-radius: 4px;
	letter-spacing: 1px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.24);
}
.inv-routes__photo {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #e9eef5;
	border-bottom: 1px solid #e2e8f0;
}
.inv-routes__grid h3 {
	font-size: 15px;
	font-weight: 700;
	color: #0f3460;
	margin: 14px 14px 8px;
}
.inv-routes__grid p {
	font-size: 13px;
	color: #4a5568;
	margin: 0 14px;
	line-height: 1.6;
}
.inv-routes__note {
	text-align: center;
	font-size: 12px;
	color: #718096;
	margin: 24px 0 0;
}
@media (max-width: 768px) {
	.inv-routes__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.inv-routes__grid { grid-template-columns: 1fr; }
}

/* ===================================================== */
/* CTA中段 */
/* ===================================================== */
.inv-cta-mid {
	background: linear-gradient(135deg, #0f3460, #1a4480);
	padding: 32px 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 800px;
	margin: 0 auto;
}
.inv-cta-mid__tel,
.inv-cta-mid__form {
	display: block;
	padding: 16px;
	border-radius: 10px;
	text-align: center;
	color: #fff;
	font-weight: 700;
	transition: transform 0.15s;
}
.inv-cta-mid__tel { background: linear-gradient(135deg, #ff5864, #ff3b48); }
.inv-cta-mid__form { background: linear-gradient(135deg, #4cd964, #34c759); }
.inv-cta-mid__tel:hover,
.inv-cta-mid__form:hover { transform: translateY(-2px); }
.inv-cta-mid__tel span,
.inv-cta-mid__form span {
	display: block;
	font-size: 12px;
	opacity: 0.9;
}
.inv-cta-mid__tel strong,
.inv-cta-mid__form strong {
	display: block;
	font-size: 22px;
	margin-top: 4px;
	font-weight: 900;
}
@media (max-width: 768px) {
	.inv-cta-mid { grid-template-columns: 1fr; padding: 24px 14px; }
}

/* ===================================================== */
/* [4] プロ施工フロー */
/* ===================================================== */
.inv-flow__list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
	counter-reset: flow;
}
.inv-flow__list > li {
	background: #fff;
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: start;
	border-left: 4px solid #ffd246;
}
.inv-flow__step {
	font-size: 12px;
	font-weight: 900;
	color: #fff;
	background: #0f3460;
	padding: 6px 12px;
	border-radius: 6px;
	letter-spacing: 1px;
	white-space: nowrap;
}
.inv-flow__list h3 {
	font-size: 17px;
	font-weight: 700;
	color: #0f3460;
	margin: 0 0 8px;
}
.inv-flow__list p {
	font-size: 14px;
	color: #4a5568;
	margin: 0;
	line-height: 1.7;
}
@media (max-width: 768px) {
	.inv-flow__list > li { grid-template-columns: 1fr; padding: 18px 16px; gap: 10px; }
}

/* ===================================================== */
/* [5] 建物別対策 */
/* ===================================================== */
.inv-buildings__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin: 32px 0 0;
}
.inv-buildings__item {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.inv-buildings__item h3 {
	font-size: 17px;
	font-weight: 700;
	color: #ff5864;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f5f7fa;
}
.inv-buildings__item p {
	font-size: 14px;
	color: #4a5568;
	margin: 0;
	line-height: 1.7;
}
@media (max-width: 768px) {
	.inv-buildings__grid { grid-template-columns: 1fr; }
}

/* ===================================================== */
/* [6] 施工事例 */
/* ===================================================== */
.inv-cases__list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
}
.inv-cases__list > li {
	background: #fff;
	border-radius: 8px;
	padding: 0;
	margin-bottom: 18px;
	box-shadow: 0 12px 30px rgba(15, 52, 96, 0.11);
	border-left: 4px solid #4cd964;
	overflow: hidden;
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: stretch;
}
.inv-cases__photo {
	width: 100%;
	height: 100%;
	min-height: 190px;
	object-fit: cover;
	background: #e9eef5;
}
.inv-cases__meta {
	font-size: 12px;
	color: #718096;
	margin: 22px 24px 8px;
}
.inv-cases__list h3 {
	font-size: 16px;
	font-weight: 700;
	color: #0f3460;
	margin: 0 24px 10px;
}
.inv-cases__list p {
	font-size: 14px;
	color: #4a5568;
	margin: 0 24px 22px;
	line-height: 1.7;
}
@media (max-width: 768px) {
	.inv-cases__list > li { grid-template-columns: 1fr; }
	.inv-cases__photo { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ===================================================== */
/* [7] 料金 */
/* ===================================================== */
.inv-pricing__grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 32px;
	background: #fff;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin: 32px 0 0;
}
.inv-pricing__main {
	text-align: center;
	padding-right: 28px;
	border-right: 2px solid #f5f7fa;
}
.inv-pricing__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	margin-bottom: 8px;
}
.inv-pricing__num {
	font-size: 48px;
	font-weight: 900;
	color: #ff5864;
	line-height: 1;
}
.inv-pricing__unit {
	font-size: 20px;
	color: #ff5864;
	font-weight: 700;
	margin-left: 4px;
}
.inv-pricing__caption {
	font-size: 14px;
	color: #4a5568;
	margin: 0 0 8px;
}
.inv-pricing__note {
	font-size: 11px;
	color: #718096;
	margin: 0;
	line-height: 1.6;
}
.inv-pricing__features {
	list-style: none;
	padding: 0;
	margin: 0;
}
.inv-pricing__features li {
	padding: 10px 0;
	border-bottom: 1px dashed #e2e8f0;
	font-size: 14px;
	color: #4a5568;
}
.inv-pricing__features li:last-child { border-bottom: none; }
@media (max-width: 768px) {
	.inv-pricing__grid {
		grid-template-columns: 1fr;
		padding: 22px;
	}
	.inv-pricing__main {
		padding-right: 0;
		padding-bottom: 22px;
		border-right: none;
		border-bottom: 2px solid #f5f7fa;
		margin-bottom: 16px;
	}
}

/* ===================================================== */
/* [8] FAQ */
/* ===================================================== */
.inv-faq__list {
	margin: 32px 0 0;
}
.inv-faq__item {
	background: #fff;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.inv-faq__item dt {
	font-size: 16px;
	font-weight: 700;
	color: #0f3460;
	padding-left: 28px;
	position: relative;
	margin-bottom: 10px;
}
.inv-faq__item dt::before {
	content: 'Q.';
	position: absolute;
	left: 0;
	color: #ff5864;
	font-weight: 900;
}
.inv-faq__item dd {
	font-size: 14px;
	color: #4a5568;
	line-height: 1.8;
	padding-left: 28px;
	margin: 0;
	position: relative;
}
.inv-faq__item dd::before {
	content: 'A.';
	position: absolute;
	left: 0;
	color: #4cd964;
	font-weight: 900;
}

/* ===================================================== */
/* [9] 会社情報 */
/* ===================================================== */
.inv-company__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 32px 0 0;
}
.inv-company__grid dl {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin: 0;
}
.inv-company__grid dt {
	font-size: 12px;
	font-weight: 700;
	color: #718096;
	letter-spacing: 0.5px;
	margin-top: 12px;
}
.inv-company__grid dt:first-child { margin-top: 0; }
.inv-company__grid dd {
	font-size: 14px;
	color: #1a2230;
	margin: 4px 0 0;
	line-height: 1.7;
}
.inv-company__grid dd strong { color: #ff5864; }
@media (max-width: 768px) {
	.inv-company__grid { grid-template-columns: 1fr; }
}

/* ===================================================== */
/* 信頼バナー */
/* ===================================================== */
.inv-trust-banners {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px;
	text-align: center;
}
.inv-trust-banners .embedsocial-reviews {
	margin-top: 18px;
}
