/* ========================================
   MustBuy LP
   ======================================== */

:root {
  --orange-main:  #F87E4A;
  --orange-deep:  #E85D2F;
  --orange-soft:  #FFB088;
  --orange-pale:  #FFE5D6;

  --bg-white:     #FFFFFF;
  --bg-beige:     #FFF8F3;

  --text-main:    #1F1F1F;
  --text-sub:     #6B6B6B;
  --text-mute:    #9A9A9A;

  --border:       #EFEFEF;
  --border-soft:  #F6F0EA;

  --shadow-sm:    0 2px 8px rgba(31, 31, 31, 0.05);
  --shadow-md:    0 8px 32px rgba(232, 93, 47, 0.12);
  --shadow-phone: 0 24px 48px -12px rgba(31, 31, 31, 0.22),
                  0 4px 12px rgba(31, 31, 31, 0.08);

  --font-body:    'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;

  --max-w:        1120px;
  --max-w-narrow: 720px;
}

/* -------- Reset -------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--max-w-narrow); }

/* -------- Section titles -------- */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.4;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-main);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 93, 47, 0.24);
}
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-beige);
  border-color: var(--orange-soft);
}
.btn-white {
  background: #fff;
  color: var(--orange-deep);
  padding: 20px 48px;
  font-size: 17px;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.play-badge {
  display: inline-block;
  position: relative;
  line-height: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius: 8px;
}
.play-badge img {
  height: 72px;
  width: auto;
  display: block;
}
.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.play-badge-on-dark:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}
.play-badge-soon {
  pointer-events: none;
  cursor: default;
}
.play-badge-soon:hover {
  transform: none;
  box-shadow: none;
}
.play-badge-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--orange-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(232, 93, 47, 0.35);
  white-space: nowrap;
  transform: rotate(6deg);
}
.play-badge-on-dark .play-badge-ribbon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ========================================
   1. Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(0);
  transition: background .2s ease, backdrop-filter .2s ease, border-color .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a {
  color: var(--text-sub);
  transition: color .15s ease;
}
.nav a:hover {
  color: var(--orange-deep);
}
.nav-cta {
  background: var(--orange-main);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--orange-deep);
  color: #fff !important;
}

/* -------- Language switcher -------- */
.lang-switcher {
  position: relative;
}
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  background: #fff;
  transition: border-color .15s ease, color .15s ease;
  user-select: none;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary::after {
  content: '▾';
  font-size: 10px;
  margin-left: 2px;
  color: var(--text-mute);
  transition: transform .15s ease;
}
.lang-switcher[open] summary {
  border-color: var(--orange-soft);
  color: var(--orange-deep);
}
.lang-switcher[open] summary::after { transform: rotate(180deg); }
.lang-switcher .lang-globe {
  font-size: 14px;
  line-height: 1;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31, 31, 31, 0.12);
  min-width: 160px;
  z-index: 60;
}
.lang-menu li { margin: 0; }
.lang-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: background .15s ease, color .15s ease;
}
.lang-menu a:hover {
  background: var(--bg-beige);
  color: var(--orange-deep);
}
.lang-menu a[aria-current="true"] {
  background: var(--orange-pale);
  color: var(--orange-deep);
  font-weight: 700;
}

/* ========================================
   2. Hero
   ======================================== */
.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-pale) 0%, rgba(255, 229, 214, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text {
  max-width: 600px;
  transform: translateY(-78px);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-deep);
  background: var(--orange-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
  white-space: nowrap;
}
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 14px;
  background: var(--orange-soft);
  opacity: 0.55;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-4deg);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-mute);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   Phone mockup (shared)
   ======================================== */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #1F1F1F;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #1F1F1F;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  background: #fff;
}
.phone-tilt {
  transform: rotate(-4deg);
}

/* ========================================
   3. Empathy
   ======================================== */
.empathy {
  background: var(--bg-beige);
  padding: 64px 0 72px;
}
.empathy .section-title {
  text-align: center;
  margin-bottom: 36px;
}
.bubbles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.bubble {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--border-soft);
}
.bubble p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 12px;
}
.bubble-note {
  font-size: 13px;
  color: var(--text-mute);
}
.bubble-1 { transform: rotate(-1.2deg); }
.bubble-2 { transform: translateY(16px) rotate(0.8deg); }
.bubble-3 { transform: rotate(-0.6deg); }

