/* CSS Document */
main article {
	text-align: justify;
}


main article section#Sec1 {
	text-shadow:none;

}
h3 {
	font-size:1.2em;
	color:#fff;
	border-bottom:1px solid #999999;
	margin:1em 0.2em 0.2em;
}

h4 {
	margin-top:1em;
	text-align:justify;
	color:#999;
	margin:1em 0.2em 0.2em 0.5em;
}

form {
	background: #fff;
	margin: 0 auto;
	width:98%;
	padding: 1em;
	box-sizing: border-box;
}

dl {
	width:100%;
	text-align:justify;
}

dt {
	margin:0;
	margin-top:5px;
	padding-left:1em;
	text-indent: -1em;
	font-weight:bold;
	color:#222;
}

dt em {
	color:#F00;
}

dt span {
	margin-left:0.5em;
	font-weight:normal;
	font-size:80%;
	color:#666;
}

dd {
	text-align:left;
	padding-left:1em;
	padding-right:1em;
	font-size:100%;
	border-bottom:1px dotted #999999;
	margin-bottom:5px;
	padding-bottom:3px;
}

label span {
	margin-left:3px;
	line-height:2;
}

textarea {
	border:1px solid #666;
	width:100%;
	height:10em;
}

input.address {
	border:1px solid #666;
	padding:2px;
	margin-right:0.5em;
	color:#333;
	width:33.5em;
}

input.txt {
	border:1px solid #666;
	padding:2px;
	margin-right:0.5em;
	color:#333;
	width:30em;
}

input.num {
	border:1px solid #666;
	padding:2px;
	margin-right:0.5em;
	color:#333;
	width:8em;
}

li {
	list-style:none;
}

#formbox {
}

dd label {
  white-space: nowrap;
  margin-right:1em;
  color:#000;
}
dd label:last-child {
	margin-right:0;
}

.text-justify {
	text-align:justify;
}

.kikan {
	font-weight:bold;
	font-size:1.3em;
	color:#D2181C;
	text-align: center;
}

.submit::after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent transparent #fff;
    border-image: none;
    border-style: solid;
    border-width: 5px 7px;
    content: "";
    margin-top: -5px;
    position: absolute;
    right: 0.2em;
    top: 50%;
    transition: all 0.3s ease 0s;
}
.submit {
    background-color: #333;
    border: 2px solid #333;
    color: #fff;
    display: inline-block;
    font-size: 1em;
    line-height: 1.5;
    padding: 0.5em 4em;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease 0s;
	cursor:pointer;
}
.submit:hover {
	background-color: #fff;
	color: #333;
}
.submit:hover::after {
	border-left-color: #333;
}

.submit2 {
	position: relative;
	display: inline-block;
	padding: .5em 4em;
	background-color: #333;
	border: 2px solid #333;
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: all .3s;
	font-size:1em;
	line-height:1.5;
	cursor:pointer;
}
.submit2::before {
	position: absolute;
	top: 50%;
	left: .2em;
	content: '';
	margin-top: -5px;
	border: 7px solid transparent;
	border-top-width: 5px;
	border-bottom-width: 5px;
	border-right-color: #fff;
	transition: all .3s;
}
.submit2:hover {
	background-color: #fff;
	color: #333;
}
.submit2:hover::before {
	border-right-color: #333;
}

input[type="text"], 
input[type="email"], 
textarea {
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 16px;
    outline: medium none;
    padding: 3px 6px;
    transition: all 0.3s ease 0s;
    width: 30em;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
textarea:focus {
    border: 1px solid #4e98ff;
    box-shadow: 0 0 7px #4e98ff;
}

textarea {
	width:99%;
}

input:disabled {
	color:#CCC;
}
	
@media screen and (max-width: 960px) {/* 640px以下*/
	form {
		padding: 0.25em;
	}
	input.address {
		border:1px solid #666;
		padding:2px;
		margin-right:0.5em;
		color:#333;
		width:100%;
	}

	input.txt {
		border:1px solid #666;
		padding:2px;
		margin-right:0.5em;
		color:#333;
		width:100%;
	}

	input.num {
		border:1px solid #666;
		padding:2px;
		margin-right:0.5em;
		color:#333;
		width:15%;
	}
	input[type="text"], 
	input[type="email"], 
	textarea {
		width: 96%;
	}
	dd {
		padding: 0em;
	}
	dd label {
		display: block;
		text-indent: -1em;
		margin-left: 2em;
	}
	dd label span {
		white-space: normal;
	}

}

