header {
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 9999;
}

.header-title {
  font-size: 0.8em;
  background: #085640;
  color: #fff;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 4px 0 3px;
  height: 24px;
}

.header-inner_flex {
  display: flex;
  justify-content: space-between;
  background: #fff;
  height: 80px;
  box-shadow: 0 4px 7px -4px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.header-logo {
  padding: 24px 0 24px 26px;
}

.header-nav {
  display: flex;
}
.header-nav_list {
  display: flex;
  max-width: 600px;
  flex-wrap: wrap;
  padding: 17px 0 24px;
}

.header-nav_item {
  font-size: 0.875rem;
  margin-left: 3%;
  margin-bottom: 9px;
  position: relative;
}

.header-nav_item a {
  color: #085640;
  position: relative;
}

.header-nav_item a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #085640;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header-nav_item a:hover::before {
  transform: scaleX(1);
}

.header-nav_sublist {
  background: #fff;
  width: fit-content;
  border-radius: 5px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  padding: 15px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
}

.header-nav_item:hover .header-nav_sublist {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav_subitem {
  margin-bottom: 10px;
}

.header-nav_subitem:last-child {
  margin-bottom: 0;
}

.header-nav_subitem a {
  display: block;
  white-space: nowrap;
}

.header-nav_btn {
  background: #e25959;
  width: 25vw;
  max-width: 391px;
  height: 80px;
  padding: 18px 0 15px;
  flex-shrink: 0;
  position: relative;
}

.header-nav_btn:hover {
  opacity: 0.8;
  cursor: pointer;
}

.header-nav_btn::before {
  content: "";
  background-image: url(../img/top/event_available.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 3vw;
  max-width: 41px;
  height: 3vw;
  max-height: 41px;
  display: block;
  margin-top: 5px;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0, -50%);
}

.header-nav_btn::after {
  content: "";
  background-image: url(../img/top/arrow_forward_ios.svg);
  background-repeat: no-repeat;
  width: 1.38vw;
  max-width: 21px;
  height: 1.38vw;
  max-height: 21px;
  display: block;
  margin-top: 5px;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translate(0, -50%);
}

.header-nav_btn_link {
  display: block;
  text-align: center;
  color: #fff;
  width: 100%;
  height: 100%;
}

.header-nav_btn_subtext,
.header-nav_btn_text {
  display: block;
  font-weight: 600;
}

.header-nav_btn_subtext {
  margin-bottom: 4px;
}

.sp-header-nav {
  display: none;
}

.header-page-item a {
  font-size: 14px;
  color: #085640;
  font-weight: 400;
}

.header-page-item a:hover {
  text-decoration: none;
  color: #085640;
}

.header-page-link:hover {
  text-decoration: none;
  color: #fff;
}

.header-common-wrap {
  height: 20px;
  margin: auto;
  background: url(../img/green-texture.png) repeat center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-common-text {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.header-nav-btn-bs {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
}

@media screen and (max-width: 1200px) {
  .header-nav {
    display: none;
  }

  .sp-header-nav {
    display: block;
    position: relative;
  }

  .sp_menu {
    width: 80px;
    height: 80px;
    background: url(../img/green-texture.png) repeat center / cover;
    position: relative;
  }

  .sp_menu-inner {
    width: 46%;
    height: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .sp_menu-border {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: 0.5s;
  }

  .sp_menu-border.border02 {
    margin-top: 10px;
  }

  .sp_menu.active .sp_menu-border.border01 {
    transform: translate(0, 6px);
  }

  .sp_menu.active .sp_menu-border.border02 {
    transform: translate(0, -5px);
  }

  .header-nav__sp {
    display: block;
    width: 100vw;
    height: calc(100vh - 104px);
    position: fixed;
    top: 104px;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 100;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav__sp-inner {
    position: relative;
  }

  .sp-header-nav_list {
    width: 100%;
    max-width: 450px;
    height: calc(100vh + 45px);
    padding-bottom: 45px;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .sp-header-nav_list a {
    color: #515050;
  }

  .sp-header-nav_item {
    border-bottom: 1px solid rgba(81, 80, 80, 0.7);
    position: relative;
    display: flex;
    align-items: center;
  }

  .sp-header-nav_item::before {
    display: block;
    content: "";
    background-image: url(../img/top/sp_nav_arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    right: 12px;
    translate: 0 -50%;
  }

  .sp-header-nav_item:first-child {
    border-radius: 50px;
    background: #e25959;
    position: relative;
    margin-bottom: 30px;
    &::before {
      content: "";
      width: 22.64px;
      height: 2px;
      background: #fff;
      position: absolute;
      top: 50%;
      right: 0;
      transform: translate(0, -50%);
      @media screen and (max-width: 768px) {
        width: 15px;
        height: 1px;
      }
    }
    &::after {
      content: "";
      width: 3.58px;
      height: 3.58px;
      background: #fff;
      border-radius: 50%;
      position: absolute;
      top: 50%;
      right: 22.64px;
      transform: translate(0, -50%);
      @media screen and (max-width: 768px) {
        right: 15px;
        width: 3px;
        height: 3px;
      }
    }
    & a {
      color: #fff;
      text-align: center;
    }
  }

  .sp-header-nav_item a {
    display: inline-block;
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 5px;
    font-weight: 400;
  }

  .header-nav__sp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.5s ease,
      visibility 0.5s ease;
  }

  .header-nav__sp.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .header-inner_flex {
    align-items: center;
    height: 60px;
  }

  .header-logo {
    width: 180px;
    padding: 0 0 0 26px;
  }

  .sp_menu {
    width: 60px;
    height: 60px;
  }

  .header-nav__sp {
    top: 84px;
    height: calc(100vh - 84px);
  }

  .sp-header-nav_list {
    max-width: 86%;
    top: 5%;
    height: fit-content;
  }
  .sp-header-nav_item {
    font-size: 16px;
  }
}

@media screen and (max-width: 540px) {
  .header-logo {
    width: 40vw;
    padding: 0 0 0 16px;
  }
}
