/* Header Layout
============================================================================= */
header {
    background: #fff;
}

#header {
    width: 100%;
}

.header__inner {
    width: 1200px;
    height: 90px;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 767px) {
    .header__inner {
        width: auto;
        height: 71px;
    }
}

.header__main {
    width: 356px;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .header__main {
        width: 235px;
        top: 23px;
        left: 10px;
    }
}

.header__sub {
    position: relative;
    padding-top: 30px;
}

/* header-main
============================================================================= */
.header-main__logo {
    width: 356px;
    font-size: 1px;
}
.header-main__logo::after {
    content: '';
    width: 74px;
    height: 64px;
    background: url(../../image/mascot-header.png) no-repeat 0 0 / 74px auto;
    position: absolute;
    top: -17px;
    right:-17px;
    z-index: -1;
}

@media screen and (max-width: 767px) {
    .header-main__logo {
        width: 235px;
    }
    .header-main__logo::after {
        width: 35px;
        height: 30px;
        background: url(../../image/mascot-header.png) no-repeat 0 0 / 35px auto;
        top: -6px;
        right: 0;
    }
}

.header-main__logo .header-main__image {
    max-width: 100%;
    padding-right: 63px;
}

@media screen and (max-width: 767px) {
    .header-main__logo .header-main__image {
        padding-right: 40px;
    }
}

/* header-contents
============================================================================= */
.header-sub__menu {
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 767px) {
    .header-sub__menu {
        margin-top: 0;
    }
}

/* font-size
============================================================================= */
@media screen and (max-width: 767px) {
    #fontController {
        display: none;
    }
}

#fontController .fsize {
    display: flex;
    justify-content: end;
}

#fontController .fsize-title {
    width: 50px;
    height: 30px;
    font-size: 1px;
    margin-right: -4px;
    background: url("../../image/header-tx001.png") no-repeat 0 0;
    display: block;
    text-indent: -999%;
    font-size: 1px;
    white-space: nowrap;
    overflow: hidden;
}

#fontController dd {
    height: 30px;
}

#fontController dd.small {
    display: none;
}

#fontController dd.middle {
    width: 50px;
    margin-right: 1px;
}

#fontController dd.large {
    width: 57px;
}

#fontController a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    background: #4898cf;
    border: 2px solid #8cc1e7;
    padding-top: 1px;
}

#fontController a:hover,
#fontController .small .small-btn-on,
#fontController .middle .reset-btn-on,
#fontController .large .large-btn-on {
    color: #79bbe8;
    background: #fff;
    border: 2px solid #79bbe8;
}

/* background-color
============================================================================= */
#bgcolorController {
    margin-left: 17px;
}

@media screen and (max-width: 767px) {
    #bgcolorController {
        display: none;
    }
}

#bgcolorController .bgcolor {
    display: flex;
    justify-content: end;
}

#bgcolorController .bgcolor-title {
    width: 52px;
    height: 30px;
    margin-right: 5px;
    background: url("../../image/header-tx002.png") no-repeat 0 0;
    display: block;
    text-indent: -999%;
    font-size: 1px;
    white-space: nowrap;
    overflow: hidden;
}

#bgcolorController dd {
    width: 30px;
    height: 30px;
    margin-right: 1px;
}

#bgcolorController a:hover,
#bgcolorController .default .reset-btn-on,
#bgcolorController .bgcolor-a .bgcolor-a-btn-on,
#bgcolorController .bgcolor-b .bgcolor-b-btn-on,
#bgcolorController .bgcolor-c .bgcolor-c-btn-on {
    opacity: 0.75;
}

#bgcolorController a {
    display: block;
    height: 30px;
    width: 30px;
    padding-top: 5px;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    border-radius: 50%;
}

#bgcolorController .default a {
    color: #111;
    border: 1px solid #d8d8d8;
}

#bgcolorController .bgcolor-a a {
    color: #fff;
    background: #0515b1;
}

#bgcolorController .bgcolor-b a {
    color: #111;
    background-color: #ffba00;
}

#bgcolorController .bgcolor-c a {
    color: #fff;
    background: #333;
}

/* search-area
============================================================================= */
.header-sub__site-search-wrapper {
    margin-left: 16px;
}

@media screen and (max-width: 767px) {
    .header-sub__site-search-wrapper {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .site-search {
        position: absolute;
        top: 71px;
        left: 0;
        width: 100%;
        height: 71px;
        z-index: 55;
        background: rgba(0, 97, 165, 0.9);
        transition: all 0.3s;
        overflow: hidden;
        max-height: 0;
        min-height: 0;
        border: none;
    }
}

.site-search__inner {
    width: 240px;
    position: relative;
    height: 30px;
    font-size: 1px;
    border: 2px solid #4898cf;
    background: #fff;
}

.site-search__inner::after {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    background: #8ac1e8;
    position: absolute;
    right: 37px;
    top: 5px;
}

@media screen and (max-width: 767px) {
    .site-search__inner {
        margin: 20px auto 0;
        border: 2px solid #fff;
        background: #fff;
    }
}

.site-search .input-q {
    font-size: 12px;
    width: 200px!important;
    height: 26px!important;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px !important;
    border: none !important;
}

.site-search__search-button {
    position: absolute;
    top: 5px;
    right: 8px;
}

.site-search__state-check {
    display: none;
}

.site-search-sp-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 63px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .site-search-sp-button {
        display: block;
    }
}

