.contactform dl {
  color: #333;
}

h3 {
    font-size: 22px;
    padding: 5px 20px;
    margin: 30px 0 20px;
    padding: 10px;
    background: #fff;
    border-left: #51a81e solid 3px;
    text-align: left;
}
.contactform dl dd {
  padding: 24px 0 22px 33%;
  border-bottom: 1px dashed #ccc;
  text-align: left;
  word-wrap: break-word;
}
.contactform dl dt {
  clear: left;
  float: left;
  width: 30%;
  font-weight: bold;
  text-align: left;
  padding: 22px 0;
}

.contactform dl dt .req,.contactform dl dt .opt {

    float: right;

}
.contactform span.req {

    background-color: #FC6774;
    color: #FFF;
    font-size: .8em;
    letter-spacing: .1em;
    padding: 3px 4px;
    vertical-align: middle;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    background-image: none;

}
.contactform span.opt {
  background-color: #9FCBDF;
  color: #FFF;
  font-size: .8em;
  letter-spacing: .1em;
  padding: 3px 4px;
  vertical-align: middle;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  background-image: none;
}
.contactform dl .mailcheck {
  clear: initial;
  float: none;
  width: 100%;
  font-weight: bold;
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px dashed #ccc;
}
.contactform span.post input {
  width: auto !important;
  margin-bottom: 6px;
}
.contactform input[type="text"],
.contactform input[type="submit"],
.contactform select{
  background: #fff;
  border: 2px solid #C7C7C7;
  border-radius: 5px;
  color: #0C2245;
  height: 30px;
  text-align: left;
  text-indent: 5px;
  vertical-align: middle;
  width: 80%;
  min-width: 20px;
  font-size: 14px;
}
.contactform .submit {
    margin: 20px 0;
    text-align: center;
}
.contactform input[type="submit"] {
  width: 48%;
  height: inherit;
  text-align: center;
  font-weight: normal;
  background: #FF6060;
  border: none;
  color: #fff;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 0.2em;
}

.privacy {
  font-size: 14px;
  margin: 0 0 20px 0;

}
.privacy a {
  color: #FC6774;
  font-size: 14px;
  
}
.lesson input{
  min-height: auto;
}

.attention{
  display: block;
  width: 84%;
  font-size: 80%;
  line-height: 1.7;
}

@media screen and (max-width: 820px) {

.contactbox {
  text-align: left;
}
.contactform dl dt {
  float: none;
  width: 100%;
  padding: 12px 0;
}
.contactform dl .mailcheck {
  float: none;
  padding: 12px 0;
  line-height: 1.3;
  font-size: 14px;
  color: #666;
}
.contactform dl dd {
  padding: 0px 0 22px 0;
}

  button, input, select, textarea,
  .contactform input[type="text"], .contactform input[type="submit"], .contactform select {
    width: 100%;
  }
  .lesson input{
      width: auto;
      min-height: auto;
  }
  .contactform dl dt .req, .contactform dl dt .opt {
    float: none;
  }
}

