/* ======================================
   Base
====================================== */

/* ======================================
   Contact Hero
====================================== */
.contact-hero {
  padding: 120px 0;
}

.contact-hero__inner {
  text-align: center;
}

.contact-hero__eyebrow {
  margin-bottom: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.28em;
  color: #666;
}

.contact-hero__title {
  font-size: 30px;
  line-height: 72px;
  font-weight: 400;
  color: #222;
}

.contact-hero__line {
  width: 50px;
  height: 1px;
  background: #222;
  margin: 28px auto 0;
}

.contact-hero__lead {
  margin-top: 60px;
  font-size: 15px;
  line-height: 30px;
  color: #666;
}

.contact-hero__lead br {
  display: inline;
}

/* ======================================
   Contact Info
====================================== */
.contact-info {
  padding: 120px 0;
  background-color: #0f0f0f;
}
.contact-info .contact-head-section {
  text-align: center;
  margin-bottom: 120px;
}
.contact-info .contact-head-section p {
  color: #fff;
  font-size: 15px;
  line-height: 2;
}
.contact-info h2 {
  color: #fff;
  font-size: 30px;
  line-height: 2.4;
  margin-bottom: 60px;
  letter-spacing: 0.18em;
  font-weight: 100;
}

.contact-info__card {
  width: 100%;
  margin: 0 auto;
  display: flex;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}
.contact-info__item {
  width: 50%;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 30px;
  text-align: center;
}
.contact-info__card .contact-info__item.gray {
  background-color: #2b2b2b;
}
.contact-info__icon {
  display: flex;
  align-items: center;
  height: 48px;
}
.contact-info__icon img {
  width: 48px;
  height: auto;
}

.contact-info__label {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #fff;
}

.contact-info__value {
  margin-top: 12px;
  font-size: 30px;
  line-height: 48px;
  font-weight: 100;
  color: #fff;
  word-break: break-word;
  letter-spacing: 0.18em;
}

.contact-info__sub {
  margin-top: 8px;
  font-size: 15px;
  line-height: 30px;
  color: #fff;
}

/* ======================================
   Contact Form
====================================== */
.contact-form-section {
  padding: 120px 0;
  background-color: #0f0f0f;
}

.contact-form-section__inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 60px;
  box-sizing: border-box;
  color: #b3b3b3;
}
#contact-form-title {
  color: #b3b3b3;
  margin-bottom: 20px;
}
.contact-form {
  width: 100%;
}

.form-row {
  margin-bottom: 60px;
}

.form-label {
  display: block;
  margin-bottom: 60px;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 700;
}

.required {
  color: #d34d4d;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #666666;
  background: transparent;
  padding: 0 0 30px;
  font-size: 15px;
  color: #fff;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999999;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  padding-top: 2px;
}

.form-row--textarea {
  margin-bottom: 40px;
}

.form-consent {
  margin-top: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-consent label {
  display: flex;
  align-items: center;
}
.form-consent label input {
  margin-right: 10px;
}

.form-consent__label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #fff;
  cursor: pointer;
}

.form-consent__label input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex-shrink: 0;
}
.wpcf7-list-item-label {
  color: #fff;
}

.form-submit {
  margin-top: 120px;
  text-align: center;
}

.form-confirm-text,
.wpcf7-response-output {
  color: #b3b3b3;
}

/* 初期状態（未チェック） */
.form-submit__button {
  display: block;
  min-width: 300px;
  max-width: 100%;
  height: 60px;
  padding: 0 24px;
  border: 0;
  background: #fff;
  color: #0e0e0e;

  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;

  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  margin: 0 auto;
}
.form-submit__button.back {
  background: #fff;
  opacity: 1;
  cursor: pointer;
  pointer-events: all;
}
.form-submit__button.submit {
  background: #fff;
  opacity: 1;
  cursor: pointer;
  pointer-events: all;
}
/* チェック済み */
.contact-form:has(input[name="privacy-consent"]:checked) .form-submit__button {
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;
}

/* ホバーは有効時のみ */
.contact-form:has(input[name="privacy-consent"]:checked)
  .form-submit__button:hover {
  opacity: 0.88;
}


/* ======================================
   Mobile
====================================== */
@media screen and (max-width: 767px) {
  /* ======================================
    Base
  ====================================== */

  /* ======================================
    Contact Info
  ====================================== */
  .contact-info {
    padding: 60px 0;
    background-color: #0f0f0f;
  }
  .contact-info .contact-head-section {
    margin-bottom: 30px;
  }
  .contact-info .contact-head-section p {
    color: #fff;
    font-size: 12px;
    line-height: 2;
  }
  .contact-info h2 {
    font-size: 22.5px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .contact-info__card {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .contact-info__item {
    width: 100%;
    padding: 30px 0;
    text-align: center;
  }
  .contact-info__icon {
    display: flex;
    align-items: center;
    height: 36px;
  }
  .contact-info__icon img {
    width: 36px;
    height: auto;
  }

  .contact-info__label {
    margin-top: 15px;
    font-size: 12px;
  }

  .contact-info__value {
    margin-top: 15px;
    font-size: 22.5px;
    line-height: 1.6;
  }

  .contact-info__sub {
    margin-top: 15px;
    font-size: 10px;
    line-height: 2;
  }

  /* ======================================
    Contact Form
  ====================================== */
  .contact-form-section {
    padding: 60px 0;
  }

  .contact-form-section__inner {
    width: 100%;
    padding: 0 30px;
  }

  .contact-form {
    width: 100%;
  }

  .form-row {
    margin-bottom: 30px;
  }

  .form-label {
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 2;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 0 0 15px;
    font-size: 12px;
  }

  .form-row--textarea {
    margin-bottom: 60px;
  }

  .form-consent {
    margin-top: 60px;
  }

  .form-consent__label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: #fff;
    cursor: pointer;
  }

  .form-consent__label input {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    flex-shrink: 0;
  }
  .wpcf7-list-item-label {
    color: #fff;
  }

  .form-submit {
    margin-top: 120px;
    text-align: center;
  }

  /* 初期状態（未チェック） */
  .form-submit__button {
    display: block;
    min-width: 300px;
    max-width: 100%;
    height: 60px;
    padding: 0 24px;
    border: 0;
    background: #fff;
    color: #0e0e0e;

    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.14em;

    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 auto;
  }
  .form-submit__button.back {
    background: #fff;
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
  }
  .form-submit__button.submit {
    background: #fff;
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
  }
  /* チェック済み */
  .contact-form:has(input[name="privacy-consent"]:checked) .form-submit__button {
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
  }

  /* ホバーは有効時のみ */
  .contact-form:has(input[name="privacy-consent"]:checked)
    .form-submit__button:hover {
    opacity: 0.88;
  }
}