@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){
  /*必要ならばここにコードを書く*/
}
/************************************
** 固定ページだけタイトルを非表示にする
************************************/
.page .entry-title {
display: none;
}
/************************************
** h1見出しだけデザインを変更
************************************/
h1 {
  background: #94DDDE;
  box-shadow: 0px 0px 0px 5px #94DDDF;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
}
/************************************
** h2見出しだけデザインを変更
************************************/
.article h2 {
  color: #505050;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
  line-height: 1.3;/*行高*/
  background: #94DDDE;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

h2:before {
  content: '●';
  color: white;
  margin-right: 8px;
}
/************************************
**アンダーバー赤色⇒緑に変更
************************************/
.marker-red { /*赤色マーカー*/
 background-color: #BAF3F4;
}
.marker-under-red { /*赤色アンダーラインマーカー*/
 background: linear-gradient(transparent 60%, #BAF3F4 60%);
}
/************************************
**太文字赤色⇒水色に変更
************************************/
.bold-red {
	color: #99CCFF
}
/************************************
** サイドバーカラー変更
************************************/
.sidebar {
  background-color: #EBF8F4;
}

aside{

background: repeating-linear-gradient(135deg, #FFFFFF, #FFFFFF 4px, #F3FAFE 4px, #F3FAFE 8px);
border: dashed 2px #99CCFF;
border-radius:10px;
padding:20px;
	
}
/************************************
** ウィジェットタイトル変更
************************************/
#sidebar .widget-sidebar-title{
border-top: 2px solid #99CCFF; /*下線色・太さ*/
border-bottom: 2px solid #99CCFFE; /*下線色・太さ*/
background: transparent; /*背景色*/
color: #454545; /*文字色*/

}

/************************************
** 目次のスタイル変更
************************************/
.toc {
 background: repeating-linear-gradient(135deg, #FFFFFF, #FFFFFF 4px, #F3FAFE 4px, #F3FAFE 8px);
  border-style: none; /*枠線をなくす*/
 font-size: 16px;
}
/************************************
** 固定ページ用印刷ボタン
************************************/
.btn-print{
  color: #FFFEF1;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 40px;/*高さ*/
  width: 110px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 16px;/*文字のサイズ*/
  line-height: 40px;/*高さと合わせる*/
  background: #94DDDE;
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
}

.btn-print .fa-print {
  text-shadow: 2px 2px 0px #4287d6;
  font-size: 20px;
}

.btn-print span {
  display:inline-block;
  transition: .5s;
}

.btn-print:hover span {
  color:#454545;
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
　
}
/************************************
** 固定ページ用印刷ボタン小
************************************/
.btn-print-mini{
  color: #FFFEF1;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 40px;/*高さ*/
  width: 85px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 16px;/*文字のサイズ*/
  line-height: 40px;/*高さと合わせる*/
  background: #94DDDE;
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
}

.btn-print-mini .fa-print {
  text-shadow: 2px 2px 0px #4287d6;
  font-size: 20px;
}

.btn-print-mini span {
  display:inline-block;
  transition: .5s;
}

.btn-print-mini:hover span {
  color:#454545;
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
　
}
/************************************
** 固定ページ用答えを見るボタン
************************************/
.btn-answer{
  color: #94DDDE;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 40px;/*高さ*/
  width: 110px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 16px;/*文字のサイズ*/
  line-height: 40px;/*高さと合わせる*/
  background: #FFFFFD;
  border: solid 2px #94DDDE;
  border-radius: 7px;/*角丸に*/
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
  border: solid 2px #94DDDE;  
}

.btn-answer .fa-caret-right {
  text-shadow: 2px 2px 0px #EBF8F4;
  font-size: 20px;
}

.btn-answer span {
  display:inline-block;
  transition: .5s;
}

.btn-answer:hover span {
  color:#454545;
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
　
}
/************************************
** 固定ページ用答えを見るボタン小
************************************/
.btn-answer-mini{
  color: #94DDDE;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 40px;/*高さ*/
  width: 75px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 16px;/*文字のサイズ*/
  line-height: 40px;/*高さと合わせる*/
  background: #FFFFFD;
  border: solid 2px #94DDDE;
  border-radius: 7px;/*角丸に*/
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
  border: solid 2px #94DDDE;  
}

.btn-answer-mini .fa-caret-right {
  text-shadow: 2px 2px 0px #EBF8F4;
  font-size: 20px;
}

.btn-answer-mini span {
  display:inline-block;
  transition: .5s;
}

.btn-answer-mini:hover span {
  color:#454545;
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
　
}
/************************************
** 固定ページ用印刷ボタン（ビッグ）
************************************/
.btn-print2{
  color: #FFFEF1;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  display: inline-block;
  height: 40px;/*高さ*/
  width: 550px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 16px;/*文字のサイズ*/
  line-height: 40px;/*高さと合わせる*/
  background: #94DDDE;
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
}

.btn-print2 .fa-print {
  text-shadow: 2px 2px 0px #4287d6;
  font-size: 20px;
}

.btn-print2 span {
  display:inline-block;
  transition: .5s;
}

.btn-print2:hover span {
  color:#454545;
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
　
}


/************************************
**グリーン吹き出しbox*
************************************/

.box1 {
    position: relative;
    padding: 0.5em 0.7em;
	display: inline-block;
    margin: 2em 0;
    background: #D6F1F1;
    color: #454545;
    border-radius: 10px;
    font-weight: bold;　　
　border-radius: 10px;
}
.box1:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #D6F1F1;
    width: 0;
    height: 0;
}
.box1 p {
    margin: 0; 
    padding: 0;
	  width: fit-content;
}

/************************************
**グリーン考えてる吹き出しbox*
************************************/

.box2 {
    position: relative;
    margin: 2em 0 2em 40px;
	  display: inline-block;
    padding: 8px 17px;
    background: #D6F1F1;
    border-radius: 30px;
}
.box2:before{font-family: "Font Awesome 5 Free";
	  content: "\f111";
	  font-weight:900;
    position: absolute;
    font-size:15px;
    left: -40px;
    bottom: 0;
    color: #D6F1F1;
}
.box2:after{
    font-family: "Font Awesome 5 Free";
    content: "\f111";
    font-weight:900;
    position: absolute;
    font-size: 23px;
    left: -23px;
    bottom: 0;
    color: #D6F1F1;
}
.box2 p {
    margin: 0; 
    padding: 0;
}
/************************************
**水色ひだり三角吹き出しbox*
************************************/
.balloon1-left {
  position: relative;
  display: inline-block;
  margin: 1.5em 0 1.5em 15px;
  padding: 10px 25px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
border-radius: 10px;
}

.balloon1-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #e0edff;
}

.balloon1-left p {
  margin: 0;
  padding: 0;
}
/************************************
**水色みぎ三角吹き出しbox*
************************************/
.balloon1-right {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 10px 25px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
  border-radius: 10px;
}

.balloon1-right:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #e0edff;
}

