
@charset "UTF-8";

/*-----90日で成績上げて見せます-----*/
#top_head+section .heading.block_header_1 p{
    color: #FF0000;
}
#top_head+section .heading.block_header_1 p:after,
#top_head+section .heading.block_header_1 p:before{
    border-color: #FF0000;
}

/*-----塾長-----*/
#top_greeting+section .wrapper_item {
    justify-content: center;
}

#top_greeting+section .inner_item_txt {
    flex-basis: 75%;
    max-width: 550px;
}

@media screen and (max-width: 900px) {
    #top_greeting+section .inner_item_img img{
        max-width: 250px !important;
    }
    #top_greeting+section .inner_item_txt {
        margin: auto;
        width: fit-content;
    }
}
/*-----こんなお悩みありませんか-----*/
#top_worries+div .inner_item_img img {
    object-fit: contain;
}
#top_worries+div .inner_item:nth-of-type(1):nth-last-of-type(3),
#top_worries+div .inner_item:nth-of-type(2):nth-last-of-type(2),
#top_worries+div .inner_item:nth-of-type(3):nth-last-of-type(1) {
    width: 32%;
    margin-left: 1%;
}
@media screen and (max-width: 700px) {
    #top_worries+div .wrapper_item {
        justify-content: center;
    }
    #top_worries+div .inner_item:nth-of-type(1):nth-last-of-type(3),
    #top_worries+div .inner_item:nth-of-type(2):nth-last-of-type(2),
    #top_worries+div .inner_item:nth-of-type(3):nth-last-of-type(1) {
        width: 48%;
    }
    #top_worries+div .inner_item:nth-of-type(1):nth-last-of-type(3),
    #top_worries+div .inner_item:nth-of-type(2):nth-last-of-type(2) {
        margin-bottom: 30px;
    }
}

/*-----そのお悩み、リードで解決できます!-----*/
/*見出し疑似要素非表示*/
#top_solution1+div .heading.block_header_6 .h:after,
#top_solution1+div .heading.block_header_6 .h:before,
#top_difference1+div .heading.block_header_6 .h:after,
#top_difference1+div .heading.block_header_6 .h:before,
a[id^="top_voice"]+section .heading.block_header_6 .h:after,
a[id^="top_voice"]+section .heading.block_header_6 .h:before,
a[id^="top_voice"]+div .heading.block_header_1 p:after,
a[id^="top_voice"]+div .heading.block_header_1 p:before{
    display: none;
}
a[id^="top_solution"]+div  .inner_item {
    padding: 2rem;
    background: #FFF1CC;
    border-radius: 30px;
}


/*-----流れ-----*/
#top_flow+div .inner_item{
    position:relative;
}
#top_flow+div .inner_item:before{
    content: "";
    position: absolute;
    top: 0;
    right: -35px;
    border: 15px solid transparent;
    border-left: 15px solid var(--i_sub_color);
}
#top_flow+div .inner_item:nth-child(3n):before{
    display: none;
}
@media screen and (max-width: 700px) {
#top_flow+div .inner_item:nth-child(3n):before{
    display: block;
}
#top_flow+div .inner_item:nth-child(2n):before{
    display: none;
}
}
@media screen and (max-width: 480px) {
    #top_flow+div .inner_item:nth-child(2n):before{
        display: block;
    }
    #top_flow+div .inner_item:before {
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: -30px;
        border-left: 15px solid transparent;
        border-top: 15px solid var(--i_sub_color);
    }
}
/*-----成績UPの声-----*/
#top_voice+div .gallery_single_slider .inner_item {
    position: relative;
}
.inner_item p span.head{
    background: var(--i_main_color);
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    padding: 0.5rem;
}

/*-----授業時間-----*/
#student_1 + div,
#student_2 + div{
  width: 100%;
}
#student_1 + div{
  float: left;
}
#student_2 + div{
  clear: initial;
  float: right;
}
@media screen and (max-width: 900px) {
  #student_1 + div,
  #student_2 + div{
    width: 100%;
    float: none;
  }
  #student_2 + div{
    clear: both;
  }
}

/*-----料金-----*/
a[id^="price_text"]+section .inner_item_txt p {
    max-width: 1200px;
    margin: auto;
}