@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* ==========================================================================
   デザイントークン
   ロゴの水色を基調に、ネイビーと薄い青灰色を組み合わせる
   ========================================================================== */
:root {
	--c-main: #00a0e9;
	--c-main-dark: #0079b8;
	--c-main-light: #5fd0ff;
	--c-navy: #0a2342;
	--c-navy-deep: #06182e;
	--c-ink: #14263b;
	--c-text: #44546a;
	--c-bg: #f2f7fb;
	--c-line: #dbe6ef;
	--maxw: 1120px;
	/* セクション左右の余白。画面が広いときはコンテンツ幅を maxw に収める */
	--gutter: max(20px, calc((100% - var(--maxw)) / 2));
	--header-h: 60px;
	/* ヒーロー下端の斜めの高さと、動画カードがヒーローに重なる量（動画エリアの背景と位置を合わせるため共通化） */
	--mv-slope: 28px;
	--movie-overlap: 64px;
	--radius: 12px;
	--shadow: 0 12px 36px rgba(10, 35, 66, 0.10);
	--en: "Montserrat", "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   ベース
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--c-text);
	font-family: "Noto Sans JP", sans-serif;
	-webkit-font-smoothing: antialiased;
}
::selection {
	background: var(--c-main);
	color: #fff;
}
.wrap {
	background: #FFF;
	/* 動画エリアの背景（z-index:-1）を、白背景の上・ヒーローの下に置くための指定 */
	isolation: isolate;
}
img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
a:focus-visible,
video:focus-visible {
	outline: 3px solid var(--c-main-light);
	outline-offset: 3px;
}

.noto_min {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	line-height: 1.5;
}
.noto_go {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.95;
	color: var(--c-text);
}


/* ==========================================================================
   ヘッダー / フッター
   ========================================================================== */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	background: rgba(6, 24, 46, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	z-index: 1000;
}
header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--c-main), rgba(0, 160, 233, 0) 70%);
}
header div.logo {
	width: clamp(150px, 42vw, 190px);
}
header img.logo {
	display: block;
	width: 100%;
}

footer {
	padding: 32px 20px;
	background: var(--c-navy-deep);
	border-top: 3px solid var(--c-main);
	display: flex;
	justify-content: center;
	align-items: center;
}
footer .foot {
	font-family: var(--en);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
}


/* ==========================================================================
   メインビジュアル
   ========================================================================== */
.mv {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	min-height: 520px;
	height: 92vh;
	height: 92svh;
	max-height: 760px;
	color: #FFF;
	background:
		linear-gradient(180deg, rgba(6, 24, 46, 0.55) 0%, rgba(6, 24, 46, 0.40) 40%, rgba(6, 24, 46, 0.88) 100%),
		url(./images/mv.jpg) 62% center / cover no-repeat;
	/* 下端を斜めに切り落とす */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--mv-slope)), 0 100%);
}
/* 斜めのストライプ装飾 */
.mv::before,
.mv::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.mv::before {
	background: linear-gradient(180deg, rgba(0, 160, 233, 0.34), rgba(0, 160, 233, 0.10));
	clip-path: polygon(74% 0, 88% 0, 58% 100%, 44% 100%);
}
.mv::after {
	background: rgba(255, 255, 255, 0.14);
	clip-path: polygon(90% 0, 93% 0, 63% 100%, 60% 100%);
}
.mv .info {
	position: relative;
	z-index: 2;
	width: 100%;
	/* スマホ：ヘッダー下〜動画カードに重なる手前（下 64px）の範囲で上下中央に置く */
	padding: var(--header-h) var(--gutter) 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mv .info .catch {
	font-size: clamp(24px, 6.2vw, 46px);
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.mv .info .catch::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-bottom: 14px;
	background: var(--c-main);
}
.mv .info div.logos {
	width: min(100%, clamp(200px, 50vw, 380px));
	margin: 10px 0 18px;
}
.mv .info img.logos {
	display: block;
	width: 100%;
	filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
}
.mv .info .desc {
	padding-left: 14px;
	border-left: 3px solid var(--c-main);
	font-size: clamp(13.5px, 1.5vw, 17px);
	line-height: 1.9;
	letter-spacing: 0.08em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   セクション見出し（共通）
   ========================================================================== */
.lead .eng {
	font-family: var(--en);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	line-height: 1.6;
	color: var(--c-main-dark);
}
.lead .jp {
	margin: 4px 0 0;
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	color: var(--c-ink);
}
.lead .jp::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 18px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--c-main), var(--c-main-light));
}


/* ==========================================================================
   動画
   ========================================================================== */
.movie {
	position: relative;
	margin-top: calc(-1 * var(--movie-overlap));
	padding: 0 var(--gutter);
}
/* 動画エリアの背景：mv2.jpg（天井のダクト配管）を薄く敷く。
   上端はヒーロー下端の斜めの切れ目の下まで潜り込ませ（ヒーローより背面）、境目に隙間が出ないようにする。
   下端は白へ溶かし、次のセクションへ自然につなぐ */
