:root {
  --ink: #142126;
  --muted: #647177;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d7ddd9;
  --teal: #0f8b8d;
  --teal-dark: #0a5d64;
  --coral: #d96c4a;
  --charcoal: #263238;
  --shadow: 0 18px 48px rgba(20, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(20, 33, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 8px 14px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 24, 0.82), rgba(7, 20, 24, 0.52) 44%, rgba(7, 20, 24, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 20, 24, 0.2), rgba(7, 20, 24, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 96px;
  color: var(--white);
}

.sub-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.sub-hero-image,
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sub-hero-image {
  object-fit: cover;
  object-position: center right;
}

.sub-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 24, 0.86), rgba(7, 20, 24, 0.54) 52%, rgba(7, 20, 24, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 20, 24, 0.24), rgba(7, 20, 24, 0));
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 86px 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  background: transparent;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.intro,
.problem-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.intro-text,
.contact-copy p {
  color: var(--charcoal);
  font-size: 17px;
}

.barrier-section {
  background: #e9ece6;
}

.barrier-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.barrier-story {
  color: var(--charcoal);
  font-size: 17px;
}

.barrier-story p:first-child {
  margin-top: 0;
}

.barrier-heading {
  max-width: 1160px;
  margin: clamp(48px, 7vw, 82px) auto 24px;
}

.barrier-heading h3 {
  max-width: 760px;
  font-size: clamp(22px, 3vw, 32px);
}

.barrier-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.barrier-list li {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--coral);
}

.barrier-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}

.barrier-list p {
  margin: 0;
  color: var(--muted);
}

.section-illustration {
  display: block;
  width: min(100%, 430px);
  margin-top: 28px;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.section-illustration.compact {
  width: min(360px, 38vw);
  margin-top: 0;
}

.section-heading {
  max-width: 1100px;
  margin: 0 auto 34px;
}

.service-band,
.flow-band {
  background: var(--white);
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.service-card,
.pricing-card {
  min-height: 244px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.76;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--white);
}

.service-card .icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card p,
.pricing-card p,
.flow p {
  margin: 0;
  color: var(--muted);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.problem-list div {
  min-height: 122px;
  padding: 24px;
  background: var(--white);
}

.problem-list strong,
.problem-list span {
  display: block;
}

.problem-list strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.problem-list span {
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  min-height: 220px;
  padding: 18px 18px 28px;
  border-top: 4px solid var(--teal);
  background: #eef5f2;
  overflow: visible;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -27px;
  z-index: 2;
  width: 48px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
  box-shadow: 0 12px 24px rgba(15, 139, 141, 0.22);
  transform: translateY(-50%);
}

.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 1;
  width: 46px;
  height: 2px;
  background: var(--teal);
  transform: translateY(-50%);
}

.flow img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.76;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--white);
}

.flow span {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 15px;
  font-weight: 900;
}

.pricing-section {
  background: #e9ece6;
}

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

.pricing-card {
  background: var(--white);
  box-shadow: none;
}

.pricing-card.featured {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: var(--shadow);
}

.pricing-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-card strong {
  display: block;
  margin-top: 28px;
  color: var(--teal-dark);
  font-size: 18px;
}

.pricing-card.featured strong {
  color: #78d5c7;
}

.company-section {
  background: var(--white);
}

.company-table {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-weight: 800;
}

.company-table dd {
  margin: 0;
  color: var(--charcoal);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 50%;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--charcoal);
}

.faq-return {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0b1518;
}

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

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

  .hero {
    min-height: 720px;
  }

  .sub-hero {
    min-height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(7, 20, 24, 0.86), rgba(7, 20, 24, 0.34));
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
  }

  .sub-hero-content {
    align-self: end;
    margin: 0 auto;
  }

  .section-illustration,
  .section-illustration.compact {
    width: min(100%, 520px);
  }

  .intro,
  .barrier-intro,
  .problem-section,
  .contact-section,
  .company-table div,
  .service-grid,
  .flow,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .company-table div {
    gap: 6px;
  }

  .flow li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -39px;
    transform: translateX(50%) rotate(90deg);
  }

  .flow li:not(:last-child)::before {
    top: auto;
    right: 50%;
    bottom: -21px;
    width: 2px;
    height: 42px;
    transform: translateX(50%);
  }
}

@media (max-width: 560px) {
  .nav {
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .sub-hero-content {
    padding: 70px 0;
  }

  .service-card,
  .pricing-card,
  .contact-form {
    padding: 22px;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .barrier-list {
    grid-template-columns: 1fr;
  }

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