html div * {
  box-sizing: border-box;
}

html div, select, textarea, input, label {
  font-size: 1.8rem;
}

.contact_each_sect {
  position: relative;
  margin-top: 14rem;
}
.contact_each_sect.sect01 {
  margin-top: 24rem;
}
.contact_each_sect > div:not(.contact_each_ttl, .proj_detail_select_wrap, .policy_wrap) {
  padding: 5.6rem 6rem 6rem;
}

.contact_each_sect:not(.sect04) fieldset {
  padding: 7.6rem 6rem 6rem 6rem;
  position: relative;
  border-right: 0.1rem solid #777;
  border-bottom: 0.1rem solid #777;
}
.contact_each_sect:not(.sect04) fieldset::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0.1rem;
  height: calc(100% - 5.6rem);
  background-color: #777;
}
.contact_each_sect:not(.sect04) fieldset::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 0.1rem;
  width: calc(100% - 29.4rem);
  background-color: #777;
}
.contact_each_sect:not(.sect04) fieldset.cust_info_input::after {
  width: calc(100% - 29.4rem);
}
.contact_each_sect:not(.sect04) fieldset.proj_sel_wrap::after {
  width: calc(100% - 48.2rem);
}
.contact_each_sect:not(.sect04) fieldset.proj_detail_select_wrap::after {
  width: calc(100% - 19rem);
}
.contact_each_sect:not(.sect04) fieldset.policy_wrap::after {
  width: calc(100% - 44.45rem);
}

.contact_each_ttl {
  position: relative;
}
.contact_each_ttl h3 {
  position: absolute;
  bottom: -1.6rem;
  font-size: 3.4rem;
  font-family: "nsB";
  letter-spacing: -0.1rem;
  vertical-align: bottom;
  width: fit-content;
  padding-right: 4rem;
  padding-left: 1rem;
  margin-left: -0.2rem;
}
.contact_each_ttl h3 span {
  font-size: 2.2rem;
  font-weight: normal;
}

.cust_input_wrap {
  display: flex;
  justify-content: space-between;
  height: 6rem;
  margin-top: 6rem;
}
.cust_input_wrap:first-of-type {
  margin-top: 0;
}
.cust_input_wrap .box_cust_input {
  display: flex;
  align-items: center;
  width: 28.77%;
  height: 6rem;
}
.cust_input_wrap .box_cust_input:first-child {
  margin-left: 0;
}
.cust_input_wrap label {
  flex-shrink: 0;
  width: 8rem;
}
.cust_input_wrap input {
  border: 0.1rem solid #fff;
  color: #fff;
  height: 6rem;
  transition: border 0.5s ease-out;
  -webkit-transition: border 0.5s ease-out;
  width: 100%;
  background-color: transparent;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}
.cust_input_wrap input:focus {
  border-width: 0.2rem;
}

.contact_each_sect .proj_sel_wrap {
  padding-top: 8.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25%, auto));
  row-gap: 3.9rem;
}

.proj_sel_chk, .contact_bottom_chk_inner {
  position: relative;
  display: flex;
  width: auto;
  height: 4rem;
  line-height: 4rem;
  transition: background 0.5s ease-out;
  -webkit-transition: background 0.5s ease-out;
}
.proj_sel_chk::after, .contact_bottom_chk_inner::after {
  content: "";
  display: block;
  background-image: url("../img/common/icon_check.svg");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  width: 4rem;
  height: 4rem;
  border: 0.1rem solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-size: 1.6rem;
}
.proj_sel_chk label, .contact_bottom_chk_inner label {
  display: inline-block;
  transition: color 0.5s ease-out;
  -webkit-transition: color 0.5s ease-out;
  padding-left: 6.5rem;
  user-select: none;
  cursor: pointer;
}
.proj_sel_chk input[type=checkbox], .contact_bottom_chk_inner input[type=checkbox] {
  width: 4rem;
  height: 4rem;
  opacity: 0;
  filter: alpha(opacity=0);
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
}
.proj_sel_chk.chkd::after, .contact_bottom_chk_inner.chkd::after {
  background-color: #253aeb;
}

/* .proj_sel_chk label:hover, */
.proj_txtarea {
  display: inline-block;
  width: 100%;
}
.proj_txtarea textarea {
  background-color: transparent;
  height: 24rem;
  line-height: 1.4;
  margin: 0;
  position: relative;
  width: 100%;
  padding: 2.1rem 2.4rem !important;
  color: #161616;
  background-color: #fff;
  border: 0.1rem solid #ccc;
}

.attach_file_wrap {
  display: flex;
  align-items: center;
  width: 75.31%;
  margin-top: 4rem;
  gap: 4rem;
  position: relative;
}

