@charset "utf-8";

@media screen and (max-width: 640px) {

    /* spサイズで画像の回り込みを解消、中央配置にする。（デフォルト設定） */
    img.alignleft, 
    img.alignright,
    figure.alignleft, 
    figure.alignright {
        float: none;
        display: block;
        margin: 0 auto;
        position: relative;
        right: 0;
    }

    img.alignleft::after, 
    img.alignright::after,
    figure.alignleft::after, 
    figure.alignright::after {
        content: "\A";
        white-space: pre;
    }

    /* spサイズでも画像の最大幅を50%にして、回り込みを有効にするクラス　br-no */
    img.alignleft.br-no {
        float: left;
        display: inline;
        max-width: 50%;
        margin: 0 10px 0 0;
    }

    img.alignleft.br-no::after {
        content: "";
        white-space: pre;
    }

    img.alignright.br-no {
        float: right;
        display: inline;
        max-width: 50%;
        margin: 0 0 0 10px;
    }
    img.alignright.br-no::after {
        content: "";
        white-space: pre;
    }
    /* グリッド */
    .pc-6,
    .pc-5,
    .pc-4,
    .pc-3,
    .pc-2,
    .tab-3,
    .tab-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tab-1,
    .sp-1 {
        display: grid;
        grid-template-columns: 1fr;
    }

    .col-11, .col-10, .col-9 {
        width: 66.6666%;
    }
    .col-8, .col-7 {
        width: 50%;
    }
    .col-6 {
        width: 50%;
    }
    .col-5, .col-4 {
        width: 50%;
    }
    .col-3, .col-2, .col-1 {
        width: 33.3333%;
    }

    .col-6-7, .col-5-7 {
        width: 75%;
    }
    .col-4-7, .col-3-7 {
        width: 50%;
    }
    .col-2-7, .col-1-7 {
        width: 25%;
    }

    .col-4-5 {
        width: 75%;
    }
    .col-3-5 {
        width: 50%;
    }
    .col-2-5 {
        width: 50%;
    }
    .col-1-5 {
        width: 25%;
    }

    
    .col-sp-12 {
        width: 100%;
    }
    .col-sp-11 {
        width: 91.6666%;
    }
    .col-sp-10 {
        width: 83.3333%;
    }
    .col-sp-9 {
        width: 75%;
    }
    .col-sp-8 {
        width: 66.6666%;
    }
    .col-sp-7 {
        width: 58.3333%;
    }
    .col-sp-6 {
        width: 50%;
    }
    .col-sp-5 {
        width: 41.6666%;
    }
    .col-sp-4 {
        width: 33.3333%;
    }
    .col-sp-3 {
        width: 25%;
    }
    .col-sp-2 {
        width: 16.6666%;
    }
    .col-sp-1 {
        width: 8.3333%;
    }
    .col-sp-6-7 {
        width: 85.7142%;
    }
    .col-sp-5-7 {
        width: 71.4285%;
    }
    .col-sp-4-7 {
        width: 57.1428%;
    }
    .col-sp-3-7 {
        width: 42.8571%;
    }
    .col-sp-2-7 {
        width: 28.5714%;
    }
    .col-sp-1-7 {
        width: 14.2857%;
    }
    .col-sp-4-5 {
        width: 80%;
    }
    .col-sp-3-5 {
        width: 60%;
    }
    .col-sp-2-5 {
        width: 40%;
    }
    .col-sp-1-5 {
        width: 20%;
    }

    /* utility */

    .pd-sp-0 {
        padding: 0px;
    }
    .pd-sp-5 {
        padding: 5px;
    }
    .pd-sp-10 {
        padding: 10px;
    }
    .pd-sp-15 {
        padding: 15px;
    }
    .pd-sp-20 {
        padding: 20px;
    }
    .pi-sp-0 {
        padding-inline: 0px;
    }
    .pi-sp-5 {
        padding-inline: 5px;
    }
    .pi-sp-10 {
        padding-inline: 10px;
    }
    .pi-sp-15 {
        padding-inline: 15px;
    }
    .pi-sp-20 {
        padding-inline: 20px;
    }

    .gap-0 {
        gap: 5px 10px;
    }

    .gap-pc-0 {
        gap: 5px 10px;
    }

    .gap-10 {
        gap: 5px 10px;
    }

    .gap-pc-10 {
        gap: 5px 10px;
    }

    .gap-20 {
        gap: 5px 10px;
    }

    .gap-pc-20 {
        gap: 5px 10px;
    }

    .gap-30 {
        gap: 5px 10px;
    }

    .gap-pc-30 {
        gap: 5px 10px;
    }

    .gap-40 {
        gap: 5px 10px;
    }

    .gap-pc-40 {
        gap: 5px 10px;
    }

    .gap-50 {
        gap: 5px 10px;
    }

    .gap-pc-50 {
        gap: 5px 10px;
    }

    .gap-60 {
        gap: 5px 10px;
    }

    .gap-pc-60 {
        gap: 5px 10px;
    }

    .gap-tab-0 {
        gap: 5px 10px;
    }

    .gap-tab-10 {
        gap: 5px 10px;
    }

    .gap-tab-20 {
        gap: 5px 10px;
    }

    .gap-tab-30 {
        gap: 5px 10px;
    }

    .gap-sp-0 {
        gap: 0px;
    }

    .gap-sp-5 {
        gap: 5px;
    }

    .gap-sp-10 {
        gap: 10px;
    }

    .gap-sp-15 {
        gap: 15px;
    }

    .gap-sp-20 {
        gap: 20px;
    }

    /* ユーティリティクラス */
    .tab, .pc, .tab-inline, .pc-inline {
        display: none !important;
    }

    .sp {
        display: block;
    }

    .sp-inline {
        display: inline-block;
    }


    /* SP用オリジナルCSS */
    /* top KV */
    .top-kv {
        background: url("../images/sp/top_MV_sp.webp") top center no-repeat;
        background-size: cover;
        height: 812px;
    }
    .top-kv .left {
        width: 100%;
        padding: 30px 0px;
    }
    .top-kv .right {
        width: 10%;
        padding: 0 0 0;
        margin-top: -8rem;
        font-size: 1.1rem;
        margin-right: 5.8rem;
    }
    .btn-01 {
        margin: 20rem auto -20rem;
    }
    /* top KV end */
    /* cont-1 */
    .cont-1 {
        padding-top: 180px;
        padding-bottom: 100px;
    }
    .cont-1 h2 {
        width: auto;
        margin: 0px auto 18px;
        font-size: 1.2rem;
        padding: 20px 30px;
    }
    .cont-1 .left {
        max-width: fit-content;
        margin-top: -55%;
        padding-left: 25%;
        padding-right: 25%;
        width: 100%;
        z-index: 1;
    }
    .cont-1 ul {
        font-size: 1rem;
        width: 100%;
        margin-left: 0%;
    }
    /* cont-1 end */
    /* cont-2 */
    .cont-2 {
        margin-top: 0%;
        background: url("../images/pc/Story.webp") right top 5% no-repeat, #f2e6e6;
        background-size: 48%;
        padding-top: 1px;
        padding-bottom: 3rem;
   }
    .cont-2 .bg-story_img{
        background: url("../images/pc/story_img-02.webp") no-repeat;
        background-position: bottom;
        padding-top: 1px;
        padding-bottom: 0;
        background-size: cover;
        width: 100%;
        height: 260px;
        margin-left: 0%;
        margin-top: 33.5rem;
    }
    .cont-2 .container {
        background: none;
        padding-top: 97px;
        margin-top: -30px;
    }
    .cont-2 h3 {
        font-size: 1.4rem;
        width: 100%;
        margin: -35.5rem 0 0;
        line-height: 1.5;
    }
    .cont-2 p {
        width: 100%;
        margin: 30px 0px 0px;
        line-height: 1.5;
        font-size: 1rem;
    }
    .cont-2 span.textright {
        text-align: right;
        display: block;
        margin-top: 1rem;
        margin-right: .5rem;
    }
    /* cont-2 end */
    /* cont-3 */
    .cont-3 h1 {
        width: auto;
        margin: auto;
        font-size: 1.5rem;
        letter-spacing: .2rem;
        line-height: 1.8;
    }
    .font-large {
        font-size: 2rem;
    }
    .font-middle {
        font-size: 1.1rem;
    }
    /* cont-3 end */
    /* cont-4 */
    .cont-4 {
        padding-top: 40px;
        padding-bottom: 40px;
        background: url("../images/pc/AboutHera.webp") top 5% center no-repeat #f2f0f5;
        background-size: 96%;
    }
    .cont-4 h2 {
        color: #252525;
        text-align: center;
        position: relative;
        font-size: 1.5rem;
    }
    .cont-4 h2::after {
        bottom: -10px;
        left: 40%;
        right: 40%;
        width: 70px;
    }
    .cont-4 .container {
        background: url("../images/pc/hera-gaikan.webp") bottom 0rem center no-repeat;
        background-size: 60%;
        padding-bottom: 23rem;
    }
    .cont-4 h3 {
        margin: 45px 5% 20px;
        font-size: 1.2rem;
    }
    .cont-4 p {
        width: auto;
        margin: auto 5%;
    }
    /* cont-4 end */
    /* cont-5 */
    .cont-5 {
        background: url("../images/pc/course.webp") top 7% left 0% no-repeat;
        background-size: 75%;
        padding-top: 35px;
    }
    .cont-5 h2::after {
        left: 40%;
        right: 40%;
        width: 80px;
    }
    .cont-5 .right {
        width: 95%;
        padding: 30px 0 27px 30px;
        margin-top: 0px;
    }
    .bg-academy_img {
        background: url("../images/pc/academy_img.webp") top center no-repeat;
        background-size: contain;
        height: 260px;
        margin-top: -20px;
    }
    .cont-5 h4 {
        font-size: 1.3rem;
    }
    .cont-5 h4::after {
        height: 3.5rem;
    }
    .price {
        font-size: 4.4rem;
        margin: 37px 0 0 15px;
    }
    .expenses {
        margin-left: 57%;
        margin-top: 15px;
    }
    .cont-5 dt {
        font-size: 1.2rem;
    }
    .btn-2 {
        max-width: 93%;
    }
    /* cont-5 end */
    /* cont-6 */
    .cont-6 {
        margin-top: 590px;
    }
    .cont-6 h2 {
        letter-spacing: .2rem;
        font-size: 1.3rem;
    }
    .cont-6 .flex {
        margin: 0 auto;
    }
    .cont-6 .col-6 {
        margin: 26px 0 0;
    }
    .cont-6 .col-6 dt::after {
        left: 7%;
    }
    .cont-6 .col-12 dt::after {
        left: 7%;
        top: 33%;
    }
    .cont-6 .col-12 dd {
        padding: 0;
    }
    .cont-6 h5 {
        margin-bottom: 0;
    }
    .cont-6 .toggle {
        display: none;
    }
    .cont-6 .Label {
        display: block;
        width: 100%;
        height: auto; 
    }
    .cont-6 .Label::before{		/*タイトル横の矢印*/
        content:"+";
        width: 6px;
        height: 6px;
        font-size: 2rem;
        position: absolute;
        right: 40px;
        top: 7%;
    }
    .cont-6 .Label,
    .cont-6 .content {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all 0.3s;
    }
    .cont-6 .col-12 dd p {		/*本文*/
        height: 0;
        margin-bottom:10px;
        padding:0 0px;
        overflow: hidden;
        border-bottom: none;
        margin-top: 0;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
    }
    .toggle:checked + .Label + .content {	/*開閉時*/
        height: auto;
        padding:15px 10px ;
        transition: all .3s;
        border-bottom: 1px solid #000;
    }
    .cont-6 .toggle:checked + .Label::before {
        content:"-";
        width: 6px;
        height: 6px;
        font-size: 2.5rem;
        position: absolute;
        right: 40px;
        top: 40%;
        line-height: 0;
        transition: all .3s;
    }
    /* cont-6 end */
    /* cont-7 */
    .cont-7 {
        background: url("../images/pc/after_seminer100.webp") left bottom 0rem no-repeat;
        background-size: 100%;
        height: 780px;
        padding-bottom: 8rem;
    }
    .cont-7 .bg-f2f0f5 {
        width: 95%;
        padding: 15px 0px 15px 20px;
    }
    .cont-7 h3 {
        font-size: 1.5rem;
    }
    .cont-7 h3 span {
        letter-spacing: 0.55rem;
        padding: 0 5px;
    }
    .cont-7 h5 {
        font-size: 1.1rem;
        margin: 0;
    }
    .cont-7 .no-01 {
        background: url("../images/pc/1.webp") top 25px left no-repeat;
        background-size: 25px;
        padding-left: 30px;
    }
    .cont-7 .no-02 {
        background: url("../images/pc/2.webp") top 25px left no-repeat;
        background-size: 25px;
        padding-left: 30px;
    }
    .cont-7 .no-03 {
        background: url("../images/pc/3.webp") top 18px left no-repeat;
        background-size: 25px;
        padding-left: 30px;
    }
    /* cont-7 end */
    /* cont-8 */
    .cont-8 {
        padding-top: 50px;
        padding-bottom: 55px;
    }
    .cont-8 h2 {
        letter-spacing: 0.2rem;
        line-height: 1.4;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    .cont-8 p {
        padding-left: 5%;
        padding-right: 5%;
    }
    .cont-8 .sp_kakudaimap {
        position: relative;
    }
    .cont-8 img {
        margin-top: 40px;
    }
    .cont-8 a {
        color: #000;
        display: flex;
        align-items: center;
        position: absolute;
        top: 15%;
        width: 45%;
    }
    .cont-8 a img {
        width: 2rem;
        margin: 5px 5px 0 5%;
    }
    .cont-8 a[target="_blank"]::after {
        display: none;
    }
    /* cont-8 end */
    /* cont-9 */
    .cont-9 .container {
        background: url("../images/pc/Voice.webp") top 6% left 2% no-repeat;
        background-size: 54%;
    }
    .cont-9 h2 {
        font-size: 1.5rem;
    }
    .cont-9 h2::after {
        width: 60px;
        left: 42%;
        right: 42%;
    }
    .cont-9 .slick-arrow {
        width: 50px;
        height: 50px;
    }
    .cont-9 .slide-cnt {
        padding: 5px 20px 10px;
        border-left: none;
    }
    .cont-9 .slide {
        margin-left: 15%;
        margin-right: 15%;
    }
    .cont-9 .slick-next {
        top: 50%;
        right: -20%;
    }
    .cont-9 .slick-prev {
        top: 50%;
        left: -20%;
    }
    @media screen and (max-width: 400px) {
    .cont-9 .slide-cnt {
        width: 280px;
    }
    }
    /* cont-9 end */
    /* cont-10 */
    .cont-10 {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    .cont-10 .container{
        padding: 0;
    }
    .cont-10 h2 {
        right: 15%;
        left: 15%;
        top: -56px;
        width: auto;
    }
    .cont-10 .tryyourdream {
        position: absolute;
        right: 0;
        top: 12%;
        left: auto;
        bottom: auto;
        width: 50%;
    }
    .cont-10 .tokuten .sp {
        margin: -14% 5% 0;
    }
    .cont-10 .btn-3 {
        position: initial;
        margin: 10px auto 0;
        width: 90%;
    }
    .cont-10 .flex {
        background: url("../images/pc/marubatsu.webp") top 14rem center no-repeat;
        background-size: 70%;
        padding-top: 15%;
        margin-top: 0%;
    }
    .cont-10 .flex::before {
        background: none;
    }
    .cont-10 .circle {
        background: url("../images/pc/maru.webp") bottom 10% center no-repeat;
        background-size: 33%;
        margin-top: 0px;
        padding-bottom: 15px;
    }
    .cont-10 .circle p {
        margin: auto 5% 20px;
        width: 90%;
    }
    .cont-10 .circle p::before {
        left: 15%;
    }
    .cont-10 .circle p::after {
        right: 15%;
    }
    .cont-10 .circle ul {
        margin-top: 15px;
        margin-left: 2%;
        line-height: 1.9;
        margin-right: 2%;
        font-size: .8rem;
    }
    .cont-10 .cross {
        background: url("../images/pc/batsu.webp")bottom 10% center no-repeat;
        background-size: 31%;
        margin-top: 300px;
        padding-bottom: 15px;
    }
    .cont-10 .cross p {
        margin: auto 5%;
        width: 90%;
    }
    .cont-10 .cross p::before {
        left: 15%;
    }
    .cont-10 .cross p::after {
        right: 15%;
    }
    .cont-10 .cross ul {
        margin-top: 15px;
        margin-left: 2%;
        line-height: 1.9;
        margin-right: 2%;
        font-size: .8rem;
    }
    /* cont-10 end */
    /* cont-11 */
    .cont-11 {
        background: url("../images/sp/thought_bg_sp.webp") top center no-repeat, #f6f0f0;
        background-size:contain;
        padding-top: 55px;
        padding-bottom: 60px;
    }
    .cont-11 h2 {
        font-size: 1.5rem;
    }
    .cont-11 h2::after {
        width: 60px;
        bottom: -10px;
        left: 40%;
        right: 40%;
    }
    .cont-11 p {
        margin: 30px auto 0;
    }
    /* cont-11 end */
    /* cont-12 */
    .cont-12 h2 {
        background: #da6582;
        color: #fff;
        position: relative;
        text-align: center;
        font-weight: 400;
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 100%;
        margin: auto;
        font-size: 1.2rem;
    }
    .cont-12 .wpcf7 {
        margin: auto 5%;
    }
    .cont-12 .btn-5 {
        width: 100%;
    }
    /* cont-12 end */
    /* cont-13 */
    .cont-13 {
        padding-bottom: 30px; 
    }
    .cont-13  P {
        font-size: 1.5rem;
    }
    .cont-13 .btn-4 {
        width: 90%;
        margin: 35px auto 0;
    }
    /* cont-13 end */
    /* cont-14 */
    .cont-14 h2 {
        font-size: 1.5rem;
        margin-top: 60px;
        margin-bottom: 40px;
    }
    .cont-14 h3 {
        font-size: 1.1rem;
        margin-top: 60px;
        margin-bottom: 0px;
    }
    .cont-14 h3 span {
        font-size: 1.2rem;
    }
    /* cont-14 end */
    /* footer */
    .footer {
        padding-top: 50px;
    }
    .footer .tel-1 {
        font-size: .9rem;
    }
    .footer .footmenu {
        width: 90%;
        font-size: .8rem;
    }
    /* footer end */
}
@media screen and (max-width: 640px) and (min-width: 461px) {
    .top-kv {
        height: 985px;
    }
    .cont-1 {
        padding-top: 250px;
    }
    .cont-2 .container {
        margin-top: 5rem;
        padding-top: 0rem;
    }
    .cont-2 h3 {
        margin: 0rem 0 0; 
    }
    .cont-2 .bg-story_img {
        background-size: contain;
        height: auto;
        padding-bottom: 30rem;
        margin-top: 0rem;
    }
    .cont-4 .container {
        padding-bottom: 33rem;
    }
    .cont-7 {
        height: 880px;
    }
    .cont-9 .slide-cnt {
        max-width: 24rem;
        padding: 5px 25px 10px;
    }
    .cont-10 .cross {
       margin-top: 24rem; 
    }
}