@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){
  /*必要ならばここにコードを書く*/
}
/* モバイルトップメニュー 横スクロール*/
@media screen and (max-width: 480px){
	ul.menu-mobile{
		overflow-x: auto;
		overflow-y: hidden;
		display: flex !important;
		flex-wrap: nowrap;
		font-size: 14px;
		justify-content: flex-start;
		padding: 0 1em;
		-webkit-overflow-scrolling: touch;
		position: relative;
	}

	ul.menu-mobile > li{
		padding-right: 1em;
		white-space: nowrap;
	}
	ul.menu-mobile　.item-label{
		white-space: nowrap;
		font-size: 14px;
	}
}

/* ============================================
   SWELL風装飾スタイル（codersforkids.com用）
   ============================================ */

/* ------ point-box（この記事でわかること） ------ */
.point-box {
  border: 1px solid #e8732a;
  padding: 1.4em 1.5em 1.25em;
  margin: 1.8em 0;
  background: #fff;
}
.point-box__title {
  color: #e8732a;
  font-weight: 700;
  font-size: .9em;
  margin: 0 0 .8em 0;
  padding: 0;
  background: none;
}
.point-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.point-box ul li {
  padding: .25em 0 .25em 1.6em;
  position: relative;
  font-size: .88em;
  line-height: 1.65;
}
.point-box ul li::before {
  content: '\2713';
  color: #e8732a;
  font-weight: 700;
  position: absolute;
  left: .2em;
  top: .25em;
}

/* ------ merit-box（メリット） ------ */
.merit-box {
  border: 1px solid #3d9e56;
  margin: .8em 0;
  background: #fff;
  overflow: hidden;
}
.merit-box__title {
  background: #3d9e56;
  color: #fff;
  font-weight: 700;
  font-size: .85em;
  padding: .4em 1em;
  margin: 0;
}
.merit-box ul {
  list-style: none;
  margin: 0;
  padding: .75em 1em .75em 1em;
}
.merit-box ul li {
  padding: .2em 0 .2em 1.5em;
  position: relative;
  font-size: .88em;
  line-height: 1.65;
}
.merit-box ul li::before {
  content: '\2713';
  color: #3d9e56;
  font-weight: 700;
  position: absolute;
  left: .2em;
  top: .2em;
}

/* ------ caution-box（デメリット・注意点） ------ */
.caution-box {
  border: 1px solid #c0392b;
  margin: .8em 0;
  background: #fff;
  overflow: hidden;
}
.caution-box__title {
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: .85em;
  padding: .4em 1em;
  margin: 0;
}
.caution-box ul {
  list-style: none;
  margin: 0;
  padding: .75em 1em .75em 1em;
}
.caution-box ul li {
  padding: .2em 0 .2em 1.5em;
  position: relative;
  font-size: .88em;
  line-height: 1.65;
}
.caution-box ul li::before {
  content: '\00d7';
  color: #c0392b;
  font-weight: 700;
  position: absolute;
  left: .2em;
  top: .2em;
}

/* ------ comparison-table ------ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85em;
  margin: 1em 0;
}
.comparison-table th {
  background: #e8732a;
  color: #fff;
  padding: .6em .75em;
  text-align: center;
  font-weight: 700;
  border: 1px solid #d4651c;
}
.comparison-table td {
  padding: .55em .75em;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
}
.comparison-table tr:nth-child(even) td {
  background: #fdf6f0;
}

/* ------ back-to-top ------ */
.back-to-top {
  text-align: right;
  margin: 1em 0 0;
  font-size: .8em;
}
.back-to-top a {
  color: #e8732a;
  text-decoration: none;
}

/* ------ H2スタイル ------ */
.entry-content h2,
.post-content h2 {
  border-left: 4px solid #e8732a;
  border-bottom: 1px solid #e8d5c4;
  padding: .45em 0 .45em .75em;
  margin: 2.2em 0 1em;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.4;
  background: #fff8f3;
}

/* ------ H3スタイル ------ */
.entry-content h3,
.post-content h3 {
  border-left: 3px solid #e8732a;
  padding: .3em 0 .3em .65em;
  margin: 1.8em 0 .8em;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.4;
}
