@charset "UTF-8";

.wpcf7-spinner {
	display: none;
}
.wpcf7 form .wpcf7-response-output {
  display: none;
}

/*  ========================
  *********  contact  *********
=============================================  */
.contact_top {
  width: 100%;
  max-width: 1280px;
  padding: 80px 40px 0;
  margin: auto;
}
.contact_top p b {
  font-weight: bold;
}
#contact .page_contents .inner {
  width: 100%;
  max-width: 1280px;
  padding: 80px 40px 0;
  margin: auto;
}

#contact .contact-box {
  background: #FFF;
  border-radius: 20px;
}
#contact .contact-form {
  width: 100%;
  max-width: 1000px;
  padding: 80px 0;
  margin: auto;
}

.contact-form .form-field {
  padding: 30px 0 30px 30px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  /* gap: 0 30px; */
}
.contact-form .form-field span {
	width: 100%;
}

.contact-form label {
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: space-between;
  width: 50%;
  margin-right: 30px;
}

.contact-form span.required {
  display: inline-block;
  background: #f68b1e;
  color: #fff;
  border-radius: 2px;
  padding: 0 10px;
  margin: 0 10px;
  font-size: 12px;
  width: fit-content;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-sizing: border-box;
  color: #333;
  background: #fff;
  transition: border-color .2s;
  width: 100%;
  margin-left: auto;
}

.address_box .form-field {
	border-bottom: none;
	padding-bottom: 0;
}
.address_box {
	padding-bottom: 30px;
	border-bottom: 1px solid #ccc;
}
.contact-form .form-field span.post_icon {
  width: fit-content;
  margin: 0 2% 0 0%;
}
.contact-form .form-field span.postcode_wrap {
  width: 25%;
  margin-right: 45%;
}

#your-address {
  width: 100%;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  border-color: #f68b1e;
  outline: none;
  width: 100%;
}

/* ──────────────────
 チェックボックス・同意欄
────────────────── */
.center {
  text-align: center;
}

.contact-form .note {
  text-align: center;
}

.contact-form .agree {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-left: 0;
  width: 100%;
  border: none;
}
.contact-form .agree label {
  width: fit-content;
  justify-content: center;
  gap: 0 10px;
  align-items: flex-start;
}

.contact-form .agree span {
	width: 100%;
}
.contact-form .agree .wpcf7-form-control-wrap {
	width: 180%;
}
.contact-form .agree span.small {
  font-size: 11px;
  margin-top: 4px;
}

.contact-form .form-field.checkbox {
  display: flex;
  align-items: center;
  border-bottom: none;
}

.contact-form .form-field.checkbox>label {
  flex: 0 0 25%;
}

.contact-form .form-field.checkbox input[type="checkbox"] {
  margin-right: 8px;
}

#info-mail-consent {
  position: relative;
  border: none;
  appearance: none;
  margin-right: 10px;
}

#consent_agree {
  position: relative;
  border: none;
  appearance: none;
  margin-right: 30px;
}

#consent_agree::before,
#info-mail-consent::before {
  position: absolute;
  left: 0;
  display: block;
  border: 3px solid #BCBBBB;
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 2px;
  top: 0;
}
.consent .wpcf7-list-item {
	margin: 0 0 0 6%;
}

#consent_agree::after,
#info-mail-consent::after {
  position: absolute;
  top: 0px;
  left: 10px;
  display: block;
  border-right: 2.5px solid #BCBBBB;
  border-bottom: 2.5px solid #BCBBBB;
  content: '';
  width: 5px;
  height: 11px;
  border-radius: 1px;
  transform: translateY(50%) rotate(35deg);
}
.contact-form .form-field.consent {
/*   align-items: flex-start; */
}
#info-mail-consent::before {
	bottom: 0;
	left: -2em;
	margin: auto;
}
#info-mail-consent::after {
	top: -0.9em;
    left: -1.4em;
    margin: auto;
}

#consent_agree:checked::after,
#info-mail-consent:checked::after {
  border-right: 2px solid #0068b7;
  border-bottom: 2px solid #0068b7;
}

#contact .submitbox {
  border: none;
  justify-content: center;
  width: 72%;
  margin: auto;
  padding-bottom: 0;
  position: relative;
}

#contact .submitbox input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  background: #F6F6F6;
  height: 72px;
  border: none;
  text-align: left;
  width: 356px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  cursor: pointer;
}

#contact .submitbox .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #246BA1;
  display: inline-block;
  position: absolute;
  overflow: hidden;
  border: 1px solid #246BA1;
  transition: .5s;
  right: -44%;
  left: 0%;
  margin: auto;
}

#contact .submitbox .icon::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../../assets/img/common/ico_arrow_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  top: calc(50% - 8px);
  transition: .5s;
}

#contact .submitbox .icon::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../../assets/img/common/ico_arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  position: absolute;
  left: calc(-50% - 8px);
  top: calc(50% - 8px);
  transition: .5s;
}

