@charset "UTF-8";

#g-nav ul li:nth-child(8) a {
  background: url(../../image/link_blank.png) calc(50% + 65px) center / 13px 13px no-repeat , white !important
}
@media screen and (max-width: 600px) {
  #g-nav ul li:nth-child(8) a {
    background: url(../../image/link_blank_right_blue.png) calc(50% + 65px) center / 13px 13px no-repeat , white !important
  }
}

@media screen and (min-width: 980px) {
  #g-nav ul {
    display: flex;
    font-size: 12px;
    justify-content: space-between;
  }
  #g-nav li {
    float: none;
    box-sizing: border-box;
    flex-grow: 1;
  }
  #g-nav li a {
    font-size: 14px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 600px) {
  #g-nav li.current-menu-item a {
    background: #fffd7c !important;
  }
}
@media screen and (min-width: 600px) {
  #g-nav li:first-child{
    display: none !important;
  }
}

@media screen and (max-width: 980px) {
  #g-nav #menu-item-394 {
    position: relative;
  }
  #g-nav #menu-item-394::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    background: #e4e4e4;
    left: 0;
    bottom: -1px;
  }
}
@media screen and (max-width: 600px){
  #g-nav #menu-item-394::after {
    display: none;
  }
}

#g-nav {
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 30px;
  height: auto;
}
#g-nav .nav-top {
  display: none;
}

#g-nav li:before, #g-nav li:last-child:after {
  display: block;
  content: "";
  width: 1px;
  height: 50px;
  float: left;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #fff), color-stop(0, #e4e4e4));
  background: -webkit-linear-gradient(#e4e4e4, #fff);
  background: -moz-linear-gradient(#e4e4e4, #fff);
  background: -o-linear-gradient(#e4e4e4, #fff);
  background: -ms-linear-gradient(#e4e4e4, #fff);
  background: linear-gradient(#e4e4e4, #fff);
}
#g-nav li:last-child:after {
  margin-top: -50px;
  float: right;
}
#g-nav a {
  color: #00036c;
  height: 50px;
  line-height: 50px;
  padding: 0;
  text-align: center;
  font-weight: bold;
  font-family: "Georgia", "FOT-セザンヌ Pro DB", YakuHanJP, Helvetica, Arial, FreeSans, san-serif;
  background: white !important;
}
#g-nav a:hover, #g-nav a:active {
  background: white !important;
  border-bottom: 3px #006bbb solid;
}

.modal-btn, #modal-nav-close {
  display: none;
}

@media screen and (max-width: 980px) {
  #g-nav li {
    width: calc(100%/4);
    text-align: center;
    border-top: 1px solid #e4e4e4;
  }
}
@media screen and (max-width: 600px) {
  .modal-btn, #modal-nav-close {
    display: block;
  }

  .modal-btn {
    position: fixed;
    line-height: 1em;
    padding: 10px 10px 8px;
    top: 18px;
    right: 15px;
    z-index: 50;
    cursor: pointer;
  }
  .modal-btn img {
    width: 18px;
    height: 12px;
  }

  #modal-btn-on {
    background: white;
  }

  #modal-btn-off {
    background: transparent;
  }

  #modal-nav {
    display: none;
  }

  #modal-nav.on {
    background: rgba(38, 129, 197, 0.9);
    padding-top: 65px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
  }
  #modal-nav.on #modal-nav-close {
    line-height: 50px;
    height: 50px;
    margin: 30px;
    text-align: center;
    color: white;
    font-size: 15px;
    border: 1px dotted white;
    cursor: pointer;
    background: url(../../image/ico-close.png) 35% center/10px 10px no-repeat, #006bbb;
  }

  #g-nav {
    border-bottom: none;
  }
  #g-nav .nav-top {
    display: block;
    background: #e9f3f9;
    color: #006bbb;
    border-bottom: 1px dotted #006bbb;
  }
  #g-nav li {
    width: 100%;
    background: #e9f3f9;
    border-bottom: 1px dotted #006bbb;
  }
  #g-nav .none-link:hover {
    background: #e9f3f9 !important;
  }
  #g-nav:nth-child(1) {
    border-top: none;
  }
  #g-nav a {
    color: #006bbb !important;
    font-weight: normal;
    border: none;
  }
}