#w .global-header, .global-header {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    width: 100%;
    height: 50px;
    border-top: solid 1px #f7f7f7;
    border-bottom: solid 1px #f7f7f7;
    background: #fff;
    color: #333;
    font-size: 13px;
    box-sizing: border-box;

    justify-content: space-between;
}

#w .global-header *, .global-header * {
    box-sizing: border-box;
}

#w .global-header a, .global-header a {
    color: #333;
    transition: opacity 0.5s;
}

#w .global-header a:hover, #w .global-header a:active, .global-header a:hover, .global-header a:active {
    text-decoration: none;
}

#w .global-header ul, .global-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#w .global-header .button, .global-header .button {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 15px;
    background-color: #f0f0f0;
    color: #474747;
    text-align: center;
    letter-spacing: 0.04em;
    font-size: 12px;
    line-height: 1;
    transition: all 0.5s;
}

#w .global-header .button.is-blue, .global-header .button.is-blue {
    background: #4abcff;
    color: #fff;
}

#w .global-header .button.is-brown, .global-header .button.is-brown {
    background: #cc8d03;
    color: #fff;
}

#w .global-header .button.is-large, .global-header .button.is-large {
    padding: 8px 30px;
    letter-spacing: 0.14em;
}

#w .global-header .button:hover, .global-header .button:hover {
    opacity: 0.6;
}

#w .global-header .sub-navi-area, .global-header .sub-navi-area {
    position: relative;
}

#w .global-header .sub-navi-area .sub-navi, .global-header .sub-navi-area .sub-navi {
    position: absolute;
    top: 100%;
    z-index: 100;
    display: none;
    width: 205px;
    background: #f0f0f0;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 0.12em;
    font-size: 12px;
}

#w .global-header .sub-navi-area .sub-navi > li, .global-header .sub-navi-area .sub-navi > li {
    padding: 0 16px;
    background: #fff;
}

#w .global-header .sub-navi-area .sub-navi > li > a, .global-header .sub-navi-area .sub-navi > li > a {
    display: block;
    padding: 16px 0;
    border-bottom: solid 1px #f0f0f0;
    letter-spacing: 0.06em;
    font-size: 12px;
}

#w .global-header .sub-navi-area .sub-navi > li > a:hover, .global-header .sub-navi-area .sub-navi > li > a:hover {
    opacity: 0.6;
}

#w .global-header .sub-navi-area .sub-navi .head, .global-header .sub-navi-area .sub-navi .head {
    position: relative;
    background-color: #f0f0f0;
}

#w .global-header .sub-navi-area .sub-navi .head .change, .global-header .sub-navi-area .sub-navi .head .change {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: none;
    color: #1dabff;
}

#w .global-header .sub-navi-area .sub-navi .capt, .global-header .sub-navi-area .sub-navi .capt {
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
}

#w .global-header .sub-navi-area .sub-navi .link, .global-header .sub-navi-area .sub-navi .link {
    color: #1dabff;
    cursor: pointer;
}

#w .global-header .sub-navi-area .sub-navi .link:hover, .global-header .sub-navi-area .sub-navi .link:hover {
    opacity: 0.6;
}

#w .global-header .sub-navi-area.on .sub-navi, .global-header .sub-navi-area.on .sub-navi {
    display: block;
}

#w .global-header .small-navi > li, .global-header .small-navi > li {
    padding: 10px 12px;
    border-bottom: solid 1px #f0f0f0;
    background: #fff;
}

#w .global-header .tg-area .tg-box, .global-header .tg-area .tg-box {
    display: none;
    margin-bottom: 20px;
}

#w .global-header .flex-space-between, .global-header .flex-space-between {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    -ms-flex-align: center;
    width: 100%;

    justify-content: space-between;
    align-items: center;
}

#w .global-header .global-navi, .global-header .global-navi {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    -ms-flex-align: center;
    max-width: 650px;
    width: 44%;
    height: 100%;
    padding-left: 1%;

    align-items: center;
    justify-content: space-around;
}

#w .global-header .global-navi > li, .global-header .global-navi > li {
    height: 100%;
    letter-spacing: 0.12em;
}

#w .global-header .global-navi > li > a, .global-header .global-navi > li > a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    width: 100%;
    height: 100%;
    padding: 5px 6px 0;
    border-bottom: solid 5px transparent;
    box-sizing: border-box;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    align-items: center;
}

