body.flyer-page {
  --flyer-paper: #fff2dc;
  --flyer-strong: #fff9ed;
  --flyer-soft: #fde8c9;
  --flyer-ink: #2d2119;
  --flyer-ink-soft: #5d4636;
  --flyer-red: #c93822;
  --flyer-red-dark: #8f2416;
  --flyer-orange: #ef7d1b;
  --flyer-yellow: #f5b436;
  --flyer-shadow: 7px 8px 0 rgba(143, 36, 22, 0.18);
  color: var(--flyer-ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18px 18px, rgba(201, 56, 34, 0.07) 0 1px, transparent 1.5px),
    repeating-linear-gradient(
      -4deg,
      rgba(45, 33, 25, 0.035) 0,
      rgba(45, 33, 25, 0.035) 1px,
      transparent 1px,
      transparent 26px
    ),
    var(--flyer-paper);
  background-size: 36px 36px, auto;
}

body.flyer-page .site-header,
body.flyer-page .topbar {
  border-top: 8px solid var(--flyer-red);
  border-bottom: 3px solid var(--flyer-ink);
  background: rgba(255, 249, 237, 0.94);
}

body.flyer-page .topbar,
body.flyer-page .site-header {
  box-shadow: none;
}

body.flyer-page .brand,
body.flyer-page .site-logo {
  color: var(--flyer-ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

body.flyer-page .brand-mark {
  inline-size: 38px;
  block-size: 38px;
  border: 3px solid var(--flyer-ink);
  border-radius: 6px;
  background: var(--flyer-red);
  color: #fff;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(45, 33, 25, 0.18);
}

body.flyer-page .nav,
body.flyer-page .site-nav,
body.flyer-page .topbar-limit {
  color: var(--flyer-ink-soft);
  font-weight: 900;
}

body.flyer-page .nav a,
body.flyer-page .text-link {
  color: inherit;
  text-decoration-color: var(--flyer-orange);
  text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body.flyer-page .site-nav {
  border-bottom: 3px dashed rgba(201, 56, 34, 0.35);
  background: rgba(255, 242, 220, 0.95);
}

body.flyer-page .nav-row a {
  border: 2px dashed rgba(239, 125, 27, 0.45);
  border-radius: 999px;
  color: var(--flyer-ink);
  background: var(--flyer-strong);
  font-weight: 900;
}

body.flyer-page .hero,
body.flyer-page .page-hero {
  border-bottom: 3px solid var(--flyer-ink);
  background:
    radial-gradient(circle at 9% 18%, rgba(245, 180, 54, 0.24), transparent 18%),
    linear-gradient(180deg, #fff8eb 0%, #fff0d8 100%);
}

body.flyer-page .hero-grid,
body.flyer-page .gate-card {
  position: relative;
  margin-block: 28px;
  padding: clamp(22px, 4vw, 42px);
  border: 4px solid var(--flyer-red);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 22%, rgba(239, 125, 27, 0.12) 0 2px, transparent 2.5px),
    radial-gradient(circle at 88% 18%, rgba(201, 56, 34, 0.12) 0 2px, transparent 2.5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 249, 237, 0.92)),
    var(--flyer-strong);
  background-size: 42px 42px, 50px 50px, auto, auto;
  box-shadow: 0 0 0 8px rgba(255, 249, 237, 0.85), 12px 12px 0 rgba(201, 56, 34, 0.18);
}

body.flyer-page .hero-grid::before,
body.flyer-page .gate-card::before {
  content: "☆";
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--flyer-orange);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-12deg);
  pointer-events: none;
}

body.flyer-page .hero-grid::after,
body.flyer-page .gate-card::after {
  content: "♡";
  position: absolute;
  right: 20px;
  top: 16px;
  color: var(--flyer-red);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(12deg);
  pointer-events: none;
}

body.flyer-page .hero-grid > *,
body.flyer-page .gate-card > * {
  position: relative;
  z-index: 1;
}

body.flyer-page h1,
body.flyer-page h2,
body.flyer-page h3,
body.flyer-page .section-title,
body.flyer-page .card-title,
body.flyer-page .site-logo {
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

body.flyer-page h1,
body.flyer-page .hero h1,
body.flyer-page .page-hero h1 {
  color: var(--flyer-red);
  line-height: 1.08;
  text-shadow:
    3px 0 #fff9ed,
    -3px 0 #fff9ed,
    0 3px #fff9ed,
    0 -3px #fff9ed,
    4px 4px 0 rgba(45, 33, 25, 0.12);
}

body.flyer-page h2,
body.flyer-page .section-title {
  color: var(--flyer-red-dark);
}

body.flyer-page p,
body.flyer-page li {
  color: inherit;
}

body.flyer-page .hero-lead,
body.flyer-page .large-copy,
body.flyer-page .section-head p,
body.flyer-page .section-lead,
body.flyer-page .hero-sub {
  color: var(--flyer-ink-soft);
  font-weight: 700;
}

body.flyer-page .eyebrow,
body.flyer-page .label,
body.flyer-page .hero-kicker,
body.flyer-page .section-tag,
body.flyer-page .activity-label,
body.flyer-page .route-label,
body.flyer-page .proof-label,
body.flyer-page .plan-label,
body.flyer-page .media-kind,
body.flyer-page .result-chip,
body.flyer-page .hero-offer-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 0;
  margin-bottom: 14px;
  padding: 5px 13px;
  border: 2px dashed var(--flyer-orange);
  border-radius: 999px;
  background: var(--flyer-yellow);
  color: var(--flyer-ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  transform: rotate(-1deg);
}

body.flyer-page .eyebrow::before,
body.flyer-page .hero-kicker::before {
  content: "";
  inline-size: 10px;
  block-size: 10px;
  border-radius: 999px;
  background: var(--flyer-red);
}

body.flyer-page .button,
body.flyer-page .button-secondary,
body.flyer-page .button-link,
body.flyer-page .cta {
  border: 3px solid var(--flyer-ink);
  border-radius: 8px;
  background: var(--flyer-red);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--flyer-shadow);
}

