@charset "UTF-8";

h2,
h3 {
    font-size: 3em;
    color: #ED6A81;
    font-family: "Hannari", 'Noto Serif JP', serif;
    padding: 1em;
}

h3 {
    padding: 0;
}

h4 {
    font-size: 1.6em;
    color: #fff;
    font-family: "Hannari", 'Noto Serif JP', serif;
    padding: 0 30px;
    margin: 1em auto 0.5em;
    background-color: #ED6A81;
    display: inline-block;
    border-radius: 100px;
    max-width: 90%;
    width: 1000px;
    line-height: 1.75;
}

/*==========================
メインビジュアル
===========================*/
#mainVisual {
    background: url("img/fv_class.jpg") no-repeat;
    z-index: 1;
    margin-top: -140px;
    height: 450px;
    background-size: cover;
    background-position: left;
    position: relative;
}

#mainVisual .key {
    position: absolute;
    bottom: 80px;
    left: 50px;
    width: 180px;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    #mainVisual {
        background: url("img/fv_class_sp.jpg") no-repeat;
        height: 300px;
        margin: 0;
        background-position: left -120px top 0;
    }

    #mainVisual .key {
        position: absolute;
        left: 15px;
        width: 160px;
        z-index: 10;
        bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    #mainVisual {
        background-size: cover;
    }
}

/*==========================

===========================*/
#sec01 {
    background: url("../common/img/bg_l2.jpg") no-repeat;
    background-size: cover;
    padding: 0;
    text-align: center;
    padding-top: 60px;
}

#sec01 h2 {
    position: relative;
}

#sec01 h2:after {
    content: url("../common/img/bar_m.svg");
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 300px;
    padding-top: 1.7em;
}

#sec01 .pr {
    display: flex;
    margin: 0 auto;
    padding-bottom: 3em;
    flex-wrap: wrap;
    justify-content: center;
}

#sec01 .pr .box-img {
    width: 40%;
    padding: 2%;
}

#sec01 .pr .box-img img {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    #sec01 h2:after {
        right: 0;
        width: 200px;
    }

    #sec01 .pr {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #sec01 .pr .box-img {
        width: 100%;
        padding: 4%;
    }

    #sec01 .pr .box-img img {
        max-width: 400px;
        margin: 0 auto;
    }
}

/*==========================

===========================*/
#sec02 {
    background: #fff;
    padding-bottom: 5em;
    text-align: center;
}

#sec02 h2 {
    position: relative;
}

#sec02 h2:after {
    content: url("../common/img/bar_m.svg");
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 300px;
    padding-top: 1.7em;
}

#sec02 img {
    padding: 0 2%;
    width: 100%;
}

@media screen and (max-width: 768px) {
    #sec02 h2:after {
        right: 0;
        width: 200px;
    }
}

/*==========================

===========================*/
#sec03 {
    background: #FFF5F5;
    padding: 0;
    text-align: center;
}

#sec03 h2 {
    position: relative;
}

#sec03 h2:after {
    content: url("../common/img/bar_m.svg");
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 300px;
    padding-top: 1.7em;
}

#sec03 .pr {
    display: flex;
    margin: 0 auto;
    padding-bottom: 2em;
    flex-wrap: wrap;
    justify-content: center;
}

#sec03 .pr .box-img {
    width: 40%;
    padding: 2%;
}

#sec03 p {
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 500;
}

#sec03 a.btn {
    width: 450px;
    font-size: 22px;
    display: inline-block;
    margin-bottom: 3em;
}

#sec03 .pr .box-img img {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    #sec03 h2:after {
        right: 0;
        width: 200px;
    }

    #sec03 .pr {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #sec03 .pr .box-img {
        width: 100%;
        padding: 4%;
    }

    #sec03 .pr .box-img img {
        max-width: 400px;
        margin: 0 auto;
    }

    #sec03 p {
        font-size: 15px;
        font-weight: 500;
    }

    #sec03 a.btn {
        width: 90%;
        font-size: 18px;
        margin-bottom: 2em;
    }
}

.taiken {
    color: #ED6A81;
    font-size: 2em !important;
    margin-bottom: 0.5em !important;
}

.taiken span {
    display: block;
    font-size: 0.5em !important;
}

@media screen and (max-width: 768px) {
    .taiken {
        font-size: 1.3em !important;
    }
}