.subf_view::before {
	background:url(../images/bg_subf_contact.jpg) no-repeat center / cover;
}

/* --- container --- */


.tac {
    text-align: center;
}

.container .head_p {
	margin-bottom:4em;
}

.container .b_hours {
	margin-top:1em;	
}

.container .b_hours dt {
    font-size: 1.2rem;
    background: #ababab;
    border-radius: 8px;
    padding: 0em 1em;
    line-height: 1.4em;
    margin-right: 1em;
}

.container .b_hours dd {
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
}

.fz-xl {
    font-size: 3.6rem;
}

.contact-info2 .fz-m {
	font-size:1.8rem;
}

.contact-info a.hel {
	letter-spacing: 0.4rem;
}

button {
	transition:all .4s;
	cursor:pointer;
}

.btn.invalid {
    background: #999;
}

button.btn_green {
	background:#fff;
}

.btn_green.invalid {
	border:1px solid #999;
	color:#fff;
}

.container .btn {
	width:100%;
	max-width:240px;
	margin:0 auto;
	height:46px;
	line-height:46px;
	border:none;
	margin-bottom:1.5em;
}


.container .btn_blue:hover::before {
    transform: skewX(-45deg) translateX(25.5em);
}



/* -----------------------------------
  Form
 ----------------------------------- */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border:none;
 /* border: 1px solid #D1D1D1; */
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #f5f4f4;
  color:inherit;
  font-size: 1.6rem;
  vertical-align:middle;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  outline:0;
}
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
textarea {
  width: 100%;
  height: 164px;
  padding:1em;
}
select::-ms-expand {
  display: none;
}
.select {
  position: relative;
  display: inline-block;
  margin: 10px 0
}
.select select {
    width: 100%;
    padding-right: 40px;
  }

  .select::before {
	content:"";
	position: absolute;
	top: 1.1em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
  }

/*
.select::after {
	content:"";
	position: absolute;
	top: 1.1em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
*/
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #009b63;
  outline: 0;
}
fieldset {
  padding: 0;
  border-width: 0;
}
input[type="checkbox"],
input[type="radio"] {
  display: inline;
  vertical-align: middle;
}
/* フォームテーブル */
.form {
  margin: 70px 0 0;
}
.form table {
    width: 100%;
    border-top: 1px solid #ababab;
    background: #fff;
  }
.form th,
  .form td {
	padding:30px 0;
	border-bottom: 1px solid #ababab;
  }
.form th {
    position: relative;
    width: 35%;
	min-width:270px;
    background: #fff;
	text-align:center;
	padding-right:40px;
	vertical-align: middle;
  }
.form td {
	width:65%;
	padding-right:25px;
}

.form th .label-required {
    margin-left: auto;
    vertical-align: middle;
  }
.form input[type="checkbox"],
  .form input[type="radio"] {
    position: relative;
    top: -3px;
    margin-right: 0.5em;
  }
.form .input-zip {
    width: 10em;
  }
.form .block {
    display: block;
  }

.form .subject label {
	margin-right:2em;
}
.label-required {
  display: inline-block;
  width:44px;
  height:20px;
  line-height:20px;
  text-align:center;
  background: #008ba5;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  position:absolute;
  right:40px;
  top:50%;
  transform:translateY(-50%);
}
@media all and (-ms-high-contrast: none) {
  /* ここに書く */
.label-required {
	top:auto;
	bottom:auto;
	 transform:translateY(0%);
  }
}

.contact-info {
  padding:50px 20px;
  background: #f5f4f4;
  text-align: center;
  margin-bottom:100px;
}
.contact-info__heading {
	font-size:1.8rem;
	letter-spacing: 0.1em;
	margin-bottom:1em;;
}
.contact-info2 {
  max-width: 800px;
  line-height: 1.5;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ababab;
}

.form-table {
	margin-bottom:3.5em;
}

@media screen and (max-width:960px){
	.form th {
		padding-right:3%;
		padding-left:3%;
		min-width:auto;
		line-height:1.5em;
		text-align:left;
	}

	.form th .label-required {
		position: relative;
   		top: auto;
    	right: auto;
	    transform: translateY(0);
		display: block;
		margin:0.5em auto 0 0;
	}
}

/* --- thanks html --- */

.thanks {
	margin-top:100px;
}
.thanks h1 {
	font-size:3.3rem;
	letter-spacing: 0.2em;
	margin-bottom:1em;
	line-height:1.5em;
}

.thanks p {
	font-size:1.3rem;
}


@media (min-width: 60.001em) {

/*
    .form th .label-required {
      position: absolute;
      right: 0;
      top: 0;
    }
    .form th,
    .form td {
      padding: 20px;
    }
*/
}


@media (max-width: 45em) {
/*
    .form table,
    .form thead,
    .form tbody,
    .form tr,
    .form th,
    .form td {
      display: block;
      width: 100%;
      border: none;
    }
    .form th {
      padding: 10px;
      border-bottom: 1px solid #ababab;
    }
    .form td {
      padding: 15px 10px 20px;
	}
*/

@media (max-width: 35em) {
	/* レスポンシブ */
	/*
	.table th,
	.table td {
		padding: 0.5em 1em;
	}
	*/
}

}
/* --- ver.sp --- */


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

    .form table,
    .form thead,
    .form tbody,
    .form tr,
    .form th,
    .form td {
      display: block;
      width: 100%;
      border: none;
    }

	.container .head_p {
		padding:0 6.5vw;
	}

	.contact-info {
		padding:10vw 6.5vw;
		margin-bottom:15vw;
	}

	.contact-info__heading {
		font-size:4vw;
	}


.container .b_hours dt {
    font-size: 3vw;
    border-radius: 2vw;
}

.container .b_hours dd {
    font-size: 4vw;
}

.form {
	margin:15vw 0 0 0;
}

.form th {
	padding:5vw 2.5vw;
	border-bottom: 1px solid #ababab; 
	font-size:3.5vw;
}

.form td {
	padding:5vw 2.5vw;
	font-size:3.5vw;
}

.form tr:not(:last-of-type) td {
	border-bottom: 1px solid #ababab; 
}

.form th .label-required {
	width:11vw;
	height:5vw;
	line-height:5vw;
	font-size:3vw;
	display: inline-block;
	margin:0 0 0 1em;
}


input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
	height:10vw;
	padding:2.5vw 3vw;
	font-size:3.5vw;
	font-weight:normal;
}

textarea {
	height:41vw;
}

.form input[type="checkbox"], .form input[type="radio"] {
	top:auto;
	margin:1px 0.4em 0 0;
}

.form .subject label {
	display: flex;
	display: -webkit-flex;
	align-items:center;
	-webkit-align-items:center;
	font-size:3.5vw;
}
.form .subject label span {
	font-size:3.5vw;
}

.container .btn {
	max-width:60vw;
	height:11.5vw;
	line-height:11.5vw;
	font-size:3.5vw;
}

/* --- thanks html --- */

.thanks {
	margin-top:15vw;
}
.thanks h1 {
	font-size:5vw;
}

.thanks p {
	font-size:3.25vw;
}




}
