@charset "UTF-8";

/* -----------------------------------------------
contact__wrap
----------------------------------------------- */
.contact__wrap {}
.contact__table__wrap {}
.contact__table__wrap p span.req {
  color: #fff;
  background-color: var(--main-color);
  border-radius: 50vh;
  display: inline-block;
  font-size: .875em;
  line-height: 1;
  padding: .393em .493em;
  margin-right: .2em;
}
.defect__att p {}
.defect__att a {
  background-color: #F2F8F5;
  background-image: url(../images/common/link_blank_icon.svg);
  background-position: 96% 50%;
  background-repeat: no-repeat;
  background-size: 1.13em;
  border-radius: 5px;
  color: #35B558;
  display: inline-block;
  padding: .53em 2.3em .53em 1em;
  letter-spacing: .06em;
}
table.contact__table {
  width: 100%;
}
.contact__table th {
  text-align: left;
  vertical-align: top;
}
.contact__table th.req {
  position: relative;
}
.contact__table th.req:after {
  content: "必須";
  color: #fff;
  background-color: var(--main-color);
  border-radius: 50vh;
  display: inline-block;
  font-weight: normal;
  line-height: 1;
  position: absolute;
  right: 0;
  font-size: .875em;
  padding: .393em .493em;
}
.contact__table ul.tadio__list input {
  display: none;
}
.tadio__list label {
  padding-left: 2.8em;
  position: relative;
}
.tadio__list label:before,
.tadio__list label:after {
  content: "";
  aspect-ratio: 1 / 1;
  height: auto;
  position: absolute;
  height: auto;
  top: 50%;
  left: 0;
  display: block;
  transform: translateY(-50%);
}
.tadio__list label:before {
  border: 1px solid #e4e4e4;
  background: #F7F7F7;
  border-radius: 50vh;
  width: 1.875em;
}
.tadio__list label:after {
  background: #a8a7a7;
  border-radius: 50vh;
  width: calc(1.875em - 8px);
  opacity: 0;
  left: 4px;
}
.tadio__list input[type="radio"]:checked + label:after,
.tadio__list input[type="radio"]:checked + .mfp_element_hidden + label:after {
  opacity: 1;
}
.contact__table td select {
  appearance: none;
}
.contact__table td input[type="text"],
.contact__table td input[type="tel"],
.contact__table td input[type="email"],
.contact__table td textarea,
.contact__table td select {
  background: #F7F7F7;
  border: 0;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  padding-inline: .8em;
}
.contact__table td textarea {
  width: 100% !important;
  height: auto;
  padding: .5em .8em;
}
.contact__table .mfp_element_file {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: block;
  padding-inline: 0;
}
.contact__table:has(.mfp_element_file) span {
  display: block;
}
a.pp__link {
  color: #35B558;
  text-decoration: underline;
}
.contact__btn__wrap {
  text-align: center;
}
.contact__btn__wrap button {
  all: unset;
  background-color: var(--main-color);
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  align-items: center;
  border-radius: 50vh;
  position: relative;
  cursor: pointer;
}
.contact__btn__wrap button::after {
  content: '';
  aspect-ratio: 8 / 13;
  background: url(../images/common/link_arrow_white.svg) center / contain no-repeat;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

@media (max-width: 767px) {

  .contact__table__wrap > p {
    margin-bottom: 60px;
  }
  
  .contact__table tr > * {
    display: block;
    width: 100%;
  }
  .contact__table th {
    font-size: 16px;
    padding: 20px 0 0;
  }
  .contact__table th.req:after {
    position: relative;
    margin-left: 1em;
  }  
  .contact__table td {
    padding: 20px 0;
  }  
  .contact__table tr:not(:last-child) td {
    border-bottom: 1px solid #e4e4e4;
  }
  .contact__table ul.tadio__list {
    margin-bottom: 20px;
  }
  .contact__table .tadio__list li {
    margin: 1.5em 0;
  }
  .defect__att p {
    margin-bottom: 14px;
  }
  .contact__table td input[type="text"],
  .contact__table td input[type="tel"],
  .contact__table td input[type="email"],
  .contact__table td select {
    height: 60px;
  }
  .contact__table td textarea {
    height: 80vw!important;
  }
  .contact__btn__wrap button {
    width: 230px;
    height: 70px;
    padding-left: 50px;
    font-size: 18px;
    min-width: 230px;
    min-height: 70px;
    padding: 10px 50px 10px 30px;
    letter-spacing: 0.05em;
  }
  .contact__btn__wrap button::after {
    width: 8px;
    right: 35px;
  }

  .contact__table .mfp_element_file {
    font-size: 14px;
  }
  .contact__table:has(.mfp_element_file) span {
    font-size: 12px;
  }

}

@media (min-width: 768px) {

  .contact__table__wrap > p {
    margin-bottom: 114px;
  }
  
  .contact__table tr > * {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .contact__table th {
    width: 21.153%;
    font-size: 16px;
    line-height: 60px;
  }
  .contact__table th.req:after {
    top: 50px;
  }  
  .contact__table td {
    width: 77.115%;
    padding-left: 1.732%;
  }
  .contact__table ul.tadio__list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    gap: 1em 0;
  }
  .contact__table .tadio__list li:not(:last-child) {
    margin-right: 2em;
  }
  .defect__att p {
    margin-bottom: 14px;
  }
  .contact__table td input[type="text"],
  .contact__table td input[type="tel"],
  .contact__table td input[type="email"],
  .contact__table td select {
    height: 60px;
  }
  .contact__table td textarea {
    height: 200px!important;
  }
  .contact__btn__wrap button {
    width: 230px;
    height: 70px;
    padding-left: 50px;
    font-size: 18px;
    min-width: 230px;
    min-height: 70px;
    padding: 10px 50px 10px 30px;
    letter-spacing: 0.05em;
  }
  .contact__btn__wrap button::after {
    width: 8px;
    right: 35px;
  }

  .contact__table .mfp_element_file {
    font-size: 16px;
  }
  .contact__table:has(.mfp_element_file) span {
    font-size: 14px;
  }
  
}



/* -----------------------------------------------
thanks
----------------------------------------------- */
.thanks.contact__wrap {
  text-align: center;
}

/* both__deco */
.both__deco {
  position: relative;
  display: inline-block;
  padding-inline: .7em;
}
.both__deco::before,
.both__deco::after {
  content: '';
  aspect-ratio: 1/1;
  background-image: url(../images/common/leaf.svg);
  background-position: left center;
  background-repeat: space no-repeat;
  position: absolute;
  translate: 0 -50%;
}
.both__deco::before {
  right: 100%;
}
.both__deco::after {
  left: 100%;
}

@media (max-width: 767px) {

  .thanks.contact__wrap p {
    text-align: left;
  }

  .sub__sec__heading {
    font-size: 32px;
  }
  .both__deco {
    padding-left: 28px;
  }
  .both__deco::before,
  .both__deco::after {
    width: calc(15px * 3);
    top: calc(0.375em + 0.5em + 0.1em);
  }
}

@media (min-width: 768px) {

  .sub__sec__heading {
    font-size: 42px;
  }
  .both__deco {
    padding-left: 38px;
  }
  .both__deco::before,
  .both__deco::after {
    width: calc(18px * 3);
    top: calc(0.375em + 0.5em + 0.1em);
  }
}


/* メールフォームプロ */
.mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password {
    box-shadow: none;
    margin: 0;
}

.mfp_element_submit:hover {
    background: var(--main-color);
    box-shadow: none;
    opacity: .8;
}