@charset "UTF-8";

/* ==========================================================================
   1. Variables
   ========================================================================== */
.series-lp {
  --theme-bg-base: #F2E1B3;
  --theme-bg-accent-soft: #FBF4DF;
  --theme-bg-subtle: #E7C985;
  --theme-card: #FBF4DF;
  --theme-text: #3B443B;
  --theme-text-sub: #88846A;

  --theme-green-main: #51603F;
  --theme-green-dark: #3B443B;
  --theme-green-soft: #6F7743;
  --theme-brown: #784B32;
  --theme-terracotta: #9D592F;
  --theme-orange: #DD943F;
  --theme-mustard: #D7B55F;
  --theme-blue-soft: #A3BFAB;
  --theme-ivory: #FBF4DF;

  /* series palette */
  --theme-series-color-01: #F2E1B3;
  --theme-series-color-02: #FBF4DF;
  --theme-series-color-03: #E7C985;
  --theme-series-color-04: #51603F;
  --theme-series-color-05: #3B443B;
  --theme-series-color-06: #6F7743;
  --theme-series-color-07: #9D592F;
  --theme-series-color-08: #DD943F;
  --theme-series-color-09: #A3BFAB;

  /* CTA / border / shadow */
  --theme-cta-main: #9D592F;
  --theme-cta-main-hover: #784B32;
  --theme-cta-sub: #A3BFAB;
  --theme-border-soft: rgba(120, 75, 50, 0.32);
  --theme-shadow-soft: rgba(59, 68, 59, 0.12);

  /* series semantic colors */
  --series-color-main: var(--theme-mustard);
  --series-color-accent: var(--theme-terracotta);
  --series-color-accent-hover: var(--theme-brown);
  --series-color-sub: var(--theme-bg-subtle);
  --series-color-bg: var(--theme-bg-base);
  --series-color-white: var(--theme-card);
  --series-color-header: var(--theme-blue-soft);
  --series-color-campaign-bg: var(--theme-bg-accent-soft);
  --series-color-placeholder: var(--theme-bg-subtle);
  --series-color-surface: rgba(251, 244, 223, 0.94);
  --series-color-surface-soft: rgba(231, 201, 133, 0.38);
  --series-color-text: var(--theme-text);
  --series-color-text-sub: var(--theme-text-sub);
  --series-color-heading: var(--theme-green-main);
  --series-color-border: var(--theme-border-soft);
  --series-shadow-soft: 0 6px 16px var(--theme-shadow-soft);
  --series-shadow-card: 0 8px 20px var(--theme-shadow-soft);

  /* font & layout */
  --series-font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --series-width: 760px;
  --series-space-2xs: 4px;
  --series-space-xs: 8px;
  --series-space-sm: 12px;
  --series-space-md: 16px;
  --series-space-lg: 24px;
  --series-space-xl: 32px;
  --series-space-2xl: 48px;
  --series-space-3xl: 64px;
  --series-section-gap: var(--series-space-3xl);
  --series-section-padding-y: var(--series-space-2xl);
  --series-section-padding-x: var(--series-space-lg);
  --series-inner-gap: var(--series-space-xl);
  --series-inner-gap-sm: var(--series-space-lg);
  --series-inner-gap-lg: var(--series-space-2xl);
  --series-radius: 18px;
  --series-radius-sm: 12px;
  --series-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --rf-floating-stack-bottom: calc(74px + var(--series-safe-area-bottom));
  --rf-floating-cta-height: 168px;
  --rf-floating-stack-gap: 12px;
}

/* ==========================================================================
   2. Base / Resets
   ========================================================================== */
.fs-preview-header {
  display: none;
}

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

body {
  overflow-x: hidden;
}

