@charset "UTF-8";
/* CSS Document */


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

    /* contents-top */

    .contents-top {
        background-size: 120% auto;
        padding-top: 80px;
    }

    .contents-top-wrap {
        padding-top: 25px;
    }

    /* main-img-top */

    .main-img-top::before {
        right: 2%;
        width: 5%;
        height: 150px;
    }


    .main-img-top .box-img {
        width: 92%;
    }

    .main-img-top .box-text {
        padding-left: 10%;
        padding-bottom: 25px;
    }


    .main-img-top h2 {
        font-size: 4.5vw;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .main-img-top h3 {
        font-size: 2vw;
        padding: 6px 10px 6px;
    }


    /* contents02 */

    .contents02,
    .contents03,
    .contents07 {
        padding: 50px 0px 70px;
    }

    .contents07 {
        padding-top: 0px;
    }

    .contents03 {
        padding-bottom: 0px;
    }

    .contents05,
    .contents08 {
        padding-bottom: 70px;
    }

    .contents02 h2,
    .contents05 h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .contents05 h2 {
        padding: 20px 0px;
    }

    /* contents09 */

    .contents09 {
        height: 500px;
        background-position: right 25% top;
    }

    /* contents10 */

    .contents10 {
        padding: 55px 0px;
    }


    /* layout01 */

    .layout01 {
        justify-content: center;
        flex-direction: column;
    }

    .layout01 .box-title {
        width: 100%;
        padding: 8px 0px 10px;
    }

    .layout01 .box-detail {
        width: 100%;
        padding: 10px 6%;
        flex-direction: column;
        gap: 0px 0px;
    }

    /*
    .layout01 .box-detail a {
        width: 100%;
        padding: 15px 6% 45px;
        flex-direction: column;
        gap: 5px 0px;
    }
*/

    .layout01 .box-detail a::before {
        height: 32px;
    }


    .layout01 h3 {
        font-size: 20px;
    }

    .layout01 h6 {
        width: 100%;
    }

    .layout01 p {
        width: 100%;
    }


    /* layout03 */

    .layout03 .box-img img {
        min-height: 200px;
    }

    .layout03 .box-title {
        background-size: auto 102%;
        width: 100%;
        height: 35vw;
    }

    .layout03 h2 {
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: 0.05em;
        padding: 15px 0px 12px;
        background-image: url("../../images/top/text-back01.svg");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 360px auto;
        border-radius: 0px;
        display: block;
        width: 100%;
        background-color: rgba(0, 0, 0, 0);
    }

    /* layout04 */

    .layout04 {
        padding: 45px 0px 80px;
        gap: 40px 0px;
        flex-direction: column;
    }

    .layout04 .box-img {
        width: 100%;
        max-width: 400px;
        margin: 0px auto;
    }

    .layout04 .box-img > img {
        min-height: auto;
        max-height: 350px;
        object-position: center top;
    }

    .layout04 .box-detail {
        width: 100%;
        text-align: center;
    }

    .layout04 .box-detail .inner {
        width: 100%;
        padding-top: 0px;
    }

    .layout04 .box-detail .box-title {
        height: auto;
        padding-top: 0px;
    }

    .layout04 h3 {
        font-size: 17px;
        letter-spacing: 0em;
        background-color: rgba(0, 0, 0, 0);
        padding: 0px;
        line-height: 2;
    }

    .layout04 h6.sp-view {
        padding-top: 40px;
        display: block;
    }

    .layout04 h6 img {
        height: 50px;
        width: auto;
    }

    .layout04 p {
        line-height: 2.5;
        padding-top: 30px;
        text-align: left;
    }


    /* layout05 */

    .layout05::after {
        height: 46px;
        margin-top: -23px;
    }


    .layout05 .box-img img {
        min-height: 550px;
    }

    .layout05 .box-title {
        background-position: center top 40%;
        background-size: auto 30vw;
        margin-top: -8vw;
    }

    .layout05 h2 img {
        height: 240px;
        width: auto;
    }

    .layout05 h2 {
        margin-bottom: 40px;
    }

    .layout05 h3 {
        font-size: 20px;
        letter-spacing: 0.1em;
        padding: 8px 20px;
    }

    /* layout06 */

    .layout06 {
        margin-top: -40px;
    }

    .layout06::before {
        top: 40px;
        height: 85%;
    }

    .layout06 .item-shadow {
        filter: drop-shadow(10px 10px 12px rgba(0, 0, 0, .5));
        -webkit-filter: drop-shadow(10px 10px 12px rgba(0, 0, 0, .5));
    }

    .layout06 .item {
        min-height: 0px;
        padding-left: 0%;
        clip-path: none;
        -webkit-clip-path: none;
        height: auto;
    }

    .layout06 .item-shadow:not(:last-child) {
        margin-bottom: 22vw;
    }

    .layout06 .item-shadow .item::before {
        display: none;
    }

    .layout06 .box-detail {
        padding: 0px 0% 30px;
    }

    .layout06 h3 {
        display: block;
        text-align: center;
        margin-bottom: 30px;
        position: relative;
        margin-top: -13vw;
    }

    .layout06 h3 img {
        width: 88%;
        height: auto;
    }

    .layout06 h4 {
        font-size: 22px;
        letter-spacing: 0.1em;
        padding: 0px 8%;
    }

    .layout06 p {
        padding: 0px 8%;
    }


    /* layout07 */

    .layout07 {
        padding: 70px 0px 60px;
    }

    .layout07 .box-title {
        width: 100%;
        height: 250px;
    }

    .layout07 h6 {
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: 0.05em;
        padding: 15px 0px 12px;
        background-image: url("../../images/top/text-back01.svg");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 360px auto;
        border-radius: 0px;
        display: block;
        width: 100%;
        background-color: rgba(0, 0, 0, 0);
    }

    .layout07 h6 span {
        font-size: 13px;
        letter-spacing: 0em;
    }


    /* layout08 */

    /* スライダーのwrapper */
    .infinite-slider .swiper-wrapper {
        padding-bottom: 65px;
    }

    /* スライド */
    .infinite-slider .swiper-slide {
        height: 500px !important;
    }

    /* スライド内の画像 */
    .infinite-slider .swiper-slide img {
        width: auto;
        height: 500px !important;
    }

    .layout08 .i01,
    .layout08 .i03,
    .layout08 .i07 {
        margin-top: 30px;
    }

    .layout08 .i02,
    .layout08 .i08 {
        margin-top: 65px;
    }

    .layout08 .i05,
    .layout08 .i09 {
        margin-top: 45px;
    }

    .layout08 .box::before {
        background-position: left -3px center;
        width: 58px;
    }

    .layout08 .box-detail {
        bottom: 80px;
    }

    .layout08 h5,
    .layout08 h6 {
        letter-spacing: 0em;
        padding: 6px 20px;
    }

    .layout08 h5 {
        font-size: 18px;
    }

    .layout08 h6 {
        font-size: 14px;
    }

    /* layout09 */

    .layout09 {
        padding: 40px 0px;
    }

    .layout09 .box-wrap {
        gap: 20px 20px;
    }

    .layout09 .box {
        width: 360px;
        max-width: 360px;
        padding: 15px 15px 20px;
        margin: 0px auto;
    }

    .layout09 .box-detail {
        width: 100%;
        height: 70%;
    }

    .layout09 .box-detail::before {
        background-size: auto 90px;
        background-position: center;
    }

    .layout09 .box:nth-child(1) .box-detail::before {
        background-size: auto 85px;
        left: 0px;
        width: 55%;
    }

    .layout09 .box:nth-child(2) .box-detail::before {
        left: 0px;
        width: 45%;
    }

    .layout09 .box:nth-child(3) .box-detail::before {
        background-size: auto 85px;
        left: 0px;
        width: 50%;
    }

    .layout09 .box:nth-child(4) .box-detail::before {
        left: 0px;
        width: 50%;
    }

    .layout09 .box:nth-child(5) .box-detail::before {
        background-size: auto 70px;
        width: 50%;
    }

    .layout09 .box:nth-child(6) .box-detail::before {
        background-size: auto 85px;
        left: 0px;
        width: 45%;
    }

    .layout09 .box:nth-child(7) .box-detail::before {
        background-size: auto 85px;
        left: 0px;
        width: 50%;
    }

    .layout09 .box:nth-child(8) .box-detail::before {
        background-size: auto 80px;
        width: 30%;
    }

    .layout09 .box:nth-child(9) .box-detail::before {
        background-size: auto 80px;
        width: 25%;
    }

    .layout09 h4 {
        font-size: 18px;
        height: 30px;
        margin-bottom: 20px;
    }

    .layout09 h5 {
        font-size: 80px;
    }

    .layout09 h5::before,
    .layout09 h5::after {
        font-size: 32px;
    }

    .layout09 h6 {
        font-size: 18px;
        padding-left: 50%;
    }

    .layout09 .box:nth-child(7) h6 {
        font-size: 15px;
        padding-left: 40%;
    }

    /* layout10 */

    .layout10 .item:not(:last-child) {
        margin-bottom: 60px;
    }

    .layout10 .box {
        padding-top: 10px;
    }

    .layout10 .box:not(:last-child) {
        margin-bottom: 15px;
    }

    .faq-title::before,
    .faq-title::after {
        width: 15px;
    }

    .faq-title::before {
        right: 0px;
    }

    .faq-title::after {
        right: 0px;
    }

    .layout10 .faq-detail {
        padding-top: 15px;
        padding-left: 50px;
    }

    .layout10 .faq-detail::before {
        left: 8px;
        top: 15px;
        height: 40px;
    }

    .layout10 h4 {
        font-size: 20px;
        letter-spacing: 0.1em;
        height: 40px;
        margin-bottom: 20px;
    }


    .layout10 h6 {
        font-size: 17px;
        letter-spacing: 0.05em;
        padding-bottom: 20px;
        padding-left: 50px;
        padding-right: 20px;
    }

    .layout10 h6::before {
        height: 50px;
    }

    .layout10 p {
        min-height: 50px;
    }


    /* layout11 */

    .layout11 h2 {
        font-size: 90px;
    }

    .layout11 h3 {
        font-size: 19px;
        letter-spacing: 0.05em;
        padding: 40px 0px 25px;
    }

    .layout11 .box-link a {
        font-size: 20px;
        padding: 15px 0px;
    }

    .layout11 p {
        letter-spacing: 0.05em;
    }

    /* layout12 */

    .layout12 p {
        font-size: 14px;
        line-height: 2.2;
        letter-spacing: 0em;
    }




    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
