:root {
  --ink: #2c1a12;
  --ink-strong: #17100c;
  --muted: #735d4d;
  --line: #f0d8c4;
  --paper: #fff8f1;
  --white: #ffffff;
  --blue: #c55a21;
  --blue-dark: #8f3618;
  --green: #f27622;
  --green-dark: #cc4d1b;
  --amber: #ffb14a;
  --coral: #f05a3f;
  --sunset: linear-gradient(115deg, #ffb86b 0%, #f27622 44%, #df4b2f 100%);
  --sunset-soft: linear-gradient(135deg, rgba(255, 184, 107, 0.18), rgba(223, 75, 47, 0.1));
  --shadow: 0 18px 50px rgba(86, 38, 18, 0.14);
  --font-body:
    sofia-pro,
    "Helvetica Neue",
    "Yu Gothic",
    YuGothic,
    "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro",
    Verdana,
    Meiryo,
    sans-serif;
  --font-heading:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 28px;
  padding: 12px 40px;
  border-bottom: 1px solid rgba(219, 227, 231, 0.78);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  width: 116px;
  min-width: 96px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.site-nav a,
.header-cta,
.button {
  text-decoration: none;
}

.site-nav a {
  padding: 8px 0;
}

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

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--sunset);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: radial-gradient(circle at 72% 24%, rgba(242, 118, 34, 0.22), transparent 34%), var(--ink-strong);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.58;
  filter: saturate(0.92) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 16, 12, 0.94) 0%, rgba(23, 16, 12, 0.78) 54%, rgba(23, 16, 12, 0.46) 100%),
    linear-gradient(180deg, rgba(223, 75, 47, 0.22), rgba(23, 16, 12, 0.14));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 64px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 64px;
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.3;
  white-space: normal;
}

.button-primary {
  border: 1px solid var(--green);
  background: var(--sunset);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(223, 75, 47, 0.24);
}

.button-primary:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 940px;
  margin: 58px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics div {
  min-height: 112px;
  padding: 20px;
  background: rgba(12, 24, 34, 0.62);
}

.hero-metrics dt {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.96), rgba(255, 244, 232, 0.96)),
    var(--sunset-soft);
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-width: 0;
}

.intro {
  padding: 78px 0;
}

.intro-grid,
.delivery-grid,
.contract-grid,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro-grid > *,
.delivery-grid > *,
.contract-grid > *,
.contact-grid > *,
.company-grid > *,
.section-heading,
.intro-copy,
.contact-copy,
.contact-form,
.steps li > div {
  min-width: 0;
}

h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 38px;
  font-family: var(--font-heading);
  line-height: 1.32;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 21px;
  font-family: var(--font-heading);
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
}

.intro-photo {
  margin: 10px 0 0;
}

.intro-photo img,
.service-photo,
.case-photos img,
.delivery-photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(86, 38, 18, 0.14);
}

.intro-photo img {
  aspect-ratio: 16 / 9;
}

.services,
.delivery,
.contact,
.company {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.case-list article,
.contract-items article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--sunset) border-box;
  box-shadow: 0 14px 36px rgba(13, 23, 32, 0.07);
}

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
}

.service-photo {
  width: calc(100% + 56px);
  max-width: none;
  height: 160px;
  margin: -28px -28px 24px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
}

.service-card p:not(.card-label) {
  margin-top: 16px;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.2em;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-card li::marker {
  color: var(--green);
}

.use-cases {
  padding: 82px 0;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.case-photos img {
  height: 260px;
}

.case-list article {
  padding: 24px;
}

.case-list h3 {
  font-size: 18px;
}

.case-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.sticky-heading {
  position: sticky;
  top: 106px;
}

.delivery-photo {
  height: 240px;
  margin-top: 26px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  border-top: 1px solid var(--line);
}

.steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sunset);
  color: var(--white);
  font-weight: 900;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
}

.contract {
  padding: 82px 0;
}

.contract-items {
  display: grid;
  gap: 14px;
}

.contract-items article {
  padding: 24px;
}

.contract-items p {
  margin-top: 10px;
  color: var(--muted);
}

.company-summary {
  display: grid;
  gap: 20px;
  align-content: start;
}

.company-summary p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.company-summary .button {
  width: fit-content;
}

.contact {
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.98), rgba(255, 242, 230, 0.98)),
    radial-gradient(circle at 82% 18%, rgba(242, 118, 34, 0.24), transparent 34%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.contact-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

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

.contact-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
}

.contact-points li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sunset);
  content: "";
  transform: translateY(-50%);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink-strong);
  font-weight: 800;
}

.contact-form label > span {
  font-family: var(--font-heading);
  line-height: 1.45;
}

.contact-form em {
  margin-left: 4px;
  color: var(--green-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e7c9af;
  border-radius: 8px;
  padding: 11px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.contact-form textarea {
  min-height: 168px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(242, 118, 34, 0.16);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9b806f;
}

.consent-field {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  flex: 1 1 220px;
  min-height: 1.5em;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #32815c;
}

.form-status.is-error {
  color: #b53b24;
}

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

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

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

.company-table dd {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.company-table a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 18% 24%, rgba(242, 118, 34, 0.24), transparent 30%), var(--ink-strong);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 110px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    padding: 12px 24px;
  }

  .brand {
    width: 108px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    width: min(100% - 36px, 720px);
    padding: 70px 0 46px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-metrics,
  .service-grid,
  .case-list,
  .case-photos,
  .intro-grid,
  .delivery-grid,
  .contract-grid,
  .contact-grid,
  .form-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .service-card {
    min-height: auto;
  }

  .case-photos img,
  .delivery-photo {
    height: 220px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand {
    width: 92px;
    min-width: 84px;
  }

  .header-cta {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .section-inner,
  .hero-inner {
    width: min(342px, calc(100% - 48px));
    padding-right: 0;
    padding-left: 0;
  }

  .hero {
    min-height: 530px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 16px;
    max-width: 34ch;
  }

  h2,
  h3,
  p,
  li,
  dd {
    line-break: anywhere;
    word-break: break-all;
  }

  h2 {
    max-width: 12em;
  }

  h3 {
    max-width: 15em;
  }

  .intro-copy,
  .section-heading,
  .service-card,
  .case-list article,
  .contract-items article,
  .company-summary,
  .company-table {
    max-width: 100%;
  }

  .intro-copy p,
  .section-heading p:not(.section-kicker),
  .service-card p:not(.card-label),
  .service-card li,
  .case-list p,
  .contract-items p,
  .steps p,
  .company-summary p:not(.section-kicker),
  .company-table dd {
    max-width: 34ch;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 36px;
  }

  .hero-metrics div {
    min-height: 86px;
    padding: 16px;
  }

  .hero-metrics dd {
    font-size: 16px;
  }

  .intro,
  .use-cases,
  .contract {
    padding: 56px 0;
  }

  .services,
  .delivery,
  .contact,
  .company {
    padding: 68px 0;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 19px;
  }

  .service-card,
  .case-list article,
  .contract-items article,
  .contact-form {
    padding: 22px;
  }

  .service-photo {
    width: calc(100% + 44px);
    height: 148px;
    margin: -22px -22px 20px;
  }

  .case-photos {
    gap: 14px;
  }

  .case-photos img,
  .delivery-photo {
    height: 190px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .company-summary h2 {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-status {
    flex-basis: auto;
  }

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