body:has(.series-lp) .fs-l-main,
body:has(.series-lp) .fs-l-page,
body:has(.series-lp) .fs-l-pageMain,
body:has(.series-lp) .fs-c-freeArea,
body:has(.series-lp) .fs-c-freeArea__body {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.series-lp) .fs-c-breadcrumb,
body:has(.series-lp) .fs-c-heading {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.series-lp {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: min(100%, var(--series-width));
  min-height: 100vh;
  margin: 0 auto !important;
  padding: 0 0 104px;
  color: var(--series-color-text);
  font-family: var(--series-font-family);
  font-size: 16px;
  line-height: 1.78;
  text-align: center;
  background: transparent;
  box-sizing: border-box;
  overflow-x: visible;
}

.series-lp::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--series-color-bg);
  background-image: url("https://edinter.itembox.cloud/item/lp/retronforest/img2026/lp-bg.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.series-lp *,
.series-lp *::before,
.series-lp *::after {
  box-sizing: inherit;
  min-width: 0;
}

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

.series-lp a {
  color: inherit;
}

.series-lp ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.series-lp .u-stack {
  display: grid;
}

.series-lp .u-stack--xs {
  gap: var(--series-space-xs);
}

.series-lp .u-stack--sm {
  gap: var(--series-space-sm);
}

.series-lp .u-stack--md {
  gap: var(--series-space-md);
}

.series-lp .u-stack--lg {
  gap: var(--series-space-lg);
}

.series-lp .u-stack--xl {
  gap: var(--series-space-xl);
}

.series-lp .u-stack--2xl {
  gap: var(--series-space-2xl);
}

.series-lp .u-mt-0 {
  margin-top: 0 !important;
}

.series-lp .u-mt-xs {
  margin-top: var(--series-space-xs) !important;
}

.series-lp .u-mt-sm {
  margin-top: var(--series-space-sm) !important;
}

.series-lp .u-mt-md {
  margin-top: var(--series-space-md) !important;
}

.series-lp .u-mt-lg {
  margin-top: var(--series-space-lg) !important;
}

.series-lp .u-mt-xl {
  margin-top: var(--series-space-xl) !important;
}

/* ==========================================================================
   4. Common Components
   ========================================================================== */
.series-lp .lp-heading {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  margin-top: 0;
  color: var(--series-color-heading);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.48;
  letter-spacing: 0;
  transform: none !important;
}

.series-lp .lp-heading--sm {
  font-size: 22px;
}

.series-lp .lp-heading .sub-title {
  display: inline-block;
  position: static !important;
  margin-bottom: 6px;
  color: var(--series-color-accent);
  font-size: 13px;
  font-weight: 900;
  transform: none !important;
}

.series-lp .lp-subheading {
  margin: 0;
  color: var(--series-color-heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.series-lp .lp-lead,
.series-lp .lp-text {
  margin: var(--series-inner-gap-sm) auto 0;
  color: var(--series-color-text-sub);
  line-height: 1.9;
}

.series-lp .lp-lead {
  max-width: 620px;
}

.series-lp .lp-copy {
  margin: 0;
  color: var(--series-color-accent);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.series-lp .lp-button,
.series-lp .lp-fixed-cta__main,
.series-lp .lp-fixed-cta__sub,
.series-lp a.button-cp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: filter 0.2s, background 0.2s;
}

.series-lp .lp-button:hover,
.series-lp .lp-fixed-cta__main:hover,
.series-lp .lp-fixed-cta__sub:hover,
.series-lp a.button-cp:hover {
  outline: none;
  filter: brightness(0.98);
}

.series-lp .lp-button--primary,
.series-lp .lp-fixed-cta__main,
.series-lp a.button-cp {
  color: var(--series-color-white);
  background: var(--series-color-accent);
}

.series-lp .lp-button--primary:hover,
.series-lp .lp-fixed-cta__main:hover,
.series-lp a.button-cp:hover {
  background: var(--series-color-accent-hover);
}

.series-lp .lp-button--secondary,
.series-lp .lp-fixed-cta__sub {
  color: var(--series-color-heading);
  background: var(--series-color-main);
}

.series-lp .lp-button--ghost {
  color: var(--series-color-heading);
  background: var(--series-color-white);
  border-color: var(--series-color-border);
}

.series-lp .lp-badge,
.series-lp .lp-tag,
.series-lp .lp-category__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.25;
}

.series-lp .lp-badge {
  min-height: 26px;
  padding: 4px 12px;
  color: var(--series-color-heading);
  font-size: 12px;
  background: var(--series-color-main);
  border: 1px solid var(--series-color-border);
}

.series-lp .lp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--series-space-xs);
  margin-top: var(--series-inner-gap-sm);
}

