@charset "UTF-8";
/*! このファイルを変更する場合は「.scss」から変更して下さい */
/*! 「.scss」ファイルがつかえない場合はcustom.cssを変更する */
input {
  padding: 4px 0;
}
input.long {
  width: 100%;
}
input.middle {
  width: 420px;
}
input.short {
  width: 120px;
}
input.mini {
  width: 80px;
}
input[type=text] {
  margin: 0 10px;
}
input[type=text]:first-of-type {
  margin-left: 0;
}
input[type=button], input[type=submit] {
  cursor: pointer;
  transition: all .4s;
}
input::placeholder {
  color: #ccc;
}

select {
  padding: 4px 10px;
  height: 45px;
}

textarea {
  padding: 15px 10px;
  line-height: 1.5em;
}
textarea.larget {
  width: 100%;
  height: 250px;
}
textarea.middle {
  width: 100%;
  height: 250px;
}
textarea.small {
  width: 100%;
  height: 250px;
}
textarea::placeholder {
  color: #ccc;
}

#contact {
  padding-bottom: 50px;
}
#contact .contact_title {
  text-align: center;
}
#contact .contact_title img {
  width: 100%;
}
#contact .contact__body {
  padding: 50px;
  background: #fffbcd;
}
#contact .contact__body .contact__description {
  text-align: center;
  line-height: 1.8em;
  margin-bottom: 25px;
}
#contact .form_title {
  font-size: 22px;
  margin-bottom: 40px;
  text-align: center;
}
#contact .form_title .fa {
  font-size: 20px;
  background: #fff;
  width: 2.3em;
  height: 2.3em;
  line-height: 2.3em;
  margin: 0 0 15px 0;
  -moz-border-radius: 1.5em;
  -webkit-border-radius: 1.5em;
  border-radius: 1.5em;
  color: #333;
}
#contact .about__title {
  margin-bottom: 40px;
}
#contact .form__btn-main {
  background: #ea5504;
  color: #ffffff;
  padding: 0.6em 1.5em 0.6em 2em;
  letter-spacing: 0.5em;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 26px;
  position: relative;
  box-shadow: 
    0 6px 0 #a04716,
    0 8px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}
