:root {
  --bg: #fffaf4;
  --paper: #ffffff;
  --ink: #243033;
  --muted: #637274;
  --line: #dbe6e4;
  --teal: #0f9f9a;
  --teal-dark: #08746f;
  --coral: #f47b63;
  --sun: #ffd166;
  --mint: #dff7ef;
  --shadow: 0 22px 55px rgba(32, 50, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid rgba(219, 230, 228, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100svh - 68px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px) 56px;
}

.hero-content {
  max-width: 690px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.3vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.4;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 159, 154, 0.24);
}

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

.button:disabled {
  background: #9fb6b4;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button.secondary {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 30px 0 0;
}

.hero-points div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-points dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-points dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 159, 154, 0.14);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #e3f7f3 100%);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: min(680px, 72svh);
  object-fit: cover;
}

.section,
.section-band,
.contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-inner,
.section-heading,
.card-grid,
.work-grid,
.steps,
.contact-section {
  max-width: 1180px;
  margin-inline: auto;
}

.section-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 30px;
}

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

.service-card,
.work-card,
.steps li,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(36, 48, 51, 0.07);
}

.service-card {
  padding: 24px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-card p {
  margin: 12px 0 16px;
  color: var(--muted);
}

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

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.service-card li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.works-section {
  background: #f3fbf8;
}

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

.work-card {
  overflow: hidden;
}

.work-card h3,
.work-card p {
  margin-inline: 22px;
}

.work-card h3 {
  margin-top: 22px;
}

.work-card p {
  margin-top: 8px;
  margin-bottom: 24px;
  color: var(--muted);
}

.mockup {
  min-height: 190px;
  margin: 16px;
  border-radius: 8px;
  background: #eef7f5;
}

.browser {
  position: relative;
  padding: 50px 24px 24px;
}

.browser span {
  position: absolute;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.browser span:nth-child(1) {
  left: 24px;
}

.browser span:nth-child(2) {
  left: 42px;
  background: var(--sun);
}

.browser span:nth-child(3) {
  left: 60px;
  background: var(--teal);
}

.mockup-line {
  width: 68%;
  height: 14px;
  margin-top: 16px;
  border-radius: 999px;
  background: #bedbd7;
}

.mockup-line.wide {
  width: 92%;
  height: 28px;
  background: #0f9f9a;
}

.mockup-button {
  width: 96px;
  height: 28px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--coral);
}

.flyer-sheet {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  background: #fff4df;
}

.flyer-sheet strong {
  display: inline-flex;
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
}

.flyer-sheet div {
  height: 18px;
  border-radius: 999px;
  background: #f4c76f;
}

.flyer-sheet div:nth-child(3) {
  width: 70%;
}

.flyer-sheet span {
  width: 112px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
}

.comic-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.comic-panel div {
  border: 3px solid #243033;
  border-radius: 7px;
  background: linear-gradient(135deg, #dff7ef, #fff4df);
}

.comic-panel div:nth-child(2),
.comic-panel div:nth-child(3) {
  background: linear-gradient(135deg, #ffe0da, #f3fbf8);
}

.process {
  background: var(--bg);
}

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

.steps li {
  padding: 22px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 96px;
}

.contact-copy p:last-child {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfffe;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 159, 154, 0.18);
  border-color: var(--teal);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #223033;
  color: #f8fffd;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero-content {
    max-width: none;
  }

  .hero-visual img {
    height: auto;
    max-height: 620px;
  }

  .intro-grid,
  .card-grid.three,
  .work-grid,
  .steps,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .site-nav {
    gap: 8px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 34px 16px 46px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .hero-visual {
    border-radius: 16px;
  }

  .section,
  .section-band,
  .contact-section {
    padding: 52px 16px;
  }

  .service-card,
  .steps li {
    padding: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .mockup {
    min-height: 160px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
