@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

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

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

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

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #ff0000;/*レッド*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 form input.wpcf7-submit,
.wpcf7 form button.wpcf7-submit {
	background-color:#f79034; /* オレンジ */
	border:none;
	color:#fff;
	font-size:1.3em;
	font-weight:bold;
	margin:0 auto;
	display:inline-block;
	padding:1em 3em;              /* ボタンを大きく */
	border-radius:20px !important; /* 角をしっかり丸く（ピル型） */

	/* ブラウザのデフォルトボタンスタイルを無効化 */
	-webkit-appearance:none;
	appearance:none;
	cursor:pointer;

	/* ホバー時の色変化をなめらかに */
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* ホバー時に色を反転 */
.wpcf7 form input.wpcf7-submit:hover,
.wpcf7 form button.wpcf7-submit:hover {
	background-color:#fff;       /* 背景を白に */
	color:#f79034;               /* 文字をオレンジに */
	border:2px solid #f79034;    /* 輪郭がわかるようにオレンジの枠線を追加 */
}

/* ボタンを中央寄せするラッパー */
.CF7_btn{
	text-align:center;
	margin-top:30px;
}

/* スピナー非表示 */
.wpcf7-spinner{
	width:0;
	margin:0;
}