﻿.navOpen {
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
body.navOpen, body.navOpen *, body.navOpen *:hover, body.navOpen *:focus, body.navOpen *:active {
  touch-action: none !important;
  pointer-events: none !important;
}
body.navOpen .hamburger1, body.navOpen #menu_toggle_mb, body.navOpen #menu_toggle_mb * {
  touch-action: auto !important;
  pointer-events: visible !important;
}

.header_top_mb{
  display: block;
}
.hamburger1 {
  top: 0;
  right: 0;
  position: fixed;
  z-index: 1111;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: #fff;
  text-transform: none;
  margin: 0;
  overflow: visible;
  background: url(../img/shared/hbg-open.png) no-repeat center center / 100% auto;
  width: 50px;
  height: 50px;
}
.hamburger1.is-active{
  background: url(../img/shared/hbg-close.png) no-repeat center center / 100% auto;
}
.navOpen #menu_toggle_mb {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
}
.navOpen #menu_toggle_mb li {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

header .menu_toggle {
  padding: 23vw 3% 50vw;
  background: url(../img/shared/hbg-bg.jpg);
  color: #000;
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  width: 100% !important;
  top: 0px;
  right: 0;
  height: 100vh;
  overflow-y: scroll;
  z-index: 1000;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block!important;
}
header .menu_toggle ul {
  padding: 0;
  list-style-type: none;
  list-style-position: outside;
}
header .menu_toggle ul li {
  position: relative;
  padding: 0;
  transform: matrix(1, 0, 0, 1, 0, -20);
  transition: all ease 0.5s 0.3s;
  opacity: 0;
}


@media screen and (max-width: 767px) {

#ft_fixed {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: url(../img/shared/bg-fixed_sp.png) no-repeat center bottom / 100% auto;
  height: 12vw;
}
.has_nav #ft_fixed {
  opacity: 1;
  visibility: visible;
}
#ft_fixed ul{
  z-index: 100;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-end;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
#ft_fixed ul li a{
  width: 100%;
  height: 100%;
  display: block;
}
#ft_fixed li{
  height: 100%;
}
#ft_fixed li:nth-child(1){
  width: 50%;
}
#ft_fixed li:nth-child(2){
  width: 50%;
}
#ft_fixed li a{
  width: 100%;
  height: 100%;
  display: block;
}
/* iPhone X */
@media only screen and (min-device-width: 375px) and (min-device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .has_nav footer:after {
    background: #000;
    content: '';
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 36px;
    z-index: 999;
  }
  #ft_fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop{
      bottom: calc(env(safe-area-inset-bottom) + 14vw) !important;
  }
  footer{
    padding-bottom: calc(env(safe-area-inset-bottom) + 28vw) !important;
  }
}

/* iPhone XR */
@media only screen and (min-device-width: 414px) and (min-device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
  .has_nav footer:after {
    background: #000;
    content: '';
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 36px;
    z-index: 999;
  }
  #ft_fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop{
      bottom: calc(env(safe-area-inset-bottom) + 14vw) !important;
  }
  footer{
    padding-bottom: calc(env(safe-area-inset-bottom) + 28vw) !important;
  }
}

/* iPhone 11 */
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  .has_nav footer:after {
    background: #000;
    content: '';
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 36px;
    z-index: 999;
  }
  #ft_fixed {
    bottom: calc(env(safe-area-inset-bottom) - 0px);
  }
  #pagetop{
      bottom: calc(env(safe-area-inset-bottom) + 14vw) !important;
  }
  footer{
    padding-bottom: calc(env(safe-area-inset-bottom) + 28vw) !important;
  }
}


}


