:root {
  --green: #257a4d;
  --green-dark: #174b35;
  --green-deep: #102f25;
  --green-light: #e9f5ee;
  --green-pale: #f5fbf7;
  --ink: #24302c;
  --muted: #63726d;
  --line: #dfe9e4;
  --white: #ffffff;
  --accent: #f2a93b;
  --shadow: 0 16px 42px rgba(22, 76, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

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

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

h1 {
  margin-bottom: 22px;
  color: var(--green-deep);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.32;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--green-deep);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.42;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 1.02rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 74px 0;
}

.bg-light {
  background: var(--green-pale);
}

.bg-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.bg-dark {
  color: var(--white);
  background: #263a36;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  border-bottom: 1px solid rgba(223, 233, 228, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo img {
  width: 76px;
  max-width: min(76px, 24vw);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-button {
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 68px;
  background: #eef4f8;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 560px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(630px, 100%);
  padding: 46px 0 46px 46px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(1.95rem, 2.5vw, 2.45rem);
  line-height: 1.34;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.hero-copy .label {
  color: #bfead8;
}

.label {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead,
.hero-kicker,
.lead,
.section-head p,
.split p,
.simple-card p,
.feature-card p,
.price-card p,
.faq-list p,
.profile-box p {
  color: var(--muted);
}

.hero-lead {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
}

.hero-kicker {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.7;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.2);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(37, 122, 77, 0.2);
}

.button.secondary {
  color: var(--green);
  background: var(--white);
  border-color: var(--green);
}

.hero .button.primary {
  color: var(--green-deep);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

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

.button.large {
  min-width: min(100%, 360px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-badges span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-photo-bg {
  position: relative;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--green-light);
}

.hero-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 46, 36, 0.78) 0%, rgba(10, 46, 36, 0.58) 34%, rgba(10, 46, 36, 0.18) 64%, rgba(10, 46, 36, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.18));
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.white h2,
.section-head.white p,
.bg-green h2,
.bg-dark h2 {
  color: var(--white);
}

.section-head.white .label,
.bg-green .label,
.bg-dark .label {
  color: #ffe0a0;
}

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

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

.check-card,
.simple-card,
.feature-card,
.price-card,
.report-lite article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 76, 53, 0.06);
}

.check-card {
  position: relative;
  min-height: 96px;
  padding: 22px 22px 22px 52px;
  font-weight: 700;
}

.check-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 29px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--green-light);
}

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

.feature-card {
  padding: 26px 18px;
  text-align: center;
}

.feature-card span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

.flow-list li {
  position: relative;
  min-height: 170px;
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.flow-list span {
  display: block;
  margin-bottom: 10px;
  color: #ffe0a0;
  font-size: 0.75rem;
  font-weight: 800;
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.5;
}

.flow-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.85rem;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 40px;
  margin-bottom: 34px;
}

.split.no-bottom {
  margin-bottom: 0;
}

.report-split {
  margin-bottom: 0;
}

.image-card {
  overflow: hidden;
  border-radius: 12px;
  background: var(--green-light);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

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

.simple-card {
  padding: 24px;
}

.simple-card.emphasized {
  border-color: rgba(37, 122, 77, 0.35);
  background: linear-gradient(180deg, var(--white), var(--green-pale));
}

.simple-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* 2026-07-22 update: 3管理のサービス設計と現場対応型支援を写真中心に更新 */
.target-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.photo-feature {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: var(--green-light);
  box-shadow: var(--shadow);
}

.photo-feature {
  min-height: 420px;
}

.photo-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(16, 47, 37, 0), rgba(16, 47, 37, 0.82));
}

.photo-feature figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
  line-height: 1.7;
}

.management-map {
  display: grid;
  gap: 14px;
}

.management-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 76, 53, 0.06);
}

.management-card {
  padding: 22px 24px;
}

.management-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.management-card h3 {
  margin-bottom: 6px;
}

.management-card p,
.subsidy-section p {
  color: var(--muted);
}

.target-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 76, 53, 0.06);
}

.target-strip strong {
  color: var(--green-deep);
  white-space: nowrap;
}

.target-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.target-strip li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--green-light);
  font-size: 0.9rem;
  font-weight: 800;
}

