/*
*********************************************************
#section-challenge .challenge-present-box（プレゼント）
*********************************************************
*/

/* タイトル */
#section-challenge .h2ttl h2 {
  max-width: 685px;
  margin-inline: auto;
  margin-block-end: 3.2rem;
  line-height: 0;
}

#section-challenge .h2ttl .date {
  max-width: 455px;
  margin-inline: auto;
  margin-block-end: 3.2rem;
  line-height: 0;
}

#section-challenge .challenge-present-box {
  overflow: hidden;
  max-width: 1130px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  background: linear-gradient(0deg, rgba(242, 242, 242, 1) 30%, rgba(215, 215, 214, 1) 100%);
  border-radius: var(--size16);
  padding: var(--size24) var(--size16) 0 var(--size40);
}

#section-challenge .challenge-present-box-ttl {
  font-size: 34px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  padding-bottom: var(--size8);
}

#section-challenge .challenge-present-box-inner {
  display: grid;
  grid-template-columns: minmax(0, 380px) auto auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0;
}

#section-challenge .challenge-present-box-name {
  grid-column: 1;
  grid-row: 1;
  font-size: min(2.6vw, 34px);
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-top: var(--size24);
}

#section-challenge .challenge-present-box-note {
  width: 100%;
  max-width: 380px;
  grid-column: 1;
  grid-row: 2;
  font-size: 10px;
  text-align: justify;
  line-height: 2;
  letter-spacing: -0.02em;
  align-self: end;
  justify-self: start;
  padding: var(--size8) 0 var(--size24);
}

#section-challenge .challenge-present-box-photo {
  grid-column: 2;
  grid-row: 1 / 3;
  width: clamp(200px, 29.2vw, 330px);
  align-self: center;
  margin-left: var(--size16);
}

#section-challenge .challenge-present-box-photo-image {
  grid-column: 3;
  grid-row: 1 / 3;
  width: clamp(160px, 29.2vw, 330px);
  align-self: end;
  margin-bottom: max(-60px, -3.6vw);
}

@media (min-width: 769px) and (max-width: 1160px) {
  #section-challenge .challenge-present-box-ttl {
    font-size: 2.8vw;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  #section-challenge .challenge-present-box-photo-image {
    align-self: center;
    margin-bottom: -8px;
  }
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media (max-width: 768px) {

  /* タイトル */
  #section-challenge .h2ttl h2 {
    width: min(100%, 670px);
    margin-inline: auto;
    margin-block-end: 4.48%;
    line-height: 0;
  }

  #section-challenge .h2ttl .date {
    width: 67.91%;
    margin-inline: auto;
    margin-block-end: 4.48%;
    line-height: 0;
  }

  #section-challenge .challenge-present-box {
    max-width: 100%;
    text-align: center;
    margin-top: 0;
    padding: var(--size24) var(--size16);
  }

  #section-challenge .challenge-present-box-ttl {
    font-size: clamp(14px, 2.571px + 3.571vw, 30px);
    padding-bottom: 0;
  }

  #section-challenge .challenge-present-box-inner {
    grid-template-columns: 6fr 4fr;
    grid-template-rows: auto auto auto;
  }

  #section-challenge .challenge-present-box-name {
    grid-column: 1 / 3;
    grid-row: 1;
    font-size: clamp(22px, 6.286px + 4.911vw, 44px);
    margin-top: var(--size8);
    margin-bottom: var(--size8);
  }

  #section-challenge .challenge-present-box-photo {
    grid-column: 1;
    grid-row: 2;
    width: 96%;
    margin: 0 auto;
  }

  #section-challenge .challenge-present-box-photo-image {
    grid-column: 2;
    grid-row: 2;
    width: 96%;
    align-self: center;
    justify-self: end;
    margin: 0;
  }

  #section-challenge .challenge-present-box-note {
    grid-column: 1 / 3;
    grid-row: 3;
    align-self: start;
    max-width: 100%;
    font-size: clamp(11px, 2.9vw, 16px);
    margin-top: var(--size16);
    padding: 0;
  }
}

@media (max-width: 320px) {
  #section-challenge .challenge-text-box-lead {
    font-size: 11px;
  }
}


