@import url("ress.min.css");
a,
input,
select,
textarea {
  outline: none;
}

#notice-form input {
  border: 1px solid #f0f2f2;
  line-height: 1em;
  padding: 9px 5px;
  border-radius: 3px;
  font-size: 14px;
  color: #333;
}
#notice-form input.error {
  border-color: #f6e8ed !important;
  background-color: #f6e8ed !important;
}
@media (max-width: 767px) {
  #notice-form input {
    font-size: 16px;
  }
}
#notice-form textarea {
  border: 1px solid #f0f2f2;
  line-height: 1.3em;
  padding: 9px 5px;
  border-radius: 3px;
  font-size: 14px;
  resize: none;
  overflow-y: scroll;
}
#notice-form textarea.error {
  border-color: #f6e8ed !important;
  background-color: #f6e8ed !important;
}
@media (max-width: 767px) {
  #notice-form textarea {
    font-size: 16px;
  }
}
#notice-form input:invalid,
#notice-form textarea:invalid {
  border-color: #f6e8ed;
  background-color: #f6e8ed;
}
#notice-form input:valid,
#notice-form textarea:valid {
  border-color: #f0f2f2;
  background-color: #f0f2f2;
}
#notice-form input[type=submit] {
  min-width: 240px;
  display: inline-block;
  font-size: 1.6rem;
  border: 1px solid #000;
  text-decoration: none;
  padding: 16px 70px 16px 20px;
  background-image: url("../img/i_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-color: #FFF;
  border-radius: 0;
  cursor: pointer;
}
@media (max-width: 767px) {
  #notice-form input[type=submit] {
    width: 100%;
    text-align: left;
    background-size: 26px auto;
    background-position: right 15px center;
  }
}
#notice-form select {
  border: 1px solid #cacaca;
  min-height: 36px;
  line-height: 34px;
  padding: 0 0 0 10px;
  border-radius: 3px;
  font-size: 1.4rem;
  cursor: pointer;
  background-color: #FFF;
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
}
@-moz-document url-prefix() {
  #notice-form select {
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: auto;
  }
}
#notice-form select::-ms-expand {
  display: block;
}
#notice-form .aform-header {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-weight: normal;
  display: none;
}
#notice-form .aform-checking {
  max-width: 700px;
  width: 100%;
  margin: 0 auto 30px auto;
  text-align: center;
  font-weight: normal;
}
#notice-form .aform-content {
  max-width: 700px;
  width: 100%;
  border-top: 1px solid #e0e2e2;
  margin: 0 auto;
  min-height: 400px;
}
#notice-form .aform-content form dl {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}
#notice-form .aform-content form dl:first-of-type {
  padding-top: 50px;
}
#notice-form .aform-content form dl dt {
  font-weight: normal;
  width: 170px;
  text-align: right;
  padding: 1.2em 10px;
  font-size: 1.4rem;
  white-space: nowrap;
}
#notice-form .aform-content form dl dt label .aform-required {
  vertical-align: middle;
  border-radius: 0;
  font-size: 1rem;
  padding: 3px;
}
#notice-form .aform-content form dl dd {
  padding: 7px 30px 7px 10px;
  line-height: 1em;
  width: calc(100% - 180px);
}
#notice-form .aform-content form dl dd label {
  display: inline-block;
  padding-bottom: 5px;
}
#notice-form .aform-content form dl dd input {
  width: 100%;
}
#notice-form .aform-content form dl dd .aform-input-example {
  font-size: 1.2rem;
}
#notice-form .aform-content form dl dd .aform-error label {
  font-size: 1.4rem;
  padding: 8px 0 0 0;
  display: block;
  line-height: 1.3em;
}
#notice-form .aform-content form dl dd .aform-twice-note {
  font-size: 1.4rem;
  line-height: 1.6em;
}
#notice-form .aform-content form dl.dl_project dt {
  display: none;
}
#notice-form .aform-content form dl.dl_project dd {
  width: 100%;
  padding: 0 0 20px 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.6em;
}
#notice-form .aform-content form dl.dl_name dt {
  padding: 2.6em 10px 1.4em 10px;
}
#notice-form .aform-content form .aform-button-area {
  border-top: 1px solid #e0e2e2;
  padding: 30px;
  background: none;
  margin-bottom: 60px;
}
#notice-form #aform_confirm_msg {
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid #e0e2e2;
}
#notice-form form#aform-confirm-form dl dt .aform-required {
  display: none;
}
#notice-form form#aform-confirm-form dl dd {
  padding: 1em 10px;
  line-height: 1.5em;
}
#notice-form form#aform-confirm-form dl.dl_name dt {
  padding: 1.2em 10px;
}
#notice-form form#aform-confirm-form dl.dl_name dd {
  padding: 1em 10px;
}
#notice-form .aform-button-area {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
#notice-form .aform-button-area input[id^=aform_btn_confirm] {
  max-width: 240px;
  margin: 0 auto 30px auto;
  width: 100%;
}
#notice-form .aform-button-area #aform_btn_back {
  text-decoration: underline;
  font-size: 1.6rem;
  border: none;
  margin-bottom: 10px;
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
      -ms-flex-order: 1;
          order: 1;
}
#notice-form .aform-button-area #aform_btn_submit {
  max-width: 240px;
  margin: 0 auto 30px auto;
  width: 100%;
  -webkit-box-ordinal-group: 1;
  -webkit-order: 0;
      -ms-flex-order: 0;
          order: 0;
}
#notice-form #aform_result {
  text-align: center;
  color: #000;
}
#notice-form #aform_result .thanks-message {
  font-weight: normal;
  line-height: 1.6em;
  font-size: 1.5rem !important;
  padding-top: 30px;
}
#notice-form dl.aform-error-list {
  list-style: none;
}
#notice-form dl.aform-error-list dt {
  text-align: center;
  color: #F00;
}
#notice-form dl.aform-error-list dd {
  text-align: center;
}
#notice-form div.txt-returnback {
  text-align: center;
}
@media (max-width: 767px) {
  #notice-form .aform-content {
    padding: 20px;
  }
  #notice-form .aform-content form dl {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #notice-form .aform-content form dl dt {
    width: 100%;
    padding: 0 0 5px 0;
    text-align: left;
  }
  #notice-form .aform-content form dl dt label {
    padding: 0 0 5px 0;
    font-size: 1.4rem;
  }
  #notice-form .aform-content form dl dd {
    width: 100%;
    padding: 0 0 20px 0;
    margin: 0;
  }
  #notice-form .aform-content form dl dd .aform-input-example {
    font-size: 1.2rem;
  }
  #notice-form .aform-content form dl dd label {
    font-size: 1.4rem;
  }
  #notice-form .aform-content form dl dd ul li {
    padding-top: 10px;
  }
  #notice-form .aform-content form dl.dl_name dt {
    padding: 0 0 5px 0 !important;
  }
  #notice-form .aform-content form#aform-confirm-form dl:first-of-type {
    padding-top: 20px;
  }
  #notice-form .aform-content form#aform-confirm-form dl dt {
    padding-top: 10px;
    color: #666;
    font-size: 1.2rem;
  }
  #notice-form .aform-content form#aform-confirm-form dl dd {
    border-bottom: 1px dotted #DDDDDD;
    padding: 5px 0 10px 20px;
    color: #000;
  }
  #notice-form .aform-content form#aform-confirm-form dl:last-of-type dd {
    border-bottom: none;
  }
}