@charset "utf-8";
/* ==============================
container
================================= */
.container {
  background-image: url(../images/bg__accessContact--sp.webp);
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* container pc */
@media screen and (min-width: 769px) {
  .container {
    background-image: url(../images/bg__accessContact--pc.webp);
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}
/* ======================================
Form
====================================== */
.section--contact {
  padding: 96px var(--contentPadding);
  background-color: var(--primary-cream);
  color: #2f2f2f;
}

.contact__title {
  font-weight: 400;
  font-size: 1.4rem;
}

.contact__phone {
  margin-top: 32px;
  color: #2f2f2f;
}

.contact__phone--title {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
}

.contact__phone--number {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 500;
  font-size: 1.6rem;
  text-decoration: none;
  margin-top: 4px;
}

.contact__img {
  width: 32px;
  height: 32px;
}

.contact__form {
  margin-top: 48px;
}

.form__field {
  margin-top: 40px;
}

.form__field:first-child {
  margin-top: 0;
}

.form__field--label {
  font-size: 1.6rem;
  font-weight: 500;
}

.form__field--note {
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 8px;
}

/* ======================================
    Checkbox Group
    ====================================== */
.form__checkbox--group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 1.4rem;
  user-select: none;
}

.form__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(90, 90, 90, 0.6);
  border-radius: 3px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.2s,
    background-color 0.2s;
  background-color: #fff;
}

.form__checkbox input[type="checkbox"]:checked {
  background-color: #fff;
  border-color: var(--primary-orange);
}

.form__checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--primary-orange);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form__checkbox input[type="checkbox"]:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.form__input,
.form__textarea {
  color: #2f2f2f;
  font-size: 1.4rem;
  font-weight: 400;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid rgba(90, 90, 90, 0.6);
  padding: 8px;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(90, 90, 90, 0.7);
  font-size: 1.4rem;
  font-weight: 400;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.form__input {
  height: 52px;
  margin-top: 8px;
}

.form__textarea {
  height: 160px;
  resize: vertical;
  margin-top: 8px;
}

.btn--form {
  margin-top: 48px;
  color: var(--primary-cream);
}

/* form pc */
@media (min-width: 768px) {
  .section--contact {
    padding: 130px var(--contentPadding) 150px;
  }

  .contact__title {
    font-weight: 500;
    font-size: 1.8rem;
  }

  .contact__phone {
    margin-top: 48px;
  }

  .contact__phone--title {
    font-size: 2rem;
    font-weight: 500;
  }

  .contact__phone--number {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 6px;
  }

  .contact__form {
    margin-top: 64px;
  }

  .form__field--label {
    font-size: 2rem;
    font-weight: 500;
  }

  .form__field--note {
    font-size: 1.6rem;
    font-weight: 400;
  }

  .form__checkbox {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .form__input::placeholder,
  .form__textarea::placeholder {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .form__input,
  .form__textarea {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .form__input {
    height: 56px;
  }

  .form__textarea {
    height: 180px;
  }

  .btn--form {
    margin-top: 64px;
  }
}
/* form pc 769px */
