/* ============================================================
   RESET & BASE
============================================================ */
html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
}

body {
  font-family: 'M PLUS 2', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}


/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Colors */
  --clr-brown: #473710;
  --clr-teal: #22b7a9;
  --clr-teal-dark: #12756e;
  --clr-yellow: #ffe139;
  --clr-amber: #ffaf02;
  --clr-orange: #f68424;
  --clr-gray: #a19c90;
  --clr-cream: #fffdf0;
  --clr-offwhite: #f5f5f5;

  /* Font stacks */
  --ff-display: 'M PLUS 2', sans-serif;
  --ff-body: 'Noto Sans JP', sans-serif;
  --ff-numeric: 'Poppins', 'Noto Sans JP', sans-serif;
  --ff-poppins: 'Poppins', sans-serif;

  /* Easing */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shape */
  --radius-card: 16px;
}


/* ============================================================
   PAGE WRAPPER
   Teal background – cream sections sit on top inside
============================================================ */
.page {
  position: relative;
  background-color: #1fca9f;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2370e3c4' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ============================================================
   BACKGROUND DECORATIONS
   All fixed-position within the viewport
============================================================ */

.bg-wave {
  position: fixed;
  left: 0;
  top: 8.6rem;
  width: 100vw;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.bg-wave img {
  width: 100%;
  height: auto;
  display: block;
}

.bg-wave--flip {
  transform: scaleY(-1) rotate(180deg);
}

.deco-circle {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.deco-circle img {
  width: 100%;
  height: 100%;
}

/* Positions match Figma (1440px canvas) */
.deco-c1 {
  right: -90px;
  top: -53px;
  width: 317px;
  height: 317px;
}

.deco-c2 {
  right: 56px;
  top: 90px;
  width: 233px;
  height: 233px;
}

.deco-c3 {
  left: -48px;
  top: 577px;
  width: 233px;
  height: 233px;
}

.deco-c4 {
  left: -215px;
  top: 711px;
  width: 480px;
  height: 480px;
}

/* Dot patterns — SVG tile, repeat-y */
.deco-dots {
  position: fixed;
  width: 201.96px;
  height: 120.81px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-image: url('../assets/images/dots-row1.svg');
  background-repeat: repeat-y;
  background-size: 201.96px 26.40px;
  background-position: top left;
}

.deco-dots--left {
  left: -44px;
  top: 856px;
}

.deco-dots-right {
  position: fixed;
  right: -45px;
  top: 583px;
  width: 202px;
  height: 121px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-dots-right img {
  width: 100%;
  height: 100%;
}


/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 51px;

}

.hero-logo {
  width: 395px;
  height: 97px;
  position: relative;
  flex-shrink: 0;
}

.hero-logo__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-logo__inner img {
  position: absolute;
  width: 100%;
  height: 153.03%;
  left: 0.03%;
  top: -27.61%;
  max-width: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  flex-shrink: 0;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 16px;
  flex-shrink: 0;
}

.hero-badge {
  background: linear-gradient(to bottom, var(--clr-yellow), var(--clr-amber));
  border-radius: 0;
  padding: 10px 52px 14px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 28.5px;
  line-height: 1.14;
  color: var(--clr-brown);
  text-align: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  margin-bottom: -16px;
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 20px) 50%, 100% 100%, 0% 100%, 20px 50%);
  filter: drop-shadow(0 4px 0 rgba(71, 55, 16, 0.25));
}

.hero-title-img {
  width: 643.5px;
  flex-shrink: 0;
  z-index: 10;
}

.hero-title-img>img {
  width: 100%;
  height: auto;
}


/* Title layers — stacked SVGs */
.title-layers {
  position: relative;
  width: 100%;
  aspect-ratio: 642.99 / 373.48;
}

.title-layer {
  position: absolute;
  height: auto;
}

.title-layer--text {
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.title-layer--balloon {
  top: 50px;
  left: 50px;
  width: 76.2%;
  animation: balloon-bounce 0.65s var(--ease-bounce) 0.4s both;
}

.title-layer--light {
  top: 40px;
  left: 77%;
  width: 17.6%;
  opacity: 0;
  animation: light-appear 0.25s ease-out 0.7s forwards, light-pulse 0.5s ease-in-out 1.0s 2;
}

@keyframes balloon-bounce {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  55% {
    transform: translateY(-10px);
    opacity: 1;
  }

  75% {
    transform: translateY(5px);
  }

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

@keyframes light-appear {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  60% {
    opacity: 1;
    transform: scale(1.1);
  }

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

@keyframes light-pulse {

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

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}


/* ============================================================
   CAMPAIGN INFO
============================================================ */
.campaign-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.campaign-label {
  background-color: var(--clr-offwhite);
  border-radius: 6px;
  padding: 8px 16px 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.14;
  color: var(--clr-teal);
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
}

.campaign-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.campaign-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 700;
  position: relative;
}

.campaign-main-text {
  white-space: nowrap;
  line-height: 0;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.t-white {
  color: #f5f5f5;
}

.t-yellow {
  color: var(--clr-yellow);
}

.t-28 {
  font-size: 28.5px;
  line-height: 1.6;
}

.t-46 {
  font-size: 46.5px;
  line-height: 1.14;
}

/* "100 AI credits" slide-up animation */
@keyframes credit-slide-up {
  0% {
    transform: translateY(110%);
  }

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

.credit-pop-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.credit-pop-wrap .t-yellow {
  display: inline-block;
  animation: credit-slide-up 0.55s var(--ease-bounce) both;
}

.credit-pop-wrap .t-46 {
  animation-delay: 0.7s;
}

.credit-pop-wrap .t-28 {
  animation-delay: 0.85s;
}

.campaign-period {
  font-size: 20.5px;
  line-height: 1.14;
  color: var(--clr-brown);
  font-family: var(--ff-display);
  font-weight: 700;
}

.campaign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12.667px;
  padding: 30px 38px;
  background: linear-gradient(to bottom, var(--clr-yellow), var(--clr-amber));
  border: 4px solid var(--clr-brown);
  border-radius: 63.333px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 28.5px;
  line-height: 1;
  color: var(--clr-brown);
  white-space: nowrap;
  cursor: pointer;
  transition: translate 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
  box-shadow: 0 6px 0 var(--clr-brown);
}

.campaign-btn:hover {
  translate: 0 5px;
  box-shadow: 0 1px 0 var(--clr-brown);
  filter: brightness(0.95);
}

.campaign-btn:active {
  translate: 0 6px;
  box-shadow: 0 0px 0 var(--clr-brown);
  filter: brightness(0.90);
}

a.hero-detail-link {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.hero-detail-link:hover {
  color: #ffffff;
}

a.hero-detail-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 2px;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 26px;
  flex-shrink: 0;
}

.btn-arrow svg {
  width: 10px;
  height: 18px;
}


/* ============================================================
   CREAM WRAPPER
============================================================ */
.cream-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Cream section background shape */
.union-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -167px;
  width: 100vw;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.union-bg img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   THANK YOU SECTION
============================================================ */
.thankyou-section {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.thankyou-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.thankyou-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 600px;
}

.thankyou-heading {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 52.5px;
  line-height: 1.64;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

.thankyou-desc {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.64;
  color: var(--clr-brown);
  letter-spacing: 0.231px;
  width: 100%;
  text-align: left;
}

.ai-character {
  width: 273px;
  height: 273px;
  flex-shrink: 0;
}

.ai-character svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@keyframes star-twinkle {

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

  50% {
    transform: scale(0.6);
    opacity: 0.3;
  }
}

.ai-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: star-twinkle 2.2s ease-in-out infinite;
}

/* Offset timing for natural feel */
.ai-star--2 {
  animation-duration: 1.7s;
  animation-delay: 0.6s;
}

.future-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 50px;
}

.future-heading {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 52.5px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.future-heading p {
  line-height: 1.47;
}

.future-desc {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.64;
  color: var(--clr-brown);
  letter-spacing: 0.231px;
  width: 600px;
  text-align: left;
}

.future-desc p {
  margin-bottom: 0;
}


/* ============================================================
   STEPS SECTION
============================================================ */
section.steps-section {
  padding: 40px 74px 100px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.steps-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.steps-title {
  font-family: var(--ff-numeric);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.64;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.504px;
  white-space: nowrap;
}

.steps-grid {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
}

/* Step arrow between cards */
.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

/* Step card bounce-in animation */
@keyframes card-bounce-up {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }

  55% {
    transform: translateY(-10px);
    opacity: 1;
  }

  75% {
    transform: translateY(5px);
  }

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

.step-card {
  opacity: 0;
  transform: translateY(60px);
}

.step-card.is-visible {
  animation: card-bounce-up 0.6s var(--ease-bounce) both;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num-badge {
  width: 40px;
  height: 40px;
  background-color: var(--clr-amber);
  border-radius: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.step-num-badge span {
  font-family: var(--ff-poppins);
  font-weight: 800;
  font-style: normal;
  font-size: 28px;
  line-height: 1.64;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.392px;
  display: block;
  width: 100%;
}

.step-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.64;
  color: var(--clr-teal);
  letter-spacing: 0.392px;
  white-space: nowrap;
}

.step-desc {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-brown);
  letter-spacing: 0.28px;
}

.step-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  border-radius: var(--radius-card);
  width: 100%;
  line-height: 0;
}

.step-reward--credit {
  background-color: var(--clr-cream);
}

.reward-num {
  font-family: var(--ff-numeric);
  font-weight: 800;
  font-size: 37.5px;
  line-height: 1.62;
  color: var(--clr-orange);
  letter-spacing: 0.245px;
}

.reward-label {
  font-family: var(--ff-numeric);
  font-weight: 800;
  font-size: 17.5px;
  line-height: 1.64;
  color: var(--clr-orange);
  letter-spacing: 0.245px;
  padding-left: 8px;
}

.step-reward--optional {
  background-color: var(--clr-offwhite);
  height: 77px;
  padding: 8px 40px;
}

.reward-optional {
  font-family: var(--ff-numeric);
  font-weight: 800;
  font-size: 25.5px;
  line-height: 1.62;
  color: var(--clr-gray);
  letter-spacing: 0.357px;
  text-align: center;
  white-space: nowrap;
}

a.step-link {
  font-family: var(--ff-numeric);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.64;
  color: var(--clr-orange);
  text-align: center;
  letter-spacing: 0.252px;
  text-decoration: underline;
  display: block;
}

a.step-link:hover {
  opacity: 0.8;
}


/* ============================================================
   SECTION EYEBROW
============================================================ */
p.section-eyebrow {
  font-family: var(--ff-poppins);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: -8px;
}

p.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.9);
}


/* ============================================================
   CAMPAIGNS DETAIL SECTION
============================================================ */
section.campaigns-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--clr-cream);
  padding: 80px 74px 100px;
  width: 100%;
}