#contact .form__btn-main:hover {
  transform: translateY(2px);
  box-shadow: 
    0 4px 0 #a04716,
    0 6px 10px rgba(0, 0, 0, 0.25);
}
#contact .form__btn-main:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 #a04716,
    0 3px 5px rgba(0, 0, 0, 0.2);
}
#contact .form__btn-sub {
  background-color: #ffffff;
  border: 3px solid #ccc;
  font-size: 0.9em;
  padding: 0.3em 1.5em 0.3em 2em;
  letter-spacing: 0.5em;
  margin-right: 20px;
  line-height: 3em;
  width: 200px;
}
#contact .form__btn-sub:hover {
  background-color: #eee;
}
#contact table tbody .sub {
  font-size: 14px;
  color: #cf1313;
}
#contact table tbody td, #contact table tbody th {
  display: block;
  width: 100%;
  line-height: 1.6em;
}
#contact table tbody th .form__label {
  font-weight: bold;
}
#contact table tbody td .td__row {
  margin-bottom: 20px;
}
#contact table tbody td .td__row:last-of-type {
  margin-bottom: 0;
}
#contact table tbody td .td__row .row__label {
  font-size: 14px;
}
#contact table tbody td .td__row .row__col {
  width: 48%;
}
#contact table tbody td .subgroup {
  background: #f5f5f5;
  padding: 30px;
}
#contact table tbody td .subgroup .subcontents__label {
  font-weight: bold;
  margin-bottom: 10px;
}
#contact #form .warning {
  text-align: left;
  font-weight: normal;
  margin: 0 0px 20px 20px;
}
#contact #form .warning li {
  margin-bottom: 0.3em;
}
#contact #form form {
  display: block;
}
#contact #form form input[type=checkbox] {
  margin-right: 0.5em;
}
#contact #form form table {
  width: 100%;
}
#contact #form form table tbody tr {
  border-bottom: 1px solid #e6ebf4;
}
#contact #form form table tbody th, #contact #form form table tbody td {
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}
#contact #form form table tbody th input, #contact #form form table tbody th select, #contact #form form table tbody td input, #contact #form form table tbody td select {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 14px 10px;
  border-radius: 5px;
  border: 1px solid;
}
#contact #form form table tbody th select, #contact #form form table tbody td select {
  padding: 12px 10px;
}
#contact #form form table tbody th textarea, #contact #form form table tbody td textarea {
  padding: 14px 10px;
}
#contact #form form table tbody th .input_row, #contact #form form table tbody td .input_row {
  margin: 5px 0;
}
#contact #form form table tbody th .input_row .row__label, #contact #form form table tbody td .input_row .row__label {
  display: inline-block;
  width: 100px;
}
#contact #form form table tbody th .radio, #contact #form form table tbody th .checkbox, #contact #form form table tbody td .radio, #contact #form form table tbody td .checkbox {
  float: left;
  margin: 0 20px 0 0;
  line-height: 3.5em;
}
#contact #form form table tbody th .radio input, #contact #form form table tbody th .checkbox input, #contact #form form table tbody td .radio input, #contact #form form table tbody td .checkbox input {
  position: relative;
  margin: 0 0.7em 0 0;
}
#contact #form form table tbody th .radio label, #contact #form form table tbody th .checkbox label, #contact #form form table tbody td .radio label, #contact #form form table tbody td .checkbox label {
  padding-left: 0;
}
#contact #form form table tbody th {
  padding: 35px 0 0 0;
}
#contact #form form table tbody th.form__caption {
  padding: 35px 0;
  text-align: center;
  background: #fff700;
  color: #ed0404;
  border: none;
  font-weight: bold;
}
#contact #form form table tbody .error {
  display: inline-block;
  color: #ea300b;
  margin-top: 3px;
}
#contact #form form table tbody .error:before {
  content: "\f06a";
  font-family: FontAwesome;
  margin-right: 0.3em;
}
#contact #form form table tbody .fukidashi {
  display: none;
  margin-left: 20px;
  background-color: #a00;
}
#contact #form form table tbody .fukidashi:after {
  border-right-color: #a00;
}
#contact #form form table tbody .label_b {
  margin-right: 0.5em;
}
#contact #form form table tbody .label_a {
  margin-left: 0.5em;
}
#contact #form form table tbody .subitems table tbody tr {
  border: none;
}
#contact #form form table tbody .subitems table tbody tr th {
  padding: 20px 0 0 0;
}
#contact #form form table tbody .subitems table tbody tr td {
  padding: 10px 0;
}
#contact #form form table tfoot td {
  padding-top: 50px;
  text-align: center;
}
#contact #form form .need {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  padding: 0px 5px;
  font-weight: normal;
  position: relative;
  top: -2px;
  left: 0;
  margin-left: 0.5em;
  background: #e4004f;
  color: #fff;
  font-size: 12px;
  line-height: 2.1em;
}
#contact #confirm {
}
#contact #confirm .information {
  font-size: 1.6em;
  margin: 10px 0 30px 0;
}
#contact #confirm .information .fa {
  margin-right: 1em;
}
#contact #confirm table {
  width: 100%;
}
#contact #confirm table tbody tr {
  border-bottom: 1px solid #ddd;
}
#contact #confirm table tbody th, #contact #confirm table tbody td {
  padding: 20px 10px;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}
