@charset "UTF-8";

.mainconts{
	line-height: 1.5;
}

/*--------------------------------------------
 mainvisual
--------------------------------------------*/
.mainvisual{
	position: relative;
	width: 100%;
	height: 55vh;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.mainvisual_tit{
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	display: flex;
	align-items: center;
}
.mainvisual_tit h2{
	display: inline-block;
	color: #131945;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 2px;
	font-size: 3.8rem;
	padding: 1rem 2rem;
	background: #fff;
}
@media screen and (max-width: 1250px){
	.mainvisual_tit{
		padding: 0 2rem;
	}
}
@media screen and (max-width: 767px){
	.mainvisual_tit h2{
		font-size: 4.2vw;
		padding: 1rem 1.2rem;
	}
}

/*--------------------------------------------
 service
--------------------------------------------*/
.service{
	padding: 5rem 0 10rem;
}
.tab_navi{
	background: #f8f8f8;
}
.tab_navi li{
	height: 90px;
	font-size: 1.8rem;
}
.tab_navi li.select{
	background: #fff;
	border-top: 1px solid #e40001;
}
.tab_navi li:not(.select){
	color: #959595;
	cursor: pointer;
  	border-bottom: 1px solid #dddddd;
}
.service_list{
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	margin: 0;
	padding: 3rem 0;
	list-style: none;
}
.service_list a.service_list-link{
	display: block;
	padding: 4rem;
	text-decoration: none;
	font-size: 1.4rem;
}
.service_list li{
	width: 33.3333%;
}
@media screen and (min-width: 768px){
	.service_list li:nth-child(3n-1){
		border-left: 1px solid #ddd;
		border-right: 1px solid #ddd;
	}
	.service_list li:nth-child(n+4){
		border-top: 1px solid #ddd;

	}
}
.service_list li.is-hidden {
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
.service_list li .service_img img{
	width: auto;
	max-height: 90px;
	margin: auto;
	display: block;
}
.service_list li h4{
	text-align: center;
	font-weight: 700;
	font-size: 1.8rem;
	margin: 1rem 0 .5rem;
}
.service_list li h4 span{
	display: block;
	color: #666;
	font-weight: normal;
	font-size: 1.4rem;
}

/*子要素*/
.service_list .has_child a.service_list-link{
	padding-bottom: .5rem;
}
.service_list .child-post{
	list-style: none;
	padding: 0;
	margin: 0 auto;
}
.service_list .child-post li{
	width: 60%;
	margin: .5rem auto 0;
	border: 1px solid #ddd;
}
.service_list .child-post li a{
	display: block;
	padding: .5rem;
}

.service_list li.none{
	display: none;
}
.service .btn_motto{
	display: none;
	margin-bottom: 2rem;
}

@media screen and (max-width: 767px){
	.service{
		padding: 4rem 0 6rem;
	}
    .tab_navi_wrap {
        overflow-x: auto;
    }
    .tab_navi_wrap .tab_navi{
        width: max-content;
    }
	.tab_navi li{
		height: 74px;
		padding: 0 1rem;
		font-size: 1.2rem;
		font-weight: 600;
	}
    .tab_navi:has(> :nth-child(4)) li {
        width: 120px;
    }
    
	.service_list{
		display: block;
		padding: 2.5rem 0;
	}
	.service_list li{
		width: 98%;
		margin: auto auto 1.8rem;
		border: 1px solid #e6e6e6;
		border-radius: 10px;
		box-shadow: 0 5px 8px rgb(0 0 0 / 4%);
	}
	.service_list a.service_list-link{
		padding: 2.4rem 2rem 3rem;
	}
	.service_list li .service_img img{
		max-height: 70px;
	}
	.service_list li h4{
		font-size: 1.5rem;
		text-align: left;
		margin: 1.2rem 0 .5rem;
	}
	.service_list li h4 span{
		color: unset;
		font-size: 1.3rem;
		display: inline-block;
	}
	.service_list li h4 span::before{
		content: "（";
	}
	.service_list li h4 span::after{
		content: "）";
	}
	.service_list li p{
		font-size: 1.2rem;
		margin: 0;
	}
	/* 子要素 */
	.service_list .has_child{
		padding-bottom: 2.5rem;
	}
	.service_list .has_child a.service_list-link{
		padding-bottom: 1rem;
	}

}


/*--------------------------------------------
 business
--------------------------------------------*/
.business{
	position: relative;
	padding: 5rem 0 8rem;
}
.business::after{
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	content: "";
	width: 100%;
	height: 120%;
	z-index: -1;
	background: #f3f8fb;
}
.business_list{
	display: flex;
	list-style: none;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0;
	width: 100%;
}
.business_list li{
	background: #fff;
	box-shadow: 0 8px 25px rgb(0 0 0 / 8%);
	transition: .5s;
}

@media screen and (min-width: 901px){
	.business_list li{
		width: 19%;
		margin: 0 0.5% 1.4%;
	}
	.business_list li:hover{
		box-shadow: 0 1px 1px rgb(0 0 0 / 8%);
	}
}
.business_list li a{
	text-decoration: none;
	text-align: center;
	font-size: 1.7rem;
	font-weight: 700;
	display: block;
	padding: 40px 10px 30px;
	box-sizing: border-box;
}
.business_list .thum{
	height: 50px;
	display: flex;
	align-items: center;
}
.business_list img{
	width: 50px;
	display: block;
	margin: auto auto 7%;
}
.business_list .thum+p{
	height: 60px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.business_list+.btn{
	margin-top: 2%;
}

@media screen and (max-width: 900px){
	.business_list li{
		width: 32.5%;
		margin-right: 1.25%;
		margin-bottom: 1.4%;
	}
	.business_list li:nth-of-type(3n){
		margin-right: 0;
	}
}
@media screen and (max-width: 767px){
	.business{
		padding: 4rem 0 6rem;
	}
	.business_list{
		align-items: stretch;
		justify-content: space-between;
	}
	.business_list li{
		width: 48.5%;
		margin-right: 0;
    	margin-bottom: 3.5%;
    	box-shadow: 0 4px 10px rgb(0 0 0 / 8%);
	}
	.business_list li a{
		padding: 20px 0;
		min-height: 135px;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
		font-size: 1.4rem;
	}
	.business_list .thum{
		height: 50px;
		width: 100%;
	}
	.business_list img{
		width: 36px;
	}
	.business_list .thum+p{
		height: auto;
	}
	.business_list+.btn {
    	margin-top: 3rem;
	}
}

/*--------------------------------------------
 news
--------------------------------------------*/
.news{
	overflow: hidden;
	padding: 1rem 0 3rem;
	margin-bottom: 8rem;
	position: relative;
}
.news_inner{
	position: relative;
}
.news_inner::after{
	position: absolute;
	top: 0;
	left: 120px;
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	background: #fff;
	box-shadow: 0 8px 25px rgb(0 0 0 / 8%);
}
.news_box{
	width: 100%;
	position: relative;
	z-index: 2;
	padding: 8rem 0;
	display: flex;
	align-items: center;
}
.news_tit{
	font-size: 2.6rem;
	font-weight: 700;
	width: 300px;
	padding: 0 40px;
}
.news_tit .btn a{
	width: 190px;
	height: 50px;
	font-weight: normal;
	margin: 15px 0 0;
}
.news_list{
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 0;
}
.news_list li a{
	position: relative;
	display: flex;
    align-items: center;
    text-decoration: none;
    padding: 2.2rem 5rem 2.2rem 1.5rem;
    border-top: 1px solid #eee;
}
.news_list li a::after{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.2rem;
	margin: auto;
	width: 1.6rem;
	height: 1.6rem;
	color: #aaa;
	content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: .5s;
}
.news_list li a:hover::after{
	position: absolute;
	right: .5rem;
}
.news_list li:last-child a{
    border-bottom: 1px solid #eee;
}
.news_list li a .title{
	flex: 1;
}
.news_list li a .cat{
	display: inline-block;
	color: #e40001;
	font-size: 1.3rem;
	padding: 0 1rem;
	margin: 0 2rem;
	border: 1px solid #e40001;
	border-radius: 50px;
}

@media screen and (max-width: 1500px){
	.news_inner::after{
		left: 70px;
	}
	.news_box{
		width: 90%;
	}
}
@media screen and (max-width: 900px){
	.news_box{
		width: 85%;
		padding: 5rem 0 0;
		display: block;
	}
	.news_inner::after{
		left: 40px;
	}
	.news_box .midashi.sp{
		display: flex!important;
	}
	.news_tit{
		width: 100%;
		margin-bottom: 3rem;
		text-align: center;
	}
	.news_list{
		margin-bottom: 4rem;
	}
	.news_list li a .date{
		margin-bottom: .5rem;
	}
	.news_box .pc{
		display: none;
	}
	.news_box .btn_more.sp{
		display: block!important;
		position: relative;
		bottom: -3rem;
	}
}
@media screen and (max-width: 767px){
	.news_box{
		padding: 3rem 0 0;
	}
	.news_inner::after{
		left: 15px;
	}
	.news_box{
		width: 95%;
	}
	.news_list{
		margin-bottom: 2rem;
	}
	.news_list li a{
		display: block;
	}
	.news_box .btn_more.sp{
		bottom: -2.5rem;
	}
}

/*--------------------------------------------
 about
--------------------------------------------*/
.about{
	padding: 8rem 0;
	position: relative;
}
.about::after{
	display: block;
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 40vh;
	background: url(../img/about_bg.jpg) no-repeat center;
	background-size: cover;
}
.about .midashi h3{
	color: #fff;
}
.about_inner{
	display: flex;
	justify-content: space-between;
	padding: 2rem 0;
}
.about_box{
	width: 48.5%;
}
.about_box img{
	width: 100%;
}
.about_box a{
	display: block;
	text-decoration: none;
	background: #fff;
	box-shadow: 0 8px 25px rgb(0 0 0 / 8%);
    transition: .5s;
}
.about_box p{
	position: relative;
	margin: 0;
	padding: 4rem;
	font-size: 1.8rem;
	font-weight: 500;
}
.about_box a p i{
	position: absolute;
	right: 4rem;
	color: #e40001;
    transition: .5s;
}
.about_box a:hover{
	box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}
.about_box a:hover p i{
	right: 3rem;
}
@media screen and (max-width: 767px){
	.about{
		padding: 4rem 0;
	}
	.about::after{
		height: 35vh;
	}
	.about_inner{
		display: block;
	}
	.about_box{
		width: 100%;
		margin-bottom: 2.5rem;
	}
	.about_box p{
		padding: 2.5rem;
		font-size: 1.6rem;
	}
	.about_box a p i{
		right: 2.5rem;
	}
}