@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: #32a238;
    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/events/top1.jpg"); }

/*SERVICE*/
.education {
	margin: 0 auto;
}
.education .education-area{
	position: relative;
    width: 100%;
    flex-wrap: wrap;
    margin: 130px auto 0;
    display: flex;
}
.education-fst .education-area{
    margin-top: 180px;
}
.education .education-area:before{
	content: "";
	position: absolute;
	background: #f7f7f7;
	z-index: -1;
	width: 80%;
	height: 100%;
	left: 10%;
	top: 0;
}
.education .education-area:after{
	left: 0;
    top: 50%;
    height: 50%;
    width: 10%;
    transform: translateY(-50%);
}
.education .education-area h2{
    font-family: 'Kosugi Maru', sans-serif;
	background: #32a238;
	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;
    transform: translateY(-50%);
}
.education .education-area h2 span.b{
	font-size: 1.5em;
}
.education .education-area .text-box{
	width: 35%;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    margin-left: 10%;
}
.education-right .education-area .text-box{
	order: 1;
	margin-left: 0%;
	margin-right: auto;
}
.education-center1 .education-area .text-box,
.education-center2 .education-area .text-box{
	height: 400px;
    width: 80%;
    margin: 0 auto;
}
.education-right .education-area .image-box-education{
	order: 0;
}
.education-right .education-area:after,
.education-center2 .education-area:after{
	background-image: radial-gradient(#c5eefe 25%, transparent 0), radial-gradient(#c5eefe 25%, transparent 0);
	left: inherit;
	right: 0;
}
.education .education-area .text-box:after {
    left: calc(-10vw + 10px);
    top: 50%;
    width: calc(10% + 50px);
    height: 50%;
    transform: translateY(-50%);
}
.education .education-area .text-in{
    width: 100%;
	box-sizing: border-box;
	padding: 40px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}
.education .education-area h3{
	font-family: 'Kosugi Maru', sans-serif;
	position: relative;
    font-size: 1.25em;
	letter-spacing: .1em;
    padding: 15px 20px 10px;
    display: table;
    margin: 0 auto;
    text-align: center;
}
.education .education-area h3:before{
	content: "";
	position: absolute;
	background: #0086c7;
	width: 100%;
	height: 1px;
	bottom: 5px;
	left: 0;
}
.education .education-area h3:after{
	content: "";
	position: absolute;
	background: #f19eb4;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
}
.education .education-area p{
	display: table;
    color: #666;
    margin: 30px auto 0;
}
.education .education-area .image-box-education{
	width: 55%;
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
}
.education .education-area .image-box-education .image{
	margin-left: 5%;
    height: 450px;
    width: 90%;
    border-radius: 8px;
}
.education.e1 .education-area .image{
	background: url("../img/events/events1.jpg") no-repeat center;
    background-size: cover;
}
.education.e2 .education-area .image{
	background: url("../img/events/events2.jpg") no-repeat center;
    background-size: cover;
}
.education.e3 .education-area .image{
	background: url("../img/events/events3.jpg") no-repeat center;
    background-size: cover;
}
.education.e4 .education-area .image{
	background: url("../img/events/events4.jpg") no-repeat center;
    background-size: cover;
}
.education.e5 .education-area .image{
	background: url("../img/events/events5.jpg") no-repeat center;
    background-size: cover;
}
.education.e6 .education-area .image{
	background: url("../img/events/events6.jpg") no-repeat center;
    background-size: cover;
}
.education.e7 .education-area .image{
	background: url("../img/events/events7.jpg") no-repeat center;
    background-size: cover;
}
.education.e8 .education-area .image{
	background: url("../img/events/events8.jpg") no-repeat center;
    background-size: cover;
}
.education.e9 .education-area .image{
	background: url("../img/events/events9.jpg") no-repeat center;
    background-size: cover;
}
.education.e10 .education-area .image{
	background: url("../img/events/events10.jpg") no-repeat center;
    background-size: cover;
}
.education.e11 .education-area .image{
	background: url("../img/events/events11.jpg") no-repeat center;
    background-size: cover;
}
.education.e12 .education-area .image{
	background: url("../img/events/events12.jpg") no-repeat center;
    background-size: cover;
}
@media screen and (max-width: 1450px) {
	.education .education-area h3{
		font-size: 1.1em;
		padding: 10px 20px 8px;
	}
}
@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;
	}
	.education-fst .education-area-fst{
		margin-top: 160px;
	}
	.education .education-area{
		margin-top: 100px;
	}
	.education .education-area .text-box{
		width: 40%;
		margin-left: 5%;
	}
	.education-center1 .education-area .text-box,
	.education-center2 .education-area .text-box{
		width: 90%;
		margin: 0 auto;
	}
	.education-right .education-area .text-box{
		margin-left: 0%;
	}
	.education .education-area:before{
	    width: 90%;
		left: 5%;
	}
	.education .education-area:after{
		width: 5%;
	}
}
@media screen and (max-width: 1100px) {
	.education .education-area h3{
	    margin: 0 auto;
		font-size: 1.1em;
	}
	.education-center1 .education-area .text-box p br,
	.education-center2 .education-area .text-box p br{
		display: none;
	}
}
@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);
	}
	.main-view .cap-main h3 {
		font-size: 1.2em;
	    letter-spacing: .35em;
	}
	.education .education-area{
		display: block;
	}
	.education .education-area .text-box {
		width: 88%;
		margin-left: 6vw;
	}
	.education-center1 .education-area .text-box,
	.education-center2 .education-area .text-box{
		height: auto;
		padding-bottom: 60px;
	}
	.education .education-area:after{
		width: 0;
	}
	.education .education-area .text-in{
		width: 100%;
    	padding: 0 3vw;
		position: inherit;
		left: inherit;
		top: inherit;
		transform: none;
	}
	.corner-box5,
	.corner-box9{
		display: none;
	}
	.education .education-area .image-box-education{
		width: 88vw;
	    margin: 30px 0 0 3vw;
	}
	.education .education-area .image-box-education .image{
	    width: 100%;
		margin-left: 0;
	}
	.education .education-area:before {
		width: 88%;
    	left: 6vw;
	}
	.education .education-area .text-box:before,
	.education .education-area .text-box:after {
		width: 6vw;
	}
	.education .education-area .text-box:before {
    	right: -3vw;
	}
	.education .education-area .text-box:after {
    	left: -3vw;
	}
}
@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;
	}
	.education .education-area h2{
		font-size: .9em;
		letter-spacing: .2em;
		padding: 7px 20px 7px 26px;
	}
	.education{
		margin-top: 50px;
	}
	.education-fst{
		margin-top: 95px;
	}
	.education .education-area{
		margin: 70px auto 0;
	}
	.education-center1 .education-area .text-box,
	.education-center2 .education-area .text-box{
		padding-bottom: 40px;
	}
	.education .education-area ul li span.cap{
		left: 50%;
		right: inherit;
		transform: translate(-50%, 50%);
	}
	.education .education-area h3{
		line-height: 1.6;
	}
	.education .education-area p{
		margin: 20px auto 0;
	}
	.education .education-area .image-box-education .image{
		height: 250px;
	}
	.education .education-area .text-box:before,
	.education .education-area .text-box:after{
		width: 0;
	}
	.education .education-area ul{
		margin-top: 0;
	    padding-bottom: 40px;
	}
	.education .education-area ul li,
	.education .education-area ul li span{
		display: block;
	}
	#footer-sub {
		margin: 50px auto 0;
	}
}
@media screen and (max-width: 320px) {
	.education .education-area h2{
		letter-spacing: .1em;
	}
}