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

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


/*************************************ヘッダー背景画像の下固定*/
body, .header, .appeal {
	background-position: bottom center;}


/************************************ ヘッダーナビ　固定*/
.navi{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.navi.fixed{
    position: fixed;
    top: 0;
    z-index: 10000;
    opacity:0.9;
}



nav#navi, .menu-header .sub-menu{
box-shadow:0.5px 15px -5px rgba(0,0,0,0.2);
}

.menu-header .sub-menu .munu-item,
.menu-header .sub-menu .menu-item:hover{
border-bottom: none;line-height:
}
.menu-header .current-menu-item,
.menu-header .current-post-item,
.menu-header .current-menu-ancestor,
.menu-header .corrent-post-ancestor{
color:#fff !important;
border-bottom: 3px solid #016575
transition: all 2s ease;
}
.menu-header .menu-item:hover {
color:#fff !important;
border-botom: 3px solid #fff;
transit:all 2s ease;
}

.menu-header .item-label{
color: #000 !important
}
.menu-header .current-menu-item>a .item-label,
.menu-header .current-post-item>a .item-label,
.menu-header .current-menu-ancestor>a .item-label,
.menu-header .current-post-ancestor>a .item-label{
color:#000 !important;
transition: all 2s ease;
}
.menu-header .item-label:hover{
color: #016575 !important;
transition: all .2s ease;
}

.navi-in a {
	font-size: 18px;}

/*************************************　見出しデザイン変更　*/
/* 見出し2 */
.article h2{
　padding: 0.5em;/*文字周りの余白*/
  color: #494949;/*文字色*/
  background: #EAF7F9;/*背景色*/
  border-left: solid 5px #36B5C9;/*左線（実線 太さ 色）*/
}
/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
background: linear-gradient(transparent 50%, #a7d6ff 20%);
line-height: 0;
}
/* 見出し4 */
.article h4{
position: relative;
padding: 0.25em 0;
border-top:none;
border-bottom:none;
}
.article h4:after {
content: "";
display: block;
height: 4px;
background: -webkit-linear-gradient(to right,  #a7d6ff, transparent);
background: linear-gradient(to right,  #a7d6ff, transparent);
}
/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
border-bottom:double 4px #ffc778;/*線の種類（点線）2px 線色*/
}
/* 見出し6 */
.article h6 {
border-top:none;
padding: 0;
border-bottom: solid 3px skyblue;
position: relative;
}
.article h6:after{
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ffc778;
  bottom: -3px;
  width: 30%;
}
/* 見出し6 */
.sidebar h2 {
    background: none;
    border-top: none;
    border-bottom: solid 3px #ffd782;
    padding: 4px 10px;
    color: #000000;
    position: relative;
    margin: 16px 0;
    border-radius: 2px;
}


/*************************************　電話ボタン　*/
.btn-tel{
  position: relative;
  display: block;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  text-align: center;
  background: #f75065;
  padding: 5px 0;
  margin: auto;
  max-width: 250px;
}

.btn-tel::after{
  content: "";
  background: url(img/telephone.svg) no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  left: 15px;
}




/*************************************　　*/



/*************************************　　*/



/*************************************　　*/





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

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

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