/* style.css — 2s_kaito 新デザインLP（若年層向け／格子背景） */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=M+PLUS+Rounded+1c:wght@700;800;900&display=swap');

:root {
  --color-primary: #19c37d;
  --color-primary-dark: #0f7c4e;
  --color-primary-light: #e9f9ef;
  --color-accent: #ff6767;
  --color-accent-dark: #e94f4f;
  --color-gold: #ffcc4d;
  --color-gold-dark: #e0a800;
  --color-text: #1b2433;
  --color-text-muted: #5d6778;
  --color-border: #d7f2e4;
  --color-card: #ffffff;
  --color-page: #f2fbf6;
  --color-page-2: #f8fffb;
  --shadow-sm: 0 4px 12px rgba(15, 124, 78, 0.08);
  --shadow-card: 0 8px 24px rgba(15, 124, 78, 0.12);
  --font-body: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  --font-heading: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--color-page) 0%, var(--color-page-2) 55%, #fff 100%);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sp {
  display: none;
}

@media (max-width: 600px) {
  .sp {
    display: inline;
  }
}

.app {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ----------- 背景の格子模様 ----------- */
.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(15, 124, 78, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 124, 78, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, black 25%, transparent 74%);
  z-index: 0;
}

.bg-blobs {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.blob--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: var(--color-primary);
}

.blob--2 {
  width: 260px;
  height: 260px;
  top: 420px;
  left: -90px;
  background: var(--color-gold);
  opacity: 0.25;
}

.blob--3 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  right: -100px;
  background: var(--color-accent);
  opacity: 0.16;
}

.content {
  position: relative;
  z-index: 1;
}

/* ----------- header ----------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: clamp(26px, 5vw, 36px);
  width: auto;
  object-fit: contain;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(255, 103, 103, 0.32);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.header-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 103, 103, 0.4);
}

/* ----------- hero ----------- */
.hero {
  margin: 0;
  text-align: center;
}

.hero-mv {
  margin: 0;
  line-height: 0;
}

.hero-mv picture,
.hero-mv img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin-top: 10px;
  padding: 1.05rem 9rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 124, 78, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 124, 78, 0.4);
}

.btn-primary svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.hero-actions__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ----------- summary ----------- */
.summary {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.summary__card {
  border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.summary__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.2vw, 2.1rem);
  line-height: 1.45;
  color: var(--color-primary-dark);
}

.summary__text {
  margin: 0 auto 0.9rem;
  max-width: 38rem;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 2;
  color: var(--color-text);
}

.summary__em {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.summary__accent {
  display: inline-block;
  margin: 0.35rem 0;
  color: var(--color-accent);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.2vw, 1.8rem);
  line-height: 1.6;
}

.summary__note {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.summary__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ----------- gift spotlight ----------- */
.gift-spotlight {
  margin: 0 0 1.4rem;
}

.section .gift-spotlight {
  max-width: none;
  padding: 0;
}

.gift-spotlight__card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: linear-gradient(150deg, #1c8a5e 0%, var(--color-primary-dark) 55%, #0b5c3a 100%);
  box-shadow: 0 16px 40px rgba(15, 124, 78, 0.35);
  color: #fff;
  text-align: center;
}

.gift-spotlight__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255, 204, 77, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.gift-spotlight__ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  background: var(--color-gold);
  color: #6b4a00;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.gift-spotlight__title {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.5;
  margin: 0 0 0.8rem;
}

.gift-spotlight__title em {
  font-style: normal;
  color: var(--color-gold);
}

