@charset "utf-8";
/*
Theme Name: Genova Template
File: top.css
Theme Author: Genova Design
Author URI: https://genova.co.jp/
Description: Description: This file is reserved for the top-page css
Version: 1.0
*/

/*--------------------------------------
	mainimage
--------------------------------------*/

#mainimage img {
	width: 100%;
}

.main_contents {
	background: none;
	width: 100%;
	height: auto;
	min-height: inherit;
	position: relative;
}

#mainimage {
	z-index: 1;
	position: relative;
}
#mainimage:before{
	content: '';
	background: #EEF1F4;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	bottom: -5px;
	z-index: -1;
}
#mainimage .key-ttl {
	position: absolute;
	z-index: 1;
	left: 0%;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	color: #fff;
}
#mainimage .key-ttl .ttl{
	font-size: 37px;
	line-height: 70px;
	letter-spacing: 0.17em;
	margin-bottom: 30px;
}
#mainimage .key-ttl .ttl span{
	position: relative;
}
#mainimage .key-ttl .ttl span:before{
	content: '';
	width: 7px;
	height: 7px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	top: 0px;
	left: 50%;
	transform: translateX(-50%);
}
#mainimage .key-ttl .txt{
	line-height: 35px;
}
#mainimage .key-slider{
	width: 92%;
	margin: 0 auto;
}
#mainimage .slick-slide{
	height: 750px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 20px;
}
#mainimage .slick-slide:first-child{
	background-image: url('../img/top/key1.jpg');
}
#mainimage .slick-slide:nth-child(2){
	background-image: url('../img/top/key2.jpg');
}
#mainimage .slick-slide img{
	display: none;
}
@media screen and (max-width:1080px){
	#mainimage .slick-slide{
		height: 600px;
	}
	#mainimage .key-ttl .ttl span:before{
		top: -8px;
	}
}
@media screen and (max-width:980px){
	#mainimage .slick-slide{
		height: 500px;
	}
}
@media screen and (max-width:767px) {
	#mainimage .key-slider{
		width: calc(100% - 40px);
		margin: 0 auto;
	}
	#mainimage .slick-slide{
		height: auto;
		line-height: 0;
	}
	#mainimage .slick-slide img{
		display: block;
		border-radius: 20px;
	}
	#mainimage .key-ttl .ttl{
		font-size: 30px;
		line-height: 55px;
		margin-bottom: 25px;
	}
	#mainimage .key-ttl .txt{
		font-size: 14px;
		line-height: 26px;
		letter-spacing: 0.15em;
	}
}
/*--------------------------------------
loopslider
--------------------------------------*/
#loopslider {
	margin: 0 auto;
	width: 100%;
	height: 200px;
	text-align: left;
	position: relative;
	overflow: hidden;
}

#loopslider ul {
	float: left;
	overflow: hidden;
	display: inline-block;
}

#loopslider ul li {
	width: 1602px;
	height: 200px;
	float: left;
	display: inline;
	overflow: hidden;
}

#loopslider ul:after {
	content: " ";
	height: 0;
	clear: both;
	display: block;
	visibility: hidden;
}

#loopslider ul li img {
	max-width: none;
}
/*--------------------------------------
	news
--------------------------------------*/

.top-news .post-box__header h2 {
    font-size: 30px;
}

.top-news .post-box__content {
	max-height: 300px;
	overflow: auto;
}
