@charset "utf-8";

.table_inquiry {
  width: 100%;
  max-width: 740px;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 60px;
  background-color: rgba(255,255,255,0.6);
}
table th,
table td {
  border-top: #d2d2d2 1px solid;
  text-align: left;
  font-size: 1.6rem;
  padding: 20px 40px;
}
table tr:last-child th,
table tr:last-child td {
  border-bottom: #d2d2d2 1px solid;
}

table th {
  max-width: 240px;
}
table td {

}
.asterisk {
  background-color: #ff9934;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0.16rem;
  vertical-align: 0.25rem;
  margin-left: 15px;
  padding: 1px 5px;
  border-radius: 3px;
}

td input,
td select,
td textarea{

}


input[type="text"],
textarea {
  width: 80%;
  min-width: 300px;
  border-radius: 10px;
  border: #cfcfcf 2px solid;
  padding: 5px 10px 3px;
  
  -webkit-transition: all 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: all 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -ms-transition: all 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
input[type="text"]:focus,
textarea:focus {
  border-color: #ff9934;
  background-color: #f6f4ed;
  outline: none;
}

input[name="entry_inquiry_zip"] {
}



input[type="checkbox"] {
  opacity: 0;
}
input[type="checkbox"] + .check {
  width: 20px;
  height: 20px;
  display: block;
  float: left;
  margin-right: 15px;
  margin-top: 3px;
  border: #ff9934 2px solid;
  border-radius: 5px;
  position: relative;
}
input[type="checkbox"] + .check::after {
  content: '';
  position: absolute;
  top: -9px;
  bottom: 0;
  left: 7px;
  display: block;
  /* margin-top: -7px; */
  margin: auto;
  width: 10px;
  height: 20px;
  border-right: 4px solid #ff9934;
  border-bottom: 4px solid #ff9934;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  
  -webkit-transition: opacity 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: opacity 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -ms-transition: opacity 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
input[type="checkbox"]:checked + .check::after {
  opacity: 1;
}

.radio_box label {
  display: block;
  float: left;
  margin-right: 15px;
}
input[type="radio"] {
  opacity: 0;
}
input[type="radio"] + .radio {
  width: 20px;
  height: 20px;
  display: block;
  float: left;
  margin-top: 3px;
  border-radius: 50%;
  border: #ff9934 2px solid;
  position: relative;
}
input[type="radio"] + .radio::after {
  content: "";
  width: 75%;
  height: 75%;
  display: block;
  float: left;
  margin-right: 15px;
  margin-top: 3px;
  background-color: #ff9934;
  border-radius: 50%;
  
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  
  -webkit-transition: opacity 200ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: opacity 200ms cubic-bezier(0.215, 0.61, 0.355, 1);
  -ms-transition: opacity 200ms cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity 200ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
input[type="radio"]:checked + .radio::after {
  opacity: 1;
}
button:focus {
  outline: none;
}
.agree label {
  display: block;
}
.error{
  display: block;
  color: red;
}
.large {
  width: 300px;
}
.middle {
  width: 180px;
}
.small {
  width: 75px;
}	
.smallw {
  width: 40px;
}	
textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}
textarea.large {
  height: 200px;
}
textarea.middle {
  height: 200px;
}
textarea.small {
  height: 100px;
}	

@media screen and (max-width: 768px) {
  table th,
  table td {
    display: block;
    width: 100%;
    max-width: none;
    padding: 10px 20px;
  }
  table th {
    font-weight: bold;
    padding-bottom: 2px;
  }
  table td {
    border-top: none;
    padding-top: 2px;
  }
  input[type="text"],
  textarea {
    width: 100%;
  }
  .agree th {
    display: none;
  }
}
@media screen and (max-width: 479px) {
  table th,
  table td {
    padding-left: 10px;
    padding-right: 10px;
  }
  input[type="text"],
  textarea {
    min-width:200px; 
  }
}