@charset "UTF-8";

.all{
    width: 100%;
    margin: 10% auto ;
}

.branching_links{
    margin-top: 180px;
    padding:2% 7%;
    color: #00a0ff;
    font-size: 14px;
}

.branching_links .br_links a{
    color: #00a0ff;
    text-decoration: none;
}

.branching_links .br_links a:hover{
    color: #8aceff;
    transition: all ease 0.3s;
}

.top_first{
    position: relative;
    margin: 0 2%;
}

.top_first .img_sp{
    display: none;
}

.top_first .top_img img{
    width: 100%;
    margin: 5% auto;
}

.top_first .vertical_sentence{
    font-size: clamp(16px, 3.4vw, 45px);
    font-weight: 550 !important;
    position: absolute;
    writing-mode: vertical-lr;
    left: 51.5%;
    transform: translateX(-50%);
    margin: 0% auto;
    width: 10%;
    height: 100%;
    top: -3%;
}

.top_first .change{
    font-size: 2.1vw;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0% auto;
    width: 6%;
    height: 100%;
    top: 74.5%;
    line-height: 130%;
}

.top_first .left_sentence{
    position: absolute;
    top: 65%;
    left: 15%;
    text-align: center;
}

.top_first .left_sentence .ttl{
    font-size: clamp(17px, 3.5vw, 45px);
    margin-bottom: 5%;
    color: #00a0ff;
}

.top_first .left_sentence .snt{
    font-size: clamp(8px, 1.6vw, 21px);
}

.top_first .right_sentence{
    position: absolute;
    top: 65%;
    right: 17%;
    text-align: center;
}

.top_first .right_sentence .ttl{
    font-size: clamp(17px, 3.5vw, 45px);
    margin-bottom: 5%;
    color: #4cc32e;
}

.top_first .right_sentence .snt{
    font-size: clamp(8px, 1.6vw, 21px);
}

.top_first .left_sentence,
.top_first .right_sentence{
    font-weight: 550;
}

.top_second {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    overflow: hidden;
}

.top_second .height_keeper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    visibility: hidden;
}

.top_second .height_keeper img {
    width: 100%;
    height: auto;
    display: block;
}

.top_second .height_keeper .img_sp {
    display: none;
}

/* ▼▼▼ 修正箇所：PC用背景の凹む仕様を解除 ▼▼▼ */
.top_second .full_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* border-image関連を削除し、通常の背景画像設定に変更 */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
/* ▲▲▲ 修正箇所ここまで ▲▲▲ */

.top_second .full_bg img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.top_second .bg_sp {
    display: none;
}

.top_second .inner_content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 100%;
}

.top_second .top_img_illust img {
    position: absolute;
    width: 88%;
    top: 33%;
    left: 50%;
    transform: translateX(-50%);
}

.top_second .illust_mb{
    display: none;
}

.top_second .white {
    background-color: #fff;
    width: 200vw;
    height: 2px;
    position: absolute;
    left: -100%;
}

.top_second .white1 {
    top: 0%;
}

.top_second .white2 {
    bottom: 0%;
}

