/* ================================================
   スペインサッカーブログ カスタムCSS
   対応: はてなブログ 無料プラン
   カラー: スペイン国旗 赤 #C60B1E × 黄 #F1BF00
================================================ */

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== カラー変数 ===== */
:root {
  --red:    #C60B1E;
  --gold:   #F1BF00;
  --dark:   #1a1a1a;
  --light:  #f5f5f5;
  --text:   #222;
  --border: #e0e0e0;
}

/* ===== ベース ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.85;
}

/* ===== ヘッダー ===== */
#blog-title {
  background: var(--red) !important;
  border-bottom: 5px solid var(--gold);
}

#blog-title-inner {
  padding: 24px 20px;
}

#blog-title a,
#blog-title h1 a {
  color: #fff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

#blog-description {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ===== メインラッパー ===== */
#wrapper,
#container {
  max-width: 1080px;
  margin: 30px auto;
  padding: 0 16px;
}

/* ===== 記事カード ===== */
.entry {
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  margin-bottom: 36px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(198, 11, 30, 0.15);
}

/* ===== 記事タイトル ===== */
.entry-title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 1.45rem !important;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border-bottom: none !important;
  padding: 20px 24px 0;
}

.entry-title a {
  color: var(--dark) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.entry-title a:hover {
  color: var(--red) !important;
}

/* ===== 記事本文エリア ===== */
.entry-content-wrapper,
.entry-content {
  padding: 16px 24px 20px;
}

/* ===== 日付 ===== */
.date a {
  color: var(--red) !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none !important;
}

/* ===== カテゴリ ===== */
.categories a {
  display: inline-block;
  background: var(--gold);
  color: var(--dark) !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-decoration: none !important;
  letter-spacing: 0.05em;
  margin-right: 4px;
  transition: background 0.2s, color 0.2s;
}

.categories a:hover {
  background: var(--red);
  color: #fff !important;
}

/* ===== 記事内見出し ===== */
.entry-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  border-left: 5px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  margin: 32px 0 16px;
  color: var(--dark);
  background: #fafafa;
}

.entry-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 22px 0 10px;
  color: var(--dark);
}

/* ===== 記事内リンク ===== */
.entry-content a {
  color: var(--red);
  text-decoration-color: rgba(198, 11, 30, 0.35);
  transition: color 0.2s;
}

.entry-content a:hover {
  color: #960d17;
}

/* ===== 記事フッター ===== */
.entry-footer {
  background: #fafafa;
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  font-size: 0.83rem;
}

/* ===== サイドバー ===== */
#box2 {
  border-top: 3px solid var(--red);
}

.hatena-module-title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  border-bottom: 2px solid var(--gold) !important;
  padding-bottom: 6px !important;
  margin-bottom: 14px !important;
}

/* ===== ページネーション ===== */
.pager a {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  padding: 8px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.pager a:hover {
  background: #960d17;
}

/* ===== フッター ===== */
#footer {
  background: var(--dark);
  border-top: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 22px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

#footer a {
  color: var(--gold) !important;
}

/* ===== スクロールバー ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }