@charset "UTF-8";

@media (max-width: 600px) {

  /* ヘッダー */
  .slider-container {
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  }

  .slider img{
    display: block;
    margin: 0;
    padding: 0;
  }

  .overlay-title {
    font-size: 3rem;
    top: 40%;
    left: 30%;
    position: absolute;
  }

  /* ナビ */
  #nav-menu {
    gap: 1rem;               /* リンク間隔を少し狭く */
    height: 6em;             /* 高さを小さく */
    margin-bottom: 20px;
  }

  #nav-menu a {
  display: inline-block;  /* 幅を指定できるように */
  width: 75px;            /* 好きな幅に調整 */
  font-size: 1rem;
  padding: 0.5rem 0;      /* 上下のパディングだけ */
  text-align: center;     /* 文字を中央寄せ */
  text-decoration: none;
}

  
  /* コーヒーカップアニメーション */
  #canvas {
    width: 100% !important;
    height: auto !important;
  }

  /* 各項目 */
  .section {
    padding: 30px 10px;
  }

  /* about */

  .about-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-text {
    padding: 10px;
    font-size: 1rem;
  }

  .br-sp {
    display: inline;
  }

  /* about動画 */
  .video-bordered {
    margin: 0 auto;
  }

  /* メニュー内容 */
.menu-container {
  width: 100%;
  max-width: none;
  padding-right: 160px; /* 画像表示分の余白 */
  box-sizing: border-box;

}
.menu-container span{
  font-size: small; /* 小さめの文字サイズ */
}

.menu-item {
  display: flex;
  justify-content: space-between; /* 左右にメニュー名と価格 */
  align-items: center;
  padding: 8px 12px; /* 余白を少し小さく */
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  height: auto; /* 高さ自動調整 */
  line-height: 1.2;
}

.item-name {
  flex: 1;
  white-space: nowrap; /* 折り返さず一行で表示 */
  overflow: hidden;
  text-overflow: ellipsis; /* 長い場合は省略表示 */
}

.item-price-center {
  width: 60px; /* 適度な幅 */
  text-align: right;
  flex-shrink: 0; /* 価格は縮まない */
}


  /* メニュー画像 */
  #menu-image-preview {
    position: fixed;
    top: 50%;
    /* 画面の縦中央 */
    left: 60%;
    width: 7em;
    height: 7em;
    border: 8px double #c9caca;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 999;
    overflow: hidden;
    transform: translateY(-50%);
    /* 縦方向中央に */
  }

  #menu-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ヘッダー下の画像 */
  .hero {
    height: 250px;
    font-size: 1.2rem;
    padding: 0 10px;
    text-align: center;
  }

  /* フッター */
  footer {
    font-size: 1em;
    padding: 20px 15px;
  }

  .footer-top a {
  display: inline-block; /* 横並びになるのでblockは不要 */
}

.footer-top {
  display: flex;
  gap: 10px;          /* リンク間のスペース調整 */
  justify-content: center; /* 中央寄せにしたい場合 */
  align-items: center; /* 縦方向の中央揃え */
  justify-content: flex-end;
}

  .footer-top,
  .footer-bottom {
    margin-bottom: 15px;
  }

    .footer-bottom{
      font-size: small;
    }

  .footer-copy {
    font-size: 10px;
  }
  
  /* オンラインストア */
.store-link {
  align-items: flex-end; /* 中身を右寄せ */
  text-align: right;
  padding-right: 0; /* 必要なら調整 */
  margin-bottom: 25px
}

  .cart {
    width: 60px;
  }

  .beans {
    width: 35px;
    top: -50px;
    left: 52%;
    transform: translateX(-50%);
  }

  .beans.active {
  top: 80px;
  opacity: 1;
}

}