html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Futura", sans-serif;
}

body {
  background-color: #fef5e6;
}

body.loaded .page-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.page-content {
  opacity: 0;
  transform: translateY(30px);
}

.page-content .carousel {
  position: static;
  opacity: 1;
  transform: none;
  margin: 3rem 0;
}

.curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f07c00; /* moooor オレンジ */
  z-index: 10;
}

.intro {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
}

.intro-logo {
  font-size: 8vw;
  color: #fef5e6;
  opacity: 0;
  transform: scale(0.8);
  margin: 0;
}

.carousel {
  width: 100%;
  margin: 3rem auto;
  opacity: 1;
}

.carousel-track {
  display: flex;
  justify-content: center;
  gap: 60px;
  opacity: 1;
}

.carousel-track img {
  width: 200px;
  height: auto;
}

/* デフォルト gap（例: PC用） */
.carousel-track {
  gap: 100px;
}

/* 画面が狭いときは gap を小さく */
@media (max-width: 1200px) {
  .carousel-track {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 20px;
  }
}

.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 80px;
  will-change: transform;
}

.carousel-track img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

/* 上部ブランドテキスト */
.top-brand-text {
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 1.5rem 0;
  background-color: #e5dbd2;
  color: #333;
}

/* スライダー */
.macaron-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #fef5e6;
  scroll-behavior: smooth;
}

.macaron-slider img {
  width: 2000px;
  height: 370px;
  object-fit: cover;
}

/* 線とその背景色部分を包むボックス */
.divider-colored {
  background-color: #fef5e6;
  padding: 1rem 0;
  width: 100%;
}

/* 線そのもの */
.divider-line {
  width: 97%;
  height: 1px;
  background-color: #ccc;
  margin: 0 auto;
}

/* ロゴとボタン */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #fef5e6;
  position: relative;
}

/* 上部ボタン配置 */
.top-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.catchphrase {
  font-size: 1rem;
  color: #6b4c3b;
  text-align: center;
  margin: 1rem 0;
  line-height: 1.6;
  font-family: "Futura", sans-serif;
}

.logo-image {
  object-fit: contain;
  height: 350px;
  margin: 10px;
}

.menu-button,
.shop-button {
  padding: 1.2rem 2rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ボタン共通スタイル */
.menu-button,
.cart-open-button,
.joyful-button {
  background-color: #000; /* 通常時の背景色 */
  color: #fff; /* 通常時の文字色 */
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ホバー時のポップアニメーションと色変化 */
.menu-button:hover,
.cart-open-button:hover,
.joyful-button:hover {
  background-color: #ff9a3c; /* ホバー時の背景色（オレンジ系） */
  color: #fff; /* ホバー時の文字色 */
  transform: scale(1.08) rotate(-2deg); /* 少し大きく & 傾ける */
}

/* メインビジュアル */
.hero {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ABOUTセクション全体 */
.about-section {
  padding: 4rem 2rem;
  background-color: #fffefc;
}

/* セクションタイトル */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333;
  text-align: left;
  padding-left: 8rem;
}

/* コンテンツレイアウト */
.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
  text-align: left;
}

/* 左の画像 */
.about-image img {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 右のテキスト */
.about-text {
  flex: 1;
  min-width: 250px;
}

/* 小見出し */
.about-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* 黒線（下線） */
.about-divider {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin-bottom: 1rem;
}

/* テキスト本文 */
.about-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  padding-top: 4rem;
}

/* アレルゲン表記 */
.about-note {
  font-size: 0.85rem;
  color: #777;
}

.lineup-section {
  font-family: "Futura", sans-serif;
  background-color: #fdf4e3;
  padding: 4rem 2rem;
  position: relative;
  background-color: #fdf6ef;
  padding: 4rem 2rem;
}

.lineup-section::after {
  right: 4rem;
}

.lineup-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333;
  text-align: left;
  padding-left: 8rem;
  z-index: 1;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.macaron-item {
  position: relative;
  overflow: hidden;
}

.macaron-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 191, 135, 0.382);
  border-radius: 10%;
  pointer-events: none;
  z-index: 0;
  transition: none;
  opacity: 1; /* ← 常に表示 */
}

.macaron-item:hover::before {
  width: 100%;
  height: 100%;
  transition: width 0.3s ease-out, height 0.3s ease-out;
}

@keyframes ripple-spread {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 300%;
    height: 300%;
    opacity: 0;
  }
}

.macaron-item img {
  width: 200px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.macaron-item p {
  margin-top: 0.8rem;
  font-family: "Futura", sans-serif;
  font-size: 1.4rem;
  color: #4a3b2f;
  z-index: 1;
}

.macaron-item:hover img {
  transform: scale(1.1);
}

.shop-banner {
  position: relative;
  background-image: url("../images/shop.jpg");
  background-size: 100%;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-overlay {
  max-width: 40%;
  height: auto;
  object-fit: cover;
  overflow: hidden;
  clip-path: inset(0 0 10% 0);
}

.joyful-section {
  background: #c6e8f7;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.joyful-images {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-image {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  width: 150px;
  height: 150px;
}

.joyful-section {
  background: #c6e8f7;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.joyful-section h2 {
  font-family: "Futura", sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.1;
  color: #1d1d1d;
  margin-bottom: 2rem;
  z-index: 5; /* ← 文字を前に出す */
}

.joyful-images {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1; /* ← 文字より下にする */
  left: 0;
}

.joyful-button {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background-color: #1d1d1d;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  z-index: 5;
}

.float-image {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: rgba(240, 124, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2000;
}

.cart-page {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
}

.cart-page h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.cart-item img {
  width: 80px;
  height: auto;
}

.item-details {
  flex: 1;
}

.item-name {
  font-weight: bold;
  font-size: 1.2rem;
}

.item-price {
  color: #666;
}

.cart-total {
  margin-top: 2rem;
  text-align: right;
  font-size: 1.4rem;
}

.cart-checkout {
  background: #f07c00;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1rem;
}

a {
  text-decoration: none;
}

.macaron-item {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.macaron-item:hover {
  transform: scale(1.05);
}

.macaron-popup {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
  text-align: center;
}

.macaron-item:hover .macaron-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.macaron-popup .price {
  display: block;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.macaron-popup .add-to-cart {
  padding: 0.5rem 1rem;
  background-color: #f07c00;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.macaron-popup .add-to-cart:hover {
  background-color: #d56600;
}

.carousel-track {
  will-change: transform;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 20%; /* ← 左半分だけ */
  height: 100%;
  background: #fff4cce7;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.menu-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-inner li {
  margin-bottom: 2rem;
}

.menu-inner a {
  text-decoration: none;
  color: #333;
  font-family: "Futura", sans-serif;
  font-size: 2rem;
  font-weight: bold;
}

.menu-footer {
  margin-top: auto;
  font-family: "Futura", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: #333;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.8) rotate(0deg);
}