﻿/*contact.css*/
.contact-main a, .contact-main button, .contact-main input[type="submit"]{
  transition: .3s;
  -webkit-transition: .3s;
}
.contact-main .sp-only{
  display: none !important;
}

/*header start*/
/*header end*/

.contact-main{
  width:1000px;
  margin:0 auto 40px;
  position:relative;
}

.contact-msg{
  font-size:18px;
  text-align:center;
  line-height:1.8;
  margin-top: 1em;
  margin-bottom: 1em;
}
.tel-area{
  background:#4ba18f;
  display:flex;
  display:-webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items:center;
  -webkit-align-items:center;
  padding:10px 0;
}
.tel-area__title{
  color:#fff;
  font-size:23px;
}
.tel-area__biz-hours{
  color:#fff;
  font-size:14px;
  margin:0 30px;
}
.tel-area__tel-btn{
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  position: relative;
  height: 52px;
  padding: 0 54px 0;
  border-radius: 35px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 3px 0 rgb(0 0 0 / 30%);
  line-height: 1.4;
  color: #00A08E;
  background: #fff;
  font-family: "Montserrat";
  font-weight:bold;
  font-size:20px;
}
.tel-area__tel-btn span:hover{
  opacity:0.7;
}
.tel-area__tel-btn span:before{
  content:"";
  display:inline-block;
  width:18px;
  height:18px;
  background:url(https://mercart.jp/cms/mercart/img/common/icon-tel-grn.svg) no-repeat center;
  background-size:contain;
  margin-right: 8px;
}
.tel-area__tel-btn span:after{
  position: absolute;
  display:block;
  content:"";
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
}
.lp-form .hs-form{
  border-collapse: collapse;
  border-spacing: 0;
  width:100%;
  margin:35px 0;
  border-top:solid 1px #b5b5b5;
  line-height:1.2;
}
.lp-form .hs-form-field label[id*="label-"], .lp-form .hs-form-field:not(.hs-privacy_agree) .input{
  border-bottom:solid 1px #b5b5b5;
  display: flex;
  align-items: center;
}
.lp-form .hs-form-field{
  display: flex;
  position:relative;

}
.lp-form .hs-form-field label[id*="label-"] {
  background:#e5e5e5;
  width:30%;
  font-size:20px;
  font-weight: bold;
  text-align:left;
  padding:0 30px;
  
}
.lp-form *:not(.hs-privacy_agree) .hs-form-required{
  font-size:0;
  color:#fff;
  background:#C71749;
  font-weight:normal;
  padding:3px 10px;
  border-radius:20px;
  margin: 0 0 0 auto;
}
.lp-form .hs-form-required:after{
  content:"必須";
  font-size:calc(60/100 * 20px);
}
.lp-form .hs-form-field:not(.hs-privacy_agree) .input {
  background:#f7f6f6;
  padding:35px;
  font-size:18px;
  width: 70%;
}
.lp-form .hs-form-field .input input[type="text"], .lp-form .hs-form-field .input input[type="tel"], .lp-form .hs-form-field .input input[type="number"], .lp-form .hs-form-field .input input[type="email"], .lp-form .hs-form-field .input textarea{
  width:96%;
  border:solid 1px #999999;
  font-size:18px;
  padding:8px 6px;
  border-radius:6px;
}
.lp-form .hs-form-field .input textarea{
  height:6em;
}
::placeholder{
  color:#9e9e9e;
}
.lp-form .hs-form-booleancheckbox{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 0 25px;
  font-weight: bold;
  font-size: min(calc(16 / 375 * 100vw), 20px);
}
.lp-form .hs-form-field.hs-privacy_agree .input{
  width: 100%;
  padding:30px 0 0px;
}
.lp-form .hs-form .hs-input[id*="privacy_agree"]{
  position: absolute;
  opacity: 0;
  appearance: none;
}
.lp-form .hs-form label[for*="privacy_agree"]{
  display: flex;
  position: relative;
  gap:10px;
  cursor: pointer;
}
.lp-form .hs-form label[for*="privacy_agree"] .hs-form-required{
  display: none;
}
.lp-form .hs-form label[for*="privacy_agree"]:before{
  content: "";
  display: block;
  width: min(calc(20 / 375 * 100vw), 24px);
  height: min(calc(20 / 375 * 100vw), 24px);
  border: 1px solid #999999;
  border-radius: 4px;
  background: #fff;
}
.lp-form .hs-form label[for*="privacy_agree"]:has(input[type="checkbox"]:checked):before{
  border-color: #999999;
  background: #fff;
}
.lp-form .hs-form label[for*="privacy_agree"]:has(input[type="checkbox"]:checked):after{
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: min(calc(8 / 500 * 100vw), 8px);
  height: min(calc(14 / 500 * 100vw), 14px);
  border-right: min(calc(3 / 500 * 100vw), 3px) solid #C71749;
  border-bottom: min(calc(3 / 500 * 100vw), 3px) solid #C71749;
  transform: rotate(45deg);
}
.lp-form .hs-form label[for*="privacy_agree"] .hs-form-required{
  display: none;
}
.lp-form .hs_error_rollup{
  display: none !important;
}
.lp-form .hs-submit{
  display: flex;
  justify-content: center;
}
.lp-form .hs-submit button[type="submit"], .lp-form .hs-submit input[type="submit"]{
  display: block;
  position: relative;
  width:400px;
  padding: 25px 0;
  border-radius: 40px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 rgb(0 0 0 / 25%);
  background: linear-gradient(90deg, #00a362 0%, #007fa6 100%);
  border:none;
  outline:none;
  cursor:pointer;
}
.lp-form .hs-submit button[type="submit"]:hover, .lp-form .hs-submit input[type="submit"]:hover{
  opacity:0.9;
}
.lp-form .hs-submit button[type="submit"][disabled], .lp-form .hs-submit input[type="submit"][disabled]{
  opacity:0.5;
  pointer-events:none;
}
.lp-form .hs-error-msg{
  position: absolute;
  background: #fcc;
  padding:.2em .5em;
  color: black;
  top: 0em;
  right: 4.5em;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
}
.lp-form .hs_privacy_agree .inputs-list{
  padding-left: 0;
}
.lp-form .hs-form .hs_privacy_agree .hs-error-msg{
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  top: -0.1em !important;
}
.lp-form .hs-error-msg:after{
  content: "　";
  position: absolute;
  display: inline-block;
  border-width: 6px;
  border-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-top-color: #fcc;
  bottom: -10px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
  height: 1px;
  width: 1px;
}
.lp-form .hs-form-loader{
  filter: invert(1);
}
.lp-form .hs-form input.error {
  background-color: #ffeaea;
}
@media screen and (max-width: 1024px) {
  .main{
    width:1000px;
  }
}
@media screen and (min-width: 600px){
  .contact-main .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 599px) {
  html{
    font-size: 62.5%
  }
  .main{
    width:100%;
  }
  .contact-main .pc-only{
    display: none !important;
  }
  .contact-main{
    width:100%;
  }
  .contact-msg {
    width: calc(100% - 16px - 16px);
    margin: 18px auto;
    font-size: 1.4rem;
    text-align: left;
  }
  .tel-area{
    width: calc(100% - 16px - 16px);
    margin:0 auto;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    padding:16px 0;
  }
  .tel-area__title{
    font-size:1.8rem;
    margin:0 0 10px;
  }
  .tel-area__biz-hours{
    margin:0 0 11px;
  }
  .lp-form .hs-form{
    width: calc(100% - 16px - 16px);
    margin:17px auto;
    display:flex;
    flex-wrap: wrap;
  }
  .lp-form .hs-form-field {
    flex-direction: column;
    width: 100%;
  }
  .lp-form .hs-form-field label[id*="label-"]{
    width: 100%;
    font-size: 1.6rem;
    padding: 8px 10px;
  }
  .lp-form .hs-form-field:not(.hs-privacy_agree) .input{
    width: 100%;
    padding: 20px 10px;
    font-size: 1.4rem;
  }
  .lp-form .hs-form-field .input input[type="text"], .lp-form .hs-form-field .input input[type="tel"], .lp-form .hs-form-field .input input[type="number"], .lp-form .hs-form-field .input input[type="email"], .lp-form .hs-form-field .input textarea{
    width: calc(100% - 10px - 10px);
    font-size: 1.4rem;
  }
  .lp-form .hs-submit{
    width: 100%;
  }
  .lp-form .hs-submit button[type="submit"], .lp-form .hs-submit input[type="submit"]{
    width: 300px;
    padding: 18px 0;
    margin: 0px auto;
    font-size: 1.7rem;
  }
  .lp-form .hs-error-msg{
    top:2em;
  }
  .lp-form .hs-form .hs_privacy_agree .hs-error-msg {
    top: 0;
    width: 74%;
  }
}