/* COMMON */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    color: #505050;
}

body {
    font-size: 1.4rem;
    line-height: 2.8rem;
    color: #505050;
}

main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

img {
    width: auto;
    height: auto;
}

p {
    font-size: 1.4rem;
    line-height: 2.8rem;
}

@media (min-width: 481px) {
    body {
        font-size: 1.7rem;
        line-height: 4.0rem;
        color: #505050;
    }
    p {
        font-size: 1.7rem;
        line-height: 3.6rem;
    }
}

@media (min-width: 768px) {}

@media (min-width: 1024px) {
    main {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 120px;
    }
}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}

/* HEADER */
header {
    position: relative;
    z-index: 100;
    margin-bottom: 0;
}

.header_nav {
    display: flex;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: 100%;
    letter-spacing: 2px;
    margin: auto;
}


.header_nav__logo {
    display: flex;
    align-items: center;
    font-size: 3.0rem;
    gap: 16px;
    margin: 0 auto;
}

.header_nav__logo__img {
    max-width: 160px;
}

.header_nav__logo__img img {
    width: 100%;
}

.header_nav__menu {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    font-size: 1.6rem;
    font-weight: 500;
}

.header_nav__menu__item a {
    color: #505050;
}

.header_nav__menu__item {
    color: #CCCCCC;
    font-weight: 400;
}

.header_nav__toggle {
    display: block;
    position: fixed;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 3;
    right: 16px;
    top: 16x;
}

.header_nav__toggle span {
    display: block;
    position: absolute;
    width: 100%;
    border-bottom: solid 2px #505050;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
.header_nav.open {
    background-color: #ffffff;
    flex-direction: column;
    height: 100vh;
    gap: 32px;
    justify-content: flex-start;
    max-width: 100%;
    padding: 16px;
    width: 100%;
    position: fixed;
}
.header_nav.open .header_nav__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}
.header_nav.open .header_nav__menu__item {
    color: #CCCCCC;
    font-weight: 400;
    padding: 16px 0;
    width: 100%;
    text-align: center;
}
.header_nav.open .header_nav__logo__img {
    margin: auto;
}
/*各ボーダー少しずつずらす*/
.header_nav__toggle span:nth-child(1) {
    top: 5px;
}
.header_nav__toggle span:nth-child(2) {
    top: 14px;
}
.header_nav__toggle span:nth-child(3) {
    top: 24px;
}
.header_nav__toggle.active span:nth-child(1) {
    top: 18px;
    /* 1番目のspanをマイナス45度に */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/* 2番目と3番目のspanを45度に */
.header_nav__toggle.active span:nth-child(2),
.header_nav__toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media (min-width: 481px) {
    .header_nav.open {
        background-color: #ffffff;
        flex-direction: column;
        height: 100vh;
        gap: 64px;
        justify-content: flex-start;
        max-width: 100%;
        padding: 16px;
    }
    header {
        position: relative;
        z-index: 100;
        margin-bottom: 40px;
    }
    .header_nav__toggle {
        display: block;
        position: fixed;
        width: 42px;
        height: 42px;
        cursor: pointer;
        z-index: 3;
        right: 24px;
        top: 24px;
    }
    .header_nav__toggle span:nth-child(1) {
        top: 5px;
    }
    .header_nav__toggle span:nth-child(2) {
        top: 18px;
    }
    .header_nav__toggle span:nth-child(3) {
        top: 32px;
    }
    .header_nav.open {
        background-color: #ffffff;
        flex-direction: column;
        height: 100vh;
        gap: 64px;
        justify-content: flex-start;
        max-width: 100%;
        padding: 32px;
    }
    .header_nav__logo {
        display: flex;
        align-items: center;
        font-size: 3.0rem;
        gap: 16px;
        margin: auto;
    }
    .header_nav__logo__img {
        max-width: 200px;
    }
}

@media (min-width: 768px) {

}

@media (min-width: 1024px) {
    header {
        position: relative;
        z-index: 100;
        margin-bottom: 16px;
    }
    .header_nav__toggle {
        display: none;
    }
    .header_nav__menu {
        display: flex;
        font-size: 1.6rem;
    }
    .header_nav {
        display: flex;
        justify-content: space-between;
        padding: 16px 32px;
        max-width: 100%;
        letter-spacing: 2px;
        margin: auto;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
}

@media (min-width: 1280px) {
    .header_nav {
        display: flex;
        justify-content: space-between;
        padding: 16px 32px;
        max-width: 80%;
        letter-spacing: 2px;
        margin: auto;
    }
}

@media (min-width: 1400px) {
    .header_nav__menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        font-weight: 500;
    }
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 120px;
}

.footer_nav {
    padding: 16px;
    padding-bottom: 4px;
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer_nav a {
    color: #ffffff;
}

.footer_nav p {
    font-size: 1.4rem;
    line-height: 2.6rem;
    letter-spacing: 1px;
}

.footer_nav__logo {
    display: flex;
    align-items: center;
    font-size: 3.0rem;
    gap: 16px;
}

.footer_nav__logo__img {
    width: 30%;
    min-width: 216px;
    margin: auto;
}

.footer_nav__logo__img img {
    width: 100%;
}

.footer_nav__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}



@media (min-width: 481px) {
    .footer_nav p {
        font-size: 1.4rem;
        line-height: 3.6rem;
        letter-spacing: 1px;
    }
    .footer_nav {
        padding: 16px 32px;
        padding-bottom: 4px;
        max-width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
}

@media (min-width: 768px) {}

@media (min-width: 1024px) {
    .footer_nav {
        padding: 16px 32px;
        padding-bottom: 4px;
        max-width: 80%;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
}

@media (min-width: 1280px) {
    .footer_nav__logo__img {
        width: 320px;
        margin: auto;
    }
}

@media (min-width: 1400px) {}