/*-----------------

問い合わせ・エントリーフォーム

-----------------*/
/*
.req{
    color: #F00303;
}
*/
.boxstep {
  max-width: 800px;
  margin: 0 auto 80px;
    width: 100%;
}
.boxstep ul {
  display: flex;
  justify-content: space-between;
}
.boxstep ul li {
  position: relative;
  text-align: center;
  background: #D3D3D3;
    width: 31%;
    color: #8D8D8D;
    font-size: 2rem;;
}
.boxstep ul li:nth-child(n+2) {
  margin-left: 2.5%;
}
.boxstep ul li:nth-child(n+2):before {
  content: "";
  position: absolute;
  top: 50%;
  border: 0 solid #D3D3D3;
  border-width: 25px 20px;
  width: 0;
  height: 0;
  left: -20px;
  border-left-color: transparent;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.boxstep ul li span {
  position: relative;
  line-height: 50px;
  display: block;
    font-weight: 600;
    
}
.boxstep ul li span:after {
  content: "";
  position: absolute;
  top: 50%;
  border: 0 solid #D3D3D3;
    border-width: 25px 20px;
  border-width: 24.9px 20px;
  width: 0;
  height: 0;
  left: 100%;
  border-color: transparent;
  border-left-color: #D3D3D3;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.boxstep ul li.active span:after{
    border-left-color: #D3D3D3;
}
.boxstep ul li.active {
  background: #1D1D1D;
}
.boxstep2 ul li:nth-child(2):before{
    border: 0 solid #1D1D1D;
    border-width: 25px 20px;
  border-left-color: transparent;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.boxstep3 ul li:nth-child(3):before{
    border: 0 solid #1D1D1D;
    border-width: 25px 20px;
  border-left-color: transparent;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.boxstep ul li.active span {
  color: #fff;
}

.boxstep ul li.active span:after {
  border-left-color: #1D1D1D;
}
#form{
    color: #fff;
    background: #3faadb;
}
.form{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}
.form dt,
.form dd{
    padding: 40px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #9BC2E5;
    font-size: 1.5rem;
}
.form dt:first-of-type,
.form dd:first-of-type{
     border-top: 1px solid #9BC2E5;
}
.form dt{
    width: 25%;
}
.form dt{
    font-weight: 600;
}
.form dd{
    width: 75%;
}
.form .req{
    font-weight: 500;
    padding-left: 10px;
    font-size: 80%;
}
#form input[type="text"],
#form input[type="email"],
#form input[type="tel"],
#form input[type="date"],
#form input[type="number"],
#form textarea{
    border-radius: 4px;
    padding: 10px 10px;
    line-height: 1;
    background: #F5F5F5;
    border: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5rem;
}
#form input[type="radio"]{
    margin-bottom: 3px;
    margin-left: 12px;
}
#form input[type="number"]{
    width: 80%;
}
.submitarea{
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.submitarea .btn{
    margin: 0 10px;
}
.wpcf7-spinner{
    display: none;
}
#submit{
   text-align: center;
    cursor: pointer;
    transition: .4s;
}
#back{
    width: 100%;
    max-width: 530px;
    margin: 10px auto 0;
    border: solid #020F3B 1px;
    padding: 15px 0;
    display: block;
    text-align: center;
    font-size: 20px;
    background: none;
    cursor: pointer;
}
.page-confirm .prev{
    color: #003c7a;
    border:solid 1px #003c7a;
    background: #fff;
    transition:  .4s;
    cursor: pointer;
}
.page-confirm .prev:hover{
    background:#003c7a;
    color:  #fff;
}
.page-thanks p{
    text-align: center;
    margin-bottom: 15px;
}
.checkbtn{
    text-align: center;
    margin-top: 30px;
    font-size: 1.6rem;
}
.wpcf7-list-item{
    margin: 0;
}
.checkbtn a{
    text-decoration: underline;
}


@media screen and (max-width: 1024px) {
    .firstview{
        height: 50vh;
    }
    .boxstep{
        padding: 0 30px;
    }
}
@media screen and (max-width: 800px) {
    .page-content{
        padding: 60px 0;
    }
    .block{
        padding: 60px 0;
    }
    .firstview{
        width: 100%;
        height: auto;
    }
    .firstview .inner{
        height: auto;
    }
    .firstview .pagettl,
    .page-thanks .pagettl{
        font-size: 30px;
        position: relative;
        left: 0;
        top: auto;
        padding: 60px 0 30px;
        line-height: 1.4;
    }
    #form .firstview p{
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.6;
    }
    .firstview .pagettl .ja-ttl{
        font-size: 16px;
    }
    #page-under .sec-ttl{
        font-size: 30px;
        line-height: 1.4;
        padding-top:  35px;
        margin-bottom: 40px;
    }
    .sec-ttl span{
        font-size: 16px;
    }
    .sec-ttl::before{
        width: 55px;
        height: 55px;
    }
    .form dt,.form dd{
        width: 100%;
    }
    .form dt{
        border: none;
        padding:20px 10px 5px; 
    }
    .form dd:first-of-type{
        border-top: none;
    }
    .form dd{
        padding: 0 10px 25px;
    }
    .boxstep{
        margin-bottom: 40px;
    }
    .submitarea{
        margin-top: 40px;
    }
    .boxstep ul li{
        width: 30%;
        font-size: 1.6rem;
    }
    
}
@media screen and (max-width: 750px) {
    #page-under{
        margin-top: 80px;
    }
    
}
@media screen and (max-width: 425px) {
    .boxstep{
        padding: 0 25px 0 0;
    }
    .boxstep ul li{
        width: 27.5%;
    }
    .boxstep ul li span{
        line-height: 40px;
    }
    .boxstep ul li:nth-child(n+2):before{
        border-width: 20px 20px;
    }
    .boxstep ul li span:after{
        border-width: 20.9px 20px;
    }
    .form dt{
        padding:15px 10px 5px; 
    }
    .form dd{
        padding: 0 10px 22px;
    }
    .submitarea{
        margin-top: 30px;
    }
    .checkbtn{
        text-align: center;
        margin-top: 20px;
        font-size: 1.4rem;
    }

    .form dt, .form dd{
        font-size: 1.5rem;
    }
    #form input[type="text"],
    #form input[type="email"],
    #form input[type="tel"],
    #form input[type="date"],
    #form input[type="number"],
    #form textarea{
    font-size: 1.4rem;
    }

    
}