.series-lp .lp-tag {
  min-height: 28px;
  padding: 5px var(--series-space-sm);
  color: var(--series-color-heading);
  font-size: 12px;
  background: var(--series-color-sub);
  border: 1px solid var(--series-color-border);
}

/* ==========================================================================
   5. Sections & Layouts
   ========================================================================== */
.series-lp .lp-section {
  width: calc(100% - 8px);
  margin: var(--series-section-gap) 4px 0;
}

.series-lp .lp-section--surface {
  padding: var(--series-section-padding-y) var(--series-section-padding-x);
  background: var(--series-color-surface);
  border: 1px solid var(--series-color-border);
  border-radius: var(--series-radius);
  box-shadow: var(--series-shadow-soft);
  overflow: hidden;
}

.series-lp .lp-inner {
  width: 100%;
  margin: 0 auto;
}

.series-lp .lp-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--series-space-sm);
  margin-top: var(--series-inner-gap);
}

/* --- Header --- */
.series-lp .lp-header {
  position: relative;
  z-index: 80;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 16px 14px 14px;
  background: var(--series-color-header);
  box-shadow: 0 0 0 100vmax var(--series-color-header);
  clip-path: inset(0 -100vmax);
}

.series-lp .lp-header::before {
  content: "";
  display: block;
  width: min(190px, 58vw);
  height: 44px;
  margin: 0 auto 8px;
  background: url("https://edinter.itembox.cloud/item/lp/retronforest/img2026/lp-series-logo.svg") center center / contain no-repeat;
  transition: max-height 0.24s, margin 0.24s, opacity 0.18s, transform 0.24s;
}

.series-lp .lp-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  width: 100%;
  max-width: var(--series-width);
  margin: 0 auto;
}

.series-lp .lp-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  color: var(--series-color-text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* --- Hero --- */
.series-lp .lp-hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 76%, rgba(255, 246, 223, 0.96) 100%), url("https://edinter.itembox.cloud/item/lp/retronforest/img2026/lp-mv-sp.jpg") center top / 100% auto no-repeat, var(--series-color-white);
}

.series-lp .lp-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 244, 223, 0) 0%, rgba(251, 244, 223, 0.72) 46%, var(--series-color-bg) 100%);
}

.series-lp .lp-hero .lp-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  width: min(100%, 430px);
  min-height: 100svh;
  padding: 0 16px max(18px, var(--series-safe-area-bottom));
}

.series-lp .lp-hero__name,
.series-lp .lp-hero .lp-heading,
.series-lp .lp-hero .lp-lead,
.series-lp .lp-hero .lp-badge,
.series-lp .lp-hero .lp-row[aria-label="サブCTA"],
.series-lp .lp-hero__banners {
  display: none;
}

.series-lp .lp-hero__logo {
  width: min(200px, 60vw);
  margin: 0 auto;
}

.series-lp .lp-hero__visual {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.series-lp .lp-hero__cta-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.series-lp .lp-hero__cta-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--series-color-border);
  border-radius: var(--series-radius);
  box-shadow: var(--series-shadow-card);
}

.series-lp .lp-hero__cta-card--campaign {
  background: var(--theme-shadow-soft);
  /* border-color: rgba(255, 255, 255, 0.7); */
}

.series-lp .lp-hero__cta-card--product {
  display: none;
  background: var(--theme-shadow-soft);
}

.series-lp .lp-hero__campaign-image,
.series-lp .lp-hero__product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.series-lp .lp-hero__product-image {
  background: var(--series-color-placeholder);
  /* border: 1px dashed var(--series-color-border); */
}

/* --- Banners --- */
.series-lp .lp-hero-banner {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--series-color-border);
  border-radius: var(--series-radius-sm);
}

.series-lp .lp-hero-banner--campaign {
  background: var(--series-color-campaign-bg);
}

.series-lp .lp-hero-banner--product {
  background: var(--series-color-white);
}

.series-lp .lp-hero-banner__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}

.series-lp .lp-hero-banner__label {
  color: var(--series-color-accent);
  font-size: 11px;
  font-weight: 900;
}

