@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* --- ベーススタイル・カラー --- */
  :root {
    --primary-color: #003366; /* 信頼感を示すネイビー */
    --accent-color: #d35400; /* 行動を促すオレンジ */
    --bg-light: #f8f9fa;
    --text-main: #333333;
  }
  .fp-wrapper {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
  }
  .fp-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .fp-section-title {
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
  }

  /* --- ① EEAT（権威性）証明エリア --- */
  .eeat-badge-area {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  .eeat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
  }
  .eeat-text h2 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
  }
  .eeat-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
  }

  /* --- ② AIO特化ツール群（ファーストビュー） --- */
  .hero-tools {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .tool-btn {
    display: block;
    background: var(--accent-color);
    color: #fff !important;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(211, 84, 0, 0.3);
  }
  .tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(211, 84, 0, 0.4);
    opacity: 0.9;
  }
  .tool-btn span.badge {
    display: block;
    font-size: 0.8rem;
    background: #fff;
    color: var(--accent-color);
    width: fit-content;
    margin: 0 auto 10px;
    padding: 3px 10px;
    border-radius: 20px;
  }

  /* --- ③ ニッチペイン別のルーティング --- */
  .niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
  }
  .niche-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-main);
    display: block;
    background: #fafafa;
    transition: 0.2s;
  }
  .niche-card:hover {
    background: #f0f4f8;
    border-color: var(--primary-color);
  }
  .niche-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
  }
  .niche-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
  }

  /* --- ④ SEO優位記事フィード --- */
  .seo-feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .seo-feed-list li {
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
  }
  .seo-feed-list li:last-child {
    border-bottom: none;
  }
  .seo-feed-list a {
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
  }
  .seo-feed-list a:hover {
    text-decoration: underline;
  }
  .date-badge {
    font-size: 0.8rem;
    color: #888;
    margin-right: 10px;
  }

  /* --- ⑤ フッター・ボット用サイトマップ --- */
  .bot-sitemap {
    background: #e9ecef;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
  }
  .bot-sitemap a {
    color: var(--primary-color);
    text-decoration: underline;
  }
