:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5b6472;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --orange: #f59e0b;
  --green: #10b981;
  --soft: #f5f7fb;
  --soft-blue: #eff6ff;
  --line: #e2e8f0;
  --shadow: 0 18px 48px rgba(37, 99, 235, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #111111;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand strong {
  color: var(--ink);
  font-weight: 900;
}

.nav,
.footer nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.footer a:hover {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 0;
  color: #ffffff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  max-width: calc(var(--max) + 140px);
  margin: 0 auto;
  padding: clamp(70px, 7vw, 108px) clamp(20px, 4vw, 52px) clamp(54px, 6vw, 86px);
}

.hero-copy {
  width: min(760px, 100%);
  text-align: left;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 730px;
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--ink);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #ffffff;
  box-shadow: 18px 18px 0 rgba(37, 99, 235, 0.13);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0));
}

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

.showcase-card span {
  color: #9fc2ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-card strong {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.18;
}

.main-card {
  width: min(92%, 560px);
  height: 390px;
  right: 0;
  top: 22px;
}

.sub-card {
  width: 260px;
  height: 210px;
}

.sns-card {
  left: 0;
  bottom: 48px;
  box-shadow: 14px 14px 0 rgba(245, 158, 11, 0.24);
}

.web-card {
  right: 34px;
  bottom: 0;
  width: 300px;
  height: 190px;
  box-shadow: -14px 14px 0 rgba(17, 17, 17, 0.08);
}

section {
  padding: 104px clamp(20px, 4vw, 40px);
}

.section-heading,
.about,
.problems,
.services,
.works,
.flow,
.reasons,
.pricing,
.faq,
.contact {
  max-width: var(--max);
  margin: 0 auto;
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.58fr);
  gap: 44px;
  align-items: end;
}

.about-copy {
  font-size: 18px;
}

.message-grid,
.problem-grid,
.service-grid,
.work-grid,
.steps,
.reason-grid,
.price-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

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

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

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

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

.steps {
  grid-template-columns: repeat(7, 1fr);
  padding: 0;
  list-style: none;
}

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

.price-grid {
  grid-template-columns: repeat(5, 1fr);
}

.problems,
.works,
.pricing,
.faq {
  max-width: none;
  background: var(--soft);
}

.problems > *,
.works > *,
.pricing > *,
.faq > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.message-grid article,
.problem-grid article,
.service-grid article,
.reason-grid div,
.price-grid article,
.steps li,
.faq details {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
}

.message-grid article,
.problem-grid article,
.service-grid article,
.reason-grid div,
.price-grid article,
.steps li {
  padding: 22px;
}

.message-grid span,
.problem-grid span,
.service-grid span,
.price-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.message-grid strong,
.reason-grid strong,
.steps span {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.message-grid p,
.reason-grid span {
  margin-bottom: 0;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  box-shadow: 12px 12px 0 rgba(17, 17, 17, 0.06);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111111;
  object-fit: cover;
}

.featured-work {
  grid-column: span 2;
  box-shadow: 16px 16px 0 rgba(37, 99, 235, 0.12);
}

.featured-work h3 {
  max-width: 720px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.18;
}

.work-card div {
  padding: 22px;
}

.work-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  color: var(--muted);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
}

.price-grid article {
  display: grid;
  gap: 13px;
}

.price-grid strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
}

.price-grid p {
  margin: 0;
}

.price-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 0;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.faq details {
  margin-top: 12px;
  border-color: var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
}

.faq details p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  box-shadow: 18px 18px 0 rgba(37, 99, 235, 0.12);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  grid-column: 1 / -1;
}

.switch-link {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.switch-link a {
  color: var(--blue);
  font-weight: 900;
  border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}

.footer {
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: 44px 20px;
  border-top: 1px solid var(--ink);
  background: #ffffff;
}

.footer nav {
  flex-wrap: wrap;
}

.footer small {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1180px) {
  .price-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .section-heading.split,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .hero-showcase {
    min-height: 520px;
  }

  .message-grid,
  .problem-grid,
  .service-grid,
  .work-grid,
  .reason-grid,
  .price-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    font-size: 12px;
  }

  .header-cta {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-showcase {
    min-height: 420px;
  }

  .main-card {
    width: 100%;
    height: 250px;
    top: 0;
  }

  .sub-card {
    width: 48%;
    height: 150px;
  }

  .sns-card {
    left: 0;
    bottom: 0;
  }

  .web-card {
    right: 0;
    bottom: 28px;
    width: 48%;
    height: 150px;
  }

  .showcase-card strong {
    font-size: 15px;
  }

  .showcase-card div {
    padding: 12px;
  }

  .featured-work {
    grid-column: auto;
  }

  .message-grid,
  .problem-grid,
  .service-grid,
  .work-grid,
  .reason-grid,
  .price-grid,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
