
.kiji{
  text-align: center;
}

/* ============================
   共通レイアウト
============================ */
.article-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

/* ============================
   記事カード（トップ・一覧共通）
============================ */
.article-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃い */
  text-align: center;  /* 中央揃い */
  background: #151515;
  border: 1px solid #333; /* 見やすい枠線 */
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  transition: 0.35s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0;
}

.article-card p {
  font-size: 14px;
  color: #ccc;
  margin: 0;
}

/* hover アニメーション */
.article-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  border-color: #fbbc04; /* 金色で光る */
}

/* ============================
   記事一覧バナー（記事をすべて見る）
============================ */
.all-articles-banner {
  display: block;
  width: calc(100% - 40px); /* ★ 影の分だけ縮める */
  margin: 0 auto;           /* ★ 中央寄せ */
  padding: 18px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 1px solid #333;
  border-radius: 12px;
  color: #fbbc04;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.35s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.all-articles-banner:hover {
  background: linear-gradient(135deg, #222, #2d2d2d);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  border-color: #fbbc04;
}


/* ============================
   記事本編ページ（article.html）
============================ */
/* ============================
   記事本編ページ（article.html）
============================ */
.article-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  color: #fff;
  line-height: 1.9;
}

/* ★ 記事本文の画像を小さくする */
.article-img {
  width: 60%;        /* ← 好きなサイズに調整 */
  max-width: 380px;  /* ← 上限 */
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* 本文ボックス */
#article-content {
  font-size: 16px;
  color: #ddd;
  padding: 20px 24px;
  background: #151515;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* 店名強調 */
.shop-name {
  font-size: 20px;
  font-weight: 700;
  color: #fbbc04;
}

/* ★ 詳細ページバナー */
.detail-banner {
  display: block;
  padding: 14px 20px;
  background: #fbbc04;
  color: #000;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin: 30px 0;
  transition: 0.25s;
}

.detail-banner:hover {
  background: #ffcc33;
  transform: translateY(-3px);
}

.article-banner {
  display: block;
  width: 70%;          /* ← 横幅を小さくする */
  max-width: 320px;    /* ← 上限を決める */
  margin: 30px auto;   /* ← 中央寄せ */
  padding: 14px 20px;
  background: #fbbc04;
  color: #000;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}

.article-banner:hover {
  background: #ffcc33;
  transform: translateY(-3px);
}

/* ============================
   スマホ
============================ */
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .article-card img {
    height: 140px;
  }

  #article-title {
    font-size: 26px;
  }

  #article-subtitle {
    font-size: 16px;
  }
}


.detail-banner {
  display: block;
  padding: 14px 20px;
  background: #fbbc04;
  color: #000;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin: 30px 0;
  transition: 0.25s;
}

.detail-banner:hover {
  background: #ffcc33;
  transform: translateY(-3px);
}


/* ============================
   記事セクション（おすすめ◯選の1つ分）
============================ */
.article-section {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 24px 26px;
  margin: 40px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* セクションタイトル */
.article-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fbbc04;
  margin-bottom: 16px;
  border-left: 4px solid #fbbc04;
  padding-left: 12px;
}

/* セクション内の画像 */
.article-section img,
.article-img {
  width: 80%;
  max-width: 420px;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* セクション内の文章 */
.article-section p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.9;
  margin: 14px 0;
}

/* 記事内バナー（小さめ・中央） */
.article-banner {
  display: block;
  width: 70%;
  max-width: 320px;
  margin: 26px auto;
  padding: 14px 20px;
  background: #fbbc04;
  color: #000;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}

.article-banner:hover {
  background: #ffcc33;
  transform: translateY(-3px);
}
