@charset "utf-8";

main {
  width: 100%;
  max-width: 1200px;
  margin: 240px auto 0;
}

.pageTitle {
  padding-inline-start: 40px;
}

.pageTitle p {
  color: #2981c0;
  font-size: clamp(3rem, 1.239rem + 7.51vw, 8rem);
}

.pageTitle small {
  color: #333;
  font-size: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  line-height: 5rem;
}

.pageText {
  margin-block: 80px;
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  line-height: 2rem;
  text-align: center;
}

.spbr {
  display: none;
}

.formArea {
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
}

.formArea p {
  width: 30%;
  padding: 80px 40px;
  border-bottom: 1px solid #d9d9d9;
}

.formArea p:nth-last-child(3) {
  border-bottom: transparent;
}

.required {
  position: relative;
  color: #333;
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  font-weight: bold;
  line-height: 2rem;
}

.required::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 32px;
  height: 32px;
  background-image: url(../img/required_mark.png);
  background-repeat: no-repeat;
  background-position: center;
  margin-inline-start: 10px;
}

.formArea dd {
  width: 70%;
  padding: 80px 40px;
  border-bottom: 1px solid #d9d9d9;
}
.formArea dd:nth-last-child(2) {
  border-bottom: transparent;
}

.formArea dd ul {
  display: flex;
}

.formArea dd ul li {
  margin-inline-end: 40px;
}

.formArea dd ul li:nth-child(even) {
  margin-inline-end: 0;
}

input::placeholder {
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

.inputText {
  width: 100%;
  min-width: 120px;
  height: 40px;
  padding: 10px;
  background-color: #d9d9d9;
  color: #333;
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
  border: none;
}

.selectBox {
  width: 50%;
  height: 40px;
  padding-inline: 10px;
  background-color: #d9d9d9;
  color: #333;
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
  border: none;
}

.confirmText,
.contentsText {
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

.confirm {
  margin-block: 20px;
}

.contents {
  margin-block: 10px;
}

.message {
  width: 100%;
  height: clamp(15rem, 13.239rem + 7.51vw, 20rem);
  padding: 10px;
  background-color: #d9d9d9;
  color: #333;
  font-size: 1rem;
  border: none;
}

.btn {
  width: 50%;
  margin: 0 auto;
  text-align: center;
  margin-block-end: 160px;
}

.btn .btnText {
  display: inline-block;
  position: relative;
  width: 100%;
  min-width: 240px;
  padding: 10px;
  background-color: #00b0ba;
  border: none;
  border-radius: 50px;
  color: #fafafa;
  font-size: clamp(1rem, 0.648rem + 1.5vw, 2rem);
  font-weight: bold;
  letter-spacing: 2px;
  transition: color 0.5s, background-color 0.5s;
}

.btn .btnText::before,
.btn .btnText::after {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  bottom: 0;
  width: 30px;
  height: 30px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.5s;
}

.btn .btnText::before {
  background-image: url(../img/arrow_green.png);
}
.btn .btnText::after {
  background-image: url(../img/arrow_orange.png);
  opacity: 0;
}

.btn .btnText:hover {
  background-color: #f9a638;
}

.btn .btnText:hover::before {
  opacity: 0;
}

.btn .btnText:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .pageTitle {
    padding-inline-start: 0;
    text-align: center;
  }

  .spbr {
    display: block;
  }
  
  .formArea {
    display: block;
    padding: 20px;
  }
  
   .formArea p,
   .formArea dd {
    width: 100%;
    margin: 0 auto;
    padding-block: 20px;
  }

  .formArea p {
    border-bottom: none;
  }

  .formArea dd ul li {
    margin-inline-end: 20px;
  }

  .selectBox {
    width: 60%;
  }

  .btn {
    width: 80%;
  }
}