@charset "UTF-8";

/*--------------------
nav menu
---------------------*/
/* ハンバーガーメニュー */
#menu-button {
  position: fixed;
  right: 12px;
  display: grid;
  place-items: center;
  place-content: center;
  width: 70px;
  height: 70px;
  background: white;
  border: none;
  cursor: pointer;
  z-index: 999;
  top: 11px;
  border-radius: 50px;
}

/* バー */

.bar {
  background-color: transparent;
}

.bar::before,
.bar::after {
  width: 40px;
  height: 3px;
  background-color: #0c785b;
  transition: transform 0.3s;
}

.bar {
  display: grid;
  &::before,
  &::after {
    content: "";
    grid-area: 1 / 1;
  }

  &::before {
    transform: translateY(-4px);
  }

  &::after {
    transform: translateY(4px);
  }
}

/* オープン時のバー */
.menu-open {
  .bar {
    background-color: transparent;

    &::before {
      transform: rotate(24deg);
    }

    &::after {
      transform: rotate(-24deg);
    }
  }
}

/* メニューラベル */
.menu-label {
  font-size: 1.2rem;
  color: #0c785b;
  top: 11px;
  transform: translate(1px, 10px);
}

/* オーバーレイ */
#overlay {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 997;
  transition: opacity 0.3s;

  /* オープン時のオーバーレイ */
  .menu-open & {
    visibility: visible;
    opacity: 1;
  }
}

/* メニュー */
#menu {
  position: fixed;
  height: 100%;
  /* width: 300px; */
  width: 100%;
  background-color: #fff;
  right: 0;
  top: 0;
  z-index: 998;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;

  & ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 10px 0;
    text-align: center;
  }

  & li {
    padding: 12px;
  }

  & a {
    font-size: 1.6rem;
    color: #0c785b;
    font-weight: 700;
  }
}

/* オープン時のメニュー */
.menu-open #menu {
  transform: translateX(0);
}

/* body */
body {
  overflow-x: clip;

  /* オープン時のbody */
  .menu-open& {
    overflow: clip;
  }
}
.wave {
  width: 80%;
  display: block;
  margin: 0 auto;
  max-width: 410px;
}

.menu-box {
  position: absolute;
  width: 90%;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  .menu-box {
    width: 100%;
  }
}
.close_btn {
  right: 12px;
  display: grid;
  place-items: center;
  place-content: center;
  width: 38%;
  height: auto;
  background: #0c785b;
  border: none;
  cursor: pointer;
  z-index: 999;
  top: 11px;
  border-radius: 37px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 auto;
  margin-top: 30px;
  padding: 9px 0;
}

/*--------------------
header
---------------------*/

#header {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/*--------------------
footer
---------------------*/

/*--------------------
wp_lg
---------------------*/
.wp_lg {
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .wp_lg {
    width: 86.666%;
    max-width: 1000px;
    margin: 0 auto;
  }
}

/*--------------------
改善
---------------------*/
.nav-global nav ul li {
  display: flex;
  width: 14.28571429%;
  border-left: 1px solid #ffffff;
  padding: 10px;
  box-sizing: border-box;
  background-color: #04795b;
  color: #ffffff;
}
.nav-global nav ul li a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 1.7rem;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
}
.nav-global nav ul {
  display: flex;
  justify-content: center;
  /* background-color: #fff; */
  /* margin: 10px; */
}
/* .nav-global nav ul li:last-of-type {
  border-right: 1px solid #3d62ad;
} */
.nav-global nav ul li:first-of-type {
  border-left: none !important;
}
.inner-block {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  margin: 0 auto;
}
.pc-head {
  height: 60px;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .pc-head {
    display: none !important;
  }

  .header {
    display: block !important;
  }
}
