/* ==============================
   Strawberry Fields 傘コレクションLP用CSS
   デザイン用途：レスポンシブ対応の上品な傘一覧表示
   ============================== */

/* ---------- ナビゲーションカテゴリ ---------- */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto 3rem;
  max-width: 800px;
  padding: 0 1rem;
}

.category-link {
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.category-link:hover {
  transform: scale(1.05);
}

.category-image {
  width: 140px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  margin-bottom: 0.5rem;
}

.category-label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #8dccd5;
}

/* ---------- グリッド構造 ---------- */
.umbrella-grid-heading {
  margin: 3rem auto 2rem;
  text-align: center;
  max-width: 1200px;
}

.umbrella-grid-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.umbrella-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .umbrella-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- セクション（商品） ---------- */
.br-sp {
  display: none;
}
@media (max-width: 600px) {
  .br-sp {
    display: block;
  }
}

.umbrella-section {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

.section-heading {
  background: #a8e0e8;
  padding: 1rem 0;
  margin: 0 auto 1rem;
  width: 100%;
  max-width: 90%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* ← 弱めのアール */
}


.section-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0; /* ← 余計な外側余白をリセット */
  line-height: 1.2;
}

/* ---------- スライダー ---------- */
.slider-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0 1rem;
  box-sizing: border-box;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .slide {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}

.arrow.left { left: 0; }
.arrow.right { right: 0; }

/* ---------- カラー選択ボタン ---------- */
.color-palette {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.color-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .color-btn {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
  }
}

.color-label { color: #000; }
.color-btn.soft .color-label { color: #555; }
.color-btn.dark .color-label { color: #fff; }

.color-btn:focus,
.color-btn.selected {
  border-color: #000;
  background-color: #eee;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* ---------- テキスト・その他 ---------- */
.description {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1rem;
  margin: 1.5rem auto;
}

.check-button {
  text-align: center;
}


.product-info {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.check-link {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 1rem;
  text-align: center;
}

.check-link:hover {
  background: #000;
  color: #fff;
}

/* ---------- フッター ---------- */
.footer-link {
  background-color: #a8e0e8;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-link p {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-button {
  background-color: #76c0cb;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-button:hover {
  background-color: #56a3af;
  transform: scale(1.05);
}

/* ---------- ヘッダー画像（レスポンシブ） ---------- */
.main-header picture,
.main-header picture img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.main-header {
  width: 100%;
  overflow: hidden;
}

/* ---------- フローティングリンク（右下） ---------- */
.floating-link {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  font-size: 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.floating-link:hover {
  opacity: 1;
  background-color: #000;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ---------- 基本設定 ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.intro-message {
  text-align: center;
}
