@charset "UTF-8";

.niyaniwa_contact_page{
  width: 100%;
}
.niyaniwa_contact_page p{
  margin: 0;
}
.contact-page-heading{
  width: 100%;
  height: 175px;
  padding: 0;
  position: relative;
  margin-top: 77px;
  margin-bottom: 50px;
}
.contact-page-bg{
  width: 70%;
  height: 175px;
  position: absolute;
  background-color: #E3EBDF;
}
.contact-page-heading-inner{
  width: 1080px;
  margin: 0 auto;
  position: relative;
}
.contact-page-heading-img{
  width: 77%;
  height: 188px;
  position: absolute;
  right: 0;
  top: -37px;
}
.contact-page-heading-img .pc{
  display: block;
}
.contact-page-heading-img .sp{
  display: none;
}
.contact-page-heading-inner h1{
  font-size: 32px;
  position: absolute;
  z-index: 100;
  line-height: 58px;
  background-color: #fff;
  left: 43px;
  padding: 0 24px;
  margin: 0;
  top: 51px;
}
.contact-page-main{
  width: 1080px;
  margin: 0 auto;
}
.contact-page-main-txt{
  padding-left: 67px;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 27px !important;
}
.contact-page-main-txt span{
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(
    to bottom,
    transparent 70%,
    #E3EBDF 70%
  );
}
.contact-page-content-wrap{
  width: 936px;
  margin: 0 auto 80px;
  background-color: #F8F7F5;
  border-radius: 20px;
  padding: 40px 60px;
}
.contact-page-content-title{
  font-size: 17px;
  margin-bottom: 30px !important;
}
.contact-page-content-list{
  display: flex;
  gap: 32px;
  padding: 0;
}
.contact-page-content-item{
  display: flex;
  flex-direction: column;
  width: 180px;
  align-items: center;
}
.contact-page-content-img{
  width: 60px;
  height: 60px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 16px;
}
.contact-page-content-img img{
  width: 100%;
}
.contact-page-content-txt{
  text-align: center;
  font-size: 15px;
  width: 192px;
}
.contact-page-main-txt .sp{
  display: none;
}
.contact-form-title-wrap{
  margin: 0 0 51px 62px;
}
.contact-form-title-sub{
  font-size: 12px;
  line-height: 1;
  position: relative;
  left: 14px;
}
.contact-form-title-sub::before{
  content: "";
  position: absolute;
  top: 1px;
  left: -14px;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #E0C1E3;
}
.contact-form-title{
  font-size: 25px;
  margin-bottom: 0;
  border-top: 0;
  line-height: 1.2;
  padding: 8px 0;
  width: fit-content;
  border-bottom: 2px solid #E0C1E3;
  font-weight: bold;
}
.access-btn-wrap{
  width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 80px;
}
.access-btn-wrap .sp{
  display: none;
}
.access-btn-wrap .pc{
  display: block;
}
.access-btn{
  height: 80px;
  width: 448px;
  padding: 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.tel-btn-wrap{
  border: 1px solid #D9D9D9;
}
.tel-btn-img-wrap{
  width: 24px;
  height: 24px;

}
.tel-btn-img-wrap img{
  width: 100%;
  display: block;
  object-fit: contain;
}
.tel-btn-content-wrap{
  text-align: center;
}
.tel-btn-content{
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 5px !important;
}
.tel-btn-info-number{
  font-size: 24px;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3px !important;
}
.tel-btn-info-holiday{
  font-size: 12px;
  line-height: 1;
  text-align: center;
}
.line-btn-wrap{
  background-color: #06C755
}
.line-btn-img-wrap{
  width: 32px;
  height: 32px;
  background-color: #06C755;
}
.line-btn-img-wrap img{
  width: 100%;
  display: block;
  object-fit: contain;
  background-color: #06C755;
}
.line-btn-content{
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}


/* お問い合わせフォーム */
.clearfix{
  width: 960px;
  margin: 0 auto;
}
.wq-Form .wq-Control{
  display: block !important;
}
.wq--header{
  padding: 0 0 8px 0 !important;
}
.wq--label{
  font-size: 15px !important;
  line-height: 24px !important;
  font-weight: normal !important;
}
.wq-Form .wq-Attributes>:not(:last-child){
  margin-bottom: 32px !important;
}
#wq-action .wq-gutter-mini{
  justify-content: center !important;
}
.clearfix .wq-Button{
  width: 320px !important;
  height: 56px !important;
  background-color: #DD9ED7 !important;
  border: 0px !important;
  position: relative !important;
}
.clearfix .wq-Button::after{
  position: absolute;
  content: "";
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 8px;
  height: 14px;
  background-image: url(../img/next.png);
}
.wq-Form .wq-Control>.wq--header{
  width: 100% !important;
}
@media screen and (max-width: 480px) {
  .clearfix input{
    height: 32px !important;
  }
  .wq-Form .wq-Control>.wq--header{
    margin-bottom: 0 !important;
  }
}

/* お名前 */
#wq-attr-name-1 input{
  width: 100% !important;
}

