@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/day/top1.jpg"); }

/*SERVICE*/
.education {
	margin-top: 0;
}
.education .education-area{
	position: relative;
    width: 80%;
    margin: 180px auto 0;
}
.education-snd .education-area,
.education-thd .education-area {
    margin-top: 130px;
}
.education .education-area:after{
	content: "";
	position: absolute;
	background: #f7f7f7;
	z-index: -1;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.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 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;
}
.education .education-area .text-box{
	position: relative;
}
.education .education-area .text-box:before {
	content: "";
    right: calc(-10vw + 10px);
    top: 50%;
    width: calc(10% + 50px);
    height: 50%;
    transform: translateY(-50%);
    position: absolute;
    background-image: radial-gradient(#c5eefe 25%, transparent 0), radial-gradient(#c5eefe 25%, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}
.education .education-area .text-box:after {
    left: calc(-10vw + 10px);
    top: 50%;
    width: calc(10% + 50px);
    height: 50%;
    transform: translateY(-50%);
}
.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{
	text-align: center;
    color: #666;
    width: 80%;
    max-width: 1000px;
    margin: 40px auto 0;
}
.education .education-area .image-box-education{
	width: 112%;
	margin: 50px 0 35px -6%;
	display: flex;
	flex-wrap: wrap;
}
.education .education-area .image-box-education .image{
	height: 450px;
	width: 100%;
    border-radius: 8px;
}
.education .education-area .image-box-education-fst .image{
	background: url("../img/day/day1.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-snd .image{
	background: url("../img/day/day2.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-thd .image{
	background: url("../img/day/day3.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-forth .image{
	background: url("../img/day/day4.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-fifth .image{
	background: url("../img/day/day5.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-six .image{
	background: url("../img/day/day6.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area .image-box-education-seven .image{
	background: url("../img/day/day7.jpg") no-repeat center;
    background-size: cover;
}
.education .education-area ul{
	margin: 0 auto;
    display: table;
	padding-bottom: 70px;
}
.education .education-area ul li{
	display: flex;
    padding: 20px;
    border-bottom: 1px solid #cecece;
}
.education .education-area ul li span{
	font-weight: 700;
    margin-right: 20px;
}
@media screen and (max-width: 1450px) {
	.education .education-area p{
	    width: calc(100% - 100px);
		max-width: 100%;
		text-align: left;
	}
	.education{
		margin-top: 0;
	}
	.education .education-area {
		margin-top: 180px;
	}
	.education .education-area p br{
		display: none;
	}
}
@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 .education-area{
		margin-top: 160px;
	}
	.education-snd .education-area,
	.education-thd .education-area,
	.education-forth .education-area,
	.education-fifth .education-area,
	.education-six .education-area,
	.education-seven .education-area{
		margin-top: 100px;
	}
}
@media screen and (max-width: 1100px) {
	.education .education-area h3{
	    margin: 0 auto;
		font-size: 1.6em;
	}
	.education .education-area .image-box-education{
		width: 106%;
    	margin: 50px 0 20px -3%;
	}
	.education .education-area .image-box-education .image{
		height: 300px;
	}
	.education .education-area .data-box{
	    width: calc(100% - 100px);
	}
}
@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{
	    width: calc(100% - 6vw);
	}
	.education .education-area .image-box-education{
		width: 94vw;
    	margin: 50px 0 0 -3vw;
	}
	.education .education-area .image-box-education .image{
		border-radius: 0;
	}
	.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;
	}
	.education .education-area ul{
		margin-top: 20px;
	}
	#footer-sub {
		margin: 0 auto;
	}
}
@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 .image-box-education{
		width: 100%;
	    margin: 30px 0 0;
	}
	.education .education-area h2{
		font-size: .9em;
		letter-spacing: .2em;
		padding: 7px 20px 7px 26px;
	}
	.education{
		margin-top: 50px;
	}
	.education .education-area{
		width: 100%;
		margin: 95px auto 0;
	}
	.education-snd .education-area,
	.education-thd .education-area,
	.education-forth .education-area,
	.education-fifth .education-area,
	.education-six .education-area,
	.education-seven .education-area{
		margin-top: 70px;
	}
	.education .education-area ul li span.cap{
		left: 50%;
		right: inherit;
		transform: translate(-50%, 50%);
	}
	.education .education-area h3{
		font-size: 1.2em;
		line-height: 1.4;
	    padding: 0px 3vw 20px;
	}
	.education .education-area p{
		margin: 20px auto 0;
	    width: calc(100% - 6vw);
	}
	.education .education-area .data-box{
		margin: 20px auto 0;
		width: calc(100% - 6vw);
		font-size: .9em;
	}
	.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;
	}
}
@media screen and (max-width: 320px) {
	.education .education-area h2{
		letter-spacing: .1em;
	}
}