/* ========================================

  style CSS

======================================== */
#footerArea{
  margin-top: 80px;
}
#btnContact{
  display: none!important;
}

#contents #contentsBody {
  margin-top: 80px;
}
#contents #contentsBody p{
  text-align: justify;
  line-height: 1.8;
}
#contents .section+.section{
  margin-top: 80px;
}

#contents #mainArea{
  position: relative;
  background-image: url("/wp/wp-content/themes/kamishibai/img/contact/main.jpg");
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 450px;
}
#contents #mainArea h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="reset"],
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="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="reset"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

/*form*/
label,
input[type='checkbox']{
  cursor: pointer;
}
input[type=text],
input[type=email],
textarea{
  font-size: 16px;
  padding: 10px;
  border-radius: 4px;
  border: solid 1px #e1decd;
	outline: none;
}
textarea{
  width: 100%;
}
#contents .formWrap{
  background: #fff;
  padding: 40px;
  margin-top: 30px;
}
#contents table{
  width: 100%;
  border-top: dotted 1px #e1decd;
  margin-top: 30px;
}
#contents table th,
#contents table td{
  padding: 20px 5px;
  border-bottom: dotted 1px #e1decd;
  vertical-align: middle;
}
#contents table th{
  font-weight: bold;
}
#contents table th{
  width: 25%;
  white-space: nowrap;
  padding-right: 20px;
}
#contents table td{
  width: 75%;
}
#contents table th span{
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  background: #db472e;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 5px;
}

#contents .boxList{
  margin-top: 20px;
}
.mw_wp_form .horizontal-item + .horizontal-item {
	margin-left: 0px!important;
  margin-top: 4px;
}
.mw_wp_form .horizontal-item{
  display: block;
}
.mw_wp_form_preview td p{
  display: none;
}
.mw_wp_form_preview .introTxt{
  display: none;
}
.prevTxt{
  display: none;
}
.mw_wp_form_preview .prevTxt{
  display: block;
}
.mw_wp_form_complete p+p{
  margin-top: 10px;
}
.error{
  margin-top: 5px;
}


.bt_submit{
	cursor: pointer;
	background: #fbbf19;
	color: #231815;
	border: none;
	font-size: 18px;
	font-weight: bold;
	padding: 14px 30px;
	border-radius: 5px !important;
}
.bt_submit:hover{
	background: #231815;
  color: #fff;
}
.bt_reset{
	cursor: pointer;
	background: #aaa;
	color: #fff;
	border: none;
	font-size: 18px;
	font-weight: bold;
	padding: 14px 30px;
	border-radius: 5px !important;
}
.bt_reset:hover{
	background: #bbb;
}
.submit_area{
  text-align: center;
  margin-top: 20px;
}


/* PC Styles
======================================== */
@media screen and (min-width: 1081px) {

}

/* Tablet Styles
======================================== */
@media screen and (min-width:601px) and (max-width:1080px) {
  
}
@media screen and (max-width:1080px) {
  #contents .boxList{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
  }
  #contents .boxList li{
    margin-right: 0;
  }
  #contents .boxList li+li{
    margin-top: 8px;
  }
}
@media screen and (max-width: 800px) {
  input[type=text],
input[type=email],
textarea{
    width: 100%;
  }
  
  #contents table th,
  #contents table td{
    display: block;
    border: none;
    width: 100%;
  }
  #contents table th{
    background: #e1decd;
    padding: 8px 10px;
  }
  #contents table td{
    padding: 10px 10px 20px 10px;
  }
}

/* Mobile Styles
======================================== */
@media screen and (max-width: 600px) {
  #footerArea{
    margin-top: 40px;
  }
  
  #contents #contentsBody {
    margin-top: 40px;
  }
  #contents #mainArea{
    height: 280px;
  }
  #contents .formWrap{
    padding: 20px;
    margin-top: 30px;
  }
}