/* ROSETIGER HALLOWEEN page */
:root {
  --bg: #fff5f7;
  --ink: #4a2a3a;
  --muted: #8a6a78;
  --rose: #e0457b;
  --rose-deep: #c2335f;
  --rose-soft: #ffd9e4;
  --orange: #ff9a3c;
  --purple: #7a4bd6;
  --card: #ffffff;
  --shadow: 0 10px 28px rgba(224, 69, 123, 0.14);
  --radius: 22px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(122, 75, 214, 0.1), transparent 38%),
    radial-gradient(circle at 92% 6%, rgba(255, 154, 60, 0.14), transparent 34%),
    var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* header */
.site-header {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}

.logo__en {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rose);
}

.logo__ja {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.back-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--rose-deep);
  padding: 8px 14px;
  border: 1.5px solid var(--rose-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  background: #fff;
  border-color: var(--rose);
}

/* hero */
main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.hero {
  text-align: center;
  padding: 44px 0 30px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.badge-new {
  display: inline-block;
  padding: 2px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ff6f61);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 10px rgba(255, 122, 60, 0.35);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 7.4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--rose);
  text-shadow: 0 3px 0 rgba(122, 75, 214, 0.12);
  overflow-wrap: anywhere;
}

.hero__sub {
  margin: 16px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.hero__lead {
  max-width: 34em;
  margin: 10px auto 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-wrap: balance;
}

/* stamps: PC 4 columns / mobile 2x2 */
.stamp-grid {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 720px) {
  .stamp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.stamp-card {
  margin: 0;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1.5px solid #ffe7ee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stamp-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: calc(var(--radius) - 8px);
}

@media (hover: hover) {
  .stamp-card:hover {
    transform: translateY(-4px) rotate(-0.6deg);
    box-shadow: 0 16px 34px rgba(224, 69, 123, 0.2);
  }
}

/* call to action */
.cta {
  margin-top: 40px;
  text-align: center;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(224, 69, 123, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-line:hover,
.btn-line:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(224, 69, 123, 0.4);
}

.cta__note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.back-bottom {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.share {
  margin-top: 32px;
}

.share h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.share__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share__button[hidden], [hidden] {
  display: none;
}

.share__button:hover { filter: brightness(1.1); }
.share__button--line { background: #008a3c; }
.share__button--x { background: #171717; }
.share__button--instagram { background: linear-gradient(120deg, #b63176, #7635bb); }

.share__help, .share__status, #share-copy {
  max-width: 36em;
  margin: 12px auto 0;
  font-size: 0.8rem;
  color: var(--ink);
}

.share__download { display: inline-block; margin-top: 10px; font-size: 0.85rem; }
.share__status:empty { display: none; }
#share-url {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--rose);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* footer */
.site-footer {
  padding: 22px 20px 30px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid #ffe0e9;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 420px) {
  .site-header {
    padding-top: 14px;
  }

  .btn-line {
    width: 100%;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
