/* ============================
   Challenge Page - りらいぶの挑戦
============================ */

/* Challenge Page Specific Spacing */
#page-challenge.page-top-under {
  padding-bottom: 0;
}

/* DINフォントのウェイト調整用カスタムスタイル */
@supports (font-variation-settings: normal) {
  .challenge-scrolling-text,
  .challenge-stats-number {
    font-variation-settings: "wght" 600; /* 可変フォントの場合の太さ調整 */
  }
}

/* Header Wrapper */
.challenge-header-wrapper {
  position: relative;
  overflow: hidden;
}

/* Content Wrapper */
.challenge-content-wrapper {
  position: relative;
}

/* Main Visual Container */
.challenge-main-visual-container {
  margin-top: 0.938rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Main Visual Image */
.challenge-main-visual {
  display: block;
  width: clamp(28.563rem, 13.091rem + 63.471vw, 89.257rem);
  height: clamp(21.875rem, 10.173rem + 48.009vw, 67.785rem);
  flex-shrink: 0;
  object-fit: cover;
}

/* Desktop version - shown by default */
.challenge-main-visual-mobile {
  display: none;
}

/* Main Copy Section */
.challenge-main-copy {
  position: absolute;
  top: clamp(2.5rem, 2.309rem + 0.784vw, 3.25rem);
  left: 0;
  right: 0;
  z-index: 3;
  color: #000;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 1.027rem + 0.915vw, 2.125rem);
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: clamp(0.125rem, 0.103rem + 0.092vw, 0.213rem);
}

/* Horizontal Infinite Scrolling Text */
.challenge-scrolling-infinite {
  position: absolute;
  top: clamp(5.25rem, -5.44rem + 22.242vw, 21.25rem);
  left: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  z-index: 1;
}

.challenge-scrolling-wrapper {
  will-change: transform;
  display: flex;
  width: max-content;
  animation: challenge-scroll-left 50s linear infinite;
}

.challenge-scrolling-text {
  display: inline-block;
  white-space: nowrap;
  /* DIN 2014フォントをAdobe Fontsから使用 - !importantで優先度を上げる */
  font-family: "din-2014", "DIN 2014", "ff-din-paneuropean", "DIN Alternate", sans-serif !important;
  font-size: clamp(2.25rem, -0.968rem + 13.203vw, 14.875rem);
  letter-spacing: clamp(0.09rem, -0.039rem + 0.528vw, 0.595rem);
  font-weight: 600; /* Bold(700)からSemibold(600)に変更 */
  line-height: 336px;
  opacity: 0.5;
  color: #FFF;
  -webkit-text-stroke-width: 2px; /* ストローク幅を細く調整 */
  -webkit-text-stroke-color: #BA2A20;
  padding-right: 4rem;
}

@keyframes challenge-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
  }
}

@media screen and (max-width: 768px) {
  /* Switch to mobile image */
  .challenge-main-visual-desktop {
    display: none;
  }

  .challenge-main-visual-mobile {
    display: block;
  }

  /* Content wrapper uses flexbox to reorder elements */
  .challenge-content-wrapper {
    display: flex;
    flex-direction: column;
  }

  /* Main copy comes first in mobile */
  .challenge-main-copy {
    order: 1;
    position: relative;
    width: clamp(19.375rem, 0.030rem + 79.365vw, 38.125rem);
    margin: clamp(3.75rem, 3.638rem + 0.458vw, 4.188rem) auto 0 auto;
    text-align: left;
    color: #050505;
    z-index: 3;
  }

  /* Visual comes second - 1px below main copy */
  .challenge-main-visual-container {
    order: 2;
    margin-top: clamp(0.063rem, -2rem + 8.466vw, 2.063rem);
    position: relative;
    z-index: 2;
  }

  /* Scrolling text comes third - overlaps with image */
  .challenge-scrolling-infinite {
    order: 3;
    margin-top: -0.6rem;
    top: clamp(21rem, 14.938rem + 24.868vw, 26.875rem);
    z-index: 1;
  }

  /* Adjust line-height for mobile to prevent extra spacing */
  .challenge-scrolling-text {
    line-height: 1.2;
  }
  .challenge-main-visual {
    height: clamp(21.875rem, 7.044rem + 60.847vw, 36.25rem);
   
  }
  .challenge-main-copy {
    top: 0;
  }
}

