/* 調整用スタイル */

a {
    text-decoration: none;
  }
  
  ul,
  li {
    list-style: none;
  }
 
  

  
  .footer div {
    margin: auto;
  }
  

  body { overscroll-behavior: none; }



  
  /* ヘッダー */
  
  
  .header {
    /* background-color: white; */
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  
  .header__inner {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
  }
  
  
  /* ヘッダーのロゴ部分 */
  .header__title {
    width: 150px;
  }
  
  
  @media screen and (min-width: 780px) {
    .header__title {
      width: 180px;
    }
  }
  
  .header__title img {
    display: block;
    width: 100%;
    /* height: 100%; */
  }
  
  /* ヘッダーのナビ部分 */
  
  .header__nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* ← iPhone の慣性スクロール対応 */
  
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 9999;
  }
  

  
  /* @media screen and (min-width: 780px) {
    .header__nav {
      position: static;
      transform: initial;
      background-color: inherit;
      height: inherit;
      display: flex;
      justify-content: end;
      width: 50%;
    }
  } */
  
  
  /* @media screen and (min-width: 780px) {
    .nav__items {
      width: 100%;
      display: flex;
      align-items: center;
      height: initial;
      justify-content: space-between;
    }
  } */
  
  .nav-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
  }
  
  
  
  @media screen and (min-width: 780px) {
    .nav-items {
      position: inherit;
      top: 0;
      left: 0;
      transform: translate(0, 0);
  
    }
  }
  
  /* ナビのリンク */
  .nav-items__item a {
    color: black;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
    color: black;
  }
  
  .nav-items__item:last-child a {
    margin-bottom: 0;
  }
  
  @media screen and (min-width: 780px) {
    .nav-items__item a {
      margin-bottom: 0;
    }
  }
  
  
  /* ハンバーガーメニュー */
  
  .header__hamburger {
    width: 48px;
    height: 100%;
  
  }
  
  .hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
  }
  
  /* @media screen and (min-width: 780px) {
    .hamburger {
      display: none;
    }
  } */
  
  /* ハンバーガーメニューの線 */
  .hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  
  .hamburger span:nth-child(3) {
    top: 0;
  }
  
  
  /* ハンバーガーメニュークリック後のスタイル */
  .header__nav.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  
  }
  
  .hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
  }


  @media (max-width: 780px) { 
    .memu_message{
      width: 70px;
      margin: 0 auto;
      margin-bottom: 20px;
    }
    .munu_flex{
      width: fit-content;
      margin: 0 auto;
      margin-top: 60px;
    }
    .menu_list{
      display: flex;
      flex-direction: row-reverse;
      gap: 10px;
    }
    .menu_list #list {
      display: flex;
      justify-content: center;   /* 横方向の中央 */
    }
    
    .center-box {
      display: flex;
      flex-direction: column;     /* 画像 → 文字 を縦に並べる */
      align-items: center;
    }
    
    .vtext {
      writing-mode: vertical-rl;  /* 文字だけ縦書き */
      text-align: center;
      margin-top: 10px;
    }    
    .menu_list img{
      width: 20px;
    } 
    .menu_banner{
      width: 90vw;
      max-width: 250px;
      margin: 0 auto;
      margin-top: 50px;
      margin-bottom: 50px;
    }
  }
  @media (min-width: 781px) { 
    .memu_message{
      width: 100px;
    }
    .munu_flex{
      display: flex;
      flex-direction: row-reverse;
      width: fit-content;
      margin: 0 auto;
      margin-top: 130px;
      gap: 50px;
    }
    .menu_list{
      margin-top: 50px;
      display: flex;
      gap: 20px;
      flex-direction: row-reverse;
    }
    .menu_list #list {
      display: flex;
      justify-content: center;   /* 横方向の中央 */
    }
    
    .center-box {
      display: flex;
      flex-direction: column;     /* 画像 → 文字 を縦に並べる */
      align-items: center;
    }
    
    .vtext {
      writing-mode: vertical-rl;  /* 文字だけ縦書き */
      text-align: center;
      margin-top: 10px;
    }
    
    
    /* ← 文字だけ縦書きにする */
    .vtext {
      writing-mode: vertical-rl;
    }
    
    .menu_list img{
      width: 20px;
    } 
    .menu_banner{
      width: 300px;
      margin: 0 auto;
      margin-top: 50px;
    }
  }

