@charset "UTF-8";

/* 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;
}

/* javaScriptでヘッダー分のmarginを調整しない場合は必要
#mf_link {
   margin-top:-60px;
  padding-top:60px;
}
*/

div#mf_wrapper {
}
div#mf_header h3 {
	font-size: 24px;
	margin: 0px;
	padding: 8px 16px 0;
}
form#mailform {
}
table.mailform {
	margin : 0 auto;
	overflow : hidden;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
	width: 100%;
}
table.mailform tr th,table.mailform tr td {
	text-align: left;
	border-bottom: solid 1px #ccc;
	padding: 12px 5px 8px 30px;
}
table.mailform tr th {
	overflow : hidden;
	vertical-align: top;
	width : 100%;
	float : none;
	padding : 1.5em 0 0.5em 0;
	display: block;
	border-bottom: none;
	font-weight: bold;
}
table.mailform tr td {
	width : 100%;
	float : none;
	border-top : none;
	padding : 0 0 1.5em 0;
	display: block;
}
table.mailform tr td.lasttd {
	border-bottom: none;
	padding : 0;
}

table.mailform tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 80%;
	font-weight: normal;
	color: #3377ff;;
}
table.mailform tr td textarea {
	width: 100%;
	height: 120px;
}

span.required, span.optional {
	display: inline-block;
	color: #ffffff;
	line-height: 1;
	padding: .5em 9px;
	margin-right: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	font-size: 0.75em;
	vertical-align: 0.08em;
}

/* --span color Base f46f9c http://paletton.com/--- */

span.required{
	background : #ed4c82;
}

span.optional{
	background : #46a1c8;
}
select:invalid {
	color: #888;
}

select:invalid:focus {
	color: #000;
}
form#mailform input[type="text"],
form#mailform input[type="email"],
form#mailform input[type="tel"]{
	width : 100%;
	height : 2.6em;
	padding : 0 1em;
	border : 1px solid #cccccc;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
-o-border-radius: 6px;
border-radius: 6px;
	background : #fafafa;
	-webkit-appearance : none;	-moz-appearance: none;	appearance: none;
	font-size : 100%;
	font-family : inherit;
	margin-top : 5px;
}

form#mailform input[type="text"]:focus,
form#mailform input[type="email"]:focus,
form#mailform input[type="tel"]:focus,
form#mailform textarea:focus{
	box-shadow : 0px 0px 5px #55ccff;
	border : 1px solid #55ccff;
	background : #ffffff;
	outline: none;
}

form#mailform input[type=radio]{
	margin-right: 10px;
}

form#mailform select {

  /* styling */
	background : #fafafa;
	border : 1px solid #cccccc;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
-o-border-radius: 6px;
border-radius: 6px;
  display: inline-block;
	font-size : 100%;
	font-family : inherit;
	height : 2.6em;
	padding : 0 1em;

  /* reset */

  margin: 0;      
	margin-top : 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

form#mailform select::-ms-expand {
	display: none;
}

/* arrows */

form#mailform select {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="5"><path d="M0,0 10,0 5,5z" fill="%23888" /></svg>');
	background-position: calc(100% - 0.5em) 1em;
	background-repeat: no-repeat;
}

form#mailform select:focus {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="5"><path d="M0,5 5,0 10,5z" fill="%2355ccff" /></svg>');
  outline: 0;
	box-shadow : 0px 0px 5px #55ccff;
	border : 1px solid #55ccff;
}


form#mailform select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

form#mailform select::after {

}

form#mailform .form_post {
	width: 13.5em !important;
	margin: 0 0 0.5em 0;
}
@media screen and ( max-width : 486px ){
	form#mailform .button_post {
		margin: 0.5em 0 1em !important;
	}
}
form#mailform .button_post {
	padding: 0.7em 1.7em 0.7em 0.5em !important;
	border: 1px solid #c5243a;
	color: #c5243a;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="5"><path d="M0,0 10,0 5,5z" fill="%23c5243a" /></svg>');
	background-position: calc(100% + 0.35em) 1.05em;
	background-repeat: no-repeat;
	margin: 0 0 0 0.5em;
	font-size: 0.7em;
}
form#mailform .button_post:hover {
	-webkit-opacity: 0.7;
	-moz-opacity: 0.7;
	-o-opacity: 0.7;
	filter: alpha(opacity=70);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
	opacity: 0.7;
}
form#mailform textarea{
	display : block;
	width : 100%;
	height : 200px;
	padding : 0.8em 1em;
	resize : vertical;
	border : 1px solid #cccccc;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	background : #fafafa;
	-webkit-appearance : none;	-moz-appearance: none;	appearance: none;
	font-size : 100%;
	font-family : inherit;
}
form#mailform p#form_submit{
	width : 90%;
	margin : 0 auto;
	padding : 2.5em 0 0;
	text-align: center;
}

form#mailform input[type="submit"]{
	padding : 16px 24px;
	vertical-align : middle;
	line-height : 1;
	background : #000;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	color : #fff;
	-webkit-appearance : none;	-moz-appearance: none;	appearance: none;
	font-size : 1.2em;
}

form#mailform input[type="submit"]:hover{
	cursor : pointer;
}

form#mailform label{
	padding: 1em 0 0 0.5em;
	display: inline-block;
	min-width: 100px;
}
form#mailform label span {
	vertical-align: -0.15em;
}
form#mailform textarea:focus{
}
/* --responsive----------------------------------------------------------------------------------------------------------------- */

/* 640pixel start */
@media screen and ( max-width : 640px ){

div#mf_wrapper {
}
form#mailform{
}

form#mailform table{
}
form#mailform tr{
}

form#mailform dl dt span{
	font-weight : normal;
}

span.required,
span.optional{
}

form#mailform input#form_submit_button{
	margin-left : 0;
}

form#mailform input#phone,
form#mailform input#schedule{
	width : 50%;
}

}
/* 640pixel end */

