:root {
  --noto-sans: "Noto Sans JP", "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", meiryo, sans-serif;
  --poppins: "poppins", sans-serif;
  --blue: #0047ba;
  --red: #ff2d4b;
  --white: #ffffff;
  --black: #000000;
}

footer {
  margin-top: 0 !important;
}

.contact section.lead {
  max-width: 740px;
  margin: 0 auto;
  width: 90%;
}
.contact section.lead p sup {
  color: #e20000;
}
.contact section.lead .link-privacy {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .contact section.lead .link-privacy {
    margin-top: 30px;
  }
}
.contact section.lead .link-privacy a {
  text-align: center;
  position: relative;
}
@media (any-hover: hover) {
  .contact section.lead .link-privacy a:hover:after {
    display: none;
  }
}
.contact section.lead .link-privacy a:after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #b2b2b2;
}
.contact section.form-area {
  margin-top: 80px;
  background-color: #e4edfa;
  border-radius: 90px 90px 0 0;
  padding: 80px 0 120px;
}
@media screen and (max-width: 767px) {
  .contact section.form-area {
    margin-top: 60px;
    padding: 40px 0;
    border-radius: 40px 40px 0 0;
  }
}
.contact section.form-area > h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .contact section.form-area > h2 {
    font-size: 24px;
  }
}
.contact section.form-area > h2 span {
  display: block;
  font-size: 16px;
  color: #e20000;
  margin-top: 5px;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .contact section.form-area > h2 span {
    font-size: 14px;
  }
}
.contact section.form-area .form-box {
  max-width: 1100px;
  width: 95%;
  margin: 50px auto 0;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 80px 20px;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box {
    width: 90%;
    padding: 30px 5% 40px;
    margin-top: 30px;
  }
}
.contact section.form-area .form-box *::placeholder {
  color: #a7a1a1;
}
.contact section.form-area .form-box .inner {
  max-width: 900px;
  margin: 0 auto;
}
.contact section.form-area .form-box .inner .checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.contact section.form-area .form-box .inner input[type=checkbox] {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  margin-right: 8px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}
.contact section.form-area .form-box .inner input[type=checkbox]:checked {
  background-color: #007bff;
  border-color: #007bff;
}
.contact section.form-area .form-box .inner input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact section.form-area .form-box .inner .flex {
  display: flex;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex {
    flex-direction: column;
  }
}
.contact section.form-area .form-box .inner .flex:first-child {
  padding-bottom: 80px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex:first-child {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}
.contact section.form-area .form-box .inner .flex h3 {
  width: 260px;
  font-size: 18px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex h3 {
    width: 100%;
    margin-bottom: 20px;
  }
}
.contact section.form-area .form-box .inner .flex .input-area {
  width: calc(100% - 260px);
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex .input-area {
    width: 100%;
  }
}
.contact section.form-area .form-box .inner .flex .input-area dl {
  margin-top: 50px;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex .input-area dl {
    margin-top: 40px;
  }
}
.contact section.form-area .form-box .inner .flex .input-area dl:first-child {
  margin-top: 0;
}
.contact section.form-area .form-box .inner .flex .input-area dl dt {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex .input-area dl dt {
    margin-bottom: 10px;
  }
}
.contact section.form-area .form-box .inner .flex .input-area dl dt sup {
  color: #e20000;
}
.contact section.form-area .form-box .inner .flex .input-area dl dd input[type=text],
.contact section.form-area .form-box .inner .flex .input-area dl dd input[type=tel],
.contact section.form-area .form-box .inner .flex .input-area dl dd input[type=email] {
  background-color: #f7f7f7;
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #eaeaea;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex .input-area dl dd input[type=text],
  .contact section.form-area .form-box .inner .flex .input-area dl dd input[type=tel],
  .contact section.form-area .form-box .inner .flex .input-area dl dd input[type=email] {
    padding: 5px 10px;
  }
}
.contact section.form-area .form-box .inner .flex .input-area dl dd .postal-code {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .flex .input-area dl dd .postal-code {
    margin-bottom: 15px;
  }
}
.contact section.form-area .form-box .inner .flex .input-area dl dd .postal-code input[type=text] {
  width: 140px;
}
.contact section.form-area .form-box .inner .flex .input-area dl dd .note {
  font-size: 12px;
  margin-top: 10px;
}
.contact section.form-area .form-box .inner .flex .input-area .check-area label {
  display: block;
  margin-bottom: 10px;
}
.contact section.form-area .form-box .inner .flex .input-area textarea {
  width: 100% !important;
  height: 200px !important;
  border: 1px solid #eaeaea;
  background-color: #f7f7f7;
  padding: 15px;
  font-size: 16px;
  resize: vertical;
  line-height: 1.5;
}
.contact section.form-area .form-box .inner .agreecheck {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact section.form-area .form-box .inner .agreecheck p a {
  text-align: center;
  position: relative;
}
@media (any-hover: hover) {
  .contact section.form-area .form-box .inner .agreecheck p a:hover:after {
    display: none;
  }
}
.contact section.form-area .form-box .inner .agreecheck p a:after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #b2b2b2;
}
.contact section.form-area .form-box .inner .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px 30px;
  margin: 50px auto 0;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner .btn-wrap {
    gap: 20px;
  }
}
.contact section.form-area .form-box .inner .btn-wrap .wpcf7-previous {
  margin: 0;
  color: #ffffff;
  width: 230px;
  height: 60px;
  background-color: #ff2d4b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 12px;
  font-size: 20px;
  transition: opacity 0.4s;
  text-align: center;
}
.contact section.form-area .form-box .inner .btn-wrap input[type=submit] {
  margin: 0;
}
.contact section.form-area .form-box .inner .btn-wrap .wpcf7-spinner {
  display: none;
}
.contact section.form-area .form-box .inner button[type=submit],
.contact section.form-area .form-box .inner input[type=submit] {
  margin: 50px auto 0;
  color: #ffffff;
  width: 230px;
  height: 60px;
  background-color: #ff2d4b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 12px;
  font-size: 20px;
  transition: opacity 0.4s;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact section.form-area .form-box .inner button[type=submit],
  .contact section.form-area .form-box .inner input[type=submit] {
    margin-top: 30px;
  }
}
.contact section.form-area .form-box .inner button[type=submit].disabled,
.contact section.form-area .form-box .inner input[type=submit].disabled {
  opacity: 0.4;
  pointer-events: none;
}
.contact section.thanks {
  padding-bottom: 100px;
  max-width: 1000px;
  margin: 0 auto;
  width: 90%;
}
@media screen and (max-width: 767px) {
  .contact section.thanks {
    padding-bottom: 60px;
  }
}
.contact section.thanks h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: var(--blue);
}
@media screen and (max-width: 767px) {
  .contact section.thanks h2 {
    font-size: 24px;
  }
}
.contact section.thanks h2 br {
  display: none;
}
@media screen and (max-width: 500px) {
  .contact section.thanks h2 br {
    display: block;
  }
}
.contact section.thanks p {
  text-align: center;
  font-size: 18px;
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .contact section.thanks p {
    text-align: left;
    font-size: 16px;
  }
}
.contact section.thanks .link {
  text-align: center;
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .contact section.thanks .link {
    margin-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  .confirm .form-area {
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .confirm h3 {
    margin: 0 0 20px !important;
  }
}
.confirm .form-box {
  margin-top: 80px !important;
}
@media screen and (max-width: 767px) {
  .confirm .form-box {
    margin-top: 30px !important;
  }
}
.confirm .flex:first-child {
  padding-bottom: 40px !important;
  margin-bottom: 40px !important;
}
@media screen and (max-width: 767px) {
  .confirm .flex:first-child {
    padding-bottom: 30px !important;
    margin-bottom: 30px !important;
  }
}
.confirm dl {
  margin-top: 30px !important;
  display: flex;
}
.confirm dl:first-child {
  margin-top: 5px !important;
}
@media screen and (max-width: 767px) {
  .confirm dl {
    flex-direction: column;
    margin-top: 25px !important;
  }
}
.confirm dl dt {
  width: 200px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 767px) {
  .confirm dl dt {
    width: 100% !important;
  }
}
.confirm dl dd {
  width: calc(100% - 200px) !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 767px) {
  .confirm dl dd {
    width: 100% !important;
    margin-top: 5px;
  }
}
.confirm dl dd .postal-code {
  margin: 0 !important;
}

.wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}