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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
a:hover { /*リンクテキストホバー時アンダーライン表示*/
  text-decoration: underline;
}

#sidebar {
    font-size: 14px;
}

.widget-entry-card {
    font-size: 14px;
}

.sidebar h3 {
	color:#444D53;
    background: none;
    font-size: 16px;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
}
.sidebar h3::before, .sidebar h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%; /*ラインの長さ*/
    border-top: 3px solid #444d53; /*ラインの色*/
}
.sidebar h3::before {
    left: 0;
}
.sidebar h3::after {
    right: 0;
}

.page .date-tags {
display: none;
}

a{
  text-decoration: none;
}

#navi .navi-in{
	font-weight:bold;
}

#navi .navi-in > .menu-header .item-label{
	font-size: 16px;
}

#navi .navi-in > ul li{
	height: 60px;
	line-height: 60px;
}

#navi .navi-in a:hover{
	color: #173774!important;
	background: #FFFFFF;
	transition: all 0.5s ease;
}

#navi-footer-in a:hover{
	color: #173774!important;
	background: #FFFFFF;
	transition: all 0.5s ease;
}

.asterisk {
  margin-left: 0.2em;
  color: #f5637a;
}

input.wpcf7-submit {
padding:1em !important;/* ボタン内の余白 */
margin:2em 0em !important;/* ボタンの上下の余白 */
background-color: #25c04a !important;/* 背景の色 */
border-radius: 5px !important;/* 角を丸く*/
color: #fff !important;/* 文字の色*/
font-size: 18px !important;/* 文字の大きさ */
font-weight: bold !important;/* 文字の太さ*/
width: 50%;/* ボタンの横幅*/
transition:0.5s;/* 背景色が変わるまでの時間*/
box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.10);/* 薄っすらとボタンにドロップシャドウをかける*/
}

input.wpcf7-submit:hover {
background-color:#f2d500 !important;/* マウスを乗せたときの背景色 */
color: #fff !important;/* マウスを乗せたときの文字の色 */
}

.btn-submit {
    width: 100%;
    text-align: center;
}

function wpcf7_main_validation_filter( $result, $tag ) {
  $type = $tag['type'];
  $name = $tag['name'];
  $_POST[$name] = trim( strtr( (string) $_POST[$name], "\n", " " ) );
  if ( 'email' == $type || 'email*' == $type ) {
    if (preg_match('/(.*)_confirm$/', $name, $matches)){
      $target_name = $matches[1];
      if ($_POST[$name] != $_POST[$target_name]) {
        if (method_exists($result, 'invalidate')) {
          $result->invalidate( $tag,"確認用のメールアドレスが一致していません");
      } else {
          $result['valid'] = false;
          $result['reason'][$name] = '確認用のメールアドレスが一致していません';
        }
      }
    }
  }
  return $result;
}
add_filter( 'wpcf7_validate_email', 'wpcf7_main_validation_filter', 11, 2 );
add_filter( 'wpcf7_validate_email*', 'wpcf7_main_validation_filter', 11, 2 );
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

.blank-box {
padding: 5px 10px;
margin: 5px;
}

table th, table td {
    border: 1px solid #808080;
}

.wp-block-image {
    margin: 0;
    line-height: 0;
}

#appeal {
    height: calc(100vw * calc(333 / 1000));
}

.appeal-content {
	background-color: rgba(247, 247, 246, .5);
}

@media screen and (max-width: 768px){
	#navi-footer-in,
	.navi-footer-in  {
 		display:none;
	}
	#appeal-in,
	.appeal-in.wrap {
 		display:none;
	}
	img.site-logo-image {
margin: 15px 0px 10px 0px;
}
	#appeal,
	.appeal .appeal-in {
		min-height: 110px;
	}
	.inverted {
    flex-direction:column-reverse!important;
  }
	.footer-bottom {
	margin-top: 0;
	padding-top:0;
}
	.wp-block-spacer {
		display:none;
	}
}
.page-id-13 .main {
    padding-top: 0;
}
.mobile-menu-buttons {
background: #ffffff;
color: #530100;
}
.mobile-menu-buttons .menu-button > a {
color: #530100;
}

#breadcrumb {
  display: none
}