:root {
  --green: #165b43;
  --green-2: #23765a;
  --green-soft: #e8f4ee;
  --cream: #fbf5e9;
  --paper: #fffdf8;
  --orange: #e98937;
  --yellow: #f4c35c;
  --blue: #315a73;
  --ink: #26352f;
  --muted: #67736c;
  --line: rgba(22, 91, 67, 0.15);
  --shadow: 0 18px 48px rgba(22, 91, 67, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    system-ui, sans-serif;
}

body {
  margin: 0;
  line-height: 1.85;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(35, 118, 90, 0.13), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(233, 137, 55, 0.09), transparent 18rem),
    linear-gradient(180deg, #fffdf8 0%, #f7f2e7 48%, #fffdf8 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.34;
}

body::before {
  width: 250px;
  height: 250px;
  left: -70px;
  top: 160px;
  background: var(--green-soft);
  animation: floatBg 18s ease-in-out infinite alternate;
}

body::after {
  width: 190px;
  height: 190px;
  right: -52px;
  bottom: 120px;
  background: #ffe9c8;
  animation: floatBg 22s ease-in-out infinite alternate-reverse;
}

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

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

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

.demo-return {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(22, 91, 67, 0.92);
  box-shadow: 0 12px 30px rgba(22, 91, 67, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 91, 67, 0.1);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--green);
  font-weight: 900;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--orange));
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.global-nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #44544c;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.global-nav a[aria-current="page"],
.global-nav a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.header-contact {
  display: inline-grid;
  gap: 1px;
  text-align: right;
  color: var(--green);
  font-weight: 900;
  line-height: 1.25;
}

.header-contact small {
  color: var(--muted);
  font-size: 11px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 78px));
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.95) 0%, rgba(255, 253, 248, 0.82) 40%, rgba(255, 253, 248, 0.26) 74%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.36), rgba(255, 253, 248, 0.88));
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 80px 0;
}

.sample-label,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: #43534b;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 700;
}

.hero-sub {
  max-width: 570px;
  color: var(--muted);
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(22, 91, 67, 0.24);
}

.btn-secondary {
  color: var(--green);
  background: rgba(255, 253, 248, 0.78);
  border-color: var(--line);
}

.section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 1fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.28;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.section-heading p:last-child,
.intro-text,
.muted {
  color: var(--muted);
  font-weight: 700;
}

.band {
  background:
    linear-gradient(135deg, rgba(232, 244, 238, 0.84), rgba(255, 240, 215, 0.68)),
    var(--paper);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.case-card,
.reason-card,
.service-block,
.info-card,
.faq-item,
.form-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 40px rgba(22, 91, 67, 0.08);
}

.card,
.reason-card,
.info-card,
.faq-item {
  padding: 24px;
}

.card h3,
.reason-card h3,
.service-block h2,
.case-card h2,
.info-card h3,
.faq-item h3 {
  color: var(--green);
  line-height: 1.4;
}

.card p,
.reason-card p,
.service-block p,
.case-card p,
.info-card p,
.faq-item p,
.service-list li,
.footer-inner {
  color: var(--muted);
}

.icon-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--orange);
}

.visual-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card {
  min-height: 220px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card-body {
  padding: 24px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.meta-list li {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  background: var(--green-soft);
}

.area-box,
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.area-box {
  padding: clamp(28px, 5vw, 54px);
}

.area-box h2,
.cta h2,
.cta p {
  color: #fff;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.area-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  margin-top: clamp(56px, 8vw, 92px);
}

.cta .btn {
  background: #fff;
  color: var(--green);
}

.page-hero {
  padding: clamp(64px, 10vw, 116px) 0 clamp(38px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(232, 244, 238, 0.9), rgba(255, 245, 229, 0.88)),
    var(--cream);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.service-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1fr;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(26px, 5vw, 48px);
  margin-bottom: 22px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding-left: 1.1em;
  margin: 0;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.profile-sign {
  margin-top: 24px;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 40px rgba(22, 91, 67, 0.08);
}

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

.company-table th {
  width: 26%;
  color: var(--green);
  background: var(--green-soft);
}

.notice {
  padding: 14px 16px;
  margin-top: 18px;
  border-left: 4px solid var(--orange);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 253, 248, 0.78);
}

.phone-box {
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #1e7a5f);
}

.phone-box strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.phone-box h2,
.phone-box p {
  color: #fff;
}

.form-shell {
  padding: clamp(24px, 4vw, 42px);
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(35, 118, 90, 0.14);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.submit-button {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: var(--orange);
  cursor: pointer;
}

.site-footer {
  padding: 48px 0 30px;
  color: var(--muted);
  background: #f1eadf;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  max-width: 420px;
  font-weight: 800;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 91, 67, 0.12);
  font-size: 13px;
}

@keyframes floatBg {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -28px, 0) scale(1.08);
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .global-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .header-contact {
    text-align: left;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 72% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.88) 50%, rgba(255, 253, 248, 0.42) 100%);
  }

  .section-heading,
  .page-hero-inner,
  .service-block,
  .split,
  .cta,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section,
  .footer-inner,
  .hero-content,
  .page-hero-inner {
    width: calc(100% - 32px);
  }

  .demo-return {
    right: 12px;
    bottom: 12px;
  }

  .hero-content {
    padding: 54px 0;
  }

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

  .btn {
    width: 100%;
  }

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

  .company-table th {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
