@charset "utf-8";

/* =========================
   全体
========================= */
section {
  width: 100%;
  padding: 40px 0;
  margin: 0 0 120px 0;
}

/* =========================
   メニュー
========================= */
.amane-menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.amane-menu h2 {
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

/* =========================
   画像バー
========================= */
.menu-bar {
  width: 100%;
  margin-bottom: 20px;
}

.menu-bar img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   メニュー本体（PC：3列）
========================= */
.menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
  margin-bottom: 20px;
}

/* 1行 */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}

.menu-item span {
  white-space: nowrap;
}

/* =========================
   もっと見るボタン
========================= */
.more-btn {
  display: none; /* PCは消す */
}

/* =========================
   スマホ
========================= */
@media (max-width: 768px) {

  /* 2列表示 */
  .menu-items {
    grid-template-columns: 1fr;
    max-height: 120px;   /* ← 最初は少しだけ表示 */
    overflow: hidden;
    transition: 0.4s;
  }

  /* 開いた状態 */
  .menu-items.open {
    max-height: 1000px;
  }

  .menu-item {
    font-size: 14px;
  }

  .more-btn {
    display: block;
    width: 200px;
    margin: 10px auto 30px;
    padding: 10px;
    text-align: center;
    border: 1px solid #333;
    background: #fff;
    cursor: pointer;
  }
}

/* =========================
   PCは全部表示
========================= */
@media (min-width: 769px) {

  .menu-items {
    max-height: none;
    overflow: visible;
  }

  .more-btn {
    display: none !important;
  }
}


.kakigori-slider {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
    gap: 20px;
  width: max-content;
  animation: infinity-scroll 50s linear infinite;
}

.slide {
  flex-shrink: 0;
}

.slide img {
  width: 500px;
  height: auto;
  display: block;
  border-radius: 12px;
}

@keyframes infinity-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .slide img {
    width: 400px;
  }
}
