* {
    outline: none;
}
body, footer, header, section, nav, div{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	align-items: center;
	margin: 0;
	padding: 0;
	position: relative;
	font-family: 'IBM Plex Sans', sans-serif;
}
img{
	max-width: 100%;
}
body, footer, header, section{
    width: 100%;
}
footer, header, section{
	overflow: hidden;
}
footer .wrapper, header .wrapper, section .wrapper{
	padding: 0 16px;
	max-width: 500px;
	width: 100%;
	z-index: 1;
}
.text-left{
	text-align: left;
}
@media (min-width: 720px){
	footer .wrapper, header .wrapper, section .wrapper{
		padding: 0 60px;
		max-width: unset;
		flex-direction: row;
		flex-wrap: wrap;
	}
	footer .wrapper>*, header .wrapper>*, section .wrapper>*{
		width: 100%;
	}
}
@media (min-width: 1280px){
	footer .wrapper, header .wrapper{
		padding: 0 28px;
		width: 1280px;
	}
}
/* components */
.button{
	width: 100%;
	max-width: 392px;
	background: #FFE176;
	border-radius: 4px;
	padding: 12px 24px;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	color: #002E6E;
	cursor: pointer;
	text-decoration: none;
	display: flex;
	box-sizing: border-box;
	text-align: center;
	justify-content: center;
}
/* header */
header{
	background: #112360;
	color: white;
	z-index: 1;
}
header .logo{
	width: 288px;
	padding: 22px 0;
	height: 80px;
}
header .logo img{
    max-width: 100%;
    position: absolute;
    top: -104px;
    width: 100%;
    height: 288px;
}
header .name{
	text-transform: uppercase;
}
header .wrapper{
	flex-direction: row;
	justify-content: space-between;
}
header nav{
	width: auto!important;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}
