@charset "UTF-8";

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

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

h1 {
  padding: 0.5em;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
}
/*************見出し　リセットここから*****************/
/* H2 */
.article h2{
background:none;
padding: 0;
}

/* H3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* H4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* H5 */
.article h5{
border-bottom:none;
padding: 0;
}


/*************見出し　リセットここまで*****************/


/*************見出し　ここから*****************/


.article h1 {
  font-weight: bold;
  border: 3px solid #2E9568;
  background-color: #fff;
	  color: #444444;
  padding: 0.5em 1em;
  position: relative;
  font-size: 24px; /* フォントサイズを追加 */
}
.article h1::after {
  content: '';
  background-color: #2E9568;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform: rotate(-1deg);
}

.article h2 {
  font-weight: bold;
  padding: 0.5em 1em;
  background-color: #2E9568;
  color: #fff;
  overflow: hidden;
  position: relative;
  font-size: 24px; /* フォントサイズを追加 */
}

.article h2::after {
  content: '';
  background-color: #fff;
  opacity: 0.3;
  transform: rotate(-65deg);
  position: absolute;
  bottom: -250px;
  right: -250px;
  width: 300px;
  height: 500px;
}
	 
.article h3 {
    color: #444444;/*文字色*/
    font-size: 18px;/*文字サイズ*/
    padding: 10px 20px;/*文字回りの余白（上下 左右）*/
    display: block;
    border-left: 6px solid #2E9568;/*二重線左側（太さ 実線 色）*/
    position: relative;
}

.article h3:before {
    content: "";
    display: block;
    position: absolute;
    left: 3px;
    top: 0;
    width: 2px;/*二重線右側の太さ（幅）*/
    height: 100%;
    background: #2E9568;/*二重線右側の色*/
}


.article h4 {
  padding: 0.5em 1em;
  background-color: #A3DDC4;
  box-shadow: 5px -5px #2E9568;
  position: relative;
  color: #444444; /* 文字色 */
}

   

.article h5 {
    color: #444444;/*文字色*/
    font-size: 20px;/*文字サイズ*/
    background-color: #fff;/*背景色（白）*/
    display: block;
    padding: 15px 20px;/*文字回りの余白（上下 左右）*/
    border-left: 3px solid #3BC3A1;/*左線（太さ 実線 色）*/
    border-bottom: 3px solid #3BC3A1;/*下線（太さ 実線 色）*/
    position: relative;
}

.article h5:before,
.article h5:after {
    content: '';
    height: 0;
    width: 0;
    border: solid transparent;
    position: absolute;
    left: 30px;
}

.article h5:before {
    border-color: transparent;
    border-top-color: #3BC3A1;/*吹き出しの矢印部の線色*/
    border-width: 15px;
    top: 100%;
    left: 26px;
}

.article h5:after {
    border-color: transparent;
    border-top-color: #fff;
    border-width: 11px;
    top: 99%;
}
 

 .article h6 {
  color: #2E9568;/*文字色*/
  background:#EBF3F5; /*背景色*/
  border-bottom:solid 3px #2E9568; /*線の種類 太さ 色*/
  padding: 0.5em;/*文字周りの余白*/
  border-radius: 0.25em;/*角丸*/
}


/*************見出し　ここまで*****************/


/*************フォントファミリー追加　ここから*****************/

@font-face {
    font-family: 'BIZ UDP Gothic';
    src: url('https://your-site.com/wp-content/themes/your-theme/fonts/BIZ-UDP-Gothic.woff2') format('woff2'),
         url('https://your-site.com/wp-content/themes/your-theme/fonts/BIZ-UDP-Gothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*************フォントファミリー追加　ここまで*****************/


/*************リンクテキストに下線追加　ここから*****************/
a{
text-decoration: underline;
}
/*************リンクテキストに下線追加　ここまで*****************/

/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
  display: none;
}
/* ヘッダーロゴを非表示 */
@media screen and (max-width: 1023px) {
.logo-header {
display: none;
}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

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

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

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

/************************************
** 竹内やってみようコーナー
************************************/

/* マウスオーバー時、背景の色を変える */
.navi a:hover {
  background-color: #3BC3A1;
  color: #fff !important;
}

/* リンクの色 */
a {
  color: #2E9568 
}

/************************************
** フォント追加　ここから
************************************/
.biz-udpgothic-regular {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/************************************
** フォント追加　ここまで
************************************/