@charset "UTF-8";

/*main_box*/
.main_box {
    position: relative;
    background: url(../images/abeno/information_img@1.5x.png) no-repeat center/cover;
    height: 0;
    padding-top: 37.5%;
  }
  .main_box h2{
    position: absolute;
    font-size: min(3.75vw,54px);
    font-weight: 500;
    letter-spacing: 5px;
    top: 50%;
    left: 15%;
  }
  @media (max-width:768px) {
    .main_box {
    background: url(../images/abeno/information_tb@1.5x.png) no-repeat center/cover;
    height: 0;
    padding-top: 66.6%;
  }
    .main_box h2{
    position: absolute;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 5px;
    left: 30%;
    transform: translateX(-50%);
  }
}
@media (max-width:428px) {
    .main_box {
    background: url(../images/abeno/information_img_sp@1.5x.png) no-repeat center/cover;
    height: 0;
    padding-top: 171.42%;
  }
    .main_box h2{
    position: absolute;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 5px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
  }
}
   

/*教室のイメージエリア*/
.main h3 {
    max-width: 1060px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 80px;
}

.main_name_pc {
    display: block;
    max-width: 60%;
    padding-left: 2rem;
}
.main_name_sp {
    display: none;
} 

.class_box_inner {
    display: flex;
}

.class_img {
    max-width: 60%;
    margin: 0 5% 0 10%;
}
.class_img1 {
    margin-left: 30px;
}
.class_img2 {
    margin-top: -30px;
}

@media (max-width:768px) {
    .class_box {
        margin: 0 2rem;
    }
    .class_img {
        margin: 0 5% 0 5%;
    }
}

@media (max-width:428px) {
    .main_name_pc {
        display: none;
    }
    .main_name_sp {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .main h3 {
        padding-left: 0;
        padding-top: 60px;
        padding-bottom: 0;
    }
    .class_box_inner {
        flex-direction: column-reverse;
    }
    .class_img {
        max-width: 375px;
        display: block;
        margin: 0 5% 0 0;
    }
    .class_img1, .class_img2 {
        max-width: 100%;
    }
}


/*教室説明エリア*/
.class_txt {
    max-width: 40%;
    margin: -140px 10% 0 5%;
}
.introduction {
    position: relative;
}
.introduction img {
    right: 0;
    position: absolute;
    z-index: -1;
}
.introduction h4 {
    writing-mode: vertical-rl;
    line-height: 2em;
    font-size: 24px;
    letter-spacing: 3px;
    margin: 0 auto;
    padding: 100px 0;
}
.introduction_message {
    width: 24em;
    line-height: 1.8em;
    padding-bottom: 120px;
}
.introduction_message p {
    padding-bottom: 20px;
}

@media (max-width:768px) {
    .class_txt {
        margin: -140px 0 0 5%; 
    }
    .introduction img {
        right: -5rem;
    }
    .introduction_message {
        width: 17em;
    }
}

@media (max-width:428px) {
    .class_txt {
        max-width: initial;
        margin: 0 auto;
    }
    .introduction img {
        top: 50px;
        right: -2.3em;
    }
    .introduction_message {
        width: 18em;
        padding-bottom: 40px;
    }
    .introduction h4 {
        padding-top: 175px;
    }
}



/*コース説明エリア*/
.course_bg_pc {
    display: block;
}
.course_bg_tb, .course_bg_sp {
    display: none;
} 
.course {
    background-color: #eaf3f2;
    padding-bottom: 100px;
}
.course h4 {
    padding-top: 70px;
    padding-bottom: 50px;
    padding-left: 12em;
}
.course_txt {
    padding-left: 11.7em;
    padding-bottom: 50px;
    line-height: 24px;
    position: relative;
}
.course_txt span {
    position: absolute;
    padding-left: 1em;
    bottom: -6px;
}

.course_box {
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}
.course_category {
    border: solid 4px #162142;
    background-color: #fff;
    width: 90%;
    border-radius: 30px;
    padding: 30px;
    margin: 0 20px;
    max-width: 90%;
    width: calc((100%-20px)/3);
}

.course_category h5 {
     padding: 50px;
}

.course_category_txt {
    line-height: 24px;
     padding-bottom: 20px;
}

.cost {
    line-height: 24px;
    min-height: 150px;
}
.cost ul li {
    list-style: none;
}
.cost small {
    font-size: 12px;
}
.supplement {
     font-size: 12px;
}


@media (max-width:768px) {
    .course_bg_pc {
        display: none;
    }  
    .course_bg_tb {
        display: block;
    }
    .course {
       margin-top: 50px;
    }
    .course h4 {
        padding-top: 40px;
        padding-left: 0;
        width: min(312vw,80%);
        margin: 0 auto;
        text-align: center;
    }
    .course_txt {
        width: 25em;
        margin: 0 auto;
        padding-left: 0;
        padding-bottom: 200px;
    }
    .course_txt br {
        display: none;
    }
    .course_txt span {
        width: 35%;
        left: 60%;
    } 

    /*矢印の設定*/
    /*戻る、次へ矢印の位置*/
    .slick-prev, 
    .slick-next {
        position: absolute;/*絶対配置にする*/
        z-index: 50;
        bottom: -60px;
        cursor: pointer;/*マウスカーソルを指マークに*/
        outline: none;/*クリックをしたら出てくる枠線を消す*/
        height: 40px;
        width: 40px;
        background-size:  100% auto;
    }
    
    .slick-prev {/*戻る矢印の位置と形状*/
        left:20px;
        background-image: url(../images/abeno/left_button.png);
        background-repeat: no-repeat;
    }
    
    .slick-next {/*次へ矢印の位置と形状*/
        right:20px;
        background-image: url(../images/abeno/right_button.png);
        background-repeat: no-repeat;
    }
    
    /*ドットナビゲーションの設定*/
    .slick-dots {
        position: absolute;
        z-index: 3;
        bottom: -50px;
        width: 100%;
        text-align: center;
    }
  
    .slick-dots li {
        display:inline-block;
        cursor: pointer;
        margin:0 5px;
    }
  
    .slick-dots button {
        color: transparent;
        outline: none;
        width:15px;/*ドットボタンのサイズ*/
        height:15px;/*ドットボタンのサイズ*/
        display:block;
        border-radius:50%;
        background: #fff;;/*ドットボタンの色*/
        border: 2px solid #162142;
        padding: 0;
    }
  
    .slick-dots .slick-active button{
        background:#162142;/*ドットボタンの現在地表示の色*/
    }

}
@media (max-width:428px) {
    .course_txt {
        width: 18em;
    }
    .course_txt span {
        width: 40%;
        left: 10rem;
        padding-left: 0;
    } 
}

/*アクセスエリア*/
.access {
    padding-top: 150px;
    padding-bottom: 100px;
}
.access_inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
}
.address {
    width: 120em;
}
.address address {
    font-style: normal;
}
a[href^="tel:"]{
    color: #162142;
    text-decoration: none;
  }