.top_second .second_ttl {
    position: absolute;
    top: 22.5%;
    font-size: clamp(15px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: 2px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.top_second .snt {
    text-align: center;
    position: absolute;
    font-size: clamp(9px, 1.7vw, 22px);
    font-weight: 500;
}

.top_second .snt1 {
    top: 42.5%;
    left: 9%;
}

.top_second .snt2 {
    top: 48%;
    left: 25.7%;
}

.top_second .snt3 {
    top: 36.2%;
    left: 37.8%;
}

.top_second .snt4 {
    top: 40%;
    left: 61%;
}

.top_second .snt5 {
    top: 45.5%;
    left: 75%;
}

.top_second .snt6 {
    top: 67%;
    left: 13.5%;
}

.top_second .snt7 {
    top: 61%;
    left: 63%;
}

.top_second .snt8 {
    top: 70.5%;
    left: 77.4%;
}

.waytolearn{
    margin:0;
    width: 100%;
}

.waytolearn .ttl{
    text-align: center;
    font-size: clamp(15px, 3vw, 35px);
    color: #28b0ff;
    letter-spacing: 7px;
    font-weight: 550;
}

.waytolearn .images{
    display: flex;
    margin: 0 auto;
    text-align: center;
    max-width: 950px;
}

.waytolearn .images .image{
    margin: 15% 7%;
    height: 32vw;
    max-height: 360px;
}

.waytolearn .images .img{
    width:100%;
}

.waytolearn .images .left{
    margin: 0 auto 8% auto;
    height: 100%;
}

.waytolearn .images .right{
    margin: 8% auto 0 auto;
    height: 100%;
}

.waytolearn .images .right .image{
    margin-bottom: 15%;
}

.waytolearn .images .image .sentence{
    font-size: clamp(12px, 1.5vw, 16px);
    margin: 0% 10% 0% 8%;
    text-align: left;
    font-weight: 380;
    width: 76%;
    line-height: 1.6;
}

.green_contents{
    width: 100vw;
    background-color: #ecf5ea;
    margin-bottom: -330px;
    padding-bottom: 300px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.main_contents {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding:50px 20px 0;
    box-sizing: border-box;
}

.main_contents .title{
    font-size: clamp(10px, 2.5vw, 25px);
    text-align: center;
    letter-spacing: 4px;
    color: #fff;
    background-color: #0097de;
    border-radius: 99px;
    width: 47%;
    padding: 0.9%;
    margin: 5% auto;
}

.main_contents .tr {
    width: 100%;
    height: 2px;
    background-color: #0097de;
    margin-bottom: 0;
}

.main_contents .sentence{
    font-size: clamp(8px, 1.7vw, 16px);
}
.main_contents  .question{
    padding: 3% 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.main_contents  .question .q_mark{
    font-size: clamp(12px, 2vw, 25px);
    background-color: #0097de;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    padding: 0;
    flex-shrink: 0;
    margin-right: 3%;
    vertical-align: middle;
}

.main_contents  .question .blue_sentence{
    font-size: clamp(8px, 1.8vw, 20px);
    color: #0097de;
    font-weight: 500;
}


.main_contents .question .opener {
    position: relative;
    width: 20px;
    height: 20px;
    display: block;
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
    flex-shrink: 0;
    transform: none;
    font-size: 0;
}

.main_contents .question .opener::before,
.main_contents .question .opener::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #0097de;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease;
}

.main_contents .question .opener::before {
    width: 25px;
    height: 2px;
}

.main_contents .question .opener::after {
    width: 2px;
    height: 25px;
}

.main_contents .question .opener.active::after {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.main_contents .block{
    margin-right: 10%;
    height:0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s ease, opacity 0.3s ease;
}

.main_contents .block.is-open{
    opacity: 1;
}

.main_contents .block .answer{
    display: flex;
    align-items: center;
    margin-bottom: 3%;
}

.main_contents .block .answer .a_mark{
    font-size: clamp(12px, 2vw, 23px);
    border: 1.5px solid #ff6000;
    color: #ff6000;
    background-color: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    padding: 0;
    flex-shrink: 0;
    margin-right: 3.5%;
    vertical-align: middle;
}

.main_contents .block .answer .orange_sentence{
    font-size: clamp(8px, 1.8vw, 20px);
    color: #ff6000;
    font-weight: 500;
}

.main_contents .block .black{
    margin-top: -3%;
    margin-left: 9.5%;
    margin-bottom: 4%;
}

.common_btn {
    font-size: 20px;
    background-color: #fff;
    width: 350px;
    max-width: 350px;
    aspect-ratio: 330 / 55;
    height: auto;
    text-align: center;
    border: 1px solid #00a0ff;
    border-radius: 999px;
    position: relative;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    margin: 50px auto 0;
}

.common_btn a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.common_btn .word {
    color: #00a0ff;
    transition: color 0.25s ease;
}

.common_btn .btn_pointer {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-42%);
    width: 3vw;
}

.common_btn .btn_pointer img {
    width: 80%;
    max-width: 25px;
    min-width: 20px;
    height: auto;
}

.common_btn:hover {
    background-color: #00a0ff;
}

.common_btn:hover .word {
    color: #fff;
}

.common_btn .btn_pointer img.hover {
    display: none;
}

.common_btn:hover .btn_pointer img.normal {
    display: none;
}

.common_btn:hover .btn_pointer img.hover {
    display: inline;
}

.review{
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    position: relative;
    margin-top: 40vw;
    margin-bottom: 5%;
}

.review .top_img{
    width: 100vw;
    height: auto;
    max-height: 450px;
    background-color: transparent;
}

.review .img{
    width: 100vw;
    position: absolute;
    top: -30vw;
    left: 0%;
    height: 450px;
    overflow: hidden;
}

.review .img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top left;
}

.review .gradient{
    width: 100vw;
    position: absolute;
    top: -30vw;
    left: 0%;
    z-index: 0;
}

.review .gradient img{
    width: 100%;
    max-height: 451px;
    object-fit: fill;
}

.review .big_ttl{
    color: #3c5998;
    position: absolute;
    text-align: center;
    top: -22vw;
    left: 50%;
    transform: translateX(-50%);
}

.review .big_ttl p:first-child{
    font-size: clamp(16px, 2.5vw, 25px);
    letter-spacing: 3px;
    font-weight: 450;
    text-align: center;
}

.review .big_ttl p:nth-child(2){
    font-size: clamp(16px, 3.5vw, 35px);
    font-weight: 600;
    margin-top: -5%;
    letter-spacing: 4px;
    display: flex;
    text-align: center;
    align-items: center;
    padding-left: 1%;
    white-space: nowrap;
}

.review .big_ttl p:nth-child(2) span{
    font-size: 55px;
    font-weight: 500;
}

.review .voice{
    max-width: 960px;
    margin: 6% auto;
}

.review .top{
    margin-top: 10%;
}

.review .voice .flex{
    display: flex;
    margin-bottom: 3%;
}

.review .voice .flex .icon{
    width: 55%;
    position: relative;
}

.review .voice .flex .icon .icon_under{
    margin: 4% 7.5%;
}

.review .voice .flex .box{
    width: 65%;
    margin: 0;
    padding: 1% 0 2.5%;
    border: 2px solid #9be686;
    z-index: 2;
}

.review .voice .flex .box .block{
    text-align: center;
    padding: 3% auto;
    font-size: 17px;
    font-weight: 500;
    background-color: #d6ffcb;
    padding: 1% 0;
}

.review .voice .flex .box .block1{
    margin: 4% 3% 3%;
}

.review .voice .flex .box .block2{
    margin: 3%;
}

.review .voice .flex .box .block3{
    margin: 3% 3% 1%;
}

.review .voice .flex .box .point{
    position: relative;
    display: inline-block;
    width: 100%;
}

.review .voice .flex .box .point::before,
.review .voice .flex .box .point::after{
    content: "";
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 22px;
    border-radius: 99px;
    background-color: #70cf58;
    transform-origin: 50% calc(100% - 1px);
    left: 50%;
    top: -20px;
}

.review .voice .flex .box .point::before{
    transform: translateX(-50%) rotate(45deg);
}

.review .voice .flex .box .point::after{
    transform: translateX(-50%) rotate(-45deg);
}

.review .voice .main_sentence{
    font-size:16px;
    width: 100%;
    line-height: 1.8;
}

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

    .branching_links{
        margin-top: 100px;
        font-size: 16px;
    }

    .top_first{
        margin: 0;
    }

    .top_first .right_sentence{
        right: 18%;
    }

    .top_first .left_sentence{
        left: 16%;
    }

    .main_contents{
        width: 95%;
    }

    .main_contents .title {
        font-size: 26px ;
        letter-spacing: 4px ;
        padding: 2% 4%;
        margin-bottom: 8%;
        width: 70%;
        font-weight: 501;
    }

    .main_contents .question .opener{
        margin-right: 15px;
    }

    .main_contents .question .q_mark{
        margin-left: 0.5%;
    }

    .main_contents .question .q_mark,
    .main_contents .question .blue_sentence,
    .main_contents .block .answer .a_mark,
    .main_contents .block .answer .orange_sentence{
        font-size: 22px;
    }

    .main_contents .block .sentence{
        font-size: 16px;
        margin: 2% 0 5% 11%;
    }

    .common_btn{
        margin-bottom: 10%;
    }

    .waytolearn{
        max-width: 80%;
        margin: 0 auto;
        min-width: auto;
        width: 100%;
    }

    .waytolearn .ttl{
        font-size: 35px;
    }

    .waytolearn .images{
        display: grid;
        margin: 0 0 7% 5%;
    }

    .waytolearn .images .image{
        margin: 15% 0%;
        height: 60vw;
        max-height: 540px;
    }

    .waytolearn .images .right .image{
        margin-bottom: 13%;
    }

    .waytolearn .images .image .img{
        margin-bottom: -5%;
        width: 95%;
        margin-left: 5%;
    }

    .waytolearn .images .image .sentence{
        margin: 5% 10% 0% 13%;
        width: 72%;
    }

    .waytolearn .images .image4{
        margin-bottom: -15% !important;
    }

    .waytolearn .images .sentence{
        font-size: 20px !important;
        margin-top: 5%;
    }

    .green_contents{
        height: 60%;
        padding-bottom: 160px;
    }

    .review{
        margin-top: 45%;
    }

    .review .big_ttl .ttl2{
        padding-left: 4%;
    }

    .review .big_ttl p:nth-child(2){
        font-size: 35px;
        white-space: nowrap;
        padding-left: 0%;
    }

    .review .voice{
        margin-bottom: 10%;
    }

    .review .voice .flex{
        display: grid;
    }

    .review .voice .flex .icon{
        max-width: 400px;
        margin-left: 5%;
        width: 60%;
        margin: 0 auto;
    }

    .review .voice .flex .icon1{
        margin: 10% auto 0 !important;
    }

    .review .voice .flex .icon img{
        width: 90%;
    }

    .review .voice .flex .box .block{
        font-size: 22px;
    }

    .review .voice .flex .box{
        margin: 0 auto;
        width: 85%;
    }

    .review .voice .main_sentence{
        margin: 0 auto;
        width: 85%;
    }

    .review .voice .main_sentence{
        font-size: 20px;
    }
}

@media screen and (max-width:850px){
    .green_contents{
        height: 55%;
    }

    .review{
        margin-top: 50%;
    }
}



@media screen and (max-width:750px){
    .green_contents{
        height: 50%;
    }

    .review{
        margin-top: 55%;
    }
}

@media screen and (max-width:700px){
    .waytolearn .images{
        margin: 0 auto 27%;
    }

    .waytolearn .images .image{
        margin: 33% 0;
    }
}


@media screen and (max-width:650px){
    .green_contents{
        height: 45%;
    }

    .review{
        margin-top: 65%;
    }

    .main_contents .title{
        font-size: 23px;
    }

    .main_contents .question .q_mark, .main_contents .question .blue_sentence, .main_contents .block .answer .a_mark, .main_contents .block .answer .orange_sentence{
        font-size:20px;
    }

    .main_contents .block .sentence{
        margin-left: 12%;
    }
}

@media screen and (max-width:550px){
    .green_contents{
        height: 40%;
    }

    .review{
        margin-top: 75%;
    }
}

@media screen and (max-width:450px){
    .green_contents{
        height: 35%;
    }

    .review{
        margin-top: 80%;
    }
}

@media screen and (max-width:400px){
    .green_contents{
        height: 32%;
    }

    .review{
        margin-top: 83%;
    }
}


@media screen and (max-width: 550px){
    .all{
        margin: 0 auto;
    }

    .top_first{
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .branching_links{
        display: none;
    }

    .top_first .top_img{
        margin: 30% auto 0;
    }

    .top_first .img_pc{
        display: none;
    }

    .top_first .img_sp{
        display: block;
    }

    .top_first .top_img img{
        width: 115%;
        max-width: none;
        height: auto;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .top_first .vertical_sentence{
        top: 23%;
        font-size: 5vw;
        font-weight: 550 !important;
        left: 49.5%;
    }

    .top_first .change{
        font-size:3.5vw;
        top: 74%;
        left: 50.5%;
        width: 10%;
    }

    .top_first .left_sentence{
        top: 76%;
        left: 4%;
        font-weight: 550;
    }

    .top_first .right_sentence{
        top: 76%;
        right: 4.5%;
        font-weight: 550;
    }

    .top_first .left_sentence .ttl,
    .top_first .right_sentence .ttl{
        font-size: 4.8vw;
        font-weight: 550 !important;
        margin-bottom: 2%;
    }

    .top_first .left_sentence .snt,
    .top_first .right_sentence .snt{
        font-size: 2.5vw;
        font-weight: 500 !important;
    }

    .top_second .height_keeper .img_pc {
        display: none;
    }

    .top_second .height_keeper .img_sp {
        display: block;
    }

    .top_second .bg_pc {
        display: none;
    }

    .top_second .bg_sp {
        display: block;
        border: none;
        border-image-width: 0;
        background-size: 100% auto;
        background-repeat: no-repeat;
    }

    .top_second .inner_content .illust_pc{
        display: none;
    }

    .top_second .inner_content .illust_mb{
        display: block;

    }

    .top_second .inner_content .illust_mb img{
        position: absolute;
        width: 100%;
        top: 3%;
        left: 50%;
        transform: translateX(-50%);
    }

    .top_second .second_ttl{
        top: 26%;
        font-size: 4.5vw;
    }

    .top_second .snt{
        font-size: 3.5vw;
    }

    .top_second .snt1{
        top: 36.5%;
        left: 13%;
    }
    .top_second .snt2{
        top: 34.5%;
        left: 61%;
    }
    .top_second .snt3{
        top: 49.5%;
        left: 12%;
    }
    .top_second .snt4{
        top: 49.5%;
        left: 63%;
    }
    .top_second .snt5{
        top: 64%;
        left: 8%;
    }
    .top_second .snt6{
        top: 64.5%;
        left: 54.5%;
        font-size: 3.2vw;
    }
    .top_second .snt7{
        top: 78%;
        left: 11%;
    }
    .top_second .snt8{
        top: 80%;
        left: 59%;
    }

    .waytolearn{
        max-width: 100%;
    }

    .waytolearn .ttl{
        font-size: 4.5vw;
        letter-spacing: 6px;
        font-weight: 550 !important;
    }

    .waytolearn .images .image{
        margin: 8% 0;
        height: 23%;
    }

    .waytolearn .images .right .image{
        margin-bottom: 0;
    }

    .waytolearn .images .image8 .sentence{
        margin: 5% 10% 10% 13%;
    }

    .waytolearn .images .sentence{
        font-size: 16px !important;
    }

    .main_contents{
        padding: 13px 20px 0;
    }

    .main_contents .title{
        font-size: 16px;
        padding: 2% 7%;
        width: 80%;
    }

    .main_contents .question .q_mark, .main_contents .question .blue_sentence, .main_contents .block .answer .a_mark, .main_contents .block .answer .orange_sentence{
        font-size: 16px;
    }

    .main_contents .question .opener {
        font-size: 30px;
        margin-right: 5px;
        margin-left: 10px;
    }

    .main_contents .question .opener::before {
        width: 18px;
        height: 2px;
    }

    .main_contents .question .opener::after {
        width: 2px;
        height: 18px;
    }

    .main_contents .block .sentence{
        margin: 2% 0 5% 15%;
        font-size: 14px;
    }

    .common_btn{
        width: 79.5%;
        margin: 41px auto 3%;
    }

    .common_btn .word{
        font-size: 18px;
    }

    .common_btn .btn_pointer{
        right: 10%;
    }

    .review .big_ttl{
        top: -27vw;
    }

    .review .big_ttl p:first-child{
        font-size: 3.5vw;
        letter-spacing: 2px;
        white-space: nowrap;
    }

    .review .big_ttl p:nth-child(2){
        padding-left: 2%;
        font-size: 5vw;
    }

    .review .big_ttl p:nth-child(2) span{
        font-size: 32px;
    }

    .review .voice .flex .icon img{
        width: 100%;
    }

    .review .voice .flex .box{
        width: 95%;
        padding: 2% 0 2%;
    }

    .review .voice .flex .box .block{
        font-size: 13px;
    }

    .review .voice .main_sentence{
        width: 95%;
        margin: 5% auto 0;
        font-size: 14px;
    }

    .review .voice .flex .box .point::before,
    .review .voice .flex .box .point::after{
        top: -20px;
    }

    .review .voice .flex .box .block{
        margin: 1% 3% 1%;
    }
}

@media screen and (max-width: 480px){
    .waytolearn .images .image{
        height: 84vw;
    }

    .waytolearn .images{
        margin-bottom: 5%;
    }
}

@media screen and (max-width: 430px){
    .waytolearn .images .image{
        height: 90vw;
    }
}



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

    .waytolearn .images .image {
        height: 96vw;
    }
}


@media screen and (max-width: 370px){
    .main_contents .title{
        width: 85%;
    }
}