/* 
  20201130 WEBサイトに埋め込んだフォーム用
*/

/* contact form */　
.hs-form-inquiry  {

}
.hs-form-inquiry article.wrapper {
  padding: 0 20px !important;
}
.hs-form-inquiry p.con_attention {
    margin: 0 auto 30px;
    width: 500px;
}
.hbspt-form{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 0;

}
.hbspt-form  .field {
    margin-bottom: 18px;
}
  .hbspt-form fieldset:nth-child(8){
    margin-bottom: 50px; 
}
  .hbspt-form fieldset:nth-child(4){
        padding-top: 50px;
    }


  .hbspt-form fieldset > div:nth-child(1){
        padding-right: 0 !important;
  }

  .hbspt-form fieldset > div:nth-child(2){
        padding-left: 10px !important;
    padding-right: 0 !important;
  }
.hs_error_rollup{
    
    margin-top: 30px;
}
.hs_error_rollup .hs-main-font-element{
    font-weight: bold;
    color: #f00;
}
@media screen and (max-width:480px){
  .hbspt-form fieldset > div:nth-child(2){
        padding-left: 0px !important;
    padding-right: 0 !important;
  }

}
@media screen and (min-width:500px){
  .hbspt-form .hs-form{
        width: 500px;
      margin: 0 auto;
  }
}
.hbspt-form label{
      font-size: 14px;
    color: #33475b;
    display: block;
    float: none;
    width: auto;
    font-weight: 500;
    text-align: left;
    line-height: 20px;
    padding-top: 0;
    margin-bottom: 4px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.hbspt-form textarea{
  min-height: 4em;
}
.hbspt-form textarea,
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="number"],
.hbspt-form input[type="tel"],
.hbspt-form select
{
  width: 100% !important;
      border-radius: 0;
    background-color: #f5f8fa;
    display: inline-block;
    max-width: 500px;
    height: 40px;
    padding: 9px 10px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    color: #33475b;
    border: 1px solid #cbd6e2;
}
.hbspt-form div.input{
      margin-right: 0px !important;
}
.hs-richtext h2{
  font-size: 17px;
    margin: 50px 0 30px;
    border-bottom: solid 1px #333;
}
.hbspt-form .actions {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 17px 0px;
}
.hs-button{
    background: #e81818;
    border-color: #e81818;
    color: #ffffff;
    font-size: 12px;
    font-family: arial, helvetica, sans-serif;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-clip: padding-box;
}
.hs-button {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    line-height: 12px;
    position: relative;
    text-align: center;
    color: #fff;
    border-style: solid;
    border-width: 1px;
    padding: 12px 24px;
}
.hbspt-form label .hs-form-required,
.hbspt-form .hs-error-msg{
      color: red;
}
  .hbspt-form .hs_fit_year_c .input{
    position:relative;
  }
  .hbspt-form .hs_fit_year_c input{
    width:50% !important;
  }
  .hbspt-form .hs_fit_year_c .input:after{
    position: absolute;
    top: 10px;
    content: "年（西暦）";
    margin-left: 0.5em;
  }


  .privacypolicy-box{
    width: 100%;
    overflow: auto;
    height: 300px;
    padding: 20px 10px;
    border: solid 1px #ccc;
    background-color: #f5f8fa;
    margin-bottom: 20px;
}
  .privacypolicy-box h2{
    margin-top:0px;
  }


@media only screen and (min-width:768px){
  footer .fnav {
    background: none; /* TEST */
}
  .hbspt-form fieldset{
    max-width: none !important;
    clear: both;
  }
  .hbspt-form fieldset > div:nth-child(1){
        padding-right: 0 !important;
  }
  .hbspt-form fieldset > div:nth-child(2){
        padding-left: 10px !important;
    padding-right: 0 !important;
  }
.hbspt-form{
    /*display: flex;
    justify-content: center;*/
  }
  .hbspt-form .hs-form{
    margin: 0 auto;
    width: 500px;
  }
.hbspt-form  .field {

  }
  .form-columns-2:nth-child(1){
    
  }
 .hbspt-form fieldset.form-columns-2{
    width: 500px;
    /*float: left;*/
    clear:none !important;
  }
  body form.hbspt-form fieldset .hbspt-form-field {
    width: 500px;
}
.hbspt-form .hs-fieldtype-select {
  width :50%;
  }
  .hbspt-form .hs-lastname ,
  .hbspt-form .hs-zip ,
    .hbspt-form .hs-state_select ,
    .hbspt-form .hs-city  ,
    .hbspt-form .hs_age ,
    .hbspt-form .hs_numberofpeople ,
    .hbspt-form .hs_househod_age ,
    .hbspt-form .hs_num_hzouseholds,
    .hbspt-form .hs_fit_year_c input
  {
   width: 250px !important;
  }
  .hbspt-form .hs_fit_year_c .input{
    position:relative;
  }
  .hbspt-form .hs_fit_year_c .input:after{
    position: absolute;
    top: 10px;
    content: "年（西暦）";
    margin-left: 0.5em;
  }

  .hbspt-form .hs-zip{
    clear:both;
  }
  .hbspt-form .hs_fit_year_c,
  .hbspt-form .hs_er_plan2,
  .hbspt-form .hs_budget,
  .hbspt-form .hs_appeal_bat_c,
  .hbspt-form .hs_purchase_c,
  .hbspt-form .hs_time_c{
    width:50%;
  }
  
  .hbspt-form .hs-state{
       width: 25% !important;
  }
  .hbspths-form .hs-address{
        width: 42%;
  }
  .hbspt-form .hs-email{

  }
  .hbspt-form .hs-message{
        width: 100% !important;
  }
  .hs-error-msg{
    color: red !important;
  }
  .hs-richtext h2{
  font-size: 22px;
}

  
.hbspt-form label .hs-form-required{

  }
.hbspt-form label{

  }
.hbspt-form textarea{
max-width: 500px;
  }
.hbspt-form textarea,
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"]
{
      border-radius: 0;
  }
.hs-richtext {

  }
.hbspt-form .actions {

  }
.hs-button{

  }
.hs-button {

  
}
  
  .privacypolicy-box{
    width: 500px;
    height: 280px;
    padding: 20px 20px;
  }
  
  
}
@media only screen and (min-width:769px){
  .hbspt-form .hs-state {
    width: 15% !important;
}
  .hbspt-form .hs-fieldtype-select {
    width: 47%;
}
  .hbspt-form .hs-zip {
    /*width: 15% !important;*/
    clear: both;
}
  .hbspt-form .hs-email,
  .hbspt-form .hs-phone{

  }
  .hbspt-form .hs-city{
        /*width: 25% !important;*/
  }
  .hbspt-form .hs-address{
        /*width: 60% !important;*/
  }
    .hbspt-form .hs-address input{
      width: 100% !important;
    max-width: none;
  }

  
}
/* 
  // 20201130 edit form layout
*/

