:root {
  color-scheme: light;
  --ivory: #f4eee3;
  --olive: #34382b;
  --brass: #a78962;
  --cta-height: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.landing {
  max-width: 760px;
  margin-inline: auto;
}

.panel { position: relative; }

.landing img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta {
  position: absolute;
  inset: 88% 20% 5% 6%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
}

.mobile-cta { display: none; }

.hero-cta:focus-visible,
.mobile-cta a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

@media (max-width: 767px), (max-width: 950px) and (hover: none) and (pointer: coarse) {
  .landing { padding-bottom: calc(var(--cta-height) + var(--safe-bottom)); }

  .mobile-cta {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    height: calc(var(--cta-height) + var(--safe-bottom));
    display: grid;
    place-items: center;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + var(--safe-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--olive);
    box-shadow: 0 -1px var(--brass);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65em;
    width: min(100%, 420px);
    min-height: 48px;
    padding-inline: 10px;
    border-radius: 4px;
    color: var(--olive);
    background: var(--ivory);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }
}

.sample-notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 9px 18px;
  border-bottom: 1px solid #c4b29c;
  background: #eae1d3;
  color: #37382c;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
  line-break: strict;
  overflow-wrap: anywhere;
  text-align: center;
  text-wrap: pretty;
}
