@charset "utf-8";

@media print, screen and (min-width: 721px) {
.contact_box {
	width:720px;
	margin:0 auto;
}
.contact_box p.text_indnt1em {
	text-indent: -1em;
    margin-left: 1em;
}
.contact_box dl {
	display: table;
    margin: 20px 0;
}
.contact_box dt {
	float: left;
    width: 220px;
    padding: 5px 0;
    font-weight: bold;
}
	.contact_box dt span {
		float: right;
		background: #6EB92B;
		color: #FFF;
		font-size: 70%;
		line-height: normal;
		padding: 1px 5px;
		margin: 5px 15px 0 0;
	}
	.contact_box dt span.optional {
		float: right;
		background: #f48500;
		color: #FFF;
		font-size: 70%;
		line-height: normal;
		padding: 1px 5px;
		margin: 5px 15px 0 0;
	}
.contact_box dd {
	padding: 5px 0 5px 225px;
}
.contact_box dd input.name {
	width:10em !important;
}
.contact_box dd input[type="text"] {
	width:315px;
}
.contact_box dd  textarea {
	width:490px;
	height:200px;
}
.sousin input[type="submit"] {
	background: #E5002C;
    color: #FFF;
    text-decoration: none;
    padding: 5px;
    min-width: 510px;
    display: inline-block;
    font-size: 18px;
    border: none;
    font-weight: bold;
    margin: 0 110px;
}
.sousin input[type="submit"]:hover {
	background:#3D61AC;
	color:#FFF;
}
/*-------------------------
  contactform7
--------------------------*/
.wpcf7-textarea {
	width:500px;
	height:210px;
}
.wpcf7-list-item {
	display:block;
}
.wpcf7-validation-errors {
	font-size: 120%;
    background: #FCE4DC;
    padding: 20px 0;
    text-align: center;
    border: 3px solid #CC0000;
    color: #CC0000;
    font-weight: bold;
	width: 720px;
    margin: 30px auto 0;
}
.screen-reader-response {
	display:none;
}
.wpcf7-not-valid-tip {
	color: #C00;
    font-weight: bold;
    padding-left: 20px;
}
.wpcf7-mail-sent-ok {
	font-size: 120%;
    background: #EBFADE;
    padding: 20px 0;
    text-align: center;
    border: 3px solid #009933;
    color: #009933;
    font-weight: bold;
	width: 720px;
    margin: 30px auto 0;
}
}

@media only screen and (max-width:720px) {
.contact_box {
	margin:0 auto;
}
.contact_box p.text_indnt1em {
	text-indent: -1em;
    margin-left: 1em;
}
.contact_box dl {
	display: table;
    margin: 20px 0 0;
}
.contact_box dt {
    padding: 0 0 5px 0;
    font-weight: bold;
}
	.contact_box dt span {
		background: #6EB92B;
		color: #FFF;
		font-size: 70%;
		line-height: normal;
		padding: 1px 5px;
		margin: 0 0 0 10px;
	}
	.contact_box dt span.optional {
		background: #f48500;
		color: #FFF;
		font-size: 70%;
		line-height: normal;
		padding: 1px 5px;
		margin: 0 0 0 10px;
	}
	
.contact_box dd {
	padding: 0 0 10px;
}
.contact_box dd input[type="text"],
.contact_box dd input[type="tel"],
.contact_box dd input[type="email"] {
	width:94%;
	font-size:17px;
}
.contact_box dd input[type="radio"] {
	width:auto;
}
.contact_box dd  textarea {
	width:95%;
	height:160px;
	font-size:17px;
}
.contact_box dd select {
	font-size:16px;
}
.sousin input[type="submit"] {
	background: #E5002C;
    color: #FFF;
    text-decoration: none;
    padding: 5px 35px;
    font-size: 18px;
    border: none;
    font-weight: bold;
    display: block;
    margin: 0 auto;
}
.sousin input[type="submit"]:hover {
	background:#3D61AC;
	color:#FFF;
}

div.wpcf7 {
	margin: 0 20px;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

/*-------------------------
  contactform7
--------------------------*/
.wpcf7-textarea {
	width:500px;
	height:210px;
}
.wpcf7-list-item {
	display:block;
}
.wpcf7-validation-errors {
	background: #FCE4DC;
    padding: 10px;
    text-align: left;
    border: 3px solid #CC0000;
    color: #CC0000;
    font-weight: bold;
    margin: 30px auto 0;
}
.screen-reader-response {
	display:none;
}
.wpcf7-not-valid-tip {
	color: #C00;
    font-weight: bold;
    clear: both;
    display: block;
}
.wpcf7-mail-sent-ok {
    background: #EBFADE;
    padding: 10px;
    text-align: left;
    border: 3px solid #009933;
    color: #009933;
    font-weight: bold;
    margin: 30px auto 0;
}
}