@charset "utf-8";


/************************************************************/
/** メインビジュアル **/

#headercontainer{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 770px;
	
}
#headercontainer h1{
	margin-top: 0;
	padding-top: 0;
}
#headercontainer h1::before,
#headercontainer h1::after{
	display: none;
}
.top-mv{
	width: 100%;
	height: 670px;
	position: absolute;
	top: 100px;
	left: 0;
	z-index: -1;
}
.top-mv img{
	width: 100%;
	/*height: 670px;*/
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#maincontainer{
	margin-top: 850px;
}

@media screen and (max-width: 767px) {
	#headercontainer{
		height: 640px;
	}
	.top-mv{
		height: 610px;
		top: 30px;
	}
	
	#maincontainer{
		margin-top: 640px;
	}

	.news-list li:nth-child(n+3){
		display:none;
	}
}


/************************************************************/
/** ５つの特長 **/

.features{
	margin-top: 80px;
	margin-bottom: 80px;
}

.features-pickup{
	text-align: center;
	font-size: 1.12rem;
}
.features-title{
	font-size: 1.25rem;
	vertical-align: bottom;
	text-align: center;
	padding: 15px 20px 10px;
	background: var(--bg-grad01);
	border-radius: 30px;
}
.features-title::before{
	display: none;
}
.features-title span{
	display: inline-block;
	font-size: 1.75rem;
	margin: 0 10px -2px;
	position: relative;
}
.features-title span::before{
	content: '';
    display: block;
    width: 4px;
    height: 4px;
	background: var(--sub-color01);
	border-radius: 50%;
	position: absolute;
	top: -3px;
	left: 5px;
}

.features-list{
	display: inline-block;
	margin-bottom: 0;
}
.features-list li{
	text-align: left;
	/*position: relative;*/
}
.features-list li span{
	font-size: 1.56rem;
	background-image: var(--bg-grad01);
  	background-repeat: no-repeat;
 	background-position: bottom;
  	background-size: 100% 40%;
	margin-left: 5px;
}
.features-list li::marker{
	font-size: 1.87rem;
	color: var(--main-color);
}

.features-corporation-inner01{
	padding-right: 30px;
}
.features-corporation-inner02{
	padding-left: 30px;
}
.corporation-text span{
	display: inline-block;
	padding-right: 38px;
	position: relative;
}
.corporation-text span::after{
	content: '';
	display: block;
	width: 1px;
	height: 14px;
	background: var(--sub-color01);
	transform: rotate(30deg);
	position: absolute;
	top: 7px;
    right: 18px;
}

.features-corporation-btn{
	margin: 50px auto 0;
}
.features-corporation-btn a{
	font-size: 1.5rem;
	background: var(--bg-color03);
	border: none;
}
.features-corporation-btn a::before,
.features-corporation-btn a::after{
	width: 10px;
	height: 10px;
}
.features-corporation-btn a::before{
	left: -12px;
}

@media (hover: hover) {
	.features-corporation-btn a:hover{
		box-shadow: none;
	}
}

@media (max-width: 767px) {
	.features{
		margin-top: -20px;
		margin-bottom: 50px;
	}
	.features-pickup{
		text-align: left;
		font-size: 0.875rem;
	}
	.features-title{
		margin-top: 0;
    	/*width: calc(100% + var(--bs-gutter-x));*/
    	position: relative;
    	/*margin-right: calc(-.5 * var(--bs-gutter-x));*/
    	/*margin-left: calc(-.5 * var(--bs-gutter-x));*/
		padding: 10px;
		font-size: 0.875rem;
		border-radius: 20px;
	}
	.features-title span{
		font-size: 1.43rem;
		padding-top: 8px;
	}
	.features-title span::before{
		top: 5px;
    	left: 4px;
	}
	.features-list li span{
		font-size: 1rem;
	}
	.features-list li::marker{
		font-size: 1.25rem
	}
	
	.corporation-text span{
		padding-right: 28px;
	}
	.corporation-text span::after{
		top: 5px;
    	right: 13px;
	}
	
	.features-corporation-btn{
		margin-top: 30px;
	}
	.features-corporation-btn a{
		font-size: 1.12rem;
		padding: 8px 50px 10px 20px;
	}
	.features-corporation-btn a::before, 
	.features-corporation-btn a::after{
		width: 8px;
		height: 8px;
	}
	
	@media (hover: hover) {
		/*.features-corporation-btn a:hover{
			padding: 8px 35px 10px 35px;
		}*/
	}

}

/************************************************************/
/** トップページリンク **/

.top-link{
	padding: 80px 0;
	border-top: 1px solid var(--sub-color05);
}
@media (min-width: 992px) {
	.top-link-list li:nth-of-type(n+4){
		margin-top:calc(var(--bs-gutter-x));
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.top-link-list li:nth-of-type(n+3){
		margin-top:calc(var(--bs-gutter-x));
	}
}
.top-link-list li a{
	display: block;
	width: 100%;
	height: 170px;
	color: #333;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
}
.top-link-list li a div:has(> img){
	width: 100%;
	height: 100%;
	border-radius: 30px;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
.top-link-list li a img{
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	transition: all .3s ease;
}
.top-link-list li a p{
	padding: 10px 80px 10px 30px;
	margin-bottom: 0;
	font-size: 1.5rem;
	border-radius: 30px 0 0 0;
	background: rgba(255,255,255,0.85);
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
	transition: all .3s ease;
}
.top-link-list li a p::after{
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: 1px solid var(--sub-color01);
	border-right: 1px solid var(--sub-color01);
	transform: rotate(45deg);
	position: absolute;
	bottom: 25px;
    right: 25px;
	transition: all .3s ease;
}

@media (hover: hover) {
	.top-link-list li a:hover{
		color: var(--main-color);
	}
	.top-link-list li a:hover img{
		transform: scale(1.1);
	}
	.top-link-list li a:hover p{
		background: rgba(255,255,255,1);
	}
	.top-link-list li a:hover p::after{
		right: 20px;
	}
}

@media screen and (max-width: 767px) {
	.top-link{
		padding: 50px 0 70px;
		border-top: none;
		background: #f2f2f2;
		margin-bottom: -30px;
	}
	.top-link > .container{
		width: 90%;
	}
	.top-link-list li{
		margin-bottom: 10px;
	}
	.top-link-list li a{
		height: 130px;
		border-radius: 20px;
		overflow: hidden;
		border: 1px solid var(--sub-color05);
	}
	.top-link-list li a div:has(> img){
		border-radius: 0;
	}
	.top-link-list li a p{
		font-size: 1.12rem;
		border-radius: 20px 0 0 0;
		padding: 5px 50px 5px 20px;
	}
	.top-link-list li a p::after{
		width: 8px;
		height: 8px;
		bottom: 15px;
    	right: 20px;
	}
}
