/* 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: 0px;
top: 0px;
width: 90px;
height: 80px;
cursor: pointer;
text-align: center;
background-color: rgba(0,0,0,0.8);
background-image: url(../img/header/ic-menu_op.webp);
background-repeat: no-repeat;
background-position: 25px 75%;
background-size: auto 9px;
clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
}

.menubn span {
display: block;
position: absolute;
width: 50px;
height: 2px;
left: 25px;
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: 20px;
}

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

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

/* ナビ開いてる時のボタン */
.menubn.active {
  background-image: url(../img/header/ic-menu_cl.webp);
background-position: 25px 80%;
}
.menubn.active span:nth-child(1) {
top: 30px;
left: 30px;
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: 30px;
background: var(--color-white);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
}

  /* ナビ開いてる時のボタン */
  .menubn.active span:nth-child(1) {
    top: 30px;
    left: 25px;
    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: 30px;
    background: var(--color-white);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalmenu {
    position: fixed;
    z-index: 20000;
    top:  -100%;
    left:0;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
    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;
    text-align: left;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  }

  nav.globalmenu ul li:last-child {
    border-bottom: none;
  }

  nav.globalmenu ul li a {
    display: block;
    color: var(--color-white);
    padding: 2em 0;
    text-decoration: none;
    background-image: url(../img/header/ic-ar_w.webp);
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: auto 30px;
  }


  nav.globalmenu ul li:hover {
    background: rgba(255, 255, 255, 0.15);
  }

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


}

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

/* Menu botton*/
.menubn {
display: block;
position: fixed;
z-index: 21500;
right: 0px;
top: 0px;
width: 100px;
height: 80px;
cursor: pointer;
text-align: center;
background-color: rgba(0,0,0,0.8);
background-image: url(../img/header/ic-menu_op.webp);
background-repeat: no-repeat;
background-position: 25px 75%;
background-size: auto 9px;
clip-path: polygon(30% 0, 100% 0%, 70% 100%, 0 100%);
-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
}
.menubn span {
display: block;
position: absolute;
width: 40px;
height: 2px;
left: 32px;
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: 20px;
}

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

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

/* ナビ開いてる時のボタン */
.menubn.active {
  background-image: url(../img/header/ic-menu_cl.webp);
background-position: 25px 80%;
}
.menubn.active span:nth-child(1) {
top: 30px;
left: 32px;
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: 30px;
background: var(--color-white);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
}

  /* ナビ開いてる時のボタン */
  .menubn.active span:nth-child(1) {
    top: 30px;
    left: 32px;
    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: 30px;
    background: var(--color-white);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalmenu {
    position: fixed;
    z-index: 20000;
    top:  -100%;
    left:0;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
    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;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    text-align: left;
  }

  nav.globalmenu ul li:last-child {
    border-bottom: none;
  }

  nav.globalmenu ul li a {
    display: block;
    color: var(--color-white);
    padding: 1em 0;
    text-decoration: none;
    background-image: url(../img/header/ic-ar_w.webp);
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: auto 30px;
  }


  nav.globalmenu ul li:hover {
    background: rgba(255, 255, 255, 0.15);
  }

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

}
