#contact .side-cart{
  display: none;
}
#contact article{
  padding-bottom: 90px;
}
#contact article .container{
  max-width: 974px;
}
#contact #left-text{
  display: none;
}
#contact article section{
  padding-top: 65px; 
  padding-bottom: 0;
}
#contact article .contact-header .container{
  padding-bottom: 20px;
  border-bottom: 2px dotted var(--font-color-text);
}
#contact article .contact-header h1{
  color: var(--main-color);
  margin-bottom: 40px;
  line-height: 0.8;
}
#contact article .contact-header h1 .en{
  font-size: 8.0rem;
  font-weight: 600;
  line-height: 0.8;
  margin-right: 30px;
  font-family: var(--font-family-en);
  letter-spacing: 0.0112em;
}
#contact article .contact-header h1 .ja{
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 2px;
}
#contact article .contact-form dl{
  margin: 0;
}
#contact article .contact-form dl dt{
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 2.1px;
  margin-bottom: 20px;
}
#contact article .contact-form dl dt .require{
  color: var(--main-color);
  font-size: 1.5rem;
  margin-left: 5px;
  vertical-align: super;
}
#contact article .contact-form dl dd{
  margin: 0 0 65px;
  font-size: 1.8rem;
}
#contact article .contact-form dl dd input[type='text'],
#contact article .contact-form dl dd input[type='email'],
#contact article .contact-form dl dd input[type='tel'],
#contact article .contact-form dl dd textarea{
  background: #ECECEC;
  border-radius: 25px;
  padding:15px 20px;
  border:none;
  font-size: 1.8rem;
  line-height: 1.4;
}
#contact article .contact-form dl dd input::placeholder,
#contact article .contact-form dl dd textarea::placeholder{
  color: var(--sub-color03);
  font-weight: 400;
}

#contact article .contact-form dl dd input[type='text']{
  max-width: 223px;
  width: 25%;
}
#contact article .contact-form dl dd [data-name='company_name'] input[type='text'],
#contact article .contact-form dl dd [data-name='company_department'] input[type='text']{
  max-width: 467px;
  width: 50%;
}
#contact article .contact-form dl dd input[type='email'],#contact article .contact-form dl dd input[type='tel'] {
  max-width: 467px;
  width: 50%;
}
#contact article .contact-form dl dd textarea{
  width: 100%;
}
#contact article .contact-form dl dd p span:nth-of-type(2):has(input[type='text']){
  margin-left: 20px;
}
#contact article .contact-form p.policy-message{
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 20px;
}
#contact article .contact-form p.policy-message a{
  position: relative;
}
#contact article .contact-form p.policy-message a::after{
  content: '';
  width: 100%;
  height: 1px;
  background: var(--font-color-text);
  position: absolute;
  bottom: -3px;
  left: 0;
}
#contact article .contact-form input[type='submit']{
  display: block;
  margin: 0 auto;
  border-radius: 44px;
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  background: var(--sub-color03);
  padding: 12px 35px;
  box-shadow: none;
  border: none;
  width: 238px;
  font-family: var(--font-family);
  letter-spacing: 0.16em;
}
#contact article .contact-form input[type='submit']:hover{
  cursor: pointer;
}
#contact article .contact-form input[type='submit']:active{
  background: var(--main-color);
  color: #fff;
}
#contact article .contact-form .wpcf7-radio{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}
#contact article .contact-form .wpcf7-radio .wpcf7-list-item{
  margin-left: 0;
  line-height: 1;
}
@media screen and (max-width: 1023px){
  #contact article{
    width: 90%;
    margin: 0 auto;
  }
  #contact article .contact-header{
    padding-top: 58px;
    padding-bottom: 0;
  }
  #contact article .contact-header .container{
    padding-bottom: 0;
    border-bottom: none;
  }
  #contact article .contact-header h1{
    margin-bottom: 30px;
  }
  #contact article .contact-header h1 .en{
    font-size: 5.6rem;
  }
  #contact article .contact-header h1 .ja{
    font-size: 1.6rem;
  }
  #contact article .contact-header p{
    font-size: 1.5rem;
    padding-bottom: 50px;
    border-bottom: 2px dotted var(--font-color-text);
    line-height: 1.8;
  }
  #contact article .contact-form{
    padding-top: 60px;
  }
  #contact article .contact-form dl dd{
    margin-bottom: 60px;
  }
  #contact article .contact-form dl dt{
    font-size: 1.9rem;
  }
  #contact article .contact-form dl dd input[type='text'],
  #contact article .contact-form dl dd [data-name='company_name'] input[type='text'],
  #contact article .contact-form dl dd [data-name='company_department'] input[type='text']{
    width: calc((100% -  20px) / 2);
    max-width: 100%;
  }
  #contact article .contact-form dl dd input[type='email'],#contact article .contact-form dl dd input[type='tel'] {
    width: 100%;
    max-width: 100%;
  }
  #contact article .contact-form .wpcf7-radio .wpcf7-list-item{
    width: calc((100% -  80px) / 3);
  }
}
@media screen and (max-width: 767px){
  #contact article{
    width: 100%;
  }
  #contact article .contact-header h1{
    margin-bottom: 25px;
  }
  #contact article .contact-header h1 .en{
    font-size: 5.0rem;
    display: block;
    margin-bottom: 20px;
  }
  #contact article .contact-header h1 .ja{
    font-size: 1.5rem;
    display: block;
  }
  #contact article .contact-header p{
    padding-bottom: 35px;
    border-bottom: 2px dotted var(--font-color-text);
  }
  #contact article .contact-header .container{
    border:none;
    padding-bottom:0 ;
  }
  #contact article .contact-form{
    padding-top: 50px;
  }
  #contact article .contact-form .wpcf7-radio{
    flex-direction: column ;
    gap: 18px;
  }
  #contact article .contact-form dl dd .wpcf7-list-item{
    display: block;
  }
  #contact article .contact-form dl dd input[type='text']{
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  #contact article .contact-form dl dd p span:nth-of-type(2):has(input[type='text']){
    margin:0;
  }
  #contact article .contact-form dl dt{
    font-size: 1.9rem;
    margin-bottom: 25px;
  }
  #contact article .contact-form dl dd{
    margin-bottom: 50px;
  }
  #contact article .contact-form dl dd [data-name='company_name'] input[type='text'], #contact article .contact-form dl dd [data-name='company_department'] input[type='text'],#contact article .contact-form dl dd input[type='email'], #contact article .contact-form dl dd input[type='tel']{
    width: 100%;
    max-width: 100%;
  }
  #contact article .contact-form .wpcf7-radio .wpcf7-list-item{
    width: 100%;
  }
}