@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.list-box-1{
   background: #fef9ed; /* 背景色 */
   border-radius: 4px;
   max-width: 600px; /* 横幅 */
   padding: 2em;
   margin:0 auto;
}
@media screen and (max-width: 768px){
.article ul, .article ol {
    padding-left: 0px; /* スマホ閲覧時の余白リセット(cocoon) */
}
}

.list-3{
   list-style: none;
   padding:0;
   margin:0;
}
.list-3 li { 
  border-bottom:2px dashed;
  border-color:#cdcdcd; /* 線の色 */
  position: relative;
  margin:0.5em 0 !important;
  max-width:500px; /* 横幅 */
  padding: 0 0 0.5em 1.4em;
}
.list-3 li:last-child{ 
  border:none;
}
.list-3 li:before {
   font-family: FontAwesome;
   content: "\f058"; /*アイコン*/
   color:  #ffa952; /* 色 */
   position: absolute;
   left:0;
}

	/*ボックスメニューアイコン色*/
.box-menu-icon{
  color: #27593B;
}
	/*ボックスメニュー枠線色*/
.box-menu:hover {
    box-shadow: inset 2px 2px 0 0 
#ebab57,2px 2px 0 0 #ebab57,2px 0 0 0 #ebab57,0 2px 0 0
    #ebab57;
} 
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* サイドバー見出し装飾 */
  h3.widget-sidebar-title {
    color: #333333;                      /* 文字色 */
    background: #ffffff;                 /* 背景色 */
    padding: 0.25em 0em;                 /* [上下][左右]の余白 */
    border-top: solid 2px #27593B;       /* 上枠 */
    border-right: none;                  /* 右枠 */
    border-bottom: solid 2px #27593B;    /* 下枠 */
    border-left: none;                   /* 左枠 */
  }
/*---------------------------------
カテゴリの行間とフォントを小さくする
--------------------------------*/
.widget_categories ul li a{
	line-height: 1.0;
	font-size: 15px;
}

/* 見出しカスタマイズ */
.article h2{
  padding: 0.5em;/*文字周りの余白*/
  color: #FFFFFD;/*文字色*/
  background: #483A35;/*背景色*/
border-bottom: solid 4px #ebab57;/*下線*/
}

.article h3 {
  /*線の種類（二重線）太さ 色*/
	  color: #ebab57;/*文字色*/
border-bottom: solid 5px #ebab57;
  border-left: solid 5px #ebab57;
  border-top: solid 0px #ebab57;
border-right: solid 5px #ebab57;
  border-bottom-left-radius: 25px 25px;/*左側の角を丸く*/
border-bottom-right-radius: 25px 25px;/*左側の角を丸く*/	
}

.article h4 {
  color: #27593B;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px#27593B;/*上線*/
  border-bottom: solid 3px #27593B;/*下線*/
}
.article h5 {
  color: #483A35;/*文字色*/
  border: solid 3px #483A35;/*線色*/
  padding: 0.5em;/*文字周りの余白*/
  border-radius: 0.5em;/*角丸*/
}
.article h6 {
  position: relative;
  padding-left: 35px;
}
.article h6:before {
  position: absolute;
  font-family: "FontAwesome";
content: "\f0eb";
  background: #ebab57;
  color: white;
  font-weight: normal;
  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%);
}
.article h6:after {
  /*吹き出しのちょこんと出た部分*/
  content: '';
  display: block;
  position: absolute;
  left: 20px;
  height: 0;
  width: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #ebab57;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}



/*---------------------------------
カテゴリを装飾する
--------------------------------*/


.widget_categories ul li a { /*親カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    padding-right: 4px;
    padding-left: 4px;
    border-top: 1px dotted #ccc; /*上部にボーダーを引く*/
    font-size: 16px;
}
.widget_categories ul li a::before { /*親カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "\f0da";
    padding-right: 10px;
}
.widget_categories > ul > li > a:first-child { 
    border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}
.widget_categories > ul > li > a:last-child {
    border-bottom: 1px dotted #ccc; /*最後の親カテゴリは下部ボーダーを引く*/
}
.widget_categories ul li a .post-count { /*記事数用のコード*/
    display: block;
    float: right;
    background: #ededed;
    padding: 0 1em;
    font-size: 14px;
    margin-top: .2em;
    border-radius: 4px;
}
.widget_categories ul li a:hover { /*親子共通マウスホバー時*/
    background: none;
    transition: 0.5s;
    color: #27593B;
}
.widget_categories ul li a:hover .post-count { /*記事数のマウスホバー時*/
    background: #27593B;
    color: #fff;
    transition: 0.5s;
}
.widget_categories ul li ul { /*子カテゴリのボックス*/
    border-bottom: 1px dotted #ccc;
}
.widget_categories ul li ul li a { /*子カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 8px 4px 4px 4px;
    display: block;
    border: none;
}
.widget_categories ul li ul li a::before { /*子カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "・";
    padding: 0;

/* ===== 見出しデザイン Variation 4: 左帯＋シャドウ ===== */
.article h2{
  margin:1.8em 0 1em;
  padding:.7em 1em;
  background:#fff;
  border-left:10px solid #27593B; /* メインカラーの帯 */
  box-shadow:0 2px 5px rgba(0,0,0,.1); /* 下に影 */
  color:#483A35;
  font-weight:700;
}

.article h3{
  margin:1.4em 0 .8em;
  padding:.45em .8em;
  border-left:6px solid #ebab57; /* アクセントカラー帯 */
  background:#fef9ed;            /* 薄い背景 */
  box-shadow:inset 0 -2px 0 #ebab57; /* 下にアクセントの影線 */
  color:#27593B;
  font-weight:700;
}

.article h4{
  margin:1.2em 0 .6em;
  padding:.3em .6em;
  border-left:4px solid #483A35;
  color:#483A35;
  font-weight:600;
}

.article h5{
  margin:1em 0 .6em;
  color:#27593B;
  font-weight:600;
}

.article h6{
  margin:.8em 0 .4em;
  color:#666;
  font-weight:600;
}

/* ===== モバイル時のフォントサイズ調整（本文16px前提） ===== */
@media screen and (max-width: 480px){
  .article h2 { font-size: 20px; } /* 本文16pxより+4px */
  .article h3 { font-size: 18px; } /* 本文16pxより+2px */
  .article h4 { font-size: 17px; } /* 本文より+1px */
  .article h5 { font-size: 16px; } /* 本文と同じ */
  .article h6 { font-size: 15px; } /* 本文より-1px */
}