.file_name_input {
  border: none;
  background-color: #fff;
  border-radius: 0;
  width: 81.97%;
  height: 6rem;
  padding: 2rem 2.4rem;
  border: 0.1rem solid #ccc;
}
.file_name_input:disabled {
  background-color: #777;
}

.attach_file_btn {
  width: 18rem;
  height: 5rem;
  position: relative;
}
.attach_file_btn input[type=button] {
  background-color: transparent;
  width: 18rem;
  height: 5rem;
  border: 0.1rem solid #fff;
  border-radius: 5rem;
  line-height: 4.8rem;
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
}
.attach_file_btn input[type=file] {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  width: 18rem;
  height: 5rem;
}

.detail_select_wrap {
  margin-top: 14rem;
}
.detail_select_wrap fieldset {
  display: flex;
  justify-content: space-between;
  gap: 5.36%;
}

.proj_detail_select {
  width: 33.3333%;
}

.detail_select {
  height: 6rem;
  line-height: 6rem;
  margin-top: 6rem;
  width: 100%;
  position: relative;
}
.detail_select:after {
  content: "";
  display: block;
  background-image: url("../img/common/icon_arr.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 1.3rem;
  height: 0.8rem;
  pointer-events: none;
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.5s ease-out;
  -webkit-transition: color 0.5s ease-out;
}
.detail_select select {
  appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  background-image: none;
  border: 0.1rem solid #ccc;
  box-shadow: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  outline: 0;
  padding: 0 5rem 0 2.4rem;
  color: #fff;
  transition: border 0.5s ease-out;
  -webkit-transition: border 0.5s ease-out;
}
.detail_select select:hover {
  border: 0.1rem solid #000;
}
.detail_select select::-ms-expand {
  display: none;
}

.policy_wrap .box_text_policy {
  background-color: transparent;
  height: 24rem;
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  padding: 2.1rem 2.4rem;
  color: #333;
  background-color: #fff;
  border: 0.1rem solid #ccc;
}
.policy_wrap .box_text_policy::-webkit-scrollbar {
  background-clip: padding-box;
  width: 2.6rem;
  background-color: transparent;
}
.policy_wrap .box_text_policy::-webkit-scrollbar-thumb {
  border-radius: 2.4rem;
  background-color: #aaa;
  background-clip: padding-box;
  border: 0.8rem solid transparent;
}
.policy_wrap .box_text_policy::-webkit-scrollbar-button:start:decrement, .policy_wrap .box_text_policy::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 0.8rem;
  background-color: transparent;
}

.contact_bottom {
  margin: 0 auto;
}

.contact_bottom_txt {
  font-size: 2.4rem;
  text-align: center;
  margin-top: 14rem;
  margin-bottom: 6rem;
  line-height: 1.7;
}

