:root {
  --lime: #b7f000;
  --lime-light: #dfff3f;
  --green: #168a4a;
  --teal: #00a6a6;
  --ink: #111111;
  --white: #ffffff;
  --paper: #fffdf2;
  --soft: #f6fbdc;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: var(--line);
  backdrop-filter: blur(10px);
}

.service-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: none;
}

.logo-mark {
  width: 25px;
  height: 25px;
  background: var(--lime);
  border: 3px solid var(--ink);
  transform: rotate(-8deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: 0.92rem;
  font-weight: 800;
}

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

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

.nav-contact {
  padding: 6px 16px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.nav-contact:hover {
  color: var(--ink);
  background: var(--lime);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 82svh;
  padding: clamp(38px, 6vw, 78px) 0 clamp(34px, 5vw, 58px);
  background: var(--lime-light);
  border-bottom: var(--line);
}

.hero::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: -90px;
  bottom: 50px;
  width: 360px;
  height: 120px;
  background: var(--white);
  border: var(--line);
  transform: rotate(-5deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
}

.eyebrow::before,
.section-label::before {
  width: 15px;
  height: 15px;
  content: "";
  background: var(--teal);
  border: 2px solid var(--ink);
  transform: rotate(8deg);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.4vw, 5.2rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.keep-together {
  white-space: nowrap;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 700;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

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

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

.hero-tags li {
  padding: 5px 12px;
  font-size: 0.86rem;
  font-weight: 900;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-visual img {
  width: min(490px, 100%);
  filter: drop-shadow(10px 10px 0 rgba(17, 17, 17, 0.18));
  animation: floatHero 4s ease-in-out infinite;
}

.speech-bubble {
  position: absolute;
  top: 2%;
  right: 0;
  z-index: 2;
  max-width: 210px;
  padding: 14px 16px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.55;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  transform: rotate(4deg);
}

.speech-bubble::after {
  position: absolute;
  right: 38px;
  bottom: -13px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--white);
  border-right: var(--line);
  border-bottom: var(--line);
  transform: rotate(45deg);
}

.decor {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  pointer-events: none;
  font-weight: 950;
  animation: wiggle 5s ease-in-out infinite;
}

.decor-plus {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.decor-plus-a {
  top: 18%;
  left: 48%;
}

.decor-plus-b {
  right: 10%;
  bottom: 20%;
  animation-delay: -1.8s;
}

.decor-star {
  color: var(--teal);
  text-shadow: 2px 2px 0 var(--ink);
}

.decor-star-a {
  right: 36%;
  top: 14%;
  font-size: 2rem;
  animation-delay: -0.9s;
}

.decor-dot {
  width: 28px;
  height: 28px;
  background: radial-gradient(var(--ink) 2px, transparent 3px) 0 0 / 8px 8px, var(--white);
  border: 2px solid var(--ink);
}

.decor-dot-a {
  top: 17%;
  right: 20%;
}

.decor-dot-b {
  left: 10%;
  bottom: 22%;
  animation-delay: -2.2s;
}

.section {
  position: relative;
  padding: clamp(62px, 9vw, 112px) 0;
}

.section-inner {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(30px, 5vw, 52px);
  text-align: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.7vw, 3.45rem);
  line-height: 1.24;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 950;
}

.section p {
  margin: 18px 0 0;
  font-weight: 700;
}

.section-problem {
  background: var(--white);
}

.concern-grid,
.benefit-grid,
.goods-grid {
  display: grid;
  gap: 18px;
}

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

.concern-card,
.benefit-card,
.goods-card,
.step-item,
.faq-item {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
}

.concern-card {
  position: relative;
  min-height: 150px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.14);
}

.concern-card::after {
  position: absolute;
  right: -16px;
  bottom: -18px;
  width: 86px;
  height: 86px;
  content: "";
  background: var(--lime-light);
  border: 2px solid var(--ink);
  transform: rotate(12deg);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  font-weight: 950;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 60px);
}

.proposal-copy {
  max-width: 520px;
}

.flow-panel {
  padding: clamp(18px, 3vw, 30px);
  background: var(--lime);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
}

.service-flow li {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px 10px;
  font-weight: 950;
  text-align: center;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  counter-increment: flow;
}

.service-flow li::before {
  position: absolute;
  top: -16px;
  left: 12px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  content: counter(flow, decimal-leading-zero);
  font-size: 0.72rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
}

.service-flow li:not(:last-child)::after {
  position: absolute;
  right: -22px;
  width: 24px;
  height: 14px;
  content: "";
  background: var(--ink);
  clip-path: polygon(0 30%, 62% 30%, 62% 0, 100% 50%, 62% 100%, 62% 70%, 0 70%);
}

.service-flow li:nth-child(3)::after {
  right: 50%;
  bottom: -24px;
  transform: translateX(50%) rotate(90deg);
}

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

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

.benefit-card {
  position: relative;
  min-height: 260px;
  padding: 26px 22px;
}

.benefit-card:nth-child(even) {
  margin-top: 28px;
}

.number {
  display: inline-flex;
  padding: 2px 10px;
  margin-bottom: 18px;
  font-weight: 950;
  color: var(--white);
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.benefit-card p {
  font-size: 0.95rem;
}

.section-fit {
  background: var(--white);
  border-top: var(--line);
  border-bottom: var(--line);
}

.fit-layout,
.local-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.fit-visual,
.local-visual {
  position: relative;
}

.fit-visual img,
.local-visual img {
  width: min(520px, 100%);
  margin: 0 auto;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 16px 13px 46px;
  font-weight: 850;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.check-list li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  content: "✓";
  font-size: 0.88rem;
  font-weight: 950;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.note,
.estimate-note {
  padding: 16px 18px;
  background: var(--white);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
}

.section-goods {
  overflow: hidden;
  background: var(--paper);
}

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

.goods-card {
  min-height: 246px;
  padding: 16px 16px 20px;
  text-align: center;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.14);
  transition: transform 180ms ease;
}

.goods-card:hover {
  transform: translateY(-5px) rotate(-1deg);
}

.goods-card img {
  aspect-ratio: 1.16;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
  background: var(--lime-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.section-local {
  background: var(--lime-light);
  border-top: var(--line);
  border-bottom: var(--line);
}

.local-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
}

.section-steps {
  background: var(--white);
}

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

.step-item {
  position: relative;
  min-height: 132px;
  padding: 24px 20px 22px;
  background: var(--paper);
}

.step-item span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  font-weight: 950;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
}

.step-item::after {
  position: absolute;
  top: 26px;
  right: -16px;
  width: 24px;
  height: 14px;
  content: "";
  background: var(--teal);
  border: 2px solid var(--ink);
  clip-path: polygon(0 35%, 56% 35%, 56% 0, 100% 50%, 56% 100%, 56% 65%, 0 65%);
}

.step-item:nth-child(3)::after,
.step-item:last-child::after {
  display: none;
}

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

.faq-layout {
  align-items: start;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
}

.faq-heading {
  position: sticky;
  top: 96px;
}

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

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 18px 58px 18px 22px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  content: "+";
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
}

.faq-item[open] summary {
  background: var(--lime-light);
  border-bottom: 2px solid var(--ink);
}

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

.faq-item p {
  padding: 18px 22px 22px;
  margin: 0;
}

.section-contact {
  padding-top: 72px;
  background: var(--lime);
}

.contact-band {
  width: min(920px, calc(100% - 36px));
  padding: clamp(28px, 6vw, 58px);
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-band .section-label {
  justify-content: center;
}

.contact-band p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.contact-button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 24px 18px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--lime-light);
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero-inner,
  .split-layout,
  .fit-layout,
  .local-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    width: min(410px, 86vw);
  }

  .speech-bubble {
    right: 6%;
  }

  .concern-grid,
  .benefit-grid,
  .goods-grid,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-card:nth-child(even) {
    margin-top: 0;
  }

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

  .service-flow li:nth-child(3)::after {
    right: -22px;
    bottom: auto;
    transform: none;
  }

  .service-flow li:nth-child(even)::after {
    right: 50%;
    bottom: -24px;
    transform: translateX(50%) rotate(90deg);
  }

  .service-flow li:last-child::after {
    display: none;
  }

  .faq-heading {
    position: static;
  }

  .step-item:nth-child(3)::after {
    display: block;
  }

  .step-item:nth-child(even)::after,
  .step-item:last-child::after {
    display: none;
  }
}

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

  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
  }

  .site-nav {
    width: auto;
    overflow: visible;
  }

  .site-nav a:not(.nav-contact) {
    display: none;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual img {
    width: min(360px, 78vw);
  }

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

  .button {
    min-height: 50px;
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .hero-tags li {
    padding: 6px 4px;
    text-align: center;
  }

  .speech-bubble {
    position: relative;
    top: auto;
    right: auto;
    justify-self: end;
    margin-bottom: -10px;
  }

  .concern-grid,
  .benefit-grid,
  .goods-grid,
  .step-list,
  .service-flow {
    grid-template-columns: 1fr;
  }

  .service-flow li::after,
  .service-flow li:nth-child(3)::after,
  .service-flow li:nth-child(even)::after,
  .step-item::after,
  .step-item:nth-child(3)::after {
    display: none;
  }

  .goods-card {
    min-height: 0;
  }

  .faq-item summary {
    padding-left: 18px;
  }

  .contact-band {
    width: calc(100% - 28px);
    box-shadow: 6px 6px 0 var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
