@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
--------------------------------------*/
#wrapper{
	padding-top: 0;
}
#mainimage img {
	width: 100%;
}

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

#mainimage {
	z-index: 1;
	position: relative;
}

#mainimage .key-ttl {
	position: absolute;
	z-index: 1;
	width: 36.67%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
#mainimage .slick-slide{
	height: 735px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

@media screen and (min-width:768px) {
	.slide_key, .slide_key li {
		width: 100%;
		height: 900px;
	}
}
@media screen and (max-width:1360px){
	#mainimage .slick-slide{
		height: auto;
		margin-bottom: -10px;
	}
}
@media screen and (max-width:1080px){
	
}
@media screen and (max-width:980px){
	
}
@media screen and (max-width:767px) {
	#wrapper{
		padding-top: 70px;
	}
	#mainimage .slick-slide{
		height: auto;
		line-height: 0;
	}
	#mainimage .key-ttl{
		width: 88%;
		left: 7%;
		top: 30%;
		transform: none;
	}
}
/*--------------------------------------
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;
}