.address address, .address ul li {
    line-height: 30px;
    list-style: none;
}
.mail img {
    padding-top: 10px;
    padding-bottom: 24px;
    width: 40%;
}
.line {
    position: relative;
    background-image: url(../images/abeno/line_img.png);
    background-repeat: no-repeat;
    width: 160%;
    height: 396px;
    bottom: 120px;
}
.line p {
    position: absolute;
    top: 170px;
    left: 4em;
    line-height: 24px;
    max-width: 23em;
}
.line span {
    position: absolute;
    top: 270px;
    left: 6em;
}
.line span img {
    width: 70%;
}
.line_sp {
    display: none;
}
.map_pc {
    margin: 0 80px;
}
.map_pc iframe {
    width: 100%;
    height: 580px;
}
.map_sp {
    display: none;
}

@media (max-width:1080px) {
    .access {
        display: block;
        padding-top: 80px;
        padding-bottom: 50px;
        margin: 0 4%;
    }
    .access h3 {
        text-align: center;
        padding-top: 0;
        padding-bottom: 50px;
        width: min(569vw,50%);
    }
    .access_inner {
        display: block;
    }
    .mail img {
        width: 12%;
        padding-left: 1em;
    }
    .address{
        width: auto;
        font-size: 1.6rem;
    }
    .address .mail{
       width: 60%;
       display: block;
       margin: 20px 0;
    }
    .address .mail img{
       width: 100%;
       padding: 0;
    }
    .line span img {
        width: 60%;
    }
    .map_pc {
        display: none;
    }
    .map_sp {
        display: block;
        margin: 50px 25px;
    }
    .map_sp iframe {
        width: 100%;
        height: 360px;
    }
    .access_txt_supple li{
        font-size: 1.2rem;
        line-height: 1.4 !important;
        padding-left: 1em;
    }
    .access_txt_supple li:before{
       content: "※";
       margin-left: -1em;
    }
}
@media (max-width:1080px) {
    .line {
        background-image: url(../images/abeno/line_img_sp.png);
        bottom: 0;
    }
    .line p {
        max-width: 17em;
        top: 100px;
        left: 3em;
    }
    .line span {
        top: 210px;
        left: 4.5em;
    }
}
@media(min-width: 768px){
    a[href^="tel:"]{
      pointer-events: none;
    }
 }