/* ==============================================
 ヘッダー
=============================================== */
/* レイアウト
----------------------------------------------- */
/*#header_wrap {*/
    /*min-height: 82px;*/
    /*border-top: solid 3px #f90;*/
    /*background-color: #fff !important;*/
/*}*/
/*#header {*/
    /*max-width: 1024px;*/
    /*margin: auto;*/
/*}*/
/*#header_utility {*/
    /*!*float: right;*!*/
    /*width: 580px;*/
/*}*/
/*#errorHeader {*/
    /*padding: 5px;*/
    /*font-size: 12px;*/
    /*text-align: center;*/
    /*font-weight: bold;*/
    /*color: #F00 !important;*/
    /*background-color: #FEB !important;*/
/*}*/

ol, ul, li {
    list-style: none;
}

/* ロゴ
----------------------------------------------- */
#logo_area {
    min-width: 200px;
    max-width: 220px;
    margin-right: 20px;
    text-align: left;
}
#logo_area a {
    display: block;
    height: 100%;
}
#logo_area img {
    max-width: 220px;
}
#site_description {
    font-size: 90%;
}
/* ヘッダーナビ
----------------------------------------------- */
div#header_navi {
    float: right;
    width: 409px;
    height: 38px;
}
div#header_navi ul li {
    display: block;
    float: left;
}
div#header_navi ul li.mypage,
div#header_navi ul li.entry {
    margin-top: 6px;
}
.tab {
    max-height: 45px;
}
/* ヘッダーナビ 追記
----------------------------------------------- */
.input-group .form-control.header-form-control {
    width: 260px;
    max-width: 100%;
}
.header-1st-content-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.header-1st-content {
    display: flex;
    max-width: 100%;
    min-height: 70px;
    justify-content: space-between;
    align-items: center;
    background-color: #fff !important;
}
.submenu-1st-item {
    margin-left: 10px;
}
.submenu-1st-item a {
    font-size: 13px;
    color: #383838 !important;
}
.submenu-1st-item img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
}
#search_form .input-group .search-panel button{
    width: 90px;
}

/* サジェストツールチップ */
#words-hint {
    display: block;
    width: 34px;
}
#words-hint img {
    display: block;
    width: 100%;
    max-width: 34px;
    max-height: 34px;
    margin-left: 10px;
    cursor: pointer;
}

.tooltip-inner {
    width: 500px;
    max-width: 500px;
    background: #383838;
}

.words-hint-btn {
    margin: 4px;
    background-color: #383838 !important;
    border: 1px solid #ffffff;
    color: #ffffff !important;
    border-radius: 10px;
}


.g-nav {
    background-color: rgba(100, 100, 100, 0.8) !important;
    font-size: 14px;
    padding: 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 110;
}

.g-nav-back {
    background-color: rgba(255, 255, 255, 0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.g-nav .g-nav-head {
    color: #ffffff !important;
    font-size: 2em;
    text-align: right;
    margin-bottom: 15px;
}

.g-nav .g-nav-item {
    border-bottom: 1px solid #FFFFFF;
    text-align: left;
}

.g-nav .g-nav-item a {
    position: relative;
    color: #ffffff !important;
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.g-nav .g-nav-item a:after {
    position: absolute;
    top: 25px;
    right: 15px;
    content: '';
    width: 0.6em;
    height: 0.6em;
    margin: auto;
    background-color: transparent;
    transform: rotate(45deg);
    border: solid 2px #FFFFFF;
    border-bottom: none;
    border-left: none;
}

.g-nav .g-nav-item .glyphicon {
    margin-right: 1em;
}

.g-nav-end {
    margin-top: 40px;
}

.g-nav-end .btn {
    background-color: rgba(100, 100, 100, 0);
    color: #ffffff !important;
    border: 1px solid #ffffff;
    border-radius: 2em;
    padding: 15px;
}


@media screen and (max-width:767px) {
    /* ロゴサイズ調整 */
    #logo_area{
        max-width: 40%;
    }
    #logo_area img {
        max-width: 100%;
    }

    /* 余白調整 */
    .header-1st-content .container{
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .header-1st-content .container .row{
        margin-right: 0;
        margin-left: 0;
    }

    .header-1st-content-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* メニューボタンサイズ調整 */
    .submenu-sp-1st-item {
        width: 45px;
        margin-left: 10px;
    }
    .submenu-sp-1st-item a {
        display: block;
        color: #383838 !important;
        line-height: 1;
    }
    .submenu-sp-1st-item img {
        width: 32px;
    }
    .submenu-sp-1st-item span {
        display: block;
        font-size: 10px;
        letter-spacing: -1px;
    }

    /* 検索パーツのツールチップ化 */
    #search_form .input-group{
        position: absolute;
        width: auto;
        left: 0;
        right: 0;
        top: 70px;
        padding: 10px;
        z-index: 100;

        display: none;
    }
    #search_form .input-group.active{
        display: flex;
        flex-direction: column;
        background-color: #383838;
    }
    #search_form .input-group .search-sp-arrow{
        display: none;
    }
    #search_form .input-group.active .search-sp-arrow{
        display: block;
        width: 0;
        height: 0;
        border:  5px solid transparent;
        border-bottom: 5px solid #383838;
        position: absolute;
        top: -10px;
        margin-left: -5px;
    }

    /* カテゴリー選択ボタンスタイル */
    .input-group-addon, .input-group-btn{
        width: auto !important;
        margin-bottom: 10px;
    }
    #search_form .input-group .search-panel button{
        width: 100%;
        border-radius: 4px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #search_form .input-group .search-panel .dropdown-menu{
        width: 100%;
    }

    /* キーワード入力ボックスと検索ボタン配置調整 */
    #search_form .input-group .input-group-search-controll{
        display: flex;
        justify-content: space-between;
    }

    /* キーワード入力ボックススタイル */
    #search_form .input-group .input-group-search-controll input{
        border: 1px solid #FFCB02;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
    }

    /* 検索ボタンスタイル */
    #search_form .input-group .input-group-search-controll .btn-search{
        border: 1px solid #FFCB02;
        background-color: #FFCB02;
    }

    /* サジェスト文字色 */
    #words-hint-sp{
        color: #ffffff !important;
    }

    /* サジェストワードボタンのスタイル */
    .words-hint-btn {
        padding: 10px;
        border-radius: 35px;
    }
}

