html{
    font-size: 12px;
}
/*page内リンク*/
.header_pc{
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100vw;
}
.header_mobile{
    display: none;
}
#page-link{
    display: flex;
    justify-content: center;
    padding: 20px;
} 
#page-link li{
    list-style: none;
}
#page-link li a{
    color: #fff;
    font-family: Consolas;
    padding:0 1.3rem;
    text-decoration: none;
}
#page-link li a::before{
    content:'▼';
    font-size:0.8rem;
    padding:0 10px 0 0;
    color: #ccc;
}

/*header top*/
.carousel_fix{
    background-color: transparent;
}
.header_top{
    background:#ddd url(./img/topbackground.png) no-repeat center center;
    background-size:cover;
    background-repeat: no-repeat;
}
.header_top2{
    background:#ddd url(./img/course_gold.png) no-repeat center center;
    background-size:cover;
    background-repeat: no-repeat;
}
.header_fix{
    background: rgba(0, 0, 0, 0.5);
    height: 60em;
}
/*animation*/
.hd{
    font-family: 'Satisfy', cursive;
    color: #fff;
    font-size: 5rem;
    text-align: center;
    position: relative;
    top: 50%;  
    width: 10em;
    margin: 0 auto;
    border-right: 2px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%); 
}
.hd_active{
    animation: typewriter 4s steps(44) 1s 1 normal both,
    blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
    from{width: 0;}
    to{width: 8.5em;}
}
@keyframes blinkTextCursor{
    from{border-right-color: rgba(255,255,255,.75);}
    to{border-right-color: transparent;}
}


.profile{
    border: 5px solid #D3EFF6;
    background-color: #F4F7F7;
    width: 43%;
    margin: -50px auto;
    padding: 1.2rem 0;
    position: absolute;
    top: 60em;
    left: 30%;
}
.profile_img{
    text-align: center;
}
.profile h2{
    font-family: 'Satisfy', cursive;
}
.profile p{
    font-family: Consolas;
}
.profile img{
    width: 12rem;
    border-radius: 50%;
}
.intro{
    margin-top: 15rem;
    margin-bottom: 3rem;
}
.intro_title h2{
    font-family: 'Satisfy', cursive;
    font-size: 4.5rem;
}
.intro_title h3{
    font-family: 'Barlow', sans-serif;
    color: #4C4A4A;
    letter-spacing: 6px;
}
.intro_title img{
    width: 33rem;
}
.intro_icon i{
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: #B6DFEA;
    color: #fff;
    font-size: 3.7rem;
    text-align: center;
    padding: 1.5rem 0;
}
.intro_icon img{
    width: 7em;
    height: 7rem;
    padding: 1rem 1rem;
    border-radius: 50%;
    background-color: #B6DFEA;
}
.intro_icon p{
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    line-height: 3rem;
}
.intro_ptitle{
    font-family: 'Barlow', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.3rem;
    margin: 1rem 0 0.8rem 1.3rem;
    font-weight: bold;
}
.intro_ptitle span{
    font-family: 'Satisfy', cursive;
    color: #B6DFEA;
    padding-left: 1.5rem;
}
.intro_p{
    font-family: Consolas;
    color: #4C4A4A;
    line-height: 2rem;
}
.background_chg{
    background-color: #F4F7F7;
}
.main_title{
    width: 65%;
    margin: 0 auto;
    padding-top: 7rem;
}
.main_title h2{
    font-family: 'Satisfy', cursive;
    font-size: 5rem;
    text-align: center;
}
.main_title p{
    font-family: Consolas;
    color: #4C4A4A;
    font-size: 1.3rem;
    text-align: center;
}
.main_i{
    color: #B6DFEA;
    font-size: 3.7rem;
    width: 6%;
    margin: 0 auto;
}

/*course*/
.course{
    position: relative;
}
.course h2{
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    left: 30%; 
    width: 40%;
    padding: 1rem 1rem;
    font-family: 'Barlow', sans-serif;
}
.silver h2{
    background-color: #B6DFEA;
}
.course{
    background-color: #F4F7F7;
}
.triangle_left{
    border-left: 18px solid rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 25.6%;
    transform: rotate(90deg);
}
.triangle_right{
    border-left: 18px solid rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    right: 25.6%;
    transform: rotate(180deg);
}
.triangle_silver{
    border-top: 18px solid #B6DFEA;
}
.course img{
    margin-top: 2rem;
}
.course h3{
    text-align: center;
    border-radius: 50%;
    width: 30%;
    padding: 6% 0;
    position: absolute;
    top: 70%;
    left: 35%;
    font-family: Consolas;
    color: #fff;
}
.course span{
    font-size: 3rem;
}
.silver h3{
    background-color: rgba(182, 223, 234, 0.7);
}
.course_body{
    background-color: #F5F5F5;
    padding-top: 4rem;
}
.course_body li{
    list-style: none;
    text-align: center;
    color: #4C4A4A;
    font-family: Consolas;
    font-size: 1.3rem;
    line-height: 3rem;
}
.course_btn{
    border: none;
    text-align: center;
}
.course_btn button{
    width: 100%;
    color: #fff;
    font-size: 1.3rem;
    font-family: Consolas;
    border: none;
}
.course_btn a{
    padding: 1rem 6.6rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-family: Consolas;
    border: none;
}
.back_blue{
    background-color: #B6DFEA;
}
.back_blue button{
    background-color: #B6DFEA;
}
.back_pink{
    background-color: #E6D2DE;
}
.back_pink button{
    background-color: #E6D2DE;
}
.gold h2{
    background-color: #E6D2DE;
}
.triangle_gold{
    border-top: 18px solid #E6D2DE;
}
.gold h3{
    background-color: rgba(230, 210, 222, 0.7);
}
.back_bage{
    background-color: #E4DDC1;
}
.back_bage button{
    background-color: #E4DDC1;
}
.diamond h2{
    background-color: #E4DDC1;
}
.triangle_diamond{
    border-top: 18px solid #E4DDC1;
}
.diamond h3{
    background-color: rgba(228, 221, 193, 0.7);
}

