@charset "UTF-8";
/*===============
  term-index | 「〇〇から探す」ページ（inc/revialink-term-index.php。一覧は倉庫 column02-03-01 ベース）
===============*/
.term-index {
  padding: 3rem 0 6rem;
}
.term-index__heading {
  margin-bottom: 1rem;
}
.term-index__lead {
  max-width: 46rem;
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #333;
}
.term-index__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.term-index__tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #333;
  text-decoration: none;
  background: #ffffff;
  border: 0.0625rem solid #E5DEDB;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.term-index__tab:hover {
  border-color: #7C5F5C;
  color: #7C5F5C;
}
.term-index__tab.is-current {
  color: #ffffff;
  background: #7C5F5C;
  border-color: #7C5F5C;
}
.term-index .contents-column.column-02-03 {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.term-index .contents-column.column-02-03 .column-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.0625rem solid #E5DEDB;
}
.term-index .contents-column.column-02-03 .column-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.term-index .contents-column.column-02-03 .column-image {
  display: block;
  flex: 0 0 25%;
  width: 25%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F6F2F0;
}
.term-index .contents-column.column-02-03 .column-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.term-index .contents-column.column-02-03 .column-image:hover img {
  transform: scale(1.04);
}
.term-index .contents-column.column-02-03 .column-text {
  flex: 1;
  min-width: 0;
}
.term-index .contents-column.column-02-03 .column-text__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.term-index .contents-column.column-02-03 .column-text__title a {
  font-size: inherit;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
.term-index .contents-column.column-02-03 .column-text__title a:hover {
  color: #7C5F5C;
}
.term-index .contents-column.column-02-03 .column-text__count {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #8A7F7B;
}
.term-index .contents-column.column-02-03 .column-text__excerpt {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #333;
}
.term-index .contents-column.column-02-03 .column-text__children {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #F6F2F0;
}
.term-index .contents-column.column-02-03 .column-text__children ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.term-index .contents-column.column-02-03 .column-text__children li {
  margin: 0;
}
.term-index .contents-column.column-02-03 .column-text__children a {
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.term-index .contents-column.column-02-03 .column-text__children a:hover {
  color: #7C5F5C;
}
.term-index .contents-column.column-02-03 .column-text__children a span {
  font-size: 0.75rem;
  color: #8A7F7B;
}
.term-index .contents-column.column-02-03 .column-text__children a.is-empty {
  color: #8A7F7B;
}
.term-index .contents-column.column-02-03 .column-text__children-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7C5F5C;
}
.term-index .contents-column.column-02-03 .column-text__more {
  margin-top: 1.25rem;
}
.term-index .contents-column.column-02-03 .column-item.is-empty .column-text__title a {
  color: #8A7F7B;
}
.term-index .contents-column.column-02-03 .column-item.is-empty .column-image img {
  opacity: 0.6;
}
.term-index__none {
  color: #8A7F7B;
}
.term-index__more {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}
.term-index--recruit .term-index__tab:hover {
  border-color: #75836B;
  color: #75836B;
}
.term-index--recruit .term-index__tab.is-current {
  background: #75836B;
  border-color: #75836B;
  color: #ffffff;
}
.term-index--recruit .column-text__title a:hover,
.term-index--recruit .column-text__children a:hover {
  color: #75836B;
}
.term-index--recruit .column-text__children {
  background: #F1F2EC;
}
.term-index--recruit .column-text__children-label {
  color: #75836B;
}
@media screen and (max-width: 767px) {
  .term-index {
    padding: 2rem 0 4rem;
  }
  .term-index__lead {
    font-size: 0.875rem;
  }
  .term-index__tabs {
    margin-bottom: 2rem;
  }
  .term-index .contents-column.column-02-03 {
    gap: 2rem;
  }
  .term-index .contents-column.column-02-03 .column-item {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .term-index .contents-column.column-02-03 .column-image {
    flex: none;
    width: 100%;
  }
  .term-index .contents-column.column-02-03 .column-text {
    width: 100%;
  }
  .term-index .contents-column.column-02-03 .column-text__title {
    font-size: 1.1875rem;
  }
  .term-index .contents-column.column-02-03 .column-text__excerpt {
    margin-top: 0.75rem;
    font-size: 0.875rem;
  }
  .term-index__more {
    margin-top: 2.5rem;
  }
}
