:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --outer: #f4f0e9;
  --ivory: #f6f1e9;
  --mocha: #58483c;
  --line: #c8b8a5;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--outer);
  color: var(--mocha);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}
button { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The finished comps are the visible design. No new layout is drawn over them. */
.lp, .site-footer {
  width: min(100%, 800px);
  margin-inline: auto;
  background: var(--paper);
}
.lp { box-shadow: 0 18px 80px rgb(63 48 35 / 7%); }
.comp { position: relative; width: 100%; line-height: 0; }
.comp img { display: block; width: 100%; height: auto; }

/* A hotspot follows the button pixels as the 1024px comp scales. */
.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hotspot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 0%);
  content: "";
  transition: background-color .25s var(--ease);
}
.hotspot:hover { box-shadow: 0 9px 22px rgb(58 40 28 / 14%); }
.hotspot:hover::after { background: rgb(255 255 255 / 9%); }
.hotspot:active { transform: scale(.99); }
.hotspot:focus-visible { outline: 3px solid #a46830; outline-offset: 3px; }
.hotspot--first { left: 8%; top: 91.3%; width: 84%; height: 6.2%; }
.hotspot--price { left: 9.3%; top: 91.5%; width: 81.5%; height: 5%; }
.hotspot--last { left: 9.2%; top: 90.7%; width: 81.5%; height: 7.2%; }

/* The original typography and photos remain together, so only whole comps reveal. */
html[data-motion="ready"] .comp.is-visible:not(#first-view) {
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
html[data-motion="ready"] .comp:not(.is-visible):not(#first-view) {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
html[data-motion="ready"] .comp[data-reveal="fade"]:not(.is-visible) {
  transform: none;
}
html[data-motion="ready"] #first-view img {
  animation: first-view-in .7s var(--ease) both;
}
@keyframes first-view-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: none; }
}

.site-footer {
  padding: 28px 7% 38px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer p {
  max-width: 55em;
  margin: 0 auto;
  color: #796c61;
  font-size: 12px;
  line-height: 1.9;
}

.sticky-cta {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: min(calc(100% - 24px), 430px);
  padding: 9px 10px 9px 14px;
  border: 1px solid rgb(200 184 165 / 70%);
  border-radius: 18px;
  background: rgb(252 251 248 / 96%);
  box-shadow: 0 10px 30px rgb(63 48 35 / 16%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 20px));
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.sticky-cta__price { margin: 0; font-size: 10px; line-height: 1.25; white-space: nowrap; }
.sticky-cta__price strong { display: block; margin-top: 3px; font: 400 20px/1.1 Georgia, "Yu Mincho", serif; }
.sticky-cta__price span { font-size: 10px; }
.sticky-cta__button {
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--mocha);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 3px 9px rgb(63 48 35 / 13%);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.sticky-cta__button:hover { background: #6b5547; box-shadow: 0 6px 14px rgb(63 48 35 / 18%); }
.sticky-cta__button:active { transform: scale(.985); }
.sticky-cta__button span { padding-left: 3px; }
.sticky-cta__button:focus-visible, .back-to-top:focus-visible,
.trial-dialog button:focus-visible { outline: 3px solid #a46830; outline-offset: 3px; }

.back-to-top {
  position: fixed;
  z-index: 19;
  right: 16px;
  bottom: calc(91px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgb(252 251 248 / 96%);
  color: var(--mocha);
  box-shadow: 0 5px 16px rgb(63 48 35 / 10%);
  cursor: pointer;
  font: 22px/1 Georgia, serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.back-to-top:hover { box-shadow: 0 7px 20px rgb(63 48 35 / 15%); }

.trial-dialog {
  width: min(calc(100% - 36px), 440px);
  max-height: calc(100dvh - 40px);
  padding: 38px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--mocha);
  box-shadow: 0 22px 70px rgb(41 31 24 / 20%);
  text-align: center;
}
.trial-dialog::backdrop { background: rgb(46 35 27 / 45%); backdrop-filter: blur(3px); }
.trial-dialog__close {
  position: absolute;
  top: 11px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--mocha);
  cursor: pointer;
  font-size: 27px;
}
.trial-dialog__eyebrow { margin: 0 0 12px; font: 12px Georgia, serif; letter-spacing: .24em; }
.trial-dialog h2 {
  margin: 0 0 18px;
  font: 400 clamp(24px, 6vw, 32px)/1.5 "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.trial-dialog p:not(.trial-dialog__eyebrow) { margin: 0 auto 26px; font-size: 15px; line-height: 1.9; }
.trial-dialog__button {
  min-width: 150px;
  min-height: 44px;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--mocha);
  color: white;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.trial-dialog__button:hover { background: #6b5547; }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .back-to-top {
    right: max(20px, calc((100vw - 800px) / 2 - 58px));
    bottom: 24px;
  }
}
@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html[data-motion="ready"] .comp,
  html[data-motion="ready"] .comp:not(.is-visible),
  .back-to-top, .hotspot, .hotspot::after,
  .sticky-cta__button, .trial-dialog__button { transition: none !important; transform: none !important; }
  .sticky-cta { transition: none !important; transform: translate(-50%, 0) !important; }
  html[data-motion="ready"] .comp:not(.is-visible) { opacity: 1; }
  html[data-motion="ready"] #first-view img { animation: none; }
}
