@charset "UTF-8";

/* header.css
**************************************************************************************/

/* header-layout
=============================================================================*/

.header-area {
    position: relative;
    border-top: 3px solid #26426f;
    z-index: 90;
    /*box-shadow*/
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.home .header-area {
    /*box-shadow*/
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.header-area-in {
    display: table;
    width: 1050px;
    margin: 0 auto;
    padding: 17px 0 20px 0;
}

#header .header-area-in-box {
    display: table;
    width: 100%;
}

#header .header-main {
    display: table-cell;
    vertical-align: middle;
    width: 40%;
}

#header .header-sub {
    display: table-cell;
    width: 60%;
    vertical-align: middle;
}

@media screen and (max-width: 679px) {
    .header-area {
        border-top: none;
    }

    .header-area,
    .home .header-area {
        margin-bottom: 0;
    }

    .header-area-in {
        width: 100%;
    }

    .header-area {
        padding-top: 0;
        box-shadow: none;
    }

    .home .header-area {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    #header .header-area-in {
        position: relative;
        display: block;
        padding: 0;
    }

    #header .header-area-in-box {
        display: block;
        height: auto;
    }

    #header .header-main {
        display: block;
        width: 100%;
        height: auto;
        vertical-align: top;
    }

    #header .header-sub {
        width: auto;
        display: block;
        padding: 0;
        position: static;
        vertical-align: top;
        top: 0;
    }
}

/* header-main
=============================================================================*/

#header .header-main .logo {
    padding: 5px 0 0 0;
    word-break: break-all;
}

#header .header-main .logo a {
    font-weight: bold;
    text-decoration: none;
    color: #26426f;
    line-height: 1.4em;
}

#header .header-main .logo a span {
    font-weight: bold;
    font-size: 20px;
}

@media screen and (max-width: 679px) {
    #header .header-main .logo {
        text-align: center;
        width: auto;
        padding: 15px 50px;
        min-height: 28px;
    }

    #header .header-main .logo a {
        display: block;
        position: relative;
    }

    #header .header-main .logo a span.txt-area {
        display: table;
        width: 100%;
    }

    #header .header-main .logo a span.txt-area span {
        font-size: 14px;
        padding: 0 50px;
        display: block;
    }

    #header .header-main .logo img {
        max-width: 100%;
        height: auto;
    }
}

/* header-sub
=============================================================================*/

#header .header-sub .header-sub-navi {
    text-align: right;
    font-size: 12px;
    float: right;
    margin-left: 10px;
    padding-top: 4px;
}

#header .header-sub .header-sub-navi a {
    text-decoration: none;
    color: #26426f;
}

#header .header-sub .header-sub-navi a:hover {
    filter: alpha(opacity=70);
    -moz-opacity: 0.70;
    opacity: 0.70;
}

@media screen and (max-width: 679px) {
    #header .header-sub .header-sub-navi {
        display: none;
    }
}

/*フォントサイズ変更*/
#header div#fontController {
    float: right;
    width: 96px;
    padding: 0 0 0 74px;
    background: url("../../image/fontsize-tx001.gif") no-repeat 0 12px;
}

#header div#fontController dt {
    display: none;
}

#header div#fontController dd {
    float: left;
}

#header div#fontController dd a {
    display: block;
    height: 30px;
    text-indent: 101%;
    font-size: 1px;
    white-space: nowrap;
    overflow: hidden;
    background: url("../../image/fontsize-bt001.gif") no-repeat 0 0;
}

#header div#fontController dd.small,
#header div#fontController dd.small a {
    width: 30px;
    background-position: 0 0;
    margin: 0 3px 0 0;
}

#header div#fontController dl dd.small a:hover,
#header div#fontController dl dd.small a.small-btn-on {
    background-position: 0 bottom;
}

#header div#fontController dd.middle,
#header div#fontController dd.middle a {
    width: 30px;
    background-position: -33px 0;
}

#header div#fontController dl dd.middle a:hover,
#header div#fontController dl dd.middle a.reset-btn-on {
    background-position: -33px bottom;
}

#header div#fontController dd.large,
#header div#fontController dd.large a {
    width: 30px;
    background-position: -66px 0;
    float: right;
}

#header div#fontController dl dd.large a:hover,
#header div#fontController dl dd.large a.large-btn-on {
    background-position: -66px bottom;
}

@media screen and (max-width: 679px) {
    #header div#fontController {
        display: none;
    }
}

