:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #66645f;
  --line: #dedbd2;
  --accent: #111111;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
.brand { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.header-controls { display: flex; align-items: center; gap: 30px; }
.nav { display: flex; gap: 24px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover,
.nav a:focus-visible { color: var(--ink); }

.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.language-label {
  margin-right: 3px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lang-button {
  appearance: none;
  border: 0;
  padding: 5px 2px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.lang-button:hover,
.lang-button:focus-visible,
.lang-button.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.language-separator { color: var(--line); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.menu-icon {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-icon i {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease;
  transform-origin: center;
}
.menu-toggle.open .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle.open .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero { padding: 110px 0 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 80px;
  align-items: end;
}
.eyebrow,
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--muted);
}
h1 {
  margin: 16px 0 26px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -0.06em;
  max-width: 900px;
}
h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h3 { margin: 16px 0 10px; font-size: 22px; letter-spacing: -0.025em; }
.hero-copy { max-width: 680px; font-size: 20px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.button.primary { background: var(--accent); color: white; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.45); }

.hero-card { border-top: 1px solid var(--ink); }
.metric {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { font-size: 16px; }

.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--surface); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.body-copy { max-width: 720px; font-size: 18px; color: var(--muted); }
.body-copy p { margin: 0 0 22px; }

.experience-section { background: #efede7; padding-top: 76px; padding-bottom: 76px; }
.experience-heading {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: end;
}
.experience-intro {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}
.proof-item {
  min-height: 132px;
  padding: 20px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}
.proof-item + .proof-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.proof-item strong {
  display: block;
  min-height: 42px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.proof-item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 46px; }
.card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.card-index { font-size: 12px; color: var(--muted); }
.card h3 { margin-bottom: 6px; }
.card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section { padding-top: 76px; padding-bottom: 78px; }
.contact-heading {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 34px;
}
.contact-intro {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}
.contact-form {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.form-group {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}
.form-group legend,
.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.required {
  margin-left: 3px;
  color: var(--muted);
}
.inquiry-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.inquiry-option {
  position: relative;
  min-height: 44px;
  cursor: pointer;
}
.inquiry-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.inquiry-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.inquiry-option input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.inquiry-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
}
.field {
  display: block;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 6px 0 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.field textarea {
  min-height: 118px;
  resize: vertical;
  border: 1px solid var(--line);
  padding: 12px;
  line-height: 1.6;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}
.subject-field {
  margin-top: 24px;
}
.message-field {
  margin-top: 20px;
}
.security-field {
  margin-top: 20px;
}
.security-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.cf-turnstile {
  min-height: 65px;
}
.form-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-top: 20px;
}
.privacy-note,
.email-fallback,
.form-status {
  font-size: 12px;
  color: var(--muted);
}
.privacy-note {
  max-width: 680px;
  margin: 0;
}
.privacy-note a,
.email-fallback a,
.footer-wrap a,
.privacy-content a {
  border-bottom: 1px solid currentColor;
}
.submit-button {
  min-width: 150px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.submit-button:hover,
.submit-button:focus-visible {
  background: transparent;
  color: var(--ink);
}
.submit-button:disabled {
  opacity: .55;
  cursor: wait;
}
.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
}
.form-status.success { color: var(--ink); }
.form-status.error { color: #8a2f2f; }
.email-fallback {
  margin: 12px 0 0;
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.footer-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.privacy-back {
  font-size: 13px;
  color: var(--muted);
}
.privacy-back:hover,
.privacy-back:focus-visible { color: var(--ink); }
.privacy-section { min-height: calc(100vh - 150px); padding-top: 72px; padding-bottom: 72px; }
.privacy-wrap { max-width: 860px; }
.privacy-title {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 58px);
}
.privacy-lead {
  max-width: 700px;
  margin: 20px 0 38px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.privacy-content {
  border-top: 1px solid var(--ink);
}
.privacy-content section {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 34px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.privacy-content h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.privacy-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "palt";
  line-break: strict;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}
html[lang="ja"] h1 { line-height: 1.08; max-width: 820px; }
html[lang="ja"] .hero-copy,
html[lang="ja"] .body-copy,
html[lang="ja"] .experience-intro { max-width: 42em; }
html[lang="ja"] .hero-copy,
html[lang="ja"] .body-copy,
html[lang="ja"] .experience-intro,
html[lang="ja"] .contact-box p,
html[lang="ja"] .proof-item span {
  line-height: 1.9;
  text-wrap: pretty;
}
html[lang="ja"] .card p {
  line-height: 1.68;
  text-wrap: pretty;
}
html[lang="ja"] .card h3 { line-height: 1.4; }

@media (max-width: 820px) {
  .hero { padding-top: 74px; }
  .hero-grid,
  .split,
  .experience-heading,
  .contact-heading { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item,
  .proof-item + .proof-item {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
  }
  .proof-item strong { min-height: 0; }
  .proof-item span { margin-top: 10px; }
  .inquiry-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-content section { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .nav-wrap { min-height: 68px; }
  .header-controls { gap: 16px; }
  .language-label { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(17,17,17,.08);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 4px;
    font-size: 15px;
    color: var(--ink);
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: 50px; }
  .hero-copy { font-size: 17px; }
  .section { padding: 76px 0; }
  .language-switcher { gap: 6px; }
  .contact-heading { margin-bottom: 30px; }
  .inquiry-options,
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { grid-template-columns: 1fr; gap: 24px; }
  .submit-button { width: 100%; }
  .privacy-back { display: none; }
  .menu-text { display: none; }
  html[lang="ja"] h1 { font-size: 44px; line-height: 1.16; }
}

.nowrap {
  display: inline-block;
  white-space: nowrap;
}


@media (max-width: 560px) {
  .privacy-section {
    padding-top: 54px;
    padding-bottom: 56px;
  }
  .privacy-title {
    font-size: 38px;
  }
  .privacy-lead {
    margin-bottom: 30px;
    font-size: 15px;
  }
  .privacy-content section {
    padding: 17px 0;
    gap: 8px;
  }
  .privacy-content h2 {
    font-size: 15px;
  }
  .privacy-content p {
    font-size: 14px;
    line-height: 1.68;
  }
}