#contact .submitbox input:hover {
  color: #fff;
  background: #246BA1;
}

#contact .submitbox input:hover ~ .icon {
  background: #fff;
}

#contact .submitbox input:hover ~ .icon::before {
  left: calc(150% - 8px);
}

#contact .submitbox input:hover ~ .icon::after {
  left: calc(50% - 8px);
}

@media screen and (max-width: 768px) {
  .contact_top {
    max-width: 100%;
    padding: 18.5vw 5vw;
  }

  #contact .page_contents .inner {
    padding: 10vw 5vw 0;
  }

  #contact .contact-box {
    padding: 8vw 5vw 13.02vw;
  }

  #contact .contact-form {
    padding: 0;
  }

  .contact-form .form-field {
    flex-wrap: wrap;
    padding: 8vw 0;
  }

  .contact-form label {
    width: auto;
    margin-bottom: 3vw;
  }

  .address-inputs span {
    padding-left: 0;
  }

  .address-inputs {
    width: 100%;
  }
  

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
    margin-left: 0;
  }
  
  
  #info-mail-consent {
	  margin-left: 3%;
  }
  #info-mail-consent::after {
	  top: -1.1em;
	  left: -1.3em;
  }
  .contact-form .consent label {
    width: 100%;
  }
  .contact-form .address_box label {
	  display: block;
	  width: 100%;
  }
  .contact-form .address_box .form-field {
	  padding: 0;
	  margin-block-start: 0;
  }
  .contact-form .address_box {
	  padding-bottom: 8vw;
  }
  .contact-form .agree {
    padding-bottom: 0;
  }

  .contact-form .agree label {
    width: 100%;
    flex-wrap: wrap;
    justify-content: left;
    padding-left: 5%;
  }
  .contact-form .agree .wpcf7-form-control-wrap {
	  width: 100%;
  }
  .contact-form .agree span {
    display: block;
    width: 100%;
	/*  margin-left: 15vw; */
  }
  #consent_agree::before {
	  left: -3em;
  }
  #consent_agree::after {
	  left: -2.2em;
  }
  .contact-form .note {
    text-align: left;
  }

  #contact .submit {
    padding-bottom: 0;
  }

  #contact .submit input {
    font-size: 4vw;
  }
  #contact .submitbox {
	  width: 90%;
  }
  #contact .submitbox .icon {
	  right: -75%;
  }
}

/* ──────────────
 ベースのレイアウト
──────────────── */
.stepper {
  width: 462px;
  margin: 60px auto;
}

.stepper ol {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  position: relative;
}
.stepper .step {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 24px;
}

.stepper .step::before {
  content: attr(data-step);
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #BCBBBB;
  color: #BCBBBB;
  font-weight: bold;
  z-index: 1;
}

.stepper .step span {
  display: block;
  margin-top: 10px;
  color: #999;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .stepper {
    width: 100%;
    max-width: 90%;
    padding: 0;
    margin: 8vw auto;
  }
  .stepper .step {
    font-size: 4.4vw;
    flex: none;
  }
  .stepper .step::before {
    width: 9vw;
    height: 9vw;
    line-height: 9vw;
  }
}

/* ──────────────
 ステップ間の線（点線）
──────────────── */
.stepper .step.comp:not(:last-child)::after,
.stepper .step.active:not(:last-child)::after {
  background: url(../img/contact/dot01.png) no-repeat center center;
  background-size: contain;
}
.stepper .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30%;
  right: -25%;
  background: url(../img/contact/dot02.png) no-repeat center center;
  background-size: contain;
  width: 75px;
  height: 6px;
  transform: translateY(-50%);
  z-index: 0;
}
@media screen and (max-width: 768px) { 
  .stepper .step.comp:not(:last-child)::after,
  .stepper .step.active:not(:last-child)::after {
    background: url(../img/contact/dot01.png) no-repeat center center;
    background-size: contain;
  }
  .stepper .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: -15vw;
    background: url(../img/contact/dot02.png) no-repeat center center;
    background-size: contain;
    width: 14vw;
    height: 6px;
    transform: translateY(-50%);
    z-index: 0;
  }
}

/* ──────────────
 アクティブステップのスタイル
──────────────── */
.stepper .step.active::before {
  background: #246BA2;
  color: #fff;
  border: 2px solid #246BA2;
}
.stepper .step.comp::before {
  color: #246BA2;
  background: #FFF;
  border: 2px solid #246BA2;
}
.stepper .step.comp span,
.stepper .step.active span {
  color: #246BA2;
}

.stepper .step.active:not(:last-child)::after {
  border-top-color: #246BA2;
}

/*  ========================
  *********  contact section02  *********
=============================================  */
#contact .flex {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-radius: 20px;
}

#contact .flex .box {
  width: 50%;
  margin: 40px;
}

#contact .flex {
  justify-content: center;
}

#contact .flex h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

#contact .flex .box:first-of-type {
  border-right: 1px dashed #ccc;
  height: 80%;
  display: flex;
  flex-direction: column;
}

