@charset "UTF-8";
body {
  overflow-x: hidden;
}

header {
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ddd;
}
@media (min-width: 771px) {
  header {
    border-top: solid 8px #083597;
  }
}
@media (max-width: 770px) {
  header {
    position: relative;
    height: 55px;
    z-index: 100;
  }
}
header .header_inner {
  width: min(96%, 1450px);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 771px) {
  header .header_inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
    align-items: end;
  }
}
header .header_site_name a.site_title {
  display: inline-block;
  font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-decoration: none;
  position: relative;
  padding-left: 78px;
  padding-right: 20px;
}
@media (min-width: 771px) {
  header .header_site_name a.site_title {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 770px) {
  header .header_site_name a.site_title {
    padding-left: 48px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}
header .header_site_name a.site_title::before {
  content: "";
  display: block;
  background-image: url(./../img/common/site_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 770px) {
  header .header_site_name a.site_title::before {
    width: 40px;
    height: 40px;
  }
}
header .header_site_name a.site_title h1.title {
  font-size: 37px;
  letter-spacing: 0.05em;
  margin-left: 0.05em;
}
@media (max-width: 770px) {
  header .header_site_name a.site_title h1.title {
    font-size: 21px;
  }
}
header .header_site_name a.site_title .title_en {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.35em;
  font-weight: bold;
  margin-top: 10px;
  margin-left: 0.35em;
}
@media (max-width: 770px) {
  header .header_site_name a.site_title .title_en {
    font-size: 10px;
    margin-top: 6px;
    letter-spacing: 0.2em;
  }
}
@media (min-width: 771px) {
  header #global_nav {
    margin-left: auto;
  }
}
@media (max-width: 770px) {
  header #global_nav {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #e4effa;
    overflow: hidden;
    height: 0;
    transition: height 0.35s ease;
  }
}
header #global_nav ul li a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (min-width: 771px) {
  header #global_nav ul li a {
    transition: color 0.3s;
  }
  header #global_nav ul li a:hover {
    color: #c30e24;
  }
}
@media (max-width: 770px) {
  header #global_nav ul li a {
    font-size: 13px;
    padding-left: 20px;
    padding-right: 20px;
  }
  header #global_nav ul li a:hover {
    background-color: #d4e1f9;
    color: #333;
  }
}
@media (min-width: 771px) {
  header #global_nav ul li.current-menu-item > a {
    color: #c30e24;
  }
}
@media (max-width: 770px) {
  header #global_nav ul li.current-menu-item > a {
    background-color: #c2d5ff;
  }
}
@media (min-width: 771px) {
  header #global_nav ul li.menu-item-has-children {
    position: relative;
  }
  header #global_nav ul li.menu-item-has-children:hover > ul.sub-menu {
    max-height: 500px;
    opacity: 1;
  }
}
@media (min-width: 771px) {
  header #global_nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }
}
header #global_nav ul.sub-menu {
  flex-direction: column;
  gap: initial;
}
@media (min-width: 771px) {
  header #global_nav ul.sub-menu {
    display: block;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    width: -moz-max-content;
    width: max-content;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
}
@media (min-width: 771px) {
  header #global_nav ul.sub-menu li a {
    padding: 16px 10px;
  }
}
@media (max-width: 770px) {
  header #global_nav ul.sub-menu li a {
    padding-left: 32px;
  }
}
@media (min-width: 771px) {
  header #global_nav ul.sub-menu li a:hover {
    background-color: #d4e1f9;
    color: #333;
  }
}
@media (min-width: 771px) {
  header .header_link {
    position: absolute;
    top: -14px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    max-width: 1450px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media (max-width: 770px) {
  header .header_link {
    font-size: 13px;
  }
}
header .header_link a {
  display: block;
  padding: 8px 8px;
}
@media (min-width: 771px) {
  header .header_link a {
    transition: opacity 0.3s;
  }
  header .header_link a:hover {
    opacity: 0.7;
  }
}
@media (max-width: 770px) {
  header .header_link a {
    padding: 15px 20px;
    display: block;
  }
}
header .header_link a:hover {
  color: #333;
}
@media (max-width: 770px) {
  header .header_link a:hover {
    background-color: #d4e1f9;
  }
}
header .header_link a img {
  width: auto;
  height: 30px;
}
@media (max-width: 770px) {
  header .header_link a img {
    height: 26px;
  }
}
header .header_link a.external_link {
  text-decoration: none !important;
  font-weight: 600;
  padding-top: 14px;
  padding-bottom: 17px;
}
header .header_link a.external_link::before {
  content: "";
  display: inline-block;
  background-image: url(./../img/common/icon_external_bk.svg);
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  padding-left: 0.2em;
  vertical-align: text-top;
}
@media (max-width: 770px) {
  header .header_link a.external_link {
    padding: 19px 20px;
  }
}
header {
  /* メニューボタン */
}
@media (max-width: 770px) {
  header a.menu_button {
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 9;
    border-left: 1px solid #ddd;
    display: inline-block;
    font-size: 11px;
    color: #333;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-decoration: none;
    background: #083597;
    color: #fff;
  }
  header a.menu_button span {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
  }
  header a.menu_button:before {
    font-family: "design_plus";
    content: "\f0c9";
    color: #fff;
    display: block;
    position: absolute;
    top: 17px;
    left: 19px;
    font-size: 18px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  header a.menu_button:hover, header a.menu_button.active {
    background: #083597;
  }
  header a.menu_button:hover:before, header a.menu_button.active:before {
    color: #fff;
  }
}

@media (max-width: 770px) {
  /* オーバーレイ初期状態 */
  .mask {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 50;
  }
  /* 表示状態 */
  .mask.active {
    opacity: 1;
    visibility: visible;
  }
  /* ナビはオーバーレイより上に */
  #global_nav {
    position: fixed;
    z-index: 60;
  }
}/*# sourceMappingURL=header.css.map */