@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {

    /* p-top-mainimg */

    .p-top-mainimg::after {
        left: 2.5%;
        bottom: 0px;
    }

    .p-top-slider .item img {
        height: 80vh;
    }

    .p-top-slider__txt {
        position: absolute;
        left: 10%;
        bottom: 40px;
    }

    .p-top-slider__txt h2 {
        font-size: 11vw;
    }

    .p-top-slider__txt h3 {
        padding-top: 3vw;
        font-size: 3vw;
    }


    /* contents-top */

    .l-container--home p {
        line-height: 2;
    }


    /* p-top-wrapper */

    .p-top-wrapper {
        padding-top: 70px;
    }

    .p-top-wrapper section {
        padding-bottom: 90px;
    }

    .p-top-wrapper section.p-top-section02:not(:last-child) {
        padding-bottom: 50px;
    }

    /* p-top-gradation */

    .p-top-wrapper::before {
        width: 25%;
        height: 300px;
    }

    .p-top-section01::before {
        top: 350px;
        height: 30%;
    }

    .p-top-section02::before {
        height: 50%;
    }

    .p-top-content03::before {
        top: 75%;
        height: 60%;
    }

    .p-top-section04::before {
        height: 40%;
    }

    .p-top-section05::before {
        height: 40%;
    }


    /* p-top__ttl */

    .p-top__ttl {
        margin-bottom: 35px;
    }

    .p-top__ttl h2 {
        font-size: 45px;
    }



    /* p-top-content01 */

    .p-top-content01 {
        justify-content: center;
        gap: 50px;
        padding-bottom: 70px;
    }

    .p-top-content01 .item__txt {
        width: 100%;
    }

    .p-top-content01 .item__img {
        padding-bottom: 50px;
        width: 400px;
        margin: 0px auto;
    }

    .p-top-content01 h3 {
        font-size: 30px;
        margin-bottom: 0px;
    }

    .p-top-content01 h6 {
        text-align: center;
    }

    .p-top-content01 p {
        padding: 30px 0px 40px;
    }


    /* p-top__slider--message */

    .p-top__slider--message img {
        min-height: 10vw;
    }

    /* p-top-content02 */

    .p-top-content02 {
        padding-top: 0px;
    }

    .p-top-content02 .item__txt {
        position: static;
        right: 0px;
        top: 0px;
        width: 100%;
    }

    .p-top-content02 .item__img {
        justify-content: center;
        gap: 20px;
        padding-top: 40px;
    }

    .p-top-content02 .item__img .inner {
        width: 100%;
    }

    .p-top-content02 .item__img .inner:nth-child(2) {
        margin-top: 0px;
    }

    .p-top-content02 .item__img--txt {
        bottom: 10px;
        width: 100%;
        padding-left: 10px;
    }

    .p-top-content02 h6 {
        font-size: 3vw;
    }

    .p-top-content02 h6::before {
        top: 1px;
        background-size: auto 10px;
    }

    /* p-top-content03 */

    .p-top-section03 {
        padding-top: 110px;
    }

    .p-top-section03__btn {
        top: 65px;
        right: 40%;
        width: 20%;
    }

    .p-top-section03__btn img {
        width: 40px;
    }

    .p-top__slider--interview {
        padding-top: 55px;
    }

    .p-top-content03 .item {
        padding: 10px;
    }

    .p-top-content03 .item:nth-child(even) {
        margin-top: 30px;
    }

    .p-top-content03 .item__txt {
        padding: 20px 6%;
    }

    .p-top-content03 h3 {
        font-size: 2.4vw;
    }

    .p-top-content03 h4 {
        font-size: 4.2vw;
        padding: 15px 0px;
    }

    .p-top-content03 p {
        font-size: 3vw;
    }

    /* p-top-content04 */

    .p-top-content04::before {
        display: none;
    }

    .p-top-content04 .item:not(:last-child) {
        margin-bottom: 30px;
    }

    .p-top-content04 .item a {
        padding: 20px 6%;
        flex-direction: column;
        gap: 30px;
    }

    .p-top-content04 .item:nth-child(even) a {
        flex-direction: column;
    }

    .p-top-content04 .item__txt {
        width: 100%;
        padding: 20px 5% 0px;
    }

    .p-top-content04 .item__img {
        width: 100%;
    }

    .p-top-content04 .item__img img {
        border-radius: 15px;
    }

    .p-top-content04 h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* p-top-content05 */

    .p-top-content05 {
        justify-content: center;
        gap: 20px 3%;
    }

    .p-top-content05 .item {
        width: 48.5%;
        position: relative;
    }

    @media screen and (max-width: 500px) {
        .p-top-content05 .item {
            width: 100%;
        }
    }

    .p-top-content05 .item__txt {
        padding: 12px 6%;
    }

    .p-top-content05 h3 {
        font-size: 18px;
        padding-right: 30px;
    }

    .p-top-content05 h3::before {
        background-size: auto 12px;
    }

    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
