html, body {
    margin: 0;
    padding: 0;
    height: 100%;

    font-size: 16px;
}

body {
    width: 100%;

    box-sizing: border-box;
    background-color: #121518;
}

.ja {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normall;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.05em;

    color: #121518;
}

.en {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normall;
    font-feature-settings: "palt" 1;

    color: #121518;
    
}

/* --------------------------header-------------------------- */

header {
    width: 80vw;
    margin: 0 10vw;

    position: absolute;
    top: 0;
    box-sizing: border-box;
}

.header_contents {
    padding-top: 1rem;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;
}

.logo {
    width: 126px;
}

.global_nav {
    width: 100%;
    max-width: 660px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global_nav_button {
    font-size: 14px;
    text-decoration: none;
    color: white;
    
    cursor: pointer;
}

.contact_button {
    height: 48px;
    padding: 0 1.5rem;

    display: flex;
    align-items: center;
    
    font-size: 1rem;
    text-align: center;
    
    border-radius: 8px;
    color: #121518;
    background-color: white;
}

/* --------------------------hamburger menu-------------------------- */
.hamburger-menu {
    display: none;
}

/* --------------------------footer-------------------------- */
footer {
    width: 100%;
    display: block;

    padding-top: 5rem;
    padding-bottom: 5rem;

    box-sizing: border-box;

    background-color: #121518;
}

footer .section_content{
    width: 100%;

    display: flex;
    flex-direction: column;
}

.site_nav_contents {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 2.5rem;

    border-bottom: 1px #515B65 solid;
}

.company_info {
    width: 260px;

    margin-right: 3rem;
}

.company_info .logo {
    width: 195px;
    height: auto;

    margin-bottom: 1.5rem;
}

.company_name {
    margin-bottom: 0.5rem;

    font-size: 14px;
    font-weight: 300;
    
    color: white;
}

.company_address {
    font-size: 12px;
    font-weight: 300;
    
    color: white;
    
}

.footer_global_nav {
    width: 100%;
    max-width: 474px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.regulations {
    width: 100%;
    margin-top: 40px;

    display: flex;
    justify-content: space-between;
}

.regulation_links {

    display: flex;
}

.regulation_links a {
    font-size: 12px;
    font-weight: 300;

    color: white;
    text-decoration: none;
}

.privacy,.rules {
    margin-right: 1rem;
}

.rights {
    font-size: 11px;
    font-weight: 300;

    color: white;
}


/* hamburger menu */
@media screen and (max-width: 960px) {
    header {
        width: 100%;
        margin: 0;
    }

    .header_contents {
        padding: 20px 40px;
    }

    .global_nav {
        display: none;
    }

    .header_contents .logo{
        z-index: 6;
    }

    .hamburger-menu {
        display: block;
    }

    #menu_btn_check {
        display: none;
        z-index: 10;
    }

    .menu-btn {
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        z-index: 7;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 28px;
        background-color: #ffffff;
        position: absolute;
        z-index: 7;
    }
    .menu-btn span:before {
        bottom: 9px;
    }
    .menu-btn span:after {
        top: 9px;
    }

    #menu_btn_check+.menu-btn {
        display: flex;
    }

    #menu_btn_check:checked+.menu-btn > .menu_icon {
        background-color: rgba(255, 255, 255, 0);
    }
    #menu_btn_check:checked+.menu-btn > .menu_icon::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu_btn_check:checked+.menu-btn > .menu_icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu_btn_check+.menu-btn+.global_nav_hamburger {
        display: none;
    }

    #menu_btn_check:checked+.menu-btn+.global_nav_hamburger {
        width: 100vw;
        height: 100svh;
        padding: 14svh 0 0 40px;

        position: absolute;
        top: 0;
        left: 0;

        display: flex;
        flex-direction: column;

        background-color: #121518;
        z-index: 5;
    }

    .global_nav_hamburger .global_nav_button {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
}

@media screen and (max-width: 1189px) {
    .site_nav_contents {
        width: 100%;
        flex-direction: column;
        padding-bottom: 0.5rem;

        align-items: flex-start;
    }

    .company_info {
        margin-bottom: 40px;
    }

    .company_info .logo {
        width: 148px;
    }

    .footer_global_nav {
        width: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer_global_nav .global_nav_button {
        text-align: left;

        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .regulations {
        margin: 0;

        flex-direction: column;
    }

    .regulation_links {
        padding-top: 1.5rem;
        margin-bottom: 40px;
        
        flex-direction: column;
    }

    .regulation_links .ja{
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 585px) {
    #menu_btn_check:checked+.menu-btn+.global_nav_hamburger {
        padding-left: 24px;
    }

    footer {
        padding-top: 64px;
    }
    
    .header_contents {
        padding: 20px 24px;
    }

    .global_nav {
        display: none;  
    }
}
