/* header
-------------------------------------------------- */
.header {
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
}

.header-inner {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 1100px;
    height: 48px;
    margin: 0 auto;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 20px 20px 10px 20px;
        text-align: center;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 769px) and (max-width: 1210px) {
    .header {
        width: 100%;
    }
}

.header .logo {
    margin: 0 20px 0 0;
}

@media screen and (max-width: 768px) {
    .header .logo {
        height: 28px;
        order: 2;
        margin: 0;
    }
}

.header .logo img {
    width: 164px;
}

@media screen and (max-width: 768px) {
    .header .logo img {
        display: inline-block;
        vertical-align: top;
        width: 120px;
    }
}

.header .menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 20px;
}

@media screen and (max-width: 768px) {
    .header .menu {
        width: 100%;
        margin: 0;
        padding: 10px 0 0;
        order: 4;
    }
}

.header .menu a {
    color: #2e2e2e;
    margin: 10px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.header .menu a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: "";
    width: 100%;
    height: 4px;
    background: #5e6cef;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

.header .menu a:hover::after {
    transform: scale(1, 1);
}

@media screen and (max-width: 768px) {
    .header .menu {
        display: none;
    }
    .header .menu a {
        display: inline-block;
        height: 28px;
        width: 100%;
        line-height: 28px;
        color: #2e2e2e;
        margin: 0 4px;
        position: relative;
        text-decoration: none;
        border-top: 1px solid #5e6cef;
        border-bottom: 1px solid #5e6cef;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
    }
    .header .menu a::after {
        content: none;
    }
}

.header .mypage {
    margin: 0 10px 0 0;
}

.header .mypage a {
    display: flex;
    align-items: center;
    color: #2e2e2e;
    font-size: 14px;
    font-weight: 500;
}

.header .mypage svg {
    margin-right: 4px;
    width: 14px;
    fill: #939393;
    flex-shrink: 0;
}

.header .mypage a:hover {
    font-weight: 700;
}

.header .mypage a:hover svg {
    fill: #5e6cef;
}

.header .search {
    display: flex;
    justify-content: center;
    margin: 0 42px;
}

@media screen and (max-width: 768px) {
    .header .mypage {
        order: 1;
    }

    .header .mypage a {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .header .search {
        display: none;
        width: 94%;
        margin-top: 4px;
        order: 3;
    }
    .header .search .window {
        width: 100%;
    }
}

.header .search input {
    width: 160px;
    height: 22px;
    vertical-align: top;
    font-family: inherit;
    font-size: 14px;
    color: #2e2e2e;
}

.header .search input::placeholder {
    font-family: inherit;
    font-size: 14px;
    color: #cccccc;
}

.header .search input[type="text"] {
    padding: 4px;
    transition: 0.3s;
    border: 1px solid #b9b9b9;
    border-right: none;
    border-radius: 4px 0 0 4px;
}
.header .search input[type="text"]:focus {
    border: 1px solid #8ca5ff;
    border-right: none;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(140, 165, 255, 0.5);
}
@media screen and (max-width: 768px) {
    .header .search input {
        display: block;
        border: 1px solid #ddd;
        width: 90%;
    }
    .header .search input::placeholder {
        font-family: inherit;
        font-size: 14px;
        color: #d8d8d8;
    }

    .header .search input[type="text"] {
        width: 100%;
        height: 16px;
        padding: 6px;
        transition: 0.3s;
        border: 1px solid #b9b9b9;
        border-right: none;
        border-radius: 4px 0 0 4px;
    }
    .header .search input[type="text"]:focus {
        border: 1px solid #8ca5ff;
        outline: none;
        box-shadow: 0 0 5px 1px rgba(140, 165, 255, 0.5);
    }
}

.header .search .icon {
    width: 40px;
    height: 32px;
    line-height: 32px;
    vertical-align: top;
    text-align: center;
    background-color: #5e6cef;
    border-radius: 0 4px 4px 0;
}
@media screen and (max-width: 768px) {
    .header .search .icon {
        height: 30px;
        line-height: 30px;
    }
}

.header .search i {
    color: #ffffff;
}

.header .notification {
    margin: 0 3px;
}

.header .login {
    margin: 0 3px;
}
@media screen and (max-width: 768px) {
    header .login {
        position: relative;
        top: 16px;
        margin: 0 3px;
    }
}

/* header navigation*/
.nav-unshown {
    display: none;
}

.nav-drawer .icon-line {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 6px 4px 10px;
    border: 1px solid #e2e2e2;
    border-radius: 24px;
}

.nav-drawer .icon-line:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

#nav-open {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 72px;
    height: 45px;
    vertical-align: middle;
    cursor: pointer;
}

.hamburger {
    width: 24px;
    height: 16px;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
    position: absolute;
    height: 3px;
    width: 20px;
    border-radius: 3px;
    background: #555555;
    display: block;
    content: "";
}

.hamburger span:before {
    bottom: -6px;
}
.hamburger span:after {
    bottom: -12px;
}

#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 20px;
    width: 60%;
    max-width: 330px;
    height: calc(100% - 40px);
    background-color: #ffffff;
    transition: 0.3s ease-in-out;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
}

#nav-input:checked ~ #nav-close {
    display: block;
    opacity: 0.5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

.navigation .nav-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation .nav-headline p {
    font-size: 14px;
    font-weight: 700;
}

