/* =========================================
   縁起物css (アイコン左・テキスト右 ＆ 高さ削減版)
   ========================================= */

.taya-lp .category-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 0 auto;
  max-width: 900px;
}

.taya-lp .category-btn {
  /* 変更点 1: アイコンを左、文字を右へ（横並び） */
  display: flex; 
  flex-direction: row; /* 縦並び (column) から 横並び (row) へ変更 */
  align-items: center; /* アイコンとテキストを垂直中央揃え */
  gap: 8px; /* アイコンと文字の間にスペースを追加 */
  
  /* 変更点 2: ボタンの高さを削減（垂直パディングを削減） */
  width: 25%;
  padding: 10px 15px; /* 垂直方向のパディングを 15px から 10px に削減 */
  
  border: 1px solid var(--taya-gold);
  border-radius: 1px;
  text-align: left; /* テキストブロック内の文字が左に揃うように */
  text-decoration: none;
  color: var(--taya-black);
  transition: background-color 0.3s, opacity 0.3s;
  background-color: #fcfcfc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.taya-lp .category-btn:hover {
  background-color: #dfc88c;
  opacity: 0.9;
}

/* NEW: テキストとサブテキストを縦に積むラッパー */
.taya-lp .category-btn .text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.4; /* 行間を詰めて高さをさらに削減 */
}

.taya-lp .category-btn .icon {
  font-size: 1.5rem;
  line-height: 1;
  /* margin-bottom: 5px; は横並びのため削除（gapで調整） */
  flex-shrink: 0; /* アイコンが縮まないように固定 */
}

.taya-lp .category-btn .text {
  font-size: 1.0rem;
  font-weight: bold;
  color: var(--taya-black);
  margin-bottom: 1px; /* サブテキストとの間隔を 2px から 1px に削減 */
  display: block;
}

.taya-lp .category-btn .sub-text {
  font-size: 0.8rem;
  color: #616060;
  display: block;
}

/* 768px以下 (スマートフォン対応) */
@media screen and (max-width: 768px) {
  .taya-lp .category-grid {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .taya-lp .category-btn {
    width: calc(50% - 5px);
    padding: 8px 10px; /* SPでも垂直パディングをさらに削減 */
  }

  .taya-lp .block-2col{
    display: block;
  }
  .taya-lp .block{
    padding: 0 20px;
  }
  .taya-lp .taya-btn{
    padding: 10px 36px;
  }
  .engimono_tie{
    font-size: 14px;
  }
  .block-visual{
    margin-bottom: 20px;
  }
  .taya-lp h1{
    font-size: 1.2rem;
    font-weight: 500;
  }
  .taya-lp h1 span{
    font-size: 1.0rem;
  }
   .taya-lp .category-grid {
    display: flex;              /* 念のため明示 */
    flex-direction: column;     /* ← 横→縦に変更 */
    flex-wrap: nowrap;          /* ← wrap解除 */
    align-items: center;        /* ← 左右中央揃え */
    gap: 20px;
  }

  .taya-lp .category-btn {
    width: 70%;                /* 50% をやめる */
    max-width: 360px;           /* ← 余白感を作る */
    padding: 10px 14px;
  }
}

html {
  scroll-behavior: smooth;
}