.site-search-sp-button__open {
    max-width: 100%;
    display: block;
}

.site-search-sp-button__close {
    max-width: 100%;
    display: none;
}

.site-search__state-check:checked + .site-search-sp-button .site-search-sp-button__open {
    display: none;
}

.site-search__state-check:checked + .site-search-sp-button .site-search-sp-button__close {
    display: block;
}

.site-search__state-check:checked ~ .site-search {
    max-height: 70px;
    min-height: 70px;
}

.header-sub__sitemap {
    margin-left: 16px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
}

.header-sub__sitemap::before {
    position: absolute;
    left: 0;
    top: 12px;
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #0071c1;
    border-left: 2px solid #0071c1;
    transform: rotate(135deg);
}

.header-sub__sitemap a {
    color: #1b77b8;
}

@media screen and (max-width: 767px) {
    .header-sub__sitemap {
        display: none;
    }
}

/* gnavi
============================================================================= */
.gnavi-area {
    background: #0180da;
    /* Old browsers */
    background: linear-gradient(to bottom, #0180da 0%, #0066b3 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

@media screen and (max-width: 767px) {
    .gnavi-area {
        display: none;
    }
}

.global-nav__wrapper {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.global-nav__lists {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 100%;
}

.global-nav__list {
    line-height: 1;
    position: relative;
    padding: 3px 8px;
    height: 100px;
}

.global-nav__list::after {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 40px;
}

.global-nav__list.gnavi005::after {
    content: none;
}

.global-nav__list.gnavi006 {
    background: #0e9900;
}

.global-nav__list.gnavi006::after,.global-nav__list.gnavi006::after  {
    content: none;
}

.global-nav__list.gnavi006 .global-nav__list-in {
    height: 100%;
}
.global-nav__list.gnavi007 {
    background: #fa8c12;
}
.global-nav__list.gnavi007::after,.global-nav__list.gnavi007::after  {
    content: none;
}
.global-nav__list.gnavi007 .global-nav__list-in {
    height: 100%;
}
.global-nav__lists-in{
    display: flex;
}

.global-nav__link {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 0 20px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

.global_nav__txt {
    font-weight: normal;
    position: relative;
    top: -21px;
}

.global-nav__list.gnavi001 .global-nav__link {
    background: url("../../image/gnavi-ic001.png") no-repeat center 20px;
}

.global-nav__list.gnavi001 .global-nav__link.current, .global-nav__list.gnavi001 .global-nav__link:hover {
    background: url("../../image/gnavi-ic001-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
}

.global-nav__list.gnavi002 .global-nav__link {
    background: url("../../image/gnavi-ic002.png") no-repeat center 20px;
}

.global-nav__list.gnavi002 .global-nav__link.current, .global-nav__list.gnavi002 .global-nav__link:hover {
    background: url("../../image/gnavi-ic002-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
}

.global-nav__list.gnavi003 .global-nav__link {
    background: url("../../image/gnavi-ic003.png") no-repeat center 20px;
}

.global-nav__list.gnavi003 .global-nav__link.current, .global-nav__list.gnavi003 .global-nav__link:hover {
    background: url("../../image/gnavi-ic003-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
}

.global-nav__list.gnavi004 .global-nav__link {
    background: url("../../image/gnavi-ic004.png") no-repeat center 20px;
}

.global-nav__list.gnavi004 .global-nav__link.current, .global-nav__list.gnavi004 .global-nav__link:hover {
    background: url("../../image/gnavi-ic004-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
}

.global-nav__list.gnavi005 .global-nav__link {
    background: url("../../image/gnavi-ic005.png") no-repeat center 20px;
}

.global-nav__list.gnavi005 .global-nav__link.current, .global-nav__list.gnavi005 .global-nav__link:hover {
    background: url("../../image/gnavi-ic005-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
}

.global-nav__list.gnavi006 .global-nav__link {
    background: url("../../image/gnavi-ic006.png") no-repeat center 20px;
}

.global-nav__list.gnavi006 .global-nav__link.current, .global-nav__list.gnavi006 .global-nav__link:hover {
    background: url("../../image/gnavi-ic006-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
    color: #0e9900 !important;
}

.global-nav__list.gnavi007 .global-nav__link {
    background: url("../../image/gnavi-ic007.png") no-repeat center 20px;
}
.global-nav__list.gnavi007 .global-nav__link.current, .global-nav__list.gnavi007 .global-nav__link:hover {
    background: url("../../image/gnavi-ic007-on.png") no-repeat center 20px #fff;
    opacity: 1 !important;
    color: #fa8c12 !important;
}

.global-nav__link.current,
.global-nav__link:hover {
    color: #0c5f9f;
}

/*# sourceMappingURL=../maps/base/header.css.map */
