@charset "UTF-8";

.p-inc-article__container {
  margin-block: 48px;
  padding: 50px 4px 50.72px;
  border-block: 1px solid #ccc;
}

.p-inc-article__title-logo {
  width: 109px;
  height: 100px;
  margin-inline: auto;
}

.p-inc-article__title-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-inc-article__title-text {
  color: #790024;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.28;
  margin-top: 24px;
  display: block;
}

.p-inc-article__list {
  display: grid;
  gap: 15px;
  margin: 32px auto 0;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(155px, calc(50% - 7.5px)), 155px)
  );
  grid-auto-flow: row dense;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.p-inc-article__list-item-link {
  display: block;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.u-dsp-sp {
  display: block;
}

.p-inc-article__50th-link {
  border-radius: 10px;
  background-color: #7D0000;
  width: fit-content;
  padding: 23px 37.36px 23px 48.64px;
  color: #FFF;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 32px auto 0;
  transition: opacity 0.3s ease;
  position: relative;
  box-sizing: border-box;
}

.p-inc-article__50th-link::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("../img/arrow_red_filled_white.png");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (any-hover: hover) and (pointer: fine) {
  .p-inc-article__50th-link:hover {
    opacity: 0.8;
  }
}

@media screen and (min-width: 768px) {
  .p-inc-article__container {
    padding: 72px 25px 72.65px;
  }

  .p-inc-article__container-inner {
    max-width: 1236px;
    margin-inline: auto;
  }

  .p-inc-article__title-logo {
    width: 146px;
    height: 134.32px;
  }

  .p-inc-article__title-text {
    font-size: 16px;
    margin-top: 32px;
  }

  .p-inc-article__list {
    display: grid;
    gap: 32px;
    margin-top: 64px;
    grid-template-columns: repeat(auto-fit, minmax(285px, 285px));
    grid-auto-flow: row dense;
  }

  .p-inc-article__list-item-link {
    border-radius: 12px;
  }

  .p-inc-article__50th-link {
    padding: 21px 51.34px 21px 62.64px;
    font-size: 18px;
    margin-top: 64px;
  }

  .p-inc-article__50th-link::after {
    width: 22px;
    height: 22px;
    left: 28.11px;
  }

  .u-dsp-sp {
    display: none;
  }
}
