@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
*/

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

/*ボックスメニューを3列にする*/
.box-menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px; /* メニュー間の隙間 */
}

.box-menu {
  flex: 0 0 calc(33.333% - 12px); /* 3列に分割 */
  box-sizing: border-box;
  padding: 12px;
  font-size: 14px; /* 少し小さめの文字サイズ */
  background-color: #d35d98; /* ← ここで背景色を指定 */
}

.mobile-menu-buttons {
background: #E95295; /* 背景色をピンク */
color: white;
}

/* 各キャラの色設定 */
/* ===== 会話ボックス全体 ===== */
.talk-line {
  display: flex;
  align-items: flex-start;
  margin: 0.5em 0;
  padding-left: 0 !important;
}

/* ===== 名前部分 ===== */
.talk-label {
  flex-shrink: 0;
  margin-right: 0.4em;
  font-weight: bold;
  line-height: 1.6;
}

/* ===== 本文部分 ===== */
.talk-text {
  display: inline-block;
  line-height: 1.6;
}

/* ===== あすか・やよいの色設定 ===== */
.asuka-label {
  color: #ff66aa; /* ピンク */
}

.yayoi-label {
  color: #d33; /* 赤 */
}

/* ===== Cocoonの段落字下げを無効化 ===== */
.entry-content p {
  text-indent: 0 !important;
}


 /*Amazon広告用*/
.amazon-parent {
  width:100%;
  display:flex;
  flex-wrap:wrap; /*折り返し*/
  justify-content:space-around;/*両端揃え*/
}
.amazon-child {
  width:32%;
  display:flex;
  flex-direction:column;
  border:1px solid #ccc;
  box-sizing:border-box;
}
.amazon-grandchild-img {
  width:100%;
  position:relative;
}
.amazon-grandchild-img img {
  width: 100%;
  height: auto;
  display: block;
  position: static; /* ← ここを absolute から static に変更 */
}
.amazon-grandchild-inner {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  width:100%;
}
.amazon-grandchild-innerText {
  flex-grow:1;
  padding:5px 10px;
  text-align: center;
　box-sizing:border-box;
}
.amazon-grandchild-innerLink {
  width:100%;
  height:auto;
}
.amazon-grandchild-innerLink a {
  width:80%;
  height:48px;
  margin:10px auto 20px auto;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-weight:bold;
  text-decoration:none;
  background:#ff8c00;
  border-radius:8px;
}
 /*Amazon広告用　ここまで*/


/* プロダクトカード */

.card__f {
  display: flex;
  border: 1px solid rgb(200,200,200);
  line-height: 1.5;
}
.card__f-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;/* 上辺合わせにしたい場合は center を flex-start に変更 */
  width: 30%;/* 画像の横幅専有パーセンテージ */
  margin: 0 auto;
  padding: 1em;
  border-right: 1px solid rgb(200,200,200);/* 画像とテキストの間にボーダー不要の場合はこの一行削除 */
  max-width: 100%;
  height: auto;
}
.card__f-text {
  flex: 1;
  min-width: 0;
  display: flex;
  /* 上下中央合わせにしたい場合はこの一行削除 1/2
  align-items: center;
  上下中央合わせにしたい場合はこの一行削除 2/2 */
  padding: 1em;
}
@media screen and (max-width: 600px) {
  .card__f {
    display: block;
  }
  .card__f-image {
    width: 60%;
    border: 0;
  }
  .card__f-text {
    border-top: 1px solid rgb(200,200,200);
  }
}
/* プロダクトカードここまで */



/* ==========================================
   見出しデザイン（全体統一テーマ：ピンク系）
   ========================================== */

/* H1（記事タイトル）: 重厚感のある下線＋ワンポイント */
h1.entry-title {
  border-bottom: 3px solid #e07a9d; /* 濃いピンクの下線 */
  padding-bottom: 10px;
  position: relative;
  font-weight: bold;
}
h1.entry-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 20%; /* 下線の一部をさらに濃くしてアクセントに */
  height: 3px;
  background-color: #b54b6f;
}

/* H2（大見出し）: 既存のデザイン（左線＋薄ピンク背景） */
h2.wp-block-heading,
.article h2 {
  border-left: 8px solid #e07a9d;
  padding: 14px 15px;
  background-color: #f9e3f0;
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 18px;
}

/* H3（中見出し）: 吹き出し風・下線デザイン（背景なし） */
h3.wp-block-heading,
.article h3 {
  border-bottom: 2px solid #e07a9d; /* 濃いピンクの下線 */
  padding-bottom: 6px;
  padding-left: 8px;
  border-left: 4px solid #e07a9d; /* H2より細い左線でアクセント */
  font-weight: bold;
  margin-top: 28px;
  margin-bottom: 15px;
}

/* H4（小見出し）: シンプルなワンポイント（ドット・チェック感） */
h4.wp-block-heading,
.article h4 {
  border-left: 3px solid #e07a9d; /* さらに細い左線のみ */
  padding-left: 10px;
  font-weight: bold;
  margin-top: 22px;
  margin-bottom: 12px;
  color: #333333;
}

/* H5（最小見出し）: 下の破線（主張を抑えたデザイン） */
h5.wp-block-heading,
.article h5 {
  border-bottom: 1px dashed #e07a9d; /* 薄いピンクの破線 */
  padding-bottom: 4px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 10px;
  color: #555555;
}

/* サイドバーの「最近の投稿」タイトルの文字サイズを小さくする */
.wp-block-latest-posts a {
  font-size: 0.9em; /* お好みのサイズに調整（例: 14px や 0.85em など） */
  line-height: 1.4;  /* 行間を整えてすっきり見せる */
}

/*アピールエリアの表示を調整*/

#appeal { 
height: calc(100vw * calc(450 / 1920)); 
}



/* スマホ調整 */
@media (max-width: 767px) {
    .header-in h1 {
        font-size: 2rem;
    }
}


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

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

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