@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){
main.main, div.sidebar{
padding: 0;
margin: 0;
border-width: 0;
}
.entry-content p {
line-height: 1.75em;
margin: 2em 0;
}}

div .komain{
		padding: 0.5em;
margin: 0;
border-width: 0;
	}
/************************************
** こっから↓が追記用
************************************/

/*———————————
各文字装飾まとめ
——————————–*/
.body {
	font-family:serif;
	font-size:15px;
	line-height:1.5;}

div .center{
  display: flex;
  justify-content: center;
  align-items: center;

}

p.midashi {
	text-align:center;
	font-family:  font-family: Times, "Times New Roman", Georgia, serif;
	font-size:25px;
  border-bottom: solid 5px #cccccccc;
  position: relative;
width:250px;
	padding:10px;
}

p.midashi:after {
	text-align:center;
	position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 5px #ffc778;
  bottom: -5px;
  width: 30%;
}

h2.tsuyomi{
  color: #000000;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 4px #deb887;
	padding:10px;
}

h3.menu{
  color: #000000;/*文字色*/
  font-size:20px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
}

h3.menu1{
  background: #dcdcdc;
  box-shadow: 0px 0px 0px 5px #dcdcdc;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
}

h3.timetable{
  color: #000000;/*文字色*/
  font-size:20px;
	  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  background: linear-gradient(transparent 70%, #f5deb3 70%);
}

/*———————————
固定ページの日付を非表示にする
——————————–*/
.post-7 .date-tags {
display: none;
}
/*———————————
メニューバーを非表示にする
——————————–*/
#navi{
display:none;
}

/*———————————
投稿者の表示を非表示にする
——————————–*/
.article-footer{
display: none;
}

/*———————————
３つのカテゴリーメニューを非表示にする
（設定ない場合は不要）
——————————–*/
.twice-notice{
display: none;
}
/*———————————
メインの余白を消す
——————————–*/
.article .wp-block-image {
  margin-bottom: 0;
  line-height: 0;
}

/*———————————
背景画像の設定
——————————–*/
body {
background-image: url( http://www.buy-the-way.jp/criteo/4964320_s.jpg );
background-repeat: repeat ;
}
.main {
background-color: transparent;
}

/*———————————
カバー写真の余白設定
——————————–*/
.wp-block-cover, .wp-block-cover-image {
	min-height: 600px !important;
	width: auto !important;
	margin: 0 -36px 0.2em !important;
}

.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  margin: 0 calc((100% - 100vw)/2) 0.2em;
  min-height: 600px;
  width: auto;
}

/*———————————
 QandA作れるかな～っていうお試し！
——————————–*/
.toggle-button {
    background: #fff;
    text-align: left;
    font-weight: bold;
    box-shadow: 0 2px 6px 0px #ddd;
    border: none;
    padding: 1em;
}
.toggle-button::before,
.toggle-checkbox:checked~.toggle-button::before {
    content: 'Q';
    color: #808080;
    font-size: 20px;
    margin-right: 1em;
}
.toggle-button::after,
.toggle-checkbox:checked~.toggle-button::after {
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    color: #f89174;
    font-size: 1em;
    font-weight: bold;
    position: absolute;
    right: 2em;
    transition: 0.3s;
}
.toggle-checkbox:checked~.toggle-button::after {
    transition: 0.3s;
    transform: rotate(180deg) translateY(3px);
}
.toggle-checkbox:checked~.toggle-content {
    background: #ffffff;	
    margin-top: 10px;
    border: none;
    padding: 1em;
}
.toggle-checkbox:checked~.toggle-content p:first-of-type::before {
    content: 'A';
    color: #ff7f50;
    font-size: 20px;
    font-weight: bold;
    margin-right: 1em;
}

/*———————————
ギャラリー(メニューのところ)のCSS変更
——————————–*/
/*本体ギャラリーCSS停止*/
add_filter( 'use_default_gallery_style', '__return_false' );

/*ギャラリーの詳細設定を付ける*/
.gallery { /** ギャラリーを囲むボックス **/
	width: 100%;
	margin-bottom: 20px !important;
    overflow: hidden;
}
 
.gallery br {display: none;} /** 自動で挿入される clearfix の余白解除 **/
 
.gallery-item { /** 画像共通のスタイル **/
    float: left;
	margin-bottom: 0 !important;
}
.gallery-icon { /** 画像を囲む dt のスタイル **/
    text-align: center;
}
 
.gallery-icon img {
	width: 100%;
	height: auto;
	margin-bottom: 10px !important;
}
 
.gallery-caption { /** キャプション **/
    color: #222;
    font-size: 12px;
    margin: 0 0 20px;
    text-align: center;
}
 
.gallery-columns-1 .gallery-item { /** カラムなし **/
    width: 100%;
    margin-right: 0;
}
.gallery-columns-2 .gallery-item { /** 2カラム **/
	width: 48%;
	margin: 0 1%;
}
.gallery-columns-3 .gallery-item { /** 3カラム **/
    width: 31.33333%;
	margin: 0 1%;
}
.gallery-columns-4 .gallery-item { /** 4カラム **/
    width: 23%;
    margin: 0 1%;
}
.gallery-columns-5 .gallery-item { /** 5カラム **/
    width: 18%;
    margin: 0 1%;

}
@media screen and (max-width: 640px) {
	/* 640px以下用の記述 */
	.gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item {
		width: 18.3333%;
		margin: 0 1%;
	}
	.gallery-columns-5 .gallery-item {
		width: 31.33333%;
		margin: 0 1%;
	}
	
/*———————————
友だち追加ボタン　余白設定
——————————–*/
div .line{
 display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em 3em;
}