.container-new-top {
    * {
        box-sizing: border-box;
    }
    #swiper-test {
        img {
            aspect-ratio: 473/259;
            object-fit: cover;
            object-position: center;
        }
        &::before,
        &::after {
            position: absolute;
            display: block;
            width: 5%;
            height: 100%;
            content: "";
            z-index: 5;
            top: 0;
            opacity: 0.3;
        }
        &::before {
            left: 0;
            background: linear-gradient(90deg, #000000, transparent);
        }
        &::after {
            right: 0;
            background: linear-gradient(-90deg, #000000, transparent);
        }
    }
    .top-flex {
        display: flex;
        align-items: flex-end;
        margin-top: 6em;
        margin-bottom: 120px;
        /* max-width: 980px; */
        @media screen and (max-width: 1024px) {
            margin-bottom: 90px;
        }
        @media screen and (max-width: 768px) {
            flex-direction: column;
        }
        .left {
            position: relative;
            padding: 3em 4em 3em 2em;
            width: 720px;
            margin-bottom: 50px;
            background-color: #f5f8fa;
            @media screen and (max-width: 1024px) {
                margin-bottom: 90px;
                padding: 2em 3em 3em 2em;
            }
            @media screen and (max-width: 767px) {
                margin-bottom: -1em;
                padding: 2em 1em 3em 1em;
                width: 100%;
            }
            strong {
                position: absolute;
                display: inline-block;
                font-weight: bold;
                font-size: 2em;
                top: 0;
                translate: 0 -60%;
                @media screen and (max-width: 1024px) {
                    font-size: 1.7em;
                }
                @media screen and (max-width: 767px) {
                    font-size: 1.25em;
                }
            }
            .lead {
                font-weight: normal;
            }
        }
        .right {
            width: 350px;
            flex-grow: 1;
            max-height: 300px;
            translate: -2em 0;
            @media screen and (max-width: 767px) {
                width: 100%;
            }
            img {
                width: calc(100% + 2em);
                max-width: calc(100% + 2em);
                height: 100%;
                max-height: inherit;
                object-fit: cover;
                object-position: center;
                @media screen and (max-width: 767px) {
                    width: calc(100% + 4em);
                    max-width: calc(100% + 4em);
                }
            }
        }
        .more-btn {
            margin-top: 3em;
            @media screen and (max-width: 767px) {
                margin-top: 2em;
            }
        }
    }
    .service-wrap {
        border-top: #169150 5px solid;
        /* border-bottom: #169150 5px solid; */
        margin-bottom: 120px;
        @media screen and (max-width: 1024px) {
            margin-bottom: 90px;
        }
        @media screen and (max-width: 767px) {
            margin-bottom: 60px;
            margin-inline: auto;
        }
    }
    .image-loop {
        filter: grayscale(1);
        overflow: hidden;
        /* スライドの動き等速 */
        .swiper-wrapper {
            transition-timing-function: linear !important;
        }
        /* 画像のサイズ調整 */
        .swiper-slide {
            height: auto;
            width: 100%;
        }
    }
    .top-service {
        position: relative;
        z-index: 2;
        margin-top: -2%;
        .text-box {
            background-color: #fff;
            padding: 3em;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.5em;
            @media screen and (max-width: 767px) {
                padding: 1em;
                gap: 1.5em;
                text-align: left;
            }
            h2 {
                font-size: 1.5em;
                font-weight: bold;
                @media screen and (max-width: 767px) {
                    font-size: 1.1em;
                }
            }
            p {
                font-weight: normal;
            }
        }
    }
    .top-service2 {
        position: relative;
        z-index: 2;
        .button-imgs {
            display: flex;
            gap: 30px;
            @media screen and (max-width: 1024px) {
                flex-wrap: wrap;
                justify-content: center;
                margin-top: 20px;
            }
            .service-btn {
                position: relative;
                width: calc((100% - 60px) / 3);
                aspect-ratio: 406/270;
                overflow: hidden;
                @media screen and (max-width: 767px) {
                    width: calc((100% - 30px) / 2);
                }
                @media screen and (max-width: 560px) {
                    width: 100%;
                }
                &::before {
                    position: absolute;
                    display: block;
                    width: 100%;
                    height: 100%;
                    content: "";
                    background-color: #000000;
                    z-index: 2;
                    opacity: 0.4;
                    transition: 0.3s;
                }
                img {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                }
                .strong {
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    margin: auto;
                    color: #fff;
                    font-size: 28px;
                    font-weight: bold;
                    width: fit-content;
                    height: fit-content;
                    z-index: 3;
                    @media screen and (max-width: 1024px) {
                        font-size: 24px;
                    }
                }
                &:hover {
                    &::before {
                        opacity: 0.6;
                    }
                    img {
                        transition: 0.3s;
                        scale: 1.2;
                    }
                }
            }
        }
    }
    .more-btn {
        display: inline-block;
        padding: 0.8em 4em;
        /* background-color: #169150; */
        /* color: #fff; */
    }
    .top-news-wrapper {
        background-color: #f5f8fa;
        padding-block: 60px;
        margin-bottom: 120px;
        @media screen and (max-width: 1024px) {
            margin-bottom: 90px;
        }
        @media screen and (max-width: 767px) {
            margin-bottom: 60px;
        }
        h2 {
            font-weight: bold;
            font-size: 32px;
            margin-bottom: 1em;
            .jp {
                font-size: 20px;
            }
        }
        .news-inner {
            display: flex;
            gap: 30px;
            @media screen and (max-width: 1024px) {
                flex-direction: column;
            }
            .cats-wrap {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 1em;
                width: 300px;
                font-weight: bold;
                @media screen and (max-width: 1024px) {
                    flex-direction: row;
                    flex-wrap: wrap;
                    width: 100%;
                }
                @media screen and (max-width: 767px) {
                    gap: 10px;
                    font-size: 0.9em;
                }
                .tab {
                    background-color: #fff;
                    padding: 0.5em 1.2em 0.7em;
                    border-radius: 150px;
                    cursor: pointer;
                    border: 1px solid #169150;
                    &.current {
                        background-color: #169150;
                        color: #fff;
                    }
                }
            }
            .news-lists {
                flex-grow: 1;
                overflow: hidden;
                .list-wrap {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    display: none;
                    translate: 15px 0;
                    transition: 0.5s;
                    .more-btn {
                        width: fit-content;
                        margin-inline: auto;
                    }
                    /* li {
                        a {
                            display: flex;
                            align-items: center;
                            gap: 15px;
                            background-color: #fff;
                            padding: 15px;
                            border-radius: 15px;

                            img {
                                width: 160px;
                                aspect-ratio: 428/315;
                                overflow: hidden;
                            }

                            .text-wrap {
                                display: flex;
                                flex-direction: column;
                                gap: 15px;

                                .dc {
                                    display: flex;
                                    gap: 10px;
                                    font-size: 0.9em;
                                }
                            }
                        }
                    } */
                    .p-top-info__item {
                        display: grid;
                        grid-template-columns: 160px 1fr;
                        grid-template-rows: repeat(2, 1fr);
                        grid-column-gap: 20px;
                        grid-row-gap: 0px;
                        background-color: #fff;
                        padding: 15px;
                        border-radius: 15px;
                        width: 100%;
                        @media screen and (max-width: 767px) {
                            grid-template-columns: repeat(2, 1fr);
                            grid-template-rows: 1fr 3em 3em;
                        }
                        .p-top-info__img {
                            width: 160px;
                            aspect-ratio: 428/315;
                            padding-bottom: 0;
                            margin-bottom: 0;
                            grid-area: 1 / 1 / 3 / 2;
                            @media screen and (max-width: 767px) {
                                grid-area: 1 / 1 / 2 / 3;
                                width: 100%;
                            }
                        }
                        .p-top-info__cat {
                            position: relative;
                            grid-area: 1 / 2 / 2 / 3;
                            top: 2em;
                            left: 0;
                            width: fit-content;
                            height: fit-content;
                            @media screen and (max-width: 767px) {
                                grid-area: 2 / 1 / 3 / 3;
                            }
                        }
                        .p-top-info__title {
                            margin-bottom: 0;
                            font-size: 16px;
                            grid-area: 2 / 2 / 3 / 3;
                            @media screen and (max-width: 767px) {
                                grid-area: 3 / 1 / 4 / 3;
                            }
                        }
                    }
                }
                .list-wrap.active {
                    display: flex;
                    animation: panel-show .5s ease-in-out forwards;
                }
            }
        }
    }
}

@keyframes panel-show {
    from {
        opacity: 0;
        translate: 15px 0;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.container-service-top {
    .p-activity__title {
        margin-block: 120px;
        margin-bottom: 30px;
        @media screen and (max-width: 1024px) {
            margin-block: 90px;
            margin-bottom: 30px;
        }
        @media screen and (max-width: 767px) {
            margin-block: 60px;
            margin-bottom: 30px;
        }
    }
    .service-top {
        .lead {
            font-size: 32px;
            text-align: center;
            font-weight: bold;
            @media screen and (max-width: 1024px) {
                text-align: left;
                font-size: 28px;
            }
            @media screen and (max-width: 767px) {
                font-size: 24px;
            }
        }
        .text {
            text-align: center;
            margin-top: 2em;
            @media screen and (max-width: 1024px) {
                text-align: left;
            }
        }
    }
    .service-strengths {
        .p-activity__title {
            margin-bottom: 0px !important;
        }
        .p-history__img-body {
            img {
                aspect-ratio: 400/250;
                object-fit: cover;
                width: 100%;
            }
        }
        .p-history__img-text {
            text-align: left;
            flex-direction: column;
            justify-content: flex-start;
            background-color: #f5f8fa;
            color: #000;
            /* padding-inline: 0; */
            gap: 0.5em;
            >span {
                font-weight: bold;
                font-size: 1.1em;
                margin-bottom: 0.3em;
            }
        }
        .more-btn {
            display: block;
            padding: 0.8em 4em;
            /* background-color: #169150; */
            /* color: #fff; */
            margin-inline: auto;
            margin-top: auto;
            width: fit-content;
        }
    }
    .service-voice {
        background-color: #f5f8fa;
        padding-block: 60px;
        .c-title__main {
            background-color: #f5f8fa;
            &::before {
                background-color: #f5f8fa;
            }
        }
        .p-activity__title {
            margin-top: 0;
        }
        .p-history__img-text {
            color: #000000;
            background-color: transparent;
            font-weight: bold;
            @media screen and (max-width: 767px) {
                text-align: left;
            }
        }
        .more-btn {
            display: block;
            padding: 0.8em 4em;
            /* background-color: #169150; */
            /* color: #fff; */
            margin-inline: auto;
            margin-top: 30px;
            width: fit-content;
        }
    }
    .service-item {
        margin-block: 90px;
        .heading {
            font-size: 32px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 40px;
            @media screen and (max-width: 1024px) {
                text-align: left;
            }
            @media screen and (max-width: 767px) {
                font-size: 24px;
                margin-bottom: 15px;
            }
        }
        .text {
            text-align: center;
            margin-bottom: 40px;
            @media screen and (max-width: 1024px) {
                text-align: left;
            }
        }
        .more-btn {
            display: block;
            padding: 0.8em 4em;
            /* background-color: #169150; */
            /* color: #fff; */
            margin-inline: auto;
            margin-top: 30px;
            width: fit-content;
        }
        .image-loop {
            overflow: hidden;
            margin-top: 60px;
            .swiper-wrapper {
                align-items: baseline;
                transition-timing-function: linear;
                height: 300px !important;
            }
            .swiper-slide {
                width: auto !important;
                height: 100%;
            }
        }
    }
    .service-maker {
        margin-block: 90px;
        .p-activity__flex {
            align-items: center;
            @media screen and (max-width: 767px) {
                flex-direction: column;
            }
        }
        .p-activity__flex-img {
            @media screen and (max-width: 767px) {
                width: 100%;
            }
        }
        .heading {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: -10px;
            @media screen and (max-width: 767px) {
                font-size: 24px;
            }
        }
        ul {
            list-style: disc;
            padding-left: 2em;
        }
        .more-btn {
            display: inline-block;
            padding: 0.8em 4em;
            /* background-color: #169150; */
            /* color: #fff; */
            margin-top: 30px;
        }
    }
    .service-tokyobase {
        background-color: #f5f8fa;
        padding-block: 90px;
        .c-title__main {
            background-color: #f5f8fa;
            &::before {
                background-color: #f5f8fa;
            }
        }
        .p-activity__title {
            margin-top: 0;
        }
        .heading {
            font-weight: bold;
            font-size: 1.2em;
            span {
                font-size: 2em;
            }
        }
        .p-activity__txt {
            .box {
                display: block;
                padding: 1em;
                border: 1px solid #000000;
            }
            a {
                font-weight: bold;
                color: #169150;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
        .more-btn {
            display: inline-block;
            padding: 0.8em 4em;
            /* background-color: #169150; */
            /* color: #fff; */
            margin-top: 30px;
        }
        .p-activity__flex-img {
            display: flex;
            flex-direction: column;
            gap: 2em;
            width: 35%;
            max-width: 600px;
            @media screen and (max-width: 767px) {
                width: 100%;
                max-width: 100%;
            }
            iframe {
                width: 100%;
                aspect-ratio: 8/5;
            }
        }
    }
    .service-faq {
        .accordion {
            /* max-width: 700px; */
            margin: 0 auto;
        }
        .accordion-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-bottom: 12px;
            background: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        .accordion-button {
            width: 100%;
            background: #fff;
            border: none;
            outline: none;
            padding: 16px;
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .accordion-button:hover {
            background: #f0f0f0;
        }
        .accordion-icon {
            font-size: 18px;
            transition: transform 0.3s;
        }
        .accordion-content {
            display: none;
            padding: 16px;
            border-top: 1px solid #ddd;
            font-size: 15px;
            color: #555;
            line-height: 1.6;
        }
        .accordion-item.active .accordion-content {
            display: block;
        }
        .accordion-item.active .accordion-button {
            background-color: #f0f0f0;
        }
        .accordion-item.active .accordion-icon {
            transform: rotate(180deg);
        }
    }
}

.cta-box {
    margin-top: 120px;
    margin-bottom: 120px;
    @media screen and (max-width: 1024px) {
        margin-top: 90px;
        margin-bottom: 90px;
    }
    @media screen and (max-width: 767px) {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .inner {
        h2 {
            font-size: 1.7em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 1.5em;
            @media screen and (max-width: 1024px) {
                font-size: 1.5em;
            }
            @media screen and (max-width: 767px) {
                font-size: 1.3em;
            }
        }
        .btn-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 1.5em;
            .more-btn {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 450px;
                height: 80px;
                padding: 1em;
                border-radius: 400px;
                @media screen and (max-width: 1024px) {
                    width: 400px;
                    height: 75px;
                }
                @media screen and (max-width: 767px) {
                    width: 300px;
                    height: 70px;
                }
                img {
                    height: 90%;
                }
            }
            .more-btn {
                /* display: inline-block; */
                /* padding: 0.8em 4em; */
                background-color: #169150;
                color: #fff;
            }
        }
    }
}