.series-lp .lp-hero-banner__title {
  color: var(--series-color-heading);
  font-weight: 900;
}

.series-lp .lp-hero-banner__text {
  margin-top: 4px;
  color: var(--series-color-text-sub);
  font-size: 13px;
}

/* --- Pick Up / Line Up --- */
#series-pickup {
  background: linear-gradient(180deg, var(--theme-bg-accent-soft), var(--series-color-surface-soft));
}

#series-guide-area {
  background: linear-gradient(180deg, var(--theme-bg-subtle), var(--series-color-surface));
}

.series-lp .lp-series-area__inner {
  display: grid;
  gap: var(--series-space-3xl);
}

.series-lp .lp-series-block,
.series-lp .rf-lp,
.series-lp .lp-review {
  display: block;
  position: relative;
  inset: auto;
  z-index: 1;
  clear: both;
  transform: none;
}

.series-lp .lp-pickup {
  display: grid;
  gap: var(--series-inner-gap-lg);
}

.series-lp .lp-pickup__header {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  clear: both;
  margin: 0 0 calc(var(--series-space-xl) + var(--series-space-xs)) !important;
  padding: 0 0 var(--series-space-sm);
  text-align: center;
  transform: none !important;
}

.series-lp .lp-pickup__section {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--series-inner-gap);
}

.series-lp .lp-pickup__header + .lp-pickup__section {
  margin-top: var(--series-space-sm);
}

.series-lp .lp-pickup__main {
  display: grid;
  gap: var(--series-inner-gap);
  align-items: center;
}

.series-lp .lp-pickup__media img {
  width: min(100%, 430px);
  margin: 0 auto;
}

.series-lp .lp-pickup__body {
  display: grid;
  gap: var(--series-space-sm);
  text-align: left;
}

.lp-campaign-mini {
  margin-top: var(--series-space-3xl);
}

.series-lp .lp-summary-image img,
.series-lp .lp-campaign-mini__card img {
  width: 100%;
}

/* --- Review Slider --- */
.series-lp .lp-slider {
  position: relative;
  margin-top: var(--series-inner-gap-sm);
}

.series-lp .lp-review__slider .lp-review__grid {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px 0 16px;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.series-lp .lp-review__slider .lp-review__grid::-webkit-scrollbar {
  height: 8px;
}

.series-lp .lp-review__slider .lp-review__grid::-webkit-scrollbar-thumb {
  background: var(--series-color-border);
  border-radius: 999px;
}

.series-lp .lp-review__slider .lp-review__card {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.series-lp .lp-review__card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  text-align: left;
  background: var(--series-color-surface);
  border: 1px solid var(--series-color-border);
  border-radius: var(--series-radius-sm);
  box-shadow: var(--series-shadow-soft);
}

.series-lp .lp-review__icon {
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--series-color-sub);
  border-radius: 999px;
}

.series-lp .lp-review__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-lp .lp-review__title {
  color: var(--series-color-heading);
  font-weight: 900;
}

.series-lp .lp-review__text {
  grid-column: 1 / -1;
  margin-top: 6px;
  color: var(--series-color-text-sub);
  font-size: 13px;
  line-height: 1.7;
}

.series-lp .lp-review__tag {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--series-color-accent);
  font-size: 12px;
  font-weight: 900;
}

.series-lp .lp-slider__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--series-color-white);
  background: var(--theme-text);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--theme-shadow-soft);
  cursor: pointer;
  transform: translateY(-50%);
}

.series-lp .lp-slider__button:disabled,
.series-lp .lp-slider__button.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.series-lp .lp-slider__button--prev {
  left: 4px;
}

.series-lp .lp-slider__button--next {
  right: 4px;
  background: var(--series-color-accent);
}

.series-lp .lp-slider__icon {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-3px);
}

/* --- Line Up Cards --- */
.series-lp .lp-category-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--series-space-sm);
}

.series-lp .lp-category-product {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--series-space-xs);
  padding: var(--series-space-xs);
  background: var(--series-color-white);
}

.series-lp .lp-category-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--series-color-main);
  border-radius: 12px;
}

