.top_txt_p{
  max-width: calc(1000px + 143rem + 143rem);
  margin: 0 auto;
  padding: 80rem 159rem 0;
}
@media (max-width: 767px) {
  .top_txt_p{
    padding: 80rem 20rem 0;
  }
}
form{
  max-width: calc(1000px + 143rem + 143rem);
  margin: 0 auto;
  padding: 80rem 143rem 120rem;
}
@media (max-width: 767px) {
  form{
    padding: 80rem 20rem 120rem;
  }
}
.aptoenq {
  font-size: 16rem;
}
.aptoenq_necessary {
  text-align: left;
  margin-left: 16rem;
  font-size: 16rem;
  text-indent: 0px;
}
@media (max-width: 767px) {
  .aptoenq_necessary {
    margin-left: 0;
  }
}
.aptoenq_question, .aptoenq_cusinfo {
  color: black;
  text-indent: 0px;
}
.aptoenq_question input {
  display: inline;
  width: auto;
}
.aptoenq_question label {
  font-weight: normal;
}
.aptoenq_question input[type="text"] {
  width: auto;
  padding: 13rem 20rem;
  border: solid 1rem #BBBBBB;
  font-family: "Noto Sans JP";
  font-size: 16rem;
  line-height: 1.625;
  max-width: 450rem;
}
@media (max-width: 767px) {
  .aptoenq_question input[type="text"] {
    width: 100%;
  }
}
.aptoenq_question input[type="checkbox"] {
  margin: 3px 3px 3px 4px !important;
  border-style: none;
  width: auto;
}
.aptoenq_question input[type="radio"] {
  margin: 3px 3px 0px 5px !important;
  border-style: none;
  width: auto;
}
.aptoenq_question textarea, #aptoenqform textarea {
  width: 100%;
  resize: none;
  height: 150rem;
  padding: 13rem 20rem;
  font-family: "Noto Sans JP";
  font-size: 16rem;
  line-height: 1.625;
  border: solid 1rem #D6DEDD;
}
.aptoenq_question label {
  width: auto;
  display: inline;
}
.aptoenq_question label span {
  vertical-align: middle;
  font-size: 16rem;
}
.aptoenq_qa {
  line-height: 130%;
  margin: 16rem;
  font-size: 16rem;
  border: none;
  display: grid;
  grid-template-columns: 260rem 1fr;
  justify-content: flex-start;
  gap: 30rem;
  padding-left: 100rem;
  margin-top: 30rem;
}
@media (max-width: 767px) {
  .aptoenq_qa {
    padding-left: 0;
    gap: 20rem;
    grid-template-columns: 1fr;
    margin: 30rem 0 0;
  }
}
.aptoenq_q {
  padding: 3rem;
  background-color: #fff !important;
  margin-right: 0;
  font-weight: 500;
  width: 285rem;
}
.aptoenq_a {
  padding: 3rem;
}
.aptoenq_question:nth-of-type(2) .aptoenq_qa .aptoenq_a{
  border: none;
  display: grid;
  grid-template-columns: auto 0 auto 0;
  gap: 13rem 30rem;
}
@media (max-width: 767px) {
  .aptoenq_question:nth-of-type(2) .aptoenq_qa .aptoenq_a{
    padding-left: 0;
    gap: 0;
    grid-template-columns: 1fr;
  }
  .aptoenq_a select[name="ans2"]{
    width: 100%;
    padding: 13rem 20rem;  
  }
}
.aptoenq_question .aptoenq_qa input {
  display: none;
}
.aptoenq_question .aptoenq_qa label {
  font-size: 16rem;
  cursor: pointer;
  position: relative;
  width: fit-content;
  padding-left: 28rem;
  display: inline-block;
}
.aptoenq_question .aptoenq_qa label::before {
  content: '';
  position: absolute;
  top: calc(50% - 10rem);
  left: 0;
  display: block;
  width: 20rem;
  height: 20rem;
  background: #fff;
  border: solid 1rem #707070;
}
.aptoenq_question .aptoenq_qa label::after {
  content: '';
  border-right: 2rem solid #fff;
  border-bottom: 2rem solid #fff;
  display: block;
  height: 10rem;
  width: 5rem;
  left: 8rem;
  position: absolute;
  top: calc(50% - 7rem);
  transform: translate(-2rem, -1rem) rotate(45deg);
}

.aptoenq_question .aptoenq_qa label:has(input:checked)::before {
  background: #148841;
  border: none;
}