.report-lite {
  display: grid;
  gap: 14px;
}

.report-lite article {
  padding: 20px 22px;
}

.report-lite span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.report-lite h3 {
  margin-bottom: 6px;
}

.report-lite p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}

.price-card.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #fff1d3;
  font-size: 0.75rem;
  font-weight: 800;
}

.price {
  margin: 14px 0;
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

.price.smaller {
  font-size: 1.55rem;
}

.price-card p:last-child {
  margin-bottom: 0;
}

.note-box {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--green-pale);
}

.note-box.standalone {
  margin-top: 0;
  background: var(--white);
}

.note-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.safety-grid p {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.safety-grid p::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 25px;
  width: 12px;
  height: 6px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.profile-box {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 12px;
  background: var(--green-pale);
}

.profile-photo {
  overflow: hidden;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green-light);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--green-deep);
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--green);
}

.faq-list p {
  margin-bottom: 0;
  padding: 0 22px 20px;
}

.final-cta {
  text-align: center;
  background: var(--green-light);
}

.final-cta .container {
  max-width: 860px;
}

.final-cta p {
  color: var(--muted);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin-bottom: 0;
  font-weight: 700;
}

.sp-only {
  display: none;
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 88px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .nav-button {
    margin-top: 6px;
    text-align: center;
  }

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

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

  .flow-list,
  .split,
  .profile-box,
  .target-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .photo-feature {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .hero {
    background: #eef4f8;
  }

  .hero-copy {
    max-width: none;
    padding: 34px 28px;
    text-align: center;
  }

  .hero-buttons,
  .hero-badges {
    justify-content: center;
  }

  .flow-list li {
    min-height: auto;
  }

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

  .profile-photo {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .container {
    width: min(100% - 28px, 1080px);
  }

  .section {
    padding: 50px 0;
  }

  .header {
    height: 76px;
  }

  .logo img {
    width: 62px;
    max-width: 62px;
  }

  .nav {
    top: 76px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
    padding: 0;
    background: var(--green-deep);
  }

  .hero-inner {
    display: grid;
    min-height: auto;
    padding: 0;
  }

  .sp-only {
    display: block;
  }

  .hero-buttons,
  .button {
    width: 100%;
  }

  .hero-kicker {
    max-width: 23rem;
    margin-right: auto;
    margin-left: auto;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
  }

  .hero-lead {
    max-width: 23rem;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.85;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
  }

  .hero-copy {
    grid-area: 1 / 1;
    align-self: end;
    width: 100%;
    padding: 0 4px 30px;
    color: var(--white);
    text-align: center;
  }

  .hero h1 {
    max-width: 23rem;
    margin-right: auto;
    margin-left: auto;
    color: var(--white);
    font-size: clamp(1.68rem, 7.2vw, 1.95rem);
    font-weight: 900;
    line-height: 1.42;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.82);
  }

  .hero-copy .label {
    color: #d7f7e7;
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
  }

  .hero-photo-bg {
    position: relative;
    grid-area: 1 / 1;
    inset: auto;
    width: calc(100% + 28px);
    min-height: calc(100svh - 76px);
    margin: 0 -14px;
    aspect-ratio: 9 / 14;
    border-radius: 0;
    background: var(--green-deep);
  }

  .hero-photo-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 38, 30, 0.72) 0%, rgba(5, 38, 30, 0.78) 46%, rgba(5, 38, 30, 0.94) 76%, rgba(5, 38, 30, 1) 100%),
      rgba(5, 38, 30, 0.5);
  }

  .hero-photo-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
    transform: none;
    opacity: 1;
    filter: brightness(0.58) contrast(0.92) saturate(0.86);
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-badges span {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .hero .button.primary {
    color: var(--green-deep);
    background: var(--white);
  }

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

  .hero-badges span:nth-child(n + 3) {
    display: none;
  }

  .problem-grid,
  .service-grid,
  .price-grid,
  .price-grid.four,
  .feature-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .target-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .target-strip strong {
    white-space: normal;
  }

  .photo-feature {
    aspect-ratio: 4 / 3;
  }

  .management-card {
    padding: 18px;
  }

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

  .profile-box {
    padding: 26px 18px;
  }

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