@charset "utf-8";

/* ==================
maincaption
===================*/
.section--maincaption{
    display: flex;
    padding: 25px 8.8%;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    background: url(../images/background4.jpg) lightgray 50% / cover no-repeat;
}

.maincaption__topic{
    color: #000;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
}

.maincaption__topic::before, .maincaption__topic::after{
    content: "";
    width: 30px;
    height: 3px;
    background-color: #FF6600;
    top: 50%;
}

/* maincaption pc */
@media screen and (min-width:769px){
    .section--maincaption{
        padding: 102px 11.8% 138px;
    }

    .maincaption__topic{
        font-size: 5.2rem;
        margin-bottom: 42px;
    }

    .maincaption__topic::before, .maincaption__topic::after{
        content: "";
        width: 80px;
        height: 5px;
        background-color: #FF6600;
        top: 50%;
    }

    .maincaption__txt{
        font-size: 2.4rem;
    }
}

/* ==================
lesson
===================*/

.section--lesson{
    display: flex;
    padding: 30px 10.6% 36px 10.6%;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    align-self: stretch;
    background: url(../images/background4reverse.jpg) lightgray 50% / cover no-repeat;
}

.lesson__container1,.lesson__container2,.lesson__container3{
    text-align: center;
}

.topic-1{
    font-size: 2.0rem;
    font-weight: 700;
}

.lesson__txtall-1{
    margin-top: 20px;
}

.lesson__txtall-2,.lesson__txtall-3{
    margin-top: 45px;
}

.lesson__txtall-4{
    margin-top: 24px;
}

.lesson__name,.lesson__name__past,.lesson__txt,.lesson__attention{
    text-align: left;
}

.lesson__name{
    font-size: 1.8rem;
    font-weight: 700;
}

.lesson__name__past{
    font-size: 1.6rem;
    font-weight: 600;
}

.lesson__picture-sp{
   margin-top: 14px;
}

.topic__detail{
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    margin-top: 7px;
}

.lesson__picture-pc{
    display: none;
}

/* lesson pc */
@media screen and (min-width:769px){
    .section--lesson{
        padding: 0 0 114px 0;
    }

    .lesson__container1{
        padding: 110px 21.2% 0;
    }

    .lesson__container2{
        padding: 104px 13.0% 0 19.3%;
    }

    .lesson__container3{
        padding: 190px 22.0% 0;
    }

    .topic-1{
        font-size: 4.0rem;
    }

    .topic__detail{
        font-size: 2.3rem;
        margin-top: 33px;
    }

    .lesson__name{
        font-size: 3.6rem;
    }

    .lesson__name__past{
        font-size: 3.6rem;
    }

    .lesson__txt,.lesson__attention{
        font-size: 2.4rem;
    }

    .lesson__txt{
        margin-top: 20px;
    }

    .lesson__picture-sp{
        display: none;
    }

    .lesson__picture-pc{
        display: block;
        margin-top: 56px;
    }


}