/* ============================
   Challenge Sections
============================ */

.challenge-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: -6rem;
}

.challenge-section-container {
  padding-left: clamp(2.5rem, -4.792rem + 15.192vw, 13.438rem);
  padding-right: clamp(2.5rem, -2.5rem + 10.417vw, 10rem);
}

.challenge-section-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2.5rem, -3.118rem + 8.172vw, 6.688rem);
}

/* Text Content */
.challenge-section-text {
  width: 43.313rem;
  padding-top: clamp(0rem, -4.314rem + 4.793vw, 1.438rem);
}

.challenge-section-number {
  color: #858585;
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.875rem, 0.716rem + 0.654vw, 1.5rem);
  font-weight: 500;
  line-height: normal;
  letter-spacing: clamp(0.088rem, 0.072rem + 0.065vw, 0.15rem);
  margin: 0;
}

.challenge-section-title {
  color: #BA2A20;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.875rem, 1.588rem + 1.176vw, 3rem);
  font-weight: 400;
  line-height: clamp(2.75rem, 2.638rem + 0.458vw, 3.188rem);
  letter-spacing: clamp(0.3rem, 0.394rem + -0.078vw, 0.375rem);
  margin: 0.813rem 0 0 0;
}

.challenge-section-description {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.843rem + 0.131vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.5rem, 1.229rem + 1.111vw, 2.563rem);
  letter-spacing: clamp(0rem, 0.088rem + -0.073vw, 0.07rem);
  margin: 2.625rem 0 0 0;
}

/* Image */
.challenge-section-image {
  width: clamp(19.375rem, 12.445rem + 28.432vw, 46.563rem);
  flex-shrink: 0;
}

.challenge-section-image img {
  width: 100%;
  height: clamp(19.188rem, 12.293rem + 28.284vw, 46.235rem);
  object-fit: cover;
  display: block;
  border-radius:16px;
}

