@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#media_image-4 {/*PC用*/
   display: block;
}

#media_image-5 {/*スマホ用*/
   display: none;
}

@media screen and (max-width:480px) {/*画面幅が480px以下のとき*/
   #media_image-4 {/*PC用*/
      display: none;
   }

    #media_image-5 {/*スマホ用*/
      display: block;
   }
}

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

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
    .site-name-text{
	font-size:20px;
	font-weight:bold;}

}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .site-name-text{
	font-size:20px;
	font-weight:bold;}

}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .site-name-text{
	font-size:18px;
	font-weight:bold;}

}


/************************************
**　日付更新表示
************************************/


.post-date,
.post-update





/************************************
**　ロゴ
************************************/

.logo,
.tagline{
	text-align:left;
}

.logo-text{
	padding:20px 0 0px 15px;}
	
.site-name-text{
	font-size:20px;
	font-weight:bold;}

.header {
	background-color:inherit;
	border-bottom:#76ace3 solid 5px;
	xborder-bottom:#00274F solid 5px;
}


/************************************
**　見出し
************************************/




.cat-label{
	background-color:#A2CA92;}

.cat-link {
  background-color: #76ace3;
}


.article h3 {
	border-left: 8px solid #A1C5E7;
  border-right: none;
  border-top: none;
  border-bottom: 1px dotted #ccc;
}






/************************************
**　ヘッダーメニュー
************************************/

.navi-in > ul {
	justify-content: left;
}


.sub-menu{/*サブメニュー*/
box-shadow: 0px 2px 5px 0 rgba(0,0,0,.26);

}

.sub-menu .caption-wrap {/*サブメニューを仕切る点線*/
border-top: dotted 1px #dddddd;
xbackground:#DDD;
padding:0 0 0 2em;
margin:0;
}

.navi-in > ul .sub-menu a {
padding: 0;
background-color:#f7f7f7;
color:#afafb0!important;
}

.navi-in > ul .sub-menu a:hover {
xtransform: none!important;
background-color:#A1C5E7!important;
color:#fffff4!important;
transition: 0.2s ;
}


div#header-container {/*ヘッダー下の影を非表示*/
box-shadow: none;
}

div.item-label{
font-weight:bold;
}


/************************************
**モバイル表示　ヘッダーメニュー・検索アイコン
************************************/

.mobile-menu-buttons{
height:50px;
}
.mobile-menu-buttons > li {
padding-top:0;
}
.menu-button{
color: #A1C5E7!important;
margin: auto;
}
.mobile-menu-buttons .menu-button:hover{
background-color:white;
}
span.fa.fa-search::before{
margin-left:1em;
color: #A1C5E7!important;
}
span.fa.fa-bars::before{
margin-right:1em;
}
.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}




/************************************
**モバイル表示　ヘッダーメニュー
************************************/




span.fa.fa-close::before{/*戻るボタン*/
font-family: FontAwesome;
content: “\f060”;
}

.menu-content .menu-drawer {
padding: 0 1em;
margin:0;
}

ul.menu-drawer:before{
font-size:1.2em;
display: block;
font-weight: normal;
background: white;
color:#7b7b7b;
padding: .5em;
margin-bottom:1em;
font-family: sans-serif;
text-align: center;
border-bottom:3px dotted #90C31F;
}

ul.menu-drawer:after {
background: white;
}

.menu-drawer li {
background-color:#fff;
padding:0;
border-radius:20px;
}

.menu-drawer a{/*menuの文字色をグレー*/
font-size:1.5em;
background-color:#f7f7f7;
color:#afafb0!important;
margin: 6px 0;
padding: 4px 1em;
border-radius:20px;
}

.menu-drawer a:hover{
background-color:#A1C5E7!important;
color:#fffff4!important;
transition: 0.2s ;
}

.menu-drawer .sub-menu {
padding-left:30px;
margin-top:0;
}


@media (max-width:834px){
.sub-menu{
box-shadow: none!important;
}
}


/************************************
** トップページカスタマイズ
************************************/

.home #main h1{
	display:none;
}

.wp-block-cocoon-blocks-column-2 h3{
	border-left: 8px solid #A1C5E7;
  border-right: none;
  border-top: none;
  border-bottom: 1px dotted #ccc;}






/************************************
** ボタン
************************************/
.p-button {
    max-width: 240px;
    margin: 0 auto;
}

.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.4em 1em;
    border-radius: 2em;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
	background: #A2CA92;
    xbackground: #eba02f;
	xbackground: #66c2c3;
    xbox-shadow: 0 5px 15px rgba(235, 160, 47, .5);
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}

.p-button a:hover{
    box-shadow:none;
    transform: translateY(-3px);
    opacity:1;
}


/************************************
** アーカイブページ
************************************/

h1#archive-title span{
	display:none;}



/************************************
** CTAボックス
************************************/

.cta-box {
border: solid 1px #7d7d7d;
border-radius: 8px;
background-color: #fff;
color:#444;
margin:10px 0;
}


/************************************
** ブログカード
************************************/

    .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: "クリックして読む";
     x background: #66c2c3; /* 背景色 */
	  xbackground: #eba02f;
	  background: #A2CA92;
      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;
      }
    }


/************************************
** サイドバー
************************************/

.widget_categories > ul > li {
  border-bottom: 1px dotted #ccc;
}


/************************************
** 執筆者プロフィール
************************************/

.box20 {
    position: relative;
    padding: 0.25em 1.25em;
    margin: 2em 0;
    top: 0;
    background: #f9f9f9;
}
.box20:before, .box20:after{ 
    position: absolute;
    top: 0;
    content:'';
    width: 10px;
    height: 100%;
    display: inline-block;
    box-sizing: border-box;
}
.box20:before{
    border-left: dotted 2px #15adc1;
    border-top: dotted 2px #15adc1;
    border-bottom: dotted 2px #15adc1;
    left: 0;
}
.box20:after{
    border-top: dotted 2px #15adc1;
    border-right: dotted 2px #15adc1;
    border-bottom: dotted 2px #15adc1;
    right: 0;
}
.box20 p {
    margin: 0; 
    padding: 0;
}

.header-contact {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: column; /* スマホ用に縦並びにする */
    z-index: 1000; /* ボタンを前面に表示 */
}

.phone-button, .contact-button {
    padding: 10px 20px;
    background-color: rgba(0, 115, 170, 0.9); /* 背景色を少し透明に */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px; /* 各ボタンの間にスペースを追加 */
    width: 100%;
    text-align: center;
}

.phone-button:hover, .contact-button:hover {
    background-color: rgba(0, 81, 119, 0.9); /* ホバー時の背景色も透明に */
}

/* デスクトップ用のスタイル */
@media (min-width: 769px) {
    .header-contact {
        position: fixed;
        top: 10px;
        right: 10px;
        flex-direction: row; /* デスクトップ用に横並びにする */
    }

    .phone-button, .contact-button {
        margin-bottom: 0;
        margin-right: 15px; /* 各ボタンの間にスペースを追加 */
        width: auto;
    }

    .phone-button:last-child, .contact-button:last-child {
        margin-right: 0; /* 最後のボタンの右マージンを削除 */
    }
}


.phone-button {
    display: none;
}

