@charset "UTF-8";
@-ms-viewport {
  width: device-width; }

/*--------------------------------------------------------------------------
CSS　ハンバーガーメニュー var.1 20230417
--------------------------------------------------------------------------*/
body.nav-open {
  width: 100%;
  height: 100vh;
  position: fixed;
  overflow: hidden; }

/*===============================
■■　表示サイズ　■■
===============================*/
/*------------(XS～SM)------------*/
@media (min-width: 320px) and (max-width: 767px) {
  /*ハンバーガーnav*/
  #nav {
    position: fixed;
    padding: 70px 0 20px;
    height: 97vh;
    width: 300px;
    right: -300px;
    /* 変更 */
    top: 0;
    /* 変更 */
    background-color: #FFF;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
    z-index: 110; }
  #hamburger {
    display: block;
    position: fixed;
    top: 45px;
    right: 25px;
    width: 26px;
    height: 19px;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    z-index: 111;
    cursor: pointer; }
  .inner_line {
    display: block;
    position: absolute;
    left: 0;
    width: 26px;
    height: 3px;
    background-color: #666666;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    border-radius: 4px;
    z-index: 1; }
  #line1 {
    top: 0; }
  #line2 {
    top: 8px; }
  #line3 {
    bottom: 0px; }
  #nav.in {
    height: auto;
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
    /* 変更 */ }
  .line_1, .line_2, .line_3 {
    background: #262626; }
  .line_1 {
    -webkit-transform: translateY(8px) rotate(-45deg);
    -ms-transform: translateY(8px) rotate(-45deg);
    transform: translateY(8px) rotate(-45deg);
    top: 0; }
  .line_2 {
    opacity: 0; }
  .line_3 {
    -webkit-transform: translateY(-8px) rotate(45deg);
    -ms-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
    bottom: 0; }
  /*ハンバーガーメニューOPEN　背景暗転*/
  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 3; }
  /*ハンバーガーメニュー閉じた時*/
  .open.black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.6;
    visibility: visible;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 3; } }

/*------------(SM)------------*/
/*------------(MD)------------*/
/*------------(LG)------------*/
/*------------(XL)------------*/
