:root {
  --bg: #f6f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #142033;
  --muted: #5b6678;
  --line: rgba(20, 32, 51, 0.1);
  --accent: #2b6df3;
  --accent-deep: #163d8f;
  --accent-soft: #d9e7ff;
  --accent-pale: #f3f7ff;
  --teal: #11967f;
  --teal-soft: #dff6f0;
  --gold: #7d8aa5;
  --shadow: 0 20px 60px rgba(21, 36, 66, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(43, 109, 243, 0.08), transparent 30%),
    radial-gradient(circle at right 18%, rgba(17, 150, 127, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 48%, #eef3f9 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(21, 36, 66, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-cta,
.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 18px;
  padding: 54px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.76) 0%, rgba(20, 32, 51, 0.58) 44%, rgba(20, 32, 51, 0.36) 100%);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.service-type,
.signal-label,
.contact-label {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 900;
}

.hero h1 span {
  color: var(--accent);
}

.hero .eyebrow,
.hero h1,
.hero h1 span {
  color: #fff;
}

.hero-lead,
.section-heading p,
.contact-copy p,
.service-card p,
.timeline-item p,
.case-card p,
.faq-list p,
.price-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 9px 14px;
  border: 1px solid rgba(43, 109, 243, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #5c8ff7);
  box-shadow: 0 16px 35px rgba(43, 109, 243, 0.22);
}

.button-secondary {
  border: 1px solid rgba(20, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
}

.hero-points li {
  position: relative;
  padding-left: 26px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.service-card,
.case-card,
.contact-card,
.trust-bar,
.faq-list details,
.accent-section,
.timeline-item {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.audience-photo {
  min-height: 150px;
  grid-column: 1 / -1;
}

.timeline-item span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4d83f7);
}

.service-card h3,
.timeline-item h3,
.case-card h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
}

.trust-bar {
  display: block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.trust-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  min-height: 320px;
  padding: 32px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-panel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.74) 0%, rgba(20, 32, 51, 0.46) 48%, rgba(20, 32, 51, 0.22) 100%);
}

.trust-panel-copy,
.trust-panel-tags {
  position: relative;
  z-index: 1;
}

.trust-panel-copy {
  display: grid;
  align-content: end;
  gap: 14px;
}

.trust-panel-copy p {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.trust-panel-tags {
  display: grid;
  gap: 12px;
  align-content: end;
  justify-items: end;
}

.audience-card {
  position: relative;
  width: min(100%, 240px);
  padding: 16px 16px 16px 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.audience-card::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
  box-shadow: none;
}

.audience-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  color: #fff;
}

.audience-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.8rem);
}

.service-grid,
.value-grid,
.case-list,
.problem-grid,
.fit-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 24px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(255, 255, 255, 0.95));
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), #7ca0f5);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(246, 249, 255, 0.95);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.service-examples {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(43, 109, 243, 0.08);
}

.service-examples-label {
  margin: 0 0 10px;
  color: #6c7c99;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-examples-list {
  display: grid;
  gap: 10px;
}

.service-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.service-link:hover::after {
  transform: translateX(3px);
}

.accent-section {
  padding: 32px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(245, 249, 255, 0.96), rgba(251, 255, 255, 0.96));
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid article {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(43, 109, 243, 0.08);
}

.problem-section {
  padding-top: 72px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card {
  padding: 22px;
  border: 1px solid rgba(43, 109, 243, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
}

.problem-card h3,
.fit-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.problem-card p,
.fit-card li {
  color: var(--muted);
  line-height: 1.8;
}

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

.fit-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.fit-card.good {
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(43, 109, 243, 0.14);
}

.fit-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 24px;
}

.case-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.case-list {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.case-card {
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
}

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

.pricing-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-notes li {
  padding: 8px 12px;
  border: 1px solid rgba(43, 109, 243, 0.12);
  border-radius: 999px;
  background: rgba(243, 247, 255, 0.92);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.pricing-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(43, 109, 243, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.pricing-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-card {
  padding: 24px;
  border: 1px solid rgba(43, 109, 243, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.price-label {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.price-tax {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.36em;
  font-weight: 700;
  vertical-align: middle;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
}

.faq-list p a {
  color: #d84b39;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq-list p a:hover {
  color: #a93224;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: stretch;
  margin-top: 72px;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(245, 249, 255, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-note {
  margin: 18px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.wide {
  width: 100%;
}

body:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body:not(.no-js) .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .case-layout,
  .contact-section,
  .service-grid,
  .value-grid,
  .problem-grid,
  .fit-grid,
  .pricing-table {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-nav a:not(.nav-cta):not([href="#faq"]) {
    display: none;
  }

  .pricing-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .trust-panel-tags {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .hero {
    padding: 42px 22px 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-section,
  .accent-section,
  .service-card,
  .case-card,
  .contact-card,
  .trust-bar,
  .faq-list details,
  .timeline-item {
    border-radius: 22px;
  }

  .site-header {
    top: 8px;
    padding: 12px 14px;
  }

  .contact-link {
    font-size: 1.2rem;
  }
}
