/* ----------------------------------------------------------------
    Pseudo element (Block)
----------------------------------------------------------------- */
.unq-footer-link__link::after {
  display: block;
  content: '';
}

.unq-footer-seminar__inner {
  margin-top: 60px;
}

.unq-footer-seminar__title {
  margin-bottom: 50px;
  padding: 0 24px;
  text-align: center;
}

@media only screen and (max-width: 812px) {
  .unq-footer-seminar__title {
    margin-bottom: 32px;
  }
}

.unq-footer-seminar__hdg2 {
  font-size: 42px;
  font-weight: normal;
}

@media only screen and (max-width: 812px) {
  .unq-footer-seminar__hdg2 {
    font-size: 24px;
  }
}

.unq-footer-carousel__inner {
  margin-inline: auto;
  max-width: 1240px;
  padding: 0 15px;
}

@media only screen and (max-width: 812px) {
  .unq-footer-carousel__inner {
    padding: 0;
  }
  .unq-footer-carousel__inner > * + * {
    margin-top: 0;
    margin-left: 0;
  }
}

.unq-carousel__list {
  margin-bottom: 0;
}

.unq-carousel__item-link {
  display: block;
  color: #333;
  text-decoration: none;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.unq-carousel__item-link:focus {
  border: 1px dotted #333;
  outline: none;
}

.unq-carousel__item-link:hover, .unq-carousel__item-link:active, .unq-carousel__item-link:focus {
  opacity: .8;
}

.unq-carousel__thumbnail-inner {
  box-sizing: border-box;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.unq-carousel__thumbnail-inner::before {
  display: block;
  padding-top: calc(256 / 380 * 100%);
  content: "";
}

.unq-carousel__thumbnail-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.unq-carousel__txt {
  margin: 20px 0 0;
}

.unq-carousel__txt-term {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.5;
}

.unq-carousel__txt-date,
.unq-carousel__text-time {
  padding: 4px 0;
}

.unq-carousel__txt-time {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 2px solid #e6e2e2;
}

.unq-carousel__txt-title {
  margin-top: 8px;
}

.unq-carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.unq-carousel__btn-prev,
.unq-carousel__btn-next {
  position: relative;
  width: 40px;
  height: 40px;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.unq-carousel__btn-prev::after,
.unq-carousel__btn-next::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: url("/asset/img/icon/angle-02.svg") no-repeat center center/contain;
  content: "";
}

.unq-carousel__btn-prev:hover, .unq-carousel__btn-prev:active, .unq-carousel__btn-prev:focus,
.unq-carousel__btn-next:hover,
.unq-carousel__btn-next:active,
.unq-carousel__btn-next:focus {
  opacity: .8;
}

.unq-carousel__btn-prev::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.unq-carousel__btn-next::after {
  transform: translate(-50%, -50%);
}

.unq-carousel__pagination {
  width: auto !important;
  margin: 0 38px;
  text-align: center;
}

.unq-carousel__pagination > .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 8px !important;
  border-radius: 50%;
  background-color: #004ea2;
}

.unq-carousel.is-inactive .unq-carousel__list {
  display: flex;
  flex-wrap: wrap;
}

.unq-carousel.is-inactive .unq-carousel__item {
  width: calc(33.333333% - 50px);
  max-width: calc(33.33333% - 50px);
  margin-left: 50px;
}

.unq-carousel.is-inactive .unq-carousel__btn {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .unq-carousel.is-inactive {
    padding-inline: 15px;
  }
}

@media only screen and (max-width: 812px) {
  .unq-carousel.is-inactive .unq-carousel__list {
    flex-direction: row;
  }
  .unq-carousel.is-inactive .unq-carousel__item {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .unq-carousel.is-inactive .unq-carousel__item:not(:first-child) {
    margin-top: 40px;
  }
  .unq-carousel .unq-carousel__txt {
    margin-top: 10px;
  }
  .unq-carousel .unq-carousel__txt-title {
    margin-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.75;
  }
  .unq-carousel .unq-carousel__btn {
    margin-top: 40px;
  }
  .unq-carousel .unq-carousel__btn-prev,
  .unq-carousel .unq-carousel__btn-next {
    width: 32px;
    height: 32px;
  }
  .unq-carousel .unq-carousel__btn-prev::after,
  .unq-carousel .unq-carousel__btn-next::after {
    width: 32px;
    height: 32px;
  }
  .unq-carousel .unq-carousel__pagination {
    margin: 0 24px;
  }
  .unq-carousel .unq-carousel__pagination > .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
  }
}

/* .unq-footer-link__link
----------------------------------------------- */
.unq-footer-link {
  margin-top: 60px;
}

@media only screen and (max-width: 812px) {
  .unq-footer-link {
    margin-top: 40px;
  }
}

.unq-footer-link__inner {
  text-align: center;
}

.unq-footer-link__link {
  margin-inline: auto;
  box-sizing: border-box;
  display: -ms-inline-grid;
  display: inline-grid;
  position: relative;
  place-content: center;
  min-height: 64px;
  padding: 10px 68px 10px 40px;
  border: 1px solid #004ea2;
  border-radius: 32px;
  background-color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.unq-footer-link__link::after {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 20px;
  height: 20px;
  transform: rotate(0deg) translateY(-50%);
  background: url("/asset/img/icon/angle-02.svg") no-repeat 0/100% 100%;
  transition: background-image 0.3s ease-out;
}

.unq-footer-link__link:hover, .unq-footer-link__link:active, .unq-footer-link__link:focus {
  background-color: #004ea2;
  color: #fff;
}

.unq-footer-link__link:hover::after, .unq-footer-link__link:active::after, .unq-footer-link__link:focus::after {
  background-image: url("/asset/img/icon/angle-04.svg");
}

@media only screen and (max-width: 812px) {
  .unq-footer-link__link {
    max-width: 306px;
    min-height: 50px;
  }
}