#w .global-header .global-navi > li > a:hover, #w .global-header .global-navi > li.on > a, .global-header .global-navi > li > a:hover, .global-header .global-navi > li.on > a {
    border-bottom: solid 5px #4abcff;
}

#w .global-header .global-navi .first-time, .global-header .global-navi .first-time {
    position: relative;
}

#w .global-header .global-navi .first-time:after, .global-header .global-navi .first-time:after {
    position: absolute;
    top: -24px;
    right: 0;
    width: 31px;
    height: 44px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/top/pattern3/pc_balloon.png) no-repeat;
    background-size: cover;
    content: '';
}

#w .global-header .global-navi .first-time-list, .global-header .global-navi .first-time-list {
    width: 205px;
}

#w .global-header .user-navi, .global-header .user-navi {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    -ms-flex-align: center;
    width: 55%;
    height: 100%;

    justify-content: flex-end;
    align-items: center;
}

#w .global-header .user-navi li, .global-header .user-navi li {
    height: 100%;
}

#w .global-header .user-navi .bg-blue, .global-header .user-navi .bg-blue {
    background: #d2eeff;
}

#w .global-header .user-navi .item, .global-header .user-navi .item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    height: 100%;
    padding: 0 12px;

    align-items: center;
    justify-content: center;
}

#w .global-header .user-navi .ico, .global-header .user-navi .ico {
    width: 50px;
    border-left: solid 1px #f7f7f7;
}

#w .global-header .user-navi .ico img, .global-header .user-navi .ico img {
    vertical-align: middle;
}

#w .global-header .user-navi .ico.on, .global-header .user-navi .ico.on {
    background: #f0f0f0;
}

#w .global-header .account, .global-header .account {
    border-left: solid 1px #f7f7f7;
}

#w .global-header .account .name, .global-header .account .name {
    display: inline-block;
    overflow: hidden;
    max-width: 90px;
    width: auto;
    padding-left: 10px;
    vertical-align: middle;
    text-overflow: ellipsis;
}

#w .global-header .account img, .global-header .account img {
    vertical-align: middle;
}

#w .global-header .account.on, .global-header .account.on {
    background: #f0f0f0;
}

#w .global-header .account .sub-navi, .global-header .account .sub-navi {
    width: 295px;
}

#w .global-header .account .sub-navi .head, .global-header .account .sub-navi .head {
    margin: 0 16px;
    padding: 16px 0;
}

#w .global-header .account .ticket, .global-header .account .ticket {
    border-top: solid 1px #fff;
}

#w .global-header .account .ticket .pluslesson:before, .global-header .account .ticket .pluslesson:before {
    display: inline-block;
    width: 14px;
    height: 8px;
    margin-right: 4px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/headernavi/ticket.png);
    background-size: cover;
    content: '';
    vertical-align: middle;
    -ms-transform: translateY(-15%);
        transform: translateY(-15%);
}

#w .global-header .account .ticket .plusnative:before, .global-header .account .ticket .plusnative:before {
    display: inline-block;
    width: 14px;
    height: 8px;
    margin-right: 4px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/headernavi/ticket_native.png);
    background-size: cover;
    content: '';
    vertical-align: middle;
    -ms-transform: translateY(-15%);
        transform: translateY(-15%);
}

#w .global-header .account .textarea, .global-header .account .textarea {
    padding: 15px 10px;
    background: #fff;
    text-align: center;
}

#w .global-header .account .textarea .text, .global-header .account .textarea .text {
    margin-bottom: 10px;
    color: #858585;
    text-align: left;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

#w .global-header .begginer .item, .global-header .begginer .item {
    padding: 0 3px 0 12px;
}

#w .global-header .info .item, .global-header .info .item {
    padding: 0 3px 0 12px;
}

#w .global-header.is-guestHeader .global-navi, .global-header.is-guestHeader .global-navi {
    max-width: 750px;
    width: 70%;
    padding-left: 20px;
}

#w .global-header.is-guestHeader .global-navi > li > a, .global-header.is-guestHeader .global-navi > li > a {
    padding: 5px 20px 0;
}

#w .global-header.is-guestHeader .user-navi, .global-header.is-guestHeader .user-navi {
    width: 30%;
}
