:root {
  --ink: #17201d;
  --muted-ink: #53615c;
  --line: #dbe3df;
  --paper: #f7f6f1;
  --white: #ffffff;
  --green: #235f46;
  --deep-green: #113929;
  --blue: #2f6f9f;
  --amber: #c58322;
  --soft-blue: #e8f1f4;
  --shadow: 0 18px 50px rgba(20, 36, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 227, 223, 0.86);
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(35, 95, 70, 0.28);
  background: var(--deep-green);
  color: var(--white);
  font-weight: 700;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted-ink);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted-ink);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
}

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

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
}

.header-call {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 84px clamp(20px, 7vw, 92px);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 28, 23, 0.86) 0%, rgba(10, 28, 23, 0.66) 38%, rgba(10, 28, 23, 0.1) 72%),
    linear-gradient(180deg, rgba(10, 28, 23, 0.18), rgba(10, 28, 23, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

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

.button {
  border: 1px solid transparent;
}

.button-primary {
  background: var(--amber);
  color: #1f1609;
}

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

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.quick-info div {
  padding: 24px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.quick-info span {
  display: block;
  color: var(--muted-ink);
  font-size: 0.82rem;
}

.quick-info strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.qr-section,
.section,
.split-section,
.company-section,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 82px);
}

.qr-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--white);
}

.qr-section p:not(.eyebrow) {
  width: min(640px, 100%);
  margin-top: 18px;
  color: var(--muted-ink);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.qr-card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qr-card span {
  color: var(--muted-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.45;
}

p {
  margin: 0;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 36, 31, 0.05);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid rgba(47, 111, 159, 0.25);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted-ink);
  font-size: 0.96rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--deep-green);
  color: var(--white);
}

.split-copy p:not(.eyebrow) {
  width: min(620px, 100%);
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.rate-panel {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.rate-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: #ffd18a;
  font-weight: 800;
}

.muted {
  background: var(--soft-blue);
}

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

.work-item {
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
}

.work-item p {
  margin-top: 10px;
  color: var(--muted-ink);
}

.company-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 80px);
  background: var(--white);
}

.company-section > div > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted-ink);
}

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

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

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

.company-table dd {
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #f2efe5;
}

.contact-section p:not(.eyebrow),
.contact-box p {
  margin-top: 14px;
  color: var(--muted-ink);
}

.contact-box {
  padding: clamp(24px, 4vw, 34px);
  border-left: 5px solid var(--amber);
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-number {
  display: inline-block;
  color: var(--green);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px clamp(20px, 6vw, 82px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .qr-section,
  .split-section,
  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-info,
  .work-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-sub {
    display: none;
  }

  .header-call {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 620px;
    padding: 56px 20px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 28, 23, 0.9), rgba(10, 28, 23, 0.58)),
      linear-gradient(180deg, rgba(10, 28, 23, 0.18), rgba(10, 28, 23, 0.54));
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

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

  .qr-card img {
    width: min(220px, 100%);
    height: auto;
  }

  .service-icon {
    margin-bottom: 28px;
  }

  .section-heading {
    display: block;
  }

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

  .phone-number {
    overflow-wrap: anywhere;
  }
}
