@charset "utf-8";
/* CSS Document */
@media screen and (min-width:500px) {
	header {
		display: block;
		width: 100%;
		height: auto;
	}
	header div {
		display: grid;
		grid-template-columns: 15% 85%;
		grid-auto-rows: 100px;
		column-gap: 20px;
		justify-items: center;
		align-items: center;
	}
	header div p:first-of-type {
		display: inline-block;
	}
	header div p img {
		width: 100%;
		height: auto;
	}
	header div p:last-of-type {
		display: inline-block;
		text-align: center;
	}
}
@media screen and (max-width:499px) {
	header {
		display: block;
		width: 100%;
		height: auto;
	}
	header div p {
		margin: 0;
		padding: 0;
	}
	header div p:first-of-type {
		display: block;
		width: 100%;
	}
	header div p img {
		width: 20%;
		height: auto;
	}
	header div p:last-of-type {
		display: inline-block;
		text-align: center;
	}
}
main {
	background: url(../../image/bgw.webp) top center repeat;
}
h1 {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	background: url(../../image/bg.webp) top center repeat;
	font-size: 1.3em;
	color: rgb(255,255,255);
	padding: 5px 0;
	text-align: center;
}
.contents {
	display: block;
	width: 96%;
	height: auto;
	margin: 0 auto;
}
.contents p.send-msg {
	padding: 10px 0;
	color: rgb(33,119,255);
	font-size: 1.2em;
	text-align: center;
}
@media screen and (min-width:500px) {
	table.formTable {
		width: 100%;
		margin: 0 auto;
		border-collapse: collapse;
	}
	table.formTable td,table.formTable th {
		border: 1px solid rgb(204,204,204);
		padding: 10px;
	}
	table.formTable th {
		width: 35%;
		font-weight: normal;
		background-color: rgba(239,239,239,0.5);
		text-align: left;
	}
}
@media screen and (max-width:499px) {
	table.formTable {
		width: 100%;
		margin: 0 auto;
		border-collapse: collapse;
	}
	table.formTable td,table.formTable th {
		display: block;
		border: 1px solid rgb(204,204,204);
		padding: 10px;
		width: calc(100% - 20px);
	}
	table.formTable th {
		font-weight: normal;
		background-color: rgba(239,239,239,0.5);
		text-align: left;
		color: rgb(33,119,255);
	}
}
.contents p.btn-area {
	width: 100%;
	text-align: center;
	padding: 20px 0;
}
.contents p.btn-area input {
	padding: 10px 20px;
	margin: 10px 20px;
	font-size: 1.0em;
}
div.error-comment {
	display: block;
	width: 100%;
	text-align: center;
}
p.error_messe {
	margin: 10px 0;
	color: red;
}
input[type=button] {
	padding: 10px 20px;
	font-size: 1.0em;
}
