* {
    padding: 0;
    margin: 0;
}
*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    color: #008EDC;
    text-decoration: none;
}
a:hover,
a:active {
    color: #01245D;
}
body {
    color: #333333;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
    font-weight: 500;
}
/* ============== HEADER ============== */
#header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 155px;
    padding: 10px 0 0;
    background: #fff;
    z-index: 10;
}
#header.active {
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
#header .container {
    width: 1200px;
    margin: 0 auto;
}
.header_m {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_m h1 {
    margin: 0;
    display: flex;
}
.header_m h1 a {
    display: flex;
    align-items: center;
}
.header_m h1 a:hover img {
    opacity: 1;
}
.header_m .logo_wrap .txt_w {
    display: flex;
    align-items: center;
}
.header_m .logo_wrap .ttl {
    margin: 0 15px 0 20px;
    color: #000;
    font-size: 27px;
    font-weight: 700;
}
.header_m .logo_wrap .sub_ttl {
    display: inline-block;
    height: 26px;
    padding: 5px 22px;
    background-color: #009DE1;
    border-radius: 5px;
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    vertical-align: middle;
}
.header_m .contact {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_m .contact li + li {
    margin-left: 50px;
}
.header_m .navi li a {
    display: flex;
    align-items: center;
    color: #31332C;
    font-size: 12px;
}
.header_m .navi li a span {
    display: inline-block;
    margin-right: 10px;
    line-height: 0;
}
.header_m .search_icon,
.header_m .box_search {
    display: none;
}
.icon_menu {
    display: none;
}
.header_m .form_search {
    position: relative;
    margin-top: 20px;
    text-align: right;
}
.header_m .form_search input[type="text"] {
    width: 320px;
}
.form_search input[type="text"] {
    width: 100%;
    height: 35px;
    padding: 7px 40px 5px 20px;
    background-color: #E3E3E3;
    border-radius: 35px;
    font-size: 14px;
    line-height: 1.8em;
}
.form_search input[type="submit"] {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url(../images/icon_search.svg) no-repeat center/contain;
    cursor: pointer;
}

@media screen and (min-width: 1200px) {
body { padding-top: 155px; }
}


/* ============== GNAVI ============== */

#gnavi {
    position: relative;
    height: 62px;
}
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu > li > a,
.menu > li > span {
    padding: 20px 58px;
    display: block;
    position: relative;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}
.menu li.over span::before {
    content: '';
    position: absolute;
    top: 48%;
    right:45px;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
    transition: all 0.3s ease;
    transform: translateY(-50%) rotate(45deg);
}
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    width: 100vw;
    height: 350px;
    background-color: #002F7B;
    padding: 38px 0 0;
    z-index: 7;
}
.submenu li:not(:last-child) {
    margin-bottom: 15px;
}
.submenu li {
    line-height: 1.5em;
}
.submenu li a {
    position: relative;
    padding-left: 15px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1.6em;
    transition: all 0.3s ease;
}
.submenu li a::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.submenu .ttl_link {
    position: relative;
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
}
.submenu .ttl_link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    border-top: 1px solid #fff;
}
.submenu_w {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}
.sub02 .submenu_w {
    justify-content: space-between;
}
.sub01 .sub_col:not(:last-child) {
    margin-right: 40px;
}
.sub02 .sub_col02 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 360px;
}
.sub02 .sub_col02 .ttl_link {
    width: 100%;
}
.col_spec,
.navi_sp {
    display: none;
}
#header input {
    border: none;
    outline: none;
}
#header li {
    list-style: none;
}
@media only screen and (min-width: 751px) {
    .menu > li:hover{
        background: #002F7B;
    }
    .menu > li:hover > a,
    .menu > li:hover > span {
        color: #fff;
    }
    .menu >li.over.has_link > a{
        padding: 20px 58px;
    }
    .menu li.over:hover span::before{
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
    }
    .submenu li a:hover {
        text-decoration: underline;
    }
}
@media only screen and (max-width: 750px) {
    body.hidden {
        overflow: hidden;
    }
    #header {
        height: 60px;
        padding: 0 0 0 10px;
    }
    #header .container {
        width: 100%;
    }
    #header .container,
    .header_m {
        height: 100%;
        padding: 0;
    }
    .header_m .logo_wrap .txt_w {
        justify-content: center;
        flex-direction: column;
        margin-left: 10px;
    }
    .header_m .logo_wrap .ttl {
        font-size: 18px;
        margin: 0 0 5px 0;
    }
    .header_m .logo_wrap .sub_ttl {
        font-size: 10px;
        height: 16px;
        padding: 1px 10px 0;
    }
    .navi_pc {
        display: none;
    }
    .header_m .search_icon {
        position: absolute;
        top: 50%;
        right: 75px;
        transform: translateY(-50%);
        display: block;
        line-height: 0;
    }
    .header_m .search_icon svg {
        width: 25px;
        height: 25px;
    }
    .header_m .box_search {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .header_m .box_search.active {
        opacity: 1;
        visibility: visible;
    }
    .header_m .box_search p {
        margin-bottom: 10px;
        color: #01245D;
        font-weight: 700;
    }
    .header_m .box_search .form_search {
        margin-top: 0;
    }
    .header_m .box_search input[type="text"] {
        width: 100%;
    }
    .header_m .box_search .btn_close {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 25px;
        height: 25px;
    }
    .header_m .box_search .btn_close span {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 25px;
        height: 3px;
        background-color: #002F7B;
    }
    .header_m .box_search .btn_close span:first-child {
        transform: translate(-50%,-50%) rotate(-45deg);
    }
    .header_m .box_search .btn_close span:last-child {
        transform: translate(-50%,-50%) rotate(45deg);
    }
    .icon_menu {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 60px;
        height: 60px;
        background-color: #002F7B;
    }
    .icon_menu .txt {
        color: #fff;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1em;
    }
    .icon_menu .ico {
        position: relative;
        display: inline-block;
        width: 32px;
        height: 24px;
        margin-bottom: 7px;
    }
    .icon_menu .ico::before,
    .icon_menu .ico::after,
    .icon_menu .ico span::before,
    .icon_menu .ico span::after {
        content: '';
        width: 32px;
        height: 3px;
        background-color: #fff;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.3s ease;
    }
    .icon_menu .ico::before {
        top: 0;
    }
    .icon_menu .ico::after {
        bottom: 0;
    }
    .icon_menu .ico span::before,
    .icon_menu .ico span::after {
        top: 10px;
    }
    .icon_menu.active .ico::before,
    .icon_menu.active .ico::after {
        opacity: 0;
    }
    .icon_menu.active .ico span::before {
        transform: translateX(-50%) rotate(45deg);
    }
    .icon_menu.active .ico span::after {
        transform: translateX(-50%) rotate(-45deg);
    }
    /* ============== GNAVI ============== */
    #gnavi {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        padding: 0 0 80px;
        background-color: #002F7B;
        z-index: 10;
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    #gnavi.active {
        opacity: 1;
        visibility: visible;
    }
    .menu {
        display: block;
    }
    .menu > li {
        padding: 0;
    }
    .menu > li > a,
    .menu > li > span {
        display: block;
        padding: 15px 20px 12px;
        border-bottom: 1px solid #4677C7;
        color: #fff;
        font-size: 15px;
    }
    
    .menu li.over span::before {
        top: 22px;
        right: 20px;
        width: 10px;
        height: 10px;
        border-bottom: 3px solid #fff;
        border-right: 3px solid #fff;
        transition: all 0.3s ease;
    }
    .menu li.active span::before {
        transform: rotate(225deg);
    }
    .submenu {
        position: static;
        transform: unset !important;
        width: 100%;
        height: auto;
        padding: 0;
        background-color: #fff;
    }
    .submenu_w {
        display: block;
    }
    .sub01 .sub_col:not(:last-child) {
        margin-right: 0;
    }
    .sub02 .sub_col02 {
        display: block;
        width: 100%;
    }
    .submenu .ttl_link {
        margin-bottom: 0;
        padding: 15px 20px 12px;
        background-color: #DDE5F2;
        border-bottom: 1px solid #4677C7;
        color: #01245D;
        font-size: 18px;
    }
    .submenu .ttl_link::before {
        display: none;
    }
    .submenu li:not(:last-child) {
        margin-bottom: 0;
    }
    .submenu li a {
        position: relative;
        display: block;
        padding: 15px 20px 12px 40px;
        border-bottom: 1px solid #4677C7;
        color: #31332C;
        font-size: 16px;
        text-align: left;
    }
    .submenu li a::before {
        top: 22px;
        left: 20px;
        width: 10px;
        height: 10px;
        border-top: 3px solid #aaa;
        border-right: 3px solid #aaa;
    }
    .col_spec {
        display: block;
    }
    .navi_sp {
        display: block;
        padding: 20px 20px 0;
    }
    header .navi li a {
        display: flex;
        padding: 10px 0;
        color: #fff;
        font-size: 15px;
    }
    header .navi li a span.img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        margin-right: 10px;
    }
    .menu >li.over.has_link > a{
        pointer-events: none;
    }
}