:root {
  --blue: #064bd8;
  --blue-deep: #003895;
  --blue-soft: #eef6ff;
  --red: #d90011;
  --orange: #ff9100;
  --orange-dark: #f27d00;
  --ink: #101826;
  --muted: #5f6f86;
  --line: #d8e3f5;
  --shadow: 0 18px 38px rgba(14, 45, 101, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background: #fff;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 70px;
  padding: 14px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 227, 245, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  min-width: max-content;
  color: #050812;
  font-weight: 900;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 62px);
  width: 100%;
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 20px;
  align-items: center;
  min-height: 560px;
  padding: clamp(44px, 6vw, 74px) clamp(20px, 5vw, 76px) 36px;
  overflow: hidden;
  background:
    linear-gradient(103deg, var(--blue) 0 3.3%, transparent 3.5%),
    linear-gradient(115deg, #fff 0%, #fff 60%, #f3f8ff 100%);
}

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

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.28;
  letter-spacing: 0;
}

.hero h1 span,
.final-cta span {
  color: var(--red);
}

.hero-ribbon {
  display: inline;
  padding: 5px 10px;
  color: #fff;
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 900;
  line-height: 2.05;
  background: var(--blue);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 7px 7px 0 rgba(6, 75, 216, 0.16);
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.hero-actions p,
.final-grid small {
  margin: 0;
  color: #1f2c3d;
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 250px;
  padding: 16px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(242, 125, 0, 0.24);
}

.button::after {
  content: "→";
  font-size: 22px;
  line-height: 1;
}

.button.large {
  min-width: 330px;
  font-size: 18px;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual img {
  display: block;
  width: min(100%, 780px);
  margin-left: auto;
  filter: drop-shadow(0 24px 28px rgba(3, 52, 147, 0.16));
}

.section {
  padding: clamp(44px, 6vw, 72px) 0;
}

.band {
  padding: 34px 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(6, 75, 216, 0.14), transparent 35%),
    linear-gradient(135deg, #eef6ff, #dceaff);
}

.problem h2,
.section-title {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  text-align: center;
}

.section-title,
.faq .section-title {
  color: var(--blue);
}

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

.problem-card,
.case-card,
.faq-list,
.mini-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.problem-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  min-height: 150px;
  padding: 24px;
}

.line-icon,
.reason-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  font-weight: 900;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.problem-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.problem-card p {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.center-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
}

.center-note::first-letter {
  color: var(--blue);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.insight article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.insight h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.45;
}

.insight p {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 800;
}

.mini-box {
  padding: 20px;
}

.mini-box h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 15px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare div {
  padding: 16px;
  text-align: center;
}

.compare strong {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
}

.compare b,
.compare span,
.compare small {
  display: block;
}

.compare b {
  color: var(--blue);
}

.reuse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.reuse-grid span {
  padding: 12px 8px;
  color: var(--blue);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service {
  padding-bottom: 34px;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-steps li {
  position: relative;
  padding: 4px 8px 0;
  text-align: center;
}

.service-steps li + li::before {
  position: absolute;
  top: 42px;
  left: -18px;
  content: "→";
  font-size: 24px;
  font-weight: 900;
}

.service-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
}

.service-steps h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.service-steps p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.works {
  padding-top: 28px;
  background: linear-gradient(180deg, #fff, #f7faff);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case-card {
  padding: 24px;
}

.case-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.case-head span {
  padding: 5px 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--blue);
}

.case-head h3 {
  margin: 0;
  font-size: 22px;
}

.case-card p {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.media-row,
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 18px;
}

.media-row span,
.logo-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.logo-grid span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats-grid div {
  min-height: 112px;
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid b {
  color: var(--red);
  font-size: 40px;
  line-height: 1;
}

.stats-grid strong,
.stats-grid small {
  display: block;
  font-weight: 900;
}

.stats-grid small {
  color: var(--muted);
  font-size: 11px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-grid article {
  padding: 0 28px;
  text-align: center;
}

.reason-grid article + article {
  border-left: 1px solid var(--line);
}

.reason-icon {
  margin: 0 auto 12px;
}

.reason-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.reason-grid p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.faq {
  padding-top: 30px;
}

.faq-list {
  overflow: hidden;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 18px 46px 18px 54px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::before {
  position: absolute;
  top: 17px;
  left: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  content: "Q";
  color: #fff;
  font-size: 12px;
  background: var(--blue);
  border-radius: 50%;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 22px;
  content: "⌄";
  font-size: 20px;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list p {
  position: relative;
  margin: -2px 0 20px;
  padding: 0 46px 0 54px;
  color: #243247;
  font-size: 14px;
  font-weight: 800;
}

.faq-list p::before {
  position: absolute;
  left: 23px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "A";
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  background: #eef4ff;
  border-radius: 50%;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 240px;
  height: 170px;
  content: "";
  background: linear-gradient(135deg, #00a4ff, var(--blue));
  transform: rotate(-18deg);
}

.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
}

.final-grid h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.36;
}

.final-grid p {
  margin: 0;
  font-weight: 900;
}

.final-grid small {
  display: block;
  margin-top: 10px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 28px 20px 42px;
  color: var(--muted);
  font-weight: 900;
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 112px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual img {
    width: min(100%, 640px);
  }

  .problem-grid,
  .insight-grid,
  .works-grid,
  .reason-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .insight article + article,
  .reason-grid article + article {
    padding-left: 0;
    border-left: 0;
  }

  .service-steps {
    grid-template-columns: 1fr 1fr;
  }

  .service-steps li + li::before {
    display: none;
  }

  .final-grid {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    min-height: auto;
    padding: 12px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .site-nav {
    font-size: 12px;
  }

  .hero {
    padding: 32px 16px 22px;
    background:
      linear-gradient(96deg, var(--blue) 0 8%, transparent 8.3%),
      linear-gradient(180deg, #fff, #eef5ff);
  }

  .hero h1 {
    padding-left: 16px;
    font-size: 38px;
  }

  .hero-ribbon {
    font-size: 14px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button.large {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    margin: 14px -16px -8px 0;
  }

  .hero-visual img {
    width: min(100%, 560px);
  }

  .section {
    padding: 40px 0;
  }

  .problem-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .problem-card p {
    grid-column: auto;
  }

  .line-icon {
    margin: 0 auto;
  }

  .service-steps,
  .stats-grid,
  .logo-grid,
  .reuse-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 20px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
