/* ================================
   Crowdfunding Page Styles
   参考: page-landing.css のデザイン
================================ */

/* ----- Hero Section ----- */
.cf-hero {
  padding: 140px 0 80px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.cf-hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cf-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cf-hero__subtitle {
  display: block;
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 10px;
}

.cf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-weight: 600;
  color: #111827;
  margin-top: 10px;
}

.cf-hero__badge svg {
  color: #ff8a80;
}

/* ----- Stats Section ----- */
.cf-stats {
  padding: 60px 0;
  background: white;
}

.cf-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.cf-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 35px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cf-stat-card:hover {
  transform: translateY(-8px);
}

.cf-stat-card__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cf-stat-card__content {
  flex: 1;
}

.cf-stat-card__label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-stat-card__value {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 6px;
}

.cf-stat-card__value-small {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

.cf-stat-card__detail {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 5px;
}

/* ----- Flowers Section ----- */
.cf-flowers {
  padding: 80px 0;
  overflow: hidden;
}

.cf-flowers--top {
  background: linear-gradient(to bottom, rgba(255, 138, 128, 0.08) 0%, white 100%);
  padding-top: 120px;
}

.cf-flowers--bottom {
  background: linear-gradient(to bottom, white 0%, rgba(255, 204, 2, 0.08) 100%);
  padding-bottom: 100px;
}

.cf-flowers__title-fancy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cf-flowers__title-deco {
  font-size: clamp(28px, 4vw, 40px);
  filter: drop-shadow(0 2px 8px rgba(255, 138, 128, 0.3));
}

.cf-flowers__subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin-top: -20px;
  margin-bottom: 50px;
}

.cf-flowers__carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.cf-flowers__track {
  display: flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.cf-flowers__track:hover {
  animation-play-state: paused;
}

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

.cf-flower-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 25px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-flower-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.cf-flower-card__image {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 138, 128, 0.1), rgba(255, 204, 2, 0.1));
}

.cf-flower-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cf-flower-card:hover .cf-flower-card__image img {
  transform: scale(1.1);
}

.cf-flower-card__name {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
}

/* ----- Main Image Section ----- */
.cf-main-image {
  padding: 60px 0;
  background: white;
}

.cf-main-image__wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.cf-main-image__wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.cf-main-image__overlay {
  position: absolute;
  top: 30px;
  right: 30px;
}

.cf-main-image__badge {
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ----- Message Section ----- */
.cf-message {
  padding: 80px 0 100px;
  background: linear-gradient(to bottom, white 0%, rgba(255, 204, 2, 0.05) 100%);
}

.cf-message__card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 60px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 900px;
  margin: 0 auto;
}

.cf-message__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cf-message__content {
  font-size: 16px;
  line-height: 2;
  color: #374151;
  margin-bottom: 30px;
}

.cf-message__content p {
  margin-bottom: 20px;
}

.cf-message__divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 138, 128, 0.3) 50%, transparent 100%);
  margin: 50px 0;
}

.cf-message__subtitle {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.cf-message__signature {
  text-align: right;
  margin-top: 40px;
  padding-right: 20px;
  color: #111827;
}

.cf-message__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* ----- CTA Buttons（このCSS内でも完結するように定義） ----- */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-shadow:
    0 10px 24px rgba(17, 24, 39, 0.08),
    0 2px 6px rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff8a80 0%, #ffcc02 100%);
}

.cta-secondary {
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.10);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(17, 24, 39, 0.10),
    0 6px 12px rgba(17, 24, 39, 0.08);
}

.cta-primary:active,
.cta-secondary:active {
  transform: translateY(0);
}

/* ----- CAMPFIRE URL block（追加） ----- */
.cf-cfurl {
  margin: 18px 0 22px;
  padding: 18px 18px;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 138, 128, 0.08) 0%,
    rgba(255, 204, 2, 0.06) 100%
  );
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.cf-cfurl .cta-primary {
  width: auto;
  white-space: nowrap;
}

.cf-cfurl a {
  text-decoration: none;
}

.cf-cfurl__note,
.cf-cfurl > div {
  margin-top: 10px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  word-break: break-all;
}

.cf-cfurl__note a,
.cf-cfurl > div a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.cf-cfurl__note a:hover,
.cf-cfurl > div a:hover {
  opacity: 0.85;
}

/* ----- Responsive Design ----- */
@media (max-width: 767px) {
  .cf-hero {
    padding: 100px 0 50px;
  }

  .cf-hero__title {
    font-size: 32px;
  }

  .cf-hero__badge {
    padding: 12px 20px;
    font-size: 14px;
  }

  .cf-stats {
    padding: 40px 0;
  }

  .cf-stats__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cf-stat-card {
    padding: 25px 20px;
  }

  .cf-stat-card__value {
    font-size: 28px;
  }

  .cf-flowers {
    padding: 50px 0;
  }

  .cf-flowers--top {
    padding-top: 100px;
  }

  .cf-flowers--bottom {
    padding-bottom: 60px;
  }

  .cf-flowers__subtitle {
    margin-bottom: 30px;
  }

  .cf-flowers__title-deco {
    font-size: 24px;
  }

  .cf-flower-card {
    flex: 0 0 240px;
    padding: 20px;
  }

  .cf-flower-card__image {
    height: 240px;
  }

  .cf-main-image {
    padding: 40px 0;
  }

  .cf-main-image__wrapper {
    border-radius: 20px;
  }

  .cf-main-image__overlay {
    top: 15px;
    right: 15px;
  }

  .cf-main-image__badge {
    padding: 10px 20px;
    font-size: 14px;
  }

  .cf-message {
    padding: 50px 0 60px;
  }

  .cf-message__card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .cf-message__title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .cf-message__content {
    font-size: 15px;
    line-height: 1.8;
  }

  .cf-message__divider {
    margin: 30px 0;
  }

  .cf-message__subtitle {
    font-size: 22px;
  }

  .cf-message__cta {
    flex-direction: column;
    gap: 15px;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 16px 28px;
    font-size: 16px;
  }

  .cf-cfurl {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .cf-cfurl .cta-primary {
    width: 100%;
    white-space: normal;
  }

  .cf-cfurl__note,
  .cf-cfurl > div {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cf-stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .cf-message__card {
    padding: 45px 35px;
  }
}