/* base */
p, dl, dt, dd, input {
  margin-bottom: 0;
}

::placeholder {
  color: #4da1ca;
  opacity: 0.6;
}

input, select {
  font-size: 1.4rem;
}

input[type="date"] {
  appearance: none;
  background-color: transparent;
  border: 0.1rem solid #d1d1d1;
  border-radius: 0.4rem;
  box-shadow: none;
  box-sizing: inherit;
  height: 3.8rem;
  padding: 0.6rem 1rem;
  width: auto;
}

/* layout */
.l-contact {
  margin-top: 2rem;
}

.l-complete {
  padding: 6rem 1rem;
}

/* project */
/* p-contact */

.p-contact__inner {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

.p-contact__header {
  text-align: center;
}

.p-contact__title {
  background-color: white;
  color: #333;
}

.p-contact__desc {
  font-size: 1.6rem;
}
@media(max-width: 768px) {
  .p-contact__desc {
    font-size: 1.4rem;
  }
}

.p-contact__desc span {
  display: inline-block;
}

.p-contact__form {
  margin-top: 72px;
}

.p-contact__required {
  font-size: 1.2rem;
}

.p-contact__required span {
  color: #d0153a;
}

.p-contact__body {
  border-top: 1px solid;
  border-right: 1px solid;
  border-left: 1px solid;
}

.p-contact__body:last-of-type {
  border-bottom: 1px solid;
}

.p-contact__btn {
  margin-top: 40px;
  text-align: center;
}

/* p-form */
.p-form select {
  margin-bottom: 0;
}

.p-form__title {
  background-color: #2A9DD0;
  color: white;
  padding: .6rem 1rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 300px;
  text-align: center;
}

.p-form__title span {
  font-size: 12px;
}

.p-form__content {
  margin: 0;
  padding: 1rem 1rem;
  flex-grow: 1;
}

.p-form__content input:not(input[type="radio"]) {
  width: 100%;
  max-width: 350px;
}

.p-form__content textarea {
  width: 100%;
  min-height: 16.5rem;
}

.p-form__content input[type="date"] {
  padding: 1.2rem;
}

.p-form__content label {
  font-weight: normal;
}

.p-form__content select {
  width: 200px;
}

.p-form__content select:hover {
  cursor: pointer;
}

.p-form__arrow.p-form__arrow--select {
  width: 200px;
  position: relative;
}

.p-form__arrow.p-form__arrow--select::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%) rotate(45deg);
}

.p-form__radio {
  display: block;
}

.p-form__radio label {
  min-width: 100px;
  margin-bottom: 0;
  font-size: 14px;
}

.p-form__select {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.p-form__select + .p-form__select {
  margin-top: 1.2rem;
}

.p-form__subtitle {
  min-width: 80px;
  font-size: 12px;
}

/* p-complete */

.p-complete__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 622px);
}

.p-complete__btn {
  margin-top: 6rem;
}

.p-complete__btn a {
  display: inline-block;
  min-width: 250px;
  padding: 16px 8px;
  background-color: #4da1ca;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
}

/* component */

/* min-width: 800px */

@media screen and (min-width: 800px) {
  .p-contact__body {
    display: flex;
  }

  .p-form__content label {
    cursor: pointer;
  }

  .p-form__radio {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .p-form__radio label {
    font-size: 16px;
  }
}