/* Notebook grid overlay */
.campaigns-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 121, 12, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 121, 12, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.campaigns-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.campaigns-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.campaigns-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.3;
  color: var(--clr-brown);
  text-align: center;
}

.campaigns-title__highlight {
  color: var(--clr-orange);
}

.campaigns-intro {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
  color: var(--clr-brown);
  max-width: 640px;
}

.campaigns-period {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--clr-brown);
  background: #fff;
  border: 2px solid var(--clr-amber);
  border-radius: 8px;
  padding: 8px 24px;
}

.campaign-steps-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: 960px;
}

.campaign-detail-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.campaign-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-step-sub {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--clr-orange);
  letter-spacing: 0.02em;
}

.campaign-detail-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.5;
  color: var(--clr-teal);
  letter-spacing: 0.02em;
}

.campaign-detail-desc {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-brown);
}

.campaign-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.campaign-items-list li {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--clr-brown);
  padding-left: 1.2em;
  position: relative;
}

.campaign-items-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--clr-amber);
  font-size: 0.65em;
  top: 0.25em;
}

/* Card-level CTA button (teal, smaller than the main yellow CTA) */
a.campaign-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(to bottom, var(--clr-teal), #1aaa9f);
  border-radius: 40px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.6px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--clr-teal-dark);
  transition: translate 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

