@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広告用　ここまで*/

/* CocoonのH2見出しに濃いピンクの縦線を追加 */
.wp-block-heading {
  border-left: 8px solid #e07a9d; /* 濃いピンク（例：マテリアルカラー） */
  padding-left: 12px;
  background-color: #f9e3f0; /* 薄いピンク背景（既存の色に合わせて調整） */
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
}




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