/*course animation*/
.course h3:hover{
    -webkit-animation: bound 1s ease-in; 
    -moz-animation:    bound 1s ease-in; 
    animation: jumping 0.5s linear 0s 1;
}
@keyframes jumping{
    0%   { transform: translate(0%, 0%); }
    25%  { transform: translate(0%, -5%); }
    50%  { transform: translate(0%, -20%); }
    75%  { transform: translate(0%, -5%); }
    100%  { transform: translate(0%, 0%); }
}

/*services*/
.services{
    display: flex;
    flex-wrap: wrap;
    margin: 4rem 6rem 0 6rem;
}
.service_i{
    width: 20%;
    margin: 0 auto; 
}
.blue_i{
    background-color: #B6DFEA;
    padding: 1.5rem 0;
}
.service_i i{
    font-size: 3rem;
    color: #fff;
}
.contents{
    font-family: 'Barlow', sans-serif;
    width: 30%;
    padding: 4rem 0;
    text-align: center;
    flex: auto;
}
.service_img1{
    background-image: url(./img/service1.png);
    background-blend-mode: lighten;
}
.service_blue{
    background-color: rgba(182, 223, 234, 0.7);
}
.contents h2{
    color: #fff;
    padding-top: 2rem;
}
.contents h3{
    color: #4C4A4A;
    font-size: 1rem;
    letter-spacing: 0.2rem;
}
.contents p{
    color: #4C4A4A;
    padding-top: 1.5rem;
}
.service_pink{
    background-color: rgba(230, 210, 222, 0.7);
}
.pink_i{
    background-color: #E6D2DE;
    padding: 1.5rem 0;
}
.service_img2{
    background-image: url(./img/service2.png);
    background-blend-mode: lighten;
}
.service_bage{
    background-color: rgba(228, 221, 193, 0.7);
}
.bage_i{
    background-color: #E4DDC1;
    padding: 1.5rem 0;
}
.service_img3{
    background-image: url(./img/service3.png);
    background-blend-mode: lighten;
}
.service_img4{
    background-image: url(./img/service4.png);
    background-blend-mode: lighten;
}
.service_img5{
    background-image: url(./img/service5.png);
    background-blend-mode: lighten;
}
.service_img6{
    background-image: url(./img/service6.png);
    background-blend-mode: lighten; 
}
.open{
    margin-top: 5rem;
    background-image: url(./img/openinghours.png);
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.opening_hours{
    background-color: rgba(228, 221, 193, 0.7);
    width: 50%;
    padding: 22rem 7rem;
    float: right;
}
.opening_hours h2{
    font-family: 'Barlow', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
}
.opening_hours dt{
    font-weight: normal;
    font-family: Consolas;
    font-size: 2rem;
    float: left;
}
.opening_hours dd{
    font-family: Consolas;
    font-size: 2rem;
    text-align: right;
}
.clear{
    clear: right;
}

/*gallery*/
.gallery img{
    width: 100%;
    margin-bottom: 1.5rem;
}
.gallery_fix{
    padding-bottom: 1rem;
}
.img_back:hover::after{
    content: '+';
    width: 94.5%;
    height: 94.5%;
    color: #fff;
    font-size: 12.5rem;
    text-align: center;
    background-color: rgba(182, 223, 234, 0.5);
    position: absolute;
    top: 0.2%;
    right: 2.6%;

}

/*latest news*/
.news_fix{
    margin: 0 3rem;
}
.news_icon{
    background-color: #E4DDC1;
    color: #fff;
    border-radius: 50%;
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    font-size: 3rem;
    margin-top: -3rem;
}
.news_title h3{
    color: #707070;
    font-family: Consolas;
    font-size: 2rem;
    text-align: center;
}
.news_title span{
    font-size: 4rem;
}
.news_title h2{
    font-family: 'Barlow', sans-serif;
    font-size: 2.5rem;
    padding-top: 10px;
}
.news_txt{
    color: #4C4A4A;
    font-family: Consolas;
    font-size: 1.3rem;
}

/*footer*/
footer{
    background-color: #000;
    padding: 5rem 0;
    margin-top: 7rem;
}
.footer_fix{
    color: #fff;
}
.footer_fix dt{
    font-family: 'Barlow', sans-serif;
    font-size: 2rem;
    font-weight: normal;
}
.footer_fix h3{
    font-family: 'Barlow', sans-serif;
    font-size: 2rem;
    font-weight: normal;
}
.square{
    width: 13%;
    height: 2px;
    border: 1px solid #B6DFEA;
    margin: 0.8rem 0 2rem 0;
}
.footer_fix dd{
    font-family: Consolas;
    font-size: 1.3rem;
    color: #959191;
    border-bottom: 1px dotted #959191;
    width: 90%;
}
.footer_fix i{
    padding-right: 1rem;
}
.footer_fix h2{
    text-align: center;
    margin-top: 10rem;
    font-size: 3rem;
    font-family: Consolas;
    letter-spacing: 1rem;
}
.footer_fix p{
    text-align: center;
    font-family: Consolas;
    color: #959191;
    font-size: 1.3rem;
    letter-spacing: 0.5rem;
    margin: 2rem 0;
}
.sns{
    text-align: center;
    font-size: 3rem;
    color: #959191;
}
.promotion{
    width: 45%;
    display: inline;
    margin-right: 2rem;
}