/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/*カスタムテーブル*/
.custum-table table{
	width:100%;
	border-collapse:collapse;
}

/* .custum-table th{
	display:none;
}
 */
.custum-table td:first-child{
	width:25%;
	white-space:nowrap;
}

.custum-table td{
	padding:16px 20px;
	border-bottom:1px solid #ddd;
	text-align:left;
	vertical-align:top;
}

/* SP */
@media (max-width:767px){

	.custum-table table,
	.custum-table tbody,
	.custum-table tr{
		display:block;
		width:100%;
	}

	.custum-table tr{
		margin-bottom:5px;
	}

	.custum-table td,
	.custum-table td:first-child{
		display:block;
		width:100%;
		box-sizing:border-box;
		padding:10px;
		border-bottom:1px solid #ddd;
		white-space:normal;
	}
}

/*カスタムテーブル2*/
.custum-table-2 table{
	width:100%;
	border-collapse:collapse;
}

 .custum-table-2 th{
	display:none;
}
 
.custum-table-2 td:first-child{
	width:25%;
	white-space:nowrap;
}

.custum-table-2 td{
	padding:16px 20px;
	border-bottom:1px solid #ddd;
	text-align:left;
	vertical-align:top;
}

/* SP */
@media (max-width:767px){

	.custum-table-2 table,
	.custum-table-2 tbody,
	.custum-table-2 tr{
		display:block;
		width:100%;
	}

	.custum-table-2 tr{
		margin-bottom:5px;
	}

	.custum-table-2 td,
	.custum-table-2 td:first-child{
		display:block;
		width:100%;
		box-sizing:border-box;
		padding:10px;
		border-bottom:1px solid #ddd;
		white-space:normal;
	}
}
/* ========================================
   Contact Form 7
   お問い合わせフォーム完全版
======================================== */

.CF7_table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: #fff;
}

/* ========================================
   行・見出し・入力欄
======================================== */

.CF7_table tr {
	border-bottom: 1px solid #ddd;
}

.CF7_table tr:first-child {
	border-top: 1px solid #ddd;
}

.CF7_table th,
.CF7_table td {
	padding: 22px 20px;
	vertical-align: middle;
	text-align: left;
}

.CF7_table th {
	width: 32%;
	background: #f7f7f7;
	color: #333;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}

.CF7_table td {
	width: 68%;
	background: #fff;
}

/* ========================================
   必須・任意ラベル
======================================== */

.CF7_req,
.CF7_unreq {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	margin-right: 10px;
	padding: 4px 8px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	vertical-align: middle;
}

.CF7_req {
	background: #c83535;
}

.CF7_unreq {
	background: #777;
}

/* ========================================
   テキスト入力
======================================== */

.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table input[type="tel"],
.CF7_table input[type="url"],
.CF7_table input[type="number"],
.CF7_table select,
.CF7_table textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid #bbb;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.CF7_table input[type="text"]:focus,
.CF7_table input[type="email"]:focus,
.CF7_table input[type="tel"]:focus,
.CF7_table input[type="url"]:focus,
.CF7_table input[type="number"]:focus,
.CF7_table select:focus,
.CF7_table textarea:focus {
	outline: none;
	border-color: #333;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.CF7_table textarea {
	min-height: 110px;
	resize: vertical;
}

/* プレースホルダー */

.CF7_table input::placeholder,
.CF7_table textarea::placeholder {
	color: #999;
	opacity: 1;
}

/* ========================================
   チェックボックス
======================================== */

.CF7_table .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.CF7_table .wpcf7-list-item {
	margin: 0;
}

.CF7_table .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
	cursor: pointer;
}

.CF7_table input[type="checkbox"] {
	position: relative;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #aaa;
	border-radius: 3px;
	background: #fff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.CF7_table input[type="checkbox"]:checked {
	border-color: #333;
	background: #333;
}

