@charset "utf-8";

/*=====================================
top.css
=====================================*/

/*-------------------------------------
	mv
-------------------------------------*/
.topMv {
	position: relative;
	z-index: 1;
}
.topMvTitle {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-left: clamp(50px, -7.303px + 7.452vw, 100px);
	color: #fff;
	line-height: 1.2;
	transform: translateY(-50%);
}
.topMvTitle h1 {
	font-size: clamp(60px, 48.539px + 1.49vw, 70px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
	line-height: 1.4;
}
.topMvTitle p {
	font-size: clamp(18px, 14.183px + 1.018vw, 22px);
	letter-spacing: 0.1em;
	line-height: var(--height-textA);
}
.topMvPic {
	position: relative;
	height: 870px;
}
.topMvSlider {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.topMvSlide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s ease;
	pointer-events: none;
}
.topMvSlide.is-active {
	opacity: 1;
	pointer-events: auto;
}
/* スライド画像の上に薄い黒を重ねる（タイトルより下・画像より上） */
.topMvPic::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.3);
	pointer-events: none;
}
.topMvPic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.topMvDots {
	position: absolute;
	right: clamp(20px, -7.303px + 3.452vw, 50px);
	bottom: 30px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
}
.topMvDots button {
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}
.topMvDots button.is-active {
	background: #fff;
	transform: scale(1.15);
}


