:root {
  --green: #3d831d;
  --green-light: #7ed321;
  --accent-yellow: #fff200;
  --red: #bf1920;
  --yellow-bg: #ffba00;
  --text: #1a1a1a;
  --border: #222222;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: #fdf6e0;
  -webkit-text-size-adjust: 100%;
}

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

.lp {
  max-width: 1200px;
  margin: 0 auto;
  /* no overflow-x:hidden here — it breaks position:sticky on descendants
     (the fixed CTA below relies on it). Images are exactly 100% width so
     there is nothing to clip. */
  position: relative;
}

.lp-img {
  display: block;
  line-height: 0;
  background: #ffffff;
}

/* in-page anchor targets for headings baked inside a single image */
.lp-anchor-wrap {
  position: relative;
}

.lp-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: 20px;
}

#anchor-work {
  top: 27.3%;
}

#anchor-price {
  top: 60.4%;
}

#anchor-area {
  top: 37.8%;
}

@media (min-width: 768px) {
  #anchor-work {
    top: 23.2%;
  }

  #anchor-price {
    top: 64.7%;
  }

  #anchor-area {
    top: 41.7%;
  }
}

/* CTA button band (replaces the LINE button baked into the design image) */
.lp-cta-band {
  display: flex;
  justify-content: center;
  padding: 28px 20px;
}

.lp-cta-band--red {
  background: var(--red);
}

.lp-cta-band--yellow {
  background: var(--yellow-bg);
}

.lp-cta-band--white {
  background: #ffffff;
}

.lp-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 14px 20px;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green) 100%);
  border: 3px solid #1f5c0f;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(15px, 4.5vw, 19px);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.lp-cta-btn:hover {
  filter: brightness(1.05);
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.18);
}

.lp-cta-btn:active {
  filter: brightness(0.97);
  transform: translateY(4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.18);
}

.lp-cta-btn:focus-visible {
  outline: 3px solid #ffd633;
  outline-offset: 3px;
}

.lp-cta-btn__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-cta-btn__text {
  flex: 1;
}

.lp-cta-btn__icon svg {
  width: 100%;
  height: 100%;
}

.lp-cta-btn__br {
  display: inline;
}

.lp-cta-btn__accent {
  color: var(--accent-yellow);
}

@media (min-width: 768px) {
  .lp-cta-btn {
    justify-content: center;
    gap: 15px;
    max-width: 630px;
    padding: 27px 36px;
    border: 4px solid #1f5c0f;
    border-radius: 21px;
    font-size: clamp(28px, 7.8vw, 36px);
  }

  .lp-cta-btn__text {
    flex: none;
  }

  .lp-cta-btn:hover,
  .lp-cta-btn:active {
    transform: translateY(6px);
  }

  .lp-cta-btn__icon {
    width: 42px;
    height: 42px;
  }

  .lp-cta-btn__br {
    display: none;
  }
}

/* Footer banner link overlaid on the footer image */
.lp-footer-wrap {
  position: relative;
}

.lp-banner-link {
  position: absolute;
  display: block;
  left: 50%;
  top: 86.4%;
  width: 24.7%;
  transform: translateX(-50%);
}

.lp-banner-link img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .lp-banner-link {
    left: 14.6%;
    top: 83.2%;
    width: 15%;
    transform: none;
  }
}

/* Fixed floating CTA: always position:fixed. main.js smoothly slides its
   `top` from the natural hero/yellow-seam spot (~575px) down to a resting
   point a fixed gap above the bottom of the viewport, as a function of
   scroll position — no jump, and it never travels back up toward the top
   of the screen. `right` is measured from `.lp`'s actual rendered edge
   (not vw), so it isn't thrown off by scrollbars. */
.lp-fixed-cta {
  position: fixed;
  top: 530px;
  right: 10px;
  width: 100px;
  height: 100px;
  display: block;
  line-height: 0;
  z-index: 1000;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.lp-fixed-cta img {
  width: 100%;
  height: 100%;
  display: block;
}

.lp-fixed-cta:hover {
  filter: brightness(1.05);
  transform: scale(1.05);
}

.lp-fixed-cta:active {
  filter: brightness(0.95);
  transform: scale(0.96);
}

@media (min-width: 768px) {
  .lp-fixed-cta {
    width: 150px;
    height: 150px;
  }
}

/* FAQ */
.faq {
  background: #ffffff;
  padding: 48px 20px 56px;
}

.faq__title {
  text-align: center;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  margin: 0 0 36px;
}

.faq__category {
  max-width: 900px;
  margin: 0 auto 40px;
}

.faq__category-title {
  font-size: clamp(17px, 3.6vw, 20px);
  font-weight: 800;
  border-left: 6px solid var(--green);
  padding-left: 12px;
  margin: 0 0 16px;
}

.faq__item {
  border: 2px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.faq__item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 52px 16px 16px;
  position: relative;
  font-weight: 700;
  font-size: clamp(14px, 3.4vw, 16px);
  line-height: 1.5;
}

.faq__item > summary::-webkit-details-marker {
  display: none;
}

.faq__item > summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  transition: transform 0.2s ease;
}

.faq__item[open] > summary::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
}

.faq__badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__a {
  display: flex;
  gap: 12px;
  padding: 0 16px 18px calc(16px);
  align-items: flex-start;
}

.faq__badge--a {
  background: #666666;
  margin-top: 2px;
}

.faq__a p {
  margin: 0;
  padding-top: 2px;
  font-size: clamp(13px, 3.2vw, 15px);
  line-height: 1.7;
  color: #333333;
}

@media (min-width: 768px) {
  .faq {
    padding: 64px 40px 72px;
  }

  .faq__item > summary {
    padding: 18px 56px 18px 20px;
  }
}