a.campaign-card-btn:hover {
  translate: 0 3px;
  box-shadow: 0 1px 0 var(--clr-teal-dark);
  filter: brightness(0.97);
}

a.campaign-card-btn:active {
  translate: 0 4px;
  box-shadow: 0 0px 0 var(--clr-teal-dark);
}

/* Credit total summary */
.credit-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #fff;
  border: 6px solid var(--clr-yellow);
  border-radius: 20px;
  padding: 16px 48px;
  width: 100%;
  max-width: 780px;
  z-index: 10;
}

/* Staggered pop-in on scroll */
@keyframes credit-pop {
  0% {
    transform: translateY(24px) scale(0.9);
    opacity: 0;
  }

  60% {
    transform: translateY(-4px) scale(1.03);
    opacity: 1;
  }

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

.credit-summary__item,
.credit-summary__op,
.credit-summary__total {
  opacity: 0;
  transform: translateY(24px);
}

.credit-summary__item.is-visible,
.credit-summary__op.is-visible,
.credit-summary__total.is-visible {
  animation: credit-pop 0.5s var(--ease-bounce) both;
}

.credit-summary__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.credit-summary__num {
  font-family: var(--ff-poppins);
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  color: var(--clr-orange);
}

.credit-summary__label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--clr-orange);
}