#contact .flex .box p {
  font-size: 16px;
  text-align: center;
  margin-top: 20px;
}

#contact .flex .box .btn {
  width: 72%;
  margin: auto;
}

#contact .flex .box .btn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  background: #F6F6F6;
  height: 40px;
}

#contact .flex .box .btn a .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #246BA1;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 1px solid #246BA1;
  transition: .5s;
}

#contact .flex .box .btn a .icon::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../../assets/img/common/ico_arrow_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  top: calc(50% - 8px);
  transition: .5s;
}

#contact .flex .box .btn a .icon::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../../assets/img/common/ico_arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  position: absolute;
  left: calc(-50% - 8px);
  top: calc(50% - 8px);
  transition: .5s;
}

#contact .flex .box .btn a:hover {
  color: #fff;
  background: #246BA1;
}

#contact .flex .box .btn a:hover .icon {
  background: #fff;
}

#contact .flex .box .btn a:hover .icon::before {
  left: calc(150% - 8px);
}

#contact .flex .box .btn a:hover .icon::after {
  left: calc(50% - 8px);
}

#contact .flex .box .tel {
  width: 72%;
  margin: auto;
}

#contact .flex .box .tel a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #246BA1;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  background: #F6F6F6;
  height: 40px;
  pointer-events: none;
}

#contact .flex .box .tel a .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(../../assets/img/common/ico_tel.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  #contact .flex {
    flex-wrap: wrap;
  }
  #contact .flex h3 {
    font-size: 4.4vw;
  }
  #contact .flex .box {
    margin: 5vw;
  }

  #contact .flex .box:first-of-type {
    display: block;
    padding-bottom: 5vw;
    margin-bottom: 0;
    border-right: none;
    border-bottom: 1px dashed #ccc;
  }

  #contact .flex .box {
    width: 100%;
  }

  #contact .flex .box .tel {
    width: 84%;
  }

  #contact .flex .box .tel a {
    font-size: 4.4vw;
    padding: 3vw;
    height: auto;
    pointer-events: all;
  }
}

/*  ========================
  *********  送信前確認画面  *********
=============================================  */
.contact-form.confirm .form-field {
  flex-wrap: wrap;
}

.contact-form.confirm label {
  width: 30%;
}

#contact .contact-form.confirm .agree {
  text-align: center;
  padding: 30px 0;
  margin: 0 auto;
}
#contact .contact-form.confirm .agree span {
  font-size: 11px;
}

.contact-form.confirm .address-inputs span {
  padding-left: 0;
}
.contact-form.confirm .form-field span.postcode_wrap {
	width: 16%;
}

#contact .contact-form.confirm .submit {
  margin-top: 60px;
}

.confirm-buttons {
  display: flex;
  gap: 0 60px;
}

#contact .contact-form.confirm .submitbox input {
	background: #FFF;
}
#contact .contact-form.confirm .submitbox input:hover {
	background: #246BA1;
}

#contact .submit button.btn-submit {
  background-color: #246BA1;
  color: #fff;
}

#contact .submit button.btn-submit .icon {
  background: #FFF;
}

#contact .submit button.btn-submit .icon::before {
  left: calc(150% - 8px);
}

#contact .submit button.btn-submit .icon::after {
  left: calc(50% - 8px);
}

@media screen and (max-width: 768px) {
  #contact .contact-form.confirm .submit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    gap: 30px 0;
  }
  #contact .contact-form.confirm .submit button {
    width: 100%;
  }
  #contact .submit button .icon {
      width: 6.4vw;
      height: 6.4vw;
  }
  #contact .submit button .icon::before {
      width: 3.2vw;
      height: 3.2vw;
      left: calc(50% - 1.6vw);
      top: calc(50% - 1.6vw);
  }
  #contact .submit button .icon::after {
      width: 3.2vw;
      height: 3.2vw;
      left: calc(-50% - 1.6vw);
      top: calc(50% - 1.6vw);
  }
}

/*  ========================
  *********  completed 送信完了  *********
=============================================  */
#contact .page_contents.completed .inner {
  padding-top: 0;
}
#contact .completed h3 {
  font-size: 24px;
  font-weight: bold;
}
#contact .completed .btn02 {
  margin: 0 auto;
}
#contact .completed .btn02 a {
  background: #FFF;
  color: #333;
}
#contact .completed .btn02 a:hover {
  background: #246BA1;
  color: #FFF;
}

#contact .dot {
  color: #29ABE2;
  margin-right: 5px;
}
@media screen and (max-width: 768px) { 
  #contact .completed h3 {
    font-size: 4.4vw;
  }
  #contact .submit {
    width: 90%;
  }
  #contact .submit button {
    width: 100%;
  }
  .contact_top p,
  #contact .flex .box p,
  .contact_top .flex .box,
  .form-field.address,
  .contact_content01 p {
    font-size: 3.27vw;
  }
}