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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f5f5f5;
  color: #111;
}

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

:root {
  --lp-max-width: 750px;
}

@media (min-width: 681px) {
  :root {
    --lp-max-width: 680px;
  }
}

.lp {
  max-width: var(--lp-max-width);
  margin: 0 auto;
  background: #fff;
}

.lp__main {
  display: flex;
  flex-direction: column;
}

.lp__section {
  position: relative;
}

.lp__section-body {
  display: flex;
  flex-direction: column;
}

.lp__part {
  margin: 0;
}

.lp__part--cta-buy,
.lp__part--cta-tel {
  background: #F8EDE8;
  padding: 24px 32px 32px;
}

.lp__cta-buy-link,
.lp__cta-tel-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.lp__cta-buy-link:hover,
.lp__cta-tel-link:hover {
  opacity: 0.85;
}

.lp__cta-buy-link:active,
.lp__cta-tel-link:active {
  opacity: 0.7;
}

.lp__part--line {
  position: relative;
}

.lp__line-btn {
  position: absolute;
  top: calc(50% + 24px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 60%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.lp__line-btn:hover {
  opacity: 0.85;
}

.lp__line-btn:active {
  opacity: 0.7;
}

.lp__line-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.lp__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.lp__section-actions {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp__cta {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: auto;
}

.lp__cta-link {
  display: inline-flex;
}

.lp__cta-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lp__cta-link--text {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lp__floating {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: var(--lp-max-width);
  margin-left: auto;
  margin-right: auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: var(--lp-floating-padding, 12px);
  padding-bottom: calc(var(--lp-floating-padding, 12px) + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lp__floating.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lp__floating-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lp-floating-gap, 8px);
}

.lp__floating-btn {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}

.lp__floating-btn:hover {
  opacity: 0.85;
}

.lp__floating-btn:active {
  opacity: 0.7;
}

.lp__floating-btn img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.lp__footer {
  background: #fff;
  padding: 48px 16px 56px;
  text-align: center;
}

.lp__footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp__footer-list li + li {
  margin-top: 20px;
}

.lp__footer-list a {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}

.lp__footer-list a:hover {
  opacity: 0.7;
}

.lp__footer-copy {
  margin: 40px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
