@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.logo-header .site-name-text {
  /* niconico font */
  font-family: "Nico Moji";
  font-size: 62px;
  opacity: 1;
}

ul.instructions {
  /* border: solid 2px #5c9ee7; */
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
}

ul.instructions li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none!important;/*ポチ消す*/
}

ul.instructions li:before {
  font-family: FontAwesome;
  content: "\f08d";
  position: absolute;
  left : 0.5em; /*左端からのアイコンまで*/
  color: #5c9ee7; /*アイコン色*/
}

ol.instructions {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
  background: #f5faff;
}

ol.instructions li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

ol.instructions li:before {
  
   /* 以下数字をつける */
   position: absolute;
   counter-increment: number;
   content: counter(number);
   /*以下数字のデザイン変える*/
   display:inline-block;
   background: #5c9ee7;
   color: white;
   font-family: 'Avenir','Arial Black','Arial',sans-serif;
   font-weight:bold;
   font-size: 15px;
   border-radius: 50%;
   left: 0;
   width: 25px;
   height: 25px;
   line-height: 25px;
   text-align: center;
   /*以下 上下中央寄せのため*/
   top: 50%;
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);
}

/* カテゴリーリンクの共通デザイン 指定したカテゴリだけ目次の上にリンク */
.custom-cat-link {
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-cat-link a {
    display: block; /* ブロック要素にしてクリックしやすく */
    padding: 12px;
    background-color: #f9f9f9; /* 背景色 */
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
}

/* ホバー時の演出 */
.custom-cat-link a:hover {
    background-color: #f0f7ff;
    border-color: #0073aa;
    color: #0073aa;
}



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

ul.instructions {
  /* border: solid 2px #5c9ee7; */
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
}

ul.instructions li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none!important;/*ポチ消す*/
}

ul.instructions li:before {
  font-family: FontAwesome;
  content: "\f08d";
  position: absolute;
  left : 0.5em; /*左端からのアイコンまで*/
  color: #5c9ee7; /*アイコン色*/
}

ol.instructions {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
  background: #f5faff;
}

ol.instructions li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

ol.instructions li:before {
  
   /* 以下数字をつける */
   position: absolute;
   counter-increment: number;
   content: counter(number);
   /*以下数字のデザイン変える*/
   display:inline-block;
   background: #5c9ee7;
   color: white;
   font-family: 'Avenir','Arial Black','Arial',sans-serif;
   font-weight:bold;
   font-size: 15px;
   border-radius: 50%;
   left: 0;
   width: 25px;
   height: 25px;
   line-height: 25px;
   text-align: center;
   /*以下 上下中央寄せのため*/
   top: 50%;
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);
}

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	#header .site-name-text {
      font-size: 42px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .logo-header .site-name-text.inview {
  /* niconico font */
  font-family: "Nico Moji";
  font-size: 40px;
  opacity: 1;
}
}