header nav a{
	color: white;
	font-size: 14px;
	line-height: 24px;
	border-bottom: 1px white dashed;
	text-decoration: none;
	margin: 0 8px;
}
header .button-header{
	text-decoration: none;
	color: #FFE176;
	font-size: 14px;
	line-height: 24px;
	font-weight: 500;
	border: 1px solid #FFE176;
	border-radius: 4px;
	padding: 4px 24px;
	width: auto;
	display: none;
	box-sizing: border-box;
}
@media (min-width: 720px){
	header .wrapper{
		max-width: 720px;
	}
}
@media (max-width: 719px){
	header .wrapper{
		flex-direction: column;
	}
}
@media (min-width: 1280px){
	header .wrapper{
		justify-content: space-between;
		max-width: unset;
	}
	header .button-header{
		display: flex;
	}
}
/* main */
#main{
	background: #002E6E;
	color: white;
	text-align: center;
	padding-top: 48px;
	padding-bottom: 140px;
	overflow: hidden;
	margin-top: -1px;
}
#main:before{
    content: "";
    transform: rotate(-5deg);
    position: absolute;
    background: #112360;
    top: -120%;
    width: 200%;
    height: 142%;
}
#main:after{
    content: "";
    transform: rotate(5deg);
    position: absolute;
    background: white;
    bottom: -130%;
    width: 200%;
    height: 137%;
}
#main .date{
	font-size: 14px;
	line-height: 24px;
	background: #134892;
	border-radius: 4px;
	padding: 4px 24px;
	width: 210px;
	color: #A7C0E2;
}
#main .title h1{
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	margin: 24px 0 8px;
}
#main .title h2{
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	margin: 0;
	color: #75A2E1;
}
#main .text{
	font-size: 14px;
	line-height: 24px;
	margin-top: 24px;
	padding: 0 2px;
}
#main .text span{
	display: contents;
    color: #FFE176;
    font-weight: 500;
    font-size: 120%;
}
#main .button{
	margin-top: 32px;
}
#main .video{
	margin: 16px 0 0 12px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	cursor: pointer;
	width: auto;
	cursor: pointer;
}
#main .video:before{
	content: '';
    position: absolute;
    left: -24px;
    bottom: 5px;
    border: 7px solid transparent;
    border-left: 12px solid white;
}
@media (min-width: 720px){
	#main{
		padding-bottom: 0;
	}
	#main:after{
		content: "";
		transform: rotate(5deg);
		position: absolute;
		background: #fff;
		bottom: -125%;
		width: 200%;
		height: 132%;
		z-index: 1;
	}
	#main .inner{
		width: 600px;
		background: none;
		flex-direction: row;
		flex-wrap: wrap;
	}
	#main .wrapper{
		text-align: left;
		background: url(/openday/fon.png) bottom no-repeat;
		padding-bottom: 512px;
		flex-direction: column;
	}
	#main .title h1{
		font-size: 40px;
		line-height: 48px;
		align-self: flex-start;
	}
	#main .title h2{
		font-size: 18px;
		line-height: 24px;
		align-self: flex-start;
	}
	#main .button{
		margin-right: 40px;
		width: 288px;
	}
	#main .video{
		margin: 32px 0 0 12px;
		line-height: 42px;
	}
	#main .video:before{
		bottom: 13px;;
	}
}
@media (min-width: 1280px){
	#main{
		padding: 0;
	}
	#main .inner{
		width: 600px;
		align-self: flex-end;
		background: none;
		padding-bottom: 160px;
		flex-direction: row;
		flex-wrap: wrap;
	}
	#main .wrapper{
		background: url(/openday/fon.png) bottom left no-repeat;
		padding-bottom: 13px;
		flex-direction: column;
		width: 1280px;
		padding: 48px 28px 0;
	}
	#main:before{
		top: -128%;
	}
	#main:after{
		bottom: -118%;
	}
}
#who{
	margin-top: -40px;
	color: #002E6E;
}
#who .title{
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	align-self: flex-start;
	margin: 0;
}
#who .text{
	margin-top: 24px;
	padding-bottom: 72px;
}
#who .text .left{
	font-size: 14px;
	line-height: 24px;
}
#who .text .right{
	font-size: 16px;
	line-height: 24px;
	margin-top: 24px;
	margin-left: 64px;
}
#who .text .right:before{
	content: url('/openday/nintendo.svg');
    width: 48px;
    height: 48px;
	left: -64px;
	position: absolute;
}
#who .nintendo{
	border-top: 4px solid #FFE176;
	border-bottom: 10px solid #FFE176;
	margin: 0 -16px;
	padding: 150px 16px 60px;
	text-align: center;
	color: #112360;
	background: white;
}
#who .nintendo:before{
    content: url('/openday/nintendo1.png');
    width: 288px;
    height: 174px;
	top: -43px;
	position: absolute;
}
#who .nintendo>*{
	max-width: 400px;
}
#who .nintendo .top{
	font-size: 24px;
	line-height: 40px;
	font-weight: 500;
}
#who .nintendo .center{
	margin-top: 8px;
	font-size: 14px;
	line-height: 24px;
}
#who .nintendo .bottom{
	margin-top: 16px;
	font-size: 14px;
	line-height: 16px;
	color: #8592A4;
}
@media (min-width: 500px){
	#who .nintendo{
		border-left: 4px solid #FFE176;
		border-right: 4px solid #FFE176;
		border-radius: 4px;
	}
}
@media (min-width: 720px){
	#who .wrapper{
		max-width: 728px;
	}
	#who .title{
		font-size: 40px;
		line-height: 48px;
	}
	#who .text{
		flex-direction: row;
		align-items: flex-start;
		max-width: 728px;
	}
	#who .text .left{
		font-size: 16px;
		width: 55%;
		margin-right: 40px;
	}
	#who .text .right{
		width: 45%;
		margin: 0 0 0 64px;
	}
}
@media (min-width: 1280px){
	#who .wrapper{
		max-width: 1280px;
	}
	#who .text{
		margin-left: 248px;
		padding-bottom: 48px;
	}
	#who .title{
		font-size: 48px;
		line-height: 64px;
		margin-left: 248px;
	}
	#who .nintendo{
		width: 1120px;
		text-align: left;
		margin: 0 0 0 104px;
		padding: 32px 24px 40px 312px;
	}
	#who .nintendo>* {
		max-width: none;
		width: 100%;
		align-items: flex-start;
	}
	#who .nintendo:before{
		content: url('/openday/nintendo1.png');
		width: 288px;
		height: 174px;
		top: 0;
		left: -100px;
		position: absolute;
	}
	#who .nintendo .top{
		font-size: 32px;
		line-height: 48px;
		font-weight: 500;
	}
	#who .nintendo .center{
		margin-top: 8px;
		font-size: 16px;
		line-height: 24px;
	}
	#who .nintendo .bottom{
		margin-top: 24px;
		font-size: 14px;
		line-height: 16px;
		color: #8592A4;
	}
}
#numbers{
	color: #112360;
	background: #E5F0FF;
	padding: 48px 0 90px;
	overflow: hidden;
}
#numbers h2{
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	margin: 0;
}
#numbers .number{
	margin: 72px 0 0 0;
	width: 100%;
	align-items: flex-start;
}
#numbers .top{
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
}
#numbers .bottom{
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	margin-top: 8px;
}
#numbers .number:before{
	content: attr(data-num);
    position: absolute;
    top: -73px;
	color: white;
	font-size: 120px;
	line-height: 160px;
}
#numbers .button{
	margin: 32px auto 0;
}
#numbers:after {
    content: "";
    transform: rotate(5deg);
    position: absolute;
    background: white;
    bottom: -126%;
    width: 200%;
    height: 130%;
}
@media (min-width: 720px){
	#numbers{
		margin-top: -80px;
		padding: 200px 0 144px;
	}
	#numbers .wrapper{
		justify-content: space-between;
		align-items: flex-start;
		max-width: 800px;
	}
	#numbers h2{
		font-size: 40px;
		line-height: 48px;
		text-align: center;
	}
	#numbers .number{
		width: 50%;
	}
	#numbers .number .bottom{
		padding-right: 24px;
	}
	#numbers:before{
		content: "";
		transform: rotate(-5deg);
		position: absolute;
		background: white;
		top: -124%;
		width: 200%;
		height: 130%;
	}
	#numbers:after {
		bottom: -123%;
	}
}
@media (min-width: 1280px){
	#numbers:after {
		bottom: -120%;
	}
	#numbers:before{
		top: -119%;
	}
}
#teachers{
	color: #112360;
	padding: 10px 0 0 0;
}
#teachers h2{
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	margin: 0 0 32px 0;
}
#teachers .teacher{
	margin-bottom: 48px;
}
#teachers .teacher img{
	border-radius: 50%;
	width: 184px;
	height: 184px;
}
#teachers .teacher .top{
	font-size: 24px;
	line-height: 40px;
	font-weight: 500;
	margin-top: 16px;
}
#teachers .teacher .bottom{
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	margin-top: 8px;
	color: #002E6E;
	text-align: center;
	max-width: 400px;
}
@media (min-width: 720px){
	#teachers h2{
		font-size: 40px;
		line-height: 48px;
		text-align: center;
	}
	#teachers .teacher .top{
		font-size: 32px;
		line-height: 48px;
	}
	#teachers .teacher .bottom{
		margin-top: 16px;
		font-size: 16px;
	}
}
@media (min-width: 1280px){
	#teachers .wrapper{
		justify-content: space-between;
		align-items: flex-start;
		width: 1280px;
		padding: 0 28px;
	}
	#teachers .teacher{
		width: 30%;
	}
}
#photo{
	padding: 32px 0 48px;
	border-top: 4px solid #FFE176;
	border-bottom: 4px solid #FFE176;
}
#photo h2{
	font-size: 32px;
	text-align: center;
	line-height: 40px;
	font-weight: 400;
	color: #112360;
	margin: 0 0 32px 0;
}
#photo .photo:after{
	content: none;
}
#photo .mySwiper1 .swiper-slide {
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
#photo .mySwiper1 .swiper-slide div{
	align-items: flex-start;
	font-size: 12px;
	line-height: 16px;
	color: #002E6E;
	padding: 16px 12px;
	background: #E5F0FF;
	width: 100%;
}
#photo .mySwiper1 .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#photo .photo{
	display: contents;
}
@media (min-width: 720px){
	#photo{
		padding: 32px 60px 0;
		border-top: none;
		border-bottom: none;
	}
	#photo .wrapper{
		border: 4px solid #FFE176;
		padding: 48px 48px 72px 48px;
	}
	#photo .swiper{
		padding-bottom: 80px;
	}
	#photo .swiper-pagination{
		bottom: -24px;
	}
	#photo .swiper-button-prev, #photo .swiper-button-next{
		bottom: -34px;
	}
	#photo .mySwiper1 .swiper-slide div{
		position: absolute;
		bottom: -40px;
		right: -32px;
		font-size: 14px;
		padding: 12px 24px 12px 32px;
	}
	#photo .photo{
		display: flex;
	}
	#photo .photo:after{
		content: '';
		position: absolute;
		top: 32px;
		right: -32px;
		left: 80px;
		bottom: 40px;
		background: #E5F0FF;
	}
}
@media (min-width: 1280px){
	#photo{
		padding: 32px 28px 0;
	}
	#photo h2{
		font-size: 48px;
		line-height: 64px;
		margin: 0 0 16px 0;
	}
	#photo .wrapper{
		width: 1224px;
	}
	#photo .photo{
		max-width: 750px;
		margin: 0 auto;
	}
	#photo .photo:after{
		right: -32px;
		bottom: 32px;
	}
	#photo .mySwiper1 .swiper-slide div{
		font-size: 16px;
		line-height: 24px;
		bottom: -48px;
	}
}
#review{
	padding: 72px 0 96px 0;
}
#review h2{
	font-size: 32px;
	line-height: 40px;
	font-weight: 400;
	margin: 0;
	color: #112360;
	text-align: center;
}
#review .quote{
	width: 100%;
}
#review .mySwiper2{
	margin-top: 26px;
	color: #002E6E;
}
#review .mySwiper2{
	margin-top: 26px;
}
#review .mySwiper2 .swiper-slide .text{
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	width: 100%;
	margin-bottom: 24px;
}
#review .mySwiper2 .swiper-slide .text span, #review .mySwiper2 .swiper-slide .info-wrapper{
	max-width: 392px;
	flex-direction: row;
	width: 100%;
	justify-content: flex-start;
}
#review .mySwiper2 .swiper-slide img{
	border-radius: 50%;
	margin-right: 16px;
}
#review .mySwiper2 .swiper-slide .info{
	align-items: flex-start;
	width: 180px;
}
#review .mySwiper2 .swiper-slide .info .top{
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
}
#review .mySwiper2 .swiper-slide .info .bottom{
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	margin-top: 8px;
}
#review:after{
	content: "";
	transform: rotate(-5deg);
	position: absolute;
	background: #002E6E;
	bottom: -131%;
	width: 200%;
	height: 137%;
}
@media (min-width: 720px){
	#review{
		padding: 48px 0 100px 0;
	}
	#review h2{
		font-size: 40px;
		line-height: 48px;
	}
	#review .mySwiper2 .swiper-slide .text{
		font-size: 16px;
		line-height: 32px;
	}
	#review .mySwiper2 .swiper-slide .text span{
		position: relative;
	}
	#review .mySwiper2 .swiper-slide .text span:before{
		content: url('/openday/l-quote.svg');
		width: 48px;
		height: 48px;
		left: -82px;
		top: 20px;
		position: absolute;
	}
	#review .mySwiper2 .swiper-slide .text span:after{
		content: url('/openday/r-quote.svg');
		width: 48px;
		height: 48px;
		right: -82px;
		bottom: 20px;
		position: absolute;
	}
	#review .mySwiper2 .swiper-slide .info .bottom{
		min-width: 296px;
	}
	#review:after{
		bottom: -128%;
	}
}
@media (min-width: 1280px){
	#review{
		padding: 120px 0 100px 0;
	}
	#review .wrapper{
		width: 1280px;
	}
	#review h2{
		font-size: 48px;
		line-height: 64px;
		order: 1;
		width: 330px;
		margin-left: 30px;
		text-align: left;
		align-self: flex-start;
	}
	#review .quote{
		width: 800px;
	}
	#review .text{
		width: auto;
	}
	#review .mySwiper2 {
		margin-top: 0;
		padding-bottom: 28px;
	}
	#review .mySwiper2 .swiper-slide .text span, #review .mySwiper2 .swiper-slide .info-wrapper{
		width: 600px;
		max-width: unset;
	}
	#review .mySwiper2 .swiper-slide .text{
		font-size: 24px;
		line-height: 48px;
	}
	#review .mySwiper2 .swiper-slide .info {
		width: 500px;
	}
	#review .mySwiper2 .swiper-slide .info .top{
		font-size: 24px;
		line-height: 36px;
	}
	#review .mySwiper2 .swiper-slide .info .bottom{
		font-size: 18px;
		line-height: 24px;
	}
	#review .mySwiper2 .swiper-pagination{
		top: 165px;
		right: -120px;
		left: unset;
		position: absolute;
		width: auto;
	}
	#review .mySwiper2 .swiper-button-next{
		top: 178px;
		right: -165px;
		left: unset;
	}
	#review .mySwiper2 .swiper-button-prev{
		top: 178px;
		right: -55px;
		left: unset;
	}
	#review:after{
		bottom: -125%;
	}
}
#form{
	background: #002E6E;
	color: white;
	padding: 32px 0 48px;
	margin: -1px 0 0 0;
}
#form h2{
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
	margin: 0 0 16px 0;
	text-align: center;
}
#form .text{
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	margin: 24px 0 32px;
	text-align: left;
	flex-direction: row;
	justify-content: flex-start;
}
#form .text a{
	color: #FFE176;
}
#form .text input{
	width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin: 5px 10px 0 0;
    align-self: flex-start;
}
#form input{
	padding: 12px 0 12px 16px;
	background: #002E6E;
	border: 1px solid #75A2E1;
	border-radius: 4px;
	margin: 0 0 16px 0;
	width: 100%;
	font-size: 16px;
	line-height: 24px;
	box-sizing: border-box;
	color: #fff;
}
#form input::placeholder{
	color: #fff;
}
#form:after{
	content: "";
    transform: rotate(5deg);
    position: absolute;
    background: #112360;
    bottom: -124%;
    width: 200%;
    height: 137%;
}
@media (min-width: 720px){
	#form{
		padding: 72px 0 48px;
	}
	#form .wrapper{
		justify-content: space-between;
		max-width: 720px;
	}
	#form h2{
		font-size: 40px;
		line-height: 48px;
	}
	#form h2 br{
		display: none;
	}
	#form .text{
		font-size: 14px;
		line-height: 24px;
	}
	#form input{
		width: 49%;
	}
	#form input[name="phone"]{
		width: 100%;
		margin-bottom: 0;
	}
	#form .button{
		width: 392px;
		margin: 32px auto 0;
	}
}
@media (min-width: 1280px){
	#form{
		padding: 72px 0 133px;
	}
	#form .wrapper{
		max-width: unset;
		width: 1280px;
		padding: 0 28px;
	}
	#form h2{
		font-size: 48px;
		line-height: 64px;
	}
	#form .text{
		font-size: 16px;
		line-height: 24px;
	}
	#form input{
		width: 288px;
		margin: 0;
	}
	#form input[name="phone"]{
		width: 288px;
	}
	#form .button{
		width: 288px;
		margin: 0;
	}
	#form:after{
		bottom: -104%;
	}
}
footer{
	background: #112360;
	color: #fff;
	padding: 0 0 32px;
	margin: -1px 0 0 0;
}
footer p{
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	margin: 0 0 58px;
	text-align: center;
}
@media (min-width: 720px){
	footer p{
		font-size: 16px;
		line-height: 24px;
		margin: 0 0 24px;
	}
}
@media (min-width: 1280px){
	footer .wrapper{
		width: 1280px;
		justify-content: space-between;
	}
	footer .wrapper p{
		font-size: 16px;
		line-height: 24px;
		width: auto;
		margin: 0;
		order: 1;
	}
	footer .wrapper .logo{
		width: auto;
	}
}
.swiper {
	width: 100%;
	height: 100%;
	padding-bottom: 72px;
	position: unset;
}
.swiper-pagination{
	font-size: 16px;
    line-height: 24px;
    width: 100%;
    display: block;
}
.swiper-button-next{
	right: calc(50% - 55px);
	bottom: 0;
	top: unset;
	z-index: 100;
}
.swiper-button-prev{
	left: calc(50% - 55px);
	bottom: 0;
	top: unset;
	z-index: 100;
}
.swiper-button-next:after, .swiper-button-prev:after{
	font-weight: 700;
    font-size: 18px;
}
.swiper-wrapper{
	flex-direction: row;
}
#alert-popup{
	display: none;
	position: fixed;
    width: 100%;
    height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 200;
	justify-content: center;
	align-items: center;
}
.alert-popup-wrapper{
	position: relative;
    width: 97%;
	max-width: 500px;
	background: white;
	justify-content: center;
	align-items: center;
	padding: 25px 10px;
	color: #112360;
}
.alert-popup-wrapper .result{
	max-width: 392px;
}
.alert-popup-wrapper .title{
	text-align: center;
	font-size: 24px;
    line-height: 28px;
}
.alert-popup-wrapper .text{
	text-align: center;
	font-size: 16px;
	line-height: 22px;
	margin: 24px 0 24px;
}
.alert-popup-wrapper .plus{
	font-size: 22px;
    line-height: 24px;
    margin: 0 0 16px 0;
    flex-direction: row;
    align-self: flex-start;
	max-width: 392px;
}
.alert-popup-wrapper .plus img{
	width: 24px;
	height: 24px;
	margin-right: 10px;
}
.alert-popup-wrapper .button{
	margin-top: 8px;
}
#yt-popup{
	display: none;
	position: fixed;
    width: 100%;
    height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 200;
	justify-content: center;
	align-items: center;
}
.yt-popup-wrapper{
	position: relative;
    width: 100%;
	max-width: 800px;
	justify-content: center;
	align-items: center;
}
.yt-popup-block{
	width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
	position: relative;
}
.yt-popup-block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
}
.close{
	position: absolute;
	right: 8px;
    top: -25px;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 1;
}
.close:hover{
	cursor: pointer;
	opacity: 0.5;
}
.close:before, .close:after{
	position: absolute;
	left: 15px;
	content: ' ';
	height: 20px;
	width: 2px;
	background-color: #fff;
}
.close:before{
	transform: rotate(45deg);
}
.close:after{
	transform: rotate(-45deg);
}
@media (min-width: 1920px){
	#main:before, #main:after, #numbers:before, #numbers:after, #review:after, #form:after{
		display: none;
	}
	#who{
		margin-top: 64px;
		padding-bottom: 64px;
	}
	#numbers{
		margin-top: 0px;
		padding: 64px 0 64px;
	}
	#teachers {
		padding: 64px 0 0 0;
	}
	#form {
		padding: 64px 0 64px;
	}
	footer {
		padding: 32px 0 32px;
	}
}