/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
header {
    transition: all 0.3s;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 70;
    background-color: #001134;
    min-width: 1220px;
}

@media screen and (max-width: 1239px) {
    header {
        min-width: 0;
    }
}

.header__inner {
    width: 100%;
    height: 110px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1239px) {
    .header__inner {
        height: 70px;
    }
}

.header__main {
    width: 180px;
    margin-left: 42px;
}

@media screen and (max-width: 1239px) {
    .header__main {
        width: 152px;
        margin-left: 20px;
    }
}

.header__sub {
    position: relative;
    width: calc(100% - 180px - 40px);
    height: 110px;
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 1239px) {
    .header__sub {
        width: calc(100% - 200px);
        height: 70px;
        padding-right: 71px;
    }
}

.header-main__logo {
    width: 180px;
    font-size: 1px;
}

@media screen and (max-width: 1239px) {
    .header-main__logo {
        width: 152px;
    }
}

.header-main__logo .header-main__image {
    max-width: 100%;
}

.header-sub__in {
    width: calc(100% - 161px);
    padding: 0 30px 0 0;
}

@media screen and (max-width: 1239px) {
    .header-sub__in {
        width: 100%;
        padding: 0;
    }
}

.header-sub__top-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 25px;
}

@media screen and (max-width: 1239px) {
    .header-sub__top-wrap {
        display: none;
    }
}

.header-sub__bottom-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 7px;
}

@media screen and (max-width: 1239px) {
    .header-sub__bottom-wrap {
        margin-top: 0;
    }
}

.header-tnavi__lists {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-tnavi__list a.header-tnavi-link {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: normal;
    color: #fff;
}

@media screen and (hover: hover) and (min-width: 769px) {
    .header-tnavi__list a.header-tnavi-link:hover {
        opacity: 1 !important;
        color: #EEEFF2;
    }
}

.header-sub-nav__lists {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.header-sub-nav__list a.header-sub-nav-link {
    display: block;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: normal;
    color: #8695b7;
    padding-bottom: 2px;
    position: relative;
}

.header-sub-nav__list a.header-sub-nav-link::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #8695B7;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all .3s;
}

.header-sub-nav__list a.header-sub-nav-link::after {
    content: "";
    height: 20px;
    position: absolute;
    left: 0;
    transition: all .3s;
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link001 {
    padding-left: 21px;
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link001::before {
    width: calc(100% - 21px);
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link001::after {
    width: 16px;
    background: url(../../image/header-ic001.svg) no-repeat 0 0/contain;
    top: 5px;
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link002 {
    padding-left: 26px;
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link002::before {
    width: calc(100% - 26px);
}

.header-sub-nav__list a.header-sub-nav-link.header-sub-nav-link002::after {
    width: 21px;
    background: url(../../image/header-ic002.svg) no-repeat 0 0/contain;
    top: 5px;
}

@media screen and (hover: hover) and (min-width: 769px) {
    .header-sub-nav__list a.header-sub-nav-link:hover {
        opacity: 1 !important;
        color: #fff;
    }
    .header-sub-nav__list a.header-sub-nav-link:hover::before {
        background: #fff;
    }
    .header-sub-nav__list a.header-sub-nav-link:hover.header-sub-nav-link001::after {
        background: url(../../image/header-ic001-sp.svg) no-repeat 0 0/contain;
    }
    .header-sub-nav__list a.header-sub-nav-link:hover.header-sub-nav-link002::after {
        background: url(../../image/header-ic002-sp.svg) no-repeat 0 0/contain;
    }
}

.header-sub-button__wrap {
    border-left: solid 1px #34405A;
    width: 161px;
}

.header-sub-button__wrap .header-sub-button__lists {
    height: 110px;
}

@media screen and (max-width: 1239px) {
    .header-sub-button__wrap {
        display: none;
    }
}

.header-sub-button__list {
    height: 50%;
}

.header-sub-button__list:not(:first-child) {
    border-top: solid 1px #34405A;
}

.header-sub-button__list a.header-sub-button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.header-sub-button__list a.header-sub-button-link .header-sub-button-link-text {
    padding-left: 25px;
    position: relative;
}

.header-sub-button__list a.header-sub-button-link .header-sub-button-link-text::before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 0;
    transition: all .3s;
}

.header-sub-button__list a.header-sub-button-link .header-sub-button-link-text.header-sub-button-link-text001::before {
    background: url(../../image/header-ic003.svg) no-repeat 0 0/contain;
}

.header-sub-button__list a.header-sub-button-link .header-sub-button-link-text.header-sub-button-link-text002::before {
    background: url(../../image/header-ic004.svg) no-repeat 0 0/contain;
}

@media screen and (hover: hover) and (min-width: 769px) {
    .header-sub-button__list a.header-sub-button-link:hover {
        opacity: 1 !important;
        color: #001134;
        background: #EEEFF2;
    }
}

.header-lang__wrap {
    display: none;
    position: absolute;
    top: 63px;
    right: 166px;
    z-index: 20;
    background: #fff;
}

.header-lang__wrap::before {
    content: "";
    width: 17px;
    height: 8px;
    background: #fff;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    position: absolute;
    top: -8px;
    left: calc(50% - 8px);
}

.header-lang__lists {
    display: flex;
    flex-direction: column;
}

.header-lang__list:not(:first-child) {
    position: relative;
}

.header-lang__list:not(:first-child)::before {
    content: "";
    width: 100px;
    height: 1px;
    background: #d7dae5;
    position: absolute;
    top: 0;
    left: 8px;
}

.header-lang__list a.header-lang-link {
    display: block;
    padding: 7px 0 8px 26px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: #001643;
    position: relative;
}

@media screen and (hover: hover) and (min-width: 769px) {
    .header-lang__list a.header-lang-link:hover {
        opacity: 1 !important;
        background: #d7dae5;
    }
}

.header-lang__list a.header-lang-link::before {
    content: "";
    width: 6px;
    height: 10px;
    background: url(../../image/header-ar001.svg) no-repeat 0 0/contain;
    position: absolute;
    top: 15px;
    left: 14px;
}

/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
@media screen and (max-width: 989px) {
    #fontController {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #fontController {
        display: none;
    }
}

#fontController .fsize {
    display: flex;
    justify-content: end;
}

#fontController .fsize-title {
    height: 26px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

#fontController dd {
    width: 26px;
    height: 26px;
}

#fontController a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    color: #222;
    background: #d0d0d0;
    padding-top: 1px;
}

#fontController a:hover,
#fontController .small .small-btn-on,
#fontController .middle .reset-btn-on,
#fontController .large .large-btn-on {
    color: #fff;
    background: #666;
}

