/*――――――――――――――――――――――――――――――

  レスポンシブ：SP (max-width: 767px)

――――――――――――――――――――――――――――――*/
@media screen and (max-width: 767px) {
  html {
    font-size: 80%;
  }

  /* --- ヘッダー --- */
  #header {
    height: 80px;
    padding: 0 20px;
    letter-spacing: 0.05rem;
  }
  .logo a {
    width: 80px;
    height: 80px;
  }
  .logo-text {
    font-size: 1.2rem;
    padding-left: 20px;
    filter: drop-shadow(0 0 8px rgba(246, 246, 246, 0.5));
  }

  /* --- ハンバーガーアイコン --- */
  .hamburger {
    display: flex; /* SPでは表示 */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100; /* メニューより手前に表示 */
  }

  /* --- ナビゲーションメニュー (SP) --- */
  .navi {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠す */
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.98);
    z-index: 1050;
    transition: right 0.4s ease;
    overflow-y: auto;
  }

  .navi.active {
    right: 0; /* 画面内にスライドイン */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .navi .menu {
    box-sizing: border-box;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
  }

  #header .navi ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    padding: 4px 0;
    color: goldenrod;
    text-decoration: none;
  }

  #header .navi ul li a:hover {
    background-color: #9f7916;
    color: #fff;
  }

  .navi .menu > .menu-item > a > span {
    display: contents;
  }
  .navi ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .icon-instagram .custom-nav-item > span {
    display: inline-block;
  }

  .icon-uber .nav-hover-text {
    display: none !important;
  }

  .feather-instagram {
    stroke: #fff;
  }

  /* --- ページトップボタンは非表示 --- */
  #page-top {
    display: none;
  }

  /* ★★★ BGM再生ボタン (SPは右下/シンプル表示) - 最終修正 ★★★ */
  #bgm-controller {
    /* 位置を指定 */
    top: auto;
    right: 0px;
    bottom: 320px;
    left: auto;

    /* サイズと背景をリセット */
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    animation: none; /* PC用のアニメーションをリセット */
  }

  /* PC用のオリジナルボタンを確実に非表示 */
  #bgm-controller .bgm-icon-pc {
    display: none;
  }

  /* SP用のアイコンコンテナを表示 */
  #bgm-controller .bgm-icon-sp {
    display: block;
    text-align: center;
    /* スクロールしても見やすいように背景を追加 */
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 6px;
    border-radius: 0px;
  }

  /* SP用のアイコンのスタイル */
  #bgm-controller .bgm-icon-sp .fas {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px; /* テキストとの余白 */
    /* テキストと同じ光るエフェクト */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7),
      0 0 10px rgba(255, 215, 0, 0.6);
  }

  /* ★★★ SP用のテキストのスタイル（縦書き対応） ★★★ */
  #bgm-controller .bgm-icon-sp .bgm-text {
    display: block;
    font-size: 10px;
    line-height: 1.2; /* 縦書きの行間 */
    writing-mode: vertical-rl; /* テキストを縦書きにする */
    margin: 0 auto; /* 中央揃え */
    /* PCと同じスタイルを適用 */
    color: #fff;
    font-family: "Oswald", "Space Grotesk", sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7),
      0 0 10px rgba(255, 215, 0, 0.6);
  }

  /* --- その他の既存レスポンシブスタイル --- */
  .mainvisual {
    padding-top: 60%;
  }
  .mv__background-l {
    width: 60%;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .mv__background-r {
    width: 40%;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .mv__text__inner {
    width: 80%;
    padding-left: 10px;
  }
  .mv__title {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }
  .mv__subtitle {
    font-size: 4rem;
  }
  .mainvisual .fade-img li img {
    object-position: center top;
  }
  .parallax {
    background-attachment: scroll;
    height: 250px;
    margin-top: -40px;
  }
  .parallax__content {
    font-size: 0.9rem;
  }
  .about.wrapper {
    padding: 20px 10px;
    background-color: #f9f9f9;
  }
  .about .section-wrapper {
    max-width: 100%;
    padding: 40px 10px 40px;
    margin: 0 auto;
    text-align: center;
  }
  .about__text {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    margin-top: 24px;
    text-align: justify; /* 左揃えから均等割り付けに変更 */
    padding: 0 10px;
  }
  .loop_wrap {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    padding-top: 20px;
  }
  .loop {
    display: flex;
    flex-direction: row;
    animation: none;
    width: auto;
  }
  .loop img {
    flex-shrink: 0;
    width: auto;
    height: 200px;
    margin-right: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  .menu.wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
  }
  .menu .section-wrapper {
    padding: 40px 0 20px;
  }
  .menu .img img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .news.wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0;
  }
  .news .section-wrapper {
    padding: 40px 0 20px;
  }
  .news-title {
    font-size: 1.8rem;
  }
  .news__title::after {
    width: 40px;
    height: 3px;
    margin-top: 8px;
  }
  .card-wrap {
    gap: 16px;
    margin-top: 24px;
    padding: 0 20px;
    align-items: stretch;
  }
  .news-card {
    width: 100%;
    height: 350px;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }
  .news-card img {
    width: 100%;
    max-width: 80%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
  }
  .news-content {
    padding: 16px;
    text-align: left;
  }
  .news-heading {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .news-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  .news-button {
    width: 20px;
    font-size: 0.8rem;
    padding: 6px 8px;
    text-align: center;
  }
  .access.wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
  }
  .access .section-wrapper {
    padding: 60px 20px 40px;
  }
  .access__flex {
    flex-direction: column;
    gap: 16px;
  }
  .access__map iframe {
    height: 150px;
  }
  .access__map-link {
    text-align: left;
    margin-top: 6px;
  }
  #footer {
    padding: 24px 8px;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-col {
    width: 100%;
    text-align: center;
    margin: 0;
  }
  .footer-col--logo {
    margin-top: 0;
    margin-left: 0;
  }
  .footer-logo-text {
    font-size: 1.6rem;
  }
  .footer-copy {
    font-size: 0.8rem;
    margin-top: 8px;
    margin-bottom: 0;
  }
  .footer-col--info {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 4px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .footer-col--info .address {
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: left;
  }
  .footer-col--info p:not(.address) {
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    text-align: left;
  }
  .footer-col--nav .footer-menu {
    gap: 12px;
  }
  .footer-col--nav .footer-menu li a {
    font-size: 0.75rem;
  }
  .footer-menu {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-left: 0;
  }
  .footer-col--info br.sp-only {
    display: inline;
  }
  .footer-col--social {
    margin-bottom: 6px;
  }
  .footer-social {
    gap: 6px;
  }
  .footer-social li a {
    font-size: 0.75rem;
  }
  .footer-social svg {
    width: 16px;
    height: 16px;
  }
  .burgers-page__title {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .burgers-page__title::after {
    width: 40px;
    height: 3px;
    margin-top: 8px;
  }
  .burgers-page__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  .burger-item {
    max-width: 160px;
    margin-top: 30px;
  }
  .burger-item__img-wrapper {
    padding-top: 100%;
  }
  .burger-item__name {
    font-size: 1rem;
    margin: 8px 0 2px;
  }
  .burger-item__price {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .goods__grid {
    display: block;
    margin-top: 30px;
  }
  .goods__item,
  .goods__text {
    margin-bottom: 40px;
  }
  .goods__text p {
    font-size: 1.2rem;
  }
  .about__title.privacy {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .about__title::after {
    width: 40px;
    height: 3px;
    margin-top: 8px;
  }
  .privacy__text-content {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 10px;
  }
  .privacy__text-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .privacy__ol {
    counter-reset: item;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
  }
  .privacy__last {
    text-align: left;
  }
  .privacy__list {
    text-align: left;
    font-size: 1.4rem;
    padding-left: 1rem;
  }
  .privacy__list::before {
    content: "第" counter(article) "条";
    position: absolute;
    font-size: 1.4rem;
    left: 0;
  }
  .privacy__list + p {
    text-align: left;
  }
  .privacy__list + p + p {
    text-align: left;
  }
  .privacy__sublist {
    padding-left: 1rem;
    font-size: 0.9rem;
    text-align: left;
  }
  .privacy__sublist__2 {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    text-align: left;
  }

  /* ===================================
     モーダル (SP)
     =================================== */
  .modal-content {
    flex-direction: column; /* 縦並びにする */
    width: 90%;
    padding: 25px;
    max-height: 85vh; /* 高さが画面を超えないように */
    overflow-y: auto; /* 内容が多い場合はスクロール */
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 18px;
  }

  .modal-img-wrapper {
    width: 100%;
    max-width: 100%; /* 最大幅を解除 */
    margin-bottom: 20px;
  }

  .modal-text-wrapper {
    width: 100%;
  }

  .modal-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
  }

  .modal-desc {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .modal-price {
    font-size: 1.3rem;
    text-align: center;
  }

  /* --- ご指定のスタイルの追加 --- */
  .insta_btn {
    padding-bottom: 20px;
  }
  .footer-line-qr {
    text-align: left;
    padding-left: 20px;
  }

  .footer-line-qr img {
    margin-top: 10px;
  }
}
