:root {
  --ink: #17272d;
  --ink-soft: #5e6a6c;
  --muted: #7b8586;
  --paper: #f7f6f2;
  --white: #ffffff;
  --accent: #c65a3a;
  --line: #ddddd7;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--white); background: var(--accent); }

a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

h1, h2, h3, blockquote { text-wrap: balance; }
h1, h2, h3 { line-break: strict; word-break: normal; }
.nowrap { white-space: nowrap; }
.phrase { display: inline-block; }
.problem-phrase { display: inline-block; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section { padding: clamp(80px, 8.75vw, 126px) 0; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  color: var(--ink);
  text-decoration: none;
}
.brand strong { font-size: 16px; line-height: 1.25; letter-spacing: -.04em; }
.brand small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .04em;
}

.header-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 25px;
}
.header-nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.header-nav > a:not(.button):hover { color: var(--accent); }

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button--accent { color: var(--white); background: var(--accent); }
.button--accent:hover { background: var(--ink); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--accent); }
.header-cta { min-height: 42px; padding: 9px 17px; font-size: 12px; }

.hero {
  min-height: min(720px, calc(100vh - 76px));
  padding: clamp(92px, 12vw, 164px) 0 clamp(100px, 13vw, 172px);
  background: var(--paper);
}
.hero-copy { max-width: 850px; }
.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.085em;
}
.hero-lead {
  margin: 30px 0 0;
  font-size: clamp(20px, 2.35vw, 30px);
  font-weight: 700;
  letter-spacing: -.05em;
}
.hero-cta { margin-top: 28px; }

.problem-section {
  color: var(--white);
  background: var(--ink);
}
.narrow-copy { max-width: 1040px; }
.problem-section h2 {
  margin: 0;
  font-size: clamp(2.375rem, 3vw, 2.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.075em;
}
.body-copy {
  max-width: 650px;
  margin-top: 42px;
  color: #d6dedd;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.05;
}
.body-copy p { margin: 0 0 18px; }
.closing-line {
  margin: 56px 0 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.visit-section,
.results-section,
.profile-section,
.faq-section { background: var(--white); }

.visit-section h2,
.results-section h2,
.service-section h2,
.profile-section h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(1.875rem, 2.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.06em;
}
.visit-image {
  overflow: hidden;
  margin: 54px 0 0;
  border-radius: 10px;
  background: var(--paper);
}
.visit-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.value-section { background: var(--paper); }
.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 70px;
  align-items: end;
}
.value-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.875rem, 2.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.06em;
}
.value-copy {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
}
.value-copy p { margin: 0 0 17px; }
.value-copy blockquote {
  margin: 22px 0;
  padding-left: 20px;
  border-left: 1px solid var(--accent);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.section-intro--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-subtitle {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}
.results-layout { margin-top: 56px; }
.results-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}
.result-item {
  min-width: 0;
}
.result-metric {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.result-metric span { color: var(--accent); }
.result-metric small { font-size: .45em; letter-spacing: 0; }
.result-item h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -.04em; }
.result-item > p:not(.result-metric) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.result-note {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 12px;
}
.results-client { margin-top: 96px; }
.results-client-label {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}
.results-client-name {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -.055em;
}