.gift-spotlight__note {
  position: relative;
  margin: -0.3rem 0 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.gift-spotlight__lead {
  position: relative;
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.countdown__heading {
  margin: 0 0 0.7rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
}

.countdown {
  position: relative;
  display: inline-flex;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.countdown__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  margin-top: 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

.countdown--ended {
  font-weight: 800;
  font-size: 1rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.gift-spotlight .btn-primary {
  position: relative;
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.gift-spotlight .btn-primary:hover {
  background: #f3fff8;
}

.gift-spotlight__small {
  position: relative;
  display: block;
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ----------- anchor nav ----------- */
.anchor-nav {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) 0.5rem;
}

.anchor-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.anchor-nav__list > li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.anchor-nav__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.55rem 0.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.62rem, 2.4vw, 0.86rem);
  line-height: 1.35;
  text-align: center;
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.anchor-nav__list a:hover {
  background: var(--color-primary-light);
}

/* ----------- section shared ----------- */
.section {
  padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.1rem, 4vw, 2.5rem);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 1.4rem;
  color: var(--color-text);
}

.section-desc {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.2rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

/* ----------- schedule timeline ----------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.timeline__item {
  position: relative;
  padding: 1.8rem 1.4rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 2;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
}

.timeline__item--now::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
}

.timeline__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.timeline__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
}

.timeline__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.88) 55%, #fff 100%);
}

.timeline__body {
  position: relative;
  z-index: 1;
}

.timeline__heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.timeline__when {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  color: var(--color-primary-dark);
}

.timeline__item--now .timeline__when {
  color: var(--color-accent-dark);
}

.timeline__what {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--color-text);
}

.timeline__lead {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.55rem;
}

.timeline__text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.timeline__note {
  color: var(--color-accent-dark);
  font-weight: 700;
}

/* ----------- steps (flow) ----------- */
.steps {
  display: grid;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.3rem 1.3rem;
  border-bottom: 1px solid var(--color-border);
}

.step:last-child {
  border-bottom: none;
}

.step--highlight {
  background: linear-gradient(90deg, #fff8ec 0%, #fff 65%);
}

.step__head {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.step__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(15, 124, 78, 0.28);
}

.step--highlight .step__num {
  background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  box-shadow: 0 4px 10px rgba(255, 103, 103, 0.3);
}

.step__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.step > p {
  margin: 0;
  padding-left: calc(2.4rem + 1.1rem);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.step .e-ticket {
  color: var(--color-accent-dark);
  font-weight: 800;
}

/* ----------- catchphrase（CTA上のシャインテキスト） ----------- */
.catchphrase {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  overflow: hidden;
  height: 1.9rem;
  padding: 0 0.9rem;
  line-height: 1.9rem;
  background: var(--color-gold);
  color: #6b4a00;
  font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  border-radius: 0.45rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  user-select: none;
  white-space: nowrap;
}

.catchphrase--multiline {
  height: auto;
  padding: 0.35rem 0.9rem;
  line-height: 1.35;
  white-space: pre-line;
  text-align: center;
}

.catchphrase::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 35%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.15) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: catchphraseShine 2.4s ease-in-out infinite;
}

@keyframes catchphraseShine {
  0% {
    left: -40%;
  }
  45%,
  100% {
    left: 120%;
  }
}

.gift-spotlight .catchphrase {
  background: #fff;
  color: var(--color-primary-dark);
}

/* ----------- guidance ----------- */
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.guidance-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.guidance-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  /* margin-bottom: 0.9rem; */
}

.guidance-card__badge--walkin {
  background: #fff0ec;
  color: var(--color-accent-dark);
}

.guidance-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text);
}

.guidance-card__text {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  flex: 1;
}

.guidance-card__date {
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.guidance-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}

.guidance-card__btn:hover {
  background: var(--color-primary-dark);
}

.guidance-card__note {
  margin: 0.7rem 0 0;
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ----------- campaign ----------- */
.campaigns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.campaign-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.campaign-card img {
  display: block;
  width: 100%;
  height: auto;
}

.campaign-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.campaign-card__title {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
}

.campaign-card__desc {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.campaign-card__note {
  color: var(--color-accent-dark);
}

/* ----------- gift detail ----------- */
.gift-detail {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 4vw, 2rem);
}

.gift-detail__heading {
  margin: 0 0 1.2rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  text-align: center;
  color: var(--color-primary-dark);
}

.gift-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
}

.gift-detail__images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.gift-detail__images img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.gift-detail__image {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.gift-detail__head > div:last-child {
  flex: 1 1 240px;
}

.gift-detail__amount {
  margin: 0 0 1.2rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-primary-dark);
}

.gift-detail__amount span {
  display: inline-block;
  margin-left: 0.15em;
  color: var(--color-accent-dark);
  font-size: 1.25em;
}

.gift-detail__text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.gift-detail__note {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.faq {
  margin-top: 0.5rem;
  border-top: 1px dashed var(--color-border);
}

.faq__item {
  border-bottom: 1px dashed var(--color-border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.2rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
}

.faq__q svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__q svg {
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a-inner {
  padding: 0 0.2rem 1.1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.faq__a-inner a {
  color: var(--color-primary-dark);
  font-weight: 700;
  word-break: break-all;
}

/* ----------- course cards ----------- */
.courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.course-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.course-card img {
  display: block;
  width: 100%;
  height: auto;
}

.course-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.course-card__tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.course-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.55;
}

.course-card__desc {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ----------- CTA band ----------- */
.cta-band {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
}

.cta-band__inner {
  padding: clamp(1.8rem, 5vw, 2.6rem);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 70%);
  border: 1px solid var(--color-border);
}

.cta-band__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  margin: 0 0 1.4rem;
  color: var(--color-text);
}

/* ----------- footer ----------- */
.footer {
  padding: 1.8rem clamp(1.1rem, 4vw, 2.5rem) 2.3rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.footer a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

/* ----------- sticky cta / back to top ----------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  padding: 0.55rem clamp(0.75rem, 3vw, 1.25rem);
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(15, 124, 78, 0.15);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 6px 16px rgba(15, 124, 78, 0.32);
  transition: transform 0.2s;
}

.sticky-cta__btn:hover {
  transform: translateY(-1px);
}

body.has-sticky-cta {
  padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
}

body.has-sticky-cta .back-to-top {
  bottom: calc(4.7rem + env(safe-area-inset-bottom, 0px));
}

.back-to-top {
  position: fixed;
  right: clamp(0.65rem, 3vw, 1.15rem);
  bottom: calc(clamp(0.65rem, 3vw, 1.15rem) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary-dark);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, background 0.2s, color 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: #fff;
}

.back-to-top__arrow {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ----------- scroll reveal ----------- */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* ----------- responsive ----------- */
@media (max-width: 700px) {
  .courses {
    grid-template-columns: 1fr;
  }

  .guidance-grid {
    grid-template-columns: 1fr;
  }

  .campaigns {
    grid-template-columns: 1fr;
  }

  .gift-detail__head {
    flex-direction: column;
    align-items: center;
  }

  .gift-detail__images img,
  .gift-detail__image {
    max-width: 100%;
  }

  .cta-band {
    padding-bottom: calc(0.5rem + 4.2rem);
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .step > p {
    padding-left: 0;
  }
}
