@charset "utf-8";

/* トップページ構造
------------------------ */

body#sotsuen_top #header{
	position: fixed;
	background-size:100% auto;
	width: 100%;
	height: 435px;
	top:0;
	left: 0;
	overflow: hidden;
	padding: 25px 0 0 0;}
	
	body#sotsuen_top #headerIn{
		text-align:left;
		position:relative;
		}

	body#sotsuen_top img.bg{
		text-align:left;
		position:absolute;
		top: -65%;
		left: 0;
		width: 1200px;
		}

	body#sotsuen_top .widthall {
		left: 0 !important;
		margin-left: 0 !important;
		width: 100% !important;
	}


body#sotsuen_top #wrapper { padding: 425px 0 0 0; }

body#sotsuen_top #contents {
	position: relative;
	display: block;
	background: url(common/img/bg.jpg);
	width: auto;
	margin : 0 auto 0 auto; padding: 95px 0 0 0;
	text-align:center;
	z-index: 100px;
    max-width: none;
}


body#sotsuen_top #contents #gNav {
		position: absolute;
		top: -2px;
		left: 0;}

body#sotsuen_top #footer_btn,
body#sotsuen_top #footer_nav{ z-index: 100;}

img {
	width: auto;
}

@media screen and (max-width: 768px) {
	img {
		width: 100%;
	}
}

/* part1
------------------------ */
#part1{
	width: 100%;
	max-width:964px;
	text-align:left;
	margin:auto auto 40px auto;
	padding:0;
	display: flex;
	flex-wrap: wrap;
}
	#part1 .left{
		background:url(img/bg_part1.jpg) 100% 0 no-repeat;
		width:100%;
		max-width: 645px;
		min-height:700px;
		text-align:left;
		margin: 0 35px 0 0;
		float:left;
		}
	#part1 .left .topMainBnr01 {
		margin: 0 0 40px 0;
	}
	#part1 .right{
		margin: 0;
		padding:0;
		width:calc(100% - 680px);
		}
		#part1 .right .topSubBnr01 {
			margin: 43px 0 0 0;
		}
		#part1 .news{
		margin-top: 30px;
		padding:0;
		}
		
	#part1 .news h3{
	font-size: 1.6em;
	}
		#part1 .left h2 {
			margin: 0 0 25px 0;
			padding: 0;
			}
		#part1 .left p {
			margin: 0 0 25px 0;
			padding: 0;
			}
		#part1 .left img.img {
			float:right;
			padding: 0;
			width: 175px;
			}
		#part1 .left a.btn1{
			width:157px;
			height:39px;
			float:right;
			margin: 0 0 20px 0;
			padding: 0;
			}
		#part1 .right h2 {
			margin: 0 0 20px 0;
			padding: 0;
			}
		#part1 .right a {
			display: block;
			margin: 0 0 15px 0;
			padding: 0;
		}
@media screen and (max-width: 768px) {
	body#sotsuen_top #contents {
		padding: 20px 15px 0;
	}
	#part1 .left{
        max-width: none;
        background: none;
		margin: 0;
	}
	#part1 .right {
		width: 100%;
	}#part1,
	#part1 .left .topMainBnr01 {
		margin: 0;
	}
	.bgPink {
		background-color: #eb8799;
	}
}

/* part2
------------------------ */
#part2{
	background:url(img/bg_part2.jpg) repeat-x 0 0;
	width:auto;
	height:82px;
	text-align:center;
	margin: 0 0 45px 0;
	padding: 24px 0 0 0;}
	
	
/* part3
------------------------ */
#part3 {
	background:url(img/bg_part3.jpg) no-repeat 100% 0;
	width: 967px;
	text-align:left;
	margin:auto auto 40px auto;
	padding: 0;}

	#part3 .left,
	#part3 .center,
	#part3 .right{
		position:relative;
		width:270px;
		min-height:475px;
		background:url(img/bg_part3.jpg) no-repeat 0% 0;
		text-align:left;
		margin:auto;
		padding: 0 0 0 50px;
		float:left;}
		
		#part3 h2{
			text-align:center;
			margin:0 auto 20px auto;
			padding: 0 50px 0 0;}

		#part3 h3{
			font-size:1.1em;
			margin:0 auto 3px auto;
			padding: 0;}

	#part3 .left {
		width:290px;
		margin:auto;
		padding: 0 0 0 30px;}

		#part3 .left h2 {
			margin: 0;
			padding: 0 30px 0 0;}

		#part3 .left ul{
			margin: 0 auto 10px auto;
			padding: 0;
			list-style:none;}

		#part3 .left ul li{
			margin:auto;
			padding: 30px 0 0 0;
			list-style:none;}

	#part3 .center img.img {
		display:block;
		margin:0 0 5px -4px;
		padding: 0;}


	#part3 .center,
	#part3 .right {
		display:block;}

	#part3 .center p,
	#part3 .right p {
		display:block;
		width: 230px;
		padding: 0;}
		
	#part3 .center a,
	#part3 .right a{
		position:absolute;
		left: 48px;
		bottom: -5px;
		width: 238px;
		padding: 0;}

		
	


