@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: 鉄矢の競馬予想｜Cocoon専用カスタム子テーマ（最適化版）
Author: Tetsuya
Template: cocoon-master
Version: 1.3.2
*/

/*************************************************
 ** 1. 共通スタイル（全体の読みやすさ）
 *************************************************/
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.8;
  font-size: 16px;
}

a {
  color: #27344a;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* テキスト選択色 */
::selection {
  background-color: #27344a;
  color: #fff;
}

/*************************************************
 ** 2. コメント欄（不要項目の非表示）
 *************************************************/
.comment-form-email,
.comment-form-url,
.comment-notes {
  display: none;
}

.comment-form .form-submit input {
  background-color: #f3f4f6;
  border: 1px solid #cbd5e1;
  color: #111827;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.comment-form .form-submit input:hover {
  background-color: #e2e8f0;
}

/*************************************************
 ** 3. 独自ボックス（予想記事向け）
 *************************************************/
.box-highlight {
  border-left: 5px solid #27344a;
  background: #f3f4f6;
  padding: 1em;
  margin: 1.5em 0;
}

/* ボタン風リンク（PRやWIN5誘導に使用） */
.btn-link {
  display: inline-block;
  background: #27344a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-link:hover {
  background: #1d4ed8;
}

/*************************************************
 ** 4. 見出しデザイン（ブランドカラー統一）
 *************************************************/

/* H2：大見出し（背景＋左線でしっかり目立たせる） */
.entry-content h2 {
  margin: 2em 0 1em;
  padding: 0.6em 0.8em;
  background: #e5e9f0;          /* 淡いブルーグレー */
  border-left: 4px solid #27344a;
  color: #27344a;               /* 濃紺で読みやすく */
  font-weight: 700;
  font-size: 1.3em;
}

/* H3：中見出し（背景白＋下線でシンプルに） */
.entry-content h3 {
  margin: 1.8em 0 0.8em;
  padding: 0.25em 0;
  background: transparent;
  border-bottom: 2px solid #e5e7eb;
  color: #111827;
  font-weight: 700;
}

/*************************************************
 ** 5. 記事本文・リンクカラー
 *************************************************/
.entry-content {
  color: #111827;
}

.entry-content a {
  color: #27344a;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #1d4ed8;
}

/*************************************************
 ** 6. 表（出走表・追い切り表）
 *************************************************/
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid #e5e7eb;
  padding: 8px;
}

.entry-content table th {
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
}

/*************************************************
 ** 7. PR・CTAボックス（スマホ視認性重視）
 *************************************************/
.entry-content .pr-box,
.entry-content .cta-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  margin: 1.5em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* PRボックス内タイトル（CTA専用見出し） */
.entry-content .pr-box-title {
  background: #27344a;      /* ブランドカラー */
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 16px;
  margin: 12px 0 14px;
  line-height: 1.5;
  font-weight: 700;
}

/* PRボックス内の注意書き */
.entry-content .pr-box-note {
  font-size: 12px;
  color: #6b7280;
}

/*************************************************
 ** 8. レスポンシブ調整（スマホ最適化）
 *************************************************/

/* タブレット */
@media screen and (max-width: 1023px) {
  body {
    font-size: 15.5px;
  }
  .btn-link {
    padding: 8px 16px;
  }
}

/* スマホ */
@media screen and (max-width: 834px) {
  .box-highlight {
    padding: 0.9em;
  }
}

/* 小型スマホ */
@media screen and (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .entry-content table {
    font-size: 13px;
  }
  .btn-link {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/*************************************************
 ** 9. 「今週の競馬予想」だけボタン風に強調
 *************************************************/
#navi .menu-item-week > a {
  background: #27344a;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
}

#navi .menu-item-week:hover > a {
  background: #334155;
  color: #ffffff !important;
}

/****************************************
 * 10. フッター全体のトーン統一（鉄矢カラー）
 ****************************************/

/* フッターの基本テキスト色を少し明るめに */
.footer-widgets,
.footer-widgets p,
.footer-widgets li,
.footer-widgets a {
  color: #e5e7eb;
  font-size: 14px;
}

/* ホバー時はアクセントカラー（黄色） */
.footer-widgets a:hover {
  color: #facc15;
  text-decoration: underline;
}

/****************************************
 * フッター左：ブランド紹介
 ****************************************/
.footer-brand {
  padding: 10px 0;
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.footer-brand-text {
  margin: 0;
  line-height: 1.7;
}

/****************************************
 * フッター中：リンク一覧
 ****************************************/
.footer-links {
  padding: 10px 0;
}

.footer-links-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.footer-links-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 4px;
}

.footer-links-list a {
  text-decoration: none;
}

/****************************************
 * フッター右：メルマガCTA
 ****************************************/
.footer-mailmag {
  padding: 12px 14px;
  margin-top: 4px;
  border-radius: 10px;
  background: #27344a; /* ブランドカラー */
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.footer-mailmag-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.footer-mailmag-text {
  font-size: 13px;
  margin: 0 0 14px;
  line-height: 1.7;
  color: #e5e7eb;
}

/* メルマガボタン */
.footer-mailmag-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #facc15;  /* アクセントカラー（黄） */
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.footer-mailmag-btn:hover {
  background: #fde047;
  color: #111827;
}

