@charset "UTF-8";

/* ========================================
   Contact Page Styles
======================================== */
.content {
}

.contact__inner {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 150px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  position: relative;
}
@media (max-width: 1000px) {
  .contact__inner {
    display: block;
    padding: 80px 0;
  }
}

.contact__main {
  width: 70%;
  max-width: 1000px;
}
@media screen and (max-width: 1000px) {
  .contact__main {
    width: 100%;
  }
}

.contactGuide {
  margin: 0 0 90px;
}
@media (max-width: 1000px) {
  .contactGuide {
    margin: 0 0 80px;
  }
}

.contactGuide__title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  padding: 0 0 25px;
  margin: 0 0 25px;
  position: relative;
}
@media (max-width: 1000px) {
  .contactGuide__title {
    font-size: 17px;
    padding: 0 0 20px;
    margin: 0 0 30px;
  }
}
.contactGuide__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #c9ced2;
  z-index: 1;
}
.contactGuide__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 60px;
  background-color: #53b3eb;
  z-index: 1;
}

.contactGuide__telTime {
  font-size: 18px;
  color: #333333;
  margin: 0 0 6px;
}
@media (max-width: 1000px) {
  .contactGuide__telTime {
    font-size: 15px;
  }
}

.contactGuide__telNum {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #333333;
}
@media (max-width: 1000px) {
  .contactGuide__telNum {
    font-size: 28px;
  }
}
.contactGuide__telNum span {
  font-size: 22px;
  font-weight: 700;
  margin-right: 6px;
}
@media (max-width: 1000px) {
  .contactGuide__telNum span {
    font-size: 17px;
  }
}

.contactGuide__list {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #33434d;
}
.contactGuide__list li {
  position: relative;
  padding: 0 0 0 25px;
  margin: 0 0 20px;
  font-size: 16px;
}
.contactGuide__list li::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #53b3eb;
  top: 5px;
  left: 0;
}
.contactGuide__list a {
  color: #2b78c6;
  text-decoration: underline;
}

.is-required {
  display: inline-block;
  background-color: #4ab57a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 12px;
  vertical-align: middle;
  margin: 0 0 0 5px;
}

/* Contact Form */
.contactForm__title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  padding: 0 0 25px;
  margin: 0 0 25px;
  position: relative;
}
@media (max-width: 1000px) {
  .contactForm__title {
    font-size: 17px;
    padding: 0 0 20px;
    margin: 0 0 30px;
  }
}
.contactForm__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #c9ced2;
  z-index: 1;
}
.contactForm__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 60px;
  background-color: #253868;
  z-index: 1;
}

.contactForm__body {
  background: transparent;
}

.formGrid {
  display: grid;
}

.formRow {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  margin: 0 0 28px;
}
@media (max-width: 1000px) {
  .formRow {
    display: block;
  }
}
.formRow--textarea {
  align-items: start;
}

.formRow__head {
  font-size: 17px;
  color: #2b2b2b;

  margin: 0 20px 0 0;
}
@media (max-width: 1000px) {
  .formRow__head {
    margin: 0 0 12px;
  }
}

.formRow__body {
}

.formRow__head small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;
}

.formRow__body input,
.formRow__body select,
.formRow__body textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7e2ea;
  background: #fff;
  border-radius: 3px;
  padding: 15px 12px;
  font-size: 16px;
  color: #2b2b2b;
  outline: none;
}
.formRow__body input::placeholder,
.formRow__body select::placeholder,
.formRow__body textarea::placeholder {
  color: #a0adb7;
}
.formRow__body input:focus,
.formRow__body select:focus,
.formRow__body textarea:focus {
  border-color: #53b3eb;
  box-shadow: 0 0 0 3px rgba(83, 179, 235, 0.18);
}
.formRow__body--inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.formInlinePrefix {
  font-size: 13px;
  color: #2b2b2b;
}

.input--mini {
  max-width: 160px;
}

.input--short {
  max-width: 260px;
}

/* Privacy Box */
.privacyBox {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #d7e2ea;
  padding: 0 15px;
}

.privacyBox__title {
  font-size: 24px;
  font-weight: 800;
  color: #333333;
  padding: 40px 0 18px;
  margin: 0 0 30px;
  text-align: center;
  position: relative;
}
.privacyBox__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 50px;
  height: 2px;
  background-color: #53b3eb;
}