.balloon1-right p {
  margin: 0;
  padding: 0;
}
/************************************
**水色上三角吹き出しbox*
************************************/
.balloon1-top {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 10px 25px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
  border-radius: 10px;
}

.balloon1-top:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 35%;
  margin-left: -15px;
  border: 25px solid transparent;
  border-bottom: 15px solid #e0edff;
  transform: rotate( 110deg);
}

.balloon1-top p {
  margin: 0;
  padding: 0;
}
/************************************
**画像リンク下の内容説明box*
************************************/

.box17{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px #94DDDE;
    border-bottom: solid 2px #94DDDE;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #94DDDE;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}
/************************************
**正解box*
************************************/

.seikaibox{
	background-color: #fff;	/* 背景色 */
	border: 2px solid #f3cbd0;	/* 線の太さ・種類・色 */
	font-size: 24px;
	font-weight: bold;
	border-radius: 5px;
	margin: 40px 5px 5px 20px;	/* 外側の余白 上・右・左・下 */
	padding: 25px 20px 10px 20px;	/* 内側の余白 上・右・左・下 */
	position: relative;
}
.seikaibox:before{
	background-color: #ef858c;	/* 吹き出し背景色 */
	border-radius: 5px;
	color: #fff;	/* 吹き出し文字色 */
	content: '正解';
	padding: 5px 20px;
	position: absolute;
	left: -10px;
	top: -20px;
}
.seikaibox:after{
	border-top: 12px solid #ef858c;		/* 吹き出し三角部分の色 */
	border-right: 12px solid transparent;
	border-left: 12px solid transparent;
	content: '';
	position: absolute;
	top: 30px;
	left: 15px;
}