.empathy-fix {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 20px;
}
.down-arrow {
  display: inline-block;
  margin-left: 8px;
  color: var(--orange-main);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ========================================
   4. Features
   ======================================== */
.features {
  padding: 72px 0;
  background: #fff;
}
.features .section-eyebrow,
.features .section-title { text-align: center; }
.features .section-title { margin-bottom: 40px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.feature-card {
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-soft);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.8;
}
.feature-card strong {
  color: var(--text-main);
  font-weight: 700;
  background: linear-gradient(transparent 65%, var(--orange-pale) 65%);
  padding: 0 2px;
}

/* ========================================
   5. How to (Steps)
   ======================================== */
.howto {
  padding: 72px 0;
  background: var(--bg-beige);
}
.howto .section-eyebrow,
.howto .section-title { text-align: center; }
.howto .section-title { margin-bottom: 48px; }

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.step:last-child { margin-bottom: 0; }
.step-right .step-phone { order: 2; }
.step-phone {
  display: flex;
  justify-content: center;
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--orange-deep);
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--orange-soft);
  margin-bottom: 20px;
}
.step-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  margin-bottom: 16px;
}
.step-text p {
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ========================================
   6. Gallery
   ======================================== */
.gallery {
  padding: 72px 0;
  background: #fff;
  overflow: hidden;
}
.gallery .section-eyebrow,
.gallery .section-title { text-align: center; }
.gallery .section-title { margin-bottom: 8px; }
.gallery-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.gallery-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 32px;
  scrollbar-width: thin;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--orange-soft); border-radius: 3px; }
.gallery-track {
  display: flex;
  gap: 40px;
  padding: 0 calc((100vw - var(--max-w)) / 2 + 24px);
}
@media (max-width: 1120px) {
  .gallery-track { padding: 0 24px; }
}
.gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  text-align: center;
}
.gallery-item .phone { width: 240px; }
.gallery-item figcaption {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
}

/* ========================================
   7. FAQ
   ======================================== */
.faq {
  padding: 72px 0;
  background: var(--bg-beige);
}
.faq .section-eyebrow,
.faq .section-title { text-align: center; }
.faq .section-title { margin-bottom: 28px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--orange-soft);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 52px;
  color: var(--text-main);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--orange-main);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.85;
}
.faq-item strong {
  color: var(--text-main);
}

/* ========================================
   8. Final CTA
   ======================================== */
.cta {
  padding: 72px 0 80px;
  background: var(--orange-main);
  background-image: linear-gradient(135deg, var(--orange-main) 0%, var(--orange-deep) 100%);
  text-align: center;
  color: #fff;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.4;
  margin-bottom: 12px;
}
.cta-sub {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
}
.cta-note {
  font-size: 12px;
  opacity: 0.78;
  margin-top: 14px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  padding: 32px 0 40px;
  background: var(--text-main);
  color: #fff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color .15s ease;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Scroll fade-in animation
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive — tablets
   ======================================== */
@media (max-width: 900px) {
  .hero { padding: 96px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-text { max-width: none; margin: 0 auto; transform: none; }
  .hero-cta { justify-content: center; }

  .feature-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }

  .step { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; text-align: center; }
  .step-right .step-phone { order: 0; }
  .step-num { margin: 0 auto 12px; }

  .bubbles { grid-template-columns: 1fr; gap: 14px; max-width: 440px; margin: 0 auto 20px; }
  .bubble-1, .bubble-2, .bubble-3 { transform: none; }
}

/* ========================================
   Responsive — phones
   ======================================== */
@media (max-width: 600px) {
  .container { padding: 0 20px; }

  .nav { gap: 8px; font-size: 13px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
  .lang-switcher summary { padding: 6px 10px; font-size: 12px; }
  .lang-switcher .lang-label { display: none; }

  .hero { padding: 88px 0 40px; }
  .hero-title { line-height: 1.2; white-space: normal; }
  .hero-sub br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { padding: 14px 24px; font-size: 14px; }

  .empathy, .features, .howto, .gallery, .faq { padding: 56px 0; }
  .empathy .section-title,
  .features .section-title,
  .howto .section-title,
  .faq .section-title { margin-bottom: 28px; }
  .gallery .section-title { margin-bottom: 8px; }

  .phone { width: 220px; }
  .gallery-item .phone { width: 200px; }
  .gallery-track { gap: 24px; padding: 0 20px; }

  .cta { padding: 56px 0 64px; }
  .btn-white { padding: 16px 36px; font-size: 15px; }
  .play-badge img { height: 60px; }
  .play-badge-ribbon { font-size: 11px; padding: 5px 9px; top: -8px; right: -8px; }

  .faq-item summary { padding: 18px 22px; font-size: 14.5px; padding-right: 44px; }
  .faq-item p { padding: 0 22px 20px; font-size: 13.5px; }
}