.privacyBox__body {
  max-height: 275px;
  overflow-y: auto;
  padding: 5px;
  -webkit-overflow-scrolling: touch;
}
.privacyBox__body p {
  font-size: 16px;
  line-height: 1.9;
  color: #333333;
  margin: 0 0 35px;
}

.privacyBox__heading {
  margin: 12px 0 6px;
  font-size: 16px;
  color: #333333;
}

.privacyBox__list {
  margin: 6px 0 0;
  padding-left: 18px;
}
.privacyBox__list li {
  margin: 2px 0;
}

.privacyBox__sign {
  margin-top: 14px;
  font-size: 12px;
  color: #2b2b2b;
}

.formSubmit {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btnSubmit {
  display: block;
  max-width: 370px;
  width: 90%;
  padding: 30px;
  background-color: #253868;
  color: #fff;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  margin: 0;
  position: relative;
}
@media screen and (max-width: 1000px) {
  .btnSubmit {
    width: 90%;
    padding: 20px 0;
    font-size: 18px;
    margin: 30px auto 0;
  }
}

.btnSubmit__arrow {
  position: absolute;
  height: 24px;
  width: 24px;
  background-image: url("../img/common/icon-arrow.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 1000px) {
  .btnSubmit__arrow {
    height: 16px;
    width: 16px;
    right: 12px;
  }
}

/* Step Nav (right) */
.contact__aside {
  width: 20%;
  max-width: 244px;
  position: sticky;
  top: 110px;
}
@media screen and (max-width: 1000px) {
  .contact__aside {
    display: none;
  }
}

.stepNav {
  background: transparent;
}

.stepNav__list {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
.stepNav__list::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 100%;
  left: 31px;
  top: 0;
  bottom: 0;
  background-color: #c9ced2;
}

.stepNav__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 18px;
  font-size: 17px;
  color: #979da4;
  background: #fff;
  border: 1px solid #c9ced2;
  padding: 17px 15px 17px 24px;
  border-radius: 56px;
  font-weight: 400;
  margin: 0 0 17px;
}
.stepNav__item.is-current {
  color: #2b2b2b;
  background: #fff;
  border-color: #53b3eb;
}

.stepNav__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #c9ced2;
  display: inline-block;
}
.stepNav__item.is-current .stepNav__dot {
  background: #53b3eb;
}

.formSubmit {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
}

/* media query（$bp-lg は適宜置き換え） */
@media screen and (max-width: 1024px) {
  .formSubmit {
    display: block !important;
  }
}

.formSubmit__back,
.formSubmit__next {
  position: relative;
}

/* 共通ボタン */
.formSubmit input[type="button"],
.formSubmit input[type="submit"] {
  appearance: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 6px;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

/* 戻るボタン */
.formSubmit__back input {
  background: #fff;
  color: #2b2b2b;
  border: 2px solid #ccc;
}

.formSubmit__back input:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* 送信ボタン */
.formSubmit__next input {
  background-color: #253868;
  color: #fff;
  border: 2px solid #253868;
}

.formSubmit__next input:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.formSubmit .wpcf7-previous {
  display: block;
  width: 90%;
  margin: 0 auto 5px;
  max-width: 370px;
  border: 1px solid #999;
}

/* スピナー */
.formSubmit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

/* Step Nav */
.contact__aside {
  width: 20%;
  max-width: 244px;
  position: sticky;
  top: 110px;
}

@media screen and (max-width: 1024px) {
  .contact__aside {
    display: none;
  }
}

.stepNav {
  background: transparent;
}

.stepNav__list {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.stepNav__list::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 100%;
  left: 31px;
  top: 0;
  bottom: 0;
  background-color: #ccc; /* $color-gray */
}

.stepNav__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 18px;
  font-size: 17px;
  color: #999; /* $color-text-muted */
  background: #fff; /* $color-white */
  border: 1px solid #ccc; /* $color-gray */
  padding: 17px 15px 17px 24px;
  border-radius: 56px;
  font-weight: 400;
  margin: 0 0 17px;
}

.stepNav__item.is-current {
  color: #2b2b2b;
  background: #fff;
  border-color: #253868; /* $color-primary */
}

.stepNav__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc; /* $color-gray */
  display: inline-block;
}

.stepNav__item.is-current .stepNav__dot {
  background: #253868; /* $color-primary */
}

.confirmText--textarea {
  white-space: pre-wrap;
  word-break: break-word;
}

.formRow__body {
}

.wp-block-contact-form-7-contact-form-selector {
  width: 100%;
}
