/* 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: 15px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
  background-image: url(../img/header/ic-menu_on.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 10px;
    transition: .4s all;
}

.menubn.op_active {
  display: block;
  position: fixed;
  z-index: 21500;
  right: 10px;
  top: 8px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
}

.menubn span {
  display: block;
  position: absolute;
  width: 40px;
  height: 2px;
  left: 5px;
  background: var(--color-white);
  -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 {
  background-image: url(../img/header/ic-menu_off.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 10px;
}
/* ナビ開いてる時のボタン */
.menubn.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background: var(--color-white);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menubn.active span:nth-child(2),
.menubn.active span:nth-child(3) {
  top: 16px;
  background: var(--color-white);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav.globalmenu {
  position: fixed;
  z-index: 20000;
  top: 0;
  right:-100%;
  color: var(--color-1st);
  background: rgba(0,84,183,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 40%;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  transition: .4s all;
}

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;
  transition: .4s all;
  margin-bottom: 5px;
}

nav.globalmenu ul li:last-child {
  border-bottom: none;
}

nav.globalmenu ul li a {
  display: block;
  color: var(--color-black);
  padding: 1em 1em;
  text-align: left;
  text-decoration: none;
  border-radius: 5px;
  background-color: var(--color-white);
  background-image: url(../img/header/ic-ar_h_b.png);
  background-position: 98% center;
  background-repeat: no-repeat;
  background-size: auto 20px;
}

nav.globalmenu ul li:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
  opacity: 100;
  right:0;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}


}

/* Style for Smartphone */
@media screen and (max-width: 768px) {

/* Menu botton*/
.menubn {
  display: block;
  position: fixed;
  z-index: 21500;
  right: 20px;
  top: 15px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
  background-image: url(../img/header/ic-menu_on.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 10px;
    transition: .4s all;
}

.menubn.op_active {
  display: block;
  position: fixed;
  z-index: 21500;
  right: 10px;
  top: 5px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
}

.menubn span {
  display: block;
  position: absolute;
  width: 40px;
  height: 2px;
  left: 5px;
  background: var(--color-white);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.menubn.op_active span {
  display: block;
  position: absolute;
  width: 40px;
  height: 2px;
  left: 5px;
  background: var(--color-white);
  -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 {
  background-image: url(../img/header/ic-menu_off.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 10px;
}
/* ナビ開いてる時のボタン */
.menubn.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background: var(--color-white);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menubn.active span:nth-child(2),
.menubn.active span:nth-child(3) {
  top: 16px;
  background: var(--color-white);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav.globalmenu {
  position: fixed;
  z-index: 20000;
  top: 0;
  right:-100%;
  color: var(--color-1st);
  background: rgba(0,84,183,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 70%;
  height: 100%;
  min-height: 100%;
  opacity: 0;
  transition: .4s all;
}

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;
  transition: .4s all;
  margin-bottom: 5px;
}

nav.globalmenu ul li:last-child {
  border-bottom: none;
}

nav.globalmenu ul li a {
  display: block;
  color: var(--color-black);
  padding: 1em 1em;
  text-align: left;
  text-decoration: none;
  border-radius: 5px;
  background-color: var(--color-white);
  background-image: url(../img/header/ic-ar_h_b.png);
  background-position: 98% center;
  background-repeat: no-repeat;
  background-size: auto 20px;
}

nav.globalmenu ul li:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
  opacity: 100;
  right:0;
}

}
