@charset "UTF-8";

/* inputの共通CSS */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea {
	width: 100%;
	padding: 10px;
	border: 2px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="number"] {
	width: 6em;
}

/* inputフォーカス時のハイライト */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
	border-color: #007BFF;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
	outline: none;
}

/* ラジオボタンの行間調整 */
input[type="radio"] {
	margin-right: 5px;
}

label {
	margin-right: 15px;
	font-size: 15px;
}

.contents-area #submit {
	margin-top: 20px;
}

.contents-area #submit p {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}


input.wpcf7-submit {
	margin-top: 10px;
	background-color: #007BFF;
	/* メインカラー */
	color: #ffffff;
	/* 文字色 */
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ホバー時 */
input.wpcf7-submit:hover {
	background-color: #0056b3;
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* フォーカス時（キーボード操作などの視認性向上） */
input.wpcf7-submit:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4);
}

/* 無効状態（disabled） */
input.wpcf7-submit:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
	opacity: 0.7;
	box-shadow: none;
}

/* 第二階層 全体のセンタリングと余白 */
.second-area {
	text-align: center;
	padding: 30px 20px;
}


/*  第二階層 英語タイトル部分 */
.second-area h2.second-top-page-title {
	font-family: 'Jost';
	font-size: 30px;
	letter-spacing: 3px;
	margin-bottom: 10px;
	color: #3f3f3f;
	border-bottom: none;
	font-weight: 400;
}

/*  第二階層 日本語タイトル部分 */
.second-area p.second-top-page-subtitle {
	color: #3f3f3f;
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 40px;
}

/* 第三階層 全体のセンタリングと余白 */
.third-area {
	text-align: center;
	padding: 30px 0px;
}


/* 第三階層 タイトル部分 */
.third-area h2.third-top-page-title {
	font-family: 'Jost';
	font-size: 30px;
	letter-spacing: 3px;
	margin-bottom: 10px;
	color: #3f3f3f;;
	border-bottom: none;
	font-weight: 400;
}

/*  第三階層 日本語タイトル部分 */
.third-area p.third-top-page-subtitle {
	color: #3f3f3f;;
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
	.second-area {
		padding: 30px 10px;
	}

	.third-area {
		padding: 30px 0px;
	}

	.third-area p.third-top-page-subtitle {
		margin-bottom: 10px;
	}
}