/* ===== シブヤでポイポイ 紹介LP =====
   暖色（クリーム→黄）でストア素材と世界観を統一。
   配色: store_aso_branding.md 準拠
   - 背景: #fef6e0 → #fbe08a
   - タイトル3色: ピンク #e8488a / パープル #8b5cf6 / シアン #0ea5b9
   - 4分別: 可燃 #fb923c / 不燃 #60a5fa / 資源 #10b981 / 粗大 #c084fc
*/

:root {
  --cream: #fef6e0;
  --yellow: #fbe08a;
  --ink: #4a3a1c;
  --ink-soft: #7a6539;
  --pink: #e8488a;
  --purple: #8b5cf6;
  --cyan: #0ea5b9;
  --card: #fffdf7;
  --shadow: 0 8px 24px rgba(120, 90, 20, 0.12);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; background: var(--yellow); }

body {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream) 0%, var(--yellow) 60%, var(--yellow) 100%);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(120, 90, 20, 0.1);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { border-radius: 9px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
/* ヘッダーのページ内ナビ
   - 狭い画面: ハンバーガーで開くドロップダウン（言語切替はヘッダーに残す）
   - 1024px 以上: ヘッダー内に横並び表示（ナビ項目数が多いので溢れ防止に高め設定） */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(120, 90, 20, 0.1);
  box-shadow: 0 12px 24px rgba(120, 90, 20, 0.12);
  padding: 4px 18px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-header.nav-open .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700;
  font-size: 1rem; opacity: .9; transition: color .15s; white-space: nowrap;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(120, 90, 20, 0.08);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover { color: var(--pink); }

/* ハンバーガーボタン（狭い画面のみ） */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 2px solid #e6d3a3;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top: 6px;  left: 0; }
.site-header.nav-open .nav-toggle-bars { background: transparent; }
.site-header.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    gap: 16px;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav a {
    font-size: .88rem; opacity: .82; padding: 0; border-bottom: none;
  }
}

/* ===== Sections common ===== */
html { scroll-behavior: smooth; }
section { padding: 56px 20px; scroll-margin-top: 72px; }
.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--ink);
}