.CF7_table input[type="checkbox"]:checked::after {
	position: absolute;
	top: 2px;
	left: 6px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.CF7_table input[type="checkbox"]:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

/* ========================================
   ファイル添付
======================================== */

.CF7_table .file-100 {
	vertical-align: middle;
}

.CF7_table input[type="file"] {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #bbb;
	border-radius: 4px;
	background: #fff;
	color: #555;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.CF7_table input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 10px 16px;
	border: 1px solid #333;
	border-radius: 3px;
	background: #333;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.CF7_table input[type="file"]::file-selector-button:hover {
	background: #555;
}

.CF7_file_note {
	margin: 10px 0 0;
	color: #777;
	font-size: 13px;
	line-height: 1.7;
}

/* ========================================
   エラー表示
======================================== */

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 8px;
	color: #c83535;
	font-size: 13px;
	font-weight: 700;
}

.CF7_table .wpcf7-not-valid {
	border-color: #c83535 !important;
	background: #fffafa;
}

.wpcf7 form .wpcf7-response-output {
	margin: 25px 0 0;
	padding: 15px 18px;
	border: 1px solid #333;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.7;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #c83535;
	background: #fff8f8;
	color: #c83535;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2f7d32;
	background: #f5fff5;
	color: #2f7d32;
}

/* ========================================
   送信ボタン
======================================== */

.CF7_btn {
	margin: 35px 0 0;
	text-align: center;
}

.CF7_btn .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 360px;
	min-height: 58px;
	box-sizing: border-box;
	margin: 0;
	padding: 15px 30px;
	border: 2px solid #333 !important;
	border-radius: 4px;
	background: #333 !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	opacity: 1 !important;
	appearance: none;
	-webkit-appearance: none;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.CF7_btn .wpcf7-submit:hover {
	background: #fff !important;
	color: #333 !important;
	transform: translateY(-2px);
}

.CF7_btn .wpcf7-submit:focus {
	outline: 3px solid rgba(0, 0, 0, 0.18);
	outline-offset: 3px;
}

.CF7_btn .wpcf7-submit:disabled {
	background: #999 !important;
	border-color: #999 !important;
	color: #fff !important;
	cursor: not-allowed;
	transform: none;
}

/* 送信中のスピナー */

.CF7_btn .wpcf7-spinner {
	display: block;
	margin: 15px auto 0;
}

/* ========================================
   自動入力時の背景色対策
======================================== */

.CF7_table input:-webkit-autofill,
.CF7_table input:-webkit-autofill:hover,
.CF7_table input:-webkit-autofill:focus {
	-webkit-text-fill-color: #333;
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	transition: background-color 9999s ease-in-out 0s;
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

	.CF7_table,
	.CF7_table tbody,
	.CF7_table tr,
	.CF7_table th,
	.CF7_table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.CF7_table tr {
		border-bottom: 1px solid #ddd;
	}

	.CF7_table th {
		padding: 15px;
		border: 0;
		background: #f3f3f3;
		font-size: 15px;
	}

	.CF7_table td {
		padding: 15px 15px 22px;
		border: 0;
	}

	.CF7_req,
	.CF7_unreq {
		min-width: 40px;
		margin-right: 8px;
		padding: 4px 7px;
		font-size: 11px;
	}

	.CF7_table input[type="text"],
	.CF7_table input[type="email"],
	.CF7_table input[type="tel"],
	.CF7_table input[type="url"],
	.CF7_table input[type="number"],
	.CF7_table select,
	.CF7_table textarea {
		padding: 12px;
		font-size: 16px;
	}

	.CF7_table textarea {
		min-height: 180px;
	}

	.CF7_table .wpcf7-checkbox {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
	}

	.CF7_table .wpcf7-list-item label {
		font-size: 14px;
	}

	.CF7_table input[type="file"] {
		padding: 8px;
		font-size: 13px;
	}

	.CF7_table input[type="file"]::file-selector-button {
		margin-right: 8px;
		padding: 9px 12px;
		font-size: 13px;
	}

	.CF7_btn {
		margin-top: 25px;
		padding: 0 15px;
	}

	.CF7_btn .wpcf7-submit {
		width: 100%;
		max-width: none;
		min-height: 56px;
		font-size: 16px;
	}

}

/* ========================================
   小さいスマートフォン
======================================== */

@media screen and (max-width: 480px) {

	.CF7_table .wpcf7-checkbox {
		grid-template-columns: 1fr;
	}

}