/* ============================================
   お片付けシミュレーション - ピンク系デザイン
   ============================================ */

:root {
  --pink: #e88dad;
  --pink-light: #f8d0dc;
  --pink-bg: #fce4ec;
  --pink-pale: #fef6f8;
  --pink-dark: #c2185b;
  --accent: #d4a373;
  --accent-dark: #b8860b;
  --brown: #5a3825;
  --brown-light: #8d6e63;
  --text: #3e2723;
  --text-light: #6d4c41;
  --text-muted: #a1887f;
  --bg: #fff9fa;
  --bg-white: #ffffff;
  --border: #f3d5dc;
  --border-strong: #e88dad;
  --shadow: 0 2px 12px rgba(200,100,120,0.1);
  --shadow-lg: 0 8px 30px rgba(200,100,120,0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* トップバナー */
.top-banner {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-banner-icon {
  font-size: 1.3rem;
}

.top-banner-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-banner-arrow {
  font-size: 0.8rem;
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ========== ヒーローセクション ========== */
.hero {
  background: var(--pink-bg);
  padding: 30px 20px 10px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.hero-illust {
  flex-shrink: 0;
}

.hero-illust svg {
  height: 200px;
  width: auto;
}

.hero-illust-left { margin-right: -10px; }
.hero-illust-right { margin-left: -10px; }

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  padding: 0 10px;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-emphasis {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-emphasis span {
  font-size: 1.15rem;
  font-weight: 700;
}

/* 「お困り」の赤強調 */
.hero-emphasis::before {
  content: '';
}

/* サービスアイコン */
.hero-services {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 110px;
}

.service-icon {
  width: 48px;
  height: 48px;
}

.hero-service span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
}

/* 矢印 */
.hero-arrow-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 8px;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 10px rgba(232,141,173,0.4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ========== リユースバナー ========== */
.reuse-banner {
  background: #fff;
  border-top: 3px solid var(--pink);
  border-bottom: 3px solid var(--pink);
  padding: 24px 0;
}

.reuse-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff5f7, #fff0f3);
  border: 2px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.reuse-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 4px;
  line-height: 1.5;
}

.reuse-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.reuse-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.reuse-items {
  overflow-x: auto;
}

.reuse-items-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ========== メイン ========== */
.main {
  padding-bottom: 20px;
}

/* ステップ */
.step-section {
  margin-top: 28px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.step-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

/* カテゴリ */
.category {
  margin-bottom: 24px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.cat-icon { font-size: 1.1rem; }

/* アイテムグリッド */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.item-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.item-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.item-card.active {
  border-color: var(--pink);
  background: var(--pink-pale);
  box-shadow: 0 0 0 3px rgba(232,141,173,0.15);
}

.item-icon {
  font-size: 1.7rem;
  margin-bottom: 2px;
}

.item-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1px;
  line-height: 1.3;
  min-height: 2em;
}

.item-volume {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* 数量コントロール */
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--pink-pale);
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  color: var(--text);
}

.qty-btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.qty-btn:active {
  transform: scale(0.9);
}

.qty-input {
  width: 40px;
  height: 28px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(232,141,173,0.2);
}

/* ========== オプション ========== */
.option-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: all 0.2s ease;
}

.option-card:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-pale);
}

.option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.option-label input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
  margin-top: 2px;
}

.option-label input:checked + .checkbox-custom {
  background: var(--pink);
  border-color: var(--pink);
}

.option-label input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.option-desc {
  font-size: 0.82rem;
  color: var(--text-light);
}

.option-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-top: 2px;
}

/* ========== 結果 ========== */
.result-section {
  margin-top: 32px;
}

.result-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  border: 2px solid var(--pink);
}

.result-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.result-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

.result-details { margin-bottom: 20px; }

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.result-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.result-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.total-row { padding-top: 12px; }

.total-row .result-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.total-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink-dark);
}

/* キャッシュバック */
.cashback-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fff9e6, #fff3cc);
  border: 2px solid #f0d060;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.cashback-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cashback-notice p {
  font-size: 0.85rem;
  color: #5a4a1e;
  line-height: 1.6;
}

.cashback-notice strong {
  color: var(--accent-dark);
  font-weight: 900;
}

/* 注意書き */
.disclaimer {
  background: #faf5f6;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3px;
}

.disclaimer p:last-child { margin-bottom: 0; }

/* CTA */
.cta-area { text-align: center; }

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 44px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232,141,173,0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,141,173,0.5);
}

.cta-phone {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.cta-phone a {
  color: var(--pink-dark);
  text-decoration: none;
  font-size: 1.1rem;
}

/* ========== パック参考 ========== */
.packs-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 20px;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pack-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.pack-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pack-card.highlight {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232,141,173,0.2);
  background: var(--pink-pale);
}

.pack-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.pack-s .pack-badge { background: #e88dad; }
.pack-m .pack-badge { background: #d4a373; }
.pack-l .pack-badge { background: #e76f51; }

.pack-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.pack-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pack-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--pink-dark);
  margin-bottom: 4px;
}

.pack-price span {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pack-volume {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.pack-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== フッター ========== */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 22px 0;
  font-size: 0.8rem;
}

/* SEOコンテンツ（視覚的に非表示、検索エンジン・AI向け） */
.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .hero { padding: 20px 10px 8px; }

  .hero-illust svg { height: 140px; }

  .hero-lead { font-size: 0.95rem; }
  .hero-emphasis { font-size: 1.25rem; }
  .hero-emphasis span { font-size: 0.95rem; }

  .hero-services { gap: 12px; }
  .hero-service { padding: 8px 10px; min-width: 90px; }
  .service-icon { width: 38px; height: 38px; }
  .hero-service span { font-size: 0.7rem; }

  .hero-arrow {
    font-size: 0.82rem;
    padding: 8px 18px;
  }

  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  .item-card { padding: 10px 6px; }

  .result-card { padding: 22px 16px; }

  .packs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-button {
    padding: 12px 32px;
    font-size: 0.95rem;
  }

  .reuse-inner { padding: 18px 14px; }
}

@media (max-width: 520px) {
  .hero-inner {
    flex-direction: column;
    gap: 0;
  }

  .hero-illust {
    display: none;
  }

  .hero-content {
    padding: 0;
  }

  .hero-emphasis {
    font-size: 1.35rem;
  }

  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-header h2 { font-size: 0.95rem; }

  .total-value { font-size: 1.3rem; }
}
