/*//////// トップページ ////////CSS */

/* 共通設定 */


div#contents\ top2025-07 {
    overflow: hidden;

    * {
        font-family: "Zen Kaku Gothic Antique", sans-serif;
    }

    p {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        line-height: 2.5;
        margin-bottom: 20px;
    }

    img {
        display: inline;
        max-width: 100%;
        vertical-align: middle;
    }

    section {
        padding: 60px 15px;
    }

    .container {
        max-width: 1100px;
        position: relative;
        margin: 0 auto;
    }

    .pc {
        display: block;
    }

    .tab {
        display: none;
    }

    .sp {
        display: none;
    }

    /*Slick slider*/
    .sliderArea {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .sliderArea ul.slider01 {
        list-style: none;
        padding: 0;
        margin-bottom: 80px;

        li:nth-of-type(2n) {
            width: 20vw;
        }
    }

    .slick-slide {
        margin: 0;
    }

    .slick-track {
        display: flex;
        align-items: center;
        gap: 25px;

        li {
            width: 25vw;
            border-radius: 15px;
            overflow: hidden;
        }

        /* スライド画像 */
        img {
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: 0.3s;
        }
    }

    /* FV */
    .top-fv {
        padding: 60px 0 0;
    }

    .slider-fv .slick-track {
        align-items: center;
        gap: 0;

        li {
            border-radius: 70px 70px 0 0;
            overflow: hidden;
        }

        /* スライド画像 */
        img {
            width: 100%;
            height: 80vh;
            object-fit: cover;
            transition: 0.3s;
        }
    }

    .fv-img img {
        margin: 0 auto;
    }

    .fv-title {
        text-align: center;
        padding: 60px 15px 150px;
    }

    /* フェードインCSS　*/
    .fade-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

    .opacity {
        opacity: 0;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .opacity.show {
        opacity: 1;
    }

    /* section1 */
    .top-section1 {
        position: relative;
        padding: 100px 0;

        img.left {
            position: absolute;
            top: 15px;
            left: 5px;
            z-index: -1;
        }

        img.right {
            position: absolute;
            bottom: 15px;
            right: 5px;
            z-index: -1;
        }

        h2 {
            font-size: 60px;
            font-weight: 900;
            letter-spacing: 8px;
            text-align: center;
            margin: 50px 0;
        }

        .assignment-wrap {
            position: relative;
            max-width: 780px;
            padding: 15px;
            margin: 0 auto;

            p {
                margin-bottom: 30px;
            }
        }

        .assignment-btn {
            position: absolute;
            bottom: 50px;
            right: 50px;
        }

        .fade-up-text {
            opacity: 0;
            transform: translateY(30px);
            display: inline-block;
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-up-text.show {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* section2 */
    .top-section2 {
        background: #7dbee0;

        .container {
            position: relative;
            background: #fff;
            padding: 70px;
            border-radius: 20px;
        }

        .logo-center {
            text-align: center;
            margin-bottom: 50px;
        }

        h2 {
            text-align: center;
            font-size: 38px;
            font-weight: 600;
            margin: 60px 0;

            .text-small {
                font-size: 18px;
                margin-bottom: 20px;
            }

            span {
                color: #7dbee0;
            }
        }

        .section02-img img {
            width: 100%;
            height: 470px;
            object-fit: cover;
            border-radius: 20px;
        }

        p {
            text-align: center;
        }

        .section2-btn {
            position: relative;
            bottom: 0;
            right: 10px;
            text-align: right;
            margin-top: -100px;
        }
    }


    /* section3 */
    .top-section3 {
        h2 {
            font-size: 60px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 50px;
        }

        .branding-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        .brandeing-center {
            display: flex;
            align-items: center;
            gap: 40px;
        }


        .branding-img img {
            width: 330px;
            border-radius: 20px;
            overflow: hidden;
        }

        h3 {
            font-size: 38px;
            font-weight: 600;
            margin-bottom: 30px;
        }

        .news-btn {
            width: 300px;
            margin: 50px auto;
            background: #222;
            border-radius: 50px;

            img {
                margin: 0;
            }

            a {
                color: #fff;
                display: flex;
                align-items: center;
                gap: 15px;
                justify-content: center;
                padding: 15px 0;
            }
        }
    }

    /* section4 */
    .top-section4 {
        h2 {
            margin-bottom: 50px;
        }

        .future-wrap {
            position: relative;
            display: flex;
            justify-content: space-between;
            padding: 50px;
            margin-bottom: 80px;
            background: #7dbee0;
            border-radius: 20px;

            &::before {
                content: '';
                position: absolute;
                top: 0px;
                left: -50%;
                width: 60%;
                height: 100%;
                background: #7dbee0;
                z-index: -1;
            }

            .future-img {
                max-width: 460px;
                border-radius: 15px;
                overflow: hidden;
            }
        }

        h4 {
            font-size: 28px;
            line-height: 1.7;
            color: #fff;
            margin: 30px 0;
        }

        .future-text p {
            color: #fff;
        }

        .family-career {
            position: relative;
            padding: 40px;

            .quote.center {
                text-align: center;
                font-weight: 600;
            }

            .quote.left {
                position: absolute;
                top: 0;
                left: 30px;
                z-index: -1;
            }

            .quote.right {
                position: absolute;
                bottom: 0;
                right: 30px;
                z-index: -1;
            }

            h2 {
                font-size: 38px;
                margin-bottom: 50px;
            }
        }

        .news-btn {
            width: 300px;
            margin: 50px auto;
            background: #222;
            border-radius: 50px;

            img {
                margin: 0;
            }

            a {
                color: #fff;
                display: flex;
                align-items: center;
                gap: 15px;
                justify-content: center;
                padding: 15px 0;
            }
        }

        p.katsudo {
            text-align: right;
            margin-right: 10%;
        }
    }

    /* section5 */

    .top-section5 .container {
        text-align: center;
        background: #7dbee0;
        padding: 60px 0;
        border-radius: 15px;

        h3 a {
            font-size: 28px;
            color: #fff;
            letter-spacing: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
        }

        p {
            color: #fff;
            letter-spacing: 4px;
            font-weight: 600;
        }
    }

    /* section6 */
    .top-section6 {
        h2 {
            text-align: center;
            margin-bottom: 50px;
        }

        .newposts-wrap {
            max-width: 950px;
            margin: 0 auto;
        }

        .news-item {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            margin-bottom: 15px;
        }

        .news-img {
            width: 260px;
            border-radius: 15px;
            overflow: hidden;
        }

        .news-text {
            width: 620px;

            .news-date {
                font-size: 16px;
                font-weight: 600;
            }

            .news-category {
                font-size: 12px;
                font-weight: 600;
                background: #7dbee0;
                padding: 2px 15px 4px;
                border-radius: 30px;
            }

            .date-category,
            p {
                font-size: 14px;
                margin: 15px 0;
            }

            .news-title {
                font-size: 22px;
            }
        }

        .news-btn {
            width: 300px;
            margin: 50px auto;
            background: #222;
            border-radius: 50px;

            img {
                margin: 0;
            }

            a {
                color: #fff;
                display: flex;
                align-items: center;
                gap: 15px;
                justify-content: center;
                padding: 15px 0;
            }
        }

    }

    /* section7 */
    .top-section7 {
        background: #7dbee0;

        h2 {
            text-align: center;
            margin: 50px 0;
        }

        .service-wrap {
            display: flex;
            justify-content: space-between;
        }

        .service-item {
            width: 265px;
            background: #fff;
            border-radius: 20px;
            padding: 40px 20px;

            h3 {
                font-size: 18px;
                color: #7dbee0;
                margin-bottom: 20px;
            }

            li a {
                font-size: 16px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-bottom: 10px;
                margin-bottom: 10px;
                border-bottom: 1px solid #7dbee0;

                img {
                    width: 20px;
                    height: 20px;
                    object-fit: contain;
                }
            }
        }

        .news-btn {
            width: 300px;
            margin: 50px auto;
            background: #222;
            border-radius: 50px;

            img {
                margin: 0;
            }

            a {
                color: #fff;
                display: flex;
                align-items: center;
                gap: 15px;
                justify-content: center;
                padding: 15px 0;
            }
        }
    }

    /* section8 */
    .top-section8 {
        padding: 60px 0;

        .contact-bg {
            position: relative;
            background-image: url(https://shufukomachi.com/test/wp-content/themes/jinr-child/top-img/section08-bg.png);
            background-size: cover;
            background-position: top center;
            padding: 300px 0 0;
        }

        .contact-wrap {
            display: flex;
            justify-content: center;
            gap: 50px;
        }

        /* slide02 */
        .sliderArea ul.slider02 {
            position: relative;
            bottom: -50px;
            list-style: none;
            padding: 0;
            margin: 80px 0;
        }

        .slick-track {
            display: flex;
            align-items: center;
            gap: 25px;

            li {
                width: 25vw;
            }

            /* スライド画像 */
            img {
                width: 100%;
                height: auto;
                object-fit: cover;
                transition: 0.3s;
            }
        }
    }

    /* タブレット表示 */
    @media(max-width:800px) {
        .pc {
            display: none;
        }

        .tab {
            display: block;
        }

        .sp {
            display: none;
        }
    }

    /* スマホ表示 */
    @media(max-width:600px) {
        .pc {
            display: none;
        }

        .tab {
            display: none;
        }

        .sp {
            display: block;
        }

        section {
            padding: 20px 15px;
        }

        /* FV */
        .fv-title {
            text-align: center;
            padding: 50px 15px;
        }

        .slider-fv .slick-track {
            li {
                border-radius: 40px 40px 0 0;
                overflow: hidden;
            }

            /* スライド画像 */
            img {
                height: 60vh;
            }
        }


        /* section1 */
        .top-section1 {
            padding: 50px 0 150px;

            .assignment-btn {
                width: 150px;
                bottom: -125px;
                right: 20px;

            }

            h2 {
                font-size: 24px;
                margin-left: 15px;

                span {
                    font-size: 30px;
                    line-height: 2;
                }
            }

            img.left {
                width: 70px;
            }

            img.right {
                width: 70px;
            }

            .assignment-wrap {
                p {
                    margin-bottom: 30px;
                    line-height: 1.5;
                }
            }
        }

        /* section2 */
        .top-section2 {
            .container {
                padding: 15px;
            }

            .container {
                padding: 15px 15px 120px;
            }

            h2 {
                font-size: 26px;

                .text-small {
                    font-size: 16px;
                    margin-bottom: 20px;
                }
            }

            .section02-img img {
                width: 100%;
                height: 250px;
                object-fit: cover;
                border-radius: 20px;
            }

            .section2-btn {
                position: absolute;
                width: 130px;
                right: 10px;
                bottom: 10px;
            }


        }

        /* section3 */
        .top-section3 {
            padding: 50px 10px;

            h2 {
                font-size: 26px;
            }

            .branding-wrap {
                gap: 10px;

                .sp {
                    width: 23px;
                }

                h3 {
                    font-size: 24px;
                }

                .brandeing-center {
                    width: 85%;
                    flex-direction: column;
                    gap: 25px;
                }

                p {
                    line-height: 2;
                }
            }
        }

        /* section4 */
        .top-section4 {
            h2 {
                text-align: center;
            }

            .future-wrap {
                flex-direction: column;
                padding: 20px 15px 50px 10px;
                border-radius: 10px;
            }

            .family-career {
                padding: 40px 20px;

                h2 {
                    font-size: 24px;
                }

                .quote.left {
                    width: 60px;
                    top: -30px;
                    left: 10px;
                }

                .quote.center p {
                    text-align: justify;
                }

                .quote.right {
                    width: 60px;
                    right: 10px;
                }
            }
        }

        /* slide1 */
        .sliderArea ul.slider01 {

            li:nth-of-type(2n) {
                width: 55vw;
            }
        }

        .slick-track {
            li {
                width: 70vw;

            }
        }

        /* section5 */
        .top-section5 {
            padding: 20px 0;

            .container {
                border-radius: 0;

                h3 a {
                    font-size: 19px;
                }

                p {
                    font-size: 14px;
                }
            }
        }

        /* section6 */
        .top-section6 {
            h2 {
                margin: 50px;
            }

            .news-item {
                padding: 15px 0;
                gap: 10px;
            }

            .news-img {
                width: 150px;
            }

            .news-text {
                width: 100%;

                .news-title {
                    font-size: 14px;
                }

                .date-category,
                p {
                    font-size: 14px;
                    margin: 0 -15px 15px;
                }
            }
        }

        /* section7 */
        .top-section7 {
            padding-bottom: 70px;

            .service-wrap {
                display: flex;
                flex-direction: column;
                gap: 20px;
                align-items: center;
            }
        }

        /* section8 */
        .top-section8 {
            .contact-wrap {
                padding: 15px;
                gap: 20px;
            }

            .contact-item {
                width: 150px;

                &:nth-of-type(2) {
                    position: absolute;
                    top: 170px;
                    left: 50%;
                    transform: translate(-50%);
                }

            }

            .slick-track {
                li {
                    width: 65vw;
                }
            }

            .sliderArea ul.slider02 {
                margin: 0;
            }
        }
    }
}