@media screen and (max-width:374px) {
    .submenu-sp-1st-item {
        margin-left: 0;
        transform: scale(0.8);
    }
}









.header-2nd-content {
    position: relative;
    max-width: 100%;
    background-color: #383838;
}
.header-2nd-content a {
    color: #fff !important;
}

.submenu-2nd {
    display: flex;
    padding: 10px 0;
}
.submenu-2nd li {
    padding: 0 20px;
    border-right: solid 1px #fff;
}
.submenu-2nd li:first-child {
    padding-left: 0;
}
.submenu-2nd li:last-child {
    border: none;
}
.submenu-2nd li a {
    font-size: 16px;
    color: #fff !important;
}

.side_link {
    position: absolute;
    color: #ffffff;
    top: 6px;
    right: 20px;
}
.side_link a {
    display: block;
    font-weight:bold;
    cursor:pointer;
}
.side_link a img {
    width: 30px
}

.header-3rd-content {
    max-width: 100%;
    padding-top: 20px;
    justify-content: space-between;
    background-color: #b3b3b3;
}

.header-3rd-content a {
    color: #fff !important;
}
.submenu-3th-item {
    width: 45px;
    max-width: 100%;
    margin-right: 20px;
}
.submenu-3th-item.login {
    width: 75px;
    margin-right: 10px;
}
.submenu-3th-item img {
    max-width: 45px;
    height: 100%;
}
.submenu-3th-item span {
    display: block;
    margin: 5px 0;
}
.submenu-3th-item a {
    display: block;
    color: #383838 !important;
}
.submenu-3th-item:last-child {
    margin: 0;
}

.header-3rd-content .tab-item {
    display: flex;
    width: 120px;
    max-width: 100%;
    margin-right: 5px;
    font-size: 16px;
    background-color: #383838;
    border-radius: 5px 5px 0 0;
    justify-content: center;
    align-items: center;
}
.header-3rd-content .tab-item:last-child {
    margin: 0;
}
.header-3rd-content .tab-item a {
    width: 100%;
    padding: 15px 10px;
    color: #fff !important;
}
.header-3rd-content .tab-item.header-3rd-active {
    background-color: #fff;
    border: solid 1px #383838;
    border-bottom: none;
}
.header-3rd-content .tab-item.header-3rd-active a {
    width: 100%;
    padding: 15px 10px;
    color: #383838 !important;
}

@media screen and (max-width:767px) {
    .submenu-2nd li {
        display: flex;
        width: 35%;
        max-width: 120px;
        padding: 0 5px;
        justify-content: center;
        align-items: center;
    }
    /*.submenu-2nd li:last-child {*/
        /*width: 30%;*/
    /*}*/

    .submenu-2nd li a {
        font-size: 12px;
        letter-spacing: -1px;
    }

    .header-3rd-content .tab-item {
        width: 7em;
        font-size: 3vw;
    }
}
