/* ===============================================
# contact
=============================================== */

/* mv */
.c-page-mv--contact {
  position: relative;
  background-image: url(../images/contact/mv.jpg);
  background-size: cover;
  background-position: center;
}

.c-page-mv--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(100, 100, 100, 0.4);
}

.c-page-mv--contact .c-page-mv__inner {
  position: relative;
  z-index: 1;
}

/* ===============================================
# contact
=============================================== */
.p-contact__select {
  width: 100%;
  padding: 1.4rem 1.6rem;
  padding-right: 4.8rem;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  font-size: 1.6rem;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 1.2rem auto;
}

.p-contact__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media screen and (min-width: 768px) {
  .p-contact__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
  }
}

.p-contact__content {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

@media screen and (min-width: 768px) {
  .p-contact__content {
    width: 42%;
    flex-shrink: 0;
  }
}

.p-contact__form-wrap {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .p-contact__form-wrap {
    width: 58%;
  }
}

.p-contact__intro-title {
  font-size: clamp(3rem, 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

.p-contact__intro-text {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  line-height: 2;
  color: #555;
}

.p-contact__info-box,
.p-contact__note-box {
  padding: 2.4rem;
  background: #f5f5f5;
}

.p-contact__info-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.p-contact__info-list {
  margin-top: 1.6rem;
  padding-left: 1.8rem;
}

.p-contact__info-list li + li {
  margin-top: 0.8rem;
}

.p-contact__info-list li,
.p-contact__note {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #555;
}

.p-contact__form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.p-contact__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
  .p-contact__group {
    margin-bottom: 5rem;
  }
}

.p-contact__label {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
}

.p-contact__input,
.p-contact__textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border: 1px solid #d9d9d9;
  background: #fff;
  font-size: 1.6rem;
  color: #333;
}

.p-contact__textarea {
  resize: vertical;
}

.p-contact__submit {
  margin-top: 1rem;
}

.p-contact__submit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 5.6rem;
  border: none;
  background: var(--t-blue);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}

.p-contact__submit-btn:hover {
  opacity: 0.7;
}

/* グレーアウト */
.is-disabled .p-contact__label {
  color: #999;
}

.is-disabled .p-contact__input {
  background: #f2f2f2;
  color: #999;
  cursor: not-allowed;
}

/* 必須label */
.is-required {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.2rem 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: #e60023;
  border-radius: 5px;
}

/* ===============================================
# contact privacy link
=============================================== */
.p-contact__privacy-link {
  margin-top: 1rem;
  text-align: right;
}

.p-contact__privacy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--t-blue);
  text-decoration: underline;
}

.p-contact__privacy-button:hover {
  opacity: 0.8;
}

.p-contact__form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.8rem;
}

.p-contact__label {
  display: block;
  margin-bottom: 0.8rem;
}
