*, input, select, textarea {
	letter-spacing:0.05em;
	line-height:1.5;
}

p {
	padding-bottom:1em;
}

#main {
	max-width:999px;
	margin:0 auto;

	padding-top:1em;
	/*background-color:#fafdff;*/
}

#main h2 {
	max-width:999px;
	background-size:contain;
}

table {
	width:100%;
	margin-bottom:1em;
}

table th {
	width:16em;
}

#error_list li {
	color:#c00;
	font-weight:bold;
}

.input_must {
	color:#c00;
	font-size:88%;
	font-weight:bold;
}

.input_free {
	color:#555;
	font-size:88%;
	font-weight:bold;
}

td label {
	cursor:pointer;
	
    display: inline-block;
    padding: 0.33em 0.5em;
    margin: 0.5em;
	
	color:#E85298;
/*    background-color:#E85298;*/
    border: 1px solid #E85298;
    border-radius: 0.25em;
    /* box-shadow: 1px 1px 0 rgba(0,0,0,0.2); */
}

td span {display:inline-block}

input, select, textarea {
	border:1px solid #999;
	border-radius:0.25em;
	padding:0.25em 0.5em;
}

input[type=text], select {
	margin-right:0.5em;
}

input[type=checkbox],
input[type=radio] {
	vertical-align:middle;
}

.number_2 {
	width:1.1em;
	text-align:right;
}

.number_4 {
	width:2.2em;
	text-align:right;
}

.number_6 {
	width:3.3em;
	text-align:right;
}

.number_8 {
	width:4.5em;
	text-align:right;
}

.number_14 {
	width:7.7em;
	text-align:right;
}

.url, .text_middle {
	width:52%;
}

textarea {
	width:96%;
	height:7.5em;
}

input + p {
	margin-top:1em;
}

.buttons input,
.buttons form {
	display:inline-block;
}

.buttons {
	text-align:center;
}

ul.attention li:before,
span.attention:before,
li.attention:before,
p.attention:before {
	content:"※";
	color:#c00;
}

ul.error {
	color:#c00;
	margin-bottom:1em;
}

summary {line-height:2;}


@media screen and (max-width: 749px) {
	
	select[id]{
		width: 100%;
	}

	#main {width:100%;}
	
	table {
		border-collapse:collapse;
	}
	
	table, tbody, tr, th, td {
		display:block;
		box-sizing:border-box;
	}
	
	table th, table td {
		border:#e3e3e3 1px solid;
	}
	
	table th {
		width:100%;
		text-align:left;
	}
	
	td {
		padding-bottom:1em;
	}
	
	#main > p, #main > ul, summary {
		padding:0 5%;
	}
	
	.must > th:before {
		content:"必須";
		color:#c00;
		font-weight:bold;
		margin-right:0.5em;
	}
	
	.all > th:before {
		content:"任意";
		color:#555;
		font-weight:bold;
		margin-right:0.5em;
	}
}

@media screen and (min-width: 750px) {
	
	.must > th:after {
		content:"必須";
		color:#c00;
		font-weight:bold;
		margin-left:0.5em;
	}
	
	.all > th:after {
		content:"任意";
		color:#555;
		font-weight:bold;
		margin-left:0.5em;
	}
}

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

	#index #header_bg{
		background-image: none;
	}
	
	#index #header_bg,
	#index #header_bg #header,
	#index #header_bg #header h1,
	#index #header_bg #header a
	{
		width:100%;
		background-size:contain;
	}

	#main h2 {
		width:100%;
		margin-top:3em;
	}

	#index #header_bg #header h1,
	#index #header_bg #header a
	 {
		 /*background-position:center center;*/
		 width: 60%;
		 margin-top: -75px;
	}
}

@media screen and (max-width: 749px) {
	
	/*#index #header_bg,
	#index #header_bg #header,
	#index #header_bg #header h1,
	#index #header_bg #header a
	{
		width:100%;
		background-size:contain;
	}

	#main h2 {
		width:100%;
		margin-top:3em;
	}*/

	#index #header_bg #header h1,
	#index #header_bg #header a
	 {
		 /*background-position:center center;*/
		 width: 95%;
		 margin-top: -60px;
	}
}