/* SiteForm --------------------------------------------------------------- */

.sf_wrapper_pc {
  display: block;
}
.sf_wrapper_sp {
  display: none;
}

@media (max-width: 599px) {
  .sf_wrapper_pc {
    display: none;
  }
  .sf_wrapper_sp {
    display: block;
  }
  .sf_wrapper_sp #siteForm button {
    font-size: 20px;
  }
  .sf_wrapper_sp #siteForm td,
  .sf_wrapper_sp #siteForm th {
    padding: 0.5em;
  }
  .sf_wrapper_sp #siteForm th {
    font-size: 14px;
    width: 6em;
  }
  .sf_wrapper_sp #siteForm td {
    position: relative;
  }
  .sf_wrapper_sp #siteForm select {
    border: 1px solid #ccc;
    display: block;
    font-size: 16px;
  }

  #siteForm label {
    padding: 1em 0.5em;
    cursor: auto;
  }
}

#siteForm {
  margin: -15px;
  padding: 15px;
  background: #f1f8fd;
}

#siteForm > h2 {
  margin-top: 0;
  position: relative;
}

#siteForm > h2:after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    #02abeb,
    #02abeb 5px,
    #f1f8fd 5px,
    #f1f8fd 10px
  );
  position: absolute;
  bottom: 0;
  left: 0;
}

#siteForm table {
  border: 0;
  border-bottom: 2px solid #02abeb;
  background: #fff;
}

#siteForm td,
#siteForm th {
  padding: 1em;
  border: 0;
  box-sizing: border-box;
}

#siteForm th {
  width: 8em;
  color: #fff;
  font-weight: 400;
  border-top: 1px dotted #fff;
  background: #02abeb;
}

#siteForm th span {
  display: inline-block;
}

#siteForm td {
  border-top: 1px dotted #02abeb;
}

#siteForm tr:first-child td,
#siteForm tr:first-child th {
  border-top: 0;
}

#siteForm label {
  display: inline-block;
  width: 18%;
  margin: 5px 3px;
  padding: 0.5em 0.75em;
  border-radius: 5px;
  background: #eee;
  cursor: pointer;
}

#siteForm tr:nth-child(2) label {
  width: 26.5%;
}

#siteForm tr:nth-child(3) label,
#siteForm tr:nth-child(6) label {
  width: 43%;
}

#siteForm tr:nth-child(4) label,
#siteForm tr:nth-child(5) label {
  width: 93%;
}

#siteForm label:before {
  content: '\f10c';
  margin-right: 5px;
  color: #ccc;
  font-family: FontAwesome;
}

#siteForm label:hover {
  background: #f1f8fd;
}

#siteForm label.checked {
  background: #ffeaea;
}

#siteForm label.checked:before {
  content: '\f192';
  color: #f90;
}

#siteForm label > input {
  display: none;
}

#siteForm button {
  width: 100%;
  padding: 0.3em;
  color: #fff;
  font-size: 30px;
  border: 0;
  background: #f90;
  border-radius: 5px;
  box-shadow: 0 2px 0 #f90;
  outline: none;
  position: relative;
}

#siteForm button > i {
  margin-right: 0.5em;
  font-size: 34px;
}

#siteForm button:hover {
  box-shadow: 0 1px 0 #f90;
  top: 1px;
}
