@charset "UTF-8";

/* grobal */
.form-search-field-block,
.form-search-side-button {
    display: none;
}

.header {
    transition: all .5s ease-out;
}

.header.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.global-nav-mobile-menu {
    transition: all .5s ease-out;
}

.global-nav-mobile-menu.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.header-column-1 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    background: var(--color-background-base);
}

.header-column-2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    background-image: linear-gradient(to bottom,
            var(--color-background-base) 90%,
            rgba(237, 232, 218, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 90%;
}

/* --- Fixed Navigation Container --- */
.header-item-nav-right-fixed {
    background-color: var(--color-beige-accent);
    position: fixed;
    top: 10rem;
    right: 0;
    width: 4rem;
    z-index: -1;
}

/* --- Global Nav Layout --- */
.header-item-nav-right-fixed .global-nav {
    align-items: center;
    justify-content: center;
}

/* --- Global Nav List (Vertical Mode) --- */
.header-item-nav-right-fixed .global-nav-list {
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0 auto;
}

/* --- Global Nav Item --- */
.header-item-nav-right-fixed .global-nav-item:first-child {
    display: block;
    white-space: nowrap;
    border-bottom: 1px var(--color-white) solid;
    padding-top: 16px;
    padding-bottom: 16px;

}

.header-item-nav-right-fixed .global-nav-item:last-child {
    display: block;
    white-space: nowrap;
    padding-top: 16px;
    padding-bottom: 18px;

}

/* --- Global Nav Link & Text --- */
.header-item-nav-right-fixed .global-nav-item .global-nav-link {
    color: var(--color-green-base);
    text-orientation: upright;
    display: block;
    text-decoration: none;
    padding: 0;
    margin: 0 auto;
    height: auto;
}

.header-item-nav-right-fixed a {
    font-size: 0.8125rem;
}

/* --- Icons (Before Pseudo-elements) --- */
.header-item-nav-right-fixed .global-nav-item .global-nav-link.qa::before {
    content: "";
    background: url("../../kyobunkwan@site/images/header/question_icon.svg") no-repeat center center;
    background-size: cover;
    background-position: top center;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 2rem;
    height: 2rem;
    z-index: 1;
}

.header-item-nav-right-fixed .global-nav-item .global-nav-link.calender::before {
    content: "";
    background: url("../../kyobunkwan@site/images/header/calendar_icon.svg") no-repeat center center;
    background-size: cover;
    background-position: top center;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 2rem;
    height: 2rem;
    z-index: 1;
}

#global-form-search_show {
    cursor: pointer;
}

#global-form-search_show span {
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    justify-self: flex-start;
    align-items: center;
    margin: 0 0.75rem;
}

#global-form-search_show span:before {
    content: "";
    background: url("../../kyobunkwan@site/images/header/search_icon_header.svg") no-repeat center center;
    background-size: cover;
    background-position: top center;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 0.9375rem;
    height: 1.0625rem;
    z-index: 1;
    margin-right: 0.5rem;
}

.show#global-form-search_show span:before {
    background: url("../../kyobunkwan@site/images/header/menu_close_icon.svg") no-repeat center center;
}

.header-item-wrap-logo.acms-admin-module-edit-wrapper:hover::before {
    position: absolute;
    inset: -4px;
    z-index: -1;
    content: "";
    border: 2px solid #999;
    border-radius: 4px;
    top: -2rem;
    left: 3rem;
    width: 100%;
}

.header-item-wrap-logo.acms-admin-module-edit-wrapper .acms-admin-module-edit {
    position: absolute;
    top: -2rem;
    right: -3rem;
    margin: 0;
}
.global-nav-mobile-item.about-child {
    margin-left: 2rem;

}
.global-nav-mobile-item.about-child a {
    font-family: var(--font-notosan);
    font-weight: 500;
    line-height: 10px;
    font-size: 14px;
    padding: 0.75rem 0 0.75rem 0;
}
.global-nav-mobile-item.about-child a.wrap {
    line-height: 1.5;
}
@media (min-width: 1100px) and (max-width: 1300px) {
    .global-nav-list .global-nav-link {
        font-size: .9rem;
    }

    .nav-default .header-logo {
        max-width: 8rem;
    }

    .header-item-nav-right-fixed {
        height: 32rem;
    }
}

@media (max-width: 1099px) {
    .header-item-nav-right-fixed .global-nav-item:first-child {
        height: 72px;
        padding: 0;
    }

    .header-item-nav-right-fixed .global-nav-item:last-child {
        height: 72px;
        padding: 0;
    }

    /* --- Nav Default --- */
    .nav-default .header-logo {
        max-height: 3.3125rem;
        padding-bottom: 1.5rem;
    }

    .nav-default .header {
        height: auto;
    }

    /* --- Logo Wrap --- */
    .header-item-wrap-logo {
        position: relative;
        top: 0;
        left: 1.375rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 10rem;
    }

    /* --- Fixed Nav (SP Hidden State) --- */
    .header-item-nav-right-fixed.sp-hidden {
        background-color: var(--color-beige-accent);
        right: 0;
        width: 100%;
        height: auto;
        position: inherit;
        z-index: 0;
    }

    .header-item-nav-right-fixed.sp-hidden .global-nav-list {
        writing-mode: horizontal-tb;
        width: 100%;
        height: auto;
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .header-item-nav-right-fixed.sp-hidden .global-nav-list .global-nav-item {
        background-color: var(--color-beige-accent);
    }

    .header-item-nav-right-fixed.sp-hidden .global-nav-list .global-nav-item a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        font-size: 1rem;
    }

    .header-item-nav-right-fixed.sp-hidden .global-nav-list .global-nav-item:first-child {
        border-bottom: .5rem solid var(--color-background-base);
    }

    .header-item-nav-right-fixed.sp-hidden .global-nav-list .global-nav-link.qa::before,
    .header-item-nav-right-fixed.sp-hidden .global-nav-list .global-nav-link.calender::before {
        margin: 0 1rem 0 0;
    }

    /* --- Mobile Search Button --- */
    .global-nav-mobile-menu-btn-search {
        position: fixed;
        top: 0.5rem;
        right: 2.5rem;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        text-decoration: none;
        background: var(--color-primary);
    }

    .global-nav-mobile-menu-btn-search:before {
        content: "";
        background: url("../../kyobunkwan@site/images/header/search_icon.svg") no-repeat center center;
        background-size: cover;
        background-position: top center;
        display: inline-block;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 1.25rem;
        height: 1.375rem;
        z-index: 1;
    }

    /* --- Header Column 2 --- */
    .header-column-2 {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        background-size: 100% 100%;
    }

    body.is-locked {
        overflow: hidden;
        width: 100%;
    }
}