@charset "UTF-8";

/* ====================================
	ヘッダー
==================================== */

@media (min-width: 1200px) {
	.l-header.scrolled nav > ul > li >a {
		color: #fff;
	}
}
.l-header.scrolled {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(230, 230, 230, 1);
	background: var(--header-blur-bg);
}

@media (max-width: 1200px) {
	.l-header.scrolled {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border-bottom: none;
		background: none;
	}
}
/*スマホ改行*/
@media (min-width: 1200px) {
	br.sp-only {
		display: none;
	}
}

/* ====================================
	共通ベース設定
==================================== */

section:not(.hero){ margin-top: 120px; }
.text--catch strong{
	line-height: 1.6;
	font-weight: 500;
}
@media (max-width: 767px) {
	section:not(.hero){ margin-top: 80px; }
}
/* ====================================
	ヒーローエリア（左寄せテキスト版）
==================================== */
.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	color: #fff;
	text-align: left; /* ← 中央寄せを解除 */
	display: flex;
	align-items: center;
}

/* 背景動画 */
.hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 0;
}

/* 背景動画再生ボタン */
.controls {
	display: flex;
	padding: 14px 20px;
	background: rgba(255, 255, 255, .7);
	position: absolute;
	bottom: 40px;
	left: 40px;
	z-index: 3;
	align-items: center;
}
.controls #toggleBtn {
	width: 32px;
	height: 32px;
	border: 2px solid #ee7800;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 暗幕＆ぼかし */
.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	/*backdrop-filter: blur(3px);*/
	z-index: 1;
}

/* テキストラッパー */
.hero__inner {
	position: relative;
	z-index: 2;
	max-width: 100rem;
	width: 90%;
	margin-left: 8%; /* ← 左寄せの位置を調整 */
	box-sizing: border-box;
}

/* 見出し */
.hero__inner h1 {
	margin-bottom: 20px;
	font-size: 5rem;
	line-height:1.7;
	font-weight: 400;
	text-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

/* サブテキスト */
.hero__inner p {
	font-size: 2.4rem;
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	font-family: "Inter", sans-serif;
	letter-spacing: 0;
}

/* スマホ対応 */
@media (max-width: 767px) {
	.hero {
		height: 80vh;
		min-height: 480px;
	}
	.controls {
		padding: 10px 15px;
		bottom: 20px;
		left: 50%;
		transform: translateX(-50%);
	}
	.controls #toggleBtn {
		width: 25px;
		height: 25px;
	}

	.hero__inner {
		width: var(--base-w);
		margin: auto auto 0;
		padding: 0 1rem 86px;
	}

	.hero__inner h1 {
		font-size: 3.2rem;
		line-height: 1.5;
		margin-bottom: 10px;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	}

	.hero__inner p {
		font-size: 1.6rem;
		line-height: 1.6;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	}
}

/* ====================================
	私たちについて
==================================== */
.home-aboutus{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 80px 0;
}
.home-aboutus header{ width: 50%; }
.home-aboutus div{ flex: 1; }
.home-aboutus .text--catch{ font-size: 2rem; }
.home-aboutus .text--catch strong{
	display: block;
	line-height: 2;
	font-size: 4rem;
}
.home-aboutus .text--catch + p{
	margin-top: 50px;
	line-height: 1.8;
}
.home-aboutus picture { width: 100%; }
.home-aboutus picture img{
	width: 100%;
	height: auto;
}
@media (max-width: 767px) {
	.home-aboutus{ display: block; }
	.home-aboutus header{ width: 100%; }
	.home-aboutus div{ margin-top: 30px; }
	.home-aboutus .text--catch{ font-size: 1.8rem; }
	.home-aboutus .text--catch strong{
		margin-top: 10px;
		display: block;
		font-size: 2.4rem;
	}
	.home-aboutus .text--catch + p{ margin-top: 30px; }
	.home-aboutus picture { margin-top: 50px; }
}

