:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #666f7a;
  --line: #dedede;
  --paper: #fffdfa;
  --surface: #f6f7f4;
  --accent: #f36f21;
  --accent-dark: #b94c0f;
  --green: #2f8f6b;
  --navy: #1b3448;
  --max: 1120px;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, rgba(23, 23, 23, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: static;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lang-switch button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
}

.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 68px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  min-height: min(720px, calc(100vh - 68px));
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #343434;
  font-size: clamp(16px, 1.55vw, 19px);
}

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

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

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

.button.secondary,
.button.inline {
  background: #fff;
}

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

.process-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 32px);
  border: 1px solid rgba(27, 52, 72, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(27, 52, 72, 0.09);
}

.process-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--accent);
  pointer-events: none;
}

.panel-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-list li:first-child {
  border-top: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  color: var(--navy);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.15;
}

.process-list span:not(.step-number) {
  display: block;
  margin-top: 4px;
  color: #3c454d;
  line-height: 1.45;
}

.project-start {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff4ed;
  color: var(--accent-dark);
  font-weight: 800;
}

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

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.service-kicker {
  color: var(--accent-dark) !important;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.text-block p {
  margin-top: 0;
  color: #333;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
}

.contact-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-section p,
.policy-section p {
  max-width: 760px;
  color: var(--muted);
}

.contact-mail {
  margin: 18px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.contact-mail a {
  color: var(--navy);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.contact-note {
  margin-top: 14px;
}

.policy-section {
  padding-top: 44px;
}

.policy-section h2 {
  font-size: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .split,
  .service-card {
    grid-template-columns: 1fr;
  }

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

  .service-card .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .section {
    width: min(var(--max), calc(100% - 28px));
    padding: 52px 0;
  }

  .lang-switch {
    margin-left: auto;
    width: auto;
  }

  .lang-switch button {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 6px 8px;
  }

  .site-footer,
  .info-list div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
