*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ==========================================================
   LP container
   ========================================================== */

.lp-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.10);
}

@media (max-width: 767px) {
  .lp-container {
    box-shadow: none;
  }
}

/* ==========================================================
   Sections / images
   ========================================================== */

.lp-section {
  display: block;
  font-size: 0;
  line-height: 0;
}

.lp-section picture {
  display: block;
  width: 100%;
}

.lp-section img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-section--cta {
  position: relative;
}

/* ==========================================================
   CTA
   ========================================================== */

.cta-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 67.6667%;
  display: block;
}

.cta-link picture {
  display: block;
  width: 100%;
}

.cta-image {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-image {
    animation: none;
  }
}

/* CTA vertical position: top% = CTA上端px ÷ 対象セクション元画像高さ × 100 (PC基準) */
.cta-link--fv {
  top: 85.152%;
}

.cta-link--s10 {
  top: 83.901%;
}

.cta-link--s14 {
  top: 84.823%;
}

/* SP: 専用画像・専用比率に切り替え */
@media (max-width: 767px) {
  .cta-link {
    width: 91%;
  }

  .cta-link--fv {
    top: 85.140%;
  }

  .cta-link--s10 {
    top: 85.303%;
  }

  .cta-link--s14 {
    top: 86.064%;
  }
}

/* ==========================================================
   Footer
   ========================================================== */

.lp-footer {
  background: #228500;
  color: #ffffff;
}

.lp-footer__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  line-height: 1.6;
}

.lp-footer__links a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
}

.lp-footer__copyright {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ==========================================================
   Privacy policy page (privacy.html only)
   ========================================================== */

.policy-hero {
  background: #f5f9f3;
  border-bottom: 1px solid #e6ede3;
}

.policy-hero__inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}

.policy-hero__title {
  margin: 0;
  color: #1f2d22;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.policy-hero__bar {
  width: 48px;
  height: 3px;
  margin: 20px auto 0;
  background: #228500;
  border-radius: 2px;
}

.policy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.policy-lead {
  margin: 0 0 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ececec;
  color: #333333;
  font-size: 15px;
  line-height: 1.9;
}

.policy-section {
  margin: 0 0 48px;
}

.policy-section:last-of-type {
  margin-bottom: 0;
}

.policy-heading {
  position: relative;
  margin: 0 0 16px;
  padding-left: 14px;
  color: #1f2d22;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.policy-heading::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  background: #228500;
  border-radius: 2px;
}

.policy-section p {
  margin: 0 0 16px;
  color: #333333;
  font-size: 15px;
  line-height: 1.9;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-list {
  margin: 0 0 4px;
  padding-left: 1.4em;
  color: #333333;
  font-size: 15px;
  line-height: 1.9;
}

.policy-list li {
  margin-bottom: 6px;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-deflist {
  margin: 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.9;
}

.policy-deflist dt {
  margin-top: 16px;
  color: #1f2d22;
  font-weight: 700;
}

.policy-deflist dt:first-child {
  margin-top: 0;
}

.policy-deflist dd {
  margin: 2px 0 0;
}

.policy-note {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #228500;
  border-radius: 4px;
  background: #f5f9f3;
  color: #5b655b;
  font-size: 13px;
  line-height: 1.7;
}

.policy-date {
  margin-top: 24px;
  color: #555555;
  font-size: 14px;
  text-align: right;
}

.policy-footer {
  margin-top: 64px;
  padding: 24px;
  border-top: 1px solid #ececec;
  text-align: center;
}

.policy-footer p {
  margin: 0;
  color: #888888;
  font-size: 12px;
}

@media (max-width: 600px) {
  .policy-hero__inner {
    padding: 48px 20px 32px;
  }

  .policy-hero__title {
    font-size: 26px;
  }

  .policy-body {
    padding: 40px 20px 56px;
  }

  .policy-heading {
    font-size: 16px;
  }

  .policy-date {
    text-align: left;
  }
}
