@charset "utf-8";

#main-cnt .wrapper-in{
    padding: 0 50px 0;
}
.main-view{
	width: 100%;
	position: relative;
}
.main-view .cap-title{
	position: absolute;
    left: calc(50% - 10px);
    top: 0;
	opacity: 0;
	z-index: 0;
    background: #e898b0;
    padding: 25px 5px;
    border-radius: 0 0 15px 15px;
    color: #fff;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	-webkit-transition: all cubic-bezier(.8,.4,.32,1) 0.5s;
    transition: all cubic-bezier(.2,.4,1) 0.5s;
	transform: translate(-50%,20%) scale(0.95, 1.2);
	-webkit-transform: translate(-50%,20%) scale(0.95, 1.2);
}
.main-view .cap-title.view{
	opacity: 1;
	transform: translate(-50%,0%) scale(1);
	-webkit-transform: translate(-50%,0%) scale(1);
}
.main-view .cap-title h2{
	line-height: 4.8em;
    letter-spacing: .6em;
    font-family: 'Kosugi Maru', sans-serif;
    text-align: center;
}
.main-view .cap-title h2 span{
	display: block;
    border-right: 1px solid #fff;
    font-size: 1.45em;
}
.main-view .cap-main{
	padding: 30px;
    background: #fff;
    background-image: radial-gradient(#c5eefe 25%, transparent 0), radial-gradient(#c5eefe 25%, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: table;
    position: absolute;
    width: fit-content;
    left: 50%;
    bottom: 0;
    z-index: 5;
	border-radius: 15px;
    opacity: 0;
	-webkit-transition: all cubic-bezier(.8,.4,.32,1) 0.5s;
    transition: all cubic-bezier(.2,.4,1) 0.5s;
	transform: translate(-50%,100%) scale(0.95, 1.5);
	-webkit-transform: translate(-50%,100%) scale(0.95, 1.5);
}
.main-view .cap-main.view{
	opacity: 1;
	transform: translate(-50%,50%) scale(1);
	-webkit-transform: translate(-50%,50%) scale(1);
}
.main-view .cap-main h3{
	-webkit-transform: translate3d(0, 10px, 0) scale(0.95, 1);
            transform: translate3d(0, 10px, 0) scale(0.95, 1);
	-webkit-transition: all cubic-bezier(.8,.4,.32,1) 0.5s;
    transition: all cubic-bezier(.2,.4,1) 0.5s;
	display: inline-block;
	opacity: 0;
}
.main-view .cap-main h3 span{
	-webkit-transform: translate3d(0, 10px, 0) scale(0.95, 1);
            transform: translate3d(0, 10px, 0) scale(0.95, 1);
	-webkit-transition: all cubic-bezier(.8,.4,.32,1) 0.8s;
    transition: all cubic-bezier(.2,.4,1) 0.8s;
	display: inline-block;
	opacity: 0;
}
.main-view .cap-main h3 span.b{
	font-size: 1.6em;
}
.main-view .cap-main.view h3,
.main-view .cap-main.view h3 span{
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
}
.main-view .cap-main h3{
	font-size: 1.4em;
    line-height: 1.3;
    font-family: 'Kosugi Maru', sans-serif;
    letter-spacing: .48em;
    font-weight: 700;
	margin-left: 6px;
}
.main-view .cap-main h3 span.b{
	font-size: 1.6em;
}
/*top-image*/
.top-image {
    width: calc(100% - 100px);
    height: calc(100vh - 288px);
    display: block;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
	z-index: -1;
}
.top-image:before{
	content: "";
	position: absolute;
    left: 0;
    top: -15%;
    width: calc(50% + 1px);
    height: 130%;
    transform: translateY(0%) skewY(-7deg);
	background: #5cc2cf;
	-webkit-transition: transform 1500ms cubic-bezier(0.575,0.005,0.285,1.005),opacity 1500ms cubic-bezier(0.575,0.005,0.285,1.005);
    transition: transform 1500ms cubic-bezier(0.575,0.005,0.285,1.005),opacity 1500ms cubic-bezier(0.575,0.005,0.285,1.005);
	z-index: 1;
}
.top-image:after{
	content: "";
	position: absolute;
    right: 0;
    top: -15%;
    width: calc(50% + 1px);
    height: 130%;
    transform: translateY(0%) skewY(7deg);
	background: #5cc2cf;
	-webkit-transition: transform 1500ms cubic-bezier(0.575,0.005,0.285,1.005),opacity 1500ms cubic-bezier(0.575,0.005,0.285,1.005);
    transition: transform 1500ms cubic-bezier(0.575,0.005,0.285,1.005),opacity 1500ms cubic-bezier(0.575,0.005,0.285,1.005);
	z-index: 1;
}
.top-image.loadf:before,
.top-image.loadf:after{
	transform: translateY(-100%) skewY(0deg);	
}
.top-image {
	background:#fff;
}

.top-image span.view {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    z-index: 0;
}
.top-image span { background-image: url("../img/facility/top1.jpg"); }

/*FACILITY*/
.facility {
	margin-top: 180px;
}
.facility .facility-area{
	position: relative;
    width: calc(100% - 100px);
    margin: 60px auto 0;
}
.corner-box5:before,
.corner-box5:after{
	top: 50%;
    transform: translateY(-100%);
}
.facility .facility-area:after{
	content: "";
	position: absolute;
	background: #f7f7f7;
	z-index: -1;
	width: 100%;
	height: 80px;
	left: 0;
	top: 0;
}
.facility .facility-area h2{
    font-family: 'Kosugi Maru', sans-serif;
    background: #f19eb4;
    border-radius: 15px;
    font-size: 1.2em;
    letter-spacing: .4em;
    padding: 13px 35px 15px 43px;
    display: table;
    color: #fff;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,-50%);
}
.facility .facility-area h2 span.b{
	font-size: 1.5em;
}
.facility .facility-area h3{
	font-family: 'Kosugi Maru', sans-serif;
	position: relative;
    font-size: 1.7em;
	letter-spacing: .1em;
    padding: 20px 35px;
    display: table;
    margin: 20px auto 0;
    text-align: center;
}
.facility .facility-area h3:before{
	content: "";
	position: absolute;
	background: #0086c7;
	width: 100%;
	height: 1px;
	bottom: 5px;
	left: 0;
}
.facility .facility-area h3:after{
	content: "";
	position: absolute;
	background: #f19eb4;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
}
.facility .facility-area p{
	text-align: center;
    color: #666;
    max-width: 1000px;
    margin: 40px auto 0;
}
.facility .facility-area .image-long{
	width: 80%;
    margin: 70px auto 50px;
	height: 500px;
	background: url("../img/index/facility1.jpg") no-repeat center;
    background-size: cover;
}
.facility .box1{
	position: relative;
	padding-top: 70px;
	width: 100%;
}
.facility .box1:nth-child(1){
	padding-top: 90px;
}
.facility .box1:after{
	content: "";
    position: absolute;
    background: #f7f7f7;
    z-index: -1;
    width: 100%;
    height: 50%;
    left: 0;
    top: 0;
}
.facility .box1 ul{
	display: flex;
    flex-wrap: wrap;
    width: 80%;
    max-width: 1150px;
	margin: 0 auto;
	padding-bottom: 70px;
}
.facility .box1:nth-child(3) ul{
	padding-bottom: 0;
}
.facility .box1 ul li{
    width: 50%;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    text-align: left;
}
.facility ul .text-box {
    width: calc(100% - 20%);
    z-index: 1;
	margin-top: -50px;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
    transform: translate(12.5%,0);
}
.facility ul .text-box .cap-box{
	margin-top: 20px;
}
.facility ul .text-box h4{
	text-align: center;
	font-family: 'Kosugi Maru', sans-serif;
}
.facility ul .text-box h4 span{
	color: #333;
	position: relative;
	font-size: 1.3em;
	font-weight: 700;
	letter-spacing: .2em;
}
.facility ul .text-box h4 span:before{
	content: "";
    position: absolute;
    left: -30px;
    top: 3px;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background: #f19eb4;
}
.facility ul .text-box h4 span:after{
	content: "";
    position: absolute;
    right: -30px;
    top: 3px;
    height: 12px;
    width: 12px;
    border-radius: 12px;
	background: #0086c7;
}
.facility ul .text-box p{
	margin-top: 10px;
	color: #666;
	text-align: left;
}
.facility ul li .image{
	width: calc(100% - 10px);
    border: 10px solid #ea5c85;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.facility ul li:nth-child(2) .image{
	border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 10px solid #0086c7;
    border-left: none;
}
.facility .box1:nth-child(2) ul li:nth-child(1) .image{
    border: 10px solid #fabe00;
	border-right: none;
}
.facility .box1:nth-child(2) ul li:nth-child(2) .image{
	border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 10px solid #ea5c85;
    border-left: none;
}
.facility .box1:nth-child(3) ul li:nth-child(1) .image{
	border-radius: 8px;
	border: 10px solid #0086c7;
}

.facility ul li .image img{
	width: 100%;
}
.facility ul li .btn-box{
	margin: 20px auto 0;
    display: table;
}

@media screen and (max-width: 1450px) {
	.facility ul .text-box h4{
		font-size: .9em;
	}
}
@media screen and (max-width: 1300px) {
	.main-view .cap-title h2 {
		line-height: 3.8em;
		letter-spacing: .45em;
	}
	.main-view .cap-title h2 span{
		font-size: 1.4em;
	}
	.facility {
		margin-top: 160px;
	}
	.facility ul .text-box h4 span{
		font-size: 1.15em;
	    letter-spacing: .1em;
	}
	.facility ul .text-box h4 span:before,
	.facility ul .text-box h4 span:after{
		top: 1px;
	}
	.facility ul .text-box h4 span:before{
		left: -21px;
	}
	.facility ul .text-box h4 span:after{
		right: -21px;
	}
}
@media screen and (max-width: 1200px) {
	.facility ul .text-box{
		padding: 20px;
	}
}
@media screen and (max-width: 980px) {
	.main-view .cap-title h2 {
		line-height: 3.4em;
    	letter-spacing: .4em;
	}
	.main-view .cap-title h2 span{
		font-size: 1.3em;
	}
	#main-cnt .wrapper-in{
		padding: 50px 3vw 0;
	}
	.top-image{
		width: calc(100% - 6vw);
		height: calc(100vh - 220px);
	}
	.top-image .cap-main {
    	padding: 20px 30px;
	    bottom: 0;
	    top: initial;
	}
	.top-image .cap-main.view{
		transform: translate(-50%,50%) scale(1);
    	-webkit-transform: translate(-50%,50%) scale(1);
	}
	.facility .box1{
		padding-top: 50px;
	}
	.facility .facility-area,
	.facility .box1 ul{
	    width: calc(100% - 6vw);
	}
	.facility .box1 ul{
		padding-bottom: 50px;
	}
}
@media screen and (max-width: 768px) {
	.top-image {
		height: calc(100vh - 290px);
	}
	.main-view .cap-title{
		padding: 18px 5px;
	}
	.main-view .cap-title h2 {
	    font-size: .75em;
		line-height: 2.5rem;
		letter-spacing: .4em;
	}
	.main-view .cap-title h2 span{
	    font-size: 1.15rem;
	}
	.main-view .cap-main {
    	padding: 20px;
	}
	.main-view .cap-main h3 {
		font-size: .95em;
	    letter-spacing: .1em;
	}
	.facility{
		margin-top: 95px;
	}
	.facility .facility-area h2{
		font-size: .9em;
		padding: 7px 20px 7px 26px;
	}
	.facility .facility-area{
	    width: 100%;
    	margin: 0 auto;
	}
	.facility .box1:nth-child(1) {
		padding-top: 50px;
	}
	.facility .box1:after{
		height: 100%;
	}
	.corner-box5:before, .corner-box5:after{
		top: 100%;
	}
	.facility .facility-area .box1 ul{
		display: block;
	    padding-bottom: 0;
	}
	.facility .box1:nth-child(3) ul{
		padding-bottom: 50px;
	}
	.facility .facility-area .box1 ul li{
		width: 100%;
		padding: 0;
		margin-top: 50px;
	}
	.facility .facility-area .box1 ul li:nth-child(1){
		margin-top: 0;
	}
	.facility .facility-area ul li .image{
		width: calc(100% - 10px);
		margin: 0 auto;
		height: auto;
		overflow: hidden;
		border: 5px solid #ea5c85;
		border-radius: 5px;
	}
	.facility .box1:nth-child(1) ul li:nth-child(2) .image{
		border: 5px solid #0086c7;
	}
	.facility .box1:nth-child(2) ul li:nth-child(1) .image{
		border: 5px solid #fabe00;
	}
	.facility .box1:nth-child(2) ul li:nth-child(2) .image{
		border: 5px solid #ea5c85;
	}
	.facility .box1:nth-child(3) ul li:nth-child(1) .image{
		border: 5px solid #0086c7;
	}
	.facility ul .text-box{
		width: 90%;
		transform: translate(5.5%,0);
	}
}