:root {
  --canvas: #f8f5ed;
  --paper: #fffdf8;
  --ink: #20241e;
  --muted: #686c62;
  --corn: #f2c945;
  --corn-soft: #fff2b9;
  --leaf: #426d4b;
  --sky: #d9edf2;
  --line: rgba(32, 36, 30, .10);
  --shadow: 0 16px 42px rgba(61, 52, 29, .11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(242, 201, 69, .28) 0 7rem, transparent 7.1rem),
    radial-gradient(circle at 98% 26%, rgba(217, 237, 242, .7) 0 10rem, transparent 10.1rem),
    var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--corn);
  box-shadow: 16px 0 var(--corn), 32px 0 var(--corn), 0 16px var(--corn), 16px 16px var(--corn), 32px 16px var(--corn);
  content: "";
  opacity: .25;
}

body::before {
  top: 21rem;
  left: 2.8vw;
  transform: rotate(-14deg);
}

body::after {
  right: 4vw;
  bottom: 8rem;
  transform: rotate(16deg);
}

.page-shell {
  width: min(100%, 680px);
  margin-inline: auto;
  padding: max(48px, env(safe-area-inset-top)) 26px max(34px, env(safe-area-inset-bottom));
}

.hero {
  text-align: center;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-dot {
  display: inline-block;
  width: 11px;
  height: 16px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  transform: rotate(-25deg);
}

h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(34px, 8.8vw, 55px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .035em;
}

h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

h1 span::after {
  position: absolute;
  z-index: -1;
  right: -.09em;
  bottom: .06em;
  left: -.09em;
  height: .34em;
  border-radius: 99px;
  background: var(--corn-soft);
  content: "";
  transform: rotate(-1.2deg);
}

.product-name {
  margin: 15px 0 27px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.8;
}

.product-name strong {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .15em;
}

.product-name > span {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}

.product-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .88);
  border-radius: 30px;
  background: #eae1d2;
  box-shadow: var(--shadow);
}

.product-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(32, 36, 30, .08);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 5px 18px rgba(36, 31, 19, .12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}

.product-visual figcaption strong {
  display: grid;
  width: 40px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: var(--leaf);
  font-size: 10px;
  place-items: center;
}

.introduction {
  position: relative;
  margin: 24px 10px 0;
  padding: 27px 23px 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, .74);
  text-align: left;
}

.intro-label {
  position: absolute;
  top: -10px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 99px;
  color: #fff;
  background: var(--leaf);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.introduction p {
  margin: 0;
  color: #4f534b;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: .025em;
}

.store-section {
  margin-top: 49px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 4px 18px;
  text-align: left;
}

.section-heading span {
  color: var(--leaf);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  order: 2;
}

.section-heading h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .06em;
}

.store-links {
  display: grid;
  gap: 12px;
}

.store-card {
  --brand-color: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 40px;
  align-items: center;
  min-height: 82px;
  padding: 11px 14px 11px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--ink);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 7px 20px rgba(61, 52, 29, .065);
  text-align: left;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.store-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--brand-color);
  content: "";
}

.store-card.amazon { --brand-color: #f2a019; }
.store-card.rakuten { --brand-color: #bf0000; }
.store-card.mmart { --brand-color: #c8242b; }
.store-card.official { --brand-color: var(--leaf); }

.logo-frame {
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(32, 36, 30, .07);
  border-radius: 15px;
  background: #fff;
  place-items: center;
}

.logo-frame img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-frame.wide-logo img {
  width: 48px;
  height: 48px;
}

.globe-icon {
  color: var(--leaf);
  background: #eff5eb;
}

.globe-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.link-copy {
  min-width: 0;
  padding: 0 12px;
}

.link-copy strong,
.link-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
}

.mmart .link-copy strong {
  line-height: 1.3;
  white-space: normal;
}

.link-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .025em;
}

.arrow {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-color);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  place-items: center;
  transition: transform .18s ease;
}

.store-card:hover {
  border-color: color-mix(in srgb, var(--brand-color) 36%, transparent);
  box-shadow: 0 12px 27px rgba(61, 52, 29, .12);
  transform: translateY(-2px);
}

.store-card:hover .arrow {
  transform: rotate(8deg) scale(1.05);
}

.store-card:active {
  transform: scale(.99);
}

.store-card:focus-visible {
  outline: 3px solid var(--brand-color);
  outline-offset: 3px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 36px;
  color: #7b7f74;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--corn);
}

@media (min-width: 620px) {
  .page-shell { padding-top: 64px; }
  .product-visual img { height: auto; aspect-ratio: 5 / 4; }
  .introduction { padding-inline: 30px; text-align: center; }
  .store-card { grid-template-columns: 62px minmax(0, 1fr) 44px; min-height: 86px; padding-inline: 14px 18px; }
}

@media (max-width: 380px) {
  .page-shell { padding-right: 17px; padding-left: 17px; }
  h1 { font-size: 31px; }
  .product-name { font-size: 12px; }
  .introduction { margin-inline: 3px; padding-inline: 18px; }
  .desktop-break { display: none; }
  .store-card { grid-template-columns: 54px minmax(0, 1fr) 34px; padding-right: 11px; }
  .logo-frame { width: 48px; height: 48px; }
  .link-copy { padding-inline: 9px; }
  .link-copy strong { font-size: 14px; }
  .arrow { width: 31px; height: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-card,
  .arrow { transition: none; }
}
