@charset "UTF-8";

.intro {
    margin-top: 1.8rem;

    @media screen and (max-width: 767px) {
        margin-top: 0;
    }

    .intro-title {
        font-weight: 700;
        font-size: 5rem;
        line-height: 1.5;
        letter-spacing: 0.08em;
        padding-top: 0.8rem;

        @media screen and (max-width: 767px) {
            font-size: 26px;
            padding-top: 5px;
        }
    }

    .intro-text {
        margin-top: 2.6rem;
        font-size: 1.8rem;
        line-height: 2.11;

        @media screen and (max-width: 767px) {
            margin-top: 20px;
            font-size: 14px;
        }
    }
}

.section-title {
    margin: 10.2rem auto 6rem;
    width: fit-content;
    font-family: 'Urbanist';
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 0.1em;
    position: relative;
    text-transform: uppercase;

    &::after {
        content: "...";
        font-family: "Noto Sans JP";
        font-weight: 900;
        font-size: 3.7rem;
        letter-spacing: 0.2em;
        color: var(--theme-gray);
        position: absolute;
        bottom: -1.8rem;
        left: 50%;
        transform: translateX(-50%);
    }

    @media screen and (max-width: 767px) {
        margin: 50px auto 30px;
        font-size: 26px;

        &::after {
            font-size: 20px;
            bottom: -12px;
        }
    }
}

.total {
    margin-top: 17.3rem;

    @media screen and (max-width: 767px) {
        margin-top: 60px;
    }

    .huge-title {
        text-align: center;
        font-family: 'Urbanist';
        font-weight: 700;
        font-size: 5.6rem;

        @media screen and (max-width: 767px) {
            font-size: 26px;
        }
    }

    .brief {
        text-align: center;
        font-size: 1.8rem;

        @media screen and (max-width: 767px) {
            font-size: 16px;
        }
    }

    .total-img {
        margin-top: 6rem;

        @media screen and (max-width: 767px) {
            margin-top: 30px;
            overflow: auto;
        }

        .image {
            @media screen and (max-width: 767px) {
                width: 250%;
                max-width: 250%;
            }
        }
    }

    .hint {
        font-size: 12px;
        padding-top: 5px;
        text-align: center;
    }
}

.overview {
    margin-top: 13rem;
    margin-bottom: 13.8rem;

    @media screen and (max-width: 767px) {
        margin-top: 65px;
        margin-bottom: 65px;
    }

    .items {
        padding-top: 2rem;

        .item {
            margin-bottom: 6rem;

            @media screen and (max-width: 767px) {
                margin-bottom: 40px;
            }

            .table-title {
                width: fit-content;
                height: 11.2rem;
                border-radius: 2rem 2rem 0 0;
                padding: 2.5rem 3.5rem;
                background-color: #000;
                position: relative;

                &::after {
                    content: "";
                    width: 100%;
                    height: calc(100% + 1rem);
                    border-radius: 2rem 2rem 0 0;
                    position: absolute;
                    z-index: -1;
                    left: 1rem;
                    bottom: 0;
                }

                @media screen and (max-width: 767px) {
                    height: 50px;
                    border-radius: 10px 10px 0 0;
                    padding: 8px 5px 5px;

                    &::after {
                        height: calc(100% + 5px);
                        border-radius: 10px 10px 0 0;
                        left: 5px;
                    }
                }

                .en {
                    font-family: 'Urbanist';
                    font-weight: 700;
                    font-size: 1.6rem;
                    line-height: 1.2;
                    color: #FFFFFF;

                    @media screen and (max-width: 767px) {
                        font-size: 12px;
                    }
                }

                .ja {
                    font-weight: 800;
                    font-size: 3rem;
                    line-height: 1.5;
                    letter-spacing: 0.08em;
                    color: #FFFFFF;

                    @media screen and (max-width: 767px) {
                        font-size: 14px;
                    }
                }
            }

            .table {
                width: 100%;
                border-collapse: collapse;

                @media screen and (max-width: 767px) {
                    border: 1px solid #000;
                }

                & tr {
                    @media screen and (max-width: 767px) {
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                    }

                    & td {
                        width: 25%;
                        border: 2px solid #000;
                        height: 12.3rem;
                        font-weight: 700;
                        font-size: 1.8rem;
                        line-height: 2.6rem;
                        text-align: center;
                        letter-spacing: 0.08em;

                        @media screen and (max-width: 767px) {
                            border: 1px solid #000;
                            width: 100%;
                            height: 60px;
                            font-size: 10px;
                            line-height: 1.5;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                    }
                }
            }

            .more {
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 3.4rem auto 0;
                width: 26.2rem;
                height: 5rem;
                border-radius: 2.5rem;
                font-family: 'Urbanist';
                font-weight: 900;
                font-size: 1.4rem;
                color: #FFFFFF;

                @media screen and (max-width: 767px) {
                    margin: 20px auto 0;
                    width: 160px;
                    height: 40px;
                    border-radius: 20px;
                    font-size: 12px;
                }
            }
        }

        .item:nth-child(1) {
            .table-title {
                &::after {
                    background-color: var(--theme-purple);
                }
            }

            .more {
                background-color: var(--theme-purple);
            }
        }

        .item:nth-child(2) {
            .table-title {
                &::after {
                    background-color: var(--theme-blue);
                }
            }

            .more {
                background-color: var(--theme-blue);
            }
        }

        .item:nth-child(3) {
            .table-title {
                &::after {
                    background-color: var(--theme-yellow);
                }
            }

            .more {
                background-color: var(--theme-yellow);
            }
        }

        .item:nth-child(4) {
            .table-title {
                &::after {
                    background-color: var(--theme-green);
                }
            }

            .more {
                background-color: var(--theme-green);
            }
        }

        .item:nth-child(5),
        .item:nth-child(6) {
            .table-title {
                &::after {
                    background-color: var(--theme-gray);
                }
            }

            .more {
                background-color: var(--theme-gray);
            }
        }
    }
}