@charset "utf-8";

* {
	box-sizing: border-box;
	outline: none;
}
html {
	font-size: 10px;
}
body {
	font-family: "Noto Sans JP";
}
main {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 10px;
}
h1 {
	text-align: center;
	color: #fff;
	font-size: 1.6rem;
	margin-bottom: 20px;
	padding: 16px 0;
	letter-spacing: 0.1rem;
	text-indent: 0.1rem;
	background: rgb(250, 170, 60);
	border-radius: 10px;
	letter-spacing: 0.1em;
	text-indent: 0.1em;
}
.wpcf7 .wpcf7-response-output {
	padding: 12px 8px;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 10px;
	border-color: #aa0000;
	background: #fffcd3;
}
.wpcf7 .screen-reader-response ul {
	display: none;
}
.wpcf7-form {
	font-size: 1.4rem;
}
.wpcf7-form p {
	margin-bottom: 0.5rem;
}
.wpcf7-form .caution {
	color: red;
	font-size: 80%;
	margin-bottom: 30px;
}
.wpcf7-form table {
	margin-bottom: 30px;
}
.wpcf7-form table tr th,
.wpcf7-form table tr td {
	border: 2px solid #666;
	padding: 1rem;
}
.wpcf7-form table tr th {
	background: #FFF4D9;
	text-align: left;
}
.wpcf7-form table tr th .required {
	color: red;
	font-size: 0.8rem;
	font-weight: bold;
}
.wpcf7-form table tr td input {
	display: inline-block;
}
.wpcf7-form table tr td .last_name,
.wpcf7-form table tr td .first_name,
.wpcf7-form table tr td .last_kana,
.wpcf7-form table tr td .first_kana {
	line-height: 2;
}
.wpcf7-form table tr td[class^=data] .caption {
	display: inline-block;
}
.wpcf7-form table tr td.data-nameKanji .caption {
	width: calc(1em + 5px);
}
.wpcf7-form table tr td.data-nameYomi .caption {
	width: calc(2em + 5px);
}
.wpcf7-form table tr td.data-address .caption {
	width: calc(5em + 5px);
}
.wpcf7-form table tr td.birthday .caption {
	display: inline-block;
	padding: 0 0.2em;
}
.wpcf7-form table tr td.birthday .sp {
	display: none;
}
input[type=text],
input[type=email],
input[type=tel],
textarea {
	width: 100%;
	padding: 5px;
	font-size: 12px;
	border-radius: 5px;
	border: 1px solid #aaa;
	background: #fff;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}
select {
	padding: 5px;
	font-size: 12px;
	border-radius: 5px;
	border: 1px solid #aaa;
	background: #fff;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}
.wpcf7-form table tr td input[type=radio] {
	-webkit-box-shadow: none;
}
.wpcf7-form table tr td input[name=last_name],
.wpcf7-form table tr td input[name=first_name] {
	max-width: calc(100% - 19px);
}
.wpcf7-form table tr td input[name=last_kana],
.wpcf7-form table tr td input[name=first_kana] {
	max-width: calc(100% - 33px);
}
.wpcf7-form table tr td .wpcf7-list-item.first {
	margin-left: 0;
}
.wpcf7-form table tr td input[name=postal_code1],
.wpcf7-form table tr td input[name=postal_code2] {
	width: 50px;
}
.wpcf7-form table tr td input[name=address1] {
	max-width: calc(100% - 75px);
}
.wpcf7-form input[type=submit],
.wpcf7-form input[type=button] {
	color: #aa0000;
	font-weight: bold;
	font-size: 1.5rem;
	padding: 5px 15px;
	margin: 0 10px 10px 0;
	border: 2px solid #aa0000;
	border-radius: 30px;
	background: #fafafa;
	box-shadow: 1px 1px 0px 0.5px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: 0.08s ease 0s;
}
.wpcf7-form input[type=submit]:hover,
.wpcf7-form input[type=button]:hover {
	box-shadow: none;
	opacity: 0.7;
}
.wpcf7-form table tr td .wpcf7-not-valid-tip {
	display: none;
}
.wpcf7-form table tr td input[name=postal_code1] + .wpcf7-not-valid-tip {
	display: none;
}
@media all and (max-width: 450px) {
	input[type=text],
	input[type=email],
	input[type=tel] {
		width: 50vw;
	}
	select {
		width: 5.5em;
		margin-bottom: 5px;
	}
	.wpcf7-form table tr td.birthday .sp {
		display: inline;
	}
	.wpcf7-form table tr td input[name=address1] {
		display: block;
		max-width: 100%;
		margin-top: 3px;
	}
}

/* 確認画面 */
.custom-wpcf7c-confirmed input[type=text].wpcf7c-conf,
.custom-wpcf7c-confirmed input[type=email].wpcf7c-conf,
.custom-wpcf7c-confirmed input[type=tel].wpcf7c-conf,
.custom-wpcf7c-confirmed select.wpcf7c-conf {
	border: #fff;
	background: #fff;
	padding: 0;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.custom-wpcf7c-confirmed ::-ms-expand {	/* select要素のデザインを無効にする（IE用） */
	display: none;
}
.custom-wpcf7c-confirmed table tr td.data-nameKanji .caption {
	display: none;
}
.custom-wpcf7c-confirmed table tr td.data-nameYomi .caption {
	display: none;
}
.custom-wpcf7c-confirmed table tr td.data-address .caption {
	font-size: 12px;
	font-family: auto;
}
.custom-wpcf7c-confirmed select.wpcf7c-conf {
	width: auto;
}
.custom-wpcf7c-confirmed input[name=postal_code1].wpcf7c-conf {
	display: inline;
	width: 25px;
}
.custom-wpcf7c-confirmed input[name=postal_code2].wpcf7c-conf {
	display: inline;
	width: 30px;
}
.afterText {
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.2;
}