body {overflow-x: hidden;}

/*CSSスライドショーアニメーション設定
---------------------------------------------------------------------------*/
/*1枚目*/
@keyframes slide1 {
	0% {left: 0%;}
	2% {left: 0%;}
	10% {left: 0%;}
	20% {left: 0%;}
	25% {left: -110%;}
	100% {left: -110%;}
}
/*2枚目*/
@keyframes slide2 {
	0% {left: 110%;}
	12% {left: 110%;}
	20% {left: 0%;}
	38% {left: 0%;}
	46% {left: -110%;}
	100% {left: -110%;}
}
/*3枚目*/
@keyframes slide3 {
	0% {left: 110%;}
	30% {left: 110%;}
	42% {left: 0%;}
	52% {left: 0%;}
	65% {left: -110%;}
	100% {left: -110%;}
}
/*4枚目*/
@keyframes slide4 {
	0% {left: 110%;}
	48% {left: 110%;}
	62% {left: 0%;}
	72% {left: 0%;}
	96% {left: -110%;}
	100% {left: -110%;}
}
/*5枚目*/
@keyframes slide5 {
	0% {left: 110%;}
	70% {left: 110%;}
	86% {left: 0%;}
	95% {left: 0%;}
	99% {left: 0%;}
	100% {left: 0%;}
}


/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
	position: relative;
	width: 100%;
	height: 435px;			/*高さ*/
	background: url(img/bg_sec01.jpg) no-repeat 100%;	/*背景色*/
	background-size:100% auto;
	overflow: hidden;

}
#mainimg  a {
	color: transparent;
	display: block;
	width: 100%;
	height: 100%;
}
/*５枚画像の共通設定*/
.slide1,.slide2,.slide3,.slide4,.slide5 {
	position: absolute;left:0px;top:0px;width: 100%;height:100%;
	animation-duration: 21s;				/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	animation-delay: 2s;					/*アニメーションを遅れて開始させる。「s」は秒の事。*/
	animation-fill-mode: both;				/*アニメーションの待機中は最初のフレームを、アニメーションの完了後は最後のフレームを維持する。*/
	transition: 0.2s;						/*マウスオン時の移り変わるまでの時間設定。0.4秒。*/
}


