/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
@import url("//fonts.googleapis.com/earlyaccess/notosansjapanese.css");

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
  transition: .6s ease;
  z-index: 10;
}

.header .header-inner {
  position: relative;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 1000px;
}

.header .logo {
  margin-right: auto;
  display: block;
}

.header .logo .name {
  color: #333333;
  font-size: 13px;
  margin-top: 3px;
}

.header .nav-bar {
  background: #0e5fb0;
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  transition: right .4s ease;
  z-index: 999;
  cursor: pointer;
}

.header .nav-bar span {
  display: inline-block;
  width: 60%;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: .4s ease;
  left: 20%;
}

.header .nav-bar span:nth-child(1) {
  top: 25%;
}

.header .nav-bar span:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

.header .nav-bar span:nth-child(3) {
  bottom: 25%;
}

.nav-bar.active span:nth-child(3){
  bottom: 18%;
}

.header .nav-bar.active span:nth-of-type(1) {
  -webkit-transform: translateY(18.6666666667px) rotate(-315deg);
  transform: translateY(18.6666666667px) rotate(-315deg);
}

.header .nav-bar.active span:nth-of-type(2) {
  opacity: 0;
}

.header .nav-bar.active span:nth-of-type(3) {
  -webkit-transform: translateY(-18.6666666667px) rotate(315deg);
  transform: translateY(-18.6666666667px) rotate(315deg);
}

.header .g-nav {
  position: absolute;
  top: 80px;
  right: -416px;
  width: 260px;
  max-height: calc(100vh - 80px - 20px);
  overflow-y: auto;
  display: block;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, right 0.4s ease;
  z-index: 6;
  box-sizing: border-box;
}

.header .g-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.header .g-nav.open {
  right: 0;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav.header-inner-lst{
  max-height: calc(100vh - 80px);
  height: auto;
}

.header .g-nav .nav {
  width: 100%;
  display: block;
}

.header .g-nav li {
  border-bottom: solid 1px #B5B5B6;
  background: #fff;
}

.nav-login a{
  display: block;
  color: #fff;
  background: #0e5fb0;
}

.header .g-nav li a {
  display: block;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .025em;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 16px;
}

.header .g-nav li a:not(:first-child){
  padding-top: 0;
  padding-left: 48px;
}

.nav-contact{
  background: #D9E021;
}

.g-nav.open .header-inner-itm{
  display: block;
}

.header .g-nav li a:hover{
  color: #0e5fb0;
}

.header .g-nav .nav-contact {
  width: 100%;
}

.header .g-nav .nav-contact a {
  display: block;
  background: #FCEE21;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
}

.header .g-nav .nav-login {
  width: 100%;
}

.header .g-nav .nav-login a {
  display: block;
  color: #fff;
  background: #0e5fb0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.header .g-nav .nav-login a:hover {
  opacity: .6;
  color: #fff;
}

.header .g-nav .nav-login2 a {
  padding: 26px 0 25px;
}

.header-inner-itm .soccer-icon,
.header-inner-itm .baseball-icon{
  position: relative;
  padding-left: 33px !important;
}

.header-inner-itm .soccer-icon.baseball-icon{
  padding-left: 50px !important;
}

.soccer-icon::before,
.baseball-icon::after{
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  bottom: 0;
  left: 15px;
  margin: auto;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  background-color: #333333;
}

.soccer-icon:hover::before,
.baseball-icon:hover::after {
  background-color: #0e5fb0;
}

.soccer-icon::before{
  mask-image: url(../img/facility/icn-sc.svg);
}

.baseball-icon::after{
  left: 33px;
  mask-image: url(../img/facility/icn-bs.svg);
}

@media only screen and (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    z-index: 99;
  }

  .header .logo img {
    height: 53.3333333333px;
    width: auto;
  }

  .header .logo .name {
    font-size: 13.3333333333px;
    margin-top: 6.6666666667px;
  }

  .header .nav-bar{
    right: 0;
  }

  .header .nav-bar.active{
    right: 260px;
  }

  .header .g-nav {
    right: -260px;
    top: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, right 0.4s ease;
  }
  .header .header-inner{
    width: auto;
  }

  .header .g-nav.open {
    right: 0;
    opacity: 1;
    transform: translateX(0);
    max-height: 100dvh;
  }

  .header .g-nav .nav {
    width: 100%;
    display: block;
    max-height: 100dvh;
  }

  .header .g-nav li a,
  .header .g-nav .nav-contact a{
    font-size: 14px;
  }

  .header .g-nav .nav-contact,
  .header .g-nav .nav-login {
    width: 100%;
    text-align: left;
    line-height: 1;
  }

  .header .g-nav .nav-login {
    border-top: solid 1px #fff;
  }

  .header .g-nav .nav-reserve {
    border-top: solid 1px #B5B5B6;
  }

  .header .g-nav .nav-reserve a {
    background: #d9e021;
    color: #333333;
  }

  .header .nav-bar span:nth-child(3) {
    bottom: 25%;
  }
}

@media only screen and (max-width: 480px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 99;
  }

  .header .logo img {
    height: 40px;
    width: auto;
  }

  .header .logo .name {
    font-size: 10px;
    margin-top: 5px;
  }

  .header .nav-bar {
    background: #0e5fb0;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    transition: right .4s ease;
    z-index: 999;
  }

  .header .nav-bar.active {
    right: 260px;
  }

  .header .nav-bar span {
    display: inline-block;
    width: 60%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: .4s ease;
    left: 20%;
  }

  .header .nav-bar span:nth-child(1) {
    top: 25%;
  }

  .header .nav-bar span:nth-child(2) {
    top: 50%;
    margin-top: -1px;
  }

  .header .nav-bar span:nth-child(3) {
    bottom: 25%;
  }

  .header .nav-bar.active span:nth-of-type(1) {
    -webkit-transform: translateY(14px) rotate(-315deg);
    transform: translateY(14px) rotate(-315deg);
  }

  .header .nav-bar.active span:nth-of-type(2) {
    opacity: 0;
  }

  .header .nav-bar.active span:nth-of-type(3) {
    -webkit-transform: translateY(-14px) rotate(315deg);
    transform: translateY(-14px) rotate(315deg);
  }

  .header .g-nav {
    width: 260px;
    height: 100dvh;
    position: absolute;
    top: 0;
    right: -260px;
    display: block;
    z-index: 6;
    transition: right .4s ease;
  }

  .header .g-nav li {
    border-bottom: solid 1px #B5B5B6;
  }

  .header .g-nav .nav-contact,
  .header .g-nav .nav-login {
    width: 100%;
    text-align: left;
    line-height: 1;
  }

  .header .g-nav .nav-login {
    border-top: solid 1px #fff;
  }

  .header .g-nav .nav-reserve {
    border-top: solid 1px #B5B5B6;
  }

  .header .g-nav .nav-reserve a {
    background: #d9e021;
    color: #333333;
  }
}

.cover {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  z-index: 4;
}

.header.is-fixed {
  position: fixed;
  top: 0 !important;
  left: 0;
  z-index: 8;
  width: 100%;
}
