* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --paper: #ffffff;
  --ink: #202124;
  --muted: #626870;
  --line: #d8d4ca;
  --accent: #1f7a68;
  --accent-2: #d94f30;
  --soft: #eaf3ee;
  --shadow: 0 16px 40px rgba(21, 35, 32, 0.12);
  --radius: 8px;
  --max: 1120px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

body.cleaning {
  --bg: #f4f7f6;
  --accent: #177c82;
  --accent-2: #e45d3d;
  --soft: #e3f2f2;
}

body.bicycle {
  --bg: #f8f5ef;
  --accent: #2f6f4e;
  --accent-2: #ca5b22;
  --soft: #edf4e8;
}

body.support {
  --bg: #f7f3f0;
  --accent: #6d5d3f;
  --accent-2: #b84f59;
  --soft: #f0ede4;
}

body.garden {
  --bg: #f5f7f2;
  --accent: #3a7a4f;
  --accent-2: #ca7c28;
  --soft: #eaf1e7;
}

body.plumbing {
  --bg: #f1f6fa;
  --accent: #1f6ca7;
  --accent-2: #ca4328;
  --soft: #e3effa;
}

a {
  color: inherit;
}

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

.nav {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}

.tel-button,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.tel-button,
.primary-button {
  background: var(--accent);
  color: #fff;
}

.ghost-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.08));
  z-index: -1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 52px;
  color: #fff;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.86rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats div {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--paper);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin-top: 8px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.lead {
  margin: 0;
  color: var(--muted);
}

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

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

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

.card,
.price,
.review,
.qa,
.info-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(20, 24, 28, 0.05);
}

.card h3,
.price h3,
.review h3,
.qa h3 {
  font-size: 1.08rem;
}

.card p,
.price p,
.review p,
.qa p {
  margin: 10px 0 0;
  color: var(--muted);
}

.price {
  display: grid;
  gap: 14px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--accent);
  font-weight: 800;
}

.price-tag strong {
  font-size: 2rem;
}

.badge-list,
.pay-list,
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.badge-list li,
.pay-list li,
.area-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--soft);
  font-weight: 700;
  color: color-mix(in srgb, var(--accent), #111 24%);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stars {
  color: #f5a400;
  font-weight: 900;
  white-space: nowrap;
}

.review small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

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

.flow-item {
  position: relative;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-band {
  background: var(--accent);
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.profile-note {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  align-content: center;
}

.profile-note p {
  margin: 14px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
}

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

th {
  width: 34%;
  color: var(--muted);
  font-weight: 700;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  filter: saturate(0.92);
}

.footer {
  padding: 32px 0;
  background: #202124;
  color: #fff;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.template-note {
  margin-top: 28px;
  padding: 16px;
  border-left: 4px solid var(--accent-2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
}

.portal {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.portal h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.portal-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-item {
  display: grid;
  gap: 12px;
  min-height: 220px;
  align-content: end;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-stats,
  .section-head,
  .grid.three,
  .grid.two,
  .flow,
  .contact-layout,
  .profile,
  .portal-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 60px 0;
  }
}
