/* ------------------------------
   全体共通スタイル
------------------------------ */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(
    to bottom,
    #ffe6eb 0%, #ffc0cb 20%, #ffc0cb 40%,
    #ffe6eb 60%, #ffc0cb 80%, #ffe6eb 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
body > * {
  position: relative;
  z-index: 1;
}

/* ------------------------------
   トップビジュアル
------------------------------ */
.top-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(105deg, #ff0000 0%, #ffa500 15%, #ffff00 25%, #00cfff 45%, #8fb3e7 65%, #f0a7d8 80%, #ea4aa2 100%);
  overflow: hidden;
}
.top-main-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  transform: scale(1.2);
  transform-origin: center;
  margin: 0 auto;
  display: block;
}

/* ------------------------------
   キャッチコピー
------------------------------ */
.catch-copy {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
  transform: translateX(100px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.catch-copy.visible {
  transform: translateX(0);
  opacity: 1;
}
.catch-copy h2, .catch-copy p {
  color: #ea4aa2;
}
.catch-copy h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.catch-copy p {
  font-size: 1.2rem;
}





.product-section {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.product-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.slideshow-and-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.slideshow-wrapper {
  width: 300px;
  max-width: 100%;
  position: relative;
}

.slideshow-container {
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0);
  cursor: pointer;
  user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.dots span.active {
  background: #ff6699;
}

.product-info {
  max-height: 300px;
  overflow-y: auto;
  flex: 1;
  min-width: 250px;
}

@media (max-width: 600px) {
  .slideshow-and-text {
    flex-direction: column;
    align-items: center;
  }

  .product-info {
    max-height: none;
    overflow-y: visible;
  }
}
.product {
  background-color: rgba(255, 255, 255, 0.5); /* 白背景50% */
  border: 2px solid #fff;                     /* 白い枠線 */
  border-radius: 20px;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.product:hover {
  box-shadow: 0 0 20px 5px rgba(255, 105, 180, 0.6); /* pink外光 */
}


.product h2 {
  color: #ff69b4;         /* ピンク（HotPink） */
  font-weight: bold;      /* 太字 */
  font-size: 1.8rem;      /* 必要に応じてサイズ調整 */
  text-align: center;     /* 中央寄せ（任意） */
  margin-bottom: 20px;    /* 下に余白 */
}


/* トップビジュアル全体 */
.top-visual {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* 内側ラッパー */
.top-visual-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* メイン画像 */
.top-main-image {
  width: 100%;         /* 画面幅にフィット */
  height: auto;        /* アスペクト比維持 */
  display: block;
  margin: 0 auto;
  border-radius: 10px; /* 任意：角丸 */
}


@media screen and (max-width: 600px) {
  .top-main-image {
    border-radius: 0;        /* スマホは角丸なしにする例 */
  }

  .top-visual-inner {
    padding: 0 10px;         /* 左右にちょっと余白 */
  }
}


.top-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  max-width: 600px;  /* 任意：最大幅制限 */
  border-radius: 12px; /* 任意：角丸でやわらかく */
  box-sizing: border-box;
}


@media screen and (max-width: 600px) {
  .top-image {
    max-width: 100%;    /* 小さい端末では最大幅を解除 */
    margin-bottom: 15px;
  }
}

.product {
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.product:hover {
  box-shadow: 0 0 20px 5px rgba(255, 105, 180, 0.5);
}

.product h2 {
  color: #ff69b4;
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
}

.top-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px;
}

.product-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  width: 100%;
}

/* ▼ 横長スライド用 */
.slideshow-wrapper.wide-slide {
  width: 100%;
  max-width: 600px;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide.wide {
  width: 600px;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-radius: 20px;
}

/* ▼ スライド矢印 */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}
.dots span.active {
  background: #ff69b4;
}

/* ▼ 商品説明 */
.product-info {
  max-height: 300px;
  overflow-y: auto;
  flex: 1;
  min-width: 250px;
}

/* ▼ 購入ボタン */
.purchase_ctp {
  text-align: center;
  margin-top: 20px;
}
.purchase-button {
  background: #ff69b4;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.purchase-button:hover {
  background: #e0559f;
}

/* ▼ レスポンシブ */
@media screen and (max-width: 600px) {
  .product-section {
    flex-direction: column;
    align-items: center;
  }
  .slide.wide {
    width: 100%;
  }
  .top-image {
    max-width: 100%;
  }
}

.header-spacer {
  height: 40px;                        /* 高さはお好みで */
  background-color: #fff;             /* 白背景を表示 */
  width: 100%;
}

header {
  background-color: #fff;         /* 背景を白に */
  width: 100%;
  padding: 10px 20px;             /* 余白（任意） */
  box-shadow: 0 2px 5px rgba(0,0,0,0.0);  /* 下にうっすら影（任意） */
  position: relative;
  z-index: 100;                   /* メニューが上に重なるように */
}


.page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.page-top:hover {
  opacity: 1;
}


.top-image {
  transition: transform 0.3s ease; /* スムーズに変化 */
}

.top-image:hover {
  transform: scale(1.05); /* 5%拡大 */
}

.top-image:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0); /* 影で浮かせる */
  z-index: 2;
}

.purchase-button {
  display: inline-block;
  background-color: #ff69b4;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purchase-button:hover {
  transform: scale(1.08); /* 8%拡大 */
  box-shadow: 0 8px 16px rgba(255, 105, 180, 0.4); /* ピンク系の影 */
}


.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #ff69b4; /* ピンク色に */
  background-color: rgba(255, 255, 255, 0.7); /* 半透明の背景（任意） */
  border-radius: 50%;
  padding: 6px 12px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: background 0.3s, transform 0.3s;
}

.prev:hover,
.next:hover {
  background-color: #ff69b4; /* ホバーで濃いピンクに */
  color: white;
  transform: translateY(-50%) scale(1.1); /* 拡大演出（任意） */
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}


.catch-logo {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.catch-copy {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.catch-copy.visible {
  opacity: 1;
  transform: translateY(0);
}


.product-info {
  color: #5C4033;             /* こげちゃ色 */
  font-size: 16px;
  line-height: 1.8;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  max-height: none;           /* 高さ制限を解除 */
  overflow-y: visible;        /* 縦スクロールをなくす */
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .product-info {
    font-size: 15px;
    padding: 12px 15px;
  }
}


.product-section {
  display: flex;
  align-items: center; /* ← これで上下中央揃えになる */
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}


.product-info {
  color: #5C4033;
  font-size: 16px;
  line-height: 1.8;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  box-sizing: border-box;
  max-width: 500px;
}

@media screen and (max-width: 768px) {
  .product-section {
    flex-direction: column;
    align-items: center;
  }
}
