@charset "utf-8";

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
xmp {
    margin: 0;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

figure {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



body {
    min-height: 100dvh;
}

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-size: 100%
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button {
    cursor: pointer;
}

/* reset end */


:root {
    --body-text: rgb(240, 248, 255);
    --body-bg: rgb(50, 50, 50);
    --header-bg: rgb(41, 41, 41);
    --footer-bg: rgb(41, 41, 41);
    --logo-blue: rgb(0, 162, 234);
}


body {
    font-family: 'Noto Sans JP', 'Yu Gothic UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    background:
        linear-gradient(180deg, rgba(0, 162, 234, .08), transparent 360px),
        rgb(50, 50, 50);
    color: rgb(240, 248, 255);
    line-height: 1.75;
    letter-spacing: 0;

    header {
        z-index: 100;
        background-color: rgba(41, 41, 41, .94);
        backdrop-filter: blur(12px);
        position: fixed;
        display: flex;
        width: 100%;
        height: 80px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, .22);

        @media(width<=768px) {
            height: 52px;
            padding: 0 8px;
        }

        .container {
            width: 1250px;
            height: 100%;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            column-gap: 32px;

            .logo-box {
                background-color: rgb(41, 41, 41);
                display: grid;
                grid-template-columns: 72px 264px;
                align-items: center;

                @media(width<=768px) {
                    grid-template-columns: 48px 196px;
                }

                .logo-uplus {
                    grid-row: span 2;
                }

                .logo-title {
                    position: relative;
                    top: -2px;
                    left: 2px;
                }

                .logo-text {
                    position: relative;
                    top: -2px;
                }
            }

            .layout {
                display: flex;
                justify-content: center;
                align-items: center;
                column-gap: 32px;

                .ham {
                    display: none;
                }

                .bars {
                    display: none;
                    position: relative;

                    @media(width<=768px) {
                        z-index: 1000;
                        cursor: pointer;
                        display: flex;
                        background-color: transparent;
                        width: 36px;
                        height: 36px;
                        position: relative;
                        justify-content: center;

                        span {
                            transition: .3s ease;
                            width: 32px;
                            height: 3px;
                            background-color: aliceblue;
                            position: absolute;
                            border-radius: 4px;

                            &:nth-child(1) {
                                top: 4px;
                            }

                            &:nth-child(2) {
                                top: 16.5px;
                            }

                            &:nth-child(3) {
                                bottom: 4px;
                            }
                        }
                    }
                }

                .dark {
                    display: none;

                    @media(width<=768px) {
                        z-index: 100;
                    }
                }

                nav {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;

                    @media(width<=768px) {
                        z-index: 500;
                        transition: .3s ease;
                        position: absolute;
                        top: 0;
                        right: -100%;
                        height: 100dvh;
                        width: 50%;
                        background-color: rgb(41, 41, 41);
                        justify-content: flex-start;
                        align-items: stretch;
                        padding-top: 156px;
                        overflow-y: auto;
                    }

                    ul {
                        font-weight: bold;
                        display: flex;
                        column-gap: 24px;
                        flex-wrap: wrap;

                        @media(width<=768px) {
                            flex-direction: column;
                            align-items: center;
                            row-gap: 24px;
                            width: 100%;

                            @media(height>=800px) {
                                row-gap: 32px;
                            }

                            @media(height>=900px) {
                                row-gap: 40px;
                            }
                        }

                        li {
                            transition: .3s ease;

                            &:hover {
                                color: rgb(0, 162, 234);
                            }
                        }
                    }
                }

                .btn-box {
                    background-color: transparent;
                    display: flex;
                    flex-shrink: 0;
                    position: relative;
                    transition: .3s ease;

                    &:hover {
                        color: rgb(41, 41, 41);
                    }

                    @media(width<=768px) {
                        z-index: 600;
                        position: absolute;
                        transition: .3s ease;
                        top: 72px;
                        right: -100%;
                        width: 50%;
                    }


                    .btn {
                        width: 128px;
                        margin: 0 auto;
                        font-weight: bold;
                        padding: 16px;
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        background-image: linear-gradient(90deg, rgba(61, 200, 194, 1), rgba(61, 156, 194, 1) 50%, rgba(197, 125, 233, 1));
                        border-radius: 4px;
                        -webkit-text-stroke: 4px rgb(41, 41, 41);
                        paint-order: stroke;
                        position: relative;

                        &:hover {
                            -webkit-text-stroke: 4px rgb(228, 228, 228);
                        }

                        &::before {
                            content: "";
                            position: absolute;
                            right: 12px;
                            width: 24px;
                            height: 24px;
                            background-color: rgb(41, 41, 41);
                            border-radius: 99px;
                        }

                        &::after {
                            content: "＞";
                            position: absolute;
                            font-size: 14px;
                            right: 16px;
                            color: rgb(240, 248, 255);
                            -webkit-text-stroke: 2px rgb(41, 41, 41);
                        }

                        @media(width<=768px) {
                            justify-content: flex-start;
                            width: 68%;
                        }
                    }
                }

                @media(width<=768px) {

                    .ham:checked~nav {
                        right: 0;
                    }

                    .ham:checked~.btn-box {
                        right: 0;
                    }

                    .ham:checked+.bars span {
                        &:nth-child(1) {
                            top: 16.5px;
                            transform: rotate(45deg);
                        }

                        &:nth-child(2) {
                            opacity: 0;
                        }

                        &:nth-child(3) {
                            bottom: 16.5px;
                            transform: rotate(-45deg);
                        }
                    }

                    .ham:checked~.dark {
                        display: block;
                        width: 100%;
                        height: 100dvh;
                        background-color: black;
                        opacity: .5;
                        position: absolute;
                        top: 0;
                        right: 0;
                    }
                }
            }
        }
    }

    footer {
        background-color: rgb(41, 41, 41);

        .wrapper {
            max-width: 1250px;
            height: 100%;
            margin: auto;
            padding: 32px 0;
            display: flex;
            row-gap: 32px;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            .logo-box {
                background-color: rgb(41, 41, 41);
                display: grid;
                grid-template-columns: 80px 293px;

                align-items: center;

                @media(width<=768px) {
                    grid-template-columns: 72px 264px;
                }

                .logo-uplus {
                    grid-row: span 2;
                }

                .logo-title {
                    position: relative;
                    top: -2px;
                    left: 2px;
                }

                .logo-text {
                    position: relative;
                    top: -2px;
                }
            }

            nav {
                width: 100%;

                .footer-btn-box {
                    display: flex;
                    justify-content: center;
                    margin-bottom: 24px;
                }

                .trial-btn {
                    width: fit-content;
                    min-width: 220px;
                    padding: 14px 48px 14px 28px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 4px;
                    background-image: linear-gradient(90deg, rgba(61, 200, 194, 1), rgba(61, 156, 194, 1) 50%, rgba(197, 125, 233, 1));
                    color: rgb(255, 255, 255);
                    font-size: 16px;
                    font-weight: bold;
                    line-height: 1.4;
                    position: relative;
                    box-shadow: 0 14px 30px rgba(0, 162, 234, .28);

                    &::after {
                        content: "→";
                        width: 24px;
                        height: 24px;
                        border-radius: 99px;
                        background-color: rgba(41, 41, 41, .88);
                        display: grid;
                        place-items: center;
                        position: absolute;
                        right: 14px;
                        top: 50%;
                        transform: translateY(-50%);
                        font-size: 13px;
                    }

                    @media(width<=600px) {
                        width: 90%;
                        min-width: 0;
                    }
                }

                ul {
                    display: flex;
                    justify-content: space-around;
                    align-items: center;

                    @media(width<=1000px) {
                        width: 80%;
                        margin: auto;
                        display: grid;
                        grid-template-columns: 1fr 1fr 1fr;
                        place-items: center;
                        row-gap: 24px;
                    }

                    @media(width<=600px) {
                        grid-template-columns: 1fr 1fr;
                        width: 90%;
                    }

                    li {
                        position: relative;

                        a {
                            width: 144px;
                            border: solid 2px rgb(0, 162, 234);
                            border-radius: 4px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            padding: 16px;

                            @media(width<=1000px) {
                                width: 152px;
                            }

                            span {
                                position: relative;
                                right: 10px;
                            }

                            &::after {
                                content: "＞";
                                position: absolute;
                                right: 10px;
                                font-weight: bold;
                            }
                        }
                    }
                }
            }
        }
    }
}
