/* ========================================
   新着情報一覧 PC
======================================== */

.topics-page {
  width: 100%;
  background-color: #fff;
}

/* MV
  ---------------------------------------- */

.topics-mv {
  width: 100%;
  overflow: hidden;
}

.topics-mv picture,
.topics-mv img {
  display: block;
  width: 100%;
}

.topics-mv img {
  height: auto;
}

/* コンテンツ幅
  ---------------------------------------- */

.topics-inner {
  width: calc(100% - 80px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 76px 0 120px;
  box-sizing: border-box;
}

/* ページタイトル
  ---------------------------------------- */

.topics-heading {
  margin-bottom: 78px;
  text-align: center;
}

.topics-heading__en {
  margin: 0 0 14px;
  color: #1d2d68;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 19px;
}

.topics-heading__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 18px 19px;
  color: #000;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 13.92px;
  text-indent: 13.92px;
}

.topics-heading__title::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 178px;
  height: 1px;
  background-color: #000;
  content: "";
  transform: translateX(-50%);
}

/* 各セクション
  ---------------------------------------- */

.topics-section {
  width: 100%;
}

.topics-section + .topics-section {
  margin-top: 82px;
}

.topics-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  margin-bottom: 26px;
}

/* PEGASYS LAB */

.topics-section__image-title {
  margin: 0;
  line-height: 0;
}

.topics-section__image-title img {
  display: block;
  width: 390px;
  height: auto;
}

/* お仕事日記 */

.topics-section__diary-title {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  color: #000;
  font-family: "Roboto Mono", "Noto Sans JP", monospace;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.topics-section__diary-icon {
  display: block;
  width: 54px;
  height: 51px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 新規導入機材 */

.topics-section__text-title {
  margin: 0;
  color: #000;
  font-family: "Roboto Mono", "Noto Sans JP", monospace;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

/* ブログを見るボタン
  ---------------------------------------- */

.topics-section__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 181px;
  height: 45px;
  border-radius: 5px;
  background-color: #000;
  color: #fff;
  font-family: "Roboto Mono", "Noto Sans JP", monospace;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.topics-section__button:hover {
  opacity: 0.7;
}

.topics-section__button-arrow {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  font-size: 0;
}

/* 記事一覧
  ---------------------------------------- */

.topics-list {
  width: 100%;
  border-top: 1px solid #d9d9d9;
}

.topics-list__item {
  margin: 0;
  border-bottom: 1px solid #d9d9d9;
}

.topics-list__link {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 30px;
  align-items: center;
  min-height: 57px;
  padding: 0 17px;
  color: #000;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.topics-list__link:hover {
  background-color: #f7f7f7;
}

.topics-list__date {
  color: #949494;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: -0.32px;
}

.topics-list__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #000;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: -0.32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 右矢印 */

.topics-list__arrow {
  position: relative;
  display: block;
  justify-self: end;
  width: 26px;
  height: 14px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.topics-list__arrow::before {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 25px;
  height: 2px;
  background-color: #9c9c9c;
  content: "";
  transform: translateY(-50%);
}

.topics-list__arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #9c9c9c;
  border-right: 2px solid #9c9c9c;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

/* 記事がない場合 */

.topics-list__empty {
  margin: 0;
  padding: 30px 17px;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  color: #949494;
  font-size: 16px;
  line-height: 1.7;
}

/* ========================================
   新着情報一覧 SP
======================================== */

@media screen and (max-width: 767px) {
  /* ページ全体
  ---------------------------------------- */

  .topics-page {
    width: 100%;
    overflow: hidden;
  }

  /* MV
  ---------------------------------------- */

  .topics-mv {
    width: 100%;
    height: 355px;
    overflow: hidden;
  }

  .topics-mv picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .topics-mv img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* コンテンツ
  ---------------------------------------- */

  .topics-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 37px 15px 80px;
    box-sizing: border-box;
  }

  /* ページタイトル
  ---------------------------------------- */

  .topics-heading {
    margin-bottom: 55px;
    text-align: center;
  }

  .topics-heading__en {
    margin: 0 0 19px;
    color: #263169;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .topics-heading__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #000;
    font-family: Roboto, "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 13.92px;
    text-indent: 13.92px;
  }

  .topics-heading__title::after {
    display: none;
  }

  /* 各セクション
  ---------------------------------------- */

  .topics-section {
    width: 100%;
  }

  .topics-section + .topics-section {
    margin-top: 62px;
  }

  .topics-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    margin-bottom: 46px;
  }

  /* PEGASYS LAB
  ---------------------------------------- */

  .topics-section__image-title {
    width: 303px;
    margin: 0;
    line-height: 0;
  }

  .topics-section__image-title img {
    display: block;
    width: 303px;
    height: 58px;
    object-fit: contain;
  }

  /* お仕事日記
  ---------------------------------------- */

  .topics-section__diary-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin: 0;
    color: #000;
    font-family: "Roboto Mono", "Noto Sans JP", monospace;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .topics-section__diary-icon {
    display: block;
    width: 54px;
    height: 51px;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* 新規導入機材
  ---------------------------------------- */

  .topics-section__text-title {
    margin: 0;
    color: #000;
    font-family: "Roboto Mono", "Noto Sans JP", monospace;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
  }

  /* ブログを見るボタン
  ---------------------------------------- */

  .topics-section__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 181px;
    height: 45px;
    margin-top: 35px;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-family: "Roboto Mono", "Noto Sans JP", monospace;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .topics-section__button-arrow {
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    font-size: 0;
  }

  /* 記事一覧
  ---------------------------------------- */

  .topics-list {
    width: 100%;
    border-top: 0;
    background-color: #fff;
  }

  .topics-list__item {
    margin: 0;
    border-bottom: 1px solid #d9d9d9;
  }

  .topics-list__link {
    position: relative;
    display: block;
    min-height: 111px;
    padding: 15px 62px 14px 16px;
    color: #000;
    text-decoration: none;
    box-sizing: border-box;
  }

  .topics-list__date {
    display: block;
    margin-bottom: 9px;
    color: #949494;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: -0.32px;
  }

  .topics-list__title {
    display: block;
    width: 100%;
    margin: 0;
    overflow: visible;
    color: #000;
    font-family: Roboto, "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.32px;
    text-overflow: clip;
    white-space: normal;
  }

  /* 右矢印
  ---------------------------------------- */

  .topics-list__arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    display: block;
    width: 26px;
    height: 16px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    transform: translateY(-50%);
  }

  .topics-list__arrow::before {
    position: absolute;
    top: 50%;
    right: 1px;
    width: 25px;
    height: 2px;
    background-color: #9c9c9c;
    content: "";
    transform: translateY(-50%);
  }

  .topics-list__arrow::after {
    position: absolute;
    top: 50%;
    right: 1px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #9c9c9c;
    border-right: 2px solid #9c9c9c;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  /* 記事がない場合
  ---------------------------------------- */

  .topics-list__empty {
    margin: 0;
    padding: 25px 16px;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    color: #949494;
    font-size: 16px;
    line-height: 1.7;
  }
}
