#highlight {
  position: relative;
  background-color: var(--color-bg);
}

.highlight__container {
  font-size: 1.2rem;
  color: #fff;
  position: relative;
  width: 30rem;
  height: 32rem;
  border-radius: 1rem;
  padding: 2.5rem 0 1.75rem 0;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.highlight__tape {
  width: 11rem;
  position: relative;
  z-index: 50;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.highlight__button,
.highlight__button--blue {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #000;
  padding: 1rem 1.6rem;
  border-radius: 2rem;
  margin-top: 1rem;
  width: 20rem;
  position: relative;
  font-size: 1.3rem;
}

.highlight__button img,
.highlight__button--blue img {
  width: 2.4rem;
  filter: brightness(0);
  position: absolute;
  right: 1.6rem;
}

/* 注目情報1 野球部 */
#highlightBaseball .highlight__container {
  background-color: #414548;
  background-image: url(../img/highlight/highlight-bg.svg);
  background-size: cover;
}

.highlight__logo--baseball {
  width: 10rem;
  margin-top: 1rem;
}

#highlightBaseball .highlight__vs {
  background-color: #fff;
  border-radius: 2rem;
  color: #000;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0 1rem;
  display: inline-block;
  font-weight: bold;
  margin: 0.75rem 0;
}

.highlight__title--baseball {
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 1.2rem;
}

.highlight__icon--baseball {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 7rem;
}

.highlight__info--baseball {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.highlight__label--baseball {
  background-color: #fff;
  color: #000;
  padding: 0 0.5rem;
  border-radius: 0.3rem;
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* 注目情報2 マラソン部 */
.highlight__container--marathon {
  background-color: #019ec6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.highlight__logo--marathon {
  width: 9rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.highlight__title--marathon {
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  color: #019ec6;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.3rem 0;
  margin-top: 1rem;
}

.highlight__date--marathon {
  p:first-child {
    font-size: 2.2rem;

    span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid #ffffff;
      width: 2.5rem;
      height: 2.5rem;
      font-size: 1.3rem;
      line-height: 1;
      vertical-align: baseline;
      transform: translateY(-2px);
    }
  }

  p:last-child {
    font-size: 1.4rem;
  }
}

.highlight__text--marathon {
  font-size: 1.1rem;
}

/* highlightModal2の最初のdivを中央揃え */
#highlightModal2 .highlight-modal__content > div:first-child {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#highlightModal2 .highlight-modal__content > div:first-child p {
  margin-bottom: 0.5rem;
}

#highlightModal2 .highlight-modal__content > div:first-child img {
  margin: 2rem 0;
}

/* 注目情報モーダル */
#highlightModal1,
#highlightModal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

#highlightModal1.highlight-modal--visible,
#highlightModal2.highlight-modal--visible {
  opacity: 1;
  visibility: visible;
}

#highlightModal1 .highlight-modal__backdrop,
#highlightModal2 .highlight-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#highlightModal1 .highlight-modal__content,
#highlightModal2 .highlight-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: #fff;
  border-radius: 1.2rem;
  width: 30rem;
  max-height: 95vh;
  transition: transform 0.3s ease-in-out;
  padding: 1.5rem;
  text-align: center;
  overflow-y: auto;
}

#highlightModal1.highlight-modal--visible .highlight-modal__content,
#highlightModal2.highlight-modal--visible .highlight-modal__content {
  transform: translate(-50%, -50%) scale(1);
}

.highlight1__logo {
  width: 25rem;
  margin: 0 auto;
}

.highlight__modal--check {
  width: 1.5rem;
}

.highlight__date {
  display: inline-block;
  background-color: #414548;
  color: #ffffff;
  border-radius: 0.3rem;
  padding: 0 0.5rem;
  margin-right: 0.3rem;
  font-size: 1rem;
  transform: translateY(-3px);
}

.highlight__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #414548;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  line-height: 1;
  vertical-align: baseline;
  transform: translateY(-2px);
}

/* 注目情報1 キックオフイベント */
.highlight1__date--container {
  margin-top: 2rem;
  margin-bottom: 4rem;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0.5rem;
  margin-left: 3rem;
}

.highlight1__date--container p {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.highlight1__text--container {
  font-size: 1.2rem;
}

.highlight1__list {
  font-size: 1rem;
  margin: 3.5rem 0;

  li {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 1em;

    a {
      text-decoration: underline;
    }
  }

  li:last-child {
    margin-bottom: 0;
  }
}

.highlight1__sponsor {
  display: flex;
  font-size: 1.1rem;
  align-items: center;

  span {
    background-color: #414548;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #ffffff;
  }

  img {
    width: 5rem;
    height: 1.4rem;
  }
}

.highlight1__button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20rem;
  height: 4.5rem;
  background-color: #414548;
  color: #ffffff;
  border-radius: 2rem;
  font-size: 1.1rem;
  text-align: center;
  margin: 3rem auto 1rem auto;

  img {
    width: 2.5rem;
    position: absolute;
    right: 1.5rem;
  }
}

/* 注目情報2 マラソンイベント */
.highlight2__date--container {
  margin-top: 2rem;
  margin-bottom: 4rem;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0.5rem;
  margin-left: 3rem;
}

.highlight2__date--container p {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.highlight2__text--container {
  font-size: 1.2rem;
}

.highlight2__list {
  font-size: 1rem;
  margin: 3.5rem 0;

  li {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 1em;

    a {
      text-decoration: underline;
    }
  }

  li:last-child {
    margin-bottom: 0;
  }
}

.highlight2__sponsor {
  display: flex;
  font-size: 1.1rem;
  align-items: center;

  span {
    background-color: #414548;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #ffffff;
  }

  img {
    width: 5rem;
    height: 1.4rem;
  }
}

.highlight2__button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20rem;
  height: 4.5rem;
  background-color: #414548;
  color: #ffffff;
  border-radius: 2rem;
  font-size: 1.1rem;
  text-align: center;
  margin: 3rem auto 1rem auto;

  img {
    width: 2.5rem;
    position: absolute;
    right: 1.5rem;
  }
}

/* カルーセル */
.highlight__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0 2rem;
}

.highlight__carousel::-webkit-scrollbar {
  display: none;
}

.highlight__slide {
  flex: 0 0 calc(100% - 2rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

/* カルーセル ドットインジケーター */
.highlight__dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.highlight__dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
}

.highlight__dot--active {
  background-color: #000000;
}

.highlight1__note {
  /* margin: 1rem 0; */
  text-align: left;
  font-size: 1rem;
  margin-bottom: 2rem;

  h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
  }
}

.highlight1__note--important {
  color: red;
  font-weight: 500;
}

.highlight1__copyright {
  font-size: 0.8rem;
  color: #ffffff;
  align-self: flex-end;
  margin-right: 10rem;
  margin-top: -0.5rem;
}