.series-lp .lp-product__title {
  margin: 0;
  color: var(--series-color-heading);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  min-height: 4.5em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.series-lp .lp-product__body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  flex-grow: 1;
  gap: 12px;
  padding: 8px 4px;
}

.series-lp .lp-product__text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 5.4em;
  margin: 0;
  color: var(--series-color-text);
  line-height: 1.8;
  text-align: center;
}

.series-lp .lp-product__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8em;
  color: var(--series-color-text);
}

.series-lp .lp-product__body .lp-tags {
  align-self: start;
  min-height: 68px;
  margin-top: 0;
}

.series-lp .lp-product__body .lp-button {
  align-self: end;
  margin-top: 0;
  width: 100%;
}

/* --- Campaign Details --- */
.series-lp .cp-detail {
  color: var(--series-color-text);
  text-align: center;
}

.series-lp .cp-detail h1 {
  margin: 0 0 var(--series-space-lg);
  color: var(--series-color-heading);
  font-size: 24px;
  line-height: 1.5;
}

.series-lp .cp-detail h2 {
  margin: 0 0 var(--series-space-lg);
  color: var(--series-color-heading);
  font-size: 24px;
  line-height: 1.5;
}

.series-lp .cp-detail .sub-title {
  color: var(--series-color-accent);
  font-size: 13px;
  font-weight: 900;
}

.series-lp .cp-detail h3 {
  margin: 0 0 var(--series-space-sm);
  color: var(--series-color-heading);
  font-size: 18px;
  line-height: 1.6;
}

.series-lp .cp-detail p {
  margin: var(--series-space-sm) 0 0;
  line-height: 1.85;
}

.series-lp .cp-detail ul {
  display: grid;
  gap: var(--series-space-xs);
  margin: var(--series-space-sm) 0 0;
}

.series-lp .cp-detail li {
  display: list-item;
  margin-left: 1.2em;
  line-height: 1.7;
}

.series-lp .cp-overview,
.series-lp .cp-apply,
.series-lp .cp-condition,
.series-lp .cp-winning,
.series-lp .cp-notice {
  margin-top: var(--series-inner-gap);
  padding: var(--series-space-lg) var(--series-space-xs);
  background: var(--series-color-white);
  /* border: 1px solid var(--series-color-border); */
  border-radius: var(--series-radius);
}

.series-lp .cp-img-01 {
  width: min(100%, 430px);
  margin: var(--series-space-md) auto;
}

.series-lp .cv-btn {
  margin-top: var(--series-space-md);
}

.series-lp .present-cp-howto-step-title strong,
.series-lp .apply-comment span,
.series-lp .cp-winning span {
  color: var(--series-color-accent);
}

.series-lp .winning-comment,
.series-lp .cp-notice .box {
  margin-top: var(--series-space-sm);
  padding: var(--series-space-md);
  text-align: left;
  background: var(--series-color-surface-soft);
  border-radius: var(--series-radius-sm);
}

/* --- Fixed / Floating Actions --- */
.series-lp .lp-page-top {
  position: fixed;
  right: 16px;
  bottom: calc(12px + var(--series-safe-area-bottom) + 72px);
  z-index: 80;
  display: inline-flex;
  width: 72px;
  height: 72px;
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
}

.series-lp.js-series-lp-ready .lp-page-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.series-lp.js-series-lp-ready .lp-page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.series-lp .lp-fixed-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + var(--series-safe-area-bottom));
  left: 12px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100% - 24px, 520px);
  margin: 0 auto;
}

.series-lp.js-series-lp-ready .lp-fixed-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.22s, transform 0.22s;
}

.series-lp.js-series-lp-ready .lp-fixed-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ==========================================================================
   6. retron forest Specific (.rf-)
   ========================================================================== */

/* --- Storybook --- */
.rf-storybook-wrapper {
  position: relative;
  width: calc(100% - 8px);
  max-width: var(--series-width);
  margin: var(--series-section-gap) auto 0;
  padding: 0 4px;
}

.rf-storybook {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #FBF4DF;
  border: 4px solid #D7B55F;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(59, 68, 59, 0.18);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.rf-storybook::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 -42px 62px rgba(59, 68, 59, 0.12);
}

