/* ==========================================================
   応援するページ（新デザイン 2026-07-31 カンプ準拠）
   ========================================================== */

/* ---------- 活動への想い ---------- */
.intro {
  background: var(--color-cream);
  padding: clamp(56px, 8vw, 104px) var(--space-sm);
}

.intro__inner {
  max-width: 800px;
  margin: 0 auto;
}

.intro__charas {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.intro__charas img {
  width: 100%;
  max-width: 580px;
  height: auto;
  margin: 0 auto;
}

.intro__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.intro__text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__notice {
  font-size: 16px;
  line-height: 1.8;
  margin-top: clamp(28px, 4vw, 40px);
}

.intro__notice-link {
  display: block;
  margin-top: 8px;
  color: var(--color-red);
  text-decoration: underline;
}

.intro__notice-link:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .intro__title br {
    display: none;
  }
}

/* ---------- 活動写真スライダー ---------- */
.photo-slider {
  overflow: hidden;
}

.photo-slider__track {
  display: flex;
  width: max-content;
  animation: photo-slide 36s linear infinite;
}

.photo-slider__track img {
  display: block;
  height: clamp(180px, 24vw, 300px);
  width: auto;
}

@keyframes photo-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 支援区分セクション（クリーム地に白カード） ---------- */
.support-section {
  background: var(--color-cream);
  padding: 0 var(--space-sm) clamp(24px, 3.5vw, 40px);
}

/* 写真スライダー直後の1つ目だけ、上にもクリームの余白を取る
   （`:first-of-type` は main 内の最初の <section>＝.intro に当たってしまうため使わない） */
.photo-slider + .support-section {
  padding-top: clamp(40px, 6vw, 80px);
}

/* 最後のカードの下も、1つ目の上と同じ余白にする
   （`:last-of-type` は main 内の最後の <section>＝.support-cta に当たるためクラスで指定） */
.support-section--last {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.support-panel {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 60px);
}

/* ---------- 各支援区分の説明（★の箇条書き・中央寄せ） ---------- */
.support-block {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.support-block li {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 12px;
  text-indent: -1.1em;
  padding-left: 1.1em;
}

.support-block li::before {
  content: "★";
  color: var(--color-red);
}

/* ---------- 応援団：コース（ピンク帯＋内容） ---------- */
.course {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.course__name {
  background: #ff5faa;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 18px);
  text-align: center;
  line-height: 1.6;
  padding: 16px 12px;
}

.course__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 28px) clamp(12px, 2.5vw, 36px) 0;
}

.course__benefit p {
  font-size: 16px;
  line-height: 1.8;
}

.course__price {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-heading);
  line-height: 1.4;
}

.course__price-label {
  font-size: 16px;
  font-weight: 700;
  margin-right: 10px;
}

.course__price strong {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--color-red);
}

.course__price small {
  font-size: 15px;
  font-weight: 700;
}

/* ことり画伯の作品例（コース内に2枚並べる） */
.course__samples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(20px, 3vw, 32px) clamp(12px, 2.5vw, 60px) 0;
}

.course__samples img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.course-divider {
  max-width: 820px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  border: 0;
  border-top: 1px solid #ccc;
}

/* ---------- 注記・ボタン ---------- */
.support-note {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  margin-top: clamp(28px, 4vw, 44px);
}

.support-btn {
  text-align: center;
  margin-top: clamp(24px, 3.5vw, 36px);
}

/* ---------- 振込・手数料の注記 ---------- */
.doc-note {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-top: clamp(20px, 3vw, 28px);
}

/* ---------- 協賛（企業） ---------- */
.corporate__text {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .support-block li {
    text-align: left;
  }

  .course__body {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .course__price {
    text-align: right;
  }

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

  /* SPでは .btn の左右パディング40pxが効いて矢印が折り返すため、
     このページのボタンだけ詰めて1行に収める（他ページの .btn には影響させない） */
  .support-btn .btn {
    padding-inline: 20px;
  }

  .corporate__text br,
  .support-note br,
  .doc-note br,
  .intro__notice br {
    display: none;
  }
}
