/* CSS Document */

input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

.pt5 { padding-top:5px; }

h4.title_box {
	width: 100%;
	height:60px;
	background-color:#f2f2f2;
	color:#333;
	text-align:center;
	font-size:26px;
	margin-bottom:50px;
	line-height:60px;
}

h5.titbox_sm {
	width: 100%;
	background-color:#f2f2f2;
	color:#333;
	text-align:center;
	font-size:16px;
	margin-bottom:30px;
	padding:7px 3px;
}

h6.formtitle {
	font-size:18px;
	color:#333;
	margin-bottom:8px;
}

h6.formtitle span {
	color:#ff9600;
}
p.thanks {
	border-top:30px;
	border-bottom:50px;
	font-size : 16px;
	font-weight: bold ;
}

.formbox {
	width:100%;
	padding:20px;
	margin-bottom:30px;
	box-sizing:border-box;
	border:1px solid #A8DBE4;
	border-radius: 10px;		/* CSS3草案 */
	-webkit-border-radius: 10px;	/* Safari,Google Chrome用 */
	-moz-border-radius: 10px;	/* Firefox用 */
}

.formbox dl{
	margin-bottom: 15px;
}

.borderline{
	border-bottom:1px solid #CCCCCC;
	padding-bottom:10px;
}


.formbox dt{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
}
.formbox dt span{
	color: #FFF;
	font-size: 10px;
	background: #e60012;
	border-radius: 8px;
	padding: 5px 10px;
	margin-left:5px;
}
.formbox input[type="text"]{
	padding: 8px;
	border: 2px solid #e8f0f5;
	font-size: 16px;
}
.formbox .res {
	width:70%;
}

.formbox dd label{
	margin-left: 32px;
	margin-bottom: 20px;
	font-weight: bold;
}
.formbox textarea{
	padding: 15px;
	border: 2px solid #e8f0f5;
	width: 100%;
	font-size: 14px;
	box-sizing: border-box;
	height: 115px;
}

#error-msg {
	margin-bottom:30px;
	color:#FD0004;
	font-weight:bold;
}

#botan {
	text-align:center;
	width:100%;
	margin: 50px auto;
}

#botan input {
	-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
	display:inline-block;
  width: 200px;
	height:40px;
  font-size: 16px;
  text-align: center;
  background-color: #0093ae;
  border: #0093ae 2px solid;
  color: white;
	margin-left:10px;
	margin-right:10px;
	}
#botan input:hover {
	opacity: 1;
  background-color: white;
	color: #0093ae;
}

select {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-indent: 5px;
		background-image:url(../images/common/arow.png) ;
		background-repeat:no-repeat;
    background-position: right center;
		width:100px;
    height: 40px;
    font-size: 16px;
    vertical-align: middle;
    border:2px solid #e8f0f5;
		background-color:#fff;
    margin-bottom:5px;
		color:#3F3F3F;
}
@-moz-document url-prefix() { /* for firefox */
  	select {
        background:none;
        background-color: #FFF;
    }
}




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

form#mailform .formTbl {
	border-top: 1px solid #ccc;
 }
form#mailform .formTbl th {
	display: block;
  border-top: none;
  border-bottom: none;
  width: 100%;
	box-sizing:border-box;
}
form#mailform .formTbl td {
	display: block;
}

.formbox {
	padding:10px;
}


textarea {
	width:100%;
}

table.formTable{
  font-size: 1.2rem;
}

select {
	width:65px;
	text-indent: 0px;
}

}

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

#botan input {
  width: 140px;
	height: 38px;
  font-size: 15px;
	margin-left:5px;
	margin-right:5px;
	}



}
