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

/************************************
** 子テーマ用のスタイルを書く
************************************/


/* --------------------------------------------
 * 　フォーム7 テーブルデザイン調整
 * -------------------------------------------- */
table.CF7_table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: left;
  vertical-align: middle;
  background: #fff;
  font-size: 1rem !important;
}

table.CF7_table tr {
  border-top: 1px solid #E29A9A;
  border-bottom: 1px solid #E29A9A;
  line-height: 4;
}
table.CF7_table td,
table.CF7_table th {
  background: #fff;
  padding: 1.2em 1.2em;
  border: none;
  min-width: 20em;
  vertical-align: middle;
  line-height: 2;
}

table.CF7_table th {
  font-weight: bold;
  background: #fff;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

.CF7_table input,
.wpcf7 form select,
.CF7_table textarea {
  border: 1px solid #E29A9A;
  margin-top: 0.1em;
  line-height: 1.5;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #ffffff !important;
  -webkit-text-fill-color: #000000 !important; /* iOS専用の文字色指定 */
}

.CF7_table ::-moz-placeholder {
  color: #797979;
}

.CF7_table ::placeholder {
  color: #797979;
}

span.wpcf7-checkbox .wpcf7-list-item {
  margin-top: 5px;
  display: block;
}

.CF7_req {
  font-size: 0.9rem;
  padding: 5px;
  background: #99203c;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

.CF7_unreq {
  font-size: 0.9rem;
  padding: 5px;
  background: #E29A9A;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

.wpcf7 input.wpcf7-submit {
  background-color: #99203c;
  border: 2px solid #99203c;
  width: 80%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto;
  display: block;
  padding: 0.8em 1em;
  border-radius: 0.5em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #E29A9A;
  color: #99203c;
  transition: all 0.3s ease;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}
@media screen and (max-width: 768px) { /* タブレット版以下 */
  table.CF7_table {
    width: 95%;
    background: #fff !important;
  }
  table.CF7_table td,
table.CF7_table th {
    display: block;
    width: 100%;
    /* line-height: 2.5em; */
    padding: 0.8em 0;
    background: #fff !important;
  }
  table.CF7_table td {
    margin-bottom: 1em;
    background: #fff !important;
  }
  table.CF7_table tr {
    border-bottom: 2px dotted #E29A9A;
    border-top: none !important;
    background: #fff !important;
  }
	/* iO日付フィールド高さ対策 */
	table.CF7_table input[type="date"] {
	  height: 42px;
	  line-height: 42px;
	  font-size: 16px;
	  box-sizing: border-box;
	}
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){

}
 /*必要ならばここにコードを書く*/

