@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/*リストボックス*/
.list-3{
   list-style: none;
   padding:0;
   margin:0;
}
.list-3 li { 
   position: relative;
   margin:0.5em 0 !important;
   padding-left: 25px;
}
.list-3 li:before {
   font-family: FontAwesome;
   content: "\f058"; /*アイコン*/
   color:  #ffa952; /* 色 */
   position: absolute;
   left:0;
}


/*順番リスト*/
.list-5{
   counter-reset:number; 
   list-style-type: none; 
   padding:0;
   margin:0;
}
.list-5 li { 
   position: relative;
   margin:0.5em 0 !important;
   padding-left: 1.8em;
}
.list-5 li:before {
   counter-increment: number;
   content: counter(number);
   background-color: #ffa952; /* 文字背景色 */
   color: #fff; /* 文字色 */
   position: absolute;
   font-weight:bold;
   font-size: 14px;
   border-radius: 50%;
   left: 0;
   top:0.5em;
   width: 22px;
   height: 22px;
   line-height: 22px;
   text-align: center;
}


/*タイトルボックス*/
.box1-yellow{
	margin: 2em auto; /* ボックスの余白 */
	background: #fef9ed; /* ボックス背景色 */
	border-radius:4px; /* ボックス角丸 */
	max-width:600px; /* ボックス横幅 */
	padding: 3.5em 2em 1.5em; /* ボックス内側余白 */
	position:relative; /* 配置に関するもの(ここを基準に) */
}
.box1-yellow .box-title {
	background: #fdc44f; /* タイトル背景色 */
	color: #fff; /* タイトル文字色 */
	font-weight: bold; /* タイトル文字の太さ */
	font-size: 20px;/* タイトル文字の大きさ */
	padding: 5px;/* タイトル周りの余白 */
	text-align: center;	/* タイトル中央寄せ */
	border-radius: 4px 4px 0px 0px;	/* タイトル角丸 */
	position:absolute;	/* 配置に関するもの(ここを動かす) */
	top:0;	/*上から(0px)に配置 */
	left:0; /*左から(0px)に配置 */
	width:100%;/*横幅最大幅 */
}
.box1-yellow p {
	margin: 0;/* 文字の余白リセット */
	padding: 0; /* 文字の内側余白リセット*/
}



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

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

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


/* カテゴリーおしゃれ */
    .cat-label {
        top: 0.5em; /*上からの距離*/
        left: 0.5em; /*左からの距離*/
        border: none; /*ボーダーを消す*/
        font-size: 12px; /*文字サイズ*/
        color: #fff; /*文字色*/
        background-color:#ff8742; /*背景色*/
        padding: 1px 10px; /*余白*/
        border-radius: 14px; /*角を丸く*/
    }


/* インデックス画像拡大 */
main .card-thumb{
	overflow:hidden;
}
main .card-thumb img{
	 transition-duration: 0.5s;
}
main .card-thumb img:hover{
	transform: scale(1.2);
  transition-duration: 0.5s;
}


/*インデックスタイトルの間をあける */
    .entry-card-title {
        margin-top: 10px; /*上に余白を付ける*/
        line-height: 1.5; /*行間を広く*/
    }
    .entry-card-title:hover {
        color: #49add1; /*マウスホバー時の色*/
    }
    @media screen and (max-width: 768px){
        .entry-card-title {
            font-size: 14px; /*スマホでの文字の大きさ*/
            line-height: 1.4; /*スマホでの行間*/
        }
    }


/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#ddc499;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color:#ff8742; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: FontAwesome;
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#ff8742 /* アイコンの色を変える場合はここを変更 */
    background-color:#0e7ac4; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.7em 0 0.5em 1.4em;
    border-bottom: dashed 1px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: FontAwesome;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color:  #ff8742 /* 色を変える場合はここを変更 */
}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}


/* コメント欄のメールアドレス、URL入力欄を非表示 */
.comment-form-url , .comment-form-email { display:none; }

/* 固定ページのシェア、フォローボタン非表示 */
.page .sns-share,
.page .sns-follow {
    display: none;
}


/* ブログカードの「つづきを読む」 */
    .blogcard-snippet,
    .blogcard-footer {
      display: none;
    }
    .blogcard-wrap {
      transition: all .3s;
      max-width: 600px;
      margin: 2em auto;
    }
    .blogcard {
      border:1px solid #eaeaea !important;
      box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
      padding: 10px;
    }
    .blogcard-wrap:hover {
      background: none;
      transform: translateY(-3px);
      box-shadow: 0px 10px 20px rgba(0, 0, 0, .1);
    }
    .blogcard-thumbnail {
      margin: 0;
    }
    .blogcard-thumbnail img {
      display: block;
    }
    .blogcard-title {
      color: #555;
      letter-spacing: 0.5px;
      font-size: 15px;
      line-height: 1.5;
      margin: 10px 0 0 0;
      height: 45px;
      overflow: hidden;
    }
    .blogcard-content {
      min-height: auto;
      margin-left: 185px;
      padding-right: 6px;
    }
    .blogcard-label {
      top: -11px;
      left: 9px;
      padding: 3px 0.6em;
      background:#aaa;
      padding: 1px 10px;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 1px;
    }
    .blogcard-content:after {
      content: "クリックして読む";
      background: #59b9c6; /* 背景色 */
      display: block;
      text-align: center;
      color: #fff;
      font-weight: 600;
      letter-spacing: 1px;
      width: 180px;
      border-radius: 20px;
      font-size: 13px;
      padding: 1px 0;
      margin-top: 6px;
    }
    @media screen and (max-width: 834px) {
      .blogcard-content {
        margin-left: 130px;
      }
      .blogcard-title {
        font-size:12px;
        line-height: 1.5;
        height: 35px;
        margin:0;
      }
      .blogcard-content:after {
        content: "タップして読む";
      }
      .blogcard-thumbnail{
        width:120px;
      }
    }
    @media screen and (max-width: 560px) {
      .blogcard-content:after {
        width: 120px;
        font-size: 12px;
      }
      .blogcard-title {
        margin:0;
      }
    }
    @media screen and (max-width: 320px) {
      .blogcard-thumbnail {
        width: 100px;
      }
      .blogcard-content {
        margin-left: 110px;
      }
      .blogcard-title {
        height: 35px;
      }
    }


/* サイドバーデザインの変更 */
    .sidebar h3 {
        background: none;
        font-size: 16px;
        letter-spacing: 2px;
        display: inline-block;
        position: relative;
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .sidebar h3::before, .sidebar h3::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 28%; /*ラインの長さ*/
        border-top: 3px solid #444d53; /*ラインの色*/
    }
    .sidebar h3::before {
        left: 0;
    }
    .sidebar h3::after {
        right: 0;
    }

/* モバイルトップメニュー */
@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;
	}
}

/* 検索ボックスおしゃれ */
.search-edit{
　background-color: #f7f7f7;
　border:0;
　border-radius:0;
　font-size:14px;
}
.search-submit{
  background-color: #d29f83;
  width: 60px;
　color:#f7f7f7;
  font-size: 14px;
  line-height: 44px;
}