/* hw-category-links ブロック用のCSS */
.hw-category-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* 折り返しを防止 (no wrap) */
  gap: 1rem;     /* ボタン間の隙間 */
  justify-content: center; /* コンテナ内で中央寄せ (center alignment) */
}

.hw-category-links li {
  display: flex;              /* flex コンテナに変更 */
  align-items: center;        /* 垂直方向の中央寄せ */
  justify-content: center;    /* 水平方向の中央寄せ */
  margin: 0;
  padding: 0;
  list-style: none;
  width: 8rem;                /* 固定幅 */
  height: 2.5rem;             /* 固定高さ */
}

.hw-category-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box; /* paddingとborderを含めたサイズ計算 */
  padding: 0.5rem 1rem;
  border: 2px solid #3490dc; /* Primary color */
  border-radius: 9999px;
  text-decoration: none;
  color: #3490dc;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* アクティブ状態（現在のURLと一致している場合）の上書き */
.hw-category-links li.active a {
  background-color: #3490dc !important;
  color: #ffffff !important;
}

/* ホバー時の効果 */
.hw-category-links li a:hover {
  background-color: #3490dc;
  color: #ffffff;
}


h2.wp-block-heading {
  border-radius: .25rem;
  background-color: #edf8f3;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  font-size: 1.25rem;
  line-height: 1.25rem;
  color: #00ab55;
}

.container strong {
  text-decoration-thickness: .5em;
  text-decoration-color: rgba(255,228,0,.4);
  text-underline-offset: -.2em;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  text-decoration-color: #afe4c9;
  padding-left: .5rem;
  padding-right: .5rem;
  --tw-text-opacity: 0.8;
  text-decoration-line: underline;
}
