@charset "UTF-8";

/** スクロール位置によって、ヘッダー高さ変更時のアニメーション **/
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* **-- header ---------------------------- */
header {
  z-index: 999;
  background-color: transparent;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: var(--header);
  transition: height 0.3s linear;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  /* nav */
  /* スクロール時 */
}
header #logo {
  width: 147px;
  min-width: 80px;
}
header #logo img:nth-of-type(1) {
  animation: show 1.5s linear 0s;
  display: block;
}
header #logo img:nth-of-type(2) {
  display: none;
}
header #nav {
  display: flex;
  align-items: center;
}
header #nav #nav-list-wrapper {
  display: inherit;
}
header #nav #nav-list-wrapper ul {
  display: flex;
  align-items: center;
}
header #nav #nav-list-wrapper ul li {
  text-align: center;
  list-style-type: none;
  margin: 0;
  padding: 0 20px 0 20px;
}
header #nav #nav-list-wrapper ul li a,
header #nav #nav-list-wrapper ul li a:link,
header #nav #nav-list-wrapper ul li a:visited,
header #nav #nav-list-wrapper ul li a:hover {
  color: #D4D9E4;
  text-decoration: none;
}
header #nav #nav-list-wrapper ul li a:after {
  color: #D4D9E4;
  opacity: 0.6;
  font-size: 12px;
  display: block;
  margin-top: 5px;
}
header #nav #nav-list-wrapper ul li.nav-facility a:after {
  content: "Facility";
}
header #nav #nav-list-wrapper ul li.nav-price a:after {
  content: "Price";
}
header #nav #nav-list-wrapper ul li.nav-course a:after {
  content: "Course";
}
header #nav #nav-list-wrapper ul li.nav-hotel a:after {
  content: "Hotel";
}
header #nav #nav-list-wrapper ul li.nav-restaurant a:after {
  content: "Restaurant";
}
header #nav #nav-list-wrapper ul li.nav-access a:after {
  content: "Access";
}
header #nav #reserve-button:hover {
  opacity: 0.5;
}
header #nav #reserve-button img {
  padding-right: 5px;
}
header #nav #sp-menu-button {
  display: none;
}
header.scrolling {
  height: var(--header);
  position: fixed;
  animation: headerAnime 0.8s ease;
}
header.scrolling #logo {
  width: 147px;
  min-width: 80px;
}
header.scrolling #logo img:nth-of-type(1) {
  display: none;
}
header.scrolling #logo img:nth-of-type(2) {
  animation: show 1.5s linear 0s;
  display: block;
}
header.scrolling #nav #nav-list-wrapper ul li a:after {
  display: none;
}
header.scrolling #nav #reserve-button {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media only screen and (max-width: 1024px) {
  /*----- ハンバーガーメニュー -----*/
  header #nav {
    /*----- グローバルメニュー -----*/
  }
  header #nav #sp-menu-button {
    display: block;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 47px;
    z-index: 999;
  }
  header #nav #sp-menu-button span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    height: 3px;
    border-radius: 2px;
    background-color: #D4D9E4;
    left: 0;
    right: 0;
    width: 54%;
    margin: auto;
  }
  header #nav #sp-menu-button span:nth-of-type(1) {
    top: 13px;
  }
  header #nav #sp-menu-button span:nth-of-type(2) {
    top: 23px;
  }
  header #nav #sp-menu-button span:nth-of-type(3) {
    top: 33px;
  }
  header #nav #sp-menu-button.active span:nth-of-type(1) {
    transform: translateY(0px) rotate(-45deg);
    top: 20px;
    width: 60%;
  }
  header #nav #sp-menu-button.active span:nth-of-type(2) {
    opacity: 0;
  }
  header #nav #sp-menu-button.active span:nth-of-type(3) {
    transform: translateY(0px) rotate(45deg);
    top: 20px;
    width: 60%;
  }
  header #nav #nav-list-wrapper {
    position: fixed;
    z-index: 999;
    top: var(--header);
    left: 0;
    right: 0;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100 - var(--header));
    background-color: #0F1744;
    visibility: hidden;
    opacity: 0;
    transition-property: opacity visibility;
    transition-duration: 0.5s;
  }
  header #nav #nav-list-wrapper.panelactive { /*アクティブクラスがついたらフェードイン*/
    visibility: visible;
    opacity: 1;
  }
  header #nav #nav-list-wrapper ul { /*ナビゲーション*/
    position: absolute;
    z-index: 999;
    display: flex;
    flex-flow: column;
    justify-content: center;
    overflow: auto;
    border: 1px solid #DEDEDD;
    top: 32px;
    bottom: 32px;
    left: 32px;
    right: 32px;
    margin: auto;
  }
  header #nav #nav-list-wrapper ul li {
    margin: 18px 0;
  }
  header #nav #nav-list-wrapper ul li a {
    letter-spacing: 0.1em;
    font-size: 20px;
  }
}
@media only screen and (max-width: 767px) {
  body {
    padding-top: 70px;
  }
  header,
  header.scrolling {
    position: fixed;
    animation: none;
    padding: 0 15px;
    height: 70px;
  }
  header h1#logo,
  header.scrolling h1#logo {
    width: 80px;
    min-width: 80px;
  }
  header h1#logo img:nth-of-type(1),
  header.scrolling h1#logo img:nth-of-type(1) {
    display: block;
  }
  header h1#logo img:nth-of-type(2),
  header.scrolling h1#logo img:nth-of-type(2) {
    display: none;
  }
  header #nav #nav-list-wrapper,
  header.scrolling #nav #nav-list-wrapper {
    top: 70px;
    min-height: calc(var(--vh, 1vh) * 100 - 70px);
  }
  header #nav #reserve-button,
  header.scrolling #nav #reserve-button {
    padding: 12px 15px;
  }
}
@keyframes headerAnime {
  0% {
    opacity: 0;
    top: -100%;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}/*# sourceMappingURL=header.css.map */