:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --surface: #ffffff;
  --muted: #e7eef0;
  --text: #202427;
  --subtle: #5d656b;
  --line: #ced8d9;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --accent-soft: #d9f1ec;
  --warm: #a64f2a;
  --ink: #17202a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(245, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

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

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

.nav .nav-cta {
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  padding: 8px 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-width: 84px;
  min-height: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-button {
  min-width: 40px;
  padding: 7px 10px;
  color: var(--subtle);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.lang-button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: 88vh;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px) 64px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.16;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

.hero-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--subtle);
  font-size: 18px;
}

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

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

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

.button.secondary {
  color: var(--ink);
  background: var(--surface);
}

.hero-panel {
  min-height: 420px;
  padding: 22px;
  background: #192326;
  border: 1px solid #2d3d40;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(23, 32, 42, 0.22);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding-bottom: 22px;
}

.panel-header span {
  width: 10px;
  height: 10px;
  background: #5d7377;
  border-radius: 999px;
}

.workflow-card {
  padding: 22px;
  color: #dce7e5;
  background: #243135;
  border: 1px solid #415154;
  border-radius: 8px;
}

.workflow-card.active {
  color: #062522;
  background: var(--accent-soft);
  border-color: #9dd7ce;
}

.card-label {
  margin: 0 0 8px;
  color: #78b9ae;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-card.active .card-label {
  color: var(--accent-dark);
}

.workflow-arrow {
  color: #89b4ad;
  padding: 18px 0;
  text-align: center;
  font-size: 28px;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 64px);
}

.section.muted {
  background: var(--muted);
}

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

.section-lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.item,
.service-card,
.work-card,
.code-card,
.package-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.item {
  padding: 24px;
}

.item p,
.service-card p,
.work-card p,
.package-card p,
.steps p,
.contact-section p {
  color: var(--subtle);
}

.service-card {
  padding: 28px;
}

.code-card {
  padding: 26px;
}

.code-card p {
  color: var(--subtle);
}

.service-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-number {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

ul {
  padding-left: 20px;
}

.price {
  margin-top: 22px;
  color: var(--accent-dark) !important;
  font-weight: 900;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.package-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.package-price {
  flex: 0 0 auto;
  margin: 0;
  color: var(--warm) !important;
  font-weight: 900;
  white-space: nowrap;
}

.package-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.package-card ul {
  margin: auto 0 0;
}

.fine-print {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 14px;
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
}

.work-type {
  margin: 0 0 8px;
  color: var(--accent-dark) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.work-link:hover {
  text-decoration: underline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.steps p {
  margin: 6px 0 0;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(20px, 5vw, 64px);
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  max-width: 680px;
  color: #d8e0e0;
}

.contact-meta {
  margin-top: 16px !important;
  font-size: 14px;
}

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

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

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

  .language-switch {
    align-self: flex-start;
  }

  .hero,
  .grid.two,
  .grid.three,
  .package-list,
  .work-card {
    grid-template-columns: 1fr;
  }

  .package-heading {
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 540px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: auto;
  }

  h1 {
    font-size: 34px;
  }
}
