@charset "utf-8";

.p-media__item-inner {
  display: flex;
  gap: 3rem;
  border-bottom: 2px solid #DDDDDD;
  padding-bottom: 40px;
}
@media screen and (max-width: 999px) {
  .p-media__item-inner {
    display: block;
    padding-bottom: 24px;
  }
}
.p-media__item + .p-media__item {
  padding-top: 38px;
}
@media screen and (max-width: 999px) {
  .p-media__item + .p-media__item {
    padding-top: 22px;
  }
}

.p-media__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding-top: 4px;
  padding-left: 7px;
  flex-direction: column;
}
@media screen and (max-width: 999px) {
  .p-media__meta {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0;
    gap: 30px;
    flex-direction: row;
  }
}
.p-media__genre,
.p-media__date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 999px) {
  .p-media__genre,
  .p-media__date {
    letter-spacing: 0.05em;
  }
}

.p-media__tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1em;
  background: #626262;
  border-radius: 2px;
  min-width: 8em;
  padding-inline: 1em;
  width: fit-content;
  height: 2em;
}
.--blue .p-media__tag {
  background-color: #4F8FBD;
}
.--yellow .p-media__tag {
  background-color: #FFC400;
}
.--red .p-media__tag {
  background-color: #f03;
}
@media screen and (max-width: 999px) {
  .p-media__tag {
    font-size: 12px;
  }
}

.p-media__text {
  width: 100%;
}
@media screen and (max-width: 999px) {
  .p-media__text {
    width: 100%;
    margin-top: 12px;
  }
}
.p-media__text h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: 1em;
  line-height: 1.5;
}
@media screen and (max-width: 999px) {
  .p-media__text h3 {
    margin-top: 1rem;
    font-size: 18px;
  }
}

.p-media__main {
  max-width: 1200px;
  margin: 0 auto;
}

.p-media__pagination {
  margin-top: 50px;
}
.p-media__thumb {
  width: min(300px, 100%);
  background: url(../img/media/thumb_00.png) no-repeat center center/cover;
  aspect-ratio: 16 / 9;
}
.--blue .p-media__thumb {
  background: url(../img/media/thumb_01.png) no-repeat center center/cover;
}
.--yellow .p-media__thumb {
  background: url(../img/media/thumb_02.png) no-repeat center center/cover;
}
.--red .p-media__thumb {
  background: url(../img/media/thumb_03.png) no-repeat center center/cover;
}
@media screen and (max-width: 999px) {
  .p-media__thumb {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}
.p-media__thumb figure,
.p-media__thumb iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}