#contact #confirm table tbody th input:nth-child(n+2), #contact #confirm table tbody td input:nth-child(n+2) {
  margin-top: 5px;
}
#contact #confirm table tbody th {
  padding-bottom: 0;
}
#contact #confirm table tfoot td {
  padding-top: 40px;
  text-align: center;
}
#contact #confirm table tfoot td form {
  display: inline-block;
}
#contact #complete {
  margin: 0px 0 40px 0;
}
#contact #complete .text {
  margin-bottom: 50px;
  line-height: 1.6em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  input.long {
    width: 100%;
  }
  input.middle {
    width: 100%;
  }
  input.short {
    width: 40%;
  }
  input.mini {
    width: 40%;
  }

  #contact {
    padding: 0;
  }
  #contact .contact__body {
    padding: 30px 15px;
  }
  #contact .form__btn-main {
    width: 100%;
    font-size: 1em;
    line-height: 3em;
  }
  #contact .form__btn-sub {
    font-size: 12px;
    letter-spacing: 0.4em;
    width: auto;
    color: #000;
    line-height: 2em;
    margin: 0 0 20px 0;
  }
  #contact .form_title {
    font-size: 16px;
    margin-bottom: 35px;
  }
  #contact #message {
    margin: 0;
  }
  #contact #message .message__about {
    margin: 0 0 15px 0;
  }
  #contact #message ul {
    padding: 30px 20px 30px 40px;
  }
  #contact #message .message__direct {
    padding: 15px 15px;
  }
  #contact #message .message__direct .direct__label {
    font-size: 15px;
    margin: 0;
    text-align: center;
  }
  #contact #message .message__direct .direct__tel {
    text-align: center;
    float: none;
    font-size: 28px;
    width: 100%;
    margin: 10px 0;
  }
  #contact #message .message__direct .direct__tel .tel_label {
    font-size: 14px;
  }
  #contact #message .message__direct .direct__tel .tel__no {
    font-size: 24px;
  }
  #contact #message .message__direct .direct__open {
    text-align: center;
    float: none;
    line-height: 1.2em;
    margin: 10px 0;
    font-size: 15px;
    width: 100%;
  }
  #contact #form {
    margin: 0;
  }
  #contact #form form {
    margin: 0;
  }
  #contact #form form .need {
    top: 0;
  }
  #contact #form form table tbody tr {
    border: none;
  }
  #contact #form form table tbody th {
    display: block;
    padding: 10px 0 5px 0;
    width: 100%;
  }
  #contact #form form table tbody td {
    display: block;
    padding: 0 0 10px 0;
  }
  #contact #form form table tbody td textarea {
    width: 100%;
  }
  #contact #confirm {
    padding: 10px 0;
    margin: 0;
  }
  #contact #confirm .information {
    font-size: 16px;
    margin-bottom: 20px;
  }
  #contact #confirm table.frame tbody th {
    display: block;
    padding: 20px 0 10px 0;
    width: 100%;
    color: #999;
  }
  #contact #confirm table.frame tbody td {
    display: block;
    padding: 0 0 20px 0;
  }
  #contact #confirm table tfoot td form {
    width: 100%;
  }
}
#contact #form form table tbody tr td .extend .extend__item {
  display: none;
  margin-top: 20px;
}
#contact #form form table tbody tr.fileupload .select {
  margin-top: 25px;
}
#contact #form form table tbody tr.fileupload .select label {
  padding: 10px;
}
#contact #form form table tbody tr.fileupload .select label.select_camera {
  background: #e0e8ed;
}
#contact #form form table tbody tr.fileupload .select label.select_file {
  background: #e4f3eb;
}
#contact #form form table tbody tr.fileupload .select_target input {
  width: 100%;
  padding: 20px 30px;
}
#contact #form form table tbody tr.fileupload .select_target input.camera {
  background: #e0e8ed;
  border: none;
}
#contact #form form table tbody tr.fileupload .select_target input.file {
  background: #e4f3eb;
  display: none;
}
#contact #form form table tbody tr.fileupload .thumbnail {
  width: 240px;
}

#contact #form form table tbody tr.input_last td{
  padding-bottom: 50px;
}