.rf-storybook__page {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px) scale(0.992);
  transition: opacity 0.38s ease, transform 0.42s ease;
}

.rf-storybook__page.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.rf-storybook.is-turning-next .rf-storybook__page.is-active {
  animation: rfPageTurnNext 0.48s ease both;
}

.rf-storybook.is-turning-prev .rf-storybook__page.is-active {
  animation: rfPageTurnPrev 0.48s ease both;
}

.rf-storybook__img-wrap {
  width: 100%;
  height: 100%;
}

.rf-storybook__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rf-storybook__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 72px 28px 30px;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(to top, rgba(251, 244, 223, 0.96) 0%, rgba(251, 244, 223, 0.82) 58%, rgba(251, 244, 223, 0) 100%);
}

.rf-storybook__text {
  max-width: 620px;
  margin: 0 auto;
  color: #3B443B;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.8;
  text-shadow: 0 1px 0 rgba(251, 244, 223, 0.7);
  opacity: 0;
  transform: translateY(12px);
}

.rf-storybook__page.is-active .rf-storybook__text {
  animation: rfSubtleFadeInUp 0.82s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.16s;
}

.rf-storybook__tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  width: 34%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rf-storybook__tap-zone--prev {
  left: 0;
  padding-left: 12px;
  justify-content: flex-start;
}

.rf-storybook__tap-zone--next {
  right: 0;
  padding-right: 12px;
  justify-content: flex-end;
}

.rf-storybook__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #FBF4DF;
  font-size: 34px;
  font-weight: 700;
  background: rgba(59, 68, 59, 0.36);
  border-radius: 999px;
  opacity: 0.82;
  transition: opacity 0.22s, transform 0.22s, background 0.22s;
}

.rf-storybook__corner {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 13;
  width: 36px;
  /* 72pxから36pxへ半分に縮小 */
  height: 36px;
  /* 72pxから36pxへ半分に縮小 */
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 48%, #F8E9BE 49%, #D7B55F 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  filter: drop-shadow(-3px -3px 4px rgba(59, 68, 59, 0.1));
}

  /* transform- .rf-storybook__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0;
  } */

