@charset "UTF-8";
@font-face {
  font-family: "Helvetica";
  src: url("../font/Helvetica.ttf") format("truetype");
}
/* ▼▼▼ トピックス
=====================================*/
.topics__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 24rem;
}

.topics__item a {
  width: 100%;
  padding-bottom: 24rem;
  border-bottom: max(1px, 1rem) solid #efeaea;
  position: relative;
}
@media screen and (max-width: 767px) {
  .topics__item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 14rem 16rem;
  }
}
.topics__item a::after {
  content: "";
  width: 0;
  height: 1rem;
  background: #DE0A0A;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
@media (any-hover: hover) {
  .topics__item a:hover::after {
    -webkit-animation: topics-line-in 0.5s ease forwards;
            animation: topics-line-in 0.5s ease forwards;
  }
  .topics__item a:not(:hover)::after {
    -webkit-animation: topics-line-out 0.5s ease forwards;
            animation: topics-line-out 0.5s ease forwards;
  }
}
@-webkit-keyframes topics-line-in {
  0% {
    width: 0;
    margin-left: 0;
    margin-right: auto;
  }
  100% {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
  }
}
@keyframes topics-line-in {
  0% {
    width: 0;
    margin-left: 0;
    margin-right: auto;
  }
  100% {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
  }
}
@-webkit-keyframes topics-line-out {
  0% {
    width: 100%;
    margin-left: auto;
    margin-right: 0;
  }
  100% {
    width: 0;
    margin-left: auto;
    margin-right: 0;
  }
}
@keyframes topics-line-out {
  0% {
    width: 100%;
    margin-left: auto;
    margin-right: 0;
  }
  100% {
    width: 0;
    margin-left: auto;
    margin-right: 0;
  }
}

.topics__item-date {
  color: #908989;
  font-family: "Outfit", sans-serif;
  font-size: max(12px, 13rem);
  line-height: 1.3076923077;
}
@media screen and (max-width: 767px) {
  .topics__item-date {
    color: #2C2C2C;
  }
}

.topics__item-title-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30rem;
  margin-top: 13rem;
}
@media screen and (max-width: 767px) {
  .topics__item-title-wrap {
    display: contents;
  }
}

.topics__item-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* 行数を指定 */
}
@media screen and (max-width: 767px) {
  .topics__item-title {
    width: 100%;
    -webkit-line-clamp: 2; /* 行数を指定 */
  }
}

.topics__pagination {
  margin-top: 58rem;
}
@media screen and (max-width: 767px) {
  .topics__pagination {
    margin-top: 40rem;
  }
}

/* 詳細 */
.topics-detail {
  padding-top: 166rem;
}
@media screen and (max-width: 767px) {
  .topics-detail {
    padding-top: 64rem;
  }
}

.topics-detail__info-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__info-wrap {
    gap: 11rem;
  }
}

.topics-detail__date {
  color: #908989;
  font-family: "Outfit", sans-serif;
  font-size: max(12px, 13rem);
  line-height: 1.2307692308;
}

.topics-detail__title {
  font-size: 32rem;
  line-height: 1.6875;
  letter-spacing: 0.02em;
  padding-bottom: 10rem;
  border-bottom: 1px solid #efeaea;
  margin-top: 20rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__title {
    font-size: 22rem;
    line-height: 1.4545454545;
    margin-top: 37rem;
  }
}

.topics-detail__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 40rem;
  margin-top: 50rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 14rem;
    margin-top: 14rem;
  }
}

.topics-detail__slider {
  width: 480rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__slider {
    width: 100%;
  }
}

.topics-detail__photo {
  width: 100%;
  aspect-ratio: 480/330;
}

.topics-detail__text-wrap {
  width: 580rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__text-wrap {
    width: 100%;
  }
}

.topics-detail__text {
  line-height: 2;
}

.topics-detail__link {
  margin-top: 58rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__link {
    margin-top: 50rem;
  }
}
.topics-detail__link li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 767px) {
  .topics-detail__link li a {
    font-size: 16rem;
  }
}
@media (any-hover: hover) {
  .topics-detail__link li a:hover {
    color: #DE0A0A;
  }
}
.topics-detail__link a[href$=".pdf"]::after {
  content: "";
  width: 18rem;
  aspect-ratio: 18/20;
  background: url(../img/pdf-icon.svg) no-repeat center center/contain;
}

.topics-detail__btn-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40rem;
  margin-top: 160rem;
}
@media screen and (max-width: 767px) {
  .topics-detail__btn-wrap {
    gap: 17rem;
    margin-top: 50rem;
  }
}

.topics-detail__btn {
  font-size: max(14px, 15rem);
  font-weight: 500;
  line-height: 1.4;
}
.topics-detail__btn.--archive {
  padding-block: 7rem 8rem;
  padding-inline: 42rem;
  border: max(1px, 1rem) solid #DE0A0A;
  border-radius: max(18px, 18rem);
  color: #fff;
  background: #DE0A0A;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 767px) {
  .topics-detail__btn.--archive {
    font-size: max(12px, 15rem);
    padding-inline: 32rem;
  }
}
@media screen and (max-width: 374px) {
  .topics-detail__btn.--archive {
    padding-inline: 15px;
  }
}
@media (any-hover: hover) {
  .topics-detail__btn.--archive:hover {
    color: #DE0A0A;
    background: #fff;
  }
}
.topics-detail__btn.--prev::after {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}
@media (any-hover: hover) {
  .topics-detail__btn.--prev:hover::after {
    translate: -10rem;
  }
}
@media (any-hover: hover) {
  .topics-detail__btn.--next:hover::after {
    translate: 10rem;
  }
}
.topics-detail__btn.--prev, .topics-detail__btn.--next {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15rem;
  text-underline-offset: 5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 767px) {
  .topics-detail__btn.--prev, .topics-detail__btn.--next {
    font-size: max(12px, 13rem);
    line-height: 1.4615384615;
    gap: 6rem;
  }
}
.topics-detail__btn.--prev::after, .topics-detail__btn.--next::after {
  content: "";
  width: 18rem;
  aspect-ratio: 18/9;
  background-color: #2C2C2C;
  -webkit-mask: url(../img/topics-arrow.svg) no-repeat center/contain;
  mask: url(../img/topics-arrow.svg) no-repeat center/contain;
  -webkit-transition: inherit;
  transition: inherit;
}
@media screen and (max-width: 767px) {
  .topics-detail__btn.--prev::after, .topics-detail__btn.--next::after {
    width: 8rem;
  }
}
@media (any-hover: hover) {
  .topics-detail__btn.--prev:hover, .topics-detail__btn.--next:hover {
    color: #DE0A0A;
    text-decoration: underline;
  }
  .topics-detail__btn.--prev:hover::after, .topics-detail__btn.--next:hover::after {
    background-color: #DE0A0A;
  }
}