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

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

#main/*, #footer*/ {
  background: transparent;
}


/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:50%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

.inquiry {
	widows: 60%;
}

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#efefef;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;
   background-color: #ffffff;
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:#09b555;
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
/*ヘッダーモバイル画像変更*/
	.header div.header-in {
		min-height: 700px;
	}
	.header {
		background-image: url(https://kaneko-syouji.com/wp-content/uploads/2024/04/headrimg850-3.jpg);
		background-size: 100%;
		background-position: center;
	}
	/*ヘッダーモバイルロゴ変更*/
	/*.site-logo-image{
		visibility: hidden;
	}*/
	.logo-header {
		display: none;
	}
/*モバイルフッターボタンアイコン色変更*/
	.mobile-footer-menu-buttons .menu-button,
	.mobile-footer-menu-buttons .menu-button:hover,
	.mobile-footer-menu-buttons .menu-button a,
	.navi-menu-content,
	.menu-drawer a,
	.menu-drawer a:hover{
		background-color: #1981ea;
		color: white;
	}
	/*スマホヘッダーボタン*/
	.mobile-menu-buttons{
		color:#ffffff;
		background:#2190f6;
	}
	/* モバイルヘッダーボタン　#menuだけを左端に表示する */
	.mobile-header-menu-buttons .navi-menu-button .navi-menu-icon {
		text-align: left;
		padding-left: 24px;
	}
  .mobile-header-menu-buttons .navi-menu-button .navi-menu-caption {
    text-align: left;
    padding-left: 20px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
/*ヘッダーモバイル画像変更*/
	.header div.header-in {
		min-height: 500px;
	}
	.header {
		background-image: url(https://kaneko-syouji.com/wp-content/uploads/2024/04/headrimg850-3.jpg);
		background-size: 100%;
		background-position: center;
	}
	/*ヘッダーモバイルロゴ変更*/
	/*.site-logo-image{
		visibility: hidden;
	}*/
	
	#navi-footer {
		display: none;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
	/*ヘッダーモバイル画像変更*/
	.header div.header-in {
		min-height: 250px;
	}
	.header {
		background-image: url(https://kaneko-syouji.com/wp-content/uploads/2024/04/headrimg850-3.jpg);
		background-size: 100%;
		background-position: center;
	}
	/*ヘッダーモバイルロゴ変更*/
	.site-logo-image{
		visibility: hidden;
	}
	/*.logo-header.logo-image{
		background-image: url(https://kaneko-syouji.com/wp-content/uploads/2024/04/kaneko-syouji-rogo850-2.png);
		background-size: contain;
		background-position: 50% 10%;
		background-repeat: no-repeat;
	}*/
	#h-top {
    position: relative;
	}
	/*スマホヘッダーボタン*/
	/*.mobile-menu-buttons{
		color:#fff;
		background:#2190f6;
	}*/
	/*.mobile-menu-buttons .home-menu-button > a{
		color:#fff;
	}*/
  /* モバイルヘッダーボタン　#menuだけを左端に表示する */
  .mobile-header-menu-buttons .navi-menu-button .navi-menu-icon {
    text-align: left;
	padding-left: 24px;
	}
  .mobile-header-menu-buttons .navi-menu-button .navi-menu-caption {
    text-align: left;
    padding-left: 20px;
  }	

}