/* =========================================================
   GLOBAL NAVIGATION
========================================================= */

.global-nav {
    border-top: none;
    border-bottom: none;
}

.global-nav ul {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    list-style: none;
}

.global-nav li {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: bold;
    flex: 1;
    min-width: 0;
    margin: 0;
    border-right: 1px dashed #bbb;
}
.global-nav li:first-child {
        border-left: 1px dashed #bbb;
    }

.global-nav li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 14px;
}

.global-nav li a::before {
    content: "";
    display: inline-block;
    flex: 0 0 6px;
    width: 7px;
    height: 14px;
    margin-right: 4px;
    background-image: url("../images/common/water-drop.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.global-nav a {
    display: block;
    padding: 14px 10px;
    text-decoration: none;
    font-size: 14px
}

.global-nav a:hover {
    text-decoration: underline;
}

.mobile-menu-button {
    display: none;
}

/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.category-nav {
    padding: 25px;
    border-left: 1px solid #ddd;
}

.category-nav-title {
    margin-bottom: 15px;
    color: #2169a0;
    font-size: 18px;
    font-weight: 700;
}

.category-nav-title a {
    text-decoration: none;
}

.category-nav-title a:hover {
    text-decoration: underline;
}

.category-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-nav li {
    border-top: 1px solid #ddd;
}

.category-nav li:last-child {
    border-bottom: 1px solid #ddd;
}

.category-nav a {
    display: block;
    padding: 10px 4px;
    text-decoration: none;
}

.category-nav a:hover,
.category-nav a.current {
    text-decoration: underline;
}

@media screen and (max-width: 480px) {

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 82px;
        width: 82px;
        min-height: 46px;
        padding: 8px 9px;
        cursor: pointer;
        background: #fff;
        border: 1px solid #2169a0;
        border-radius: 4px;
        color: #2169a0;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .mobile-menu-button .menu-icon {
        margin-left: 7px;
        font-size: 20px;
        line-height: 1;
    }

    .global-nav {
        position: fixed;
        top: 62px;
        left: 0;
        z-index: 1999;
        display: none;
        width: 100%;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    }

    .global-nav.is-open {
        display: block;
    }

    .global-nav ul {
        display: block;
        width: 100%;
    }
    .global-nav li {
        border-top: 1px solid #ddd;
        border-right: none;
    }
    .global-nav li:first-child {
        border-left: none;
    }

    .global-nav li:last-child {
        border-bottom: 1px solid #ddd;
    }
    .global-nav li a {
        justify-content: flex-start;
        padding: 14px 20px 14px 34px;
    }

    .global-nav li a::before {
        margin-right: 7px;
    }

    .category-nav {
        margin-top: 40px;
        padding: 20px 0;
        border-left: 0;
        border-top: 1px solid #ddd;
    }
}