.aptoenq_question .aptoenq_qa label.clicked::before {
  background: #148841;
  border: none;
}
.aptoenq_a input[type="text"] {
  margin: 2rem;
}
.aptoenq_choice {
  width: 33%;
  float: left;
}
.aptoenq_br {
  clear: both;
}
.aptoenq_cusinfo {
  font-size: 16rem;
  margin-top: 60rem;
}
.aptoenq_cusinfo input, .aptoenq_cusinfo textarea,
.aptoenq_qa input, .aptoenq_qa textarea {
  color: black;
  font-size: 16rem;
}
.aptoenq_cusinfo .aptoenq_cusinfo_subj {
  font-weight: bold;
  margin-bottom: 30rem;
  font-size: 26rem;
  line-height: 1.61538;
  color: #058841;
}
@media (max-width: 767px) {
  .aptoenq_cusinfo .aptoenq_cusinfo_subj {
    font-size: 20rem;
    line-height: 1.6;
  }
}
.aptoenq_cusinfo .aptoenq_cusinfo_warn {
  text-align: left;
  margin: 6px;
  float: none;
}
.aptoenq_cusinfo .aptoenq_cusinfo_item {
  float: left;
  font-weight: 500;
  margin: 13rem 0 13rem 16rem;
  padding: 0 3rem 0 103rem;
  width: 40%;
}
@media (max-width: 767px) {
  .aptoenq_cusinfo .aptoenq_cusinfo_item {
    float: none;
    margin: 13rem 0;
    padding: 0;
    width: auto;
  }
}
.aptoenq_cusinfo .aptoenq_cusinfo_fm_fax {
  padding-bottom: 60rem;
  border-bottom: solid 1rem #D6DEDD;
  margin-bottom: 40rem;
}
.aptoenq_cusinfo .aptoenq_cusinfo_fm {
  text-align: left;
  padding-bottom: 30rem;
  float: none;
}
.aptoenq_cusinfo .aptoenq_cusinfo_fm .aptoenq_cusinfo_msg {
  display: block;
  margin-left: calc(16rem + 40%);
  margin-top: 10rem;
}
@media (max-width: 767px) {
  .aptoenq_cusinfo .aptoenq_cusinfo_fm .aptoenq_cusinfo_msg {
    margin-left: 0;
  }
}
.aptoenq_cusinfo .aptoenq_cusinfo_exp {
  text-align: center;
  margin: 12px;
}
.aptoenq_question .aptoenq_cusinfo .aptoenq_cusinfo_exp input[type="checkbox"]{
  width: 20rem;
  height: 20rem;
  accent-color: #148841;
  margin: 0;
}
.aptoenq_c {
  text-align: center;
}
.aptoenq_l {
  text-align: left;
}
.aptoenq_r {
  text-align: right;
}
.aptoenq_b {
  font-weight: bold;
}
.aptoenq_red {
  color: red;
}
.aptoenq_readonly {
  color: gray;
}
.aptoenq_check {
  height: 20px;
  display: inline-block;
  width: 0;
}
.aptoenq_check_overlimit {
  display: none;
}
.aptoenq_check_blank {
  width: 25px;
  height: 20px;
  margin-top: 3px;
  display: inline-block;
}
.aptoenq_overlimit {
  padding-top: 4px;
  color: gray;
}
.aptoenq_h130 {
  line-height: 130%;
}
.aptoenq_h160 {
  line-height: 160%;
}

#aptoenq_confirm iframe {
  width: 400px;
  height: 600px;
  overflow: hidden;
  border:none;
}
@media (max-width: 767px) {
  #aptoenq_confirm iframe {
    width: auto;
  }
}
#aptoenq_closebutton {
  cursor: pointer;
}
.aptoenq_popup {
  border-top: 1px solid #999999;
  background-color: #FFF;
  text-align: center;
  padding: 10px 25px;
  box-shadow: 3px 3px 5px;
}
.aptoenq_popup .aptoenq_popupbutton {
  margin: 10px;
}
.aptoenq_popup div.popupframe {
  border: 1px solid black;
  background-color: #F4F4F4;
}
.aptoenq_popup_title {
  font-family: "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  border-bottom: 1px solid #FFF;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 3px 3px 5px;
  padding: 20px 10px 15px 33px;
  background-color: #fff;
}
.aptoenq_grayout {
  background-color: black;
  filter: alpha(opacity=30);
  -moz-opacity: 0.30;
  opacity: 0.30;
}

.aptoenq_msg {
  font-size: 16rem;
  text-align: left;
}

.aptoenq_exp{
  font-size: 16rem;
}

.aptoenq_bt_set {
  width: 400px !important;
  margin: 10px auto;
}
@media (max-width: 767px) {
  .aptoenq_bt_set {
    width: auto !important;
  }
}
.aptoenq_bt_send,
.aptoenq_bt_back {
  text-align: center;
}
.aptoenq_bt_set button {
  transition: all 0.5s ease-out;
  color: #fff;
  position: relative;
  background: linear-gradient(to right, #0D9F50 0, #005828 50%, #0D9F50 100%);
  background-size: 200% auto;
  background-position: 1% 50%;
  box-shadow: 2rem 2rem 10rem rgba(5, 136, 65, 0.3);
  border-radius: 60rem;
  font-weight: 500;
  display: block;
  width: 260rem;
  padding: 18rem 0;
  font-size: 16rem;
  line-height: 1.75;
  margin: 40rem auto 0;
  border: none;
}
.aptoenq_bt_set button:hover {
  color: #fff;
  background-position: 99% 50%;
}
html{
    font-size: 0.0732vw;
}
@media (min-width: 1120px) {
  html{
      font-size: 1px;
  }
}
@media (max-width: 767px) {
  html{
    font-size: 0.266666vw;
  }
}
/* .aptoenq_bt_set button {
  transition: all 0.5s ease-out;
  color: #fff;
  position: relative;
  background: linear-gradient(to right, #0D9F50 0, #005828 50%, #0D9F50 100%);
  background-size: 200% auto;
  background-position: 1% 50%;
  box-shadow: 2rem 2rem 10rem rgba(5, 136, 65, 0.3);
  border-radius: 3.75rem;
  font-weight: 500;
  display: block;
  width: 16.25rem;
  padding: 1.125rem 0;
  font-size: 1rem;
  line-height: 1.75;
  margin: 2.5rem auto 0;
  border: none;
} */

.aptoenq_question select{
  font-size: 16rem;
  padding: 13rem 20rem;
}
