@charset "UTF-8";

html{
	scroll-behavior: smooth;
}

.inner{
	width: 90%;
	max-width: 1200px;
	margin: 0 auto 120px;
	padding: 80px 50px;
	position: relative;
	z-index: 2;
	background: #fff;
}
/*.inner::before{
	content: "";
	position: absolute;
	top: 0;
	right: calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	background: #fff;
	z-index: -1;
	margin-right:calc(-50vw + 50%);
}*/
@media (max-width: 640px) {
	.inner{
		margin: 0 auto 80px;
		padding: 50px 30px;
	}
	
}
@media (max-width: 400px) {
	.inner{
		margin: 0 auto 50px;
		padding: 30px 15px;
	}
}

/*-----------------------------------

	page-header_block

-----------------------------------*/
#page-header{
	width: 100%;
	height: 260px;
	position: relative;
	padding: 80px 73px;
	margin-top: 100px;
}
#page-header .bread-crumb{
	width: fit-content;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	-webkit-align-items: flex-end;
	align-items: flex-end;
	color: #A2A2A2;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	position: absolute;
	bottom: 10px;
	right: 7.5%;
}
#page-header .bread-crumb a{
	color: #A2A2A2;
}
#page-header .bread-crumb span{
	margin-left: 3px;
}
#page-header .bread-crumb span.red{
	color: #D71318;
}
.page-header-title{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	gap: 9px;
}
.page-header-title h3{
	font-family: "Noto Sans JP", sans-serif;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.4;
	color: #313131;
}
.page-header-title .sub-title{
	font-family: "Outfit", sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #D71318;
}
@media (max-width: 840px) {
	#page-header{
		padding: 60px 40px;
		margin-top: 100px;
	}
}
@media (max-width: 640px) {
	#page-header{
		height: 120px;
		padding: 30px 40px 40px;
		margin-top: 71px;
	}
	.page-header-title{
		gap: 5px;
	}
	.page-header-title h3{
		font-size: 30px;
	}
	.page-header-title .sub-title{
		font-size: 14px;
	}
}
@media (max-width: 400px) {
	#page-header{
		height: 120px;
		padding: 30px 20px 40px;
	}
	#page-header .bread-crumb{
		font-size: 13px;
		right: 5%;
	}
}
/*-----------------------------------

	mainvisual_block

-----------------------------------*/
#mainvisual_block{
	width: 100%;
	height: 430px;
	position: relative;
	z-index: 1;
}
#mainvisual_block::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	z-index: 2;
}
.outline-text {
	width: 70%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
	z-index: 5;
	pointer-events: none;
	position: absolute; 
	bottom: 0; 
	right: 0; 
	z-index: 3;
}
@media (max-width: 640px) {
	#mainvisual_block{
		width: 100%;
		height: 200px;
	}
}
@media (max-width: 400px) {
	#mainvisual_block{
		width: 100%;
		height: 150px;
	}
}


/*-----------------------------------

	3カラムレイアウト

-----------------------------------*/
/* --- PC：3カラム --- */ 
.cards { 
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	gap: 31px; 
	max-width: 1200px; 
	margin: 0 auto; 
}
.card{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	gap: 30px;
}
.card img { 
	width: 100%;
	height: 231px;
	object-fit: cover;
	display: block;
} 
.card-txt-wrap{
	flex: 1;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}
.card-txt-wrap h5 { 
	color: #313131;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
	padding: 0 0 20px 22px;
	position: relative;
} 
.card-txt-wrap h5::before{
	content: "";
	width: 2px;
	height: 100%;
	background-color: #D71318;
	position: absolute;
	top: 0;
	left: 0;
}
.card-txt {
	color: #313131;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	padding-left: 22px;
	position: relative;
	flex: 1;
} 
.card-txt::before{
	content: "";
	width: 2px;
	height: 100%;
	background-color: #C8C8C8;
	position: absolute;
	top: 0;
	left: 0;
}
/* --- タブレット：2カラム --- */
@media (max-width: 1024px) { 
	.cards { 
		grid-template-columns: repeat(2, 1fr); 
		column-gap: 32px;
		row-gap: 50px;
	}
	
}
/* --- スマホ：1カラム --- */
@media (max-width: 640px) {
	#our-strengths{
		padding-bottom: 50px;
	}
	.low-title-box{
		gap: 5px;
		margin-bottom: 40px;
	}
	.low-title-box .low-sub-title{
		font-size: 12px;
	}
	.low-title-box h4{
		font-size: 30px;
	}
	.cards { 
		grid-template-columns: 1fr; 
		row-gap: 40px;
	} 
	.card{
		gap: 20px;
	}
	.card-txt-wrap h5 { 
		font-size: 18px;
		padding: 0 0 10px 12px;
		position: relative;
	} 
	.card-txt-wrap h5::before{
		content: "";
		width: 2px;
		height: 100%;
	}
	.card-txt {
		color: #313131;
		font-family: "Noto Sans JP", sans-serif;
		font-size: 15px;
		font-weight: 400;
		line-height: 2;
		padding-left: 12px;
		position: relative;
		flex: 1;
	} 
	.card-txt::before{
		content: "";
		width: 2px;
		height: 100%;
	}
	
}
@media screen and (max-width: 400px) {
	.card img { 
		height: 200px;
		object-fit: cover;
		display: block;
	}	 
}