/* Stats Section */
.challenge-stats {
  margin-top: clamp(1.75rem, 1.431rem + 1.307vw, 3rem);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

.challenge-stats-02 {
  margin-top: 1.5rem; /* 5px for desktop */
}

/* Challenge Section 02 - Image on left, text on right */
.challenge-section-02 {
  margin-top: clamp(6.25rem, 4.497rem + 7.19vw, 13.125rem);
}

.challenge-section-02 .challenge-section-content {
  flex-direction: row-reverse;
}

/* Challenge 02 specific text styling */
.challenge-section-text-02 {
  padding-top:clamp(0rem, -20.25rem + 22.5vw, 6.75rem)
}


/* Challenge Section 03 - Same layout as Challenge 01 */
.challenge-section-03 {
  margin-top: clamp(6.25rem, 4.497rem + 7.19vw, 13.125rem);
}

/* Challenge 03 specific text styling */
.challenge-section-text-03 {
  padding-top:clamp(0rem, -6.703rem + 9.75vw, 4.875rem)
}

/* Challenge 03 specific stats styling */
.challenge-stats-03 {
  margin-top:clamp(1.75rem, 0.858rem + 3.66vw, 5.25rem)
}

.challenge-stats-03-02 {
  /* Custom styles for Challenge 03 second stats can be added here */
}



/* Single line period text without break */
.challenge-stats-period-single {
  text-align: left;
}


.challenge-stats-label {
  position: static;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.challenge-stats-line {
  width: clamp(5.938rem, 5.460rem + 1.961vw, 7.813rem);
  height: clamp(0.6px, 0.574px + 0.026vw, 1px);
  background: #BA2A20;
}

.challenge-stats-label-text {
  color: #BA2A20;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.811rem + 0.261vw, 1.125rem);
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.challenge-stats-number {
  position: static;
  order: 2;
  margin-left: clamp(0.625rem, 0.402rem + 0.915vw, 1.5rem);
  color: #BA2A20;
  /* DIN 2014フォントをAdobe Fontsから使用 - !importantで優先度を上げる */
  font-family: "din-2014", "DIN 2014", "ff-din-paneuropean", "DIN Alternate", sans-serif !important;
  font-size: clamp(3rem, 2.363rem + 2.614vw, 5.5rem);
  font-weight: 600; /* Bold(700)からSemibold(600)に変更 */
  line-height: 1;
  letter-spacing: clamp(-0.061rem, -0.022rem + -0.032vw, -0.03rem);
}

/* Challenge 01 specific number styling */
.challenge-stats-number-01 {
  font-size: clamp(3rem, 2.235rem + 3.137vw, 6rem);
}

/* Challenge 02 specific number styling */
.challenge-stats-number-02 {
  font-size: clamp(4.5rem, 3.911rem + 2.418vw, 6.813rem); /* 72px at 390px, 109px at 1920px */
}

/* Challenge 03 specific number styling */
.challenge-stats-number-03 {
  font-size: clamp(1.5rem, 1.245rem + 1.046vw, 2.5rem);
}

/* Challenge Section 04 - Image on left, text on right */
.challenge-section-04 {
  margin-top: clamp(6.25rem, 4.497rem + 7.19vw, 13.125rem);
}

.challenge-section-04 .challenge-section-content {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: clamp(2rem, -2.695rem + 6.829vw, 5.5rem);
}

/* Challenge 04 specific text styling */
.challenge-section-text-04 {
  padding-top:clamp(0rem, -10.02rem + 11.133vw, 3.34rem);
  width: auto;
  max-width: 44.313rem;
  flex: 1;
}

/* Challenge 04 stats row - 2 items in first row */
.challenge-stats-row-04 {
  display: flex;
  gap: 1.5rem; /* 25px */
  margin-top: 1rem;
  flex-shrink: 1
}

.challenge-stats-04 {
  /* Custom styles for Challenge 04 stats */
}

.challenge-stats-04-donation {
  margin-top: 1.25rem;
}

/* Challenge 04 large number (donation amount) */
.challenge-stats-number-04-large {
  font-size: clamp(4.25rem, 0.561rem + 5.366vw, 7rem); /* 120px */
  letter-spacing: -0.1rem; /* -1.2px */
  margin-left: clamp(0.625rem, 0.478rem + 0.601vw, 1.2rem);
}



.challenge-stats-annotations {
  position: static;
  order: 3;
  margin-left: clamp(0.313rem, 0.169rem + 0.588vw, 0.625rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Challenge 02 specific annotations positioning */
.challenge-stats-annotations-02 {
  margin-left: clamp(0.313rem, 0.169rem + 0.588vw, 0.625rem);
}

.challenge-stats-annotations-02 .challenge-stats-note {
  margin-left: 1.6rem;
}

.challenge-stats-note {
  position: static;
  display: block;
  margin-top: 1.225rem;
  margin-left: 1.3rem;
  color: #000;
  text-align: right;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.688rem, 0.766rem + -0.065vw, 0.75rem);
  font-weight: 400;
  line-height: normal;
}

.challenge-stats-unit {
  position: static;
  display: block;
  margin-top: -0.6rem;
  color: #BA2A20;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 0.931rem + 1.307vw, 2.5rem);
  font-weight: 700;
  line-height: normal;
}

/* Challenge 04 unit (着) */
.challenge-stats-unit-04-chaku {
  margin-top: 2rem;
}

/* Challenge 04 unit (円) */
.challenge-stats-unit-04 {
  font-size: clamp(2rem, 0.659rem + 1.951vw, 3rem); /* 47px */
  font-weight: 900;
  margin-top: 2rem;
}

/* Challenge Section 05 - Same layout as Challenge 01 and 03 */
.challenge-section-05 {
  margin-top: clamp(6.25rem, 4.497rem + 7.19vw, 13.125rem);
}

/* Challenge 05 specific text styling */
.challenge-section-text-05 {
  padding-top: clamp(0rem, -10.229rem + 14.878vw, 7.625rem);
}

/* Challenge 05 specific stats styling */
.challenge-stats-05 {
  margin-top: clamp(1.75rem, 0.858rem + 3.66vw, 5.25rem);
}

/* Challenge 05 specific number styling */
.challenge-stats-number-05 {
  font-size: clamp(1.5rem, 1.245rem + 1.046vw, 2.5rem);
}

.challenge-stats-period {
  margin-top: 2rem;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

/* Challenge 04 period text */
.challenge-stats-period-04 {
  margin-top: 1rem; /* 16px */
  text-align: right;
 
}

/* Challenge 02 specific period text styling */
.challenge-stats-period-02 {
  margin-top: 1rem;
  text-align: left;
  margin-left: 16%;
}

.challenge-stats-period-break {
  display: none;
}

@media screen and (max-width: 1600px) {
  /* Challenge 04 - Change to 3 column layout */
  .challenge-stats-row-04 {
    flex-direction: column;
    gap: 1.25rem; /* 20px */
    margin-top: 3.5rem;
  }

  .challenge-stats-row-04 .challenge-stats-04 {
    margin-top: 0;
  }
  .challenge-stats-unit-04-chaku {
    margin-top: 1rem;
    margin-left: -0.3rem;
  }
  
  /* Challenge 04 unit (円) */
  .challenge-stats-unit-04 {
    margin-top: 1rem;
    margin-left: -0.3rem;
  }
 
}

@media screen and (max-width: 1400px) {
  .challenge-stats-period-break {
    display: inline; /* Show line break on screens <= 1400px */
  }
  .challenge-stats-period {
    margin-top: 1.5rem;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: normal;
    text-align: left;
  }
  .challenge-stats-note {
    margin-left: 0.9rem;
  }
  .challenge-stats-annotations-02 .challenge-stats-note {
    margin-left: 1.2rem;
  }
  .challenge-stats-period-02 {
    margin-top: 1rem;
}
.challenge-stats-period-04 {
  margin-top: 1rem; /* 16px */
  text-align: right;
  margin-right: 0;
}
}



@media screen and (max-width: 1100px) {
  .challenge-section {
    margin-top: 100px;
  }

  .challenge-section-container {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
  }

  .challenge-section-content {
    flex-direction: column;
    width: clamp(19.375rem, 0.030rem + 79.365vw, 38.125rem);
    gap: clamp(2.5rem, 1.432rem + 4.38vw, 6.688rem);
  }

  /* Challenge 02 also uses column layout on mobile */
  .challenge-section-02 .challenge-section-content {
    flex-direction: column;
  }

  /* Challenge 04 also uses column layout on mobile */
  .challenge-section-04 .challenge-section-content {
    flex-direction: column;
    gap: clamp(2.5rem, 1.432rem + 4.38vw, 6.688rem);
  }

  .challenge-section-text {
    width: 100%;
    padding-top: 0;
    order: 2;
  }

  .challenge-section-number {
    font-weight: 400;

  }

  .challenge-section-title {
    margin-top: 0.25rem;
  }

  .challenge-section-description {
    color: #050505;
    margin-top: 1.25rem;
  }

  .challenge-section-image {
    width: 100%;
    order: 1;
  }

  /* Stats adjustments for mobile */
  .challenge-stats {
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }

  .challenge-stats-02 {
    margin-top: 0.938rem; /* 15px for mobile */
  }

  /* Challenge 04 mobile styles */
  .challenge-stats-row-04 {
    flex-direction: column;
    gap: 1.25rem; /* 20px for mobile */
    margin-top: 4.5rem;
  }

  .challenge-stats-04 {
    margin-top: 0;
  }

  .challenge-stats-04-donation {
    margin-top: 1.25rem; /* 20px for mobile */
  }

  .challenge-stats-number-04-large {
    font-size: clamp(2.8rem, 1.968rem + 3.412vw, 6.063rem); /* Same as Challenge 01 */
    letter-spacing: clamp(-0.061rem, -0.022rem + -0.032vw, -0.03rem);
  }

  .challenge-stats-unit-04 {
    font-size: clamp(1.25rem, 0.931rem + 1.307vw, 2.5rem); /* Same as Challenge 01 */
    font-weight: 700;
    margin-top: 0.313rem;
  }

  .challenge-stats-period-04 {
    margin-top: 1rem;
    text-align: left;
  }

  .challenge-stats-period {
    margin-top: 1rem; /* 28px for mobile */
    line-height: 1.25rem; /* 20px */
    text-align: left;
  }

  .challenge-stats-period-break {
    display: inline; /* Show line break on mobile */
  }

  .challenge-stats-label {
    position: static;
    transform: none;
    order: 1;
  }

  .challenge-stats-number {
    position: static;
    order: 2;
    margin-top: 0;
    margin-left: clamp(0.625rem, -0.234rem + 3.522vw, 2.188rem);
  }

  .challenge-stats-annotations {
    position: static;
    order: 3;
    margin-left: 0.3rem;
    /* 「件」を「28」のベースラインに合わせる */
    align-self: flex-end;
    justify-content: flex-end;
    margin-bottom: clamp(0.375rem, 0.306rem + 0.282vw, 0.5rem);
  }

  .challenge-stats-note {
    position: static;
    display: block;
  }

  .challenge-stats-unit {
    position: static;
    display: block;
    margin-top: -4px;
    margin-left: 0;
  }
  .challenge-stats-note {
    margin-left: 0.1rem;
  }
  .challenge-stats-annotations-02 .challenge-stats-note {
    margin-left: 0.3rem;
  }
  .challenge-stats-note {
    margin-top: 0rem;
  }
  .challenge-stats-period-02 {
    margin-top: 1rem;
    margin-left: 0;
  }

  /* Challenge 04 annotations - margin-bottomを無効化 */
  .challenge-stats-04 .challenge-stats-annotations {
    margin-bottom: 2px;
  }

  /* Challenge 04 unit (着) - ベースライン揃え */
  .challenge-stats-unit-04-chaku {
    margin-top: 0;
  }

  /* Challenge 04 unit (円) - ベースライン揃え */
  .challenge-stats-unit-04 {
    margin-top: 0;
  }
/* Challenge 04 large number (donation amount) */
.challenge-stats-number-04-large {
  font-size: clamp(2.8rem, 1.968rem + 3.412vw, 6.063rem); 
  letter-spacing: -0.1rem; /* -1.2px */
  margin-left: clamp(0.625rem, -0.234rem + 3.522vw, 2.188rem);
}
}

/* ===================================
   Challenge Closing Section
   =================================== */

.challenge-closing {
  margin-top: clamp(10rem, 9.836rem + 0.673vw, 10.313rem); /* 160px at 390px, 165px at 1920px */
}

.challenge-closing-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.challenge-closing-title {
  width: 100%;
  padding-left: clamp(4rem, -0.193rem + 17.203vw, 20.45rem);
    padding-right: clamp(3rem, -1.619rem + 18.949vw, 21.12rem);
  color: #BA2A20;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.875rem, 1.311rem + 2.288vw, 3.125rem); /* 30px at 390px, 50px at 1920px */
  font-weight: 700;
  line-height: normal;
  text-align: center;
  letter-spacing: 0; /* 0 for desktop */
}

.challenge-closing-title-break {
  display: none; /* Hidden by default (769px+) */
}

.challenge-closing-description {
  margin-top: clamp(1.25rem, 1.123rem + 0.523vw, 2.188rem); /* 20px at 390px, 35px at 1920px */
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 0.869rem + 0.523vw, 1.25rem); /* 16px at 390px, 20px at 1920px */
  font-weight: 500; /* 500 for desktop */
  line-height: normal; /* normal for desktop */
  letter-spacing: 0; /* 0 for desktop */
  text-align: center;
  width: clamp(38.125rem, 13.488rem + 51.26vw, 75rem);
}

@media screen and (max-width: 768px) {
  .challenge-closing {
    margin-top: 6.667rem; /* 約106.67px (160pxの2/3) */
  }

  .challenge-closing-title {
    line-height: 3rem; /* 48px line-height on mobile */
    letter-spacing: 0.19rem; /* 3.6px */
  }

  .challenge-closing-title-break {
    display: inline; /* Show line break on mobile */
  }

  .challenge-closing-description {
    color: #050505;
    font-weight: 400; /* 400 on mobile */
    line-height: 180%;
    letter-spacing: 0.019rem; /* 0.32px */
    width: clamp(19.375rem, 0.030rem + 79.365vw, 38.125rem);
    text-align: left;
  }
  .challenge-scrolling-text {
    -webkit-text-stroke-width: 1px; /* ストローク幅を細く調整 */
  }
}

/* Challenge 03 and 05: margin-left adjustment for 1100px以下 */
@media screen and (max-width: 1100px) {
  .challenge-stats-number-03,
  .challenge-stats-number-05 {
    margin-left: clamp(1.25rem, 0.735rem + 2.114vw, 2.188rem);
  }
}

/* ============================
   Challenge 01: 統計情報を非表示
============================ */
.challenge-section-01 .challenge-stats,
.challenge-section-01 .challenge-stats-period {
  display: none;
}

/* ============================
   Challenge 01: テキストを画像の垂直中央に配置（デスクトップのみ）
============================ */
@media screen and (min-width: 769px) {
  .challenge-section-01 .challenge-section-content {
    align-items: center;
  }

  .challenge-section-01 .challenge-section-text {
    padding-top: 0;
  }
}

/* ============================
   Challenge 03: 統計情報を非表示
============================ */
.challenge-section-03 .challenge-stats {
  display: none;
}

/* ============================
   Challenge 03: テキストを画像の垂直中央に配置（デスクトップのみ）
============================ */
@media screen and (min-width: 769px) {
  .challenge-section-03 .challenge-section-content {
    align-items: center;
  }

  .challenge-section-03 .challenge-section-text-03 {
    padding-top: 0;
  }
}

/* ============================
   Challenge 05: 統計情報を非表示
============================ */
.challenge-section-05 .challenge-stats {
  display: none;
}

/* ============================
   Challenge 05: テキストを画像の垂直中央に配置（デスクトップのみ）
============================ */
@media screen and (min-width: 769px) {
  .challenge-section-05 .challenge-section-content {
    align-items: center;
  }

  .challenge-section-05 .challenge-section-text-05 {
    padding-top: 0;
  }
}

/* ============================
   Challenge 05: 改行制御
============================ */
@media screen and (max-width: 1505px) {
  .challenge-05-break-01 {
    display: none;
  }
}

/* ============================
   Challenge 04: ふるさと納税バッジ画像
============================ */
.challenge-stats-number-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  order: 2;
  margin-left: clamp(0.625rem, 0.402rem + 0.915vw, 1.5rem);
}

.challenge-stats-number-wrapper .challenge-stats-number {
  margin-left: 0;
}

.challenge-furusato-badge {
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(8.269rem, 8.035rem + 0.96vw, 9.1875rem);
  height: clamp(2.306rem, 2.241rem + 0.268vw, 2.5625rem);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.25));
  object-fit: contain;
}

@media screen and (max-width: 1100px) {
  .challenge-stats-number-wrapper {
    margin-left: clamp(0.625rem, -0.234rem + 3.522vw, 2.188rem);
  }

  .challenge-furusato-badge {
    filter: drop-shadow(0 0 7.2px rgba(0, 0, 0, 0.25));
  }
}

/* ============================
   1440px ピンポイント調整
============================ */
@media screen and (width: 1440px) {
  .challenge-section-container {
    padding-right: 3.4rem;
  }
}

/* ============================
   Challenge 02: タイトル改行制御
   1439px以下〜1401pxまで「支える」を改行
============================ */
.challenge-02-title-break {
  display: none;
}

@media screen and (max-width: 1479px) and (min-width: 1101px) {
  .challenge-02-title-break {
    display: inline;
  }
}