/* 共通 */

.pc {
    display: block;
}

.sp {
    display: none;
}

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

p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ヘッダー　2025 */
.header-2025 {
    display: flex;
    justify-content: space-between;
    height: 80px;

    .header-logo {
        position: relative;
        width: 325px;
        z-index: 100;
    }

    .header-btn {
        display: flex;
        align-items: center;
        padding: 10px 0;
        gap: 15px;
    }

    .header-tel {
        display: flex;
        align-items: center;
        color: #6791a4;
        gap: 15px;

        span {
            color: #fff;
            padding: 10px;
            background: #6791a4;
            border-radius: 15px;
        }

        .tel-text {
            font-size: 30px;
            line-height: 0.5;

            span {
                background: none;
                color: #6791a4;
                font-size: 15px;
                padding: 0;
            }
        }
    }

    .header-bunner {
        position: relative;
        width: 210px;
        z-index: 100;
    }
}

/* トップページ　2025 */
.top-2025 {
    overflow: hidden;

    section {
        padding: 80px 0;

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

    h2 {
        position: relative;
        font-size: 32px;
        font-weight: 600;
        line-height: 1.7;
        text-align: center;
        margin: 20px 0 50px;

        span {
            color: #6791a4;
        }

        &.top-h2 {
            line-height: 1.4;

            span {
                font-size: 24px;
            }
        }

        img.before {
            position: absolute;
            top: 0;
            left: 0;
        }

        img.after {
            position: absolute;
            bottom: 0;
            right: 0;
        }
    }

    .h3-balloon {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;

        h3 {
            position: relative;
            font-size: 18px;
            line-height: 1.7;
            color: #fff;
            padding: 20px 50px;
            background: #6791a4;
            border-radius: 50px 50px 0 50px;

            &::after {
                content: '';
                position: absolute;
                right: -25px;
                bottom: -5px;
                transform: rotate(12deg);
                display: block;
                border-top: 20px solid transparent;
                border-bottom: 10px solid transparent;
                border-left: 50px solid #6791a4;
                border-right: 0;
            }
        }
    }

    .balloon-btn a {
        color: #fff;
        padding: 10px 30px 10px 50px;
        background: #d5a649;
        border-radius: 50px;
    }

    .next {
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50px;

        &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 45%;
            width: 10px;
            height: 10px;
            border-bottom: 2px solid #fff;
            border-right: 2px solid #fff;
            transform: translate(-50%, -50%) rotate(-45deg);
        }
    }

    .separate-round {
        position: relative;
        height: 120px;
        margin-top: -150px;
    }

    .separate-wave {
        background: #fff;
    }

    /* section-fv */
    .fv {
        padding-top: 0;

        .top-fv {
            position: relative;
            left: 70px;

            h1 {
                position: absolute;
                top: 30%;
                left: 10%;
                font-size: 30px;
                line-height: 1.8;

                span {
                    background: #fff;
                    padding: 0 10px;

                    &.blue {
                        color: #6791a4;
                        padding: 0;
                    }
                }
            }
        }

    }

    .news-item {
        position: relative;
        max-width: 1100px;
        display: flex;
        align-items: center;
        margin: 50px auto;
        border-radius: 10px;
        background: #fff;

        .news-label {
            padding: 20px 70px;
            color: #fff;
            background: #6791a4;
            border-radius: 10px 0 0 10px;
        }

        .news-date {
            padding: 0 50px;
        }

        .news-title {
            width: 60%;

            a {
                line-height: 1.5;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .next {
                position: absolute;
                right: 20px;
                background: #6791a4;
            }
        }




    }

    .fv-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;

        nav.navi-2025.pc {
            position: relative;
            left: 30px;
            background: #fff;
            padding: 40px 30px;
            border-radius: 100px;

            ul {
                padding-left: 30px;
                margin-bottom: 30px;

                li {
                    position: relative;
                    margin-bottom: 30px;

                    &::before {
                        content: '';
                        position: absolute;
                        top: 4px;
                        left: -25px;
                        display: block;
                        width: 12px;
                        height: 12px;
                        background: #6791a4;
                        border-radius: 15px;
                    }

                }
            }

            .navi-sns {
                display: flex;
                justify-content: space-around;
            }
        }
    }

    /* section01 */
    .section01 {
        background-image: url(https://shufukomachi.com/wp-content/themes/original/top-img2025/section01-bg.png);

        .container {
            background: #fff;
            border-radius: 50px;
            padding: 70px;
        }

        .soudan-wrap {
            display: flex;
            gap: 50px;

            .soudan-img {
                flex: 1;
            }

            .soudan-text {
                flex: 1.5;

                p {
                    line-height: 2.5;
                }

                .btn {
                    text-align: right;
                    margin: 30px 0;

                    &.orange a {
                        color: #fff;
                        padding: 10px 30px 10px 50px;
                        background: #d5a649;
                        border-radius: 50px;
                    }
                }
            }
        }
    }

    /* section02 */
    .section02 {
        background-image: url(https://shufukomachi.com/wp-content/themes/original/top-img2025/section02-bg.png);
        padding-bottom: 180px;


        .section02-text {
            position: relative;
            max-width: 600px;
            padding: 0 0 80px;
            margin: 0 auto;

            img.quoat-before {
                position: absolute;
                top: 0;
                left: -30px;
            }

            img.quoat-after {
                position: absolute;
                bottom: 0;
                right: -30px;
            }

            .section2-img {
                position: absolute;
                bottom: 0;
                left: -30%;
            }
        }

        .balloon-wrap {
            display: flex;
            justify-content: flex-end;

            .balloon-item {
                position: relative;
                text-align: center;

                .balloon-text {
                    position: absolute;
                    text-align: center;
                }

                &.no1 {
                    .balloon-text {
                        top: 30%;
                        left: 28%;
                    }
                }

                &.no2 {
                    left: -40px;

                    .balloon-text {
                        color: #fff;
                        top: 10%;
                        left: 25%;
                    }
                }

                &.no3 {
                    left: -40px;

                    .balloon-text {
                        color: #fff;
                        top: 20%;
                        left: 22%;
                    }
                }

                &.no4 {
                    top: 120px;

                    .balloon-text {
                        top: 25%;
                        left: 15%;
                    }
                }

                &.no5 {
                    top: -60px;
                    left: -20px;

                    .balloon-text {
                        top: 23%;
                        left: 18%;
                    }
                }

                &.no6 {
                    top: -80px;
                    left: -10px;

                    .balloon-text {
                        top: 15%;
                        left: 30%;
                    }
                }

                &.no7 {
                    top: -30px;
                    left: -20px;

                    .balloon-text {
                        top: 27%;
                        left: 21%;
                    }
                }

                &.no8 {
                    top: -40px;
                    left: -100px;

                    .balloon-text {
                        top: 15%;
                        left: 23%;
                    }
                }

                &.no9 {
                    top: -70px;
                    left: -80px;

                    .balloon-text {
                        top: 30%;
                        left: 30%;
                    }
                }

                .balloon-btn a {
                    color: #fff;
                    background: #d9964c;
                    padding: 5px 20px;
                    border-radius: 50px;
                }
            }
        }
    }

    .section03 {
        padding: 10px;
        background: #f9f4e8;

        .h3-balloon {
            justify-content: center;
            gap: 30px;
        }

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

        .process-wrap {
            display: flex;
            gap: 50px;

            .process-item {
                flex: 1;
                background: #fff;
                padding: 0 30px 30px;
                border-radius: 50px;

                &.left h3,
                &.left .next {
                    background: #68aabf;
                }

                &.right h3,
                &.right .next {
                    background-color: #d5a649;
                }

                h3 {
                    color: #fff;
                    font-size: 24px;
                    font-weight: 600;
                    padding: 30px 0;
                    text-align: center;
                    margin: 0 -30px;
                    border-radius: 50px 50px 0 0;
                }

                .process-img {
                    position: relative;
                    margin: 50px 0;

                    span {
                        position: absolute;
                        left: 10px;
                        top: -10px;
                    }
                }

                .process-menu-wrap {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 0 20px;

                    .process-menu-item {
                        position: relative;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        height: 75px;
                        border-bottom: 1px dashed #aaa;

                        p {
                            margin: 0;
                        }

                        &:first-child,
                        &:nth-child(2) {
                            border-top: 1px dashed #aaa;

                        }

                    }
                }
            }
        }
    }

    .section04 {
        background: #fff;

        .container {
            max-width: 1500px;
            margin-left: -270px;
            background-image: url(https://shufukomachi.com/wp-content/themes/original/top-img2025/section01-bg.png);
            background-position: center right;
            padding: 50px 50px 0;
            border-radius: 50px;

            .solutions-wrap {
                max-width: 1050px;
                margin: 0 0 0 auto;
                display: flex;
                flex-direction: row-reverse;
                justify-content: space-between;

                .solutions-item {

                    .top-h2 {
                        text-align: left;
                    }

                    .balloon-btn {
                        margin: 50px 0;
                    }

                    &.case {
                        padding: 50px 30px;
                        background: #fff;
                        border-radius: 50px 50px 0 0;

                        p {
                            position: relative;
                            text-align: center;
                            margin: 30px 0;

                            span {
                                color: #6791a4;
                            }

                            img.before {
                                position: absolute;
                                top: 0;
                                left: 0;
                                width: 40px;
                            }

                            img.after {
                                position: absolute;
                                bottom: 0;
                                right: 0;
                                width: 40px;
                            }
                        }
                    }
                }
            }
        }
    }

    .section05 {
        padding-bottom: 150px;
        background: #fff;

        .knowledge-wrap {
            display: flex;
            gap: 70px;
            border-bottom: 1px dashed #aaa;
            margin-bottom: 50px;

            &:last-child {
                border: none;
            }

            .top-h2 {
                text-align: left;
                margin: 0 0 30px;
            }

            p {
                margin-bottom: 30px;
            }

            .knowledge-inner-wrap {
                display: flex;
                gap: 10px;

                .h3-balloon {
                    flex-direction: column;

                    h3 {
                        width: 320px;
                    }
                }

                .balloon-btn {
                    width: 100%;
                    text-align: center;
                    margin: 40px 0;

                    a {
                        display: block;
                        padding: 15px 0;
                    }
                }
            }

        }
    }

    .section06 {
        padding: 0;
        background: #f9f4e8;

        h2.tab {
            display: inline-block;
            font-size: 25px;
            text-align: left;
            padding: 20px 70px;
            margin: 0;
            border-radius: 30px 30px 0 0;

            &.news {
                background: #6791a4;
            }

            &.column {
                padding: 20px 35px;
                background: #68aabf;
            }
        }

        .top-news-wrap,
        .top-knowledge-wrap {
            position: relative;
            background: #fff;
            padding: 40px 70px 20px;
            border-radius: 0 30px 30px 30px;
            margin-bottom: 80px;

            .news-item {
                margin: 0;
                background: none;
                border-bottom: 1px dashed #aaa;
                border-radius: 0;

                &:first-child {
                    border-top: 1px dashed #aaa;
                }

                .news-title {
                    width: 70%;
                    padding: 15px;

                    .next {
                        right: 0;
                    }
                }
            }

            .h3-balloon {
                position: absolute;
                top: -95px;
                right: 70px;
                justify-content: center;
                gap: 30px;

                h3 {
                    bottom: 30px;
                    padding: 10px 30px !important;
                }
            }
        }

        .top-knowledge-wrap {
            margin-bottom: 0;
            .news-item {
                &:nth-child(2) {
                    border-top: 1px dashed #aaa;
                }
            }

        }

        .balloon-btn {
            text-align: center;
            margin: 40px 0 30px;
        }
    }

    .section07 {
        background: #fff;

        .message-img {
            position: absolute;
            right: -145px;
        }

        .container {
            position: relative;
            max-width: 1300px;
            height: 530px;
            margin-left: -270px;
            background: #aaa;
            background-image: url(https://shufukomachi.com/wp-content/themes/original/top-img2025/section07-bg.png);
            background-size: cover;
            background-position: center right;
            padding: 80px 50px 30px;
            border-radius: 50px;

            .container-inner {
                display: flex;
                max-width: 1100px;
                margin: 0 auto;
                justify-content: right;
            }

            .message-text {
                writing-mode: vertical-rl;
                font-family: sans-serif;

                h2 {
                    margin: 0;
                    text-align: start;
                }

                p {
                    margin: 0 40px;
                    line-height: 2;
                }

            }

            .balloon-btn {
                position: absolute;
                right: 55%;
                bottom: 70px;

                a {
                    font-weight: 600;
                    color: #6791a4;
                    background: #fff;
                }
            }
        }
    }

    .section08 {
        background: #fff;
    }
}

/* フッター　2025 */
.footer-2025 {
    background: #6791a4;
    color: #fff;
    padding: 50px 0;

    p {
        margin-bottom: 20px;
    }

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

    a {
        color: #fff;
        text-decoration: none;
    }

    .footer-container {
        max-width: 1150px;
        margin: 0 auto;
        display: flex;
        gap: 50px;
    }

    .footer-left {

        .footer-logo {
            width: 300px;
            margin-bottom: 30px;
        }

        .footer-tel {
            width: 380px;
            color: #6791a4;
            background: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 30px;
            border-radius: 50px;

            .icon {
                padding-top: 5px;
            }

            p {
                font-size: 30px;
                line-height: 1;
                margin: 0;

                span {
                    font-size: 15px;
                }
            }
        }
    }

    .footer-navi {
        display: flex;
        gap: 50px;
        padding: 50px 0 20px;

        ul {
            list-style: disc;
            padding-left: 40px;
        }

        li {
            margin-bottom: 25px;
        }
    }

    .footer-sns {
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

    .copyright {
        text-align: center;
        margin: 40px 0;
    }

}

/*Topに戻る*/
div#page_top {
    position: fixed;
    bottom: 50px;
    right: 50px;

    a {
        padding: 18px 30px;
        background: #fff;
        border-radius: 50px;
        box-shadow: 2px 2px 5px #555;
    }

    ::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 20px;
        transform: rotate(45deg);
        display: block;
        width: 20px;
        height: 20px;
        border-top: 3px solid #6791a4;
        border-left: 3px solid #6791a4;
    }
}

@media(max-width:600px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    /* フッター */
    .footer-2025 {
        .footer-container {
            flex-direction: column;
            padding: 0 5%;

            .footer-left {
                .footer-logo {
                    width: 300px;
                    margin-bottom: 30px;
                    margin: 0px auto 35px;
                }

                .footer-tel {
                    width: 100% !important;

                    span {
                        font-size: 13px !important;
                    }

                }
            }

            .footer-navi {
                flex-wrap: wrap;
                gap: 20px;
                padding-top: 0;
            }

            .footer-sns {
                justify-content: center;
            }
        }
    }

    div#page_top {
        position: fixed;
        bottom: 40px;
        right: 10px;
        z-index: 100;
    }
}