/* ご住所 */
#wq-attr-address-2 .wq--body{
  display: flex;
  flex-direction: column;
}
#wq-text-address-2-0{
  width: 128px;
}
#wq-attr-address-2 .wq-belongs-address:nth-child(1){
  order: 1;
}
#wq-attr-address-2 .wq-belongs-address:nth-child(2){
  order: 3;
}
#wq-attr-address-2 .wq-belongs-address:nth-child(3){
  order: 4;
}
#wq-attr-address-2 .wq-belongs-address:nth-child(4){
  order: 5;
}
#wq-attr-address-2 .wq--note{
  order: 2;
  position: absolute;
  top: 20px;
  transform: translateY(-50%);
  width: calc(100% - 160px);
  left: 160px;
}
#wq-attr-address-2 .wq-InputGroup:nth-child(1){
  margin-bottom: 8px !important;
}
@media screen and (max-width: 768px) {
  #wq-attr-address-2 .wq--note{
    position: static;
    width: 100%;
    transform: translateY(0);
  }
}

/* 電話番号 */
#wq-attr-tel-3 input{
  width: 100% !important;
}

/* 確認しました */
#wq-attr-checkbox-6 .wq--body{
  display: flex;
  flex-direction: column;
}
#wq-attr-checkbox-6 .wq-belongs-checkbox{
  order: 1;
  display: flex !important;
}
.wq-Form .wq-Control>.wq--body .wq--note{
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #333 !important;
  opacity: 1 !important;
  margin: 0 0 8px 0 !important;
}
.wq-Form .wq-Checkbox>input{
  position: absolute !important;
  cursor: pointer;
}
.wq-Form .wq-Checkbox>label:before{
  content: "" !important;
  width: 24px;
  position: absolute;
  height: 24px;
  border: 1px solid #333;
  top: 50%;
  left: -36px;
  transform: translateY(-50%);
}
.wq-Form .wq-Checkbox>label{
  display: inline-flex !important;
  align-items: center;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  font-weight: normal !important;
  line-height: 22px !important;
  cursor: pointer;
  overflow: visible !important;
  left: 36px;
}
.wq-Form .wq-Checkbox>input:checked+label:before{
  animation: none !important;
  transform: scale(1) translateY(-50%) !important;
}
.wq-Form .wq-Checkbox>input:checked+label:after{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: -32px;
  background-image: url(../img/check.png);
  transform: translateY(-50%);
}


/* 必須ラベル */
.wq-Form .wq-Control>.wq--header>.wq--required{
  order: -1;
  width: 43px;
  height: 24px;
  background-color: #DD9ED7;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  margin-right: 8px !important;
}

/* エラーメッセージ */
.wq-Form .wq-Control>.wq--body>.wq--message{
  right: 0 !important;
  left: auto !important;
}
.wq-Form .wq-Control>.wq--body>.wq--message:last-child{
  top: -36px !important;
}
.self-is-invalid{
  border-color: #dd4522 !important;
}

/* 確認ページ */
.wq-is-confirming .wq-Button::after{
  content: none !important;
}
.wq-is-confirming .wq-Button{
  color: #fff !important;
}
.wq-is-confirming .wq-Control>.wq--header>.wq--required{
  display: none !important;
}



@media screen and (max-width: 1080px) {
  .contact-page-main{
    width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact-page-main-txt{
    padding-left: 10px;
    margin-bottom: 20px !important;
  }
  .contact-page-content-wrap{
    width: 92.5%;
    padding: 40px 32px;
  }
  .contact-page-content-list{
    display: block;
  }
  .contact-page-content-item{
    flex-direction: row;
    gap: 23px;
    width: 100%;
    justify-content: center;
  }
  .contact-page-content-item:not(:last-child){
    margin-bottom: 16px;
  }
  .contact-page-content-img{
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .contact-page-content-txt{
    font-size: 14px;
    text-align: left;
  }
  .contact-form-title-wrap {
    margin: 0 0 32px 0;
  }
  .access-btn-wrap{
    width: 100%;
    display: block;
  }
  .access-btn{
    margin: 0 auto;
  }
  .tel-btn-wrap{
    margin-bottom: 16px !important;
  }

  /* お問い合わせフォーム */
  .clearfix{
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .contact-page-heading{
    margin-top: 48px;
    margin-bottom: 40px;
  }
  .contact-page-bg{
    width: 85%;
  }
  .contact-page-heading-inner{
    width: 100%;
  }
  .contact-page-heading-img{
    width: 74%;
    top: -32px;
    display: flex;
    justify-content: end;
  }
  .contact-page-heading-img .pc{
    display: none;
  }
  .contact-page-heading-img .sp{
    display: block;
  }
  .contact-page-heading-inner h1{
    font-size: 24px;
    line-height: 44px;
    padding: 0 20px;
    left: 21px;
    top: 44px;
  }
  .contact-page-main-txt .sp{
    display: block;
  }
  .access-btn-wrap{
    margin-top: 60px;
  }
  .access-btn{
    width: 280px;
    height: 66px;
    padding: 0 30px;
  }
  .access-btn-wrap .sp{
    display: block;
  }
  .access-btn-wrap .pc{
    display: none;
  }
}