.service-section { background: var(--paper); }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
}
.service-item {
  min-width: 0;
}
.service-item h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.06em;
}
.service-item p {
  max-width: 730px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.profile-section { }
.profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.profile-image {
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: var(--paper);
}
.profile-image img { display: block; width: 100%; height: auto; }
.profile-copy h2 { font-size: clamp(1.875rem, 2.5vw, 2.125rem); }
.profile-results {
  display: grid;
  gap: 13px;
  margin: 30px 0;
}
.profile-results strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.profile-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.contact-section { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(450px, 1.16fr);
  gap: 75px;
  align-items: start;
}
.contact-message h2 {
  margin: 0;
  font-size: clamp(1.625rem, 2.1vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.08em;
}
.contact-message > p:not(.contact-label) {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.contact-label {
  margin: 52px 0 0;
  color: var(--accent);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.06em;
}
.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 13px; font-weight: 700; }
.required { color: var(--accent); }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
}
.form-field input { min-height: 49px; padding: 11px 13px; }
.form-field textarea { min-height: 134px; padding: 12px 13px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(198, 90, 58, .18);
}
.form-privacy { margin: -2px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-privacy a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.form-submit { width: 100%; }
.form-status { min-height: 22px; margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.form-status--error { color: #a23f2c; }
.success-panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.success-panel h3 { margin: 0 0 8px; font-size: 19px; }
.success-panel p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.faq-list { border-top: 1px solid rgba(221, 221, 215, .62); }
.faq-item { border-bottom: 1px solid rgba(221, 221, 215, .62); }
.faq-item summary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.summary-label { flex: 1; min-width: 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; color: var(--accent); content: "+"; font-size: 25px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 50px 23px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }

.final-cta { padding: 62px 0; color: var(--white); background: var(--ink); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.final-cta strong { font-size: clamp(1.5rem, 1.9vw, 1.75rem); font-weight: 700; letter-spacing: -.07em; }

.site-footer { padding: 35px 0 28px; color: #cbd4d4; background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer-brand { color: var(--white); }
.footer-brand small { color: #9daaaa; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #cbd4d4; font-size: 12px; text-decoration: none; }
.footer-inner > p { margin: 0; color: #9daaaa; font-size: 11px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only label { display: block; width: 1px; height: 1px; font-size: 0; line-height: 0; }
.sr-only input { width: 1px; min-width: 1px; height: 1px; min-height: 1px; padding: 0; border: 0; }

/* Shared subpage and form-confirmation styles. */
.subpage { min-height: 100vh; background: var(--paper); }
.subpage-main { padding: 90px 0 110px; }
.subpage-heading { max-width: 800px; margin: 0 auto 42px; }
.subpage-heading h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -.07em; }
.subpage-heading p { margin: 0; color: var(--ink-soft); }
.subpage-card { max-width: 850px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.subpage-card h2 { margin: 34px 0 10px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.subpage-card h2:first-child { margin-top: 0; }
.subpage-card p, .subpage-card li { color: var(--ink-soft); font-size: 15px; }
.subpage-card ul { padding-left: 1.3em; }
.thanks-wrap { display: grid; min-height: calc(100vh - 144px); place-items: center; padding: 72px 0; }
.thanks-card { max-width: 680px; margin: auto; padding: clamp(28px, 6vw, 62px); border: 1px solid var(--line); border-radius: 8px; text-align: center; background: var(--white); }
.thanks-card h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 48px); font-weight: 700; line-height: 1.25; letter-spacing: -.07em; }
.thanks-card p { margin: 0 0 28px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .value-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); gap: 42px; }
  .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 78px 0; }
  .header-inner { gap: 12px; min-height: 66px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 15px; }
  .header-nav { gap: 0; }
  .header-nav > a:not(.button) { display: none; }
  .header-cta { min-height: 40px; padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .hero { min-height: auto; padding: 78px 0 86px; }
  .hero-copy h1 { font-size: clamp(2.375rem, 10.25vw, 2.625rem); line-height: 1.1; }
  .hero-lead { margin-top: 24px; font-size: 19px; }
  .hero-cta { width: 100%; margin-top: 28px; }
  .problem-section h2 { font-size: clamp(1.75rem, 7.7vw, 1.875rem); line-height: 1.3; }
  .value-section h2 { font-size: clamp(1.5rem, 6.8vw, 1.6875rem); line-height: 1.3; }
  .body-copy { margin-top: 30px; font-size: 15px; line-height: 1.95; }
  .closing-line { margin-top: 43px; font-size: 18px; }
  .visit-section h2,
  .results-section h2,
  .service-section h2,
  .profile-section h2,
  .faq-section h2 { font-size: clamp(1.5rem, 6.8vw, 1.6875rem); line-height: 1.3; }
  .visit-image { margin-top: 35px; border-radius: 8px; }
  .value-layout { display: block; }
  .value-layout h2 { margin-bottom: 32px; }
  .value-copy { font-size: 15px; }
  .value-copy blockquote { margin: 20px 0; padding-left: 15px; font-size: 17px; }
  .section-intro--split { display: block; }
  .section-subtitle { margin-top: 14px; }
  .results-layout { margin-top: 35px; }
  .results-list { display: block; }
  .result-item + .result-item { margin-top: 49px; }
  .result-metric { font-size: clamp(26px, 8.5vw, 37px); }
  .results-client { margin-top: 62px; }
  .results-client-name { font-size: 24px; }
  .service-list { display: block; margin-top: 34px; }
  .service-item + .service-item { margin-top: 38px; }
  .service-item h3 { font-size: 22px; }
  .service-item p { font-size: 14px; line-height: 1.8; }
  .profile-layout { display: block; }
  .profile-image { width: min(100%, 235px); margin: 36px 0 28px; }
  .profile-results { margin: 25px 0; gap: 12px; }
  .profile-results strong { font-size: 14px; }
  .profile-copy > p { font-size: 14px; }
  .contact-message h2 { font-size: clamp(1.375rem, 6vw, 1.5rem); line-height: 1.35; }
  .contact-label { margin-top: 38px; font-size: clamp(1.25rem, 5.6vw, 1.375rem); }
  .form-card { padding: 22px 17px; }
  .form-grid { display: block; }
  .form-field { margin-bottom: 14px; }
  .faq-layout { display: block; }
  .faq-list { margin-top: 35px; }
  .faq-item summary { min-height: 70px; padding: 16px 0; font-size: 15px; }
  .faq-answer { padding-right: 25px; font-size: 14px; }
  .final-cta { padding: 48px 0 83px; }
  .final-cta strong { font-size: clamp(1.25rem, 5.4vw, 1.375rem); }
  .final-cta-inner { display: grid; gap: 23px; }
  .final-cta .button { width: 100%; }
  .footer-inner { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer-links { gap: 12px 17px; }
  .site-footer { padding-bottom: 94px; }
  .subpage-main { padding: 62px 0 78px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
