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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*固定ページの日付非表示*/
.page .date-tags,
.page .author-info {
display: none;
}
/*フッターロゴサイズ*/
.footer-bottom-logo img {
	height: auto;
}
/*nomadoボタン*/
.nomadBtn4 {
  display: inline-block;
  padding: .5em 2em;
  text-decoration: none !important;
  background: #5E8B6D;
  color: #FFF !important;
  border-bottom: solid 3px #426A4F;
  border-radius: 3px;
  text-decoration: none;
  margin: 15px 0;
}
.nomadBtn4:active {
  /*ボタンを押したときの動作*/
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  border-bottom: none;
}
/*nomadobox*/
.nomadBox8 {
  position: relative;
  margin: 15px 0;
  padding: 1.5em;
  color: #323232;
  border-top: solid 2px #5E8B6D;
  border-bottom: solid 2px #5E8B6D;
}
.nomadBox8:before,
.nomadBox8:after {
  content: '';
  position: absolute;
  top: -10px;
  width: 2px;
  height: -webkit-calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: #5E8B6D;
}
.nomadBox8:before {left: 10px;}
.nomadBox8:after {right: 10px;}
.nomadBox8 p {
    margin: 0;
    padding: 0;
}
/*検索ボックスのカスタマイズ（分離型・検索ボタン右側）*/
/*ここから*/
/*検索ボックス全体*/
.search-box {
	display: flex;
	justify-content: space-between;
	height: 46px;
	width: 100%;
}

/*入力欄*/
.search-box .search-edit {
	width: calc(100% - 60px - 12px);
}

/*検索ボタン*/
.search-box .search-submit {
	position: relative;
	width: 60px;
	color: #fff;
	background-color: #538b00;
	border: 2px solid #ccc;
	border-radius: 4px;
}

.search-box .search-submit:hover {
	color: #ccc;
	background-color: #fff;
}

.search-box .fa-search {
	display: block;
	margin-top: 3px;
	margin-left: 3px;
}
/*ここまで*/
/* 画像のキャプションを中央揃えにする */
.wp-block-image figcaption {
	text-align: center;
}
/*ここまで*/

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}}
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:1em 0;
 margin-top:30px;
 width:100%;
 background:#528a00;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 border: none;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#30a1d9;
 color:#fff;
}

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

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

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

/************************************
*グローバルメニューカラー変更*
************************************/
/*メニューの色・アニメーション変更（草色）*/
#navi .navi-in a:hover {
  color: white !important;
  background-color: #528a00;
}
#navi .navi-in a::after {
  content: none;
}

/*下線のカラー変更*/
.navi-in>ul>li:nth-of-type(3n + 1),
.navi-in>ul>li:nth-of-type(3n + 2),
.navi-in>ul>li:nth-of-type(3n + 3){
  border:none;
}
/*紺碧*/
.navi-in>ul>li:nth-of-type(even) {
  border-bottom: ridge 3px #30a1d9;
}
/*草色*/
.navi-in>ul>li:nth-of-type(odd) {
  border-bottom: ridge 3px #538b00;
}
/* 会報誌のサムネイルに影をつける */
.sun-shadow img {
    filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.2));
    border: 1px solid #eee; /* 念のため薄い縁取り */
}