.navigation .main-menu p {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.navigation .main-menu ul {
    margin: 10px 0 20px 0;
}

.navigation .main-menu ul li {
    padding: 8px 10px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .navigation .main-menu ul li {
        padding: 10px;
    }
}

.navigation .main-menu a {
    display: flex;
    justify-content: start;
    align-items: center;
    color: #2e2e2e;
    transition: all 0.3s ease 0s;
}

.navigation .main-menu a:hover {
    font-weight: 700;
}

.navigation .main-menu .image {
    padding-right: 8px;
    width: 35px;
}

.navigation .main-menu ul li a {
    position: relative;
}

.navigation .main-menu ul li a::after {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 8px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #939393;
    border-right: 2px solid #939393;
    transform: rotate(45deg);
    transition: all 0.3s;
}

.navigation .main-menu ul li a:hover:after {
    right: 0;
    border-top: 2px solid #5e6cef;
    border-right: 2px solid #5e6cef;
}

.navigation .main-menu .image svg {
    width: 20px;
    fill: #939393;
    transition: all 0.3s ease 0s;
}

.navigation .main-menu a:hover .image svg.nav-icon {
    fill: #939392;
}

.navigation .main-menu li.selected {
    font-weight: 700;
}

.navigation .main-menu li.selected .image svg.nav-icon {
    fill: #5e6cef;
}

.navigation .main-menu li a:hover .image svg.nav-icon {
    fill: #5e6cef;
}

.navigation .main-menu .label {
    font-size: 14px;
}

.navigation .main-menu {
    margin: 10px 0;
}

.user-info .profile {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 8px 30px 10px 30px;
}

/* simple */
.header-simple {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 16px 10px;
}

@media screen and (max-width: 768px) {
    .header-simple {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: calc(100% - 20px);
        height: auto;
        margin: 0 auto;
        padding: 20px 10px;
        text-align: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 1210px) {
    .header-simple {
        width: 100%;
        padding: 20px 10px;
    }
}

.header-simple .logo img {
    width: 164px;
}

@media screen and (max-width: 768px) {
    .header-simple .logo {
        height: 28px;
    }
    .header-simple .logo h1 {
        height: 28px;
        margin: 0;
    }
    .header-simple .logo img {
        height: 28px;
    }
}

/* profile
-------------------------------------------------- */
.profile {
    list-style-type: none;
    /* min-width: 120px;
    max-width: 225px; */
    height: 48px;
}
@media screen and (max-width: 768px) {
    .profile {
        width: auto;
        height: 32px;
        order: 3;
    }
}

.profile .profile-inner {
    display: flex;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .profile .profile-inner {
        top: 0;
        height: 32px;
    }
}

.profile .menu-not-login {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 225px;
    height: 48px;
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    .profile .menu-not-login {
        order: 5;
        width: 156px;
        height: 32px;
    }
}

.profile .menu-not-login a.login {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-right: 10px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #5e6cef;
    background-color: #ffffff;
    text-align: center;
    transition: all 0.3s ease 0s;
    width: 60px;
    font-weight: 700;
}
.profile .menu-not-login a.registration {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 4px 8px;
    border: 2px solid #5e6cef;
    border-radius: 4px;
    color: #ffffff;
    background-color: #5e6cef;
    transition: all 0.3s ease 0s;
    width: 100px;
    font-weight: 700;
}
@media screen and (max-width: 768px) {
    .profile .menu-not-login a.login {
        font-size: 11px;
        margin-right: 4px;
        padding: 5px;
        border: 1px solid transparent;
        width: 45px;
        font-weight: bold;
    }
    .profile .menu-not-login a.registration {
        font-size: 11px;
        padding: 5px;
        border: 1px solid #5e6cef;
        width: 80px;
        font-weight: bold;
    }
}

.profile .menu-not-login a.login:hover {
    color: #8ca5ff;
    border-color: transparent;
}

.profile .menu-not-login a.registration:hover {
    background-color: #8ca5ff;
    border-color: #8ca5ff;
}

.profile .icon img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .profile .icon img {
        border-radius: 50%;
        width: 28px;
        height: 28px;
    }
}

.profile .wrapper_arrow_box {
    position: absolute;
    z-index: 2;
    width: 190px;
    right: 2px;
    top: 65px;
}

.profile .arrow_box {
    position: relative;
    background: #ffffff;
    border: 1px solid #eaeaea;
    font-size: 14px;
    text-align: left;
    border-radius: 5px;
}
.profile .arrow_box a {
    color: #2e2e2e;
    width: 145px;
}
.profile .arrow_box:after,
.arrow_box:before {
    bottom: 100%;
    left: 84%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.profile .arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 10px;
    margin-left: -10px;
}
.profile .arrow_box:before {
    border-color: rgba(234, 234, 234, 0);
    border-bottom-color: #eaeaea;
    border-width: 12px;
    margin-left: -12px;
}

@media screen and (max-width: 768px) {
    .profile .wrapper_arrow_box {
        position: absolute;
        z-index: 2;
        width: 190px;
        right: -16px;
        top: 46px;
    }
    .profile .arrow_box:after,
    .arrow_box:before {
        bottom: 100%;
        left: 84%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
    .profile .arrow_box:after {
        border-color: rgba(255, 255, 255, 0);
        border-bottom-color: #ffffff;
        border-width: 10px;
        margin-left: -10px;
    }
    .profile .arrow_box:before {
        border-color: rgba(234, 234, 234, 0);
        border-bottom-color: #eaeaea;
        border-width: 12px;
        margin-left: -12px;
    }
}

.profile .arrow_box ul {
    line-height: 2.5em;
    margin: 10px;
}

.profile .arrow_box span {
    margin-left: 7px;
}

.profile .arrow_box .border {
    border-bottom: 1px solid #eaeaea;
}

.profile .arrow_box a {
    color: #2e2e2e;
    margin: 0 10px;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.profile .arrow_box a::after {
    position: absolute;
    bottom: -2px;
    left: -10px;
    content: "";
    width: 170px;
    height: 2px;
    background: #5e6cef;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

.profile .arrow_box a:hover::after {
    transform: scale(1, 1);
}