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

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


/* 見出しリセット */
.article h2{
background:none;
padding: 0;
}

/*見出し*/
.article h2 {
  display: inline-block;
  position: relative;
  padding: .5em .7em;
  background-color: #173578;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 0;
}

.article h2::before {
  position: absolute;
  top: 100%;
  left: 0;
  border-bottom: solid 10px transparent;
  border-right: solid 20px #072568;
  content: '';
}

.article h2 {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* サイドバー見出しリセット */
.sidebar h2,
.sidebar h3 {
  background-color: transparent;
  padding: 0;
  margin: 0 0 10px;
  border-radius: 0;
}

/* サイドバー見出し */
.sidebar h2,
.sidebar h3 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #173578;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #173578;/*左線*/
}

/* ボックスメニュー */

/* ボックス全体 */
.box-menu {
  border: 1px solid #d5dae3;
  background-color: #ffffff;
  transition: background-color .2s ease, border-color .2s ease;
}

/* ラベル（文字） */
.box-menu-label {
  color: #173578;
  font-weight: 700;
  letter-spacing: .02em;
}

/* アイコン */
.box-menu-icon * {
  max-width: 80px;
  max-height: 80px;
  height: auto;
  display: inline-block;
}

/* ホバー */
.box-menu:hover {
  background-color: #eef2fa;
  border-color: #173578;
}

.box-menu:hover .box-menu-label,
.box-menu:hover .box-menu-icon {
  color: #0e2050;
}


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

/*834px以下*/
@media screen and (max-width: 834px){

/* 見出し */
.article h2 {
    font-size: 19px;
    padding: .4em .6em;
  }
  .article h2::before {
    border-bottom-width: 8px;
    border-right-width: 15px;
  }


/* ボックスメニュー */
.box-menu {
    padding: 12px 8px;
  }
  .box-menu-label {
    font-size: 13px;
  }
}


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