/* 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: 1%;
    top: 15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-1st);
    border-radius: 5px;
    background-image: url(../img/header/ictxt-menu_open.webp);
    background-repeat: no-repeat;
    background-position: center 95%;
    background-size: auto 10px;
  }

  .menubn.scr_active {
    display: block;
    position: fixed;
    z-index: 21500;
    right: 1%;
    top: 15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-1st);
    border-radius: 5px;
    background-image: url(../img/header/ictxt-menu_open.webp);
    background-repeat: no-repeat;
    background-position: center 95%;
    background-size: auto 10px;
  }

  .menubn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 10px;
    background-color: var(--color-1st);
    -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/ictxt-menu_close.webp);
  }
  .menubn.active span:nth-child(1) {
    top: 16px;
    left: 9px;
    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: 16px;
    background: var(--color-1st);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalmenu {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center!important;
    align-items: center!important;
    opacity: 0;
    position: fixed;
    z-index: 20000;
    top:  0;
    left:-100%;
    color: var(--color-black);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: .4s all;
  }

  nav.globalmenu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap!important;
    align-items: center!important;
    justify-content: center!important;
    padding: 10% 10%!important;
    margin:auto!important;
  }

  nav.globalmenu ul li {
    width:31.3333333333%;
    height: auto!important;
    display: block!important;
    font-size:14px;
    text-align: left;
    padding:0!important;
    margin:0 1% 5px!important;
  }

  nav.globalmenu ul li:last-child {
    border-bottom: none;
  }

  nav.globalmenu ul li a {
    width:100%;
    height: auto!important;
    display: block!important;
    color: var(--color-black);
    line-height: 1em;
    padding: 2em 1em!important;
    margin:0!important;
    text-decoration: none;
    border-radius: 5px;
    background-image: url(../img/header/ic-ar_h_b.webp);
    background-position: 96% center;
    background-repeat: no-repeat;
    background-size: auto 14px;
    box-shadow:0px 2px 5px rgba(0,0,0,0.15);
    transition: .4s all;
  }

  nav.globalmenu ul li a:hover {
    color: var(--color-white);
    background-color: var(--color-1st);
    background-image: url(../img/header/ic-ar_h_w.webp);
    background-position: 98% center;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalmenu.active {
    display: block;
    opacity: 100;
    left:0;
  }

}

/* Style for Smartphone */
@media screen and (max-width: 768px) {

  /* Menu botton*/
  .menubn {
    display: block;
    position: fixed;
    z-index: 21500;
    right: 1%;
    top: 15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-1st);
    border-radius: 5px;
    background-image: url(../img/header/ictxt-menu_open.webp);
    background-repeat: no-repeat;
    background-position: center 95%;
    background-size: auto 10px;
  }

  .menubn.scr_active {
    display: block;
    position: fixed;
    z-index: 21500;
    right: 1%;
    top: 15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--color-1st);
    border-radius: 5px;
    background-image: url(../img/header/ictxt-menu_open.webp);
    background-repeat: no-repeat;
    background-position: center 95%;
    background-size: auto 8px;
  }

  .menubn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 10px;
    background-color: var(--color-1st);
    -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/ictxt-menu_close.webp);
  }
  .menubn.active span:nth-child(1) {
    top: 16px;
    left: 9px;
    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: 16px;
    background: var(--color-1st);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalmenu {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center!important;
    align-items: center!important;
    opacity: 0;
    position: fixed;
    z-index: 20000;
    top:  0;
    left:-100%;
    color: var(--color-black);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: .4s all;
  }

  nav.globalmenu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap!important;
    align-items: center!important;
    justify-content: center!important;
    padding:20% 10% 10%!important;
    margin:auto!important;
    overflow-y: scroll;
  }

  nav.globalmenu ul li {
    width:100%;
    height: auto!important;
    display: block!important;
    font-size:14px;
    text-align: left;
    padding:0!important;
    margin:0 0 5px!important;
  }

  nav.globalmenu ul li:last-child {
    border-bottom: none;
  }

  nav.globalmenu ul li a {
    width:100%;
    height: auto!important;
    display: block!important;
    color: var(--color-black);
    line-height: 1em;
    padding: 1em 1em!important;
    margin:0!important;
    text-decoration: none;
    border-radius: 5px;
    background-image: url(../img/header/ic-ar_h_b.webp);
    background-position: 96% center;
    background-repeat: no-repeat;
    background-size: auto 14px;
    box-shadow:0px 2px 5px rgba(0,0,0,0.15);
    transition: .4s all;
  }

  nav.globalmenu ul li a:hover {
    color: var(--color-white);
    background-color: var(--color-1st);
    background-image: url(../img/header/ic-ar_h_w.webp);
    background-position: 98% center;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalmenu.active {
    display: block;
    opacity: 100;
    left:0;
  }

}
