/* ------------------------------
 width: all
------------------------------ */
header .wrapper .gnav ul li:nth-child(4) .mainmenu {
  color: #ff5152;
  border-bottom: 2px solid #ff5152;
  cursor: pointer;
}
header .spmenu .spwrapper ul li:nth-child(4) .mainmenu {
  color: #ff5152 !important;
}

main section.s01 {
  background-color: #f5f5f5;
  padding: 90px 0 130px;
}
main section.s01 .wrapper .t01 {
  text-align: center;
  font-size: 20px;
  line-height: 200%;
  font-weight: bold;
}
main section.s01 .wrapper .form {
  display: block;
  width: 840px;
  margin: 90px auto 0;
}
main section.s01 .wrapper .form dl + dl {
  margin-top: 35px;
}
main section.s01 .wrapper .form dl.error dd input,
main section.s01 .wrapper .form dl.error dd textarea,
main section.s01 .wrapper .form dl.error dd select {
  border: 1px solid #ff5152 !important;
}
main section.s01 .wrapper .form dl.error dd .caution {
  display: block;
}
main section.s01 .wrapper .form dl dt {
  font-size: 14px;
}
main section.s01 .wrapper .form dl dt span {
  color: #ff5152;
  padding-left: 5px;
}
main section.s01 .wrapper .form dl dd {
  margin-top: 10px;
  position: relative;
}
main section.s01 .wrapper .form dl dd.selectbox::after {
  content: "";
  display: block;
  width: 12px;
  height: 18px;
  position: absolute;
  top: 50%;
  margin-top: -9px;
  right: 20px;
  background-image: url(../../images/icon_arrow03.svg);
  background-size: auto 18px;
  background-position: center center;
  background-repeat: no-repeat;
}
main section.s01 .wrapper .form dl dd input[type=text] {
  width: 100%;
  display: block;
  font-size: 16px;
  line-height: 16px;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #fff;
  outline: none;
}
main section.s01 .wrapper .form dl dd select {
  width: 100%;
  display: block;
  font-size: 16px;
  line-height: 16px;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #fff;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
main section.s01 .wrapper .form dl dd textarea {
  width: 100% !important;
  height: 240px !important;
  display: block !important;
  font-size: 16px;
  line-height: 180%;
  padding: 10px 20px;
  border: 1px solid #fff;
  outline: none;
}



main section.s01 .wrapper .form dl dd input[type=email], 
main section.s01 .wrapper .form dl dd input[type=tel] {
     width: 100%;
  display: block;
  font-size: 16px;
  line-height: 16px;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #fff;
  outline: none;
  
  }

main section.s01 .wrapper .form dl dd .caution {
  font-size: 14px;
  color: #ff5152;
  position: absolute;
  bottom: -30px;
  left: 0;
  display: none;
}
main section.s01 .wrapper .box01 {
  width: 840px;
  margin: 85px auto 0;
  background-color: #fff;
  padding: 30px 0 35px;
  border: 1px solid #fff;
}
main section.s01 .wrapper .box01.error {
  border: 1px solid #ff5152;
}
main section.s01 .wrapper .box01.error .caution {
  display: block !important;
}
main section.s01 .wrapper .box01.error label input {
  border: 1px solid #ff5152 !important;
}
main section.s01 .wrapper .box01 .t01 {
  font-size: 14px;
}
main section.s01 .wrapper .box01 .t01 span {
  color: #ff5152;
  padding-left: 5px;
}
main section.s01 .wrapper .box01 .agree {
  text-align: center;
  margin-top: 30px;
}
main section.s01 .wrapper .box01 .agree label {
  display: inline-block;
  vertical-align: top;
  line-height: 20px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
main section.s01 .wrapper .box01 .agree label input {
  width: 20px;
  height: 20px;
  vertical-align: top;
  margin-right: 10px;
  position: relative;
}
main section.s01 .wrapper .box01 .mfp_err {
  text-align: center;
}
main section.s01 .wrapper .box01 .t02 {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}
main section.s01 .wrapper .box01 .t02 a {
  font-size: 14px;
  color: #000;
  display: inline-block;
  vertical-align: top;
  margin-right: 15px;
}
main section.s01 .wrapper .submitbtn {
  width: 240px;
  display: block;
  border: 1px solid #ff5152;
  font-size: 12px;
  line-height: 12px;
  font-weight: bold;
  padding: 18px 0;
  margin: 110px auto 0;
  border-radius: 50px;
  color: #fff;
  background-color: #ff5152;
  background-image: url(../../images/icon_arrow0201.svg);
  background-size: 18.5px auto;
  background-position: center right 20px;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
main section.s01 .wrapper .submitbtn:hover {
  color: #ff5152;
  background-color: #fff;
  background-image: url(../../images/icon_arrow0202.svg);
}

footer {
  margin-top: 0;
}
footer .contactbox {
  display: none;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main section.s01 {
    background-color: #f5f5f5;
    padding: 50px 20px 110px;
  }
  main section.s01 .wrapper .t01 {
    text-align: center;
    font-size: 15px;
    line-height: 200%;
    font-weight: bold;
  }
  main section.s01 .wrapper .form {
    display: block;
    width: 100%;
    margin: 90px auto 0;
  }
  main section.s01 .wrapper .form dl + dl {
    margin-top: 25px;
  }
  main section.s01 .wrapper .form dl.error dd input,
  main section.s01 .wrapper .form dl.error dd textarea,
  main section.s01 .wrapper .form dl.error dd select {
    border: 1px solid #ff5152 !important;
  }
  main section.s01 .wrapper .form dl.error dd .caution {
    display: block;
  }
  main section.s01 .wrapper .form dl dt {
    font-size: 12px;
  }
  main section.s01 .wrapper .form dl dt span {
    color: #ff5152;
    padding-left: 5px;
  }
  main section.s01 .wrapper .form dl dd {
    margin-top: 10px;
    position: relative;
  }
  main section.s01 .wrapper .form dl dd.selectbox::after {
    content: "";
    display: block;
    width: 12px;
    height: 18px;
    position: absolute;
    top: 50%;
    margin-top: -9px;
    right: 10px;
    background-image: url(../../images/icon_arrow03.svg);
    background-size: auto 18px;
    background-position: center center;
    background-repeat: no-repeat;
  }
  main section.s01 .wrapper .form dl dd input[type=text] {
    width: 100%;
    display: block;
    font-size: 16px;
    line-height: 16px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #fff;
    outline: none;
  }
  main section.s01 .wrapper .form dl dd select {
    width: 100%;
    display: block;
    font-size: 16px;
    line-height: 16px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #fff;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
  }
  main section.s01 .wrapper .form dl dd textarea {
    width: 100% !important;
    height: 160px !important;
    display: block !important;
    font-size: 16px;
    line-height: 180%;
    padding: 10px 15px;
    border: 1px solid #fff;
    outline: none;
  }
  main section.s01 .wrapper .form dl dd .caution {
    font-size: 12px;
    color: #ff5152;
    position: absolute;
    bottom: -25px;
    left: 0;
    display: none;
  }
  main section.s01 .wrapper .box01 {
    width: 100%;
    margin: 30px auto 0;
    background-color: #fff;
    padding: 25px 0 25px;
    border: 1px solid #fff;
  }
  main section.s01 .wrapper .box01.error {
    border: 1px solid #ff5152;
  }
  main section.s01 .wrapper .box01.error .caution {
    display: block !important;
  }
  main section.s01 .wrapper .box01.error label input {
    border: 1px solid #ff5152 !important;
  }
  main section.s01 .wrapper .box01 .t01 {
    font-size: 12px;
  }
  main section.s01 .wrapper .box01 .t01 span {
    color: #ff5152;
    padding-left: 5px;
  }
  main section.s01 .wrapper .box01 .agree {
    text-align: center;
    margin-top: 15px;
  }
  main section.s01 .wrapper .box01 .agree label {
    display: inline-block;
    vertical-align: top;
    line-height: 15px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
  }
  main section.s01 .wrapper .box01 .agree label input {
    width: 15px;
    height: 15px;
    vertical-align: top;
    margin-right: 10px;
    position: relative;
  }
  main section.s01 .wrapper .box01 .caution {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #ff5152;
    display: none;
  }
  main section.s01 .wrapper .box01 .t02 {
    text-align: center;
    margin-top: 7px;
    font-size: 10px;
  }
  main section.s01 .wrapper .box01 .t02 a {
    font-size: 10px;
    color: #000;
    display: inline-block;
    vertical-align: top;
    margin-right: 6px;
  }
  main section.s01 .wrapper .submitbtn {
    width: 100px;
    display: block;
    border: 1px solid #ff5152;
    font-size: 11px;
    line-height: 12px;
    font-weight: bold;
    padding: 9px 10px 9px 0;
    margin: 35px auto 0;
    border-radius: 50px;
    color: #fff;
    background-color: #ff5152;
    background-image: url(../../images/icon_arrow0203.svg);
    background-size: 12px auto;
    background-position: center right 5px;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
  }
  main section.s01 .wrapper .submitbtn:hover {
    color: #fff;
    background-color: #ff5152;
    background-image: url(../../images/icon_arrow0203.svg);
  }
  footer {
    margin-top: 0;
  }
  footer .contactbox {
    display: none;
  }
}