@charset "UTF-8";

header .logo {
    text-align: center;

}

header .logo img {
    height: 50px;
}



@media print,screen and (min-width: 1010px) {
    header {
        width: 1010px;
        height: 70px;
        padding: 0 0 10px 0;
        margin: 0 auto;
    }

    header table {
        table-layout: fixed;
        width: 100%;
        height: 60px;
    }

    header table td {
        display: table-cell;
        padding: 0;
        height: 60px;
    }

    header .share_btn {
        height: 25px;
        padding: 0;
    }

    header #searchForm {
        float: left;
        width: 300px;
        height: 30px;
    }

    header #searchForm input.search_input {
        padding:4px 10px;
        width: 150px;
        /* ボタンとのずれ解消のため追加 2017/03/20 */
        height: 18px;
    }

    .search_button {
        position: absolute;
        cursor: pointer;
        *top: 1px;
        width: 50px;
        height: 30px;
        background: url(/img/common/search_btn.png) -1px top no-repeat
    }

    /* mypage_menu */
    #mypage_menu {
        position: relative;
        margin-top: 20px;
        width: 100%;
        float: right;
    }

    #mypage_menu img.profile {
        width: 30px;
        text-align: center;
        border-radius: 50%;
        -moz-border-image: border-radius: 50%;
        -webkit-border-image: border-radius: 50%;
        float: right;
    }

    #mypage_menu p {
        margin: 5px 30px 0 10px;
        float: right;
    }

    #mypage_menu ul img {
        width: 30px;
    }

    .dropmenu {
        position: relative;
        float: right;
    }

    #mypage_menu > .dropmenu_btn {
        display: block;
        width: 30px;
        text-decoration: none;
    }

    .dropmenu > ul {
        display: none;
        z-index: 9999;
        position: absolute;
        right: 0;
        width: 150px;
        padding: 0;
    }

    .dropmenu > ul li {
        display: inline-block;
        width: 150px;
        background: #f5f5f5;
        text-align: center;
        padding: 0;
        border-bottom: 1px solid #fff;
    }

    .dropmenu > ul li a {
        display: block;
        width: 150px;
        height: 30px;
        padding-top: 12px;
        color: #000;
    }

    .dropmenu > ul li a:hover {
        background: #eee;
        text-decoration: none;
    }

    #search_btn_sp,
    #search_box_sp {
        visibility: hidden;
        display: none;
        height: 0;
    }

    /* 右メニュー */
    header ul.menu {
        float: right;
        width: 200px;
    }

    header ul.menu li {
        float: left;
        margin: 0 10px;
        width: 40px;
        text-align: center;
    }
}

/* スマートフォン */
@media screen and (min-width: 0) and (max-width: 1009px) {
    html {
        overflow-x: hidden;
    }

    header {
        width: 100%;
        height: 65px;
        padding: 8px 0 0 0;
        margin: 0 auto;
        background: #fff;
        z-index: 9000;
        position: absolute;
        top: 0;
        left: 0;
    }

    header table {
        width: 100%;
        padding: 0;
        margin: 0;
        border-collapse: collapse;
        border-spacing: 0;
    }

    header table td {
        width: auto;
        display: table-cell;
    }

    /* 検索ボックス */
    header #search_btn_sp {
        position: absolute;
        top: 15px;
    }

    header #search_box_sp {
        display: none;
    }

    header #search_form {
        width: 90%;
        padding: 0 5%;
        background: #ccc;
    }

    header #search_form input {
        width: 94%;
        padding: 5px 3%;
        margin: 10px auto;
        background: #fff;
        border: none;
        height: 16px;
    }

    /* ロゴ */
    header .logo {
        width: 100%;
    }

    header .logo img {
        height: 30px;
        margin: 0 0 8px 30px;
    }

    /* mypage_menu */
    #mypage_menu {
        position: relative;
        width: 30px;
        float: right;
        margin: 5px 5px 0 0;
    }

    #mypage_menu > .dropmenu_btn {
        display: block;
        width: 30px;
        text-decoration: none;
    }

    .dropmenu > ul {
        display: none;
        z-index: 9999;
        position: absolute;
        right: 0;
        width: 150px;
        padding: 0;
    }

    .dropmenu > ul li {
        display: inline-block;
        width: 150px;
        background: #eee;
        text-align: center;
        padding: 0;
        border-bottom: 1px solid #fff;
    }

    .dropmenu > ul li a {
        display: block;
        width: 150px;
        height: 30px;
        padding-top: 12px;
        color: #000;
        text-decoration: none;
    }

    .dropmenu > ul li a:hover {
        text-decoration: none;
    }


    .fixed {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10000;
    }

    nav {

        color: #fff;
        border-bottom: 1px solid #ccc;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }



    nav ul {
        width: 2500px;
    }

    nav li {
        border-right: 1px dotted #ccc;
        float: left;
        font-size: 9px;
        display: inline-block;
    }

    nav li a {
        color: #888;
        padding: 5px 15px;
        display: block;
    }

    nav li.current {
        background: #6dc2ca;
        /*border-bottom:4px solid #6dc2ca;*/
    }

    nav li.current a {
        color: #fff;
        font-weight: bold;
    }

    header td.search,
    header .menu,
    #mypage_menu img.profile,
    #mypage_menu p {
        visibility: hidden;
        display: none;
        height: 0;
    }
}