:root {
  --bg: #f4f0e8;
  --paper: #ffffff;
  --paper-soft: #faf7f0;
  --ink: #15161a;
  --muted: #5b6270;
  --muted-2: #78808c;
  --line: rgba(21, 22, 26, 0.1);
  --line-strong: rgba(21, 22, 26, 0.18);
  --accent: #ef2d35;
  --accent-strong: #b9141d;
  --accent-soft: rgba(239, 45, 53, 0.12);
  --teal: #16775f;
  --shadow: 0 24px 50px rgba(15, 16, 18, 0.1);
  --shadow-tight: 0 12px 24px rgba(15, 16, 18, 0.14);
  --header-h: 88px;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

main {
  overflow: clip;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.section__inner,
.site-footer__inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 6px var(--accent-soft);
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__sub {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav__links a {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:focus-visible,
.site-nav__links a:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible,
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid rgba(239, 45, 53, 0.36);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(239, 45, 53, 0.24);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(239, 45, 53, 0.26);
}

.button--ghost {
  border-color: rgba(239, 45, 53, 0.24);
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent);
}

.button--ghost:hover {
  border-color: rgba(239, 45, 53, 0.34);
  background: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.menu-toggle__lines {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
}

.menu-toggle__lines::before {
  top: -6px;
}

.menu-toggle__lines::after {
  top: 6px;
}

.mobile-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.mobile-panel[data-open="true"] {
  display: block;
}

.mobile-panel__inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
}

.mobile-panel__links {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.mobile-panel__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--paper-soft);
}

.mobile-panel__cta {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  padding-top: var(--header-h);
  overflow: clip;
  background: #101114;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: var(--header-h) 0 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.02) contrast(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.46) 0%, rgba(8, 9, 11, 0.2) 46%, rgba(8, 9, 11, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.06) 0%, rgba(8, 9, 11, 0.28) 100%);
}

.hero__inner {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding: 34px 0 48px;
}

.hero__content {
  max-width: 860px;
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  max-width: 13ch;
}

.section {
  padding: 92px 0;
}

.section--light {
  background: var(--paper);
}

.section--soft {
  background: linear-gradient(180deg, #fbf8f2 0%, #f6f0e7 100%);
}

.section__kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section__heading {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.section__lead {
  max-width: 60ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section__topline {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section__topline .section__heading {
  max-width: 14ch;
}

.section__topline .section__lead {
  max-width: 48ch;
  margin-top: 0;
}

.problem-list,
.flow-list {
  display: grid;
  gap: 0;
}

.problem-item,
.flow-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.problem-item:last-child,
.flow-item:last-child {
  border-bottom: 1px solid var(--line);
}

.problem-item__index,
.flow-item__index {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 900;
}

.problem-item__title,
.flow-item__title,
.service-line__title {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.35;
}

.problem-item__text,
.flow-item__text,
.service-line__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-layout,
.contact-grid {
  display: grid;
  gap: 28px;
}

.service-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.service-main {
  display: grid;
}

.service-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-line:last-child {
  border-bottom: 1px solid var(--line);
}

.service-line__mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.service-aside {
  padding: 2px 0 0;
}

.service-aside__label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tick-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.65;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(239, 45, 53, 0.12);
}

.tick-list--tight li {
  font-weight: 600;
}

.pricing-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table thead th {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
}

.pricing-table tbody th,
.pricing-table tbody td {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.pricing-table tbody th {
  width: 18%;
  font-size: 1rem;
  font-weight: 900;
}

.pricing-table tbody td {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-table__row--featured {
  background: linear-gradient(180deg, rgba(239, 45, 53, 0.03), rgba(239, 45, 53, 0));
}

.pricing-note {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 119, 95, 0.12);
  color: var(--teal);
  font-size: 0.77rem;
  font-weight: 900;
}

.pricing-note-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.contact-copy {
  padding-top: 4px;
}

.contact-copy__title {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.contact-copy__text {
  margin: 0 0 18px;
  color: var(--muted);
}

.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

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

.form-field label {
  font-size: 0.92rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 156px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-submit {
  min-width: 210px;
}

.site-footer {
  padding: 28px 0 44px;
  background: #111113;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 0.92rem;
}

.site-footer strong,
.site-footer p {
  margin: 0;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .site-nav__links {
    gap: 18px;
  }

  .service-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .section__topline .section__heading {
    max-width: none;
  }

  .section__topline .section__lead {
    max-width: 60ch;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    height: 72px;
  }

  .site-nav__links,
  .header-actions .button--ghost {
    display: none;
  }

  .header-actions .button--primary {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .hero__media,
  .hero__shade {
    inset: var(--header-h) 0 0;
  }

  .hero__inner {
    min-height: calc(100svh - var(--header-h));
    padding: 28px 0 30px;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(24px, 6vw, 42px);
    line-height: 1.18;
  }

  .hero__eyebrow {
    margin-bottom: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .section__heading {
    font-size: 24px;
  }

  .problem-item,
  .flow-item,
  .service-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .problem-item__index,
  .flow-item__index,
  .service-line__mark {
    width: 52px;
    height: 52px;
  }

  .pricing-table-wrap {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pricing-table tbody tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-tight);
  }

  .pricing-table tbody th,
  .pricing-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }

  .pricing-table tbody th {
    border-top: 0;
    background: var(--paper-soft);
  }

  .pricing-table tbody th::before,
  .pricing-table tbody td::before {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-2);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    content: attr(data-label);
  }

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

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand__sub {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .section__inner,
  .mobile-panel__inner,
  .site-footer__inner {
    width: min(100% - 20px, 1280px);
  }

  .brand {
    max-width: min(58vw, 14rem);
  }

  .brand__name {
    font-size: 0.92rem;
    white-space: normal;
  }

  .button {
    padding-inline: 18px;
  }

  .section__heading {
    font-size: 22px;
  }

  .problem-item,
  .flow-item,
  .service-line {
    padding: 18px 0;
  }

  .form-card {
    padding: 18px;
  }
}
