@charset "UTF-8";
#head_wrap {
  position: fixed;
  width: 100%;
  line-height: 1;
  z-index: 999;
  height: 0px;
  text-decoration: none;
}
#head_wrap .header_inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
  -webkit-transition: 1s;
  transition: 1s;
}
@media (max-width: 1680px) {
  #head_wrap .header_inner {
    background-color: rgba(255, 255, 255, 0.95);
  }
}
#head_wrap .header_inner:after {
  content: "";
  clear: both;
  display: block;
}
#head_wrap .header_inner .site-title {
  float: left;
  font-size: 27px;
  font-weight: 700;
  padding: 0.75em 1em;
  border-radius: 0 0 0.5em;
  margin: 0;
}
@media (max-width: 811px) {
  #head_wrap .header_inner .site-title {
    padding: 0.5em;
  }
}
@media (max-width: 680px) {
  #head_wrap .header_inner .site-title {
    padding: 10px 0.5em 5px;
  }
}
#head_wrap .header_inner .site-title img {
  height: 80px;
}
@media (max-width: 680px) {
  #head_wrap .header_inner .site-title img {
    max-height: 60px;
  }
}
#head_wrap .header_inner .site-title a {
  color: #000;
}
#head_wrap .header_inner .site-description {
  margin: 0;
}

#global-nav {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
#global-nav ul {
  list-style: none;
  margin-right: 1em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: linear-gradient(-225deg, #0345c8 0%, #011640 38%, #0345c8 68%, #011640 100%);
  border-radius: 2em;
  padding-left: 1em;
  padding-right: 1em;
}
@media (max-width: 520px) {
  #global-nav ul {
    display: block;
    margin-right: 0px;
  }
}
#global-nav ul li {
  padding: 0 1em;
}
#global-nav ul li:last-child {
  border-right: none;
}
@media (max-width: 520px) {
  #global-nav ul li {
    border-right: none;
  }
}
#global-nav ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: all 0.6s ease 0s;
  transition: all 0.6s ease 0s;
  padding: 1em 0;
  color: white;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  position: relative;
}
#global-nav ul li a:visited {
  color: white;
}
#global-nav ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: white;
  bottom: 0;
  left: 0;
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
#global-nav ul li a:hover {
  color: white;
}
#global-nav ul li a:hover::before {
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
#global-nav.main-navigation {
  width: auto;
}
@media (max-width: 811px) {
  #global-nav.main-navigation {
    width: 70vw;
  }
}
#global-nav.main-navigation ul ul {
  -webkit-transition: all 0.6s ease 0s;
  transition: all 0.6s ease 0s;
}
#global-nav .page_item_has_children a {
  -webkit-transition: all 0.6s ease 0s;
  transition: all 0.6s ease 0s;
}

/* Fixed */
#head_wrap.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  height: 100px;
  -webkit-transition: top 1.2s ease-in;
  transition: top 1.2s ease-in;
  z-index: 9999;
}
#head_wrap.fixed .header_inner {
  background-color: rgba(255, 255, 255, 0.95);
}
#head_wrap.fixed .header_inner .site-title a {
  color: #222;
}
@media (max-width: 680px) {
  #head_wrap.fixed {
    height: 70px;
  }
}
#head_wrap.fixed .logo {
  font-size: 36px;
  color: #333;
}
#head_wrap.fixed #global-nav ul {
  background: none;
}
#head_wrap.fixed #global-nav ul a {
  color: #011640;
  text-shadow: none;
}
@media (max-width: 811px) {
  #head_wrap.fixed #global-nav ul a {
    color: #fff;
  }
}
#head_wrap.fixed #global-nav ul a:visited {
  color: #011640;
}
@media (max-width: 811px) {
  #head_wrap.fixed #global-nav ul a:visited {
    color: #fff;
  }
}

/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 1100;
}
#nav-toggle div {
  position: relative;
}

@media (max-width: 811px) {
  #head_wrap {
    top: 0;
    position: fixed;
    margin-top: 0;
    width: 100%;
    padding: 0;
    /* Fixed reset */
  }
  #head_wrap .inner {
    width: 100%;
    padding: 0;
  }
  #head_wrap .fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    width: 100%;
    height: 70px;
    z-index: 999;
    position: relative;
  }
  #head_wrap.fixed .logo,
#head_wrap .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
    padding: 0;
    max-height: 50px;
  }
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: auto;
    right: -70vw;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    text-align: center;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    -webkit-transform: unset;
            transform: unset;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    margin-top: 6em;
    display: block;
    margin-right: 0;
    border-radius: 0;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #head_wrap #global-nav ul li a,
#head_wrap.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 2em 0;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle 切り替えアニメーション */
  #nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    background: #011640;
    left: 0;
    -webkit-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 11px;
  }
  #nav-toggle span:nth-child(3) {
    top: 22px;
  }
  .open #nav-toggle span {
    background: #3185FC;
  }
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    right: 0;
    z-index: 999;
    background: #011640;
  }
}/*# sourceMappingURL=header.css.map */