/* css 2025/02
ナビゲーションメニューのある全部のファイルに必要 */

@charset "UTF-8";

/*メニューボタン*/
.menu-button {
    margin-left: auto;
    cursor: pointer;
    z-index: 20;
}

.menu-button-img {
    display: flex;
    align-items: center;
}

.menu-button #open {
    top: 3px;
    position: fixed;
    right: 12px;
    cursor: pointer;
}

.menu-button #open.hide {
    display: none;
}

.menu-button img {
    top: 3px;
    right: 12px;
}

.menu-button-text {
    display: block;
    top: 48px;
    right: 14px;
    text-align: center;
    background: transparent;
    color: var(--header-text-color);
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    position: fixed;
}

/*ナビゲーションメニュー*/
.navigation {
    position: fixed;
    top: 0;
    right: 0;
    text-align: center;
    width: 50%;
    max-width: 500px;
    height: 100vh;
    padding: 60px 30px 0;
    background: var(--header-color);
    opacity: 0;
    pointer-events: none;
    transition: .6s;
    color: var(--header-text-color);
    z-index: 10;
    line-height: 1;
    overflow: auto;
}

.navigation::-webkit-scrollbar {
    width: 5px;
}

.navigation::-webkit-scrollbar-thumb {
    background-color: #727272;
    border-radius: 20px;
}

@media only screen and (max-width: 767px) {
    .navigation {
        width: 80%;
    }
}

.navigation.show {
    opacity: 1;
    pointer-events: auto;
    transition: .6s;
}

.navigation #close {
    position: fixed;
    top: 3px;
    right: 12px;
    cursor: pointer;
}

.navigation ul {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.navigation li {
    margin: 0 auto;
    line-height: 1.5;
    border-bottom: 1px solid var(--header-line-color);
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .3s, transform .3s;
}

.navigation li a {
    text-decoration: none;
    color: var(--header-text-color);
    display: inline-block;
    padding: 15px 0px;
    width: 100%;
}

.navigation.show li {
    opacity: 1;
    transform: none;
}

.navigation.show li:nth-child(1) {
    transition-delay: .1s;
}

.navigation.show li:nth-child(2) {
    transition-delay: .2s;
}

.navigation.show li:nth-child(3) {
    transition-delay: .3s;
}

.navigation.show li:nth-child(4) {
    transition-delay: .4s;
}

.navigation.show li:nth-child(5) {
    transition-delay: .5s;
}

.navigation.show li:nth-child(6) {
    transition-delay: .6s;
}
.navigation .sun {
    margin: 20px auto;
    text-align: center;
    max-width: 30%;
    height: auto;
}