/*-----------------------------------

	lower-title-box

-----------------------------------*/
.low-title-box{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 60px;
}
.low-title-box .low-sub-title{
	font-size: 14px;
	font-weight: 700;
	font-family: "Outfit";
	color: #D71318;
}
.low-title-box h4{
	font-family: "Noto Sans JP", sans-serif;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.4;
}
.low-title-box h4 span{
	font-size: 56px;
	font-weight: 700;
	font-family: "Outfit";
	line-height: 1.3;
	letter-spacing: 0.06em;
	color: #E53B3F;
	margin-right: 13px;
}

@media (max-width: 640px) {
	.low-title-box{
		gap: 5px;
		margin-bottom: 40px;
	}
	.low-title-box .low-sub-title{
		font-size: 12px;
	}
	.low-title-box h4{
		font-size: 30px;
	}
	.low-title-box h4 span{
		font-size: 36px;
		margin-right: 5px;
	}
}


/*-----------------------------------

	flex/reverse

-----------------------------------*/
.wrap{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	gap: 60px;
}
.reverse-wrap{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	gap: 60px;
}
.normal-wrap{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	gap: 60px;
}
.wrap-txt{
	flex: 1;
	min-width: 200px;
	color: #313131;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 2;
}
.wrap-txt h5{
	color: #313131;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 32px;
	padding-left: 50px;
}
.wrap-txt h5.num01{	
	position: relative;
}
.wrap-txt h5.num02{
	position: relative;
}
.wrap-txt h5.num03{
	position: relative;
}
.wrap-txt h5.num04{
	position: relative;
}
.wrap-txt h5.num01::before{
	content: "01";
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #FFFFFF;
	background-color: #D71318;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.wrap-txt h5.num02::before{
	content: "02";
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #FFFFFF;
	background-color: #D71318;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.wrap-txt h5.num03::before{
	content: "03";
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #FFFFFF;
	background-color: #D71318;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.wrap-txt h5.num04::before{
	content: "04";
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #FFFFFF;
	background-color: #D71318;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.wrap-img{
	width: 60%;
	max-width: 460px;
	aspect-ratio: 460 / 295;
	overflow: hidden;
}
.wrap-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}


@media (max-width: 1000px) {
	.reverse-wrap, .normal-wrap{
		gap: 40px;
	}
}
@media (max-width: 840px){
	.reverse-wrap, .normal-wrap{
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		-webkit-align-items: center;
		align-items: center;
	}
	.wrap-img{
		width: 80%;
		max-width: 460px;
		aspect-ratio: auto;
		height: 250px;
	}
}
@media (max-width: 640px){
	#attempt{
		padding: 50px 0 0;
	}
	.wrap{
		gap: 40px;
	}
	.wrap-txt{
		font-size: 15px;
		line-height: 2;
	}
	.wrap-txt h5{
		font-size: 18px;
		line-height: 1.4;
		margin-bottom: 20px;
		padding-left: 42px;
	}
	.wrap-txt h5.num01::before{	
		width: 32px;
		height: 32px;
	}
	.wrap-txt h5.num02::before{
		width: 32px;
		height: 32px;
	}
	.wrap-txt h5.num03::before{
		width: 32px;
		height: 32px;
	}
	.wrap-txt h5.num04::before{
		width: 32px;
		height: 32px;
	}
	.reverse-wrap, .normal-wrap{
		gap: 20px;
	}
	.section-conclusion{
		font-size: 14px;
	}
}
@media (max-width: 400px){
	.wrap-img{
		width: 100%;
		max-width: 460px;
		height: 200px;
	}
}


/*-----------------------------------

	cta_block

-----------------------------------*/
#cta_block .cta_wrap {
	display: flex;
	width: 100%;

}

#cta_block .left_box,
#cta_block .right_box {
	position: relative;
	width: 50%;
	height: 350px;
	overflow: hidden;
	/* ★これが重要！これがないと画像が隣の枠に被ります */
}

#cta_block a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	position: relative;
	z-index: 1;
}


#cta_block .left_box::before {
	content: "";
	/* linear-gradient を先頭に追加（rgbaの最後の0.3が30%の意味です） */
	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/index/cta_img_01.jpg);

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
	z-index: -1;
}

#cta_block .right_box::before {
	content: "";
	/* こちらも同様にグラデーションを重ねます */
	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/index/cta_img_02.jpg);

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
	z-index: -1;
}


#cta_block .arrow {
	position: absolute;
	right: 23px;
	bottom: 23px;
}


#cta_block h4 {
	color: #fff;
	font-size: 44px;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin: 0;
}

#cta_block p {
	color: #fff;
	font-size: 18px;
	margin-top: 10px;
	font-weight: 700;
}


#cta_block a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 60px;
	height: 60px;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}




#cta_block .left_box:hover::before,
#cta_block .right_box:hover::before {
	transform: scale(1.15);
}

@media (max-width: 840px) {

	#cta_block .left_box,
	#cta_block .right_box {
		height: 250px;
	}

	#cta_block a::after {
		width: 40px;
		height: 40px;
	}

	/* 矢印の位置やサイズ調整 */
	#cta_block .arrow {
		right: 15px;
		bottom: 15px;
		width: 10px;
		/* 必要であれば */
	}
}

@media (max-width: 640px) {
	#cta_block .cta_wrap {
		flex-direction: column;
	}

	#cta_block .left_box,
	#cta_block .right_box {
		width: 100%;
		height: 200px;
	}

	#cta_block h4 {
		font-size: 32px;
		letter-spacing: 0.05em;
	}

	#cta_block p {
		font-size: 14px;
	}

}