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


  .menubn {
    display: none;
  }

}

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

  /*　HeaderMenu */
  header ul.hrmenu {
    display:none;
  }
  header ul.hrmenu li {
    display:none;
  }
  header ul.hrmenu li a {
    display:none;
  }
  header ul.hrmenu li a:hover {
    display:none;
  }

  header.hractive ul.hrmenu {
    display:none;
  }
  header.hractive ul.hrmenu li {
    display:none;
  }
  header.hractive ul.hrmenu li a {
    display:none;
  }
  header.hractive ul.hrmenu li a:hover {
    display:none;
  }

  /* Menu botton*/
  .menubn {
display: block;
    position: fixed;
    z-index: 21600;
    right: 10px;
    top: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    text-align: center;
  }
  .menubn.mbactive {
    top: 15px;
  }

  .menubn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    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.mbactive span {
    background: var(--color-1st);
  }

  .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: 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: 21050;
    top: 0;
    left: -100%;
    color: var(--color-1st);
background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .6s ease, visibility .6s ease;
  }

  nav.globalmenu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding:5%;
  }

  nav.globalmenu ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    height: auto;
    display: block;
    margin:0.5%;
  }

  nav.globalmenu ul li a {
    width: 100%;
    height: auto;
    display: block;
 color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    line-height: 1em;
    letter-spacing: 0;
    padding:15px 0;

background-color: var(--color-1st);
      
      
    /*box-shadow:0px 1px 5px rgba(0,0,0,0.2);*/
    /*transition: .4s all;*/
    border-radius: 3px;
  }

  nav.globalmenu ul li a:hover {
    width: 100%;
    height: auto;
    display: block;

  color: var(--color-black);
  background-color: var(--color-white);

      
      
      
  }

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

}
