/* ==================================
	form
	================================== */
.form-wrap {
  padding: 16rem 0;
  background-color: #f6f6f6;
}

.form-item {
  max-width: 64rem;
  margin-bottom: 3.2rem;
  font-weight: 500;
}

.form-text {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  line-height: 1;
}

.form-text span {
  margin-left: 0.5em;
  color: #886e21;
}

.form-input {
  font-size: 1.6rem;
}

.form-input [type="text"],
.form-input [type="email"],
.form-input [type="url"],
.form-input select,
.form-input textarea {
  width: 100%;
  height: 4.8rem;
  padding: 0 2.4rem;
  border: 1px solid #9a9a9a;
}

.form-input textarea {
  min-height: 24rem;
  padding: 1.6rem 2.4rem;
}

.form-name {
  gap: 2rem;
}

.form-account {
  align-items: center;
}

.form-account span {
  width: 4rem;
  font-size: 1.8rem;
  line-height: 4.8rem;
  text-align: center;
}

.form-policy {
  margin-bottom: 2rem;
  border-bottom: solid 1px;
  color: #886e21;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-block;
}

/* チェックボックスをオリジナルにする */
input[type="checkbox"] {
  /* デフォルトcheckボックス非表示 */
  display: none;
}

.mwform-checkbox-field-text {
  position: relative;
  display: inline-block;
  padding-left: 3.6rem;
  font-size: 1.6rem;
  line-height: 2rem;
}

.mwform-checkbox-field-text::before,
.mwform-checkbox-field-text::after {
  position: absolute;
  display: block;
  content: "";
}

.mwform-checkbox-field-text::before {
  left: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #9a9a9a;
  border-radius: 0;
  background: #fff;
}

.mwform-checkbox-field-text::after {
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  background-color: #9a9a9a;
  opacity: 0;
}

input[type="checkbox"]:checked + .mwform-checkbox-field-text::after {
  opacity: 1;
}

/* submit btn */
.submit-btn.is-disabled {
  opacity: 0.5;
  transition: opacity 0.3s ease;
  pointer-events: none; /* マウスイベントも無効にする */
}

.submit-btn.is-enabled {
  opacity: 1;
  pointer-events: auto;
}

input[type="submit"] {
  width: 32rem;
  padding: 1.6rem;
  border-radius: 50rem;
  background-color: #000;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
}
@media only screen and (max-width: 780px) {
  .form-text {
    font-size: 1.3rem;
  }

  .form-item {
    margin-bottom: 2.4rem;
  }

  input[type="submit"] {
    width: 100%;
  }
}

/* ==================================
	confirm
	================================== */
.confirm .form-item {
  margin-bottom: 4rem;
}

.confirm .form-text {
  position: relative;
  padding-bottom: 1.2rem;
}

.confirm .form-text::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 0.1rem;
  background-color: #999;
  content: "";
}

/* ==================================
	thanks
	================================== */
.thanks-wrap {
  margin-bottom: 16rem;
}

.thanks-text p {
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
}
@media only screen and (max-width: 780px) {
  .thanks-wrap {
    margin-bottom: 10rem;
  }

  .thanks-text p {
    font-size: 1.3rem;
  }
}

/* ==================================
	整理済み ↑  
	================================== */

/* ==================================
	未確認コード  ↓
	================================== */

.mwform-checkbox-field input,
.mwform-radio-field input {
  width: 1.6rem;
  height: 1.6rem;
}

body.thanks-contentid #wrapper-content {
  margin-bottom: 16rem;
}

body.thanks-contentid .wrapper-common-lead p {
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
}

body.contact-contentid .wrapper-common-lead .contact-cap,
body.contact-contentid .wrapper-common-lead p span,
body.contact-contentid .contact-content-box h5 span,
body.content-id-confirm .wrapper-common-lead .contact-cap,
body.content-id-confirm .wrapper-common-lead p span,
body.content-id-confirm .contact-content-box h5 span {
  color: #b70000;
}

body.contact-contentid .header-wrap,
body.contact-contentid .overlay,
body.contact-contentid .g-nav,
body.content-id-confirm .header-wrap,
body.content-id-confirm .overlay,
body.content-id-confirm .g-nav,
body.thanks-contentid .header-wrap,
body.thanks-contentid .overlay,
body.thanks-contentid .g-nav {
  display: none;
}

body.contact-contentid .main,
body.content-id-confirm .main,
body.thanks-contentid .main {
  padding-top: 8rem;
  background-color: #886e21;
  color: #fff;
}

body.contact-contentid .wrapper-common-title,
body.contact-contentid .wrapper-common-lead,
body.content-id-confirm .wrapper-common-title,
body.content-id-confirm .wrapper-common-lead,
body.thanks-contentid .wrapper-common-title,
body.thanks-contentid .wrapper-common-lead {
  text-align: center;
}

body.contact-contentid .wrapper-content-box,
body.content-id-confirm .wrapper-content-box,
body.thanks-contentid .wrapper-content-box {
  margin-top: 10rem;
  background-color: #000;
}

body.contact-contentid .form-input,
body.content-id-confirm .form-input {
  margin-right: auto;
  margin-left: auto;
}

body.content-id-confirm .contact-box h5 {
  position: relative;
  padding-bottom: 1.2rem;
}

body.content-id-confirm .contact-box h5::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 0.1rem;
  content: "";
}

body.content-id-confirm .contact-box h5::after {
  background-color: #fff;
}

body.content-id-confirm .form-input {
  margin-bottom: 4rem;
}

body.contact-contentid input[type="checkbox"] {
  display: inline-block;
}

body.contact-contentid .mwform-checkbox-field-text::before,
body.contact-contentid .mwform-checkbox-field-text::after {
  content: none;
}

body.contact-contentid .mwform-checkbox-field-text,
body.content-id-confirm .mwform-checkbox-field-text {
  padding: 0 0.8rem;
}

body.contact-contentid .wrapper-content-box input[type="submit"],
body.content-id-confirm .wrapper-content-box input[type="submit"] {
  background-color: #886e21;
}

body.contact-contentid p.submit-button,
body.content-id-confirm p.submit-button {
  text-align: center;
}

body.contact-contentid .footer-container,
body.content-id-confirm .footer-container,
body.thanks-contentid .footer-container {
  background-color: #000;
  background-image: none;
}

body.contact-contentid .g-footer,
body.content-id-confirm .g-footer,
body.thanks-contentid .g-footer {
  position: relative;
}

body.contact-contentid p.txt_confirm,
body.content-id-confirm p.txt_confirm {
  display: block;
  max-width: 64rem;
  margin-right: auto;
  margin-bottom: 4.8rem;
  margin-left: auto;
  font-size: 1.3rem;
}

@media only screen and (max-width: 780px) {
  body.contact-contentid .wrapper-content-box {
    margin-top: 5rem;
  }

  body.contact-contentid .wrapper-common-lead .contact-cap {
    margin-top: 1.6rem;
    font-size: 1.2rem;
  }

  body.contact-contentid .wrapper-common-title,
  body.contact-contentid .wrapper-common-lead,
  body.content-id-confirm .wrapper-common-title,
  body.content-id-confirm .wrapper-common-lead,
  body.thanks-contentid .wrapper-common-title,
  body.thanks-contentid .wrapper-common-lead {
    text-align: left;
  }

  body.contact-contentid h2,
  body.content-id-confirm h2,
  body.thanks-contentid h2 {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}