/* ===== Hero ===== */
.hero { text-align: center; padding-top: 40px; padding-bottom: 44px; }
.hero-art {
  width: clamp(180px, 52vw, 260px);
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 18px rgba(120, 90, 20, 0.18));
}
.hero-title {
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.15;
}
.hero-title .c-pink { color: var(--pink); }
.hero-title .c-purple { color: var(--purple); }
.hero-title .c-cyan { color: var(--cyan); }
.hero-sub {
  margin-top: 10px;
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 800;
  color: var(--ink);
}
.hero-lead {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.hero-lead strong { color: var(--pink); font-weight: 800; }

/* ===== Store badges ===== */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
}
.store-col { display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #2b2417;
  color: #fff;
  text-decoration: none;
  min-width: 168px;
}
.badge svg { flex: none; }
.badge-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-txt small { font-size: .68rem; opacity: .85; }
.badge-txt strong { font-size: 1.05rem; font-weight: 700; }
.badge.is-disabled { opacity: .55; cursor: default; pointer-events: none; }
.badge-note { margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }
/* App Store QR（PCで読み取り用・iPhone専用なので App Store バッジ直下。スマホはtapで足りるので非表示） */
.store-qr-wrap { display: none; margin-top: 14px; text-align: center; }
.store-qr { width: 124px; height: 124px; margin: 0 auto; border-radius: 10px; background: #fff; padding: 6px; box-sizing: content-box; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.store-qr-cap { margin: 8px auto 0; font-size: .76rem; color: var(--ink-soft); max-width: 168px; line-height: 1.3; }
@media (min-width: 700px) { .store-qr-wrap { display: block; } }
.lang-note {
  display: inline-block; margin-top: 10px;
  font-size: .82rem; font-weight: 800; color: #8b5cf6;
  background: #fff; border: 2px solid #e6d3a3; border-radius: 999px;
  padding: 5px 14px; line-height: 1;
}

/* ===== Features ===== */
.features { background: rgba(255, 255, 255, 0.35); }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.feature-card {
  flex: 0 1 calc(50% - 8px);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-card img { width: 84px; margin: 0 auto 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }

/* ===== Screenshots ===== */
.shot-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}
.shot-row figure {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: center;
  text-align: center;
}
.shot-row img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.shot-row figcaption {
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ===== For who ===== */
.forwho { background: rgba(255, 255, 255, 0.35); }
.forwho-list {
  list-style: none;
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.forwho-list li {
  background: var(--card);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.forwho-list .emoji { font-size: 1.5rem; flex: none; }
.forwho-msg {
  text-align: center;
  margin-top: 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* ===== CTA ===== */
.cta { text-align: center; }
.cta img { width: 120px; margin: 0 auto 8px; filter: drop-shadow(0 8px 14px rgba(120, 90, 20, 0.18)); }
.cta h2 { font-size: 1.6rem; font-weight: 900; color: var(--purple); }
.cta p { margin-top: 10px; color: var(--ink-soft); }
.cta .badges { margin-top: 22px; }

/* ===== Story（どうして作ったの？）===== */
.story-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 6px 22px rgba(120, 90, 20, 0.08);
  text-align: left;
}
.story-card p { margin: 0 0 18px; line-height: 1.9; color: var(--ink-soft); font-size: .97rem; }
.story-card p:last-child { margin-bottom: 0; }
.story-card .story-lead {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 24px;
}
@media (max-width: 480px) { .story-card { padding: 28px 22px; } }

/* ===== Support（協賛のご案内）===== */
.support-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 6px 22px rgba(120, 90, 20, 0.08);
  border: 2px solid rgba(232, 72, 138, 0.18);
  text-align: left;
}
.support-card p { line-height: 1.9; color: var(--ink-soft); font-size: .97rem; }
.support-lead {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 20px;
}
.support-points { list-style: none; margin: 22px 0 16px; display: flex; flex-direction: column; gap: 12px; }
.support-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); line-height: 1.7; }
.support-points .support-emoji { font-size: 1.4rem; flex: none; line-height: 1.5; }
.support-points a { color: var(--purple); font-weight: 700; text-decoration: underline; }
.support-points a:hover { color: var(--pink); }
.support-targets { font-size: .88rem; text-align: center; margin-top: 4px; }
.support-btn {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  padding: 13px 30px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(232, 72, 138, 0.3);
}
.support-btn:hover { filter: brightness(1.05); }
@media (max-width: 480px) { .support-card { padding: 28px 22px; } }

/* ===== Legal pages (terms / privacy) ===== */
.legal { max-width: 680px; margin: 0 auto; padding: 40px 20px 64px; }
.legal-back {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }
.legal h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 4px; }
.legal .legal-meta { font-size: .82rem; color: var(--ink-soft); margin-bottom: 22px; }
.legal-card {
  background: var(--card);
  border: 2px solid #f0d9a8;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.legal-card section { padding: 0; margin-bottom: 22px; }
.legal-card section:last-child { margin-bottom: 0; }
.legal-card h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.legal-card p { font-size: .92rem; color: #5b4a2a; }
.legal-card ul { margin: 6px 0 0; padding-left: 1.3em; }
.legal-card li { font-size: .92rem; color: #5b4a2a; margin-bottom: 4px; }
.legal-card a { color: var(--cyan); word-break: break-all; }

/* ===== Contact form ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.form-label .required {
  background: var(--pink); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 2px 7px; border-radius: 6px; margin-left: 7px; vertical-align: middle;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 2px solid #f0d9a8; border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--purple); }
.form-textarea { min-height: 150px; resize: vertical; }
.form-submit {
  width: 100%; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: 14px;
  font-family: inherit; font-size: 1rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  transition: filter .15s;
}
.form-submit:hover { filter: brightness(1.05); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin-top: 12px; text-align: center; line-height: 1.7; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.6; display: none; white-space: pre-wrap; }
.form-msg.success { display: block; background: #e9f9ef; color: #1b7a44; border: 1px solid #b6e6c8; }
.form-msg.error { display: block; background: #fdeaea; color: #b3261e; border: 1px solid #f3c0bc; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.success-panel { text-align: center; display: none; }
.success-panel.show { display: block; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; font-weight: 900;
}
.success-title { font-size: 1.2rem; font-weight: 900; margin-bottom: 10px; color: var(--purple); }
.success-body { font-size: .92rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: 24px; }
.success-back {
  display: inline-block; text-decoration: none; color: #fff; font-weight: 800;
  padding: 12px 28px; border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 38px 20px 46px;
  background: rgba(43, 36, 23, 0.04);
}
.footer-brand { font-weight: 800; font-size: 1.05rem; }
.footer-note { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
.footer-links {
  margin-top: 18px;
  display: flex;
  gap: 8px 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--purple); text-decoration: underline; }
.footer-copy { font-size: .8rem; color: var(--ink-soft); margin-top: 14px; }

/* ===== Responsive ===== */
.pc-br { display: none; }

@media (min-width: 700px) {
  section { padding: 72px 24px; }
  .pc-br { display: inline; }
  .feature-grid { max-width: 900px; }
  .feature-card { flex-basis: calc(33.333% - 11px); }
  .shot-row { justify-content: center; flex-wrap: nowrap; }
  .shot-row figure { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== お知らせ（ベル・モーダル・news ページ） ===== */
.news-bell {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  background: #fff; border: 2px solid #e6d3a3; border-radius: 999px;
  cursor: pointer; line-height: 1; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.news-bell:hover { background: #fff7e6; color: var(--purple); }
.news-bell-icon { display: block; }
.news-dot {
  position: absolute; top: 3px; right: 4px;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--pink); border: 2px solid #fff;
}
.news-dot[hidden] { display: none; }

body.news-open { overflow: hidden; }
.news-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.news-modal[hidden] { display: none; }
.news-modal-backdrop { position: absolute; inset: 0; background: rgba(74, 58, 28, 0.45); }
.news-modal-card {
  position: relative; width: 100%; max-width: 460px;
  max-height: 84vh; overflow-y: auto;
  background: var(--card); border: 2px solid #f0d9a8; border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(120, 90, 20, 0.28);
  padding: 18px 18px 8px;
}
.news-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.news-modal-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.news-modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--ink-soft); padding: 2px 6px;
}
.news-modal-close:hover { color: var(--pink); }
.news-modal-body { margin-top: 4px; }
.news-modal-all {
  display: block; text-align: center; margin-top: 4px; padding: 12px 8px;
  color: var(--purple); font-weight: 800; text-decoration: none; border-top: 1px solid #f0e2c2;
}
.news-modal-all:hover { color: var(--pink); }

.news-item { padding: 14px 4px; }
.news-modal-body .news-item + .news-item { border-top: 1px solid #f0e2c2; }
.news-item-date { margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.news-item-title { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.news-item-text { font-size: .92rem; line-height: 1.75; color: #5c4a24; }
.news-item-text strong { color: var(--pink); }
.news-item-text small { display: inline-block; margin-top: 6px; color: var(--ink-soft); font-size: .8rem; }
.news-item-img {
  display: block; width: 100%; max-width: 216px; height: auto;
  margin: 12px auto 2px; border-radius: 14px; border: 1px solid #f0d9a8;
  box-shadow: 0 4px 12px rgba(120, 90, 20, 0.12);
}

/* /news/ ページ */
.news-page { max-width: 640px; margin: 0 auto; padding: 96px 20px 64px; }
.news-page-title { text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.news-page-sub { text-align: center; color: var(--ink-soft); font-size: .9rem; margin: 0 0 26px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list .news-item {
  background: var(--card); border: 2px solid #f0d9a8; border-radius: 18px;
  padding: 16px 18px; box-shadow: 0 4px 14px rgba(120, 90, 20, 0.08);
}
.news-back { display: inline-block; margin-top: 26px; color: var(--purple); font-weight: 800; text-decoration: none; }
.news-back:hover { color: var(--pink); }
