.m-br {display: none;}

/* main-slider */
.hero {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}
.swiper {
    overflow: visible;
    padding: 0 20px;
    box-sizing: border-box;
}
.swiper .swiper-slide {
    width: 1316px;
    flex-shrink: 0;
}
.swiper-wrapper .swiper-slide .inner {
    position: relative;
    width: 100%;
    max-width: 1316px;
    height: auto;
    padding: 80px;
    border-radius: 32px;
    box-sizing: border-box;

    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}
.swiper-wrapper .slide01 .inner {
    background-blend-mode: multiply;
    background-image: url(../img/main/main_slide_eng.png);
    background-color: #acacac;
}
.swiper-wrapper .slide02 .inner {
    background-blend-mode: multiply;
    background-image: url(../img/main/main_slide_useschool.png);
    background-color: var(--main-yellow);
}
.swiper-wrapper .slide03 .inner {
    background-blend-mode: difference;
    background-image: url(../img/main/main_slide_fail.png);
    background-color: var(--main-black);
}
.swiper-wrapper .swiper-slide .sub-txt {font-size: 1.25rem;}
.swiper-wrapper .slide03 .sub-txt {color: rgba(255 255 255 / 50%);}
.swiper-wrapper .slide01 .sub-txt,
.swiper-wrapper .slide02 .sub-txt {color: rgba(0 0 0 / 50%);}
.swiper-wrapper .swiper-slide h1 {
    margin: 20px 0px 40px;
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.3;
}
.swiper-wrapper .slide03 h1 {color: #fff;}
.swiper-wrapper .swiper-slide .article-txt {
    font-size: 1.25rem;
    line-height: 1.5;
}
.swiper-wrapper .slide03 .article-txt {color: #fff;}
.swiper-wrapper .swiper-slide .article-txt strong {font-weight: 600;}
.swiper-wrapper .swiper-slide a {
    display: block;
    width: 160px;
    padding: 14px 38px;
    margin-top: 60px;
    border-radius: 100px;
    background-color: #fff;

    color: var(--main-black);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
}

/* sec01 */
.sec01 .inner {
    width: 100%;
    max-width: 1316px;
    padding: 100px 0px;
    margin: 0 auto;

    text-align: center;
}
.sec01 .inner .sub-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.sec01 .inner h2 {
    font-size: 2.85rem;
    font-weight: 700;

    margin: 16px 0px 40px;
}
.sec01 .inner .sub-text {
    font-size: 1.25rem;
    line-height: 1.5;
}
.sec01 .inner .program-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1093px;
    gap: 16px;
    margin: 80px auto 0px;
}
.sec01 .inner .program-box .program {
    position: relative;

    width: 100%;
    aspect-ratio: 539 / 298;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    text-align: left;
    
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}
.sec01 .inner .program-box .program:hover {
    transform: translateY(-16px);
    box-shadow: 0 12px 32px rgba(255 204 51 / 52%);
}
.sec01 .inner .program-box .program a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.sec01 .inner .program-box .program01 {background-image: url(../img/main/sec01_img01.png);}
.sec01 .inner .program-box .program02 {background-image: url(../img/main/sec01_img02.png);}
.sec01 .inner .program-box .program h3 {
    margin-bottom: 10px;

    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.sec01 .inner .program-box .program p {
    font-size: 1.25rem;
    color: #fff;
}
.sec01 .inner .program-box .program .bubble-box {
    position: absolute;
    top: -6%;

    animation: bubble-bounce 2.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite;
    will-change: transform;
}
@keyframes bubble-bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
.sec01 .inner .program-box .program .benefit-bubble {
    position: relative;

    width: 146px;
    height: auto;
    padding: 10px;
    background-color: var(--main-yellow);
    -webkit-border-radius: 80px;
    -moz-border-radius: 80px;
    border-radius: 80px;
    
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}
.sec01 .inner .program-box .program .benefit-bubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 8px 0;
    border-color: var(--main-yellow) transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -9px;
    left: 68px;
}

/* sec02 */
.sec02 {
    width: 100%;
    height: auto;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 238, 188, 1) 100%);
}
.sec02 .inner {
    display: flex;
    justify-content: space-between;

    width: 100%;
    max-width: 1316px;
    margin: 0 auto;
    padding: 100px 0px;
}
.sec02 .inner .inner-left {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.sec02 .inner .text-box {display: inline-block;}
.sec02 .inner .text-box h2 {
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.3;

    margin-bottom: 40px;
}
.sec02 .inner .text-box .sub-text {
    font-size: 1.25rem;
    line-height: 1.5;
}
.sec02 .inner .button-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 16px;
}
.sec02 .inner .button-box button {    
    position: relative;
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 100px;

    text-indent: -9999px;
    cursor: pointer;
}
.sec02 .inner .button-box .prev-btn::after {
    position: absolute;
    top: 50%;
    left: 46%;
    transform: translate(-50%,-50%);

    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/main/prev_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

    pointer-events: none;
}
.sec02 .inner .button-box .next-btn::after {
    position: absolute;
    top: 50%;
    left: 56%;
    transform: translate(-50%,-50%);

    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/main/next_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

    pointer-events: none;
}
.sec02 .inner .review-container {
    width: 900px;
    padding: 52px 0px 0px 16px;
    overflow-x: hidden;

    --edge-fade: 40px;

    -webkit-mask-image: linear-gradient(
      to right,
      black 0,
      black calc(100% - var(--edge-fade)),
      transparent 100%
    );
            mask-image: linear-gradient(
      to right,
      black 0,
      black calc(100% - var(--edge-fade)),
      transparent 100%
    );
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;

    touch-action: pan-y;
}
.sec02 .inner .review-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    width: max-content;
    gap: 16px;

    transition: transform .4s ease;
    will-change: transform;
}
.sec02 .inner .review-box .review {
    flex: 0 0 316px;
    min-width: 316px;
}
.sec02 .inner .review-box .review .profile-box {
    position: relative;
    width: 100%;
    padding: 60px 30px 30px;
    background: #fff;
    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(255 204 51 / 30%);
}
.sec02 .inner .review-box .review .profile-box .profile {
    padding: 16px;
    border-radius: 12px;
    background: var(--bgGray);
}
.sec02 .inner .review-box .review .profile-box .profile p {
    margin-bottom: 8px;

    font-size: 1rem;
    line-height: 1.5;
}
.sec02 .inner .review-box .review .profile-box .profile p:last-child {margin-bottom: 0px;}
.sec02 .inner .review-box .review .profile-box .profile p strong {font-weight: 700;}
.sec02 .inner .review-box .review .profile-box .hashtag {
    padding: 20px 10px 0px;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    word-break: keep-all;
}
.sec02 .inner .review-box .review .profile-box .face-icon {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translate(-50%);

    width: 96px;
    height: 96px;
    border-radius: 100px;
    background: linear-gradient(180deg, #F7F7F7 0%, #CCCCCC 100%);
}
.sec02 .inner .review-box .review .profile-box .face-icon img {width: 100%;}
.sec02 .inner .review-box .review .story-btn a {
    display: block;
    position: relative;
    width: 100%;
    padding: 24px 30px;
    border-radius: 20px;
    background: var(--main-yellow);
    box-shadow: 0 5px 20px rgba(255 204 51 / 30%);

    color: var(--main-black);
}
.sec02 .inner .review-box .review .story-btn .arrow {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    background: #fff;

    right: 20px;
    bottom: 20px;

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
}
.sec02 .inner .review-box .review .story-btn .top-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.sec02 .inner .review-box .review .story-btn .bottom-text {font-size: 1.25rem;}

/* sec03 */
.sec03 .inner {
    width: 100%;
    max-width: 1316px;
    margin: 0 auto;
    padding: 80px 0px;
}
.sec03 .inner .button-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 0px 111px;
}
.sec03 .inner .button-box .button {
    position: relative;
    flex: 1;
}
.sec03 .inner .button-box .button a {
    display: block;
    position: relative;
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #ccc;

    color: var(--main-black);
}
.sec03 .inner .button-box .button img {
    display: block;
    width: 36px;
    height: 36px;
}
.sec03 .inner .button-box .button .sub-text {
    font-size: 1.25rem;
    font-weight: 400;
    padding: 16px 0px 10px;
}
.sec03 .inner .button-box .button h3 {
    font-size: 2rem;
    font-weight: 600;
}
.sec03 .inner .button-box .button .arrow {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 100px;
    background: var(--main-black);

    right: 24px;
    bottom: 24px;

    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero {padding: 0px 20px;}
    .swiper-wrapper .swiper-slide .inner {
        height: auto;
        padding: 60px;

        background-size: cover;
        background-position: 90% 50%;
    }
    .swiper-wrapper .swiper-slide a {
        right: 60px;
        bottom: 60px;
    }
    .sec01 .inner {
        max-width: 960px;
        padding: 100px 20px;
    }
    .sec02 .inner {
        max-width: 960px;
        padding: 100px 0px;
        flex-direction: column;
    }
    .sec02 .inner .inner-left {
        max-width: 960px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0px 20px;
    }
    .sec02 .inner .text-box {
        display: flex;
        flex-direction: row;
        align-items: flex-end;

        margin-bottom: 60px;
    }
    .sec02 .inner .text-box h2 {margin: 0px 40px 0px 0px;}
    .sec02 .inner .button-box button {box-shadow: 0px 0px 12px rgba(0 0 0 / 10%);}
    .sec02 .inner .review-container {
        width: 960px;
        --edge-fade: 80px;
    }
    .sec03 .inner .button-box {
        max-width: 960px;
        margin: 0 auto;
        padding: 0px 20px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {padding: 0px 20px;}
    .swiper-wrapper .swiper-slide .inner {
        height: auto;
        padding: 60px 40px;

        background-position: center right;
        background-size: cover;
    }
    .swiper-wrapper .slide01 .inner {background-image: url(../img/main/tm_main_slide_eng.png);}
    .swiper-wrapper .slide02 .inner {background-image: url(../img/main/tm_main_slide_useschool.png);}
    .swiper-wrapper .slide03 .inner {background-image: url(../img/main/tm_main_slide_fail.png);}
    .swiper-wrapper .swiper-slide .article-txt {line-height: 1.7;}
    .swiper-wrapper .swiper-slide a {right: 40px; bottom: 60px;}    
    .sec01 .inner {padding: 100px 20px;}
    .sec02 .inner {
        max-width: 960px;
        padding: 100px 0px;
        flex-direction: column;
    }
    .sec02 .inner .inner-left {
        max-width: 960px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0px 20px;
    }
    .sec02 .inner .text-box {
        display: flex;
        flex-direction: row;
        align-items: flex-end;

        margin-bottom: 60px;
    }
    .sec02 .inner .text-box h2 {margin: 0px 20px 0px 0px;}
    .sec02 .inner .button-box button {box-shadow: 0px 0px 12px rgba(0 0 0 / 10%);}
    .sec02 .inner .review-container {
        width: 100%;
        --edge-fade: 80px;
    }
    .sec03 .inner .button-box {
        max-width: 960px;
        margin: 0 auto;
        padding: 0px 20px;
    }
}
@media (min-width: 768px) and (max-width: 810px) {
    .swiper-wrapper .swiper-slide a {width: fit-content; padding: 14px 24px;}
}
@media (min-width: 541px) and (max-width: 767px) {
    .swiper-wrapper .swiper-slide .inner {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 40px;

        background-size: 100%;
        background-position: bottom right;
    }
    .swiper-wrapper .slide01 .inner {background-image: url(../img/main/tm_main_slide_eng.png);}
    .swiper-wrapper .slide02 .inner {background-image: url(../img/main/tm_main_slide_useschool.png);}
    .swiper-wrapper .slide03 .inner {background-image: url(../img/main/tm_main_slide_fail.png);}
}
@media (min-width: 480px) and (max-width: 540px) {
    .m-br {display: inline;}
    .swiper-wrapper .swiper-slide .inner {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1.1;
        padding: 40px;

        background-size: contain;
        background-position: bottom right;
    }
    .swiper-wrapper .slide01 .inner {background-image: url(../img/main/tm_main_slide_eng.png);}
    .swiper-wrapper .slide02 .inner {background-image: url(../img/main/tm_main_slide_useschool.png);}
    .swiper-wrapper .slide03 .inner {background-image: url(../img/main/tm_main_slide_fail.png);}
    .swiper-wrapper .swiper-slide a {
        width: fit-content;
        font-size: 1rem;
    }
}
@media (min-width: 480px) and (max-width: 767px) {
    .m-br {display: inline;}
    .hero {padding: 0px 20px;}
    .swiper-wrapper .swiper-slide .inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 32px;
    }
    .swiper-wrapper .swiper-slide h1 {
        font-size: 1.9rem;
        line-height: 1.5;
    }
    .swiper-wrapper .swiper-slide .article-txt {
        line-height: 1.7;
        word-break: keep-all;
    }
    .swiper-wrapper .swiper-slide a {left: 40px; bottom: 40px;}
    .sec01 .inner {padding: 100px 20px;}
    .sec01 .inner .program-box {flex-direction: column;}
    .sec02 .inner {flex-direction: column;}
    .sec02 .inner .inner-left {
        align-items: center;
        text-align: center;
        margin-bottom: 60px;
    }
    .sec02 .inner .button-box {display: none;}
    .sec02 .inner .review-container {width: 100%;}
    .sec02 .inner .review-box .review {
        flex: 0 0 326px;
        min-width: 326px;
    }
    .sec02 .inner .review-box .review .profile-box {padding: 60px 20px 30px;}
    .sec02 .inner .review-box .review .profile-box .profile p {font-size: 1.15rem;}
    .sec02 .inner .review-box .review .profile-box .hashtag {font-size: 1.15rem;}
    .sec03 .inner .button-box {
        display: flex;
        flex-direction: column;

        max-width: 100%;
        margin: 0 auto;
        padding: 0px 20px;
    }
    .sec03 .inner .button-box .button {width: 100%;}
}
@media (max-width: 479px) {
    .m-br {display: inline;}
    .swiper-wrapper .swiper-slide .inner {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1.1;
        padding: 40px 20px;
        border-radius: 20px;

        background-size: 120%;
        background-position: bottom right;
    }
    .swiper-wrapper .slide01 .inner {background-image: url(../img/main/tm_main_slide_eng.png);}
    .swiper-wrapper .slide02 .inner {background-image: url(../img/main/tm_main_slide_useschool.png);}
    .swiper-wrapper .slide03 .inner {background-image: url(../img/main/tm_main_slide_fail.png);}
    .swiper-wrapper .swiper-slide h1 {
        font-size: 1.5rem;
        line-height: 1.5;
        margin: 20px 0px;
    }
    .swiper-wrapper .swiper-slide .sub-txt {font-size: 1rem;}
    .swiper-wrapper .swiper-slide .article-txt {
        font-size: 1rem;
        line-height: 1.7;
        word-break: keep-all;
    }
    .swiper-wrapper .swiper-slide a {
        width: fit-content;
        left: 20px;
        bottom: 40px;
        padding: 12px 20px;

        font-size: 1rem;
    }
    .sec01 .inner {padding: 80px 20px;}
    .sec01 .inner .sub-title {font-size: 1.25rem;}
    .sec01 .inner h2,
    .sec02 .inner .text-box h2 {font-size: 2rem;}
    .sec01 .inner .sub-text,
    .sec02 .inner .text-box .sub-text {font-size: 1rem;}
    .sec01 .inner .program-box {
        flex-direction: column;
        margin-top: 60px;
    }
    .sec01 .inner .program-box .program {border-radius: 16px;}    
    .sec01 .inner .program-box .program a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 20px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .sec01 .inner .program-box .program .benefit-bubble {
        width: fit-content;
        padding: 10px 20px;
        font-size: 1rem;
    }
    .sec01 .inner .program-box .program .benefit-bubble:after {left: 60px;}
    .sec01 .inner .program-box .program h3 {font-size: 1.5rem;}
    .sec01 .inner .program-box .program p {font-size: 1rem;}
    .sec02 .inner {
        flex-direction: column;
        padding: 60px 0px;
    }
    .sec02 .inner .inner-left {
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    .sec02 .inner .button-box {display: none;}
    .sec02 .inner .review-container {
        width: 100%;
        padding: 52px 0px 0px 25px;
        --edge-fade: 0px;
    }
    .sec02 .inner .review-box .review {
        flex: 0 0 326px;
        min-width: 326px;
    }
    .sec02 .inner .review-box .review .profile-box {
        padding: 60px 20px 30px;
        border-radius: 16px;
    }
    .sec02 .inner .review-box .review .story-btn a {
        padding: 20px;
        border-radius: 16px;        
    }
    .sec02 .inner .review-box .review .profile-box .profile p,
    .sec02 .inner .review-box .review .profile-box .hashtag,
    .sec02 .inner .review-box .review .story-btn .bottom-text {font-size: 1rem;}
    .sec02 .inner .review-box .review .story-btn .top-text {font-size: 1.15rem;}
    .sec03 .inner .button-box {
        display: flex;
        flex-direction: column;

        max-width: 100%;
        margin: 0 auto;
        padding: 0px 20px;
    }
    .sec03 .inner {padding:  60px 0px;}
    .sec03 .inner .button-box .button {width: 100%;}
    .sec03 .inner .button-box .button a {
        padding: 20px;
        border-radius: 16px;
    }
    .sec03 .inner .button-box .button img {
        width: 28px;
        height: 28px;
    }
    .sec03 .inner .button-box .button .sub-text {font-size: 1rem;}
    .sec03 .inner .button-box .button h3 {font-size: 1.5rem;}
    .sec03 .inner .button-box .button .arrow {
        width: 32px;
        height: 32px;
        line-height: 36px;

        right: 20px;
        bottom: 20px;
        font-size: 1.25rem;
    }
    @media (min-width: 320px) and (max-width: 400px) {
        .swiper-wrapper .swiper-slide h1 {font-size: 1.4rem;}
        .swiper-wrapper .swiper-slide .inner {
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1.1;
            padding: 40px 20px;
            border-radius: 20px;
    
            background-size: 120%;
            background-position: bottom right;
        }
        .swiper-wrapper .slide01 .inner {background-image: url(../img/main/tm_main_slide_eng.png);}
        .swiper-wrapper .slide02 .inner {background-image: url(../img/main/tm_main_slide_useschool.png);}
        .swiper-wrapper .slide03 .inner {background-image: url(../img/main/tm_main_slide_fail.png);}
    }
}