.contact_bottom_chk {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

/* .contact_bottom_chk_inner label:hover, */
.btn_submit_wrap {
  display: flex;
  justify-content: center;
}
.btn_submit_wrap .btn_submit a {
  display: block;
  background-color: transparent;
  width: 20rem;
  height: 5rem;
  border: 0.1rem solid #fff;
  border-radius: 5rem;
  line-height: 4.8rem;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 1920px) {
  .contact_each_sect .proj_sel_wrap {
    grid-template-columns: repeat(auto-fill, minmax(25%, auto));
  }
}
@media screen and (max-width: 1360px) {
  .contact_each_sect .proj_sel_wrap {
    grid-template-columns: repeat(auto-fill, minmax(33.33%, auto));
  }
}
@media screen and (max-width: 1280px) {
  .contact_each_sect:not(.sect04) fieldset {
    padding: 4.9rem 2rem 4rem;
  }
  .cust_input_wrap {
    margin-top: 0;
    flex-direction: column;
    height: auto;
  }
  .cust_input_wrap .box_cust_input {
    margin-left: 0;
    width: 100%;
    height: 4rem;
    margin-top: 3rem;
  }
  .cust_input_wrap .box_cust_input:first-of-type {
    margin-top: 3rem;
  }
  .cust_input_wrap:first-of-type .box_cust_input:first-of-type {
    margin-top: 0;
  }
  .cust_input_wrap label {
    flex-shrink: 0;
    width: 6rem;
    font-size: 1.4rem;
  }
  .cust_input_wrap input {
    font-size: 1.4rem;
    height: 4rem;
    padding: 0.4rem 1.4rem;
  }
}
@media screen and (max-width: 960px) {
  .footer_wrap {
    background-color: rgba(0, 0, 0, 0.5647058824);
    color: #fff;
  }
  .footer_wrap .footer_inner {
    width: 98%;
    flex-direction: column-reverse;
    gap: 6rem;
    padding: 6rem 1.4rem;
  }
  .footer_wrap .footer_text_wrap {
    gap: 1.8rem;
    text-align: center;
    align-items: center;
  }
  .footer_wrap .footer_text_wrap .footer_copyright {
    font-size: 1.3rem;
  }
  .footer_wrap .footer_contact_wrap {
    flex-direction: column;
    align-items: center;
    gap: 2.6rem;
  }
  .footer_wrap .footer_contact_wrap a {
    font-size: 2.2rem;
  }
  .footer_wrap .footer_contact_wrap .footer_tel a {
    padding-left: 4.5rem;
    background-size: 2.5rem 2.6rem;
  }
  .footer_wrap .footer_contact_wrap .footer_mail a {
    padding-left: 4.6rem;
    background-size: 2.8rem 2.1rem;
  }
  .contact_each_sect .proj_sel_wrap {
    grid-template-columns: repeat(auto-fill, minmax(50%, auto));
  }
}
@media screen and (max-width: 480px) {
  html div, select, textarea, input, label {
    font-size: 1.4rem;
  }
  .contact_each_sect {
    margin-top: 8rem;
  }
  .contact_each_sect.sect01 {
    margin-top: 8.9rem;
  }
  .contact_each_ttl h3 {
    font-size: 2rem;
    padding-right: 2rem;
    padding-left: 0;
    bottom: -1rem;
  }
  .contact_each_ttl h3 span {
    font-size: 1.4rem;
  }
  .proj_sel_chk, .contact_bottom_chk_inner {
    height: 2.5rem;
    line-height: 2.5rem;
  }
  .proj_sel_chk::after, .contact_bottom_chk_inner::after {
    width: 2.5rem;
    height: 2.5rem;
  }
  .proj_sel_chk label, .contact_bottom_chk_inner label {
    padding-left: 4rem;
  }
  .proj_sel_chk input[type=checkbox], .contact_bottom_chk_inner input[type=checkbox] {
    width: 2.5rem;
    height: 2.5rem;
  }
  .proj_txtarea textarea {
    height: 16rem;
    padding: 1.2rem 1.4rem !important;
  }
  .attach_file_wrap {
    width: auto;
    margin-top: 3rem;
    gap: 2rem;
    justify-content: space-between;
  }
  .file_name_input {
    width: calc(100% - 10.95rem);
    height: 4rem;
    padding: 0.4rem 1.4rem;
  }
  .attach_file_btn {
    width: 8.95rem;
    height: 3.55rem;
  }
  .attach_file_btn input[type=button] {
    background-color: transparent;
    width: 8.95rem;
    height: 3.55rem;
    border: 0.1rem solid #fff;
    border-radius: 3.55rem;
    line-height: 3.35rem;
  }
  .attach_file_btn input[type=file] {
    width: 8.95rem;
    height: 3.55rem;
  }
  .detail_select_wrap {
    margin-top: 8rem;
    padding: 0 !important;
  }
  .detail_select_wrap fieldset {
    flex-direction: column;
    gap: 4rem;
  }
  .detail_select_wrap .contact_each_ttl h3 {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-left: 0;
  }
  .proj_detail_select {
    width: 100%;
  }
  .detail_select {
    height: 4rem;
    line-height: 4rem;
    margin-top: 4rem;
  }
  .detail_select:after {
    width: 1.5rem;
    height: 0.6rem;
  }
  .policy_wrap .box_text_policy {
    padding: 1.2rem 1.3rem;
    height: 16rem;
  }
  .contact_bottom_chk {
    margin-top: 3rem;
  }
  .contact_bottom_txt {
    font-size: 1.4rem;
    margin-top: 8rem;
    margin-bottom: 3rem;
  }
  /* .contact_bottom_chk_inner label:hover, */
  .btn_submit_wrap {
    display: flex;
    justify-content: center;
  }
  .btn_submit_wrap .btn_submit a {
    width: 15.6rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    line-height: 3.3rem;
    font-size: 1.4rem;
  }
  .contact_each_sect:not(.sect04) fieldset::before {
    height: calc(100% - 2rem);
  }
  .contact_each_sect:not(.sect04) fieldset.cust_info_input::after {
    width: calc(100% - 16.1rem);
  }
  .contact_each_sect:not(.sect04) fieldset.proj_sel_wrap::after {
    width: calc(100% - 28rem);
  }
  .contact_each_sect:not(.sect04) fieldset.proj_detail_select_wrap::after {
    width: calc(100% - 10rem);
  }
  .contact_each_sect:not(.sect04) fieldset.policy_wrap::after {
    width: calc(100% - 24.6rem);
  }
}
.common_cont_wrap {
  width: 100%;
  max-width: 1920px;
}

.common_cont_wrap .policy_wrap p {
  font-size: 1.4rem;
  margin: 0;
}