:root {
  --lp-max-width: 430px;
  --green: #233d27;
  --green-soft: #3d4a3a;
  --orange: #e85a3c;
  --orange-light: #f16745;
  --bg: #eef1ec;
  --white: #fff;
  --shadow-orange: 0 10px 28px rgba(232, 90, 60, 0.4);
  --focus-orange: rgba(232, 90, 60, 0.65);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--green);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.lp {
  width: min(100vw, var(--lp-max-width));
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
}

.lp-slice {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.slice-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  vertical-align: top;
  user-select: none;
}

/* 画像LP上のクリック領域 */
.hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible,
.fixed-cta:focus-visible {
  outline: 3px solid var(--focus-orange);
  outline-offset: 3px;
}

/* hotspot positions */
.hotspot-hero-cta {
  left: 6%;
  top: 79%;
  width: 87%;
  height: 7%;
  border-radius: 999px;
}

.hotspot-field-agri {
  left: 4%;
  top: 16%;
  width: 92%;
  height: 42%;
  border-radius: 24px;
}

.hotspot-field-tourism {
  left: 4%;
  top: 61%;
  width: 92%;
  height: 34%;
  border-radius: 24px;
}

.hotspot-voice {
  left: 8%;
  top: 86.5%;
  width: 84%;
  height: 9%;
  border-radius: 18px;
}

.hotspot-pdf {
  left: 13%;
  top: 78%;
  width: 59%;
  height: 2.8%;
  border-radius: 16px;
}

.hotspot-final-cta {
  left: 13%;
  top: 85%;
  width: 74%;
  height: 6.3%;
  border-radius: 999px;
}

/* 追従CTA */
.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 20;
  width: min(calc(100vw - 32px), 398px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  color: var(--white);
  box-shadow: var(--shadow-orange);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(150%);
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s ease,
    visibility 0.4s ease;
  animation: pulse 2s infinite;
}

.fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.fixed-cta-micro {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.fixed-cta-main {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fixed-cta-main::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 2px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 90, 60, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(232, 90, 60, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 90, 60, 0);
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

  .fixed-cta {
    animation: none;
    transition: none;
  }
}
