@charset "UTF-8";
:root {
  --sds-typography-weight-semibold: 600;
}

/* ===================================
 * contact
 * =================================== */
.contact_description {
  margin-top: 20px;
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 0 60px;
}
@media screen and (max-width: 960px) {
  .contact_description {
    margin-top: 0;
    padding: 0 20px;
    font-size: 16px;
  }
}
.contact_description .red {
  margin-top: 30px;
  color: #F00;
  display: block;
}
@media screen and (max-width: 960px) {
  .contact_description .red {
    margin-top: 20px;
  }
}

.contact__content {
  margin: 0 auto 145px;
  background: #F0F0F0;
  margin-top: 70px;
  max-width: 1246px;
  width: 90%;
}
@media screen and (max-width: 960px) {
  .contact__content {
    margin-bottom: 100px;
  }
}
.contact__content .inner {
  padding: 90px 60px;
}
@media screen and (max-width: 960px) {
  .contact__content .inner {
    padding: 40px 20px;
  }
}

input,
button,
select,
textarea {
  font: inherit;
  border: none;
  border-radius: 0;
  outline: none;
  background: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

.wpcf7-form {
  margin: auto;
  max-width: 950px;
}

.wpcf7-list-item {
  margin: 0;
}

.contact .form-part {
  margin-bottom: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 960px) {
  .contact .form-part {
    margin-bottom: 45px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.contact .form-part div {
  width: 100%;
}

.contact .form-part-title {
  font-size: 20px;
  font-weight: 700;
  min-width: 324px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-height: 70px;
}
@media screen and (max-width: 960px) {
  .contact .form-part-title {
    margin-bottom: 10px;
    font-size: 18px;
    min-width: initial;
  }
}

.contact .form-part-title .must {
  color: #F00;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  top: -5px;
  left: 5px;
}
@media screen and (max-width: 960px) {
  .contact .form-part-title .must {
    font-size: 14px;
  }
}

.contact .form-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
@media screen and (max-width: 960px) {
  .contact .form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.contact .form-subtext {
  margin-top: 15px;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
@media screen and (max-width: 960px) {
  .contact .form-subtext {
    margin-top: 5px;
    font-size: 14px;
  }
}

.wpcf7-form-control-wrap {
  width: 100%;
}

.form-part input:not([type=submit]) {
  font-size: 17px;
  width: 100%;
  height: 70px;
  padding: 20px;
  background: #fff;
}
@media screen and (max-width: 960px) {
  .form-part input:not([type=submit]) {
    font-size: 16px;
  }
}

.form-part textarea {
  font-size: 17px;
  width: 100%;
  height: 140px;
  padding: 20px;
  background: #fff;
}
@media screen and (max-width: 960px) {
  .form-part textarea {
    font-size: 16px;
  }
}

.form-part .select-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.form-part .select-wrap:after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 30px;
  width: 8px;
  height: 8px;
  content: "";
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

.form-part select {
  width: 100%;
  height: 100%;
  padding: 20px;
  background: #fff;
}

::-webkit-input-placeholder {
  font-weight: 300;
}

::-moz-placeholder {
  font-weight: 300;
}

:-ms-input-placeholder {
  font-weight: 300;
}

::-ms-input-placeholder {
  font-weight: 300;
}

::placeholder {
  font-weight: 300;
}

/* 従来のチェックボックススタイル（他の部分用） */
.form-part input[type=checkbox] {
  display: none;
}

.form-part input[type=checkbox] + span {
  font-size: inherit;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0 1em 0 1.8em;
  cursor: pointer;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  font-weight: bold;
}
@media screen and (min-width: 961px) {
  .form-part input[type=checkbox] + span {
    font-size: 20px;
  }
}
@media screen and (max-width: 960px) {
  .form-part input[type=checkbox] + span {
    text-align: left;
  }
}

.form-part input[type=checkbox] + span:before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -4px;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 32px;
  height: 32px;
  content: "";
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  opacity: 1;
  border: 1px solid #000;
  border-radius: 0;
  background-color: #fff;
}
@media screen and (max-width: 960px) {
  .form-part input[type=checkbox] + span:before {
    width: 24px;
    height: 24px;
  }
}

.form-part input[type=checkbox] + span:after {
  position: absolute;
  z-index: 10;
  top: 4px;
  left: 8px;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 10px;
  height: 20px;
  content: "";
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  -webkit-transform: rotate(40deg);
          transform: rotate(40deg);
  opacity: 0;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
}
@media screen and (max-width: 960px) {
  .form-part input[type=checkbox] + span:after {
    top: 0;
    left: 4px;
  }
}

.form-part input[type=checkbox]:checked + span {
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  color: #000;
}

.form-part input[type=checkbox]:checked + span:before {
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  opacity: 1;
}

.form-part input[type=checkbox]:checked + span:after {
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  opacity: 1;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

.form-part .privacy-wrap {
  padding: 20px;
  text-align: center;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin: auto;
}
@media screen and (max-width: 960px) {
  .form-part .privacy-wrap {
    padding-inline: 0;
  }
}
.form-part .privacy-wrap a {
  text-decoration: underline;
}

.form-part input[type=submit] {
  margin-top: 40px;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: block;
  width: 595px;
  height: 139px;
  margin: 64px auto 0;
  text-align: center;
  color: #fff;
  background: #000;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (max-width: 960px) {
  .form-part input[type=submit] {
    margin-top: 0px;
    font-size: 20px;
    width: 100%;
    height: 80px;
  }
}
.form-part input[type=submit]:disabled {
  cursor: not-allowed;
}
.form-part input[type=submit]:hover {
  background: #fff;
  color: #333;
}

.form-part input.wpcf7-not-valid {
  border: 2px solid #ea1c1c;
}

.form-part textarea.wpcf7-not-valid {
  border: 2px solid #ea1c1c;
}

.form-part select.wpcf7-not-valid {
  border: 2px solid #ea1c1c;
}

.form-part ::-webkit-input-placeholder {
  font-size: 16px;
  color: #333;
  font-weight: 300;
}

.form-part ::-moz-placeholder {
  font-size: 16px;
  color: #333;
  font-weight: 300;
}

.form-part :-ms-input-placeholder {
  font-size: 16px;
  color: #333;
  font-weight: 300;
}

.form-part ::-ms-input-placeholder {
  font-size: 16px;
  color: #333;
  font-weight: 300;
}

.form-part ::placeholder {
  font-size: 16px;
  color: #333;
  font-weight: 300;
}

.contact__btn {
  margin: 56px auto 0;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.wpcf7-spinner {
  position: absolute;
}

@media screen and (min-width: 961px) {
  .contact__recaptcha {
    text-align: center;
  }
}
.contact__recaptcha a {
  text-decoration: underline;
}

/* ===================================
 * Thanks
 * =================================== */
.contact-thanks {
  margin: auto;
  max-width: 800px;
}