/* ====================================
	採用情報
==================================== */
.home-recruit{
	background: url(../../img/recruit-bg.jpg) no-repeat center center / cover;
}
.home-recruit .container{
	min-height: 770px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 100px;
	color: #fff;
	position: relative;
}
.home-recruit .container div:nth-of-type(1){
	width: 50%;
	height: 100%;
	position: relative;
}
.home-recruit .container div:nth-of-type(1) img{
	height: auto;
	display: block;
	position: relative;
}
.home-recruit .container div:nth-of-type(1) img:nth-of-type(1){
	top: -20px;
	left: 80px;
	width: 44%;
}
.home-recruit .container div:nth-of-type(1) img:not(:nth-of-type(1)){
	position: absolute;
	z-index: 2;
}
.home-recruit .container div:nth-of-type(1) img:nth-of-type(2){
	top: 200px;
	left: 325px;
}
.home-recruit .container div:nth-of-type(1) img:nth-of-type(3){
	top: 350px;
	left: 90px;
}
.home-recruit .container div:nth-of-type(2){
	margin: auto 0;
	flex: 1;
	position: relative;
	top: 0;
	bottom: 0;
}
.home-recruit .text--catch{ margin-top: 30px; }
.home-recruit .text--catch strong{
	line-height: 1.6;
	font-size: 3.2rem;
}
.home-recruit header + p{
	margin-top: 40px;
	font-size: 2rem;
}
.home-recruit .button--primary{ margin-top: 40px; }
@media (max-width: 1200px) {
.home-recruit .container div:nth-of-type(1) img:nth-of-type(1){
		width: 25vw;
		left: 60px;
	}
	.home-recruit .container div:nth-of-type(1) img:not(:nth-of-type(1)){
		position: absolute;
		z-index: 2;
	}
	.home-recruit .container div:nth-of-type(1) img:nth-of-type(2){
		width: 21.67vw;
		top: 19.17vw;
		left: 26.67vw;
	}
	.home-recruit .container div:nth-of-type(1) img:nth-of-type(3){
		width: 16.67vw;
		top: 33.33vw;
		left: 6.67vw;
	}
}
@media (max-width: 900px) {
	.home-recruit{ min-height: auto; }
	.home-recruit .container div:nth-of-type(1){
		width: 100%;
		margin: 0  5.33vw;
		position: relative;
	}
	.home-recruit .container div:nth-of-type(1) img{
		display: block;
		position: relative;
	}
	.home-recruit .container div:nth-of-type(1) img:nth-of-type(1){
		width: 36vw;
		top: -20px;
	}
	.home-recruit .container div:nth-of-type(1) img:nth-of-type(2){
		width: 27vw;
		top: 29.67vw;
		left: 41.67vw;
	}
	.home-recruit .container div:nth-of-type(1) img:nth-of-type(3){
		width: 23.67vw;
		top: 51.67vw;
		left: 15.67vw;
	}
	.home-recruit .container div:nth-of-type(2){
		width: 100%;
		padding: 38vw 0 60px;
	}
	.home-recruit .text--catch{ margin-top: 25px; }
	.home-recruit .text--catch strong{
		line-height: 1.6;
		font-size: 2.2rem;
	}
	.home-recruit header + p{
		margin-top: 35px;
		font-size: 1.6rem;
	}
	.home-recruit .button--primary{ margin-top: 30px; }
}

/* ====================================
	製品紹介
==================================== */
.home-products{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 50px 100px;
}
.home-products div{ width: calc(50% - 60px); }
.home-products .text--catch{
	margin-top: 20px;
	font-size: 3.2rem;
}
.home-products header + p{
	margin-top: 50px;
	line-height: 2;
}
.home-products .button--primary{ margin-top: 35px; }
.home-products picture{
	flex: 1;
}
.home-products picture img{
	width: 100%;
	height: auto;
}
@media (max-width: 767px) {
	.home-products div{ width: 100%; }
	.home-products img{
		width: 100%;
		height: auto;
	}
	.home-products .text--catch{ margin-top: 25px; }
	.home-products .text--catch{ font-size: 2.2rem; }
	.home-products header + p{
		margin-top: 30px;
		font-size: 1.6rem;
	}
	.home-products .button--primary{ margin-top: 30px; }
}


/* ====================================
	事業紹介
==================================== */
.home-service{
	padding: 12rem 0 8rem;
	background: var(--color-base);
}
.home-service .container{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 80px;
}
.home-service header{ width: 50%; }
.home-service .container div{
	margin-top: 40px;
	flex: 1;
}
.home-service div p{ font-size: 2rem; }
.home-service div .button--primary{ margin-top: 40px; }
.home-service picture {
	width: 100%;
	margin-top: 80px;
}
.home-service picture img{
	width: 100%;
	height: auto;
}
@media (max-width: 1200px) {
	.home-service .container{ gap: 0; }
}
@media (max-width: 767px) {
	.home-service{ padding: 50px 0 40px; }
	.home-service div{
		width: 100%;
		margin-top: 30px;
	}
	.home-service div p{ font-size: 1.6rem; }
	.home-service header{ width:100%; }
}

