:root {
  --canvas-width: 1920px;
  --main-column-ratio: 52.0833%; /* 1000 / 1920 */
  --footer-ratio: 68.75%; /* 1320 / 1920 */
  --left-ticker-offset: 17.9688%; /* 345 / 1920 */
  --left-ticker-width: 3.75%; /* 72 / 1920 */
  --right-ticker-offset: 78.28%; /* 1503 / 1920 */
  --right-ticker-width: 4.479%; /* 86 / 1920 */
  --yellow-mask-ratio: 24.8958%; /* 478 / 1920 */
  --heart-width-ratio: 8.7%; /* 132 / 1920 */
  --heart-left-l: calc(50% - 42%);
  --heart-left-r: calc(50% + 34%);
  --bg-green: #16fd00;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-green);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.pc-view {
  display: block;
}

.site-header {
  background: #ffffff;
  width: min(var(--canvas-width), 100vw);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(14px, 2vw, 26px) 0;
}

.site-nav a {
  color: #4a4547;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(14px, 1.4vw, 20px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #f08b1a;
}

.pc-canvas {
  position: relative;
  width: min(var(--canvas-width), 100vw);
  margin: 0 auto;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  line-height: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.yellow-mask {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.main-column {
  position: relative;
  z-index: 1;
  width: var(--main-column-ratio);
  margin: 0 auto;
}

.flow-image {
  display: block;
  width: 100%;
  height: auto;
}

.shop-grid {
  margin: 0;
  padding: 4% 6% 6%;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8%;
  row-gap: 3%;
  background: var(--bg-green);
}

.shop-grid li {
  text-align: center;
}

.shop-btn {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease;
}

.shop-btn:hover,
.shop-btn:focus-visible {
  transform: translateY(-4px);
  outline: 3px solid #f08b1a;
  outline-offset: 3px;
}

.shop-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-name {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 18px);
  color: #2f5e2a;
  line-height: 1.3;
}

.footer-visual {
  width: var(--footer-ratio);
  margin: 0 auto;
  margin-top:180px;
  line-height: 0;
}

.footer-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.birthday-layers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.layer-wrap {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
}

.layer-wrap.left {
  left: var(--left-ticker-offset);
  width: var(--left-ticker-width);
}

.layer-wrap.right {
  left: var(--right-ticker-offset);
  width: var(--right-ticker-width);
}

.ticker {
  display: flex;
  flex-direction: column;
  height: 200%;
}

.ticker img {
  display: block;
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.ticker.up {
  animation: ticker-up 52s linear infinite;
}

.ticker.down {
  animation: ticker-down 52s linear infinite;
}

@keyframes ticker-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes ticker-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.heart {
  width: var(--heart-width-ratio);
  aspect-ratio: 33 / 34;
  animation-name: heart-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

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

@keyframes heart-float {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-60px) rotate(5deg);
  }
}

.heart1 {
  position: absolute;
  top: 42svh;
  left: var(--heart-left-l);
  z-index: 4;
  animation-duration: 4.8s;
  animation-delay: -1.1s;
}

.heart2 {
  position: absolute;
  top: 70svh;
  left: var(--heart-left-r);
  z-index: 4;
  animation-duration: 5.6s;
  animation-delay: -3.4s;
}

.heart3 {
  position: absolute;
  top: 200svh;
  left: var(--heart-left-r);
  z-index: 4;
  animation-duration: 6s;
  animation-delay: -3.0s;
}

.heart4 {
  position: absolute;
  top: 320svh;
  left: var(--heart-left-l);
  z-index: 4;
  animation-duration: 5.5s;
  animation-delay: -1.9s;
}

.heart5 {
  position: absolute;
  top: 380svh;
  left: var(--heart-left-r);
  z-index: 4;
  animation-duration: 5.1s;
  animation-delay: -2.7s;
}

.heart6 {
  position: absolute;
  top: 590svh;
  left: var(--heart-left-r);
  z-index: 4;
  animation-duration: 5.9s;
  animation-delay: -0.7s;
}

.heart7 {
  position: absolute;
  top: 790svh;
  left: var(--heart-left-l);
  z-index: 4;
  animation-duration: 6.2s;
  animation-delay: -2.5s;
}

.heart8 {
  position: absolute;
  top: 840svh;
  left: var(--heart-left-r);
  z-index: 4;
  animation-duration: 4.9s;
  animation-delay: -1.7s;
}

.sp-view {
  display: none;
}

.sp-header {
  background: #ffffff;
  width: 100%;
}

.sp-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 5vw, 28px);
  padding: 14px 0;
}

.sp-nav a {
  color: #4a4547;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(11px, 3vw, 14px);
}

.sp-nav a:hover,
.sp-nav a:focus-visible {
  color: #f08b1a;
}

.sp-canvas {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sp-column {
  width: 100%;
}

.sp-canvas .footer-visual {
  width: 100%;
  margin-top: 140px;
  padding-bottom: 4svh;
}

@media (max-width: 767px) {
  .pc-view {
    display: none;
  }

  .heart {
    display: none;
  }

  .sp-view {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker.up,
  .ticker.down,
  .heart {
    animation: none;
  }
}