#contact #form form table tbody tr.policy {
  border: none;
}
#contact #form form table tbody tr.policy.policy_entry th {
  background: #ea5504;
  color: #fff;
  padding: 30px 0 30px 0;
}
#contact #form form table tbody tr.policy.policy_entry th .form__label {
  text-align: center;
  font-size: 26px;
  position: relative;
  margin-bottom: 25px;
}
#contact #form form table tbody tr.policy.policy_entry .policy__description {
  padding: 0 30px;
}
#contact #form form table tbody tr.policy.policy_entry .policy__body {
  border: none;
  padding: 40px;
}
#contact #form form table tbody tr.policy.policy_entry .policy__body .link {
  background: #eee;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin-top: 20px;
}

#contact #form form table tbody tr.policy.policy_entry .policy__body .link:hover {
  text-decoration: underline;
}

#contact #form form table tbody tr.policy.policy_entry .policy__body .policy__body__subtitle {
  margin-bottom: 20px;
}
#contact #form form table tbody tr.policy.policy_entry .policy__body ul:not(:last-child) {
  margin-bottom: 30px;
}
#contact #form form table tbody tr.policy td {
  padding-bottom: 0;
}
#contact #form form table tbody tr.policy td .policy__body {
  border: 1px solid #ddd;
  padding: 30px;
  background-color: #ede8e5;
  font-size: 15px;
  display: none;
}
#contact #form form table tbody tr.policy td .policy__body .policy__section {
  margin-bottom: 30px;
}
#contact #form form table tbody tr.policy td .policy__body .policy__section:last-child {
  margin-bottom: 0;
}

#contact #form form table tbody tr.policy td .policy__body .policy__label {
  font-weight: bold;
  margin-bottom: 15px;
}
#contact #form form table tbody tr.policy td .policy__body ul {
  line-height: 1.5em;
  list-style: decimal;
  padding-left: 20px;
  margin: 20px 0;
}
#contact #form form table tbody tr.policy td .policy__body ul li {
  margin-bottom: 10px;
}
#contact #form form table tbody tr.policy td .policy__body ul li:last-child {
  margin-bottom: 0;
}
#contact #form form table tbody tr.policy td .policy__body ul li ul {
  list-style: upper-roman;
}
#contact #form form table tbody tr.policy td .policy__body ul li ul li {
  margin-bottom: 5px;
}
#contact #form form table tbody tr.policy td .policy__body ul li ul li:last-child {
  margin-bottom: 0;
}
#contact #form form table tbody tr.policy td .policy__body ul li ul li ol {
  list-style: disc;
  margin: 10px 0 0 0;
  padding-left: 20px;
}

#contact #form form table tbody tr.policy td .policy__trigger {
  padding: 10px 0;
  text-align: center;
  background: #d04a03;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#contact #form form table tbody tr.policy td .policy__trigger i {
  margin-right: 5px;
}

#contact #form form table tbody tr.policy td .policy__agree {
  text-align: center;
  line-height: 2em;
  padding: 80px 0 20px 0;
}
#contact #form form table tbody tr.policy td .policy__agree input {
  vertical-align: middle;
}

#complete .thanks{
  padding-top: 103%;
  background: #fff no-repeat;
  background-size: cover;
  position: relative;
}

#complete .thanks .name{
  position: absolute;
  top: 26%;
  left: 0;
  width: 100%;
  font-size: 40px;
  padding-left: 14%;
}


@media screen and (max-width: 768px) {
  #title {
    margin: 30px 0 10px 0;
  }
  #title .title__img {
    margin-bottom: 25px;
  }
  #title .title__text {
    line-height: 2em;
  }

  #contact table tbody td input {
    margin-left: 0;
    margin-right: 0;
  }
  #contact #form form table tbody tr.policy td .policy__agree {
    padding: 20px 0;
  }
  #contact #form form table tbody tr.policy td .policy__body {
    padding: 20px;
    background-color: #ede8e5;
  }
  #contact #form form table tbody tr.policy td .policy__body ul {
    font-size: 14px;
  }
  
  #contact #form form table tbody tr.policy.policy_entry th .form__label span{
    padding: 0 20px;
    font-size: 15px;
  }

  #complete .thanks .name{
    font-size: 5vw;
  }
}