/*1枚目*/
.slide1 {
	background: url(./img/hero1800.jpg) no-repeat center center/cover;	/*1on.jpg画像の読み込み*/
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/

}
/*2枚目*/
.slide2 {
	background: url(./img/hero_guide1800.jpg) no-repeat center center/cover;	/*2.jpg画像の読み込み*/
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*3枚目*/
.slide3 {
	background: url(./img/hero_anshin1800.jpg) no-repeat center center/cover;	/*3.jpg画像の読み込み*/
	animation-name: slide3;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*4枚目*/
.slide4 {
	background: url(./img/hero_sale1800.jpg) no-repeat center center/cover;	/*4.jpg画像の読み込み*/
	animation-name: slide4;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*5枚目*/
.slide5 {
	background: url(./img/hero1800.jpg) no-repeat center center/cover;	/*5.jpg画像の読み込み*/
	animation-name: slide5;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
.slide2:hover, .slide3:hover, .slide4:hover {
	transform: scale(1.02);
}

.only-sp {
	display: none!important;
}
@media screen and (max-width: 1000px) {
	#sotsuen_top {
		margin-top: 65px;
	}
	#gNav {
		display: none;
	}
}
@media screen and (max-width: 768px) {
	.only-pc {
		display: none!important;
	}
	.only-sp {
		display: block!important;
	}

	.main-head {
		display: block;
		height: 0;
		padding-top: 105%;
		margin-bottom: 30px;
		background-image: url(./common/img/img_top.jpg);
		background-repeat: no-repeat;
		background-size: contain;
		white-space: nowrap;
		text-indent: 100%;
		overflow: hidden;
	}

	.top-search {
		margin-bottom: 27px;
	}

	.top-search .grid .col {
		position: relative;
	}

	.top-search .grid .col a,
	.page-album .album-top .bg-top .grid .col a {
		position: relative;
		display: block;
	}

	.top-search .grid .col a::after,
	.page-album .album-top .bg-top .grid .col a::after {
		content: '';
		display: block;
		position: absolute;
		width: 40px;
		height: 40px;
		background: url(../img/ico_search.png) no-repeat;
		background-size: contain;
		margin: auto;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.top-search .grid .col img {
		margin: 0 auto;
	}

	.btn {
		display: block;
		position: relative;
		line-height: 62px;
		color: #fff;
		border-bottom: 2px solid #646361;
		text-align: center;
		letter-spacing: 1px;
	}

	.btn::after {
		content: '';
		display: block;
		position: absolute;
		width: 7px;
		height: 12px;
		background: url(../img/ico_arrow01.png) no-repeat;
		background-size: contain;
		margin: auto;
		top: 0;
		bottom: 0;
		right: 15px;
	}

	.btn02 {
		display: block;
		position: relative;
		width: 85%;
		color: #fff;
		letter-spacing: 1px;
		border-radius: 30px;
		margin: 0 auto 15px;
		padding: 20px 0 20px 15px;
		box-sizing: border-box;
	}

	.btn02::before {
		content: '';
		display: block;
		position: absolute;
		margin: auto;
		top: 0;
		bottom: 0;
		left: 40px;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.btn02.ico-est::before {
		width: 30px;
		height: 33px;
		background-image: url(../img/ico_est.png);
	}

	.btn02.ico-mail::before {
		width: 30px;
		height: 29px;
		background-image: url(../img/ico_mail.png);
	}

	.btn02 img {
		width: 50%;
		margin: 0 auto;
	}

	.five-minutes {
		display: block;
		background-color: #c1d14c;
		padding: 8px;
		margin: 35px -8px 0;
	}

	.five-minutes .five-in {
		background-color: #fff;
		padding: 10px 10px 20px;
	}

	.five-minutes .five-in figure {
		margin-bottom: 15px;
	}

	.slider {
		display: block;
		padding-bottom: 25px;
	}

	.slider .main-gallery {
		position: relative;
	}

	.slider .main-gallery .flickity-prev-next-button {
		display: block;
		position: absolute;
		width: 5%;
		height: 7%;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		background-color: inherit;
		margin: auto;
		top: 0;
		bottom: 0;
		transform: none;
	}

	.slider .main-gallery .flickity-prev-next-button.next {
		background-image: url(../img/ico_slider_l.png);
		left: -8px;
		right: auto;
	}

	.slider .main-gallery .flickity-prev-next-button.previous {
		background-image: url(../img/ico_slider_r.png);
		right: -8px;
		left: auto;
	}

	.slider .main-gallery .flickity-prev-next-button svg {
		display: none;
	}

	.chara {
		padding: 37px 15px;
		text-align: center;
	}

	.chara.chara01 {
		background-color: #c2e4ea;
	}

	.chara.chara02 {
		background-color: #f8d2d5;
	}

	.chara h2 {
		width: 70%;
		margin: 0 auto 20px;
		line-height: 1.4;
	}

	.chara strong {
		display: inline-block;
		font-size: 18px;
		border: 1px solid #4d4d4d;
		padding: 5px 15px;
		margin: 0 auto 15px;
	}

	.chara h3 {
		font-size: 25px;
		margin: 25px 0 20px;
		text-align: left;
		line-height: 1.5;
	}

	.chara p {
		margin-bottom: 35px;
		text-align: left;
	}

	#sotsuen_top section {
		padding: 0 8px;
	}

	#sotsuen_top section.sec01 {
		background-image: url(../img/bg_sec01.jpg);
		margin-bottom: 35px;
	}

	#sotsuen_top section.sec02 {
		padding: 0;
	}

	#sotsuen_top section.sec03 {
		padding: 30px 25px 20px 25px !important;
	}

}
