/* Shared page chrome: hero / marquee / CTA */
:root {
  --page-max: 1005px;
  --page-max2: 1100px;
}

/* ── page hero ── */
.page-hero {
  position: relative;
  overflow: hidden;

  background: linear-gradient(to bottom, #fff7d8, #ffffff);

  min-height: 497px;
  display: flex;
  padding-right: 20px;
  padding-left: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  top: 0;
  pointer-events: none;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.page-hero__eyebrow {
  margin: 0 0 0 2px;
  position: relative;
  background: var(--c-white);
  border: 2px solid var(--c-ink);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1.4;
}

.page-hero__eyebrow::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--c-white);
}

.page-hero__eyebrow::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: calc(50% - 2px);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--c-ink);
}

.page-hero__title {
  margin: 0;
  background: var(--c-white);
  border: 2px solid var(--c-ink);
  padding: 6px 12px 10px 12px;
  font-size: clamp(32px, 5vw, 53px);
  font-weight: 900;
  border-radius: 6px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  line-height: 1.2;
}

@media (max-width: 1023px) {
  .page-hero {
    min-height: 280px;
  }

  .page-hero__eyebrow {
    font-size: 13px;
  }

  .page-hero__title {
    padding: 12px 24px;
    font-size: clamp(20px, 4vw, 28px);

  }
}

.marquee {
  overflow: hidden;
  background: var(--c-black);
  color: var(--c-white);
  padding: 2px 0 4px 0;
  line-height: 1;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: page-marquee 66s linear infinite;
}

.marquee__track span {
  font-family: var(--font-en);
  font-size: clamp(22px, 3.5vw, 29px);
  font-weight: 700;
  padding: 0 32px;
  letter-spacing: .04em;
}

@keyframes page-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cta {
  position: relative;
  color: var(--c-white);
  min-height: 417px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cta:after {
  display: block;
  background: var(--c-black);
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100%;
  left: 0;
  opacity: 0.08;

}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 48px 20px;
  padding-right: 180px;
  min-height: 417px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta__lead {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 29px);
  font-weight: 700;
  line-height: 1.4;
}

.cta__title {
  display: inline-block;
  font-family: "Arial Black", "Arial", sans-serif;
  font-size: clamp(40px, 7vw, 79px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cta__title:hover {
  opacity: 0.9;
}

.cta__badge {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  display: block;
  transition: opacity 0.2s;
}

.cta__badge:hover {
  opacity: 0.85;
}

/* cta-ring: 文字リング回転 + 中央アイコン固定 */
.cta__ring {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.cta__ring-text {
  display: block;
  width: 100%;
  height: 100%;
  animation: cta-ring-spin 12s linear infinite;
}

.cta__ring-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 79%;
  height: 79%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes cta-ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__ring-text {
    animation: none;
  }
}

.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 20px;
}

.section__heading {
  margin: 0 0 32px;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 1023px) {
  .cta__inner {
    padding-right: 20px;
    text-align: center;
    align-items: center;
  }

  .cta__badge {
    position: static;
    transform: none;
    margin: 24px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}