.rfm-marquee-container {
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
  position: relative;
  width: var(--width);
  transform: var(--transform);
}

.rfm-marquee-container:hover div {
  animation-play-state: var(--pause-on-hover);
}

.rfm-marquee-container:active div {
  animation-play-state: var(--pause-on-click);
}

.rfm-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}

.rfm-overlay::before,
.rfm-overlay::after {
  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));
  content: "";
  height: 100%;
  position: absolute;
  width: var(--gradient-width);
  z-index: 2;
  pointer-events: none;
  touch-action: none;
}

.rfm-overlay::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.rfm-overlay::before {
  left: 0;
  top: 0;
}

.rfm-marquee {
  flex: 0 0 auto;
  min-width: var(--min-width);
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.rfm-initial-child-container {
  flex: 0 0 auto;
  display: flex;
  min-width: auto;
  flex-direction: row;
  align-items: center;
}

.rfm-child {
  transform: var(--transform);
}

.advertorial-label {
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1f4f52;
}

.brand-logo-link img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .brand-logo-link img {
    width: 80px;
    height: 80px;
  }

  .brand-logo-text {
    font-size: 28px;
  }

  .advertorial-label {
    font-size: 16px;
  }
}

.legal-page h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #1f4f52;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #8ac5f3;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.65;
  color: #222;
}

.legal-page ul {
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page a {
  color: #000fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .legal-page h1 {
    font-size: 36px;
  }

  .legal-page h2 {
    font-size: 26px;
  }
}
