/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100% !important;
	height:40px;
	padding:0 0.5em;
	border:2px solid #d2d2d2;
	border-radius: 5px;
	outline:none;
}

@media screen and (max-width:750px){
  input[type="text"],
  input[type="email"],
  input[type="tel"]{
    height:3em;
    font-size:3.2vw;
  }
}

@media screen and (max-width:540px){
  input[type="text"],
  input[type="email"],
  input[type="tel"]{
    font-size:16px;
  }
}

.middle input[type="text"],
.middle input[type="email"],
.middle input[type="tel"]{
	width:78% !important;
}
.short input[type="text"],
.short input[type="email"],
.short input[type="tel"]{
	width:54% !important;
}

@media screen and (max-width:750px){
  .middle input[type="text"],
  .middle input[type="email"],
  .middle input[type="tel"],
  .short input[type="text"],
  .short input[type="email"],
  .short input[type="tel"]{
    width:100% !important;
  }
}



/* チェックボックス */
input[type="checkbox"] {
	opacity:0;
}
input[type="checkbox"] + span{
  height:1.4em !important;
  line-height:1.2 !important;
  display:inline-block;
  vertical-align:middle;
  position: relative;
  margin-left:-15px;
  padding-left:30px;
}
@media screen and (max-width:750px){
  input[type="checkbox"] + span{
    font-size:3.2vw;
  }
}
@media screen and (max-width:540px){
  input[type="checkbox"] + span{
    font-size:3.6vw;
  }
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 22px;
	height: 22px;
	margin-right:0px;
	background-color: #FFFFFF;
	border:1px solid #999;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	vertical-align: middle;
	border-radius:2px;
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}

input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 8px;
	height: 14px;
	position: absolute;
	top: calc(50% - 9px);
	left: 7px;
	border-right: 3px solid #f00;
	border-bottom: 3px solid #f00;
	content: '' !impo3tant;
	-webkit-transform: rotate(45deg) !important;
	-ms-transform: rotate(45deg) !important;
	transform: rotate(45deg) !important;
}


/* ラジオボタン */
input[type="radio"] {
	opacity:0;
}
input[type="radio"]  + span{
	margin-left:-12px;
	padding-left:30px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
@media screen and (max-width:750px){
  input[type="radio"]  + span{
    font-size:3.2vw;
  }
}
@media screen and (max-width:540px){
  input[type="radio"]  + span{
    font-size:3.6vw;
  }
}

input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #999;
	border-radius:  50%;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="radio"]:checked + span:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: #444;
	position: absolute;
	top: 50%;
	left: 5px;
	transform:translateY(-50%);
	border-radius: 50%;
}


/* ラジオボタン(チェックボックスをラジオボタンデザインに) */
.radio input[type="checkbox"] {
	opacity:0;
}
.radio input[type="checkbox"] + span{
	margin-left:-12px;
	padding-left:30px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
  line-height:1;
}
@media screen and (max-width:750px){
  .radio input[type="checkbox"] + span{
    font-size:3.2vw;
  }
}
@media screen and (max-width:540px){
  .radio input[type="checkbox"] + span{
    font-size:3.8vw;
  }
}

.radio input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #999;
	border-radius:  50%;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
.radio input[type="checkbox"]:checked + span:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: #444;
	position: absolute;
	top: 50%;
	left: 5px;
	transform:translateY(-50%) !important;
	border-radius: 50%;
	border:none;
}


/* テキストエリア */
textarea{
	width:100% !important;
	min-height: 8.2em;
	height:32px;
	padding:0.5em 1em;
	border:2px solid #d2d2d2;
	border-radius: 5px;
  background-color:transparent;
	font-weight:normal;
	vertical-align:bottom;
	outline:none;
  position:relative;
	z-index:1;
}
@media screen and (max-width:750px){
  textarea{
    min-height: 11em;
    font-size:3.2vw;
  }
}
@media screen and (max-width:540px){
  textarea{
    font-size:16px;
  }
}

/* ボタン */
input[type="submit"],
input[type="button"]{
  display:inline-block;
  width:480px;
  line-height:2.8;
  margin-top:50px;
  padding:0 10px;
  border-radius:0.3em;
  font-size:32px;
  font-weight:900;
  color:#fff;
  letter-spacing:0.05em;
  text-indent:0.05em;
  background:#cb2318 url(../images/submit_arrow.png)no-repeat right 0.6em center;
  background-size:0.45em auto;
  box-shadow:0 5px 0 #861109;
  cursor:pointer;
  -webkit-transition : opacity 0.4s;
  transition : opacity 0.4s;
}
input[type="submit"]:hover,
input[type="button"]:hover{
	opacity:0.8;
}
input[type="submit"] + br,
input[type="button"] + br{
  display:none;
}

.confirm input[type="submit"]{
  width:11em;
  margin-left:0.2em;
}
.confirm input[type="button"]{
  width:5em;
  background-color:#999;
  box-shadow:0 5px 0 #333;
}


/*送信ボタンを押した時のクルクル回るやつのせいでボタンがセンタリングできないので消去*/
div.wpcf7 .wpcf7-spinner {
  display: none !important;
}

@media screen and (max-width:750px){
  input[type="submit"],
  input[type="button"]{
    width:80%;
    margin-top:5%;
    font-size:5.2vw;
  }
}


/* プレイスホルダー */
input::placeholder,
textarea::placeholder{
	color:#a0a0a0;
}
input:-ms-input-placeholder,
textarea::placeholder{
	color:#a0a0a0;
}
input::-ms-input-placeholder,
textarea::placeholder{
	color:#a0a0a0;
}