@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){
  /*必要ならばここにコードを書く*/
}

/* 共通スタイル */
.focus-posts {
    display: flex;
    gap: 20px; /* 記事間のスペース */
}

.focus-post {
    display: block;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.focus-post:hover {
    background: #eaeaea;
    transform: translateY(-5px); /* マウスオーバー時の動き */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.focus-post .post-title {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

/*固定ページの日付非表示*/

.page .date-tags {
display: none;
}

/* --- はじめてのパン作りガイド バナー --- */
.banner-guide {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe6b3 0%, #ffcccc 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.banner-guide:hover {
  transform: translateY(-3px);
}
.banner-link {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 18px 20px;
}
.banner-content {
  text-align: center;
}

/* --- 独自タイトル（h2を使わずdivで回避） --- */
.banner-title {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  background: #fff;
  padding: 6px 14px;
  border-left: 4px solid #3dc0c9;
  border-radius: 6px;
  margin-bottom: 12px;
}
.banner-text {
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
  padding-top: 20px;
  color: #555;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .banner-title {
    font-size: 1.1rem;
  }
  .banner-text {
    font-size: 0.9rem;
  }
}

.guide-box {
  background: #fffdf7; /* やわらかいベージュ系 */
  border: 1px solid #f1e8d9;
  border-radius: 12px;
  padding: 20px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.guide-lead {
  font-size: 0.9rem;
  color: #a88d5f;
  margin-bottom: 6px;
}

.guide-title {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: #5a4633;
  font-weight: bold;
  margin-bottom: 6px;  /* 見出し下の余白を少なめに */
}

.guide-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 16px; /* 本文とボタンの距離をやや広げる */
}

.guide-lead-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem); /* 画面サイズに応じて柔軟に拡大 */
  margin-bottom: 12px; /* タイトル下の余白を半分くらいに縮める */
  color: #8b5c2f; /* 少し明るめのブラウンで温かみと視認性UP */
  font-weight: 700; /* より力強く、でも品のある太さ */
  letter-spacing: 0.03em; /* 見出しらしい余裕のある文字間隔 */
  font-family: 'Noto Serif JP', serif; /* 親しみと品のあるフォント（Google Fontsで読み込み可） */
  text-align: center; /* 中央揃えで印象的に */
  background: linear-gradient(to right, #fceabb, #f8b500); /* パンの焼き色を思わせるグラデーション背景 */
  padding: 0.5em 1em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* ふんわりと浮かせる効果 */
  display: inline-block;
}

.guide-link {
  display: inline-block;
  padding: 0px 20px 16px 20px; /* 上 右 下 左 */
  line-height: 1.3;           /* テキストを中央寄りに調整 */
  background: #f5c97a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}


.guide-link:hover {
  background: #e6b85e;
}
