@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%;
}
.mainimage{
	position: relative;
	z-index: 0;
}
.mainimage:before{
	content: '';
	width: 767px;
	height: 391px;
	background-image: url('../img/top/key_deco1.png');
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.mainimage:after{
	content: '';
	width: 401px;
	height: 391px;
	background-image: url('../img/top/key_deco4.png');
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
}
.mainimage .blk1{
	max-width: 1240px;
	width: 100%;
	margin: 0 auto 11px;
	padding: 64px 0 0 20px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	position: relative;
	z-index: 0;
}
.mainimage .blk1:before{
	content: '';
	width: 397px;
	height: 273px;
	background-image: url('../img/top/key_deco2.png');
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	right: -350px;
	top: 150px;
	z-index: -1;
}
.mainimage .blk1:after{
	content: '';
	width: 526px;
	height: 273px;
	background-image: url('../img/top/key_deco3.png');
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	left: calc(50% - 574px);
	bottom: -262px;
	z-index: -1;
}
.mainimage .blk1 .col-right{
	order: 2;
	max-width: 729px;
	width: 58.8%;
	margin-left: -2.5%;
}
.mainimage .blk1 .col-right .img1 img{
	width: 100% !important;
	height: 409px;
	object-fit: cover;
	object-position: 90%;
}
.mainimage .blk1 .col-right .simg1{
	max-width: 348px;
	width: 50%;
	position: relative;
	z-index: 1;
	margin: -103px 40px 0 auto;
}
.mainimage .blk1 .col-left{
	order: 1;
	position: relative;
	z-index: 1;
	margin-top: 64px;
	font-size: 24px;
	letter-spacing: 0;
	font-weight: 700;
	line-height: 1.5;
}
.mainimage .blk1 .col-left h2{
	font-size: 48px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}
.mainimage .blk1 .col-left h2 span{
	font-size: 56px;
}
.mainimage .blk1 .col-left .txt1{
	margin-bottom: 32px;
}
.mainimage .blk1 .col-left ul{
	color: #fff;
}
.mainimage .blk1 .col-left ul li{
	display: table;
	padding: 8px 16px;
	background: linear-gradient(90deg,rgba(66, 212, 212, 1) 0%, rgba(92, 161, 193, 1) 100%);
	border-radius: 10px;
	position: relative;
	z-index: 0;
	white-space: nowrap;
}
.mainimage .blk1 .col-left ul li:before{
	content: '';
	background-image: url('../img/top/key_ttl_bg.png');
	border-radius: 10px;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
}
.mainimage .blk1 .col-left ul li + li{
	margin-top: 8px;
}
.mainimage .blk2{
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 42px;
	position: relative;
	z-index: 1;
}
.mainimage .blk2 .img2{
	width: 373px;
	margin: 0 0 -160px calc(50% + 52px);
}
.mainimage .blk2 .img3{
	width: 451px;
}
.mainimage .blk2 .simg2{
	width: 155px;
	margin: -50px 0 0 calc(50% + 69px);
}
@media screen and (max-width: 980px) {
	.mainimage .blk1 .col-right{
		margin-left: -16%;
	}
	.mainimage .blk1 .col-right .simg1{
		width: 70%;
		margin: -63px 10px 0 auto;
	}
	.mainimage .blk2 .img3{
		width: 410px;
	}
	.mainimage .blk2 .img2{
		width: 320px;
		margin-bottom: -120px;
	}
}
@media screen and (max-width: 767px) {
	.mainimage:before{
		width: 100%;
		height: 150vw;
		background-image: url('../img/top/key_deco1_sp.png');
	}
	.mainimage:after{
		display: none;
	}
	.mainimage .blk1{
		max-width: none;
		margin: 0 0 2.6vw;
		padding: 7.7vw 7.7vw 0;
		display: block;
	}
	.mainimage .blk1:before{
		width: 46.2vw;
		height: 71.8vw;
		background-image: url('../img/top/key_deco2_sp.png');
		right: 0px;
		top: 114.6vw;
	}
	.mainimage .blk1:after{
		width: 62.8vw;
		height: 71.8vw;
		background-image: url('../img/top/key_deco3_sp.png');
		background-position: center bottom;
		left: 0;
		bottom: -64.9vw;
	}
	.mainimage .blk1 .col-right{
		max-width: none;
		width: 100%;
		margin-left: 0;
	}
	.mainimage .blk1 .col-right .img1 img{
		height: 64.1vw;
	}
	.mainimage .blk1 .col-right .simg1{
		max-width: none;
		width: 36.9vw;
		margin: -17.4vw 4.1vw 0 auto;
	}
	.mainimage .blk1 .col-left{
		margin-top: 2.1vw;
		font-size: 4.1vw;
	}
	.mainimage .blk1 .col-left h2{
		font-size: 9.2vw;
		letter-spacing: 0.04em;
		margin: 0 -4vw 4.1vw 0;
	}
	.mainimage .blk1 .col-left h2 span{
		font-size: 10.3vw;
	}
	.mainimage .blk1 .col-left .txt1{
		font-size: 6.2vw;
		margin: 0 -4vw 6.2vw 0;
	}
	.mainimage .blk1 .col-left ul li{
		padding: 2.1vw 4.1vw;
		border-radius: 2.6vw;
	}
	.mainimage .blk1 .col-left ul li:before{
		border-radius: 2.6vw;
	}
	.mainimage .blk1 .col-left ul li + li{
		margin-top: 1.0vw;
	}
	.mainimage .blk2{
		max-width: none;
		padding: 0 7.7vw;
	}
	.mainimage .blk2 .img2{
		width: 41.5vw;
		margin: 0 0 2.1vw auto;
	}
	.mainimage .blk2 .img3{
		width: 57.9vw;
	}
	.mainimage .blk2 .simg2{
		width: 39.7vw;
		margin: -12.8vw 0 0 auto;
		position: relative;
		z-index: 1;
	}
}