.movie::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: calc(var(--movie-overlap) - var(--mv-slope) - 2px);
	bottom: -56px;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.84) 65%, #FFF 100%),
		url(./images/mv2.jpg) center / cover no-repeat;
}
.movie .videowrap {
	position: relative;
	z-index: 3;
	max-width: 960px;
	margin: 0 auto;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
	box-shadow: 0 24px 60px rgba(6, 24, 46, 0.35);
	line-height: 0;
}
.movie .videowrap video {
	display: block;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}
/* スクロール連動の表示：最初は非表示で、main.js が .is-visible を付けると下からフェードインする。
   JS無効時は index.html の noscript 内スタイルで常時表示にする */
.movie .videowrap {
	opacity: 0;
	visibility: hidden;
	transform: translateY(56px);
	transition:
		opacity 0.9s ease,
		transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0.9s;
}
.movie.is-visible .videowrap {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}


/* ==========================================================================
   事業概要
   ========================================================================== */
.overview {
	padding: clamp(64px, 9vw, 112px) var(--gutter);
}
.overview .content1 {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 40px;
}
.overview .content1 .img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: url(./images/business-4.jpeg) center / cover no-repeat;
	box-shadow: 14px 14px 0 rgba(0, 160, 233, 0.16);
}
.overview .content1 .txt {
	margin: 0;
	font-size: 15.5px;
}
.overview .content2 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 48px;
}
.overview .content2 .img {
	overflow: hidden;
	border-radius: 8px;
}
.overview .content2 .img img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.overview .content2 .img:hover img {
	transform: scale(1.06);
}


/* ==========================================================================
   事業内容 / メッセージ / 施工実績
   .service の中に3つのブロックが入っている構造
   ========================================================================== */
.service > .lead {
	padding: clamp(64px, 9vw, 112px) var(--gutter);
	background: var(--c-bg);
}
.service .content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 44px;
}
.service .content > .content1,
.service .content > .content2 {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: #FFF;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service .content > .content1:hover,
.service .content > .content2:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 44px rgba(10, 35, 66, 0.16);
}
.service .content .img {
	aspect-ratio: 16 / 10;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 0;
}
.service .content > .content1 .img {
	background-image: url(./images/service-1.jpeg?nc=7231229);
}
.service .content > .content2 .img {
	background-image: url(./images/service-2.jpeg);
}
.service .content .txt {
	flex: 1;
	margin: 0;
	padding: 28px 24px 32px;
	font-size: 15px;
}
.service .txt h3 {
	margin: 0 0 14px;
	padding-left: 14px;
	border-left: 4px solid var(--c-main);
	font-size: clamp(19px, 2.4vw, 23px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-ink);
}

/* メッセージ */
.service .message {
	padding: clamp(64px, 9vw, 112px) var(--gutter);
	background: #FFF;
}
.service .message .content1 {
	margin-top: 44px;
}
.service .message .content1 .txt {
	margin: 0;
	font-size: 15.5px;
}
.service .message .around {
	margin-bottom: 28px;
}
.service .message .around img {
	display: block;
	width: 100%;
	max-width: 340px;
	aspect-ratio: 1 / 1.1;
	object-fit: cover;
	object-position: center top;
	border-radius: var(--radius);
	box-shadow: 14px 14px 0 rgba(0, 160, 233, 0.16);
}
.service .message .content1 .txt p {
	margin: 0 0 1.6em;
	line-height: 2;
}
.service .message .content1 .txt p:first-of-type {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-line);
	font-size: 1.05em;
	font-weight: 700;
	color: var(--c-ink);
}

/* 施工実績 */
.service .construction {
	padding: clamp(56px, 8vw, 96px) var(--gutter);
	background: var(--c-bg);
}
.service .construction .content1 .txt {
	margin: 0;
}
.service .construction .sub {
	margin-bottom: 32px;
	padding-left: 16px;
	border-left: 5px solid var(--c-main);
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-ink);
}
.service .construction .cstyr {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.service .construction .cstyr ul {
	margin: 0;
	padding: 28px 24px 16px;
	list-style: none;
	border-radius: var(--radius);
	background: #FFF;
	box-shadow: var(--shadow);
}
.service .construction .cstyr li {
	position: relative;
	padding: 12px 0 12px 22px;
	border-bottom: 1px dashed var(--c-line);
	font-size: 15px;
	line-height: 1.7;
}
.service .construction .cstyr li:last-child {
	border-bottom: 0;
}
.service .construction .cstyr li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 1.2em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-main);
}
.service .construction .cstyr li.cstresult {
	display: inline-block;
	margin-bottom: 8px;
	padding: 2px 18px;
	border-bottom: 0;
	border-radius: 999px;
	background: var(--c-navy);
	font-size: 15px;
	font-weight: 700;
	color: #FFF;
}
.service .construction .cstyr li.cstresult::before {
	display: none;
}


/* ==========================================================================
   採用情報
   ========================================================================== */
