@charset "UTF-8";
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  color: #635B5D;
  background: transparent;
}
p {
  text-align: left;
}
.input__item.input::placeholder {
  color: #A29C9C;
}
.fixedForm__inner {
  width: 80%;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}
.top {
  text-align: center;
  line-height: 1.8em;
}
.top h2 {
  font-size: 2.6rem;
  line-height: 3.0rem;
  font-weight: 700;
  margin-bottom: 3.0rem;
  text-align: center;
}
.top p {
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.sample.show {
  display: block;
}
.sample.hide {
  display: none;
}
.contact.show {
  display: block;
}
.contact.hide {
  display: none;
}
.complete__textWrapper p {
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.policy {
  margin: 3rem 0;
}
.policy .head {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.0rem;
}
.policy .body {
  font-size: 1.4rem;
}
.policy .body>a {
  color: #025bbb;
  text-decoration: underline #025bbb;
}
.policy .input__item {
  background-color: #EDEDED;
  border: 1px solid #EDEDED;
}
.input__wrapper,
.select__wrapper {
  margin: 3rem 0;
}
.confirm__item {
  padding: 3rem 1rem;
}
.confirm__wrapper div.confirm__item:not(:first-child) {
  border-top: 1px solid #EDEDED;
}
.input__title,
.select__title,
.confirm__title {
  display: flex;
  justify-content: left;
  align-items: center;
}
.confirm__title {
  margin-bottom: 1rem;
}
.input__title p,
.input__title label,
.select__title label,
.confirm__title p {
  font-size: 1.6rem;
  text-align: left;
  font-weight: 700;
}
.input__item {
  background-color: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1rem 0;
  width: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
textarea.input__item {
  color: #635B5D;
  resize: vertical;
}
.select__item {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.select__item select {
  appearance: none;
  height: 100%;
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  margin: 1rem 0;
  padding: 1.5rem;
  background-color: #fff;
  color: #635B5D;
  cursor: pointer;
}
.select__item select:invalid {
  color: #A29C9C;
}
.select__item::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #A29C9C;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}
.input__item:focus,
.input__item.active,
.select__item select:focus,
.select__item select.active { 
  border: 1px solid #049ef9;
  background-color: #f2faff !important;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}
.input__item label {
  display: inline-block;
  width: 100%;
  cursor: pointer;
}
.required, .optional {
  border-style: solid;
  border-width: 1px;
  margin-left: 1rem;
  padding: 1px 5px;
  font-size: 1.2rem;
}
.error {
  color: red;
  display: none;
}
.error.show_error {
  display: block;
}
.required {
  border-color: #ec729f;
  color: #ec729f;
}
.optional {
  border-color: #635B5D;
  color: #635B5D;
}
.submit__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin: 5rem 0;
}
.submit__wrapper p {
  font-size: 1.4rem;
}
.btn {
  margin: 0;
  width: 100%;
  max-width: 360px;
  height: 60px;
  font-size: 2.2rem;
  background-color: #B60000;
  color: #fff;
  border: 0;
}
.btn:hover {
  color: #fff;
  background: #C2223E;
}
.btn-b {
  background-color: #8D8787;
}
.btn-b:hover {
  color: #fff;
  background: #B6B3B2;
}

@media (max-width: 769px) {
  .fixedForm__inner {
    width: 85%;
  }
  .top.adjust_width {
    min-height: 180px;
  }
  .top__textWrapper {
      text-align: left;
  }
  .top__textWrapper h2 {
    font-size: 2.4rem;
    margin-bottom: 2.4rem;
    line-height: 3.2rem;
  }
  .btn__wrapper {
    flex-direction: column;
  }
}