.rf-storybook__dots { 
  display: flex !important; 
  flex-direction: row !important; /* 強制的に横並びにする */
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center; /* 縦の中心を揃える */
  gap: 9px; 
  width: 100%; /* 横幅を100%にして折り返しを防ぐ */
  margin: 14px auto 0; 
}

  .rf-storybook__dot {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    background: #E7C985;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.22s, background 0.22s, transform 0.22s;
  }

  .rf-storybook__dot.is-active {
    width: 24px;
    background: #9D592F;
  }

  .rf-storybook__live {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  /* --- Dictionary Cards --- */
  .rf-section.rf-dictionary {
    display: block;
    position: relative;
    padding: 48px 16px;
    background: #E7C985;
  }

  .rf-inner {
    display: block;
    position: relative;
  }

  .rf-dictionary__header {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    text-align: center;
    margin: 0 0 32px !important;
    transform: none !important;
  }

  .rf-dictionary__title {
    position: static !important;
    font-size: 26px;
    font-weight: 900;
    color: #3B443B;
    margin: 0 0 8px;
    transform: none !important;
  }

  .rf-dictionary__sub {
    position: static !important;
    font-size: 15px;
    color: #784B32;
    font-weight: 700;
    margin: 0;
    transform: none !important;
  }

  .rf-friend-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 24px;
  }

  .rf-friend-card {
    perspective: 1000px;
    width: 100%;
    height: 100%;
  }

  .rf-friend-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  .rf-friend-card.is-flipped .rf-friend-card__inner {
    transform: rotateY(180deg);
  }

  .rf-friend-card__face {
    grid-area: 1 / 1;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(59, 68, 59, 0.12);
  }

  .rf-friend-card__face--front {
    background: #FBF4DF;
    border: 2px solid #E7C985;
  }

  .rf-friend-card__face--back {
    background: #F2E1B3;
    border: 2px solid #9D592F;
    transform: rotateY(180deg);
  }

  .rf-friend__no {
    font-size: 12px;
    font-weight: 900;
    color: #784B32;
    text-align: center;
    margin: 0 0 4px;
  }


  .rf-friend__motif {
    font-size: 14px;
    font-weight: 900;
    color: #51603F;
    margin: 0;
    text-align: center;
    line-height: 1.2;
  }

  .rf-friend__name {
    font-size: 24px;
    font-weight: 900;
    color: #3B443B;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.2;
  }

  .rf-friend__kana {
    display: block;
    margin-top: 4px;
    color: #9D592F;
    font-size: 13px;
  }

  .rf-friend__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
  }

  .rf-friend__img {
    width: 90%;
    height: auto;
  }

  .rf-friend__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #3B443B;
    margin: 0 0 16px;
  }

  .rf-friend__profile {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 12px;
    flex-grow: 1;
  }

  .rf-friend__profile dt {
    font-size: 12px;
    font-weight: 900;
    color: #9D592F;
  }

  .rf-friend__profile dd {
    font-size: 13px;
    font-weight: 700;
    color: #3B443B;
    margin: 0 0 8px 0;
  }

  .rf-friend__hint {
    font-size: 12px;
    font-weight: 900;
    color: #9D592F;
    text-align: center;
    margin: auto 0 0;
    padding-top: 12px;
  }

  .rf-friend__back-title {
    font-size: 18px;
    font-weight: 900;
    color: #3B443B;
    text-align: center;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #D7B55F;
  }

  .rf-friend__product-img-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 12px;
    background: #fff;
  }

  .rf-friend__product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .rf-friend__product-name {
    margin: 0 0 8px;
    color: #3B443B;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
    text-align: center;
  }

  .rf-friend__product-desc {
    margin: 0 0 14px;
    color: #3B443B;
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
  }

  .rf-friend__skills-title {
    margin: 0 0 8px;
    color: #9D592F;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
  }

  .rf-friend__skills {
    margin: 0 0 20px;
    flex-grow: 1;
  }

  .rf-friend__skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rf-friend__skills li {
    font-size: 11px;
    font-weight: 700;
    color: #51603F;
    background: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #A3BFAB;
  }

  .rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    color: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s, filter 0.2s;
  }

  .rf-btn--product {
    color: #FBF4DF;
    background: #9D592F;
  }

  .rf-btn--product:hover {
    background: #784B32;
    filter: brightness(0.98);
  }

  /* --- Floating CTA --- */
  .rf-floating-cta {
    position: fixed;
    right: 16px;
    bottom: calc(12px + var(--series-safe-area-bottom) + 132px);
    z-index: 90;
    width: 72px;
    height: 76px;
    text-decoration: none;
    transition: opacity 0.22s, transform 0.22s;
  }

  .series-lp.js-series-lp-ready .rf-floating-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
  }

  .series-lp.js-series-lp-ready .rf-floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rf-floating-cta__character {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    width: 64px;
    transform: translateX(-50%);
    animation: rf-character-slide 2.8s ease-in-out infinite;
  }

  /* ↓↓↓ ここから下の4つの指定が抜け落ちていました！追加してください ↓↓↓ */
  .rf-floating-cta__text {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.32;
  }

  .rf-floating-cta__image {
    display: block;
    width: 35px;
    margin: 2px auto 0;
  }

  .rf-floating-cta__image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .rf-floating-cta__arrow {
    display: block;
    margin-top: 1px;
    font-size: 10px;
  }

  /* Animations */
  @keyframes rfSubtleFadeInUp {
    0% {
      opacity: 0;
      transform: translateY(12px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes rfPageTurnNext {
    0% {
      opacity: 0.35;
      transform: translateX(18px) scale(0.992) rotateY(-5deg);
    }

    100% {
      opacity: 1;
      transform: translateX(0) scale(1) rotateY(0);
    }
  }

  @keyframes rfPageTurnPrev {
    0% {
      opacity: 0.35;
      transform: translateX(-18px) scale(0.992) rotateY(5deg);
    }

    100% {
      opacity: 1;
      transform: translateX(0) scale(1) rotateY(0);
    }
  }

  @keyframes rf-character-slide {

    0%,
    50%,
    100% {
      transform: translateX(-50%);
    }

    25% {
      transform: translateX(calc(-50% - 8px));
    }

    75% {
      transform: translateX(calc(-50% + 8px));
    }
  }

  /* ==========================================================================
   7. Media Queries
   ========================================================================== */
  @media (prefers-reduced-motion: no-preference) {
    .series-lp.js-series-lp-ready [data-series-reveal] {
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .series-lp.js-series-lp-ready [data-series-reveal].is-visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .rf-storybook__page,
    .rf-storybook__arrow,
    .rf-storybook__corner,
    .rf-storybook__dot {
      transition: none;
    }

    .rf-storybook.is-turning-next .rf-storybook__page.is-active,
    .rf-storybook.is-turning-prev .rf-storybook__page.is-active,
    .rf-storybook__page.is-active .rf-storybook__text {
      animation: none;
    }

    .rf-storybook__page.is-active .rf-storybook__text {
      opacity: 1;
      transform: none;
    }
  }

  @media (max-width: 559px) {
    .series-lp {
      --series-section-gap: var(--series-space-2xl);
      --series-section-padding-y: calc(var(--series-space-xl) + var(--series-space-xs));
      --series-section-padding-x: var(--series-space-xs);
      width: 100%;
    }

    .series-lp .lp-nav__link.is-sp-hidden {
      display: none;
    }

    .series-lp .lp-nav__link--sp-1 {
      order: 1;
    }

    .series-lp .lp-nav__link--sp-2 {
      order: 2;
    }

    .series-lp .lp-nav__link--sp-3 {
      order: 3;
    }

    .series-lp .lp-heading {
      font-size: 24px;
    }

    .series-lp .lp-heading--sm {
      font-size: 21px;
    }

    .series-lp .lp-button {
      width: 100%;
    }

    .series-lp .lp-fixed-cta .lp-fixed-cta__main,
    .series-lp .lp-fixed-cta .lp-fixed-cta__sub {
      min-height: 42px;
      padding: 10px 12px;
      font-size: 14px;
    }

    .series-lp .lp-hero .lp-inner {
      align-content: start;
      padding-bottom: max(24px, var(--series-safe-area-bottom));
    }

    .series-lp .lp-hero .lp-row[aria-label="メインCTA"] {
      margin-top: 46svh;
    }

    .series-lp .lp-hero__visual {
      position: absolute;
      width: 1px;
      height: 1px;
      clip: rect(0 0 0 0);
    }

    .rf-storybook__caption {
      padding: 50px 14px 18px;
    }

    .rf-storybook__text {
      font-size: 13px;
      line-height: 1.65;
    }
  }

  @media (min-width: 560px) {
    .series-lp {
      --series-section-gap: var(--series-space-3xl);
      --series-section-padding-y: var(--series-space-3xl);
      --series-section-padding-x: calc(var(--series-space-xl) + var(--series-space-2xs));
      padding-top: 110px;
    }

    .series-lp .lp-header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 1000;
      width: auto;
      padding: 14px 20px;
      box-shadow: none;
      clip-path: none;
    }

    .series-lp.is-header-compact .lp-header {
      padding-top: 10px;
      padding-bottom: 10px;
    }

    .series-lp .lp-hero {
      display: block;
      padding-bottom: 32px;
      min-height: 0;
      background: transparent;
    }

    .series-lp .lp-hero .lp-inner {
      width: min(100%, var(--series-width));
      padding: 0;
      display: flex;
      flex-direction: column;
    }

    .series-lp .lp-hero .lp-row[aria-label="メインCTA"] {
      order: 2;
      margin: 24px auto 0;
    }

    .series-lp .lp-hero__visual {
      order: 1;
    }

    .series-lp .lp-hero__cta-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .series-lp .lp-hero__cta-card--product {
      display: flex;
    }

    .series-lp .lp-pickup__main {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .series-lp .lp-review__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .series-lp .lp-category-product-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .series-lp .lp-fixed-cta {
      right: 24px;
      bottom: calc(24px + var(--series-safe-area-bottom));
      left: auto;
      width: 440px;
    }

    .rf-friend-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 720px) {
    .series-lp .lp-product__card {
      flex-basis: calc((100% - 44px) / 3);
      max-width: calc((100% - 44px) / 3);
    }
  }
