.sp-panel {
  display: none;
}
html {
  overflow-x: hidden;
}

/*SPヘッダー補正*/
.navbar-brand img{
  max-height: 30px !important;
  width: auto;
}
.navbar{
  padding: 10px 0!important;
}




@media only screen and (max-width: 991px) {
  .pc-panel {
    display: none !important;
  }

  .sp-panel {
    display: block;
    transform: translateX(105%);
    position: fixed;
    width: 84%;
    height: 100%;
    top: 0;
    right: 0;
    background: #ffffff;
    padding: 20px calc((35 / 750) * 100vw);
    transition: all 0.6s 0s cubic-bezier(0.86, 0, 0.07, 1);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sp-panel.is-open {
    transform: translateX(0);
    transition: all 0.6s 0s cubic-bezier(0.86, 0, 0.07, 1);
  }

  .sp-panel::-webkit-scrollbar {
    display: none;
  }

  .headerSp {
    position: static;
    text-align: center;
    display: block;
    transform: none;
  }

  #menuWrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
  }

  #menu:hover {
    cursor: pointer;
    opacity: 1;
  }

  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.7);
  }

  #menuBtn {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #fff;
    transition: 0.2s;
  }

  #menuBtn:before,
  #menuBtn:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
  }

  #menuBtn:before {
    margin-top: -7px;
  }

  #menuBtn:after {
    margin-top: 5px;
  }

  a#menu .close {
    background: transparent;
  }

  a#menu .close:before,
  a#menu .close:after {
    margin-top: 0;
  }

  a#menu .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  a#menu .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
  }

  #mainnav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    text-align: right;
    z-index: 490;
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    height: auto;
  }

  #mainnav ul {
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: left;
  }

  #mainnav li a {
    position: relative;
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-weight: 400;
  }

  #mainnav li a:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #mainnav {
    z-index: 1100;
  }

  #mainnav ul {
    /* border-bottom: none; */
    background: transparent;
  }

  #mainnav li a {
    /* border-bottom: none; */
  }

  #mainnav li a:before {
    content: none;
  }

  /* ハンバーガーボタン */
  a#menu {
    background-color: transparent;
  }

  a #menuBtn {
    transition-delay: 0.4s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  a #menuBtn,
  a #menuBtn:before,
  a #menuBtn:after {
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-property: transform;
    transform-origin: right bottom;
    width: 20px;
    background: #333;
  }

  a #menuBtn.is-open {
    background: transparent;
  }

  a #menuBtn:before {
    margin-top: 0;
    transform: translateY(-9px);
    transition-delay: 150ms;
  }

  a #menuBtn:after {
    margin-top: 0;
    transform: translateY(7px);
  }

  a #menuBtn.is-open:before {
    transform: translate(-2px, -9px) rotate(315deg);
  }

  a #menuBtn.is-open:after {
    transition-delay: 0s;
    transform: translate(-3px, 5px) rotate(-315deg);
  }

  

  .sp-panel-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(20px);
    display: none;
    transition: all ease 0.3s;
  }

  .sp-panel-bg.is-open {
    display: block;
  }

  .sp-panel__logo {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #aaa;
  }

  .sp-panel__logo img {
    width: 200px;
  }



   
}

.logo {
  width: 160px;
  top: -9px;
  left: 0px;
}
@media only screen and (max-width: 991px) {
  .headerSp {
    padding-top: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .headerSp {
    padding-top: 10px;
  }
  .headerSp .logo {
    width: 120px;
  }
  .sp-panel__logo img {
    width: 120px;
  }
}
.sp-panel-inner{
  padding: calc((50 / 750) * 100vw) calc((30 / 750) * 100vw);
}

.sp_menu_title{
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 10px;
}
.sp_menu_title .en{
  font-size: 10px;
  padding-right: 5px;
  font-weight: normal;
}

.sp-navi {
    display: none;
  }

@media(max-width:1000px) {
  .tb-none {
    display: none !important;
  }
  .sp-navi {
    display: block;
    margin-top: 20px;
  }
    .sp-navi .sp-navi-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
    padding-left: 0
  }

  .sp-navi .sp-navi-menu li {
    /*text-align: center;*/
    border-bottom: 1px solid #e5e5e5;
  }

  .sp-navi .sp-navi-menu li .en {
    display: block;
    font-size: 10px;
    opacity: .5;
    font-weight:normal;
  }

  .sp-navi .sp-navi-menu li a {
    padding: 5px;
    /*padding-bottom: 10px;*/
    display: block;
    line-height: 1.6;
    font-size: 14px;
    font-weight: bold;
    color:#333;

    display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  }

  .sp-navi .sp-navi-menu li a::after {
  content: "▲";
  display: inline-block;
  /*width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;*/
  transform: rotate(90deg);
  font-size: 12px;
}

  .sp-navi .sp-navi-menu li:nth-child(2n) a {
    border-left: 1px solid #ccc
  }
   .gMenu_outer {
    height: 100vh !important;
  }

  .sp-panel .sp-navi-menu li a{

    transform: scale(1, 1) translate(20px, 0%) rotate(-0deg);
    opacity: 0;
    padding-left: calc((16 / 750) * 100vw);

  }

  .sp-panel.is-open .sp-navi-menu li a{
    transform: scale(1, 1) translate(0px, 0%) rotate(-0deg);
    opacity: 1;
  }

  .sp-panel .sp-navi-menu li:nth-child(1) a {
    transition: all 0.8s 0.2s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(2) a{
    transition: all 0.8s 0.3s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(3) a{
    transition: all 0.8s 0.4s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(4) a{
    transition: all 0.8s 0.5s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(5) a{
    transition: all 0.8s 0.6s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(6) a{
    transition: all 0.8s 0.7s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(7) a{
    transition: all 0.8s 0.8s ease;
  }

  .sp-panel .sp-navi-menu li:nth-child(8) a{
    transition: all 0.8s 0.9s ease;
  } 

}

.sp_cta{
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.sp-cta-item {
  width: 48%;
  margin-bottom: 3px;
}

.sp-cta-item a {
  display: block;
  /*width: 60px;*/
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: #333;
  font-size: 11px;
  padding: 5px 0;
}
.sp-cta-item a:hover{
  color: #fff;
}
.sp-cta-item img {
  /*min-width: 20%;*/
  height: 12px;
  margin-right: 3px;
}
.sp_sns{
  margin-top: 10px;
  display: flex;
  justify-content: center;
}