@charset "utf-8";

form.form {
  width: 85%;
  margin: 0 auto;
  text-align: left;
}
form.form p {
  font-size: 14px;
  line-height: 24px;
  padding-bottom: 15px;
  clear: both;
}
form.form p > label {
  width: 21%;
  margin-right: 15px;
  float: left;
  display: table;
}
form.form p.description > label,
form.form p.CampaignCode__c > label {
  width: auto;
  margin-right: 0;
  float: none;
}
form.form p.pd-checkbox span.value span {
  display: inline-block;
}
form.form .required label {
  padding-right: 45px;
/*  background: url(../images/icon_must.gif) right top no-repeat !important;
*/}
form.form textarea {
  margin-bottom: 15px;
  padding: 8px 10px;
  border: solid 1px #242413;
}
form.form input[type="text"],
form.form textarea {
  padding: 8px 10px;
  border: solid 1px #CCC;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 3px #EEE inset;
  -moz-box-shadow: 0 1px 3px #EEE inset;
  box-shadow: 0 1px 3px #EEE inset;
}
form.form input[type="submit"] {
  padding: 5px 20px;
  background: #256498;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  line-height: 27px;
  color: #FFF;
  display: inline-block;
}
form.form p.submit {
  margin: 0;
  text-align: center;
}
form.form span.description {
  display: block;
}
form.form .pre span.description {
  white-space: pre-wrap;
}
form.form .subscription.pre span.description {
  width: auto;
  height: 250px;
  padding: 10px;
  border: solid 1px #333;
  font-size: 13px;
  line-height: 1.5;
  overflow: auto;
  display: block;
}
form.form .pd-checkbox.labelNone > label {
  display: none;
}
form.form .pd-checkbox span label,
form.form .pd-radio span label {
  display: inline-block;
}
form.form .pd-checkbox.required span label,
form.form .pd-radio.required span label {
  padding-right: 15px;
  background: none !important;
}
form.form .pd-checkbox span label 
form.form .sizeSSS input[type="text"],
form.form .sizeSSS textarea {
  width: 20%;
}
form.form .sizeSS input[type="text"],
form.form .sizeSS textarea {
  width: 30%;
}
form.form .sizeS input[type="text"],
form.form .sizeS textarea {
  width: 40%;
}
form.form .sizeM input[type="text"],
form.form .sizeM textarea {
  width: 50%;
}
form.form .sizeMax input[type="text"],
form.form .sizeMax textarea {
  width: 100%;
  box-sizing: border-box;
}
form.form .sizeFull input[type="text"],
form.form .sizeFull textarea {
  width: 100%;
  box-sizing: border-box;
}
form.form a:link {
  color: #007FFF;
  text-decoration: underline;
}
form.form a:visited {
  color: #007FFF;
  text-decoration: underline;
}
form.form a:hover {
  color: #007FFF;
  text-decoration: none;
}
form.form a:active {
  color: #007FFF;
  text-decoration: none;
}
.errors,
.error {
  color: #F00;
}


form.form .confirm_button {
  padding: 5px 20px;
  background: #256498;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  line-height: 27px;
  color: #FFF;
  display: inline-block;
}

form.form .back_button {
  padding: 5px 20px;
  background: #FFFFFF;
  border: 1px solid #256498;
  border-radius: 3px;
  font-size: 14px;
  line-height: 27px;
  color: #256498;
  display: inline-block;
}

#ui-datepicker-div {
  padding: 5px 8px;
  background: #FFF;
  border: solid 1px #000;
  border-radius: 5px;
  display: none;
}
.ui-datepicker-prev {
  cursor: pointer;
}
.ui-datepicker-next {
  cursor: pointer;
  float: right;
}
.ui-datepicker-title {
  text-align: center;
  margin-bottom: 5px;
}
.ui-datepicker-month {
  margin-right: 5px;
}
.ui-datepicker-calendar {
  border: solid 1px #EEE;
  border-collapse: collapse;
}
.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
  padding: 3px 5px;
  border: solid 1px #EEE;
  text-align: center;
}
.ui-datepicker-calendar td {
  padding: 0;
}
.ui-datepicker-calendar td a {
  padding: 3px 5px;
  text-decoration: none;
  display: block;
}
.ui-datepicker-calendar td a:hover {
  background: #1f5683;
  color: #FFF;
}
.ui-datepicker-calendar th {
  background: #CCC;
  border-bottom: solid 1px #CCC;
}

/* add */
.form-kubun .value span{
  display:block;
}

.form-kubun .value {
  display:table;
}

#confirm_undefined{
  display:table;
}

#confirm_undefined > span{
  display:block;
}



/*～767px
---------------------------------*/
@media all and (max-width: 767px) {

  #form .container {
    width: auto;
  }
  form.form .subscription.pre span.description {
    width: 95%;
  }
  form.form .sizeSSS input[type="text"],
  form.form .sizeSSS textarea {
    width: 95%;
  }
  form.form .sizeSS input[type="text"],
  form.form .sizeSS itextarea {
    width: 95%;
  }
  form.form .sizeS input[type="text"],
  form.form .sizeS textarea {
    width: 95%;
  }
  form.form .sizeM input[type="text"],
  form.form .sizeMax input[type="text"],
  form.form .sizeM textarea,
  form.form .sizeMax textarea {
    width: 95%;
  }

  form.form{ width:90%;}
  form.form p > label{ width:auto;}
  form.form p span {
    width: 100%;
    display: block;
    clear:both;
  }
  form.form p span ~ br {
    display: none;
  }

}