:root {
  --bg: #fff6fb;
  --bg-soft: #fff0f7;
  --ink: #4a2641;
  --text: #6e4c63;
  --muted: #8a6a80;
  --line: #f0d6e6;
  --card: rgba(255, 255, 255, 0.8);
  --card-solid: #ffffff;
  --accent: #ef5fa4;
  --accent-2: #ff8fba;
  --accent-dark: #c7367e;
  --shadow-1: 0 10px 32px rgba(152, 54, 106, 0.12);
  --shadow-2: 0 18px 46px rgba(239, 95, 164, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --anchor-offset: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#download,
#features,
#tips {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(640px 330px at 8% -10%, rgba(255, 135, 195, 0.25), transparent 70%),
    radial-gradient(750px 420px at 98% 0%, rgba(239, 95, 164, 0.2), transparent 68%),
    linear-gradient(160deg, var(--bg), var(--bg-soft));
  font-family: "M PLUS Rounded 1c", sans-serif;
  line-height: 1.68;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--container), calc(100% - 2.2rem));
  margin-inline: auto;
}

.bg-ornaments {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.5;
  animation: floaty 10s ease-in-out infinite;
}

.orb-a {
  width: 250px;
  height: 250px;
  top: 130px;
  left: -80px;
  background: rgba(255, 143, 186, 0.42);
}

.orb-b {
  width: 220px;
  height: 220px;
  right: -70px;
  top: 290px;
  background: rgba(239, 95, 164, 0.3);
  animation-delay: 0.8s;
}

.orb-c {
  width: 180px;
  height: 180px;
  right: 16%;
  bottom: 52px;
  background: rgba(255, 183, 210, 0.34);
  animation-delay: 1.4s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(11px);
  background: rgba(255, 245, 251, 0.86);
  border-bottom: 1px solid rgba(240, 214, 230, 0.9);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.74rem 0;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.66rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
}

.brand-text {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.topnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.52rem;
}

.topnav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
}

.topnav a:hover {
  text-decoration: none;
  color: var(--ink);
  background: rgba(239, 95, 164, 0.15);
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(239, 95, 164, 0.34);
}

.top-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.hero {
  padding: 4rem 0 2.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.hero-copy {
  padding: 2.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 0.74rem;
  border-radius: 999px;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b8387c;
  background: rgba(239, 95, 164, 0.12);
  border: 1px solid rgba(239, 95, 164, 0.25);
}

.hero h1 {
  margin-top: 0.96rem;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
}

.lead {
  margin: 1.1rem 0 1.34rem;
  max-width: 43ch;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-2);
}

.btn-subtle {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.inline-icon {
  width: 16px;
  height: 16px;
}

.hero-badges {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.hero-badges li {
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  color: #9a2f68;
  background: rgba(255, 143, 186, 0.16);
  border: 1px solid rgba(239, 95, 164, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-visual {
  padding: 1rem;
  display: grid;
  gap: 0.82rem;
}

.main-shot {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f1d0e3;
  background: transparent;
  height: 320px;
}

.main-shot img,
.main-shot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem;
}

.hero-metrics article {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0.68rem 0.72rem;
  background: var(--card-solid);
}

.hero-metrics strong {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
}

.hero-metrics span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
  font-size: 0.81rem;
  line-height: 1.45;
}

.highlight-strip {
  padding-bottom: 0.4rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.highlight-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem 1.02rem;
  box-shadow: var(--shadow-1);
}

.highlight-grid h2 {
  font-size: 1.1rem;
}

.highlight-grid p {
  margin: 0.5rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.section {
  padding: 2rem 0 0;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.24rem);
  margin-top: 0.5rem;
}

.section-head p {
  margin: 0.54rem 0 0;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.76rem;
}

.feature-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.feature-card img {
  width: 100%;
  height: 154px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}

.feature-card div {
  padding: 0.9rem;
}

.feature-card h3 {
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0.44rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.guide-visual,
.guide-steps {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-1);
}

.guide-visual {
  padding: 0.8rem;
}

.guide-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #f1d0e3;
}

.guide-steps {
  padding: 1.4rem;
}

.guide-steps h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.guide-steps ol {
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.guide-steps li {
  display: grid;
  gap: 0.16rem;
  padding: 0.76rem 0.84rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.guide-steps li strong {
  font-size: 0.98rem;
}

.guide-steps li span {
  color: var(--text);
  font-size: 0.88rem;
}

code,
kbd {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  padding: 0.08rem 0.42rem;
  border-radius: 7px;
  border: 1px solid #f1d8e7;
  background: #fff6fb;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.78rem;
}

.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-1);
  padding: 1rem;
}

.support-card h2 {
  font-size: 1.4rem;
}

.shortcut-list,
.support-list {
  margin: 0.74rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.shortcut-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.52rem 0.62rem;
  background: #fff;
}

.support-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.54rem 0.64rem;
  background: #fff;
}

.support-card p {
  margin: 0.74rem 0 0;
  color: var(--text);
}

.support-links {
  font-weight: 700;
}

.footer {
  margin: 2rem 0 1.3rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.social-links {
  display: inline-flex;
  gap: 0.38rem;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  background: #fff;
}

.social-links a:hover {
  text-decoration: none;
  background: rgba(239, 95, 164, 0.12);
}

.social-links img {
  width: 16px;
  height: 16px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: showup 700ms ease-out forwards;
}

.hero-copy.reveal-up { animation-delay: 70ms; }
.hero-visual.reveal-up { animation-delay: 170ms; }
.highlight-grid.reveal-up { animation-delay: 240ms; }
.section .reveal-up:nth-child(1) { animation-delay: 90ms; }
.section .reveal-up:nth-child(2) { animation-delay: 160ms; }
.section .reveal-up:nth-child(3) { animation-delay: 230ms; }
.section .reveal-up:nth-child(4) { animation-delay: 300ms; }
.section .reveal-up:nth-child(5) { animation-delay: 370ms; }
.section .reveal-up:nth-child(6) { animation-delay: 440ms; }

@media (max-width: 1140px) {
  .hero-grid,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .highlight-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --anchor-offset: 118px;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .topbar-actions {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }

  .topnav {
    width: 100%;
  }

  .top-cta {
    width: 100%;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-copy,
  .hero-visual,
  .guide-steps,
  .support-card,
  .highlight-grid article {
    padding: 1rem;
  }

  .main-shot img,
  .main-shot video {
    height: 100%;
  }

  .main-shot {
    height: 240px;
  }

  .hero-metrics,
  .highlight-grid,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .guide-visual img {
    min-height: 220px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes showup {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-10px) translateX(3px);
  }

  100% {
    transform: translateY(0) translateX(0);
  }
}
