

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

  /* Menu botton*/
  .menubn {
    display: block;
    position: fixed;
    z-index: 21650;
    right: 13px;
    top: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .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 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: 20px;
    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: 20px;
    background: var(--color-white);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

/* Global menu */

  nav.globalmenu {
    position: fixed;
    z-index: 21400;
    top: -9999px;
    left: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    padding: 15%;
  }

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

  nav.globalmenu ul li {
    width: 100%;
    height: auto;
    display: block;
    list-style-type: none;
    padding: 0;
    font-size: 14px;
    transition: .4s all;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  }

  nav.globalmenu ul li.brandbn {
    width:50%;
    height: auto;
    display: block;
    border-bottom: none;
  }
  nav.globalmenu ul li:first-child.brandbn {
    width:49.5%!important;
    margin-right:0.5%;
  }

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

  nav.globalmenu ul li a {
    width:100%;
    height: auto;
    display: block;
    color: #fff;
    padding: 2em 0;
    text-decoration: none;
  }

  nav.globalmenu ul li.brandbn a {
    width:100%;
    height: 100px;
    display: block;
    text-indent: -9999px;
    padding:0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 65px;
  }
  nav.globalmenu ul li.brandbn a.lobn.ic-jg_w {
    background-color: var(--color-jg);
    transition: .4s all;
  }
  nav.globalmenu ul li.brandbn a.lobn.ic-lr_w {
    background-color: var(--color-lr);
    transition: .4s all;
  }
  nav.globalmenu ul li a.lobn.ic-jg_w:hover, nav.globalmenu ul li a.lobn.ic-lr_w:hover {
    background-color: var(--color-15);
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalmenu.active {
    opacity: 100;
    top:0;
    overflow-x: none;
    overflow-y:scroll;
  }
}

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

/* Menu botton*/
.menubn {
  display: block;
  position: fixed;
  z-index: 21650;
  right: 13px;
  top: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}

.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 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: 20px;
  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: 20px;
  background: var(--color-white);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Global menu */

nav.globalmenu {
  position: fixed;
  z-index: 21400;
  top: -9999px;
  left: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
  padding:15%;
}

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

nav.globalmenu ul li {
  width: 100%;
  height: auto;
  display: block;
  list-style-type: none;
  padding: 0;
  font-size: 14px;
  transition: .4s all;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}

nav.globalmenu ul li.brandbn {
  width:50%;
  height: auto;
  display: block;
  border-bottom: none;
  font-family: var(--font-en);
}
nav.globalmenu ul li:first-child.brandbn {
  width:49.5%!important;
  margin-right:0.5%;
}

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

nav.globalmenu ul li a {
  width:100%;
  height: auto;
  display: block;
  color: #fff;
  padding: 2em 0;
  text-decoration: none;
}

nav.globalmenu ul li.brandbn a {
  width:100%;
  height: 80px;
  display: block;
  overflow: hidden;
  text-indent: -9999px;
  padding:0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 55px;
}
nav.globalmenu ul li.brandbn a.lobn.ic-jg_w {
  background-color: var(--color-jg);
  transition: .4s all;
}
nav.globalmenu ul li.brandbn a.lobn.ic-lr_w {
  background-color: var(--color-lr);
  transition: .4s all;
}
nav.globalmenu ul li a.lobn.ic-jg_w:hover, nav.globalmenu ul li a.lobn.ic-lr_w:hover {
  background-color: var(--color-1st);
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
  width: 100%;
  height:100%;
  display: block;
  opacity: 100;
  top:0;
  overflow-x: none;
  overflow-y:scroll;
}
}
