/* ----------------------
  mv
---------------------- */
.contact_mv {
  align-items: center;
  background-image: url(../img/contact/contact_mv.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  min-height: 336px;
}

.contact_title {
  align-items: center;
  background-color: rgba(255,255,255,.75);
  color: #d6531a;
  display: flex;
  font-size: 2.4rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .03em;
  min-height: 203px;
  width: 583px;
}

.contact_title span {
  background-image: url(../img/contact/icon_contact_title.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 174px auto;
  display: block;
  min-width: 174px;
  padding-top: 41px;
  text-align: center;
}

@media screen and (max-width:768px) {
  .contact_mv {
    min-height: 200px;
  }

  .contact_title {
    font-size: 1.8rem;
    min-height: 100px;
    width: calc(100% - 94px);
  }

  .contact_title span {
    background-size: auto 24px;
    min-width: 154px;
    padding-top: 34px;
  }
}

/* ----------------------
  content
---------------------- */
.contact_card {
  background-color: #f0efe9;
  margin-top: 80px;
  position: relative;
}

.contact_card_title {
  background-color: #d6531a;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  left: 50%;
  margin: 0 auto;
  padding: 18px 0;
  position: absolute;
  text-align: center;
  top: -31px;
  transform: translateX(-50%);
  width: 510px;
}

.contact_card_content {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 151px;
  padding-top: 31px;
}

.contact_card_content td {
  color: #d6531a;
  font-size: 3.2rem;
  font-weight: 700;
  padding: 0 30px;
}

.btn_contact {
  margin: 50px auto 0;
  width: 407px;
}

.contact_form {
  background-color: #f0efe9;
  margin-top: 31px;
  position: relative;
}

.contact_form_title {
  background-color: #d6531a;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  left: 50%;
  margin: 0 auto;
  padding: 18px 0;
  position: absolute;
  text-align: center;
  top: -31px;
  transform: translateX(-50%);
  width: 510px;
}

.contact_form_content {
  padding: 90px 30px 80px;
}

.contact_form_content a {
  color: #d6531a;
  text-decoration: underline;
}

.contact_form_step {
  display: flex;
  margin-bottom: 50px;
  overflow: hidden;
}

.contact_form_step li {
  background-color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 58px;
  position: relative;
  text-align: center;
  width: 33.33%;
}

.contact_form_step li:not(:last-child)::before {
  border-color: transparent transparent transparent #f0efe9;
  border-style: solid;
  border-width: 53px 0 53px 29px;
  content: '';
  height: 0;
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  z-index: 1;
}

.contact_form_step li:not(:last-child)::after {
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 53px 0 53px 29px;
  content: '';
  height: 0;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  z-index: 2;
}

.contact_form_step li.is_active {
  background-color: #e3b347;
  color: #fff;
}

.contact_form_step li.is_active:not(:last-child)::after {
  border-color: transparent transparent transparent #e3b347;
}

.contact_form_sub_title {
  color: #d6531a;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 15px;
}

.contact_form_table {
  position: relative;
  width: 100%;
}

.contact_form_table.confirm {
  margin-top: 30px;
}

.contact_form_table > tbody > tr > th, .contact_form_table > tbody > tr > td {
  position: relative;
}

.contact_form_table > tbody > tr > th::before, .contact_form_table > tbody > tr > td::before {
  border-top: #ccc 1px solid;
  content: '';
  left: 0;
  position: absolute;
  top: -14px;
  width: 100%;
}

.contact_form_table::after {
  border-top: #ccc 1px solid;
  bottom: 14px;
  content: '';
  left: 0;
  position: absolute;
  width: 100%;
}

.contact_form_table > tbody > tr > th {
  background-color: #d6531a;
  border-bottom: #f0efe9 28px solid;
  border-top: #f0efe9 28px solid;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding-left: 30px;
  position: relative;
  vertical-align: middle;
  width: 200px;
}

.contact_form_table > tbody > tr > th.require::after {
  align-items: center;
  background-color: #000;
  color: #fff;
  content: '必須';
  display: flex;
  font-size: 1.1rem;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  position: absolute;
  right: 14px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
}

.contact_form_table th span {
  display: block;
  font-size: 1.3rem;
  margin-top: 10px;
}

.contact_form_table > tbody > tr > td {
  border-bottom: #f0efe9 28px solid;
  border-top: #f0efe9 28px solid;
  font-size: 1.5rem;
  padding: 20px 30px;
}

.contact_form_table input, .contact_form_table label, .contact_form_table textarea {
  font-size: 1.5rem;
}

.contact_form_table .radio_group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}

.contact_form_table label.radio {
  line-height: 22px;
  margin: 0 30px 20px 0;
  padding-left: 27px;
  position: relative;
}

.contact_form_table label.radio::before {
  background-color: #fff;
  border: #d6531a 2px solid;
  border-radius: 11px;
  content: '';
  height: 22px;
  left: 0;
  position: absolute;
  top: 0;
  width: 22px;
}

.contact_form_table label.radio.checked::after {
  background-color: #d6531a;
  border-radius: 6px;
  content: '';
  height: 12px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 12px;
}

.contact_form_table input[type='radio'] {
  height: 1px;
  opacity: .01;
  width: 1px;
}

.contact_form_table textarea {
  background-color: #fff;
  border: #707070 1px solid;
  border-radius: 4px;
  display: block;
  line-height: 1.5;
  min-height: 130px;
  padding: 20px;
  width: 100%;
}

.contact_form_table input[type='text'], .contact_form_table input[type='email'], .contact_form_table input[type='tel'] {
  background-color: #fff;
  border: #707070 1px solid;
  border-radius: 4px;
  display: block;
  height: 40px;
  padding: 0 10px;
  width: 100%;
}

.contact_form_table table {
  width: 100%;
}

.contact_form_table table > tbody > tr > th {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: middle;
  width: 80px;
}

.contact_form_table table > tbody > tr > td + th {
  text-align: center;
}

.contact_form_table .remarks {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 10px 0 20px;
}

.contact_form_privacy {
  margin-top: 36px;
}

.contact_form_privacy_title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.contact_form_privacy_content {
  background-color: #fff;
  border: #707070 1px solid;
  border-radius: 4px;
  font-size: 1.5rem;
  height: 100px;
  line-height: 1.8;
  margin-top: 30px;
  overflow-y: scroll;
  padding: 20px;
}

.contact_form_privacy_agree {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 70px;
  text-align: center;
}

.contact_form_submit {
  align-items: center;
  background-color: #d6531a;
  background-image: url(../img/common/icon_btn02.svg);
  background-position: right 17px center;
  background-repeat: no-repeat;
  background-size: 22px auto;
  border: #d6531a 1px solid;
  color: #fff;
  display: block;
  display: flex;
  font-size: 1.7rem;
  height: 64px;
  justify-content: center;
  letter-spacing: .05em;
  margin: 30px auto 0;
  transition: .3s;
  width: 353px;
}

.contact_form_submit:hover {
  opacity: .7;
}

.contact_form_return {
  align-items: center;
  background-color: #fff;
  background-image: url(../img/common/icon_btn05.svg);
  background-position: 17px center;
  background-repeat: no-repeat;
  background-size: 22px auto;
  border: #d6531a 1px solid;
  color: #d6531a;
  display: block;
  display: flex;
  font-size: 1.7rem;
  height: 64px;
  justify-content: center;
  letter-spacing: .05em;
  margin: 30px auto 0;
  transition: .3s;
  width: 353px;
}

.contact_form_return:hover {
  opacity: .7;
}

.confirm_btn_area {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.confirm_btn_area .contact_form_submit {
  background-image: none;
  margin: 0 0 0 15px;
  width: 300px;
}

.confirm_btn_area .contact_form_return {
  background-image: none;
  margin: 0 15px 0 0;
  width: 300px;
}

@media screen and (max-width:768px) {
  .contact_card_title {
    font-size: 1.5rem;
    top: -26px;
    width: calc(100% - 40px);
  }

  .contact_card_content {
    min-height: inherit;
    padding: 52px 0 26px;
  }

  .contact_card_content td {
    display: block;
    font-size: 2rem;
    padding: 0;
  }

  .contact_card_content td + td {
    margin-top: 10px;
  }

  .btn_contact {
    margin-top: 30px;
    width: auto;
  }

  .contact_form {
    margin: 31px -20px 0;
    width: calc(100% + 40px);
  }

  .contact_form_title {
    font-size: 1.5rem;
    top: -26px;
    width: calc(100% - 40px);
  }

  .contact_form_content {
    padding: 50px 20px 40px;
  }

  .contact_form_step {
    margin-bottom: 30px;
  }

  .contact_form_step li {
    font-size: 1.4rem;
    line-height: 40px;
  }

  .contact_form_step li span {
    display: none;
  }

  .contact_form_sub_title {
    font-size: 1.8rem;
  }

  .contact_form_table::after {
    content: none;
  }

  .contact_form_table.confirm {
    margin-top: 20px;
  }

  .contact_form_table > tbody > tr > th::before, .contact_form_table > tbody > tr > td::before {
    content: none;
  }

  .contact_form_table > tbody > tr > th {
    border: none;
    display: block;
    font-size: 1.6rem;
    padding: 10px 0 10px 15px;
    width: auto;
  }

  .contact_form_table > tbody > tr > td {
    border: none;
    display: block;
    padding: 20px 0 30px;
  }

  .contact_form_table .radio_group {
    display: block;
  }

  .contact_form_table label.radio {
    display: block;
  }

  .contact_form_table textarea {
    padding: 10px;
  }

  .contact_form_table table > tbody > tr > th {
    display: block;
  }

  .contact_form_table table > tbody > tr > td {
    display: block;
    margin-top: 10px;
  }

  .contact_form_table table > tbody > tr > td + th {
    margin-top: 10px;
    text-align: left;
  }

  .contact_form_privacy {
    margin-top: 0;
  }

  .contact_form_privacy_content {
    font-size: 1.4rem;
    margin-top: 20px;
    padding: 10px;
  }

  .contact_form_privacy_agree {
    font-size: 1.4rem;
    margin-top: 30px;
    text-align: left;
  }

  .contact_form_submit, .contact_form_return {
    font-size: 1.5rem;
    height: 58px;
    width: 100%;
  }

  .confirm_btn_area .contact_form_submit {
    margin: 0 0 0 10px;
    width: calc(50% - 10px);
  }

  .confirm_btn_area .contact_form_return {
    margin: 0 10px 0 0;
    width: calc(50% - 10px);
  }
}
