.p-search {
  display: grid;
  gap: 60px;
  background: #f2f2f2;
  padding: 80px 0;
}

.p-search__content {
  display: grid;
  gap: 80px;
}

.p-search__title {
  font-weight: Bold;
  font-size: 25px;
  text-align: center;
}

.p-search__tag {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
  max-width: 1070px;
  margin: 0 auto;
}

.p-search__btn {
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: #ffffff;
  color: #1c1c1c;
  text-decoration: none;
  box-shadow: 0px 0px 10px 0px #3b3b3b1a;
}

.p-search__btn:hover {
  opacity: 0.8;
}

.p-search__btn-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 58px;
  border-right: 1px solid #f2f2f2;
}

.p-search__btn-content {
  flex: 1;
  padding: 0 6px;
  text-align: center;
}

.p-search__btn-label {
  font-weight: Bold;
  font-size: 15px;
  white-space: pre-wrap;
}

/* 13個目以降のタグリンクを非表示にする */
.p-search__btn.is-hidden {
  display: none;
}

/* もっと見るボタンのコンテナ */
.p-search__more {
  text-align: center;
}

/* ボタン本体（リセット含む） */
.c-view-more-btn {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

/* アクティブ時（閉じる時）の矢印回転 */
.c-view-more-btn.is-active .c-view-more-btn__icon {
  transform: rotate(180deg);
}

.c-view-more-btn__text {
  color: #000000;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
}
