:root {
  --bg: #ffffff;
  --section: #f7f7f8;
  --surface: #ffffff;
  --ink: #1f1f22;
  --muted: #686871;
  --line: #e6e6ea;
  --accent: #0a6ad9;
  --accent-strong: #0858b2;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 10px 28px rgba(23, 29, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.72;
  letter-spacing: 0.01em;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.site-main {
  display: block;
}

.light,
.showcase,
.products-section,
.trust-band,
.contact {
  background: var(--section);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 220px;
  height: auto;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #4d4d55;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-cta {
  padding: 8px 14px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-cta {
  display: none;
}

/* Typography */
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  text-align: center;
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

.section-title-left {
  text-align: left;
  font-size: clamp(30px, 4.2vw, 46px);
}

.eyebrow {
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.lead,
.section-lead,
.card p,
.showcase-copy p,
.trust-copy p,
.flow-step p,
.case-card p,
.price-card p,
.profile-list dd,
.contact-box p {
  color: var(--muted);
}

.lead {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: 18px;
}

.section-lead {
  text-align: center;
  margin: 18px auto 44px;
  max-width: 780px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  transition: all 0.24s ease;
  border: 1px solid transparent;
}

.btn.solid {
  background: var(--accent);
  color: #fff;
}

.btn.solid:hover {
  background: var(--accent-strong);
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.ghost:hover {
  border-color: #c8c8cf;
}

/* Hero */
.hero {
  padding-top: 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.hero-visual,
.showcase-visual,
.trust-visual {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.cta-row {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-pills {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-pills p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4f4f58;
  text-align: center;
  font-size: 14px;
}

/* Cards */
.card-grid,
.case-grid,
.pricing-grid,
.fit-grid,
.stats-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.case-card,
.price-card,
.fit-card,
.profile-card,
.flow-step,
.stat,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.case-card,
.price-card,
.fit-card,
.profile-card,
.flow-step,
.stat {
  padding: 24px;
}

.card h3,
.fit-card h3,
.case-card h3,
.price-card h3 {
  margin-top: 14px;
}

.fit-grid {
  margin-top: 20px;
}

.fit-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.case-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.case-result {
  margin: 14px 0 0;
  color: #245d3a !important;
  font-weight: 700;
}

.case-detail,
.price-meta {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #5f5f68 !important;
}

.section-cta {
  margin-top: 26px;
  text-align: center;
}

/* Products */
.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.product-intro p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.product-link {
  white-space: nowrap;
}

/* Split sections */
.showcase-grid,
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.stats-grid {
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.num {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.label {
  margin-top: 10px;
  color: var(--muted);
}

.trust-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.trust-list li {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
}

.price {
  margin: 14px 0 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.profile-list {
  margin: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #ececf0;
}

.profile-list div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  font-weight: 700;
}

/* Contact */
.contact-box {
  text-align: center;
  padding: 56px 24px;
}

.contact-box p {
  max-width: 760px;
  margin: 20px auto 30px;
}

.assurance-list {
  margin: 0 auto 24px;
  width: min(760px, 100%);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  text-align: left;
}

.assurance-list li {
  background: #f8fbff;
  border: 1px solid #dce9f8;
  border-radius: 12px;
  padding: 10px 12px;
  color: #1f3550;
  font-size: 14px;
}

.contact-flow p {
  margin: 0 auto 20px;
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: #4f4f58;
  font-size: 14px;
  text-align: left;
}

.contact-form {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: left;
}

.form-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.form-error {
  min-height: 24px;
  margin-bottom: 12px;
  color: #c62828;
  font-size: 14px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 106, 217, 0.15);
}

.contact-form input:invalid,
.contact-form textarea:invalid {
  box-shadow: none;
}

.contact-form button {
  margin-top: 8px;
}

.hp-field {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid #ddd;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

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

/* Responsive */
@media (max-width: 980px) {
  body {
    padding-bottom: 88px;
  }

  .site-main {
    display: flex;
    flex-direction: column;
  }

  .header-inner {
    position: relative;
  }

  .hero-grid,
  .card-grid,
  .fit-grid,
  .trust-pills,
  .showcase-grid,
  .trust-grid,
  .stats-grid,
  .flow-grid,
  .case-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .lead {
    margin-top: 18px;
    font-size: 16px;
    max-width: 32rem;
  }

  .hero-visual,
  .showcase-visual,
  .trust-visual {
    display: none;
  }

  .order-hero {
    order: 1;
  }

  .order-service {
    order: 2;
  }

  .order-products {
    order: 3;
  }

  .order-pricing {
    order: 4;
  }

  .order-profile {
    order: 5;
  }

  .order-contact {
    order: 6;
  }

  .order-strength {
    order: 7;
  }

  .order-flow {
    order: 8;
  }

  .order-showcase {
    order: 9;
  }

  .product-intro {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .product-link {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(10, 106, 217, 0.24);
    font-size: 15px;
    font-weight: 700;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    left: 24px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    font-size: 14px;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-secondary {
    display: none;
  }

  .nav-list a {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    padding: 12px 16px;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .num {
    font-size: 42px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
