:root {
  --paper: #f7f4ee;
  --white: #fff;
  --ink: #172019;
  --muted: #647068;
  --line: #d9ddd8;
  --green: #1f5c42;
  --green-dark: #153d2e;
  --lime: #d9f36a;
  --sans: "Noto Sans JP", sans-serif;
  --latin: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap,
.site-header {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--white);
  background: var(--green);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

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

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
  padding-block: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--latin);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.1rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-preview {
  position: relative;
  display: block;
  max-width: 450px;
  justify-self: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 18px 22px 0 #dfe7d8;
  transform: rotate(1.2deg);
}

.hero-preview img {
  display: block;
  border-radius: 10px;
}

.preview-label {
  position: absolute;
  top: -18px;
  right: -16px;
  z-index: 1;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(-3deg);
}

.section {
  padding-block: 110px;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-intro h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 38px 34px 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-card + .service-card {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.card-number {
  color: var(--green);
  font-family: var(--latin);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

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

.section-tint {
  background: #e6ece4;
}

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

.steps li {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 12px;
  background: var(--white);
}

.steps span {
  color: var(--green);
  font-family: var(--latin);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps strong {
  font-size: 1.1rem;
}

.sample-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.sample-heading p:last-child {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.96rem;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sample-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
}

.sample-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.sample-copy span {
  color: var(--muted);
  font-size: 0.94rem;
}

.sample-copy strong {
  font-size: 0.94rem;
}

.sample-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top;
}

.sample-web {
  align-items: center;
  background: var(--green-dark);
}

.sample-web .sample-copy {
  width: 100%;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.sample-web .sample-copy span {
  color: rgba(255, 255, 255, 0.66);
}

.phone-preview {
  position: relative;
  width: 250px;
  height: 410px;
  margin-top: 36px;
  padding: 26px 18px 18px;
  overflow: hidden;
  border: 7px solid #0b241a;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: #f6f4ef;
}

.phone-top {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 64px;
  height: 7px;
  border-radius: 99px;
  background: #172019;
  transform: translateX(-50%);
}

.phone-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-content > span {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.phone-content b {
  padding-bottom: 7px;
  border-bottom: 1px solid #ccd3cd;
  font-size: 0.9rem;
}

.phone-content i {
  height: 36px;
  border-radius: 6px;
  background: var(--white);
}

.language-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 99px;
  color: var(--white);
  background: var(--green);
  font-family: var(--latin);
  font-size: 0.9rem;
}

.pricing-section {
  padding-top: 70px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
}

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

.pricing-grid span {
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-grid strong {
  font-family: var(--latin);
  font-size: 2.2rem;
}

.pricing-grid .featured {
  color: var(--white);
  background: var(--green);
}

.pricing-grid .featured span {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.closing {
  padding-block: 110px;
  color: var(--white);
  background: var(--green-dark);
}

.closing-inner {
  text-align: center;
}

.closing .eyebrow {
  color: var(--lime);
}

.button-light {
  margin-top: 34px;
  color: var(--green-dark);
  background: var(--lime);
}

.site-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 70px 86px;
  }

  .hero-preview {
    width: calc(100% - 12px);
    justify-self: start;
  }

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

  .service-card,
  .service-card + .service-card {
    padding: 28px 0;
    border-left: 0;
  }

  .steps li {
    min-height: 110px;
  }

  .sample-card {
    min-height: 460px;
  }

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

@media (max-width: 520px) {
  .wrap,
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 66px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

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

  .section,
  .closing {
    padding-block: 78px;
  }

  .sample-heading,
  .sample-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-copy {
    gap: 8px;
  }

  .sample-image img {
    height: 390px;
  }

  .pricing-section {
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
