:root {
  --ink: #152126;
  --muted: #5d6a70;
  --line: #dbe2e5;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --deep: #12343b;
  --green: #176b5b;
  --blue: #276b8e;
  --amber: #c78222;
  --soft: #e9f0ef;
  --shadow: 0 20px 45px rgba(21, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.93);
  border-bottom: 1px solid rgba(21, 33, 38, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus {
  color: var(--green);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(12, 23, 27, 0.86), rgba(12, 23, 27, 0.42) 55%, rgba(12, 23, 27, 0.1)),
    url("/assets/hero-workspace.png") center / cover;
  color: #fff;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #c8e5df;
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: #fff;
  color: var(--deep);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button.dark {
  background: var(--deep);
  color: #fff;
}

.button.line {
  border-color: var(--line);
  color: var(--deep);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2,
.content h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.28;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.service-grid,
.package-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.package-card,
.proof-item {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card h3,
.package-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.38;
}

.service-card p,
.package-card p,
.proof-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.price {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

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

.proof-item {
  min-height: auto;
  background: var(--soft);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

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

.media-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 33, 38, 0.12);
}

.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
}

.cta-band {
  background: var(--deep);
  color: #fff;
  padding: 64px 0;
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #0c171b;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-inner a {
  color: #fff;
}

.page-hero {
  background: var(--deep);
  color: #fff;
  padding: 88px 0 58px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: 48px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-row strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 40px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .hero {
    min-height: 72vh;
  }

  .section-head,
  .split {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .service-grid,
  .package-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .media-frame {
    margin-top: 26px;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
