/* ---------------------------------------------------------------------------
//  header
--------------------------------------------------------------------------- */
.header {
  background: #fff;
  height: 8.8rem;
  left: 0;
  position: fixed;
  top: 0;
  transition: .3s;
  width: 100%;
  z-index: 1000;
}
.header_inner {
  display: flex;
  margin: 0 auto;
}
.header .logo {
  align-items: center;
  /* background: #02993b; */
  display: flex;
  height: 8.8rem;
  max-width: 52rem;
  padding-left: 8rem;
  padding-right: 3.8rem;
  z-index: 999;
}
.top .header:not(.scrolled) .logo {
  background: #02993b;
}
.header .logo  span {
  max-width: 39.3rem;
  position: relative;
}
.top .header .logo  span img {
  /* opacity: 0; */
  position: relative;
  transition: .3s;
  z-index: 2;
}
.top .header:not(.scrolled) .logo  span img {
  opacity: 0;
}
.top .header .logo span::before {
  background-image: url(../img/header/header_logo_white.png);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  content: '';
  height: 4rem;
  left: 0;
  margin: auto;
  max-width: 39.3rem;
  position: absolute;
  top: 0;
  width: 100%;
}
.global_nav {
  align-items: center;
  display: flex;
  flex-grow: 2;
  padding: 0 2rem;
}
.nav_list {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.nav_list  .entry_btn a {
  align-items: center;
  background: #f39346;
  border-radius: 10rem;
  color: #fff;
  display: flex;
  font-size: 1.7rem;
  font-weight: 900;
  height: 5.8rem;
  justify-content: center;
  width: 18rem;
}
.nav_list  .entry_btn :hover {
  background: #03742e;
}
.nav_item {
  align-items: center;
  display: flex;
  font-weight: bold;
  height: 8.8rem;
  position: relative;
  white-space: nowrap;
}
.nav_item:hover {
  color: #02993b;
}
.nav_item + li {
  margin-left: 3rem;
}
.submenu {
  background-color: #02993b;
  color: #fff;
  display: none;
  font-weight: 400;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 21.5rem;
  padding: 1rem 2rem 1.5rem;
  position: absolute;
  top: 8.8rem;
}
.submenu li:first-of-type a {
  font-weight: bold;
}
.submenu li a {
  display: block;
  padding: 1rem .5rem;
}
.submenu li a:hover {
  opacity: .7;
}
.submenu li + li {
  border-bottom: solid .1rem rgba(255,255,255,.1);
}
.submenu li:last-of-type {
  border-bottom: none;
}

.hamburger {
  display: none;
}
/* @media screen and (max-width: 1300px) {
  .header .logo {
    padding-left: 4rem;
    padding-right: 2rem;
    width: 40rem;
  }
  .header .logo  span {
    max-width: 39.3rem;
    position: relative;
  }
  .global_nav {
    width: calc(100% - 40rem);
  }
  .nav_list {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .nav_list  .entry_btn a {
    font-size: 1.6rem;
    height: 4rem;
    padding: 0 1.5rem;
    white-space: nowrap;
    width: auto;
  }
  .nav_item + li {
    margin-left: 1rem;
  }
} */
@media screen and (max-width: 768px) {
  .header {
    background: #fff;
    height: 4.7rem;
  }
  .header .logo {
    display: flex;
    height: 4.7rem;
    justify-content: center;
    padding: 0;
    width: 21.4rem;
  }
  .header .logo  span {
    width: 19.9rem;
  }
  .top .header .logo span::before {
    top: .3rem;
  }

  .global_nav.active {
    opacity: 1;
    pointer-events: all;
  }
  .body_container::after {
    background: linear-gradient(15deg,rgba(4,222,86,.9),rgba(2,153,59,.9));
    bottom: 0;
    content: '';
    height: 1rem;
    opacity: 0;
    position: fixed;
    transition: .3s;
    width: 100%;
    z-index: 999;
  }
  .body_container.nav_open:after {
    opacity: 1;
  }
  .global_nav {
    align-items: center;
    background-color: rgba(255,255,255,.9);
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    height: calc(100svh - 1rem);
    height: calc(100vh - 1rem);
    left: 0;
    opacity: 0;
    overflow: auto;
    padding: 8.5rem 3.5rem;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: .3s;
    width: 100%;;
  }
  .nav_list {
    flex-direction: column;
    width: 100%;
  }
  .nav_list  .entry_btn {
    margin-top: 5.7rem;
    width: 100%;
  }
  .nav_list  .entry_btn a {
    font-size: 1.7rem;
    height: 5.8rem;
    width: 100%;
  }
  .nav_item {
    border-bottom: solid .2rem rgba(33,33,33,.1);
    display: block;
    font-size: 1.7rem;
    height: auto;
    padding: 1.5rem;
    width: 100%;
  }
  .nav_item::after {
    background-image: url(../img/header/plus.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    height: 2.3rem;
    margin: auto;
    pointer-events: none;
    position: absolute;
    right: 1.5rem;
    top: 1.6rem;
    transition: .3s;
    width: 2.3rem;
  }
  .nav_item:has(.open):after {
    transform: rotate(135deg);
  }
  .nav_item .nav_link {
    display: block;
  }
  .nav_item:hover {
    color: inherit;
  }
  .nav_item + li {
    margin-left: 0;
  }
  .submenu {
    background-color: transparent;
    color: inherit;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    min-width: inherit;
    padding: 0;
    position: static;
  }
  .submenu li a {
    display: block;
    margin-top: 1rem;
    padding: 0 0 0 3.5rem;
    position: relative;
  }
  .submenu li a::before {
    background: #02993b;
    border-radius: 100%;
    bottom: 0;
    content: '';
    height: .7rem;
    left: 2.2rem;
    margin: auto;
    position: absolute;
    top: .2rem;
    width: .7rem;
  }
  .submenu li + li {
    border-bottom: solid .1rem rgba(255,255,255,.1);
  }
  .submenu li:last-of-type {
    border-bottom: none;
  }
  .hamburger {
    cursor: pointer;
    display: block;
    height: 100%;
    position: absolute;
    right: 2rem;
    width: 3rem;
    z-index: 1000;
  }

  .hamburger span {
    background-color: #f39346;
    border-radius: 10rem;
    height: .4rem;
    position: absolute;
    transition: .3s;
    width: 100%;
  }

  .hamburger span:nth-child(1) {
    top: 1.1rem;
  }
  .hamburger span:nth-child(2) {
    top: 2.1rem;
  }
  .hamburger span:nth-child(3) {
    top: 3.1rem;
  }
  .hamburger.open  span:nth-child(1) {
    top: 2.2rem;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .hamburger.open  span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .hamburger.open  span:nth-child(3) {
    top: 2.2rem;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  .header .sp_entry_btn {
    align-items: center;
    background: #f39346;
    border-radius: 10rem;
    color: #fff;
    display: flex;
    font-size: 1.1rem;
    font-weight: 900;
    height: 3rem;
    justify-content: center;
    position: absolute;
    right: 6.7rem;
    top: .8rem;
    width: 10rem;
  }
}
