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

:root {
  --c-ink: #1f2d2b;
  --c-text: #2e3936;
  --c-muted: #66716d;
  --c-soft: #f6f4ee;
  --c-soft-green: #edf5f1;
  --c-line: #dfe6e2;
  --c-primary: #23584f;
  --c-primary-2: #3f756c;
  --c-accent: #b95f3b;
  --c-gold: #d8aa54;
  --c-blue: #3a5f7b;
  --shadow: 0 14px 32px rgba(31, 45, 43, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --max-w: 1120px;
  --pad: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--c-text);
  background: #fff;
  line-height: 1.78;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .76; }
ul, ol { list-style: none; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 92px 0;
  scroll-margin-top: 72px;
}

section:nth-of-type(even) { background: var(--c-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  color: var(--c-primary);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

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

.nav a {
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a.nav-cta {
  color: #fff;
  background: var(--c-primary);
  border-radius: 999px;
  padding: 9px 16px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--c-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(23, 39, 36, .76);
}

.hero-inner {
  position: relative;
  max-width: 820px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-label {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero-kicker {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
  border-left: 5px solid var(--c-gold);
  padding-left: 16px;
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .24);
}

.hero-title {
  font-size: 46px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .93);
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, opacity .18s;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(185, 95, 59, .24);
}

.btn-primary:hover { background: #9f4f32; }

.btn-ghost {
  border-color: rgba(255, 255, 255, .56);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--c-primary);
}

.btn-lg {
  min-height: 56px;
  padding: 14px 30px;
}

.section-label {
  margin-bottom: 10px;
}

.section-title {
  color: var(--c-ink);
  font-size: 30px;
  line-height: 1.48;
  margin-bottom: 24px;
  font-weight: 800;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--c-gold);
  border-radius: 999px;
  margin-top: 14px;
}

.section-lead {
  max-width: 940px;
  color: var(--c-muted);
  font-size: 15.5px;
  margin-bottom: 30px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--c-primary);
  background: var(--c-soft-green);
  border: 1px solid #cdded8;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.problem-card,
.service-card,
.approach-list article,
.usecase,
.step-item,
.work-card,
.price-card,
.faq-list details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-card {
  padding: 22px 20px;
  min-height: 230px;
}

.problem-num {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.problem-card h3,
.service-card h3,
.approach-list h3,
.usecase h3,
.step-item h3,
.work-card h3,
.price-card h3 {
  color: var(--c-primary);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 10px;
  font-weight: 800;
}

.problem-card p,
.service-card p,
.approach-list p,
.usecase p,
.step-item p,
.work-card p,
.price-card p,
.faq-list p,
.profile-copy p {
  color: var(--c-muted);
  font-size: 14.5px;
}

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

.service-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-kicker {
  width: fit-content;
  color: #fff;
  background: var(--c-primary);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card ul,
.trust-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.service-card li,
.trust-list li,
.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.7;
}

.service-card li::before,
.trust-list li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
}

.approach {
  background: var(--c-soft-green) !important;
}

.approach-layout {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 52px;
  align-items: start;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list article {
  padding: 24px 26px;
  border-left: 5px solid var(--c-blue);
}

.automation {
  background: #fff !important;
}

.automation .section-lead {
  max-width: 980px;
}

.usecase-grid {
  display: grid;
  gap: 18px;
}

.usecase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
}

.usecase img {
  width: min(100%, 860px);
  margin: 0 auto;
  background: transparent;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  padding: 0;
}

.usecase-text span,
.step-item span,
.work-type,
.price-tag {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: steps;
}

.step-item {
  padding: 24px 22px;
  min-height: 220px;
}

.works-slider { position: relative; }

.works-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line) transparent;
}

.works-track::-webkit-scrollbar { height: 6px; }
.works-track::-webkit-scrollbar-track { background: transparent; }
.works-track::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 999px; }

.work-card {
  flex: 0 0 320px;
  padding: 24px;
  min-height: 220px;
}

.work-type {
  color: var(--c-blue) !important;
  margin-bottom: 8px;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-primary);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slider-btn:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.slider-btn:disabled {
  cursor: default;
  opacity: .38;
}

.slider-btn:disabled:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: var(--c-line);
}

.works-note,
.pricing-note {
  margin-top: 18px;
  color: var(--c-muted);
  font-size: 13px;
}

.profile {
  background: var(--c-soft-green) !important;
}

.profile-layout {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 48px;
}

.profile-copy {
  border-left: 5px solid var(--c-gold);
  padding-left: 28px;
}

.profile-name {
  color: var(--c-primary) !important;
  font-weight: 800;
  margin-bottom: 10px;
}

.profile-copy p + p { margin-top: 12px; }

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

.price-card {
  padding: 26px 22px;
  min-height: 236px;
}

.price-featured {
  border: 2px solid var(--c-primary);
  background: var(--c-soft-green);
}

.price-card h3 {
  margin-top: 8px;
}

.price {
  color: var(--c-ink) !important;
  font-size: 28px !important;
  font-weight: 900;
  margin: 12px 0 10px;
}

.price span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
}

.faq {
  background: #fff !important;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--c-primary);
  font-size: 15.5px;
  font-weight: 800;
  padding: 20px 54px 20px 22px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-accent);
  font-size: 24px;
  line-height: 1;
}

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

.faq-list details p {
  border-top: 1px solid var(--c-line);
  padding: 18px 22px 22px;
}

.contact {
  background: var(--c-ink) !important;
  color: #fff;
}

.contact .section-title,
.contact .section-lead,
.contact .section-label {
  color: #fff;
}

.contact .section-label { color: var(--c-gold); }
.contact .section-title::after { background: var(--c-accent); }

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.contact-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
  margin-bottom: 28px;
}

.form-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, .06);
}

.form-card-title {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.form-card-text,
.form-note {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

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

.site-footer {
  background: #172724;
  color: rgba(255, 255, 255, .76);
  padding: 30px 0;
}

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

.footer-name {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.footer-role {
  font-size: 13px;
  color: rgba(255, 255, 255, .66);
}

@media (max-width: 980px) {
  section { padding: 76px 0; }
  .nav { gap: 12px; }
  .nav a { font-size: 12.5px; }
  .hero { min-height: 620px; }
  .hero-title { font-size: 38px; }
  .problem-grid,
  .service-grid,
  .step-list,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card-wide { grid-column: auto; }
  .approach-layout,
  .profile-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  :root { --pad: 18px; }
  section { padding: 62px 0; }
  .nav a:not(.nav-cta) { display: none; }
  .brand-mark { font-size: 13px; }
  .hero {
    min-height: 0;
    padding: 76px 0 70px;
  }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas {
    display: grid;
  }
  .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
  }
  .section-title { font-size: 24px; }
  .problem-grid,
  .service-grid,
  .step-list,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .problem-card,
  .step-item,
  .price-card {
    min-height: auto;
  }
  .usecase { padding: 18px; }
  .usecase img {
    max-height: none;
    object-fit: contain;
  }
  .work-card { flex-basis: 282px; }
  .slider-controls { justify-content: flex-start; }
  .profile-copy {
    border-left: 0;
    padding-left: 0;
  }
  .form-card {
    padding: 20px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
