@charset "UTF-8";

html {
    background-color: #eee;
    font-size: 62.5%;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    scroll-behavior: smooth;
}


@media screen and (min-width:600px) {
    html {
        font-size: 1rem;
    }
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 4.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    font-size: 3.2rem;
    font-weight: bold;
}

a:hover {
    opacity: .7;
}

/* header */
.header {
    padding: 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    height: 32px;
    margin: 12px;
}

.menu_PC {
    display: none;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #555;
    transform: translateX(100vw);
    transition: all 0.5s ease-in-out;
}

.menu_item {
    width: 100%;
    height: auto;
    padding: 1em 1em;
    font-size: 1.6rem;
    text-align: center;
    color: #eee;
    box-sizing: border-box;
}

.menu.is-active {
    transform: translateX(0);
}

.menu-btn {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

.menu-btn span {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

.menu-btn span:nth-of-type(1) {
    top: 16px;
}

.menu-btn span:nth-of-type(2) {
    top: 24px;
}

.menu-btn span:nth-of-type(3) {
    bottom: 24px;
}

.menu-btn.is-active span:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
    background-color: #eee;
}

.menu-btn.is-active span:nth-of-type(2) {
    opacity: 0;
}

.menu-btn.is-active span:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
    background-color: #eee;
}

@media screen and (min-width:600px) {
    .header {
        padding: 0 0 0 24px;
    }

    .header img {
        height: 32px;
        margin: 12px 0;
    }

    .menu-mobile {
        display: none;
    }

    .menu_PC {
        display: flex;
    }

    .gnav li {
        padding: 0 40px;
    }
}


/* footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_upper {
    width: 80%;
}

.lnav {
    display: flex;
    justify-content: center;
    margin: 16px;
}

.lnav li {
    padding: 24px;
}

.contact {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
}

.contact p {
    color: #eee;
    padding: 20px;
}

.mail {
    border-radius: 50px;
    width: 60%;
    background-color: #eee;
}

.mail a {
    padding: 10px;
    font-size: 1.3rem;
    text-align: center;
    display: block;
}

.copyright {
    margin: 16px;
}

@media screen and (min-width:600px) {
    .footer {
        padding: 40px;
    }

    .footer_upper {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


    .contact {
        width: 400px;
        height: 50px;
    }

    .mail a {
        font-size: 1rem;
    }
}