.credit-summary__op {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--clr-gray);
  line-height: 1;
}

.credit-summary__total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  padding: 16px 28px;
  position: relative;
}

/* Decorative stars (reuse star-twinkle animation) */
.total-star {
  position: absolute;
  pointer-events: none;
  animation: star-twinkle 2.2s ease-in-out infinite;
}

.total-star--1 {
  width: 28px;
  height: 28px;
  top: -6px;
  right: -4px;
  animation-duration: 2.2s;
}

.total-star--2 {
  width: 18px;
  height: 18px;
  top: 20px;
  right: 8px;
  animation-duration: 1.7s;
  animation-delay: 0.6s;
}

.total-star--3 {
  width: 24px;
  height: 24px;
  top: 0px;
  left: 8px;
  animation-duration: 2.6s;
  animation-delay: 1.1s;
}

.credit-summary__total-num {
  font-family: var(--ff-poppins);
  font-weight: 800;
  font-size: 70px;
  line-height: 1;
  background: linear-gradient(to bottom, var(--clr-yellow), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credit-summary__total-label {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--clr-amber);
  white-space: nowrap;
}

.campaigns-note-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  width: 100%;
}

.campaigns-note-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--clr-gray);
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e8e0cc;
  padding-bottom: 6px;
}

.campaigns-note {
  list-style: none;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--clr-gray);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campaigns-note__detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-left: 1em;
}


/* ============================================================
   EVENTS SECTION
============================================================ */
section.events-section {
  position: relative;
  z-index: 1;
  background-color: #22b7a83b;
  padding: 80px 74px 100px;
  width: 100%;
  overflow: hidden;
}

/* Reuse wave SVG as faint background texture */
.events-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/bg-wave.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.events-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.events-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
}

.events-intro {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 560px;
}

.events-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: 960px;
}

.event-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.event-type-badge {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-radius: 32px;
  padding: 5px 14px;
  width: fit-content;
}

.event-type-badge--online {
  background: var(--clr-teal);
  color: #fff;
}

.event-type-badge--offline {
  background: var(--clr-orange);
  color: #fff;
}

.event-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.4;
  color: var(--clr-brown);
}

.event-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.event-info-table th,
.event-info-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #f0ece0;
  vertical-align: top;
  font-family: var(--ff-body);
  line-height: 1.6;
}

.event-info-table th {
  font-weight: 700;
  color: var(--clr-gray);
  white-space: nowrap;
  width: 4em;
}

.event-info-table td {
  font-weight: 500;
  color: var(--clr-brown);
}

.event-desc {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-brown);
  flex: 1;
}

.event-apply {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Coming soon badge */
.event-apply__coming {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--clr-gray);
  background: var(--clr-offwhite);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  width: 100%;
}

/* Registration button */
.event-apply__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(to bottom, var(--clr-teal), #1aaa9f);
  border-radius: 40px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.6px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--clr-teal-dark);
  transition: translate 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.event-apply__btn:hover {
  translate: 0 3px;
  box-shadow: 0 1px 0 var(--clr-teal-dark);
  filter: brightness(0.97);
}

.event-apply__btn:active {
  translate: 0 4px;
  box-shadow: 0 0px 0 var(--clr-teal-dark);
}

/* Default: show coming-soon badge, hide button */
.event-apply__btn {
  display: none;
}

.event-apply__coming {
  display: block;
}

/* --open modifier: show button, hide badge */
.event-apply--open .event-apply__btn {
  display: inline-flex;
}

.event-apply--open .event-apply__coming {
  display: none;
}


/* ============================================================
   FAQ SECTION
============================================================ */
section.faq-section {
  position: relative;
  z-index: 1;
  background-color: var(--clr-cream);
  padding: 80px 74px 100px;
  width: 100%;
}

.faq-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.3;
  color: var(--clr-brown);
  text-align: center;
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid #e8e0cc;
}

.faq-item {
  border-bottom: 2px solid #e8e0cc;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-brown);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '＋';
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-teal);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

