/* ============================================================
   新・技術・工法ページ (page-technology.php)
   ============================================================ */

/* 技術・工法TOPICSページ (page-technology-news.php) 背景色 */
body.page-template-page-technology-news {
  background-color: #ffffff;
}

/* 新・技術・工法ページ (page-technology.php) フォントカラー */
body.page-template-page-technology {
  color: #000000;
}



/* 竹中工務店リンク画像 */
.technology-frontLink {
  display: block;
  width: 100%;
  height: 148px;
  /* background-image: url(../../img/page/front/front_links_pic_2.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.3s;
  margin-bottom: 100px;
}

.technology-frontLink:hover {
  opacity: 0.6;
}

@media only screen and (max-width: 768px) {
  .technology-frontLink {
    height: 84px;
    
  }
}
@media only screen and (max-width: 480px) {
  .technology-frontLink {
    max-width: 300px;
    margin: 0 auto;
    
  }
}

/* 技術・工法TOPICSページ専用 */
.p-cards__date {
  font-size: 14px;
  color: #000000;
  margin-top: 20px;
}

body.page-template-page-technology .p-cards__title {
  margin-top: 8px;
  letter-spacing: 0.01em;
}

@media only screen and (max-width: 767px) {
  .p-cards__date {
    font-size: 12px;
    margin-top: 7px;
  }
}

.p-cards__text.news-topics {
  margin-top: 8px !important;
  letter-spacing: 0.01em;
}

.p-topics--second .p-cards .p-cards__text.news-topics {
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .p-cards__text.news-topics {
    margin-top: 10px !important;
  }
}

/* カテゴリー一覧 */
.p-technology-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-technology-categories__item {
  flex: 0 0 auto;
}

.p-technology-categories__link {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #003a80;
  border-radius: 4px;
  color: #003a80;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s;
}

.p-technology-categories__link:hover {
  background-color: #003a80;
  color: #fff;
}

.p-technology-categories__count {
  font-size: 12px;
  font-weight: normal;
  margin-left: 4px;
}
.technology-topics {
  padding-bottom: 0 !important;
}
.technology-padding {
  padding-bottom: 18px;
}
@media only screen and (max-width: 768px) {
  .technology-padding {
    padding-bottom: 35px;
  }
}