@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 {
	width: calc(100% - 90px);
	margin: 0 auto;
}

#mainimage img {
	width: 100%;
	border-radius: 20px;
}

.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: max-content;
	right: 10%;
	top: 100px;
	display: flex;
}

#mainimage .key-ttl>span {
	font-size: 55px;
	color: #fff;
	writing-mode: vertical-lr;
	height: max-content;
	line-height: 63px;
	display: block;
	margin-right: 25px;
}

#mainimage .key-ttl>span .red-color {
	color: #A62834;
}

#mainimage .key {
	height: 620px;
}

#mainimage .key img {
	height: 620px;
	object-fit: cover;
}

@media  (min-width:768px) and (max-width:991px) {
	#mainimage .key img{
		object-position:15% 50%;
	}
}


@media screen and (max-width:767px) {
	#mainimage {
		width: 100%;
	}

	#mainimage .key {
		height: 400px;
	}

	#mainimage .key img {
		height: 400px;
		object-position: 20% 50%;
		border-radius: 0;
	}

	#mainimage .key-ttl {
		top: 70px;
	}

	#mainimage .key-ttl>span {
		font-size: 22px;
		line-height: 27px;
		margin-right: 15px;
	}
}

/*--------------------------------------
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;
}