@charset "utf-8";

header {
    display: flex;
    position: sticky;
    z-index: 1000;
    top: 0;
    justify-content: center;
}

h1 {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.h1-link {
    display: inline-grid;
    align-items: center;
    grid-template-areas: "stack";
    white-space: nowrap;
    font-size: 0.875rem;
}

.h1-link>span {
    grid-area: stack;
    line-height: 1;
}

.title-normal {
    opacity: 1;
    font-family: "Noto Sans JP", sans-serif;
}

.title-hover {
    opacity: 0;
    font-family: "Rampart One", sans-serif;
}

.h1-link:hover .title-normal,
.h1-link:focus-visible .title-normal {
    opacity: 0;
}

.h1-link:hover .title-hover,
.h1-link:focus-visible .title-hover {
    opacity: 1;
}

.h1-link>span {
    transition: opacity 160ms ease;
}


.in-header {
    display: flex;
    height: 80px;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    background: none;
    color: #000;
    box-shadow: none;
    max-width: 1040px;
    width: 100%;
    /* font-family: ; */
}

.header-right {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 5px 0 0;
}

.nav-hmb {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-hmb:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hmb-bar {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 0.875em;
    opacity: .95;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}

@media (min-resolution: 2dppx) {
    .in-header {
        max-width: 90dvw;
    }
    .header-right,
    .nav-hmb {
        padding-right: 0;
    }
    .nav-hmb {
        width: 34px;
    }
}

@media (max-width: 1365px) {
    .in-header {
        padding: 0 1%;
    }
}

@media (max-width: 768px) {
    .nav-hmb {
        display: inline-block;
    }

    .nav-list {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 12px 0;
        background: none;
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-list a {
        display: block;
        padding: 14px 18px;
    }
}