/* サイト内検索 */
#header .search-btn {
    display: none;
}

#header div.search-wrap {
    float: right;
    margin-left: 24px;
}

#header div.search-area-in {
    width: 26px;
    padding: 0 0 0 166px;
    position: relative;
    height: 30px;
    margin: 0;
    font-size: 1px;
}

#header div.search-area input.input-q {
    font-size: 12px;
    width: 186px;
    height: 26px;
    padding: 2px;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../../image/search-bg001.gif") #f3f3f3 no-repeat left center !important;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    -o-border-radius: 30px;
    -ms-border-radius: 30px;
}

#header div.search-area input.input-q:focus {
    background: #f3f3f3 !important;
}

#header div.search-area input.rollover {
    font-size: 1px;
}

#cse-search-results iframe {
    height: auto !important;
}

#header input#btn01 {
    height: 26px;
    padding: 2px 0 0 0;
}

#header div.search-area-in #btn01 {
    width: 26px;
    height: 26px;
    position: relative;
}

#header div.search-area input.input-q::placeholder {
    color: transparent;
}
#header div.search-area input.input-q::-moz-placeholder {
    color: transparent;
}
#header div.search-area input.input-q::-webkit-input-placeholder {
    color:transparent;
}
#header div.search-area input.input-q::-moz-placeholder {
    color:transparent;
}
#header div.search-area input.input-q:-ms-input-placeholder {
    color:transparent;
}

@media screen and (max-width: 679px) {
    #header div.search-area-in {
        height: 30px;
    }

    #header .search-btn {
        display: block;
        width: 36px;
        height: 36px;
        position: absolute;
        top: 11px;
        right: 10px;
    }

    #header .search-btn img {
        width: 36px;
        height: 36px;
    }

    #header div.search-wrap {
        display: none;
        position: absolute;
        top: 48px;
        right: 0;
        z-index: 100;
        float: none;
        margin: 0;
        width: 100%;
    }

    #header div.search-deco {
        padding: 6px 0 0 0;
    }

    #header div.search-area {
        padding: 20px 0 0 0;
        height: 55px;
        background: url("../../image/sp/menu-bg001.png") repeat 0 0;
    }

    #header div.search-area-in {
        margin: 0 auto;
        padding: 0 0 0 180px;
        width: 30px;
    }

    #header div.search-area input.input-q {
        height: 30px !important;
        width: 208px !important;
        font-size: 14px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

}

/* gnavi
=============================================================================*/

.gnavi-area {
    width: 100%;
    background: #fff;
}

#gnavi {
    width: 1050px;
    margin: 0 auto;
}

#gnavi ul {
    letter-spacing: -0.4em;
    word-spacing: -0.1em;
    text-align: center;
}

#gnavi ul li {
    letter-spacing: normal;
    word-spacing: normal;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

#gnavi ul li a {
    display: block;
    padding: 20px 40px;
    color: #26426f;
    text-decoration: none;
    font-size: 123.1%;
}

#gnavi ul li a.current,
#gnavi ul li a:hover {
    background: #f3f3f3;
}

/*menu*/
#header .menu-btn {
    display: none;
}

@media screen and (max-width: 679px) {
    .gnavi-area {
        width: 100%;
        display: none;
        position: absolute;
        top: 48px;
        left: 0;
        z-index: 100;
        background: none;
    }

    #gnavi {
        width: 100%;
        background: url("../../image/sp/menu-dc001.png") no-repeat 21px top;
        padding: 6px 0 0 0;
    }

    #gnavi ul {
        background: url("../../image/sp/menu-bg001.png") repeat 0 0;
        padding: 0;
    }

    #gnavi ul li {
        float: none;
        width: 100%;
        padding: 0;
        display: block;
        border-bottom: 1px solid #666;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    #gnavi ul li a {
        font-size: 14px;
        background: none;
        background: url("../../image/sp/menu-ar001.png") no-repeat 7px center;
        background-size: 7px auto;
        padding: 18px 5px 18px 20px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
        line-height: 1.4em;
        color: #FFFFFF !important;
        text-align: left;
    }

    #gnavi ul li a.current {
        background-color: transparent;
    }

    #gnavi ul li a:hover {
        background: #4c4c4c;
        color: #fff;
    }

    /*menu*/
    #header .menu-btn {
        display: block;
        position: absolute;
        top: 11px;
        left: 10px;
    }

    #header .menu-btn img {
        width: 36px;
        height: 36px;
    }
}
