@charset "utf-8";
/* ==================
header
===================*/
.header{
    z-index: 9999;
    position: relative;
}

.main{
    margin-top: -36.67px;
}

/* header pc */
@media screen and (min-width:769px){

    .main{
        margin-top: -118px;
    }

}

/* ==================
top-main
===================*/
.topic{
    position: relative;
}

.topic::after{
    content: '';
    width: 40px;
    height: 2px;
    display: inline-block;
    background-color:#FF6600;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width:769px){
    .topic::after{
        width: 152px;
        height: 3px;
        bottom: -15px;
    }
}

/* ==================
profile
===================*/

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

.profile__container{
    text-align: center;
}

.profile__picture__sp{
    max-width: 52%;
}

.profile__picture__pc{
    display: none;
}

.profile__txtAll{
    margin-top: 30px;
}

.profile__txt{
    text-align: left;
}


/* profile pc */
@media screen and (min-width:769px){
    .section--profile{
        padding: 82px 9.6% 70px 8.3%;
    }


    .profile__txt{
        font-size: 2.7rem;
    }
}

@media screen and (min-width:1300px){

    .profile__container{
        display: flex;
        margin-top: 88px;
        margin-bottom: 65px;
        align-items: flex-start;
    }

    .profile__picture__sp{
        display: none;
    }

    .profile__picture__pc{
        display: block;
    }

    .profile__txtAll{
        margin-right: 131px;
    }

    .profile__txt{
        font-size: 2.7rem;
    }
}

/* ==================
menu
===================*/

.section--menu{
    display: flex;
    padding: 25px 10.6%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    align-self: stretch;
    background: url(../images/top-menu-background-sp.png);
}

.topics__detail{
    font-size: 1.2rem;
}

.menu__All{
    display: flex;
    width: 82%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.menu__topics{
    font-size: 2.0rem;
    text-align: left;
}

.menu__txt{
    text-align: left;
}


/* menu pc */
@media screen and (min-width:769px){
    .section--menu{
        padding: 94px 11.9% 74px ;
    }

    .topic__detail{
        font-size: 2.4rem;
    }

    .menu__All{
        text-align: center;
    }

    .menu__topics{
        font-size: 4.0rem;
        text-align: center;
    }


    .menu__txt{
        font-size: 2.4rem;
        text-align: center;
    }
}

@media screen and (min-width:1300px){
    .menu__All{
        flex-direction: row;
        gap: 181px;
        width: 100%;
        margin-top: 90px;
        margin-bottom: 68px;
    }

    .menu__topics{
        text-align: left;
    }

    .menu__txt{
        text-align: left;
    }
}


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

.section--lesson{
    display: flex;
    padding: 25px 4.8%;
    flex-direction: column;
    align-items: center;
    gap: 47px;
    align-self: stretch;
    background: url(../images/background4.jpg) lightgray 50% / cover no-repeat;
}

/* lesson pc */
@media screen and (min-width:769px){
    .section--lesson{
        padding: 91px 14.8% 47px;
        gap: 0;
    }

    .lesson__txt{
        font-size: 3.2rem;
        margin-top: 40px;
    }

    .btn--lesson{
        margin-top: 98px;
    }
}