body.flyer-page .button-secondary,
body.flyer-page .button-link {
  background: var(--flyer-strong);
  color: var(--flyer-ink);
}

body.flyer-page .hero-card,
body.flyer-page .stat,
body.flyer-page .theme-card,
body.flyer-page .feature,
body.flyer-page .entry,
body.flyer-page .archive-item,
body.flyer-page .note,
body.flyer-page .contact-box,
body.flyer-page .panel,
body.flyer-page .route,
body.flyer-page .proof-card,
body.flyer-page .plan,
body.flyer-page .faq-item,
body.flyer-page .principle,
body.flyer-page .media-item,
body.flyer-page .note-card,
body.flyer-page .route-box,
body.flyer-page .rule-card,
body.flyer-page .schedule-row,
body.flyer-page .shelf-link,
body.flyer-page .event-strip article,
body.flyer-page .comment-box,
body.flyer-page .hero-offer,
body.flyer-page .proof-strip,
body.flyer-page .result-card,
body.flyer-page .fit-card,
body.flyer-page .service-card {
  border: 3px solid var(--flyer-ink);
  border-radius: 8px;
  background: var(--flyer-strong);
  color: var(--flyer-ink);
  box-shadow: var(--flyer-shadow);
}

body.flyer-page .hero-card,
body.flyer-page .proof-strip,
body.flyer-page .hero-offer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 249, 237, 0.96)),
    var(--flyer-strong);
}

body.flyer-page .hero-card strong,
body.flyer-page .hero-card p,
body.flyer-page .hero-card ul,
body.flyer-page .hero-card li,
body.flyer-page .hero-card-text,
body.flyer-page .card-title {
  color: var(--flyer-ink);
}

body.flyer-page .hero-card li {
  border-left-color: var(--flyer-yellow);
}

body.flyer-page .hero-card img,
body.flyer-page .scrap-figure img,
body.flyer-page .memory-image img {
  border: 3px solid var(--flyer-ink);
  border-radius: 8px;
  box-shadow: 5px 6px 0 rgba(143, 36, 22, 0.14);
  filter: saturate(1.06) contrast(1.02);
}

body.flyer-page .fact {
  border: 2px dashed var(--flyer-orange);
  border-radius: 8px;
  background: var(--flyer-strong);
  box-shadow: 4px 4px 0 rgba(239, 125, 27, 0.16);
}

body.flyer-page .fact strong,
body.flyer-page .stat strong,
body.flyer-page .proof-num {
  color: var(--flyer-red-dark);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 900;
}

body.flyer-page .section,
body.flyer-page .block {
  border-color: rgba(201, 56, 34, 0.55);
}

body.flyer-page .section + .section,
body.flyer-page .block + .block {
  border-top: 3px dashed rgba(201, 56, 34, 0.55);
}

body.flyer-page .footer,
body.flyer-page .site-footer {
  border-top: 4px solid var(--flyer-ink);
  background: var(--flyer-red-dark);
  color: #fff9ed;
}

body.flyer-page .block-dark {
  background: var(--flyer-red);
  color: #fff9ed;
}

body.flyer-page .principles,
body.flyer-page .note-band {
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 180, 54, 0.22), transparent 20%),
    var(--flyer-red);
  color: #fff9ed;
}

body.flyer-page .block-dark h2,
body.flyer-page .block-dark .section-title,
body.flyer-page .principles h2,
body.flyer-page .principles .section-head p,
body.flyer-page .note-band h2,
body.flyer-page .note-band .section-head p {
  color: #fff9ed;
  text-shadow: none;
}

body.flyer-page .principles .eyebrow,
body.flyer-page .note-band .eyebrow {
  color: var(--flyer-ink);
}

body.flyer-page .principles .principle,
body.flyer-page .note-band .note-box {
  color: var(--flyer-ink);
}

@media (max-width: 720px) {
  body.flyer-page .hero-grid,
  body.flyer-page .gate-card {
    margin-block: 18px;
    border-radius: 16px;
    box-shadow: 0 0 0 5px rgba(255, 249, 237, 0.85), 6px 6px 0 rgba(201, 56, 34, 0.18);
  }

  body.flyer-page .hero-grid::before,
  body.flyer-page .hero-grid::after,
  body.flyer-page .gate-card::before,
  body.flyer-page .gate-card::after {
    font-size: 24px;
  }

  body.flyer-page .brand-mark {
    inline-size: 34px;
    block-size: 34px;
  }
}