details[open]>.faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 4px 22px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.85;
  color: #6b6050;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.35s ease, opacity 0.3s ease;
}

a.faq-link {
  color: var(--clr-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.faq-link:hover {
  opacity: 0.8;
}

a.faq-link:focus-visible {
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ============================================================
   FOOTER CTA SECTION
============================================================ */
section.footer-cta-section {
  position: relative;
  z-index: 1;
  background-color: #22b7a817;
  width: 100%;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.cta-btn-area {
  position: relative;
  margin-top: 40px;
}

.cta-btn-icon {
  position: absolute;
  bottom: 75px;
  right: 1%;
  width: 60px;
  height: auto;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transform: translateX(-50%) rotate(5deg) translateY(60px);
  transition: opacity 0.5s ease 0.3s, transform 0.65s var(--ease-bounce) 0.3s;
}

.cta-btn-icon.is-visible {
  opacity: 1;
  transform: translateX(-50%) rotate(5deg) translateY(0);
}

.cta-btn-text {
  width: 160px;
  height: auto;
  position: absolute;
  bottom: 55px;
  right: -38%;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.5s ease 0.55s, transform 0.65s var(--ease-bounce) 0.55s;
}

.cta-btn-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-cta-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}


/* ============================================================
   SITE FOOTER
============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background-color: var(--clr-brown);
  width: 100%;
  padding: 40px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 4px 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav__link {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav__link:hover {
  color: #ffffff;
}

.footer-nav__sep {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy {
  font-family: var(--ff-poppins);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   FOCUS STYLES (keyboard navigation)
============================================================ */
.campaign-btn:focus-visible,
.campaign-card-btn:focus-visible,
.event-apply__btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.step-link:focus-visible,
.footer-nav__link:focus-visible {
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-q:focus-visible {
  outline: 2px solid var(--clr-teal);
  outline-offset: -2px;
}


/* ============================================================
   WHITE HEADING TEXT SHADOW
============================================================ */
.thankyou-heading,
.future-heading,
.steps-title,
.events-title,
.footer-cta-title {
  text-shadow: 1px 2px 0px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for adjacent cards */
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* Character: scale + rise */
.reveal--pop {
  opacity: 0;
  transform: scale(0.75) translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-bounce);
}

.reveal--pop.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Heading lines slide in from left */
.reveal--left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

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

  .reveal,
  .reveal--pop,
  .reveal--left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Mobile-only line break utility */
.br-sp {
  display: none;
}


/* ============================================================
   RESPONSIVE — TABLET  (< 1200px)
============================================================ */
@media (max-width: 1200px) {

  .deco-c1,
  .deco-c2,
  .deco-c3,
  .deco-c4,
  .deco-dots--left,
  .deco-dots-right,
  .bg-wave {
    display: none;
  }

  .hero-title-img {
    width: min(643.5px, 90vw);
  }

  .hero-badge {
    font-size: clamp(16px, 2.5vw, 28.5px);
  }

  .steps-section {
    padding: 40px 40px 80px;
  }

  .step-name {
    font-size: clamp(18px, 2.2vw, 28px);
    white-space: normal;
  }

  .step-desc {
    font-size: clamp(15px, 1.7vw, 20px);
  }

  .campaigns-section {
    padding: 60px 40px 80px;
  }

  .campaigns-title {
    font-size: 36px;
  }

  .events-section {
    padding: 60px 40px 80px;
  }

  .events-title {
    font-size: 36px;
  }

  .faq-section {
    padding: 60px 40px 80px;
  }

  .faq-title {
    font-size: 36px;
  }

  .footer-cta-title {
    font-size: 32px;
    white-space: normal;
    text-align: center;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE  (< 768px)
============================================================ */
@media (max-width: 768px) {

  .br-sp {
    display: block;
  }

  /* Decorative elements: scaled-down for mobile */
  .deco-c1,
  .deco-c2,
  .deco-c3,
  .deco-c4,
  .deco-dots--left,
  .deco-dots-right {
    display: block;
    opacity: 0.4;
  }

  .deco-c1 {
    width: 120px;
    height: 120px;
    right: -30px;
    top: -20px;
  }

  .deco-c2 {
    width: 90px;
    height: 90px;
    right: 15px;
    top: 30px;
  }

  .deco-c3 {
    width: 90px;
    height: 90px;
    left: -18px;
    top: 200px;
  }

  .deco-c4 {
    width: 180px;
    height: 180px;
    left: -70px;
    top: 260px;
  }

  .deco-dots--left {
    left: -18px;
    top: 340px;
    width: 80px;
    height: 48px;
    background-size: 80px 10.5px;
  }

  .deco-dots-right {
    width: 80px;
    height: 48px;
    right: -18px;
    top: 200px;
  }

  /* Hero */
  .hero {
    padding-top: 60px;
    padding-bottom: 40px;
    gap: 0px;
  }

  .hero-logo {
    width: 240px;
    height: 59px;
  }

  .hero-badge {
    font-size: 15px;
    padding: 8px 32px;
    border-radius: 0;
    margin-bottom: -10px;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 14px) 50%, 100% 100%, 0% 100%, 14px 50%);
  }

  .hero-title-img {
    width: 90vw;
    max-width: 360px;
  }

  .title-layer--balloon {
    top: 20px;
  }

  .title-layer--light {
    top: 10px;
    left: 84%;
  }

  .campaign-info {
    padding: 0 20px;
    width: 100%;
  }

  .campaign-label {
    font-size: 14px;
    padding: 6px 12px;
  }

  .campaign-text-block {
    padding: 16px 0px;
    gap: 12px;
  }

  .campaign-main-text {
    white-space: normal;
    line-height: 1.4;
  }

  .t-28 {
    font-size: 18px;
  }

  .t-46 {
    font-size: 28px;
  }

  .campaign-period {
    font-size: 13px;
  }

  .campaign-btn {
    font-size: 18px;
    padding: 20px 28px;
    gap: 10px;
  }

  .btn-arrow {
    width: 16px;
    height: 20px;
  }

  .btn-arrow svg {
    width: 8px;
    height: 14px;
  }

  /* Expand union-bg on mobile */
  .union-bg {
    width: 160vw;
  }

  /* Thank you section */
  .thankyou-section {
    padding: 40px 24px 20px;
  }

  .thankyou-text {
    width: 100%;
  }

  .thankyou-heading {
    font-size: 36px;
  }

  .thankyou-desc {
    font-size: 14px;
    width: 100%;
  }

  .ai-character {
    width: 180px;
    height: 180px;
  }

  .future-heading {
    font-size: 32px;
    white-space: normal;
  }

  .future-heading p {
    line-height: 1.4;
  }

  .future-desc {
    font-size: 14px;
    width: 100%;
    text-align: left;
  }

  /* Steps section */
  .steps-section {
    padding: 60px 20px;
  }

  .steps-title {
    font-size: 22px;
    white-space: normal;
  }

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

  /* Rotate arrow down on mobile */
  .step-arrow__icon {
    transform: rotate(90deg);
  }

  .step-card {
    width: 100%;
    border-radius: var(--radius-card);
    padding: 32px 24px 20px;
    gap: 20px;
  }

  .step-name {
    font-size: 20px;
    white-space: normal;
  }

  .step-desc {
    font-size: 15px;
  }

  .reward-num {
    font-size: 28px;
  }

  .reward-label {
    font-size: 14px;
  }

  .reward-optional {
    font-size: 20px;
  }

  .step-reward--optional {
    height: 60px;
  }

  .step-link {
    font-size: 16px;
  }

  /* Campaigns */
  .campaigns-section {
    padding: 60px 20px;
  }

  .campaign-detail-card {
    padding: 16px 24px;
  }

  .campaigns-title {
    font-size: 32px;
  }

  .campaign-steps-grid {
    flex-direction: column;
    gap: 20px;
  }

  .credit-summary {
    flex-wrap: wrap;
    gap: 12px;
  }

  .credit-summary__total-num {
    font-size: 44px;
  }

  /* Events */
  .events-section {
    padding: 60px 20px;
  }

  .events-title {
    font-size: 32px;
  }

  .events-grid {
    flex-direction: column;
    gap: 20px;
  }

  .event-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* FAQ */
  .faq-section {
    padding: 60px 20px;
  }

  .faq-title {
    font-size: 32px;
  }

  /* Footer CTA */
  .footer-cta-section {
    padding: 60px 20px;
  }

  .footer-cta-title {
    font-size: 24px;
  }

  .cta-btn-area {
    margin-top: 10px;
  }

  .cta-btn-text {
    display: none;
  }

  .cta-btn-icon {
    bottom: 48px;
  }
}