/*-------------------------------------
	product
-------------------------------------*/
.topProductCatch {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-bottom: 45px;
}
.topProductCatch .catchTitle {
	font-size: clamp(30px, 13.955px + 2.086vw, 44px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
}
.topProductCatch .catchText {
	width: 90%;
	margin-left: auto;
	font-size: clamp(17px, 13.562px + 0.447vw, 20px);
	letter-spacing: var(--spacing-textA);
	line-height: var(--height-textB);
}
.topProductMenu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
.topProductMenu .menuItem figure {
	position: relative;
	margin-bottom: 30px;
}
.topProductMenu .menuItem figure a {
	display: block;
}
.topProductMenu .menuItem figure img {
	display: block;
	width: 100%;
}
.topProductMenu .menuItem figcaption {
	position: absolute;
	top: 50%;
	left: 40px;
	color: #fff;
	font-size: 26px;
	letter-spacing: var(--spacing-textA);
	transform: translateY(-50%);
}
.topProductMenu .menuItem h3 {
	margin-bottom: 15px;
	padding-right: 40px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
}
.topProductMenu .menuItem p {
	margin-bottom: 30px;
	padding-right: 40px;
	line-height: var(--height-textB);
}


/*-------------------------------------
	Strengths
-------------------------------------*/
.topStrengths {
	display: grid;
	grid-template-columns: 45% 1fr;
	align-items: center;
	gap: 30px;
}
.topStrengths .unitList {
	display: flex;
	flex-direction: column;
}
.topStrengths .unitList .listItem {
	padding: 25px 10px 25px 35px;
}
.topStrengths .unitList .listItem + .listItem {
	border-top: 1px solid var(--border-gray);
}
.topStrengths .unitList .listItem h4 {
	margin-bottom: 3px;
	font-size: clamp(18px, 13.416px + 0.596vw, 22px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
}
.topStrengths .unitList .listItem p {
	font-size: clamp(16px, 14.092px + 0.509vw, 18px);
	line-height: var(--height-textB);
}


/*-------------------------------------
	Equipment
-------------------------------------*/
.topEquipment {
	position: relative;
}
.topEquipmentPic {
	width: 45%;
}
.topEquipment .inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	margin-inline: auto;
}
.topEquipmentText {
	padding-left: 48%;
}
.topEquipmentText p {
	margin-bottom: 30px;
	font-size: 18px;
	line-height: var(--height-textA);
}


/*-------------------------------------
	Company
-------------------------------------*/
.topCompany .inner {
	display: grid;
	grid-template-columns: 1fr 45%;
	align-items: center;
	gap: 50px;
}
.topCompanyPic {
	margin-right: -100px;
}
.topCompanyList {
	padding-top: 10px;
}
.topCompanyList h4 {
	margin-bottom: 10px;
	font-size: clamp(18px, 13.416px + 0.596vw, 22px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
}
.topCompanyList p {
	margin-bottom: 30px;
	letter-spacing: var(--spacing-textA);
	line-height: var(--height-textA);
}

@media screen and (max-width: 1200px) {

.topCompanyPic {
	margin-right: 0;
}

}


/*-------------------------------------
	Recruit
-------------------------------------*/
.topRecruit {
	position: relative;
	margin-top: 25dvw;
	padding-top: 160px;
	padding-bottom: 175px;
	color: #fff;
	text-align: center;
	background: url(../images/bg02.webp) no-repeat center center / cover var(--color-main);
}
.topRecruit::before {
	content: "";
	display: block;
	position: absolute;
	top: -25dvw;
	left: 0;
	right: 0;
	aspect-ratio: 150 / 39;
	background: url(../images/top/recruit_img01.webp) no-repeat 0 0 / 100% auto;
}
.topRecruit .sectionHead .en {
	color: #fff;
}
.topRecruit h3 {
	margin-bottom: 60px;
	font-size: clamp(34px, 22.539px + 1.49vw, 44px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
}
.topRecruit p {
	margin-bottom: 60px;
	font-size: clamp(17px, 13.562px + 0.447vw, 20px);
	letter-spacing: var(--spacing-textA);
	line-height: var(--height-textB);
}
.topRecruit .moreLink {
	margin-inline: auto;
	color: #fff;
}
.topRecruitPic {
	position: absolute;
	z-index: 0;
}
.topRecruitPic01 {
	top: 8%;
	left: 0;
	width: 276px;
}
.topRecruitPic02 {
	top: 5%;
	right: 80px;
	width: 206px;
}
.topRecruitPic03 {
	bottom: -5%;
	left: 210px;
	width: 236px;
}
.topRecruitPic04 {
	bottom: -8%;
	right: 25px;
	width: 430px;
}

@media screen and (max-width: 1440px) {

.topRecruitPic01 {
	left: 50%;
	margin-left: calc(-1 * clamp(600px, 508.316px + 11.923vw, 680px));
}
.topRecruitPic02 {
	right: clamp(0px, -91.684px + 11.923vw, 80px);
}
.topRecruitPic03 {
	left: clamp(0px, -240.671px + 31.297vw, 210px);
}
.topRecruitPic04 {
	right: 50%;
	margin-right: calc(-1 * clamp(600px, 508.316px + 11.923vw, 680px));
}

}


/*-------------------------------------
	News
-------------------------------------*/
.topNews .inner {
	display: grid;
	grid-template-columns: 200px 1fr;
	align-items: center;
	gap: 50px;
}
.topNewsList {
	max-height: 460px; /* 約4件分。5件以上は縦スクロール */
	overflow-y: auto;
	padding-right: 12px;
	scrollbar-width: thin;
	scrollbar-color: var(--color-main) var(--border-gray);
}
.topNewsList::-webkit-scrollbar {
	width: 6px;
}
.topNewsList::-webkit-scrollbar-track {
	background: var(--border-gray);
	border-radius: 3px;
}
.topNewsList::-webkit-scrollbar-thumb {
	background: var(--color-main);
	border-radius: 3px;
}
.topNewsList .listItem {
	display: grid;
	grid-template-columns: 140px 1fr;
	max-width: 820px;
	margin-left: auto;
	padding: 30px 5px;
}
.topNewsList .listItem + .listItem {
	border-top: 1px solid var(--border-gray);
}
.topNewsList .listItem .date {
	grid-row: 1;
	font-family: var(--font-montserrat);
	font-size: clamp(13px, 10.137px + 0.763vw, 16px);
	font-weight: 700;
	letter-spacing: var(--spacing-textA);
	text-align: center;
	align-self: flex-end;
}
.topNewsList .listItem .category {
	grid-row: 2;
	min-width: 100px;
	margin-top: 7px;
	padding: 0 10px;
	color: var(--color-main);
	font-size: clamp(12px, 8.562px + 0.447vw, 15px);
	border-radius: 20px;
	border: 1px solid var(--color-main);
	align-self: flex-start;
	justify-self: center;
	text-align: center;
}
.topNewsList .listItem .text {
	grid-row: 1 / 3;
	padding-left: 10px;
	align-self: center;
}


/*-------------------------------------
	btn
-------------------------------------*/
.moreLink {
	display: flex;
	align-items: center;
	gap: 20px;
	width: fit-content;
	font-family: var(--font-montserrat);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}
.moreLink:hover {
	text-decoration: none;
}
.moreLink::before {
	content: "";
	width: 86px;
	height: 86px;
	border-radius: 50%;
	background: url(../images/icn_arrow01.webp) no-repeat center center / 21px auto var(--color-main);
}





/*-------------------------------------------------------------------
 Media Queries
-------------------------------------------------------------------*/



/* SP layout
-------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

/*-------------------------------------
	mv
-------------------------------------*/
.topMvTitle {
	gap: 20px;
	padding-inline: 18px;
}
.topMvTitle h1 {
	font-size: clamp(36px, 13.099px + 6.107vw, 60px);
}
.topMvPic {
	height: 600px;
}
.topMvDots {
	bottom: 20px;
}

/*-------------------------------------
	product
-------------------------------------*/
.topProductCatch {
	display: block;
	margin-bottom: 40px;
}
.topProductCatch .catchTitle {
	margin-bottom: 20px;
	font-size: clamp(26px, 22.183px + 1.018vw, 30px);
}
.topProductCatch .catchText {
	width: auto;
	margin: 0;
}
.topProductMenu {
	display: flex;
	flex-direction: column;
	gap: 50px;
}
.topProductMenu .menuItem figure {
	margin-bottom: 20px;
}
.topProductMenu .menuItem figcaption {
	left: 28px;
	font-size: 20px;
}
.topProductMenu .menuItem h3 {
	margin-bottom: 10px;
	padding-right: 0;
	font-size: 18px;
}
.topProductMenu .menuItem p {
	margin-bottom: 30px;
	padding-right: 0;
	line-height: var(--height-textB);
}


/*-------------------------------------
	Strengths
-------------------------------------*/
.topStrengths {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}
.topStrengths .unitList .listItem {
	padding: 25px 0;
}
.topStrengths .unitList .listItem h4 {
	margin-bottom: 5px;
}
.topStrengths .unitList .listItem p {
	font-size: clamp(14px, 12.092px + 0.509vw, 16px);
}


/*-------------------------------------
	Equipment
-------------------------------------*/
.topEquipment {
	display: flex;
	flex-direction: column-reverse;
}
.topEquipmentPic {
	width: 70%;
	margin-top: 30px;
	margin-bottom: -60px;
}
.topEquipment .inner {
	position: relative;
	inset: auto;
	align-items: flex-start;
	margin-inline: 0;
}
.topEquipmentText {
	padding-left: 0;
}
.topEquipmentText p {
	margin-bottom: 25px;
	font-size: 17px;
}


/*-------------------------------------
	Company
-------------------------------------*/
.topCompany .inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.topCompanyPic {
	width: 92%;
	margin-left: auto;
	margin-right: -18px;
}
.topCompanyList h4 {
	margin-bottom: 8px;
}
.topCompanyList p {
	margin-bottom: 28px;
}


/*-------------------------------------
	Recruit
-------------------------------------*/
.topRecruit {
	padding-top: 60px;
	padding-bottom: 75px;
}

.topRecruit h3 {
	margin-bottom: 20px;
	font-size: clamp(26px, 18.366px + 2.036vw, 34px);
}
.topRecruit p {
	margin-bottom: 25px;
}
.topRecruitPic01 {
	top: 2%;
	left: 0;
	width: clamp(85px, 13.435px + 19.084vw, 160px);
	margin-left: 0;
}
.topRecruitPic02 {
	top: 5%;
	right: 12px;
	width: clamp(60px, -6.794px + 17.812vw, 130px);
}
.topRecruitPic03 {
	bottom: -2%;
	left: 14px;
	width: clamp(70px, 3.206px + 17.812vw, 140px);
}
.topRecruitPic04 {
	bottom: -5%;
	right: 0;
	width: clamp(125px, 34.351px + 24.173vw, 220px);
	margin-right: 0;
}


/*-------------------------------------
	News
-------------------------------------*/
.topNews .inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}
.topNewsList {
	width: 100%;
	max-height: 360px; /* 約4件分。5件以上は縦スクロール */
	padding-right: 10px;
}
.topNewsList .listItem {
	grid-template-columns: clamp(90px, 70.916px + 5.089vw, 110px) 1fr;
	padding: 20px 0;
}
.topNewsList .listItem .date {
	grid-row: 1;
	grid-column: 1;
	text-align: left;
}
.topNewsList .listItem .category {
	grid-row: 1;
	grid-column: 2;
	min-width: 75px;
	margin-top: 0;
	padding: 0 10px;
	color: var(--color-main);
	justify-self: start
}
.topNewsList .listItem .text {
	grid-row: 2;
	grid-column: 1 / -1;
	margin-top: 8px;
	padding-left: 0;
	align-self: flex-start;
}


/*-------------------------------------
	btn
-------------------------------------*/
.moreLink {
	gap: 15px;
	font-size: 14px;
}
.moreLink::before {
	width: 62px;
	height: 62px;
	background-size: 15px auto;
}


}



/* PC layout
-------------------------------------------------------------------*/

@media screen and (min-width: 769px) {

/*-------------------------------------
	hover
-------------------------------------*/
.moreLink::before,
.topProductMenu .menuItem figure a {
	text-decoration: none;
	transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	backface-visibility: hidden;
}
.moreLink:hover::before {
	transform: translateX(4px);
}
.topProductMenu .menuItem figure a:hover {
	filter: brightness(1.2);
}

}




