@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.article h2 {
background: royalblue; /*背景色*/
  padding: 0.5em;/*文字周りの余白*/
  color: white;/*文字を白に*/
  border-radius: 0.5em;/*角の丸み*/
  font-size: 20px;/*文字の大きさ18px*/
}

.article h3 {
  border-bottom: solid 3px skyblue;
  position: relative;
  border-top: none;
  border-left: none;
border-right:none;
  font-size: 18px;/*文字の大きさ18px*/
}

.article h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ffc778;
  bottom: -3px;
  width: 30%;
}

/* ツイート埋め込みを中央配置する */
.twitter-tweet {
	width: 250px !important;
	margin-left: auto;
	margin-right: auto;
}

/*SNSの埋め込みを中央に揃えるコード*/
.video-container, 
.instagram-container, 
.facebook-container,
.instagram-media {
    margin: 30px auto !important;
}
/************************************
** *目次カスタマイズ
************************************/
.toc{
  display: block;
  padding: 0px;
  margin-bottom: 40px;
  margin-left: 5%;
  margin-right: 5%;
}

.toc-title{
  position: relative;
  padding: 10px 0;
  background: none; /*背景色*/;
  color: black;
  font-weight: bold;
}

.toc .toc-content{
  padding: 15px;
  background-color:none;　/*背景色は無色に*/
}
.toc-list > li a {
font-weight: bold;  /*文字は太目に*/;
}

.toc-list > li li a {
  font-weight: normal;
  font-size: 95%;
  color: #2a2a2a;
  margin-left: -10px;
} 
 
.toc-list > li li ::before {
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  left: -14px;
  border-radius: 100%;
  background: #2a2a2a; /*丸の色*/;
  position: relative;
  margin-bottom: 2px;
}

.article .toc-list > li li {
  list-style: none;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
