:root {
  --bg: #f7f4ec;
  --ink: #061844;
  --muted: #5f6472;
  --line: #e6dcc7;
  --blue: #061844;
  --blue-dark: #020b24;
  --green: #b27a00;
  --gold: #c79318;
  --gold-dark: #9b6900;
  --cream: #fff9ec;
  --card: #ffffff;
  --shadow: 0 22px 64px rgba(6, 24, 68, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 251, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 148px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-cta {
  color: #fff;
  background: var(--blue);
  padding: 9px 14px;
  border-radius: 999px;
}

.lang-switch {
  color: var(--blue);
  background: #fff4d8;
  border: 1px solid #ead196;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  padding: 84px clamp(20px, 6vw, 80px) 64px;
  background: radial-gradient(circle at top right, rgba(199, 147, 24, 0.22), transparent 34%), linear-gradient(135deg, #fffaf0 0%, #eef1f8 100%);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.section h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.lead {
  margin: 24px 0;
  font-size: 18px;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
}

.primary { color: #fff; background: var(--blue); }
.primary:hover { background: var(--blue-dark); }
.secondary {
  color: var(--blue);
  background: #fff4d8;
  border: 1px solid #ead196;
}
.lp-hero .secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.line-button { color: #fff; background: #06c755; }
.line-button:hover { background: #05a948; }
.demo-button { color: #061844; background: linear-gradient(135deg, #f6d36a, var(--gold)); }
.demo-button:hover { background: linear-gradient(135deg, #ffe08a, var(--gold-dark)); }
.phone-button { color: #fff; background: #102033; }
.phone-button:hover { background: #24364b; }
.hero-primary-cta {
  min-width: 190px;
  box-shadow: 0 14px 36px rgba(246, 211, 106, 0.28);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.trust-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-visual {
  align-self: center;
}

.hero-visual img,
.lp-visual img,
.wide-visual {
  width: 100%;
  display: block;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: #ffffff;
}

.lp-visual {
  max-width: 980px;
  margin: 34px auto 0;
}

.visual-section {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #ffffff;
}

.phone-card,
.dashboard-card,
.quote-box,
.cards article,
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.phone-card,
.dashboard-card {
  padding: 22px;
}

.phone-card span,
.dashboard-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 900;
  color: var(--green);
}

.phone-card p {
  margin: 10px 0;
  padding: 12px;
  background: #eafaf4;
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.section {
  padding: 72px clamp(20px, 6vw, 80px);
}

.problem { background: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.cards article {
  padding: 24px;
  box-shadow: none;
}

.cards h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cards p,
.section p,
.steps {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 36px;
  align-items: center;
  background: #0d1d30;
  color: #fff;
}

.split .eyebrow,
.split p,
.split .steps { color: #c7d6e8; }

.steps {
  padding-left: 22px;
  font-weight: 700;
}

.steps li { margin-bottom: 10px; }

.quote-box {
  padding: 30px;
  background: #132a45;
  border-color: #294765;
}

.quote-box p {
  margin: 0;
  font-size: 24px;
  color: #fff;
  font-weight: 800;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-grid span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.cta-band {
  text-align: center;
  background: linear-gradient(135deg, var(--blue), #173877 62%, var(--gold-dark));
  color: #fff;
}

.cta-band p { color: #eaf4ff; }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
  padding: 24px;
  box-shadow: none;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

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

.site-footer {
  padding: 28px clamp(20px, 6vw, 80px);
  background: #081421;
  color: #c7d6e8;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lp-hero {
  padding: 72px clamp(20px, 6vw, 80px);
  background: radial-gradient(circle at 88% 8%, rgba(246, 211, 106, 0.24), transparent 28%), linear-gradient(135deg, #020b24 0%, #061844 58%, #173877 100%);
  color: #fff;
  overflow: hidden;
}

.lp-hero .lead {
  max-width: 680px;
  color: #dbeaff;
  font-size: clamp(17px, 1.7vw, 21px);
}

.lp-hero .actions {
  gap: 12px;
  margin: 24px 0 14px;
}

.lp-hero .button {
  min-height: 52px;
}

.hero-note {
  max-width: 620px;
  margin: 0;
  color: #cfe0ff;
  font-weight: 700;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf4ff;
  font-size: 13px;
  font-weight: 800;
}

.hero-shot {
  position: relative;
  min-height: 420px;
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  transform: rotate(1deg);
}

.hero-shot-main {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.search-shot::before,
.social-shot::before {
  content: "";
  position: absolute;
  inset: 30px -28px -24px 34px;
  border-radius: 36px;
  z-index: 0;
}

.search-shot::before {
  background: linear-gradient(135deg, rgba(199, 147, 24, 0.42), rgba(6, 24, 68, 0.35));
}

.social-shot::before {
  background: linear-gradient(135deg, rgba(0, 195, 157, 0.45), rgba(0, 87, 217, 0.3));
}

.hero-shot img,
.floating-card,
.chat-card {
  position: relative;
  z-index: 1;
}

.floating-card,
.chat-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  font-weight: 800;
  line-height: 1.35;
}

.floating-card.top {
  top: 18px;
  right: -4px;
}

.floating-card.bottom {
  left: -10px;
  bottom: 22px;
}

.chat-card.one {
  top: 22px;
  left: -8px;
}

.chat-card.two {
  right: 0;
  bottom: 88px;
}

.chat-card.answer {
  right: 34px;
  bottom: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.search-hero {
  background: radial-gradient(circle at 85% 10%, rgba(199, 147, 24, 0.26), transparent 30%), radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.12), transparent 28%), linear-gradient(135deg, #020b24 0%, #061844 54%, #0b3d91 100%);
}

.social-hero {
  background: radial-gradient(circle at 15% 15%, rgba(0, 195, 157, 0.35), transparent 34%), linear-gradient(135deg, #051225 0%, #007968 100%);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.mini-grid div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 16px;
  font-weight: 800;
}

.mini-grid span {
  display: block;
  margin-top: 4px;
  color: #dbeaff;
  font-size: 13px;
  font-weight: 600;
}

.comparison {
  overflow-x: auto;
  margin-top: 28px;
}

.comparison table {
  min-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.field-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.field-matrix article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.field-matrix h3 {
  margin: 0 0 12px;
}

.field-matrix ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.before-after article {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.before-after article:last-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.before-after article:last-child p,
.before-after article:last-child li {
  color: #eaf4ff;
}

.data-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.emotion-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
}

.message-stack {
  display: grid;
  gap: 12px;
}

.message-stack div {
  width: fit-content;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  background: #eef5ff;
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.08);
}

.message-stack .answer {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.line-cta {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.line-cta h2,
.line-cta p {
  margin-top: 0;
}

.line-qr {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  background: #f2fbf4;
  border: 1px solid #ccefd6;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-shortcuts {
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.contact-shortcuts > p:not(.eyebrow):not(.note) {
  max-width: 760px;
}

.inline-qr {
  margin-top: 18px;
}

.contact-strip a,
.contact-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.contact-strip .contact-mail {
  color: var(--blue);
  background: #eef5ff;
}

.cta-panel {
  margin-top: 28px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-panel.dark {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #102033, #0057d9 55%, #00856f);
}

.cta-panel.dark p,
.cta-panel.dark .note {
  color: #eaf4ff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.cta-row .button {
  min-width: 190px;
}

.quick-phone {
  font-weight: 900;
  color: var(--blue);
}

.cta-panel.dark .quick-phone {
  color: #fff;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.need-grid article {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.need-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.need-grid p {
  margin: 0;
  color: var(--muted);
}

.cta-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.mobile-sticky-cta {
  display: none;
}

.variant-grid,
.step-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.variant-card,
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 42px rgba(16, 32, 51, 0.08);
}

.variant-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.variant-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.step-card img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.step-card p,
.variant-card p {
  color: var(--muted);
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.contact-lines span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700;
}

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

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav { flex-wrap: wrap; }

  .hero,
  .split,
  .contact,
  .emotion-section,
  .lp-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    min-height: auto;
  }

  .floating-card,
  .chat-card {
    position: static;
    margin-top: 10px;
    width: fit-content;
  }

  .line-cta {
    grid-template-columns: 1fr;
  }

  .cards,
  .mini-grid,
  .field-matrix,
  .before-after,
  .variant-grid,
  .step-gallery,
  .need-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 48px; }

  .lp-hero {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .lp-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .lp-hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lp-hero .actions .hero-primary-cta {
    grid-column: 1 / -1;
  }

  body {
    padding-bottom: 82px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(16, 32, 51, 0.14);
  }

  .mobile-sticky-cta .button {
    min-width: 0;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 14px;
  }
}

.consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  color: #102033;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(199, 147, 24, 0.32);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(6, 24, 68, 0.18);
}

.consent-banner a {
  color: #061844;
  font-weight: 700;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    font-size: 0.92rem;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions .button {
    flex: 1;
  }
}
