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



/************************************
****　アピールエリア
************************************/
.appeal{
padding:0 0 .1em;
box-shadow: 0px 1px 4px 0 rgba(0,0,0,.1);
}
div#appeal-in.appeal-in.wrap{
padding:0;
min-height:0px;
max-height:30px;
}
.appeal-content{
background-color:#000000; /*エリア背景色・ボタン色と同じカラーコードを入力*/
margin:auto;
padding:0;
max-width:100%;
opacity:1;
line-height:1.6;
}
a.appeal-button {
color: #fff!important;/*文字色はこちらで変更できます*/
font-size:.85em;
padding:0 23em 0;
margin:0;
max-width:100%;
white-space: nowrap;
box-shadow: none;
}
@media screen and (max-width: 1023px){
a.appeal-button {
padding:0 18em 0 ;
}}
@media screen and (max-width: 834px){
a.appeal-button {
padding:0 13em 0 ;
}
.appeal{
padding:.1em 0 .25em;
}}
@media screen and (max-width: 652px){
a.appeal-button {
padding:0 8em 0 ;
}}
@media screen and (max-width: 500px){
a.appeal-button {
padding:0 6em 0 ;
}}
@media screen and (max-width: 420px){
a.appeal-button {
padding:0 3em 0 ;
}}
.appeal-button:hover {
transform:none;
box-shadow: none;
}
/************************************
****　タイトル上の隙間
************************************/

.article .entry-categories-tags {
    margin-bottom: 0;
}

.article h1 {
    margin-top: 0;
}


/* カテゴリーをタグ風に（Cocoon用） */
.widget_categories ul,
.widget_category ul {
overflow: hidden;
padding-left: 0;
}

.widget_categories li,
.widget_category li {
float: left;
list-style: none;
border: 1px solid #a9a9a9;
margin: 0 2px 2px 0;/* 枠と枠の隙間*/
padding-bottom: 1px;/* 文字下の余白*/
background-color: #fff;/* 背景色 */
border-radius: 3px;/* 枠の角を丸くする */
}

.widget_categories li a,
.widget_category li a {
color: #fff;
font-size:13px; /* 文字ｻｲｽﾞ */
text-decoration: none;
}

/* サムネイル */
.wp-block-gallery .wp-block-image img {
  aspect-ratio: 1 / 1;        /* 画像表示を正方形にして統一して表示 */
  border: 1px solid #eee;     /* 画像枠 */
}

/* タイトル */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: none;           /* タイトル背景の影を消す */
  color: #333;                /* 文字色 */
  position: relative;         /* テキストを画像と重ねない */
}

/*内部ブログカードの抜粋文を消す*/
.internal-blogcard-snippet{
	display: none;
}


.box2-pink{
	margin: 2em auto; /* ボックスの余白 */
	border-radius:4px; /* ボックス角丸 */
	max-width:600px; /* ボックス横幅 */
	border:1px solid #f27398; /* ボックス線 */
	padding: 3.5em 2em 1.5em; /* ボックス内側余白 */
	position:relative; /* 配置に関するもの(ここを基準に) */
}
.box2-pink .box-title {
	background: #f27398; /* タイトル背景色 */
	color: #fff; /* タイトル文字色 */
	font-weight: bold; /* タイトル文字の太さ */
	font-size: 15px;/* タイトル文字の大きさ */
	padding: 5px;/* タイトル周りの余白 */
	text-align: center;	/* タイトル中央寄せ */
	border-radius: 4px 4px 0px 0px;	/* タイトル角丸 */
	position:absolute;	/* 配置に関するもの(ここを動かす) */
	top:0;	/*上から(0px)に配置 */
	left:0; /*左から(0px)に配置 */
	width:100%;/*横幅最大幅 */
}
.box2-pink p {
	margin: 0;/* 文字の余白リセット */
	padding: 0; /* 文字の内側余白リセット*/
}


/* Q&Aアコーディオン（HTML標準タグ用） */
.my-faq {
  margin-bottom: 1em;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.my-faq summary {
  padding: 15px;
  cursor: pointer;
  background: #fff;
  font-weight: bold;
  list-style: none; /* デフォルトの矢印を隠す */
  display: flex;
  align-items: center;
}
/* Qアイコン */
.my-faq summary::before {
  content: "Q";
  background: #e91e63;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  font-size: 0.9em;
}
/* A部分 */
.my-faq-content {
  padding: 15px;
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: flex-start;
}
/* Aアイコン */
.my-faq-content::before {
  content: "A";
  background: #2196f3;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
  font-size: 0.9em;
}

