@charset "utf-8";

/* -----------------------------------------------------------
    テンプレート タイトル
-------------------------------------------------------------- */
.lower-ttl-area {
	background: url("../img/template-ttl-bg.jpg") no-repeat top right / cover;
	height: 300px;
	position: relative;
	margin-bottom: 80px;
	z-index: 1;
}

.lower-ttl-area:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.8);
}

.lower-ttl-area:after {
    position: absolute;
    top: 0;
    left: 300px;
    content: "";
    display: block;
    border-style: solid;
    border-width: 150px 150px;
    border-color: rgba(255, 255, 255, 0.8) transparent transparent rgba(255, 255, 255, 0.8);
	z-index: -1;
}

.lower-ttl-area .titlebox {
	position: relative;
	padding-top: 100px;
}

.lower-ttl-area .titlebox::after {
	content: "";
	display: block;
	width: 40px;
	height: 5px;
	background: #79BD43;
	border-radius: 3px;
	margin-top: 30px;
}


.lower-ttl-area .txtTitle-mv span.s02:first-child,
.lower-ttl-area .txtTitle-mv span.s02:first-child{
	color: #79BD43;
	-webkit-text-stroke: 1px #79BD43;
	text-stroke: 1px #79BD43;
}


@media screen and (max-width: 768px) {
	.lower-ttl-area {
		background: url("../img/template-ttl-bg-sp.jpg") no-repeat top right / cover;
		height: 160px;
		margin-bottom: 40px;
	}

	.lower-ttl-area:before {
		width: 70px;
		height: 160px;
	}

	.lower-ttl-area:after {
		left: 70px;
		border-width: 80px 80px;
		border-color: rgba(255, 255, 255, 0.8) transparent transparent rgba(255, 255, 255, 0.8);
	}

	.lower-ttl-area .titlebox {
		padding-top: 45px;
	}

	.lower-ttl-area .titlebox::after {
		width: 30px;
		height: 3px;
		border-radius: 2px;
		margin-top: 20px;
	}
	}

/* -----------------------------------------------------------
    FGグループについて・役割・service　共通
-------------------------------------------------------------- */
.inner.w-1300 {
	width: 1300px;
}

/*----中央タイトル・下線あり----*/
.catch.center-line {
	text-align: center;
	position: relative;
	line-height: 0;
	
}
.catch.center-line:after {
	content: "";
	display: block;
	width: 100px;
	height: 5px;
	background: #79BD43;
	margin: 30px auto 0;
}

/*色違い*/
.catch.center-line.pink:after {
	background: #FF9EA1;
}
.catch.center-line.blue:after {
	background: #79D3F1;
}
.catch.center-line.orange:after {
	background: #FFB47B;
}
.catch.center-line.purple:after {
	background: #92B7FF;
}


/*----左タイトル・左あり----*/
.catch.left-line {
	position: relative;
  	background: transparent;
  	border-left: solid 8px #79BD43;
	padding: 0 20px;
	line-height: 1;
}

/*色違い*/
.catch.left-line.pink {
	border-left: solid 8px #FF9EA1;
	line-height: 1.4;
	margin-top: 30px;
}
.catch.left-line.blue {
	border-left: solid 8px #79D3F1;
	line-height: 1.4;
	margin-top: 30px;
}
.catch.left-line.orange {
	border-left: solid 8px #FFB47B;
	line-height: 1.4;
	margin-top: 30px;
}
.catch.left-line.purple {
	border-left: solid 8px #92B7FF;
	line-height: 1.4;
	margin-top: 30px;
}


@media screen and (max-width: 768px) {
	.inner.w-1300 {
		width: 100%;
	}
	
	.catch.center-line:after {
		width: 50px;
		height: 5px;
		background: #79BD43;
		margin: 20px auto 0;
	}
	
	.catch.left-line {
		padding: 0 15px;
		line-height: 1;
	}
	}


/*----ページ下部サービスリンク----*/
.service-link2-area {
	margin-bottom: 100px;
}

.service-link2-area .service-link2-list {
	display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
	gap: 30px 0;
}

.service-link2-area .service-link2-list li {
	width: calc(50% - 30px);
	align-items: center;
	border-bottom: solid 3px #FF9EA1;
	box-shadow: 0px 3px 20px #b7b7b7;
}

.service-link2-area .service-link2-list li a {
	display: flex;
	align-items: center;
	height: 100%;
}

.service-link2-area .service-link2-list li.style2 {
	border-bottom: solid 3px #79D3F1;
}
.service-link2-area .service-link2-list li.style3 {
	border-bottom: solid 3px #FFB47B;
}
.service-link2-area .service-link2-list li.style4 {
	border-bottom: solid 3px #92B7FF;
}

.service-link2-area .service-link2-list li .ttl {
	font-weight: 700;
	font-size: 3rem;
	padding: 30px;
}

.service-link2-area .service-link2-list li.style1 .ttl {
	color: #FF9EA1;
}
.service-link2-area .service-link2-list li.style2 .ttl {
	color: #79D3F1;
}
.service-link2-area .service-link2-list li.style3 .ttl {
	color: #FFB47B;
}
.service-link2-area .service-link2-list li.style4 .ttl {
	color: #92B7FF;
}

.service-link2-area .service-link2-list li .img-wrap {
	height: 100%;
}

.service-link2-area .service-link2-list li .img-wrap img {
	object-fit: cover;
	height: 100%;
	width: 250px;
}

@media screen and (max-width: 768px) {
	.service-link2-area {
		margin-bottom: 40px;
	}

	.service-link2-area .service-link2-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 20px 0px;
		flex-direction: column;
	}

	.service-link2-area .service-link2-list li {
		width: 100%;
		height: 120px;
		align-items: center;
		border-bottom: solid 3px #FF9EA1;
		box-shadow: 0px 3px 20px #b7b7b7;
	}

	.service-link2-area .service-link2-list li .ttl {
		font-size: 2rem;
		padding: 20px;
		line-height: 1.4;
	}
	
	.service-link2-area .service-link2-list li .img-wrap {
		height: 100%;
		width: 55%;
	}
	.service-link2-area .service-link2-list li .img-wrap img {
		width: 100%;
		object-fit: cover;
		object-position: center;
		object-position: top;
	}
	}
	