.header2 #fontController,
.header3 #fontController {
    display: none;
    position: absolute;
    top: 110px;
    background: #001134;
    padding: 20px 30px;
    z-index: 65;
}

#fontController.header-sub__font--no-small dd {
    width: 26px;
    height: 26px;
}

#fontController.header-sub__font--no-small dd.small {
    display: none;
}

#fontController.header-sub__font--no-small dd.middle {
    width: 52px;
    text-align: center;
}

#fontController.header-sub__font--no-small a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    color: #111;
    background: #d0d0d0;
    padding-top: 1px;
}

/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
#bgcolorController {
    margin-left: 20px;
}

@media screen and (max-width: 989px) {
    #bgcolorController {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #bgcolorController {
        display: none;
    }
}

#bgcolorController .bgcolor {
    display: flex;
    justify-content: end;
}

#bgcolorController .bgcolor-title {
    height: 22px;
    font-size: 11px;
    font-weight: bold;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

#bgcolorController dd {
    height: 25px;
    width: 25px;
}

#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: 25px;
    width: 25px;
    padding-top: 3px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
}

#bgcolorController .default a {
    color: #111;
    border-left: 1px solid #dfdfdf;
}

#bgcolorController .bgcolor-a a {
    color: #fff;
    background: #00f;
}

#bgcolorController .bgcolor-b a {
    color: #111;
    background-color: #fc0;
}

#bgcolorController .bgcolor-c a {
    color: #fff;
    background: #111;
}

.header2 #bgcolorController,
.header3 #bgcolorController {
    display: none;
    position: absolute;
    top: 110px;
    background: #fff;
    padding: 20px 30px;
    z-index: 65;
    border: 1px solid #000;
}

@media screen and (max-width: 767px) {
    .header2 #bgcolorController,
    .header3 #bgcolorController {
        display: none !important;
    }
}

/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
@media screen and (max-width: 1239px) {
    .header-search-button__wrap {
        width: 71px;
        height: 70px;
        border-left: solid 1px #34405A;
    }
}

.header-search-button__wrap a.header-search-button {
    display: block;
    overflow: hidden;
    font-size: 1px;
    text-wrap: nowrap;
    text-indent: 101%;
    width: 24px;
    height: 24px;
    background: url(../../image/search-ic001.svg) no-repeat 0 0/contain;
}

@media screen and (hover: hover) and (min-width: 769px) {
    .header-search-button__wrap a.header-search-button:hover {
        opacity: 1 !important;
        background: url(../../image/search-ic001on.svg) no-repeat 0 0/contain;
    }
}

@media screen and (max-width: 1239px) {
    .header-search-button__wrap a.header-search-button {
        width: 100%;
        height: 100%;
        background: url(../../image/search-ic001.svg) no-repeat center center/24px auto;
    }
}

.header3 #google-site-search {
    display: none;
    position: absolute;
    top: 110px;
    right: 180px;
    background: #001134;
    padding: 20px 30px;
    z-index: 65;
}

@media screen and (max-width: 1239px) {
    .header3 #google-site-search {
        top: 70px;
        right: 0;
    }
}

.site-search {
    width: 175px;
    position: relative;
    height: 23px;
    font-size: 1px;
}

.site-search .input-q {
    font-size: 12px;
    width: 150px !important;
    height: 23px;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #ccc !important;
    padding: 3px !important;
}

.site-search__search-button {
    position: absolute;
    top: 0;
    right: 0;
}

/*
$breakpoints-min: (
    'xs': 'screen and (min-width: 481px)',
    'sm': 'screen and (min-width: 769px)',
    'md': 'screen and (min-width: 990px)',
    'lg': 'screen and (min-width: 1367px)',
    'xl': 'screen and (min-width: 1921px)',
) !default;
 */
@media screen and (max-width: 1239px) {
    .gnavi-area {
        display: none !important;
    }
}

#gnavi {
    width: auto;
    margin: 0 auto;
    position: relative;
}

#gnavi > ul {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

#gnavi > ul > li > a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    letter-spacing: normal;
    font-weight: 500;
    padding-bottom: 3px;
    position: relative;
}

#gnavi > ul > li > a::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all .3s;
}

#gnavi > ul > li > a.current::before, #gnavi > ul > li > a:hover::before {
    opacity: 1;
}

#js-toggle-font-controller {
    cursor: pointer;
}

#js-toggle-bg-color-controller {
    cursor: pointer;
}

#js-toggle-site-search {
    cursor: pointer;
}
