:root {
  --lp-max-width:    600px;
  --color-bg-pc:     #E3E8EE;
  --color-bg-page:   #ffffff;

  --color-line:      #06C755;
  --color-reserve:   #1E6FFF;
  --color-tel:       #0F2A44;

  --color-footer-bg: #0F2B4D;

  --floating-cta-pad-x: 16px;
  --floating-cta-pad-y: 8px;
  --floating-cta-ratio: 0.1563;

  --lp-spacer-h:     0px;
  --lp-spacer-bg:    transparent;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-pc);
  color: #1f2937;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

.lp {
  max-width: var(--lp-max-width);
  margin: 0 auto;
  background: var(--color-bg-page);
  overflow: hidden;
}

.lp-section {
  position: relative;
  font-size: 0;
  line-height: 0;
}
.lp-section > img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-spacer {
  display: block;
  width: 100%;
  height: var(--spacer-h, var(--lp-spacer-h, 0px));
  background: var(--spacer-bg, var(--lp-spacer-bg, transparent));
  font-size: 0;
  line-height: 0;
}

.cta-overlay {
  position: absolute;
  display: block;
  cursor: pointer;
}
.cta-overlay > img {
  display: block;
  width: 100%;
  height: auto;
}
.cta-overlay[data-cta="line"]    > img { border-radius: 9999px; }
.cta-overlay[data-cta="reserve"] > img { border-radius: 9999px; }
.cta-overlay[data-cta="tel"]     > img { border-radius: 18px; }

.lp-footer {
  background: var(--color-footer-bg);
  color: #ffffff;
  text-align: center;
  padding-top: 40px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: calc(
    40px
    + (min(100vw, var(--lp-max-width)) - var(--floating-cta-pad-x) * 2) * var(--floating-cta-ratio)
    + var(--floating-cta-pad-y) * 2
    + env(safe-area-inset-bottom)
  );
  font-size: 17px;
  line-height: 1.6;
}
.lp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lp-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 28px;
  row-gap: 18px;
}
.lp-footer__link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .55);
  display: inline-block;
  padding: 6px 8px;
}
.lp-footer__link:not([href]) {
  text-decoration: none;
  cursor: default;
  opacity: .85;
}
.lp-footer__logo {
  display: inline-block;
  margin-top: 36px;
  line-height: 0;
}
.lp-footer__logo > img {
  display: block;
  width: 220px;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: var(--lp-max-width);
  display: flex;
  z-index: 100;
  font-family: inherit;
  transform: translate(-50%, 100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s;
  background: #ffffff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
  padding: var(--floating-cta-pad-y) var(--floating-cta-pad-x);
  padding-bottom: calc(var(--floating-cta-pad-y) + env(safe-area-inset-bottom));
}
.floating-cta.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta { transition: none; }
}
.floating-cta__link {
  flex: 1 1 auto;
  display: block;
  line-height: 0;
  text-decoration: none;
}
.floating-cta__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9999px;
}

.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;
}
