@charset "UTF-8";
/*============================================================================
	施工事例（一覧・フィルター・タグ）
==============================================================================*/

.page-section.news-wrapper {
  padding: 40px 0 60px;
}

.term-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.term-title-section {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25em;
}

.term-name {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.term-name a {
  color: #333;
  text-decoration: none;
}

h1.term-name {
  font-size: 18px;
}

.term-name a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.current-tag {
  font-size: 14px;
  color: #666;
}

.term-dropdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.term-dropdown select {
  min-width: 140px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 13px;
  color: #333;
}

@media screen and (max-width: 768px) {
  .term-dropdown {
    width: 100%;
  }

  .term-dropdown select {
    flex: 1;
    min-width: 0;
  }
}

.work-filter-accordion {
  border: 1px solid #e5e5e5;
  margin-bottom: 10px;
  background: #fff;
}

.work-filter-accordion summary {
  list-style: none;
}

.work-filter-accordion summary::-webkit-details-marker {
  display: none;
}

.work-filter-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 14px;
  cursor: pointer;
  background: transparent;
  user-select: none;
}

.work-filter-accordion__toggle:hover {
  opacity: 0.7;
}

.work-filter-accordion__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-filter-accordion__icon {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #333;
  border-bottom: 1.5px solid #333;
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-top: -3px;
  flex-shrink: 0;
}

.work-filter-accordion[open] .work-filter-accordion__icon {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.work-filter-accordion__panel {
  padding: 10px 14px 12px;
  border-top: 1px solid #e5e5e5;
}

.content-links,
.area-links,
.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.content-links .btn,
.area-links .btn,
.tag-links .btn {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  transition: all 0.2s;
}

.content-links .btn:hover,
.area-links .btn:hover,
.tag-links .btn:hover {
  color: #fff;
  background: #333;
  border-color: #333;
  text-decoration: none;
  opacity: 1;
}

.content-links .btn.is-current,
.area-links .btn.is-current,
.tag-links .btn.is-current {
  color: #fff;
  background: #333;
  border-color: #333;
}

.single-work-filter-nav {
  margin-bottom: 24px;
}

.single-work-filter-nav .work-filter-accordion {
  margin-bottom: 8px;
}

.single-work-filter-nav .work-filter-accordion__toggle {
  padding: 8px 12px;
}

.single-work-filter-nav .work-filter-accordion__panel {
  padding: 8px 12px 10px;
}

.sidebar-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-category-list li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.sidebar-category-link {
  font-size: 12px;
  color: #707070;
  text-decoration: none;
}

.sidebar-category-link:hover,
.sidebar-category-link.is-current {
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

/* 一覧アイテム（タイトル・カテゴリー・エリア・タグ） */
.work-item-cont .work-item > a {
  display: block;
  margin-bottom: 12px;
}

.work-item-cont .work-item .work-item-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.work-item-cont .work-item .work-item-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.work-item-cont .work-item .work-category {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  line-height: 1.6;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
}

.work-item-cont .work-item a.work-category:hover {
  color: #fff;
  background: #333;
  text-decoration: none;
  opacity: 1;
}

.work-item-cont .work-item .work-area {
  display: inline-block;
  margin-left: auto;
  padding: 3px 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  background: #aaa;
  border: none;
  border-radius: 999px;
}

.work-item-cont .work-item a.work-area:hover {
  color: #fff;
  background: #888;
  text-decoration: none;
  opacity: 1;
}

.work-item-cont .work-item .work-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
  margin-top: 4px;
}

.work-item-cont .work-item .work-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #666;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.work-item-cont .work-item a.work-tag:hover {
  color: #333;
  border-color: #333;
  text-decoration: none;
  opacity: 1;
}

/* 旧マークアップ（figcaption） */
.work-item-cont .work-item figcaption {
  margin-top: 10px;
  text-align: left;
}

.work-item-cont .work-item figcaption dl {
  margin: 0;
}

.work-item-cont .work-item figcaption dt,
.work-item-cont .work-item figcaption dd {
  margin: 0;
}

.work-item-cont .work-item figcaption .cat {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  font-size: 11px;
  line-height: 1.6;
  border: 1px solid #333;
}

.work-item-cont .work-item figcaption .cat a {
  color: #333;
  text-decoration: none;
}

.work-item-cont .work-item figcaption td {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
