/* Style for iPad Pro */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* Menu botton*/
  .menubn {
    display: block;
    position: fixed;
    z-index: 21500;
    right: 20px;
    top: 45px;
    width: 52px;
    height: 52px;
    cursor: pointer;
    text-align: center;
    transition: .4s all;
  }
  .menubn.up_act {
    top: 15px;
  }

  .menubn span {
    display: block;
    position: absolute;
    width: 45px;
    height: 2px;
    left: 6px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .menubn span:nth-child(1) {
    top: 10px;
  }

  .menubn span:nth-child(2) {
    top: 20px;
  }

  .menubn span:nth-child(3) {
    top: 30px;
  }

  /* ナビ開いてる時のボタン */
  .menubn.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    background: var(--color-1st);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menubn.active span:nth-child(2),
  .menubn.active span:nth-child(3) {
    top: 18px;
    background: var(--color-1st);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalmenu {
    position: fixed;
    z-index: 20000;
    top: 0;
    left: -9999px;
    color: var(--color-black);
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
  }

  nav.globalmenu ul {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
  }
  nav.globalmenu ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-min);
    transition: .4s all;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
  }

  nav.globalmenu ul li:hover {
    background: rgba(0, 0 , 0, 0.05);
  }

  nav.globalmenu ul li a {
    display: block;
    color: var(--color-black);
    padding: 1em 1em;
    text-decoration: none;
  background-image: url(../img/header/ic-ar_h_b_thin.svg);
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: auto 50%;
  }
  nav.globalmenu ul li a span {
    display: block;
    font-size:12px;
    font-weight: 400;
    font-weight: var(--font-min);
    padding-top:5px;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalmenu.active {
    opacity: 100;
    left:0;
  }
}

/* Style for Smartphone */
@media screen and (max-width: 768px) {

/* Menu botton*/
.menubn {
  display: block;
  position: fixed;
  z-index: 21500;
  right: 20px;
  top: 45px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  text-align: center;
  transition: .4s all;
}
.menubn.up_act {
  top: 15px;
}

.menubn span {
  display: block;
  position: absolute;
  width: 45px;
  height: 2px;
  left: 6px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.menubn span:nth-child(1) {
  top: 10px;
}

.menubn span:nth-child(2) {
  top: 20px;
}

.menubn span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.menubn.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  background: var(--color-1st);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menubn.active span:nth-child(2),
.menubn.active span:nth-child(3) {
  top: 18px;
  background: var(--color-1st);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav.globalmenu {
  position: fixed;
  z-index: 20000;
  top: 0;
  left: -9999px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.globalmenu ul {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}
nav.globalmenu ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-min);
  transition: .4s all;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
}
nav.globalmenu ul li a span {
  display: block;
  font-size:12px;
  font-weight: 400;
  font-weight: var(--font-min);
  padding-top:5px;
}

nav.globalmenu ul li:hover {
  background: rgba(0, 0 , 0, 0.05);
}

nav.globalmenu ul li a {
  display: block;
  color: var(--color-black);
  padding: 1em 1em;
  text-decoration: none;
  background-image: url(../img/header/ic-ar_h_b_thin.svg);
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: auto 50%;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
  opacity: 100;
  left:0;
}

}
