@charset "UTF-8";
/* カタログを見るボタン */

.catalog-button {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 2px solid #198754; /* Bootstrap green */
  padding: 12px 20px;
  border-radius: 50px; /* fully rounded */
  font-family: sans-serif;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}

.catalog-button:hover {
  background-color: #198754;
  text-decoration: none;
}

.catalog-button .icon {
  font-size: 18x;
  color: #198754;
  background-color: rgba(25, 135, 84, 0.1);
  border-radius: 50%;
  padding: 10px;
  margin-right: 15px;
  transition: background-color 0.3s;
}

.catalog-button:hover .icon {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

.catalog-button .text {
  font-size: 18px;
  color: #198754;
  font-weight: bold;
  margin-right: 10px;
  transition: color 0.3s;
}

.catalog-button:hover .text,
.catalog-button:hover .arrow {
  color: #fff;
}

.catalog-button .arrow {
  font-size: 20px;
  color: #198754;
  transition: color 0.3s;
}
/* スマートフォン表示時のスタイル */
@media screen and (max-width: 768px) {
  /* 768px以下の画面幅で適用 */
  .catalog-button {
    width: 90%;
    margin-left: auto; /* 中央寄せにする場合 */
    margin-right: auto; /* 中央寄せにする場合 */
    justify-content: center; /* ボタン内の要素も中央寄せにする場合 */
  }
}
