/* Playgrounds#index 専用スタイル（mobile-first） */
:root {
  --bg-top: #FFFAE6;
  --bg-bottom: #FFFAE6;
  --accent-orange: #f8d76eff;
  --accent-blue: #91C0DA;
  --text-strong: #6a3b13;
  --text-muted: #a14f00;
  --text-cloud: #a14f00;
}

body.playgrounds-index {
  margin: 0;
  font-family: "Sarala", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) !important;
  color: var(--text-strong);
  min-height: 100vh;
}

/* ========== Hero Section ========== */
body.playgrounds-index .hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 16px;
}

body.playgrounds-index .greeting {
  background: #fff !important;
  color: var(--text-cloud) !important;
  font-weight: 700;
  text-align: center;
  padding: 28px 32px;
  /* 雲の形を作るための複雑なborder-radius */
  border-radius: 50px 50px 50px 50px / 60px 60px 40px 40px;
  box-shadow: 0 8px 25px rgba(161,79,0,.12);
  width: min(90vw, 380px);
  line-height: 1.4;
  font-size: 18px;
}

body.playgrounds-index .greeting::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #fff;
  border-radius: 30px;
  z-index: -1;
}

body.playgrounds-index .subtitle {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

body.playgrounds-index .subtitle:first-of-type {
  margin-top: 12px;
}

/* ========== Search Section ========== */
body.playgrounds-index .search-section {
  padding: 16px 16px 0;
}

body.playgrounds-index .search-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

body.playgrounds-index .search-option {
  text-align: center;
  max-width: 640px;
}

body.playgrounds-index .search-description {
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.playgrounds-index .search-description:first-child {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

/* ========== Buttons ========== */
body.playgrounds-index .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 16px 28px;
  width: clamp(260px, 75vw, 340px);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

body.playgrounds-index .btn-large {
  padding-block: 18px;
}

/* クイック検索ボタン（オレンジ） */
body.playgrounds-index .btn-primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255,143,42,0.3);
}

body.playgrounds-index .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,143,42,0.4);
}

/* しっかり検索ボタン（ブルー） */
body.playgrounds-index .btn-secondary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 8px 25px rgba(135,206,235,0.3);
}

body.playgrounds-index .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(135,206,235,0.4);
}

/* すべての施設を見るボタン（白） */
body.playgrounds-index .btn-outline {
  background: #fff;
  color: var(--text-strong);
  box-shadow: 0 8px 25px rgba(106,59,19,0.15);
  width: clamp(280px, 80vw, 380px);
}

body.playgrounds-index .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(106,59,19,0.2);
}

/* ========== Featured link ========== */
body.playgrounds-index .featured-playgrounds {
  display: flex;
  justify-content: center;
  padding: 24px 16px 32px;
}

/* =========================
   Tablet (iPad) 768px〜
   ========================= */
@media (min-width: 768px) {
  body.playgrounds-index .hero-section {
    padding: 32px 16px 24px;
  }
  
  body.playgrounds-index .greeting {
    font-size: 22px;
    padding: 32px 40px;
    width: min(80vw, 480px);
    border-radius: 60px 60px 60px 60px / 70px 70px 50px 50px;
  }

  body.playgrounds-index .subtitle {
    font-size: 14px;
  }

  body.playgrounds-index .search-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin-inline: auto;
  }
  
  body.playgrounds-index .btn {
    width: clamp(280px, 35vw, 380px);
    font-size: 16px;
  }
  
  body.playgrounds-index .search-description {
    font-size: 13px;
  }
  
  body.playgrounds-index .search-description:first-child {
    font-size: 14px;
  }
}

/* =========================
   Desktop 1200px〜
   ========================= */
@media (min-width: 1200px) {
  body.playgrounds-index .hero-section {
    padding: 40px 16px 32px;
  }
  
  body.playgrounds-index .greeting {
    font-size: 26px;
    width: 560px;
    padding: 36px 48px;
    border-radius: 70px 70px 70px 70px / 80px 80px 60px 60px;
  }
  
  body.playgrounds-index .subtitle {
    font-size: 15px;
  }
  
  body.playgrounds-index .btn {
    width: 360px;
    font-size: 17px;
  }
  
  body.playgrounds-index .search-buttons {
    gap: 48px;
    max-width: 1000px;
  }
  
  body.playgrounds-index .featured-playgrounds {
    padding-bottom: 40px;
  }
}