body {
    font-size: 16px;
    color: #424852;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    line-height: 1.4;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    border-top: 3px solid #EA5961;
}
.head {
    margin: auto;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}
.cont {
    max-width: 1180px;
    margin: auto;
}
.cont-big {
    max-width: 1545px;
    margin: auto;
}
.logo {
    width: 25%;
}
.hv-o:hover {
    opacity: 0.7;
}
.menu {
    width: 75%;
    justify-content: flex-end;
}
.menu ul {
    text-align: right;
}
.menu ul li {
    margin: 0 15px;
    width: 16%;
    display: inline-block;
    text-align: center;
}
.menu ul li.menu-btn a {
    background-color: #fff;
    border-radius: 40px;
    color: #F1464A;
}
.menu ul li a {
    font-size: 16px;
    width: 100%;
    padding: 9px 0;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    border: 2px solid #F1464A;
}
.bannertop {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0 200px 0;
}
.bannertop:after {
    content: "JAPANESE EDUCATION";
    font-weight: bold;
    position:absolute;
    top:50%;
    left:50%; 
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 15.6vw;
    z-index: -1;
    color: #CAD0D7;
    opacity: 15%;
}
.banner-img img {
	max-width: 631px;
	width: 100%;
}
.scrolldown2{
  position:absolute;
  bottom:0;
  left:0;
}
.scrolldown2 span{
    height: 210px;
    position: absolute;
    left:10px;
    bottom:0;
    color: #252525;
    font-size: 16px;
    letter-spacing: 0.05em;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
.scrolldown2:before {
    content: "";
    position: absolute;
    bottom:0;
    left:-4px;
    width:10px;
    height:10px;
    border-radius: 50%;
    background:#F1464A;
    animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}
@keyframes circlemove{
    0%{bottom:210px;}
    100%{bottom:-5px;}
}
@keyframes cirlemovehide{
    0%{opacity:0}
    50%{opacity:1;}
    80%{opacity:0.9;}
    100%{opacity:0;}
}
.scrolldown2:after{
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width:2px;
    height: 210px;
    background:#F1464A;
}
.pd-80 {
    padding: 80px 0;
}
.pdt-40 {
    padding-top: 40px;
}
.pdb-0 {
    padding-bottom: 0;
}
.text-white {
    color: #fff;
}
.bg1 {
    background-image: url("../home/bg1.svg"), url("../img/bg-over.png");
    background-color: #F1464A;
    background-position: bottom center, top center;
    background-repeat: repeat-x, repeat;
    padding-bottom: 150px;
}
.arrow {
    background-image: url("../home/arrow.png");
    background-position: bottom center;
}
.bg2 {
    content: "";
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
}
.bg3 {
    background-color: #F1464A;
}
.bg-line {
    background: url("../home/line1.png") center center no-repeat;
}
.title {
    text-align: center;
}
.title-en {
    font-size: 30px;
    color: #FFED49;
    letter-spacing: 10px;
    line-height: 200%;
}
.title-en:after {
    content: "";
    width: 50px;
    height: 2px;
    background: #fff;
    margin: auto;
    display: block;
    margin: auto;
}
.title-ja {
    font-size: 50px;
    margin-top: 20px;
}
.title-ja span {
    font-size: 70px;
    color: #FFED49;
}
.title2 {
    text-align: center;
}
.title2 .title-en {
    font-size: 30px;
    color: #F1464A;
    letter-spacing: 10px;
    line-height: 200%;
}
.title2 .title-en:after {
    content: "";
    width: 50px;
    height: 2px;
    background: #252525;
    margin: auto;
    display: block;
    margin: auto;
}
.title2 .title-ja {
    color: #252525;
}
.flex-3item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.item {
    width: 22%;
    margin: 0 5.5%;
    margin-top: 40px;
}
.item2 {
    width: 31.3%;
    margin: 0 1%;
    margin-top: 2%;
}
.item-tit {
    font-size: 22px;
    margin-top: 20px;
    list-style: none;
}
.course {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.course-content {
    width: 55%;
}
.course-img {
    width: 45%;
    text-align: center;
}
.course-content2 {
    width: 50%;
    padding-left: 10%;
}
.course-img2 {
    width: 50%;
    text-align: center;
}
.course-point {
    font-size: 24px;
    color: #FFE600;
}
.course-tit {
    font-size: 36px;
    font-weight: bold;
}
.course-point:after {
    content: "";
    display: inline-block;
    width: 80px;
    height: 1px;
    background: #FFE600;
    top: -10px;
    position: relative;
    margin-left: 20px;
}
.course-text {
    font-size: 20px;
    width: 73%;
    margin-top: 30px;
}
.course-content2 .course-text {
    width: 100%;
}
.contact {
    display: flex;
    align-items: center;
    padding: 50px 0;
    position: relative;
}
.contact:after {
    content: "CONTACT";
    font-weight: bold;
    position: absolute;
    top: 35%;
    left: 50%; 
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 15.6vw;
    z-index: 0;
    color: #fff;
    opacity: 15%;
}
.contact-img {
    width: 25%;
    z-index: 1;
}
.contact-content {
    width: 75%;
    text-align: center;
    z-index: 1;
}
.contact-tit {
    font-size: 40px;
    font-weight: bold;
}
.contact-tit2 {
    font-size: 30px;
    margin-top: 10px;
}
.contact-btn a {
    font-size: 29px;
    background-color: #FFED49;
    width: 100%;
    max-width: 510px;
    text-decoration: none;
    color: #222222;
    margin-top: 30px;
    display: inline-block;
    border-radius: 5px;
    position: relative;
    padding: 10px 0;
}
.contact-btn a:after {
    width: 21px;
    height: 32px;
    content: "";
    background: url("../home/arrow-right.png");
    position:absolute;
    top:50%;
    right: 10px; 
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.newsflex {
    display: flex;
    justify-content: space-around;
    margin: 80px 0 150px 0;
}
.news-item {
    width: 30%;
    background-color: #F4F4F4;
    padding: 10px;
    border-radius: 5px;
}
.news-text {
    font-size: 16px;
    line-height: 140%;
    margin-top: 15px;
    margin-bottom: 30px;
}
.footer1 {
    padding: 40px 0;
    background: #F4F6F8;
}
.ft-flex {
    display: flex;
    justify-content: space-between;
}
.ft-info {
    font-size: 22px;
    line-height: 160%;
    border-left: 1px dashed #F1464A;
    padding: 0 40px;
}
.ft-info b {
    font-weight: bold;
    color:#F1464A;
    padding-right: 20px;
}
.copyright {
    background-color: #F1464A;
    color: #fff;
    padding: 35px 0;
}
.ft-title {
    font-size: 32px;
    font-weight: bold;
}
.ft-address {
    font-size: 22px;
    line-height: 160%;
    margin-top: 10px;
}
.ft-icon a {
    display: inline-block;
    margin: 0 12px;
    vertical-align: middle;
}
.ft-copyright {
    text-align: right;
    font-size: 18px;
    margin-top: 20px;
}
.pagetop {
    position: fixed;
    bottom: 140px;
    right: 20px;
    cursor: pointer;
    z-index: 111;
}


@media screen and (max-width: 1545px) {
    .cont-big {
        width: 92%;
        margin: 0 4%;
    }
}
@media screen and (max-width: 1180px) {
    .cont {
        width: 92%;
        margin: 0 4%;
    }
    .logo {
        width: 35%;
    }
    .menu {
        width: 65%;
    }
    .menu ul li {
        margin: 0 5px;
        width: auto;
    }
    .menu ul li.menu-btn a {
        padding: 10px 20px;
    }
}
@media screen and (max-width: 767px) {
    .head {
        flex-wrap: wrap;
    }
    .logo {
        width: 100%;
        text-align: center;
    }
    .menu {
        width: 100%;
    }
    .menu ul {
        padding-left: 0;
        text-align: center;
    }
    .bannertop {
        width: 80%;
        margin: auto;
        padding: 0;
        flex-wrap: wrap;
    }
    .scrolldown2{
        position:relative;
        bottom:0;
        left:0;
    }
    .scrolldown2 span{
        height: 100px;
        position: relative;
    }
    @keyframes circlemove{
        0%{bottom:100px;}
        100%{bottom:-5px;}
    }
    @keyframes cirlemovehide{
        0%{opacity:0}
        50%{opacity:1;}
        80%{opacity:0.9;}
        100%{opacity:0;}
    }
    .scrolldown2:after{
        height: 100px;
    }
    .pd-80 {
        padding: 50px 0;
    }
    .pdt-40 {
        padding-top: 20px;
    }
    .bg1 {
        padding-bottom: 120px;
    }
    .title-en {
        font-size: 20px;
        letter-spacing: 5px;
        line-height: 160%;
    }
    .title-ja {
        font-size: 25px;
        margin-top: 20px;
    }
    .title-ja span {
        font-size: 30px;
    }
    .title2 .title-en {
        font-size: 24px;
    }
    .flex-3item {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .item {
        width: 42%;
        margin: 0 4%;
        margin-top: 25px;
    }
    .item2 {
        width: 46%;
        margin: 0 2%;
        margin-top: 4%;
    }
    .item-tit {
        font-size: 14px;
        margin-top: 20px;
        list-style: none;
    }
    .bg-line {
        background: none;
    }
    .course {
        flex-wrap: wrap;
    }
    .course-content {
        width: 100%;
    }
    .course-content2 {
        width: 100%;
        padding-left: 0%;
    }
    .course-img, .course-img2 {
        margin: auto;
        margin-top: 30px;
        width: 70%;
    }
    .course-point {
        font-size: 16px;
        color: #FFE600;
    }
    .course-tit {
        font-size: 19px;
        font-weight: bold;
    }
    .course-text {
        font-size: 16px;
        width: 100%;
        margin-top: 20px;
    }
    .course-content2 .course-text {
        width: 100%;
    }
    .course-img2 {
        order: 2;
    }
    .course-content2 {
        order: 1;
    }
    .contact {
        padding: 25px 0;
        flex-wrap: wrap;
    }
    .contact-img {
        width: 30%;
        margin: auto;
        text-align: center;
    }
    .contact-content {
        width: 100%;
    }
    .contact-tit {
        font-size: 22px;
    }
    .contact-tit2 {
        font-size: 16px;
        margin-top: 10px;
    }
    .contact-btn a {
        font-size: 18px;
    }
    .contact-btn a:after {
        width: 15px;
        height: 15px;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .newsflex {
        margin: 50px 0 ;
        flex-wrap: wrap;
    }
    .news-item {
        width: 48%;
        margin-top: 4%;
    }   
    .footer1 {
        margin-top: 0px;
        padding: 40px 0;
    }

    .ft-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ft-left, .ft-right {
        text-align: center;
    }
    .ft-logo {
        width: 100%;
        text-align: center;
    }
    .ft-info {
        margin-top: 20px;
        font-size: 16px;
        padding: 0 10px;
        width: 50%;
        text-align: center;
    }
    .ft-info:nth-child(2) {
        border-left: 0;
    }
    .ft-title {
        font-size: 20px;
    }
    .ft-address {
        font-size: 16px;
    }
    .ft-icon {
        margin-top: 20px;
    }
    .ft-copyright {
        font-size: 16px;
        text-align: center;
    }
    .ft-info b {
        display: block;
        padding-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .item2 {
        width: 100%;
        margin: 0;
        margin-top: 4%;
        text-align: center;
    }
}

#fixed_btn {
	position: relative;
	min-height: 200px;
	padding: 0;
}
#fixed_btn .formBtn_in {
	position: fixed;
	z-index: 99;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,1) 75%);
	padding: 60px 20px 20px;
	right: 0;
	left: 0;
	bottom: 0;
	margin: auto;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#fixed_btn.scrolled .formBtn_in {
	opacity: 1;
	visibility: visible;
}

#fixed_btn.scrolled_bottom {
	display: none;
}
#fixed_btn.scrolled_bottom .formBtn_in {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	margin: auto;
	padding: 60px 20px 20px;
	opacity: 1;
	visibility: visible;
}
.formBtn_txt{
	text-align: center;
	font-size: 15px;
}
.formBtn_wrap{
	text-align: center;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	background-color: #fb1f1f;
	border-radius: 6px;
}
.formBtn_wrap a{
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	display: block;
	padding: 15px;
	text-decoration: none;
}
.formBtn_wrap a span{
	position: relative;
	padding-left: 35px;
}
.formBtn_wrap a span::before{
	content: "";
	width: 25px;
	height: 20px;
    background-image: url(../img/btn_icn01.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 3px;
	margin: auto;
}
@media all and (max-width:768px){
	#fixed_btn {
		min-height: 170px;
	}
	#fixed_btn .formBtn_in{
		padding: 20px 20px 20px;
	}
	#fixed_btn.scrolled_bottom .formBtn_in{
		padding: 20px 20px 20px;
	}
	.formBtn_txt{
		font-size: 14px;
	}
	.formBtn_wrap {
		max-width: 400px;
	}
	.formBtn_wrap a{
		font-size: 17px;
	}
}