.c-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height-sp);
    background: #000000 url("../img/header/main-bg.png") repeat center -2px / auto 86px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 360ms ease, visibility 0s linear 360ms, transform 360ms ease;
}
.c-site-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 360ms ease, visibility 0s linear 0s, transform 360ms ease;
}
.c-site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 86px;
    padding: 0 16px;
}
.c-site-header__brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.c-site-header__logo {
    width: 123px;
    height: auto;
}
.c-site-header__project-text {
    display: none;
}
.c-site-header__project-visual {
    display: none;
}
.c-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}
.c-lang-switch {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    width: 48px;
    height: 22px;
    padding: 1px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    overflow: hidden;
}
.c-lang-switch::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid #000000;
    pointer-events: none;
}
.c-lang-switch span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 18px;
    transition: background-color 220ms ease, color 220ms ease;
}
.c-lang-switch__ja.is-current {
    background: var(--color-accent);
}
.c-lang-switch__en.is-current {
    background: #4b5db7;
}
.is-lang-ja .c-lang-switch:hover .c-lang-switch__en {
    background: #4b5db7;
}
.is-lang-en .c-lang-switch:hover .c-lang-switch__ja {
    background: var(--color-accent);
}
.c-menu-button {
    position: relative;
    width: 32px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.c-menu-button span {
    position: absolute;
    left: 0;
    width: 32px;
    height: 2px;
    background: #ffffff;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
}
.c-menu-button span:nth-child(1) { top: 1px; }
.c-menu-button span:nth-child(2) { top: 11px; }
.c-menu-button span:nth-child(3) { top: 21px; }

.c-drawer[hidden] { display: none; }
.c-drawer {
    position: fixed;
    inset: 0;
    z-index: 300;
}
.c-drawer__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.c-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 314px;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--color-drawer);
    color: #ffffff;
    overflow-y: auto;
    transform: translateX(40px);
    opacity: 0;
    visibility: hidden;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 0s linear 520ms;
}
.c-drawer.is-open .c-drawer__panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 0s linear 0s;
}
.c-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 18px 13px 30px;
}
.c-drawer__brand {
    width: 180px;
}
.c-drawer__logo {
    width: 180px;
    height: auto;
    margin-top: 23px;
}
.c-drawer__label {
    display: flex;
    align-items: center;
    height: 19px;
    padding: 0 0 0 30px;
    background: #000000;
}
.c-drawer__label-image {
    width: 157px;
    height: 12px;
}
.c-drawer__close {
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.c-drawer__close img {
    width: 31px;
    height: 31px;
}
.c-drawer__primary {
    background: transparent;
    padding-top: 9px;
}
.c-drawer-section {
    padding: 8px 0;
    background: #000000 url("../img/header/main-bg.png") repeat;
}
.c-drawer-section + .c-drawer-section {
    margin-top: 5px;
}
.c-drawer-section__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px 0 15px;
    background: transparent;
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #b7b4b5;
    transition: color 0.5s ease;
}
.c-drawer-section__main:hover {
    color: #ffffff;
}
.c-drawer-section__main span {
    display: block;
}
.c-drawer-section__icon-large {
    width: 15px;
    height: 20px;
    flex: 0 0 15px;
}
.c-drawer-section__sub,
.c-drawer-subnav,
.c-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.c-drawer-section__sub {
    background: transparent;
    padding: 0 0 13px 45px;
}
.c-drawer-section__sub li + li {
    margin-top: 9px;
}
.c-drawer-section__sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 25px;
    font-family: "Noto Serif JP", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #b7b4b5;
    transition: color 0.5s ease;
}
.c-drawer-section__sub a:hover {
    color: #ffffff;
}
.c-drawer-section__icon-small {
    width: 5px;
    height: 6px;
    flex: 0 0 5px;
}
.c-drawer__secondary {
    background: var(--color-drawer);
    padding: 22px 0 34px;
}
.c-drawer-subnav li + li {
    margin-top: 19px;
}
.c-drawer-subnav a {
    display: block;
    padding: 0 0 0 49px;
    color: rgba(255, 255, 255, 0.58);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    transition: color 0.5s ease;
}
.c-drawer-subnav a:hover {
    color: rgba(255, 255, 255, 1);
}

@media (min-width: 768px) {
    .c-site-header {
        height: var(--header-height-pc);
        background-size: auto 86px;
    }
    .c-site-header__inner {
        justify-content: space-between;
        height: 86px;
        padding: 0 44px;
    }
    .c-site-header__brand {
        position: static;
        transform: none;
        gap: 25px;
    }
    .c-site-header__logo {
        width: 121px;
    }
    .c-site-header__project-text {
        display: none;
    }
    .c-site-header__project-visual {
        display: block;
        width: 333px;
        height: 67px;
        background: url("../img/header/PJTLogo.svg") no-repeat;
    }
    .c-site-header__project-ja {
        font-family: "Noto Sans JP", sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 20px;
        white-space: nowrap;
    }
    .c-site-header__project-ja em,
    .c-site-header__project-en em {
        font-style: normal;
        color: var(--color-accent);
    }
    .c-site-header__project-en {
        font-family: "Noto Serif JP", serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 14px;
        white-space: nowrap;
    }
    .c-site-header__actions {
        justify-content: flex-end;
        width: auto;
        gap: 28px;
    }
    .c-lang-switch {
        width: 50px;
    }
    .c-lang-switch span {
        width: 24px;
    }
    .c-drawer__panel {
        width: 482px;
    }
    .c-drawer__head {
        padding: 29px 27px 17px 31px;
    }
    .c-drawer__label {
        height: 20px;
        padding-left: 31px;
    }
    .c-drawer__primary {
        padding-top: 10px;
    }
    .c-drawer__close {
        width: 37px;
        height: 37px;
    }
    .c-drawer__close img {
        width: 37px;
        height: 37px;
    }
    .c-drawer-section__main {
        min-height: 57px;
        padding: 0 23px 0 15px;
        font-size: 16px;
        line-height: 24px;
    }
    .c-drawer-section__sub {
        padding: 0 0 15px 50px;
    }
    .c-drawer-section__sub a {
        font-size: 13px;
        line-height: 20px;
    }
    .c-drawer__secondary {
        padding: 24px 0 39px;
    }
    .c-drawer-subnav li + li {
        margin-top: 23px;
    }
    .c-drawer-subnav a {
        padding-left: 47px;
        font-size: 16px;
        line-height: 23px;
    }
}



body[data-request-path=""] .c-site-header,
body[data-request-path="en"] .c-site-header {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-24px);
    pointer-events: none;
    transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms;
}
body[data-request-path=""] .c-site-header.is-visible,
body[data-request-path="en"] .c-site-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 0s;
}
body:not([data-request-path=""]):not([data-request-path="en"]) .c-site-header {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: none;
}
