*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #10172f;
  --muted: #586177;
  --line: rgba(16, 23, 47, .12);
  --blue: #2463eb;
  --pink: #ef4b83;
  --green: #188a67;
  --cream: #fffaf1;
  --panel: rgba(255,255,255,.86);
  --shadow: 0 22px 70px rgba(25, 38, 78, .16);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .01em;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand-name {
  font-weight: 900;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.navlinks { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 800; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 14px 30px rgba(36,99,235,.28); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 46px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
.lead {
  max-width: 640px;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.microcopy { margin: 0; color: var(--muted); font-size: 12px; }
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.proof {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}
.visual {
  position: relative;
  min-height: 460px;
}
.device {
  position: absolute;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
  overflow: hidden;
}
.device.main { right: 0; top: 18px; width: min(360px, 86vw); }
.device.sub { left: 0; bottom: 24px; width: min(300px, 70vw); }
.device img { width: 100%; }
.floating-note {
  position: absolute;
  left: 34px;
  top: 20px;
  width: 230px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 46px rgba(25,38,78,.16);
  border: 1px solid rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 800;
}
.section { padding: 76px 0; }
.section.alt { background: #f6f8fc; }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.label {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}
.section-head p { margin: 0; color: var(--muted); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(25,38,78,.08);
}
.card strong { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  margin-bottom: 12px;
}
.trust {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.trust-box {
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(25,38,78,.08);
}
.trust-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(36,99,235,.06);
  font-weight: 800;
}
.cta {
  padding: 70px 0;
  text-align: center;
}
.cta-panel {
  padding: 48px 26px;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-panel p { color: rgba(255,255,255,.76); margin: 0 0 24px; }
.footer { padding: 32px 0; color: var(--muted); font-size: 12px; }
.product-link-band { text-align: center; padding: 8px 0 48px; }
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  text-decoration: none; padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product-link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16,23,47,.1); }
.product-link span { transition: transform .15s ease; }
.product-link:hover span { transform: translateX(4px); }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-card .tone { font-size: 12px; color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.problem-band {
  position: relative;
  padding: 70px 0;
  background: #10172f;
  color: #fff;
  overflow: hidden;
}
.problem-band::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,45,134,.24);
  filter: blur(8px);
}
.problem-copy {
  position: relative;
  max-width: 780px;
  margin-bottom: 28px;
}
.problem-copy h2 { margin-bottom: 12px; }
.problem-copy p { color: rgba(255,255,255,.78); margin: 0; font-weight: 700; }
.pain-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pain-card {
  min-height: 156px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.pain-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: #ff8ab9;
  font-weight: 900;
}
.pain-card strong { display: block; font-size: 16px; line-height: 1.55; }
.makeover {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,45,134,.1), transparent 28%),
    linear-gradient(180deg, #fff, #fff7fb);
}
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}
.ba-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(25,38,78,.1);
}
.ba-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ba-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.38; }
.ba-card p { margin: 0; color: var(--muted); font-weight: 700; }
.ba-card.before { background: #fff; }
.ba-card.before span { color: #8a93a8; }
.ba-card.after { background: linear-gradient(135deg, #fff, #fff0f7); border-color: rgba(255,45,134,.24); }
.ba-card.after span { color: var(--pink); }
.ba-arrow {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff2d86, #7c3aed);
  font-weight: 900;
}
.feature-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.feature-split > div:first-child p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.feature-list {
  display: grid;
  gap: 14px;
}
.feature-list > div {
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(25,38,78,.08);
}
.feature-list strong { display: block; margin-bottom: 5px; font-size: 17px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-section { background: #fff7fb; }
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-grid details {
  padding: 0 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255,45,134,.14);
  box-shadow: 0 12px 30px rgba(25,38,78,.07);
}
.faq-grid summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.theme-beauty {
  --blue: #7c3aed;
  --pink: #ff2d86;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,45,134,.24), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(255,205,56,.28), transparent 30%),
    linear-gradient(180deg, #fff1f8 0%, #fff 54%);
}
.theme-beauty .topbar { background: rgba(255,246,250,.78); }
.theme-beauty .product-link:hover { border-color: rgba(255,45,134,.4); color: var(--pink); }
.theme-beauty h1 span { color: var(--pink); text-shadow: 0 10px 34px rgba(255,45,134,.25); }
.theme-beauty .visual { min-height: 500px; }
.theme-beauty .device.main { right: 0; top: 120px; width: min(330px, 72vw); z-index: 1; }
.theme-beauty .device.sub { left: 0; top: 20px; bottom: auto; width: min(290px, 62vw); z-index: 2; }
.theme-beauty .hero::after {
  content: "";
  position: absolute;
  inset: auto -80px 20px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,45,134,.24), rgba(255,205,56,.26));
  filter: blur(12px);
}
.theme-beauty .btn-primary { background: linear-gradient(135deg, #ff2d86, #7c3aed); box-shadow: 0 16px 34px rgba(255,45,134,.34); }
.theme-beauty .card:nth-child(2) { transform: translateY(-8px); border-color: rgba(255,45,134,.25); }
.theme-beauty .num { background: linear-gradient(135deg, #ff2d86, #7c3aed); }
.theme-beauty .cta-panel {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,45,134,.38), transparent 34%),
    linear-gradient(135deg, #12172d, #3d1460 58%, #7c1d57);
}

.theme-wellness {
  --blue: #188a67;
  --ink: #1f3029;
  background: linear-gradient(180deg, #fffaf1 0%, #f7fbf4 46%, #fff 100%);
}
.theme-wellness .topbar { background: rgba(255,250,241,.86); }
.theme-wellness h1 span { color: #d77d24; }
.theme-wellness .btn-primary { background: #188a67; box-shadow: 0 14px 30px rgba(24,138,103,.28); }
.theme-wellness .hero { background:
  radial-gradient(circle at 10% 0%, rgba(238,184,91,.2), transparent 28%),
  radial-gradient(circle at 95% 16%, rgba(24,138,103,.14), transparent 30%);
}
.theme-wellness .card { border-radius: 18px; box-shadow: 0 10px 28px rgba(47,70,55,.08); }
.theme-wellness .num { background: #188a67; }
.theme-wellness .trust-list li { background: rgba(24,138,103,.08); }

.theme-saas {
  --blue: #3b82f6;
  --ink: #e8eefc;
  --muted: #aab7d5;
  --line: rgba(255,255,255,.14);
  background: #090d18;
  color: #e8eefc;
}
.theme-saas .topbar { background: rgba(9,13,24,.72); }
.theme-saas .hero {
  background:
    linear-gradient(120deg, rgba(59,130,246,.24), transparent 38%),
    radial-gradient(circle at 76% 20%, rgba(14,165,233,.22), transparent 30%);
}
.theme-saas h1 span { color: #79e0ff; }
.theme-saas .btn-primary { background: #e8eefc; color: #090d18; box-shadow: 0 18px 42px rgba(121,224,255,.16); }
.theme-saas .btn-secondary { background: rgba(255,255,255,.08); color: #e8eefc; border-color: rgba(255,255,255,.18); }
.theme-saas .eyebrow,
.theme-saas .proof,
.theme-saas .floating-note,
.theme-saas .card,
.theme-saas .step,
.theme-saas .trust-box {
  background: rgba(255,255,255,.07);
  color: #e8eefc;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.26);
}
.theme-saas .section.alt { background: rgba(255,255,255,.04); }
.theme-saas .card p,
.theme-saas .section-head p,
.theme-saas .microcopy { color: #aab7d5; }
.theme-saas .device { background: #101827; border-color: rgba(255,255,255,.16); }
.theme-saas .cta-panel { background: linear-gradient(135deg, #0f172a, #172554); border: 1px solid rgba(255,255,255,.14); }

@media (max-width: 900px) {
  .navlinks { display: none; }
  .hero { padding: 46px 0 56px; }
  .hero-grid, .trust { grid-template-columns: 1fr; }
  .visual { min-height: 410px; }
  .cards, .flow, .compare-grid, .pain-grid, .before-after, .feature-split { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .card:nth-child(2) { transform: none !important; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { height: 62px; }
  .brand { gap: 8px; }
  .brand-copy { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
  .brand-subtitle { font-size: 10px; }
  h1 { font-size: 39px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .visual { min-height: 360px; }
  .device.main { width: 260px; }
  .device.sub { width: 220px; }
  .floating-note { left: 0; top: 0; width: 210px; }
  .theme-beauty .visual { min-height: 460px; margin-top: 18px; }
  .theme-beauty .device.main { top: 128px; right: -4px; width: min(225px, 62vw); }
  .theme-beauty .device.sub { top: 0; bottom: auto; width: min(220px, 60vw); }
  .section { padding: 54px 0; }
}
