/* ============================================================
   技術・工法 カテゴリー一覧ページ
   ============================================================ */

/* ============================================================
   パンくず・MVタイトル（front-page.cssより移植）
   ============================================================ */

.p-mv-title {
  margin-top: 90px;
}

.p-breadcrumbs__lists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 34px;
}

.p-breadcrumbs__list img {
  vertical-align: baseline;
}
@media only screen and (max-width: 768px) {
  .p-breadcrumbs__list img {
    width: 10px;
    height: 11px;
  }
}

.p-breadcrumbs__list {
  font-size: 16px;
}
@media only screen and (max-width: 768px) {
  .p-breadcrumbs__list {
    font-size: 12px;
  }
}

.p-breadcrumbs__list.-bold {
  font-size: 16px;
  font-weight: 700;
}
@media only screen and (max-width: 768px) {
  .p-breadcrumbs__list.-bold {
    font-size: 12px;
  }
}

.p-breadcrumbs__list.-gray {
  font-size: 16px;
  color: #a5a5a5;
}
@media only screen and (max-width: 768px) {
  .p-breadcrumbs__list.-gray {
    font-size: 12px;
  }
}

/* ============================================================
   カード一覧（front-page.cssより移植）
   ============================================================ */

.p-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 40px;
  -webkit-column-gap: 32px;
     -moz-column-gap: 32px;
          column-gap: 32px;
  margin-top: 26px;
}
@media only screen and (max-width: 768px) {
  .p-cards {
    margin-top: 10px;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
    row-gap: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .p-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-cards__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.p-cards__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-decoration: none;
  width: 100%;
}

.p-cards__link .p-cards__img img {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.p-cards__link:hover .p-cards__img img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.p-cards__link:not(:hover) .p-cards__img img {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.p-cards__img {
  position: relative;
  height: 153px;
  width: 100%;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .p-cards__img {
    height: 230px;
  }
}
@media only screen and (max-width: 768px) {
  .p-cards__img {
    height: 170px;
  }
}
@media only screen and (max-width: 480px) {
  .p-cards__img {
    height: 88px;
  }
}

.p-cards__img img {
  position: absolute;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.p-cards__title {
  font-weight: 700;
  margin-top: 20px;
}
@media only screen and (max-width: 768px) {
  .p-cards__title {
    font-size: 14px;
    margin-top: 7px;
  }
}

.p-cards__text {
  font-size: 16px;
  margin-top: 12px;
  
}
@media only screen and (max-width: 768px) {
  .p-cards__text {
    font-size: 14px;
    margin-top: 6px;
  }
}

/* ============================================================
   TOPICSセクション（front-page.cssより移植）
   ============================================================ */

.p-topics--second {
  padding-bottom: 100px;
  padding-top: 70px;
}
@media only screen and (max-width: 768px) {
  .p-topics--second {
    padding-top: 24px;
  }
}

.p-topics--second .p-topics__title {
  position: relative;
  font-size: 40px;
  font-weight: 700;
  padding-left: 24px;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-topics__title {
    font-size: 18px;
    padding-left: 16px;
  }
}

.p-topics--second .p-topics__title::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 41px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0;
  background-color: #861c3c;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-topics__title::after {
    width: 7px;
    height: 23px;
  }
}

.p-topics--second .p-cards {
  margin-top: 19px;
  padding: 40px 0 56px;
  /* border-top: solid 2px #707070; */
  border-bottom: solid 2px #707070;
  row-gap: 40px;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-cards {
    margin-top: 13px;
    padding: 25px 0 41px;
    border-top: solid 1px #707070;
    border-bottom: solid 1px #707070;
    row-gap: 30px;
  }
}

.p-topics--second .p-cards .p-cards__title {
  font-size: 16px;
  margin-top: 15px;
  font-weight: 700;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-cards .p-cards__title {
    font-size: 12px;
    margin-top: 7px;
  }
}

.p-topics--second .p-cards .p-cards__text {
  font-size: 16px;
  margin-top: 10px;
  font-weight: 500;
  color: #000000;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-cards .p-cards__text {
    font-size: 12px;
    margin-top: 5px;
  }
}

.p-topics--second .p-cards .p-cards__text.-no_margin {
  margin-top: 0;
}

.p-topics--second .p-topics__pagination {
  margin-top: 66px;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-topics__pagination {
    margin-top: 43px;
  }
}

.p-topics--second .p-topics__pagination a {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 20px;
  background-color: #e6e6e6;
  border-radius: 1px;
  margin: 0 3.5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.p-topics--second .p-topics__pagination a:hover {
  background-color: #861c3c;
  color: #ffffff;
}

.p-topics--second .p-topics__pagination .page-numbers.current {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 20px;
  background-color: #861c3c;
  color: #ffffff;
  border-radius: 1px;
  margin: 0 3.5px;
}

.p-topics--second .p-topics__pagination .next.page-numbers {
  display: none;
}

.p-topics--second .p-cards__notiong {
  margin-top: 20px;
  padding-bottom: 40px;
  font-size: 18px;
}
@media only screen and (max-width: 768px) {
  .p-topics--second .p-cards__notiong {
    font-size: 12px;
    margin-top: 10px;
  }
}

/* MV */
.technology_category {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
}

.technology_category__bg {
  display: block;
  width: 100%;
}

.technology_category__bg img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 1440px) {
  .technology_category__bg {
    height: 467px;
  }

  .technology_category__bg img {
    height: 100%;
    object-fit: cover;
  }
}

.technology_category .inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 0;
}