/* ====================================
	お知らせ
==================================== */
.home-news div{
	margin-top: 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px;
}
.home-news ul{ width: calc(100% - 26rem - 40px); }
.home-news ul li{
	position: relative;
}
.home-news ul:not(first-child){ border-bottom: 1px solid var(--color-border); }
.home-news ul li::after{
	content: "";
	width: 2rem;
	height: 16px;
	margin: auto 0;
	background:var(--color-primary);
	mask-position: center center;
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-image: url(../img/icon-arrow.svg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2rem;
}
.home-news ul li{
	padding: 25px 9rem 25px 2rem;
	display: block;
	border-top: 1px solid var(--color-border);
	cursor: pointer;
	transition: all .3s ease;
}
.home-news ul li:hover{ border-color:var(--color-main); background: #fff7eb; }
.home-news ul li time,
.home-news ul li .label-cate,
.home-news ul li p{ font-size: 1.4rem; }
.home-news ul li time,
.home-news ul li p{
	color: var(--color-subtext);
	font-size: 1.4rem;
}
.home-news ul li .label-cate{
	min-width: 98px;
	height: 30px;
	margin-left: 2rem;
	padding: 5px 1.5rem;
	border-radius: 100vmax;
	display: inline-block;
	line-height: 1.3;
	background: var(--color-secondary);
}
.home-news ul li h3{
	margin-top: 12px;
	line-height: 1.8;
	font-size: 1.6rem;
	font-weight: 400;
}
.home-news ul li h3 a{ color: var(--color-text); }
.home-news ul li p{
	margin-top: 5px;
	line-height: 1.8;
}
.home-news .button--primary { min-width: 26rem; }
@media (max-width: 767px) {
	.home-news { gap: 30px; }
	.home-news div{
		margin-top: 30px;
		flex-direction: column-reverse;
	}
	.home-news ul { width: 100%; }
	.home-news ul li{ padding: 20px 4.5rem 30px 0; }
	.home-news ul li::after{ right: 0; }
	.home-news ul li time,
	.home-news ul li p,
	.home-news ul li .label-cate{ font-size: 1.2rem; }
	.home-news ul li .label-cate{ line-height: unset; }
	.home-news ul li h3{ font-size: 1.4rem; }
	.home-news .button--primary { min-width: 24rem; }
}

/* ====================================
	企業情報リンク
==================================== */
.home-company{
	margin-top: 120px;
	padding: 40px 0;
	background: var(--color-base);
}
.home-company ul{
	display: flex;
	flex-wrap: wrap;
	gap: 1.56vw;
}
.home-company ul li{
	width: calc(100% / 3 - 1.04vw);
	max-width: 380px;
}
.home-company ul .button--primary{
	width: 100%;
	min-width: auto;
	min-height: 15rem;
	padding: 0 1.56vw;
	letter-spacing: -.02em;
	font-size: 3.2rem;
	font-weight: 500;
	background: linear-gradient(90deg, rgba(91, 199, 252, 1) 0%, rgba(29, 169, 240, 1) 100%);
}
.home-company ul a::after{
	top: auto;
	bottom: 15px;
	right: 2rem;
}
.home-company ul a:hover{ opacity: .7; }
.home-company ul a:hover::after{ right: 1.5rem; }
.home-company ul a span span{
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1;
	font-family: var(--font-eng);
	font-size: 1.6rem;
}
.home-company ul a span span::before{
	content: "";
	width: 20px;
	height: 2px;
	background: var(--color-text);
}
@media (max-width: 1200px) {
	.home-company ul .button--primary{
		min-height: 120px;
		font-size: 2.2rem;
	}
}
@media (max-width: 767px) {
	.home-company{ margin-top: 60px; }
	.home-company ul li{ min-width: 100%; }
	.home-company ul .button--primary{
		min-height: 126px;
		padding: 15px 0 15px 2rem;
		font-size: 2.8rem;
	}
	.home-company ul a::after{ right: 1.5rem; }
	.home-company ul a span span{ font-size: 1.4rem; }
}
