:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e9e3f7;
  --purple: #6d35d5;
  --purple-2: #a988e6;
  --pink: #f6b6e7;
  --lavender: #f5efff;
  --soft: #fbf9ff;
  --danger: #e95b5b;
  --warning: #ffb547;
  --shadow: 0 24px 70px rgba(91, 50, 159, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 82% 5%, rgba(246, 182, 231, 0.28), transparent 32rem),
    radial-gradient(circle at 12% 18%, rgba(169, 136, 230, 0.16), transparent 28rem),
    #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(233, 227, 247, 0.8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 190px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #4b4b66;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--purple);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2) 58%, var(--pink));
  box-shadow: 0 14px 32px rgba(109, 53, 213, 0.22);
}

.secondary-button {
  color: var(--purple);
  background: #fff;
  border: 1px solid var(--line);
}

.hero,
.problem,
.features,
.flow,
.value,
.specs,
.faq,
.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  min-height: calc(100vh - 82px);
  padding: 54px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  color: var(--purple);
}

.lead {
  max-width: 700px;
  color: #475467;
  font-size: 18px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span,
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #5b3fac;
  background: #f4edff;
  border: 1px solid #e6d9ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-mark-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #e8dcfb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(91, 50, 159, 0.1);
}

.hero-mark-card img {
  flex: 0 0 auto;
  width: 74px;
  height: 60px;
  object-fit: contain;
}

.hero-mark-card strong,
.hero-mark-card span {
  display: block;
}

.hero-mark-card strong {
  color: #38206f;
  font-size: 16px;
  line-height: 1.45;
}

.hero-mark-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 46px 28px;
  border: 1px solid #dfd1f7;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 239, 255, 0.62)),
    linear-gradient(135deg, rgba(246, 182, 231, 0.5), rgba(116, 82, 211, 0.28));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(169, 136, 230, 0.28);
}

.screen {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(46, 31, 92, 0.18);
  overflow: hidden;
}

.desktop-screen {
  width: min(100%, 680px);
  margin: 18px auto 0;
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px;
  color: #5432aa;
  background: #faf7ff;
  border-bottom: 1px solid #eee7fb;
  font-weight: 900;
}

.screen-bar img {
  width: 32px;
  height: 26px;
  object-fit: contain;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.metric,
.alert-panel,
.table-card {
  border: 1px solid #eee8fb;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.metric small,
.alert-panel small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 32px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.wide,
.table-card {
  grid-column: 1 / -1;
}

.alert-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(90deg, #fff, #fff8fb);
}

.alert-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--danger);
  font-size: 18px;
}

.days {
  flex: 0 0 auto;
  color: var(--danger);
  font-size: 30px;
  font-weight: 900;
}

.table-card {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.9fr 0.4fr;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: #424153;
  font-size: 13px;
  background: #fbfaff;
}

.table-row.head {
  color: var(--muted);
  font-weight: 800;
  background: transparent;
}

.phone-screen {
  position: absolute;
  right: 20px;
  bottom: 26px;
  z-index: 2;
  width: 154px;
  min-height: 286px;
  padding: 32px 18px 18px;
  text-align: center;
  border: 8px solid #23223d;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(25, 22, 54, 0.2);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 54px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #23223d;
}

.phone-screen img {
  width: 38px;
  margin: 0 auto 12px;
}

.phone-screen strong {
  display: block;
  color: var(--purple);
  font-size: 38px;
  line-height: 1;
}

.phone-screen span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ring {
  width: 88px;
  height: 88px;
  margin: 18px auto 0;
  border: 13px solid #eadfff;
  border-top-color: var(--purple);
  border-radius: 50%;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  text-align: center;
  margin-inline: auto;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.4;
}

.problem,
.features,
.flow,
.value,
.specs,
.faq {
  padding: 78px 0;
}

.problem-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-grid article,
.feature-card,
.flow-line article,
.value-list div,
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(70, 45, 124, 0.07);
}

.problem-grid article,
.feature-card {
  padding: 26px;
}

.problem-grid span,
.number,
.flow-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-weight: 900;
}

.problem-grid p,
.feature-card p,
.flow-line p,
.value-copy p,
.faq p {
  color: var(--muted);
  font-weight: 500;
}

.features {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, #fff, var(--soft));
}

.features > * {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card.highlight {
  background: linear-gradient(145deg, #fff, #fbf4ff);
  border-color: #d9c8fa;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow-line article {
  position: relative;
  padding: 24px;
}

.flow-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -20px;
  z-index: 3;
  width: 26px;
  height: 2px;
  background: var(--purple-2);
}

.value {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 54px clamp(22px, 4vw, 52px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(246, 182, 231, 0.45), transparent 22rem),
    linear-gradient(135deg, #4b1fb2, #7b56dc 62%, #be94e9);
  box-shadow: var(--shadow);
}

.value .eyebrow,
.value-copy p,
.value-list span {
  color: rgba(255, 255, 255, 0.78);
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-list div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.value-list strong,
.value-list span {
  display: block;
}

.value-list strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.faq {
  max-width: 860px;
}

.faq details {
  margin-bottom: 12px;
  padding: 20px 24px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
}

.contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 42px clamp(24px, 4vw, 52px);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #fbf4ff);
  border: 1px solid #dfd1f7;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact > div,
.contact > a {
  position: relative;
  z-index: 1;
}

.contact-mark {
  position: absolute;
  right: 170px;
  bottom: -38px;
  width: 210px;
  opacity: 0.16;
  transform: rotate(-8deg);
  pointer-events: none;
}

.contact h2 {
  max-width: 820px;
  margin-bottom: 10px;
}

.light {
  flex: 0 0 auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.footer img {
  width: 160px;
}

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

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 500px;
  }

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

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

  .flow-line article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .brand img {
    width: 150px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero,
  .problem,
  .features,
  .flow,
  .value,
  .specs,
  .faq,
  .contact {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 440px;
    padding: 22px 12px;
    border-radius: 20px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .wide,
  .table-card {
    grid-column: auto;
  }

  .table-row {
    grid-template-columns: 1.4fr 0.55fr 0.8fr 0.35fr;
    gap: 6px;
    font-size: 11px;
  }

  .phone-screen {
    right: 10px;
    bottom: 12px;
    width: 132px;
    min-height: 238px;
    border-width: 7px;
  }

  .hero-mark-card {
    align-items: flex-start;
  }

  .problem-grid,
  .feature-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .contact {
    display: block;
  }

  .contact-mark {
    right: -34px;
    bottom: -28px;
    width: 156px;
  }

  .contact .primary-button {
    width: 100%;
    margin-top: 20px;
  }

  .footer {
    display: grid;
  }
}
