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

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: #1c2430;
  background: #f4f7fb;
  line-height: 1.7;
}

.site-header,
main,
footer {
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding-top: 1.25rem;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: 1.45rem;
}

h2 {
  font-size: 1.15rem;
}

h3 {
  font-size: 1.02rem;
}

.lead,
.product p,
.price-note,
footer p,
.game-help {
  margin: 0 0 0.8rem;
}

.products {
  padding-bottom: 0.5rem;
}

.product-photo {
  display: block;
  width: 100%;
  height: 14rem;
  object-fit: contain;
  background: #fff;
  margin: 0 0 0.7rem;
}

.product {
  background: #fff;
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding: 0.9rem 1rem 0.7rem;
  margin-bottom: 0.85rem;
}

.affiliate-slot {
  border: 1px dashed #8aa0b8;
  border-radius: 8px;
  background: #f7fafc;
  color: #5c6b7c;
  min-height: 4.5rem;
  padding: 0.7rem 0.8rem;
  margin: 0.2rem 0 0.45rem;
}

.affiliate-slot img {
  max-width: 100%;
  height: auto;
}

.price-note {
  font-size: 0.85rem;
  color: #5c6b7c;
  margin-bottom: 0;
}

.game {
  padding: 0.4rem 0 1.5rem;
}

.game-help {
  font-size: 0.92rem;
}

.pond {
  position: relative;
  height: 22rem;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 40% at 50% 0%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(180deg, #b7e4f4 0%, #4aa3c8 14%, #1f6f99 46%, #0c3e5c 100%);
  cursor: crosshair;
  touch-action: manipulation;
}

.sea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.fish {
  position: absolute;
  width: 3.6rem;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  z-index: 4;
}

.vacuum {
  z-index: 5;
  position: absolute;
  top: 66%;
  left: 0;
  width: 6.4rem;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hook {
  position: absolute;
  top: 0;
  width: 2px;
  background: #243140;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}

.hook::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #243140;
  border-radius: 0 0 0.7rem 0;
  transform: translate(-40%, 30%) rotate(45deg);
  background: transparent;
}

.result,
.score {
  min-height: 1.6em;
  margin: 0.7rem 0 0.3rem;
  font-weight: 700;
}

#again {
  margin-top: 0.4rem;
  padding: 0.55rem 1rem;
  font: inherit;
  border: 0;
  border-radius: 999px;
  background: #1a5678;
  color: #fff;
}

footer {
  padding: 0.5rem 0 2rem;
  font-size: 0.82rem;
  color: #4d5b6a;
}