.recruit {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 9vw, 104px) var(--gutter);
	background: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy) 60%, #0d3a66);
	color: #FFF;
}
.recruit::before,
.recruit::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	pointer-events: none;
}
.recruit::before {
	right: 8%;
	width: 16%;
	background: rgba(0, 160, 233, 0.16);
	clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%);
}
.recruit::after {
	right: 4%;
	width: 5%;
	background: rgba(255, 255, 255, 0.07);
	clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%);
}
.recruit .lead {
	position: relative;
	z-index: 1;
}
.recruit .lead .eng {
	color: var(--c-main-light);
}
.recruit .lead .jp {
	color: #FFF;
}
.recruit .content1 .txt {
	max-width: 720px;
	margin: 32px 0 0;
	font-size: 15.5px;
	color: rgba(255, 255, 255, 0.9);
}
.recruit .content1 .txt a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 16px 34px;
	border-radius: 999px;
	background: var(--c-main);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	color: #FFF;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.recruit .content1 .txt a::after {
	content: "";
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}
.recruit .content1 .txt a:hover {
	background: #FFF;
	color: var(--c-main-dark);
}
.recruit .content1 .txt a:hover::after {
	transform: translateX(4px) rotate(45deg);
}


/* ==========================================================================
   会社概要
   ========================================================================== */
.company {
	padding: clamp(64px, 9vw, 112px) var(--gutter);
	background: #FFF;
}
.company .content1 {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 44px;
}
.company .content1 .img {
	position: relative;
	height: 300px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-bg);
	box-shadow: var(--shadow);
}
.company .content1 .img iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.company .content1 .txt {
	margin: 0;
	font-size: 15px;
}
/* 「項目名：」と値を2列で並べる。値の先頭にある全角スペースは text-indent で打ち消す */
.company .content1 .txt p {
	display: grid;
	grid-template-columns: 7.5em 1fr;
	gap: 0 12px;
	margin: 0;
	padding: 16px 4px;
	border-bottom: 1px solid var(--c-line);
	line-height: 1.8;
	text-indent: -1em;
}
.company .content1 .txt p:first-child {
	border-top: 1px solid var(--c-line);
}
.company .content1 .txt p strong {
	text-indent: 0;
	font-weight: 700;
	color: var(--c-ink);
}


/* ==========================================================================
   タブレット・PC（800px以上）
   ========================================================================== */
@media screen and (min-width: 800px) {
	:root {
		--header-h: 72px;
		--mv-slope: 56px;
		--movie-overlap: 96px;
	}
	header div.logo {
		width: 200px;
	}
	footer .foot {
		font-size: 12px;
	}

	.mv {
		background:
			linear-gradient(90deg, rgba(6, 24, 46, 0.90) 0%, rgba(6, 24, 46, 0.58) 46%, rgba(6, 24, 46, 0.10) 100%),
			linear-gradient(180deg, rgba(6, 24, 46, 0) 55%, rgba(6, 24, 46, 0.55) 100%),
			url(./images/mv.jpg) 62% center / cover no-repeat;
	}
	/* PC：左下に寄せる */
	.mv .info {
		justify-content: flex-end;
		padding-top: calc(var(--header-h) + 24px);
		padding-bottom: 136px;
	}
	.mv .info .catch::before {
		width: 56px;
		margin-bottom: 18px;
	}

	.overview .content1 {
		flex-direction: row;
		align-items: stretch;
		gap: 56px;
		margin-top: 48px;
	}
	.overview .content1 .img {
		flex: 0 0 44%;
		width: auto;
		aspect-ratio: auto;
		min-height: 420px;
	}
	.overview .content1 .txt {
		flex: 1;
		font-size: 16px;
	}
	.overview .content2 {
		gap: 24px;
		margin-top: 64px;
	}
	.overview .content2 .img img {
		aspect-ratio: 4 / 3;
	}

	.service .content {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
		margin-top: 52px;
	}
	.service .content .txt {
		padding: 32px 32px 36px;
		font-size: 15.5px;
	}

	.service .message .content1 {
		margin-top: 52px;
	}
	.service .message .content1 .txt {
		font-size: 16px;
	}
	/* 写真を左列に固定し、本文は右列に縦に並べる */
	.service .message .content1 .txt {
		display: grid;
		grid-template-columns: 340px 1fr;
		column-gap: 56px;
		align-items: start;
	}
	.service .message .around {
		grid-column: 1;
		grid-row: 1 / span 12;
		position: sticky;
		top: calc(var(--header-h) + 24px);
		margin: 4px 0 0;
	}
	.service .message .around img {
		max-width: none;
	}
	.service .message .content1 .txt p {
		grid-column: 1.5;
	}

	.service .construction .cstyr {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.service .construction .cstyr ul {
		padding: 32px 32px 20px;
	}

	.recruit .content1 .txt {
		font-size: 16px;
	}

	.company .content1 {
		flex-direction: row;
		align-items: stretch;
		gap: 56px;
		margin-top: 52px;
	}
	.company .content1 .img {
		flex: 0 0 46%;
		height: auto;
		min-height: 400px;
	}
	.company .content1 .txt {
		flex: 1;
		font-size: 16px;
	}
}


/* ==========================================================================
   動きを減らす設定のユーザー向け
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