.technology_category__title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0em;
  color: #000000;
  margin: 0;
  position: relative;
  display: inline-block;
  padding: 35px 240px 35px 0;
  z-index: 1;
}

.technology_category__title::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 200px;
  height: 3px;
  background: #861C3C;
}
@media screen and (max-width: 768px) {
  .technology_category__title::after {
    width: 77px;
  }
}

.technology_category__title::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: 0;
  background: #ffffff;
  transform: skewX(40deg);
  transform-origin: bottom right;
  z-index: -1;
}
@media screen and (max-width: 1024px) {
  .technology_category__title {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .technology_category__title {
    font-size: 18px;
    padding: 11px 80px 11px 0;
  }
}

.p-tech-list {
  padding: 130px 0 60px;
}

@media screen and (max-width: 768px) {
  .p-tech-list {
    padding: 30px 0 60px;
  }
}
.p-tech-list__table {
  width: 100%;
  border-collapse: collapse;
}

.p-tech-list__table,
.p-tech-list__table tbody,
.p-tech-list__table tr,
.p-tech-list__table td,
.p-tech-list__table::before,
.p-tech-list__table::after,
.p-tech-list__row::before,
.p-tech-list__row::after,
.p-tech-list__col-img::before,
.p-tech-list__col-img::after,
.p-tech-list__col-body::before,
.p-tech-list__col-body::after {
  border: none;
}


/* PC: tr同士にmarginは効かないのでtdにpaddingで代替 */
.p-tech-list__row--sp + .p-tech-list__row--pc td {
  padding-top: 80px;
}

/* 画像カラム */
.p-tech-list__col-img {
  width: 375px;
  min-width: 260px;
  padding: 0;
  vertical-align: top;
}

.p-tech-list__img-link {
  display: block;
  height: 257px;
  overflow: hidden;
}

.p-tech-list__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.p-tech-list__img-link:hover .p-tech-list__img {
  opacity: 0.85;
}

/* 本文カラム */
.p-tech-list__col-body {
  padding: 0;
  vertical-align: top;
  height: 1px; /* td内でheight:100%を有効にするためのトリック */
}

.p-tech-list__col-body-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-left: 58px;
}

.p-tech-list__body {
  padding: 0;
}

.p-tech-list__title {
  font-size: 21px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 24px;
  color: #000000;
}

.p-tech-list__text {
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}

/* カタログダウンロードエリア */
.p-tech-list__catalogs {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 23px 24px 12px 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid #707070;
}

.p-tech-list__catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #861C3C;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.p-tech-list__catalog-btn:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.p-tech-list__catalog-icon {
  width: 18px;
  height: auto;
  vertical-align: middle;
}

/* 投稿なし */
.p-tech-list__nothing {
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* PC/SP 切り替え */
.p-tech-list__row--sp {
  display: none;
}

/* SP用レイアウト */
.p-tech-list__col-sp {
  padding: 0;
}

.p-tech-list__col-sp .p-tech-list__img {
  width: 100%;
  height: auto;
  aspect-ratio: 375 / 257;
  object-fit: cover;
}

.p-tech-list__col-sp .p-tech-list__title {
  margin-top: 16px;
}

.p-tech-list__col-sp .p-tech-list__catalogs {
  justify-content: flex-start;
  padding-left: 0;
}

@media screen and (max-width: 768px) {
  .p-tech-list__row--pc {
    display: none;
  }

  /* SP: display:blockになるのでmargin-topが有効 */
  .p-tech-list__row--pc + .p-tech-list__row--sp {
    margin-top: 50px;
  }

  .p-tech-list__catalogs {
    border-top: none;
  }

  .p-tech-list__row--sp {
    display: table-row;
  }

  .p-tech-list__table,
  .p-tech-list__table tbody,
  .p-tech-list__row--sp,
  .p-tech-list__col-sp {
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .p-tech-list__title {
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 21px;
  }

  .p-tech-list__text {
    font-size: 14px;
  }

  .p-tech-list__catalogs {
    gap: 19px;
  }
}
