dl:nth-child(1) {
    border-top: 1px solid #ccc;
}
dl {
    display: block;
    margin: 0;
}
dl dt {
    font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
    color: #4a4a4a;
    padding: 15px 15px 3px 15px;
}
dl dd {
    background: #fff;
    position: relative;
    padding: 0 15px 15px 15px;
    border-bottom: 1px solid #ccc;
    margin: 0;
}
@media screen and (min-width:1000px) {
dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}
dl dt {
    width: 25%;
    box-sizing: border-box;
    margin: 0;
    padding: 15px;
    min-height: 66px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
    color: #4a4a4a;
}
dl dd {
    width: 75%;
    box-sizing: border-box;
    margin: 0;
    background: #fff;
    position: relative;
    padding: 15px;
    min-height: 66px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
}
}
select + select,
input + input {
    margin-left: 10px;
}

dd select,
input[type="password"],
input[type="email"], 
input[type="number"],
input[type="text"] {
    border: 1px solid #9a9a9a;
    background-color: #ebebeb;
    padding: 0 5px;
    font-size: 1em;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
	max-width: 100%;
	height: 38px;
	border:1px solid #ccc;
	padding-left: 10px;
    vertical-align: baseline;
    font-family: revert;
}
@media screen and (max-width:500px) {
input[name="with_last_name"],
input[name="with_first_name"],
input[name="user_last_name"],
input[name="user_first_name"],
input[name="user_last_furigana"],
input[name="user_first_furigana"] {
    width: 7em;
}
}
input[name="user_hdcp"],
input[name="with_age"],
input[name="user_age"],
input[name="user_postal01"],
input[name="user_postal02"],
input[name="contact_tel1"],
input[name="contact_tel2"],
input[name="contact_tel3"] {
    display: inline-block;
    width: 5em;
}
input[type="number"] { 
  -moz-appearance:textfield; 
} 
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type="radio"] {
border: 1px solid #8c8f94;
  border-radius: 50%;
  background: #fff;
  color: #50575e;
  clear: none;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  height: 1rem;
  margin: -.25rem .25rem 0 0;
    margin-right: 0.25rem;
    margin-bottom: 0px;
  outline: 0;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
  width: 1rem;
  min-width: 1rem;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
  transition: .05s border-color ease-in-out;
    position: relative;
}
input[type="radio"]:checked::before {
  content: "";
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  margin: .1875rem;
  background-color: #3582c4;
  line-height: 1.14285714;
    position: absolute;
    left:0;
}
input[type="radio"]:not(:first-of-type) {
    margin-left: 20px;
}

textarea {
  border: 1px solid #9a9a9a;
  background-color: #ebebeb;
  padding: 0 5px;
  font-size: 1em;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-block;
  width: 500px;
  max-width: 100%;
  height: 6em;
  border: 1px solid #ccc;
  padding-left: 10px;
  background: #fff;
  font-family: inherit;
  line-height: 2;
}
/**任意・必須ラベル設定**/
span.ok, span.option, span.required {
  font-size: 12px;
  color: #fff;
  padding: 1px 4px 0;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  font-weight: bold;
  background: #000;
  position: absolute;
  line-height: 1.4em;
  top: -29px;
  right: 14px;
}
@media screen and (min-width:1000px) {
span.ok,
span.option,
span.required {
    font-size: 12px;
    color: #fff;
    padding: 1px 4px 0;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: bold;
    background: #000;
    position: absolute;
    line-height: 1.4em;
    top: 24px;
    left: -45px;
    right: auto;
}
}
dd span.option:before {content: "任意";}
dd span.required:before {content: "必須";}

span.required {background: red;}
span.option {background: #0076cc;}


/**エラー**/
label.error {
    font-size: 12px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    font-weight: bold;
    background: #7d7d7d;
    position: absolute;
    line-height: 1.4em;
    top: -14px;
    left: 0;
}

/**フロー**/
ol {
    text-align: center;
    margin: 20px;
    margin: 20px 0 40px 0;
}
.contact_list {
    display: inline-block;
}
ol .contact_list:nth-child(1),
ol .contact_list:nth-child(2){
    width:  30%;
}
.contact_icon {
    position: relative;
    z-index: 0;
    overflow: hidden;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #999;
    background: #fff;
    border: 1px solid #999;
    line-height: 33px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: border .24s ease-out,color .24s ease-out;
    -o-transition: border .24s ease-out,color .24s ease-out;
    transition: border .24s ease-out,color .24s ease-out;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}
.contact_text {
    color: #484848;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 14px;
    -webkit-transition: color .24s ease-out;
    -o-transition: color .24s ease-out;
    transition: color .24s ease-out;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}
.contact_list-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.contact_list-inner:after {
    content: '';
    height: 1px;
    background-color: #ddd;
    display: inline-block;
    width: 100%;
    position: relative;
    top: 0;
    bottom: 0;
    margin: auto 12px;
}
.focus .contact_list-inner span.contact_icon {
    background: #58a45e;
    border-color: #58a45e;
    color: #fff;
}
.focus .contact_list-inner span.contact_text {
    color: #58a45e;
    font-weight: 700;
}

.span_text {
    padding: 5px;
    display: inline-block;
    text-align: center;
}
.form_inner {
    margin: 0;
    text-align: left;
    padding: 0;
    border-radius: 20px;
    background: #fff;
    display: inline-block;
    width: 100%;

}
@media screen and (min-width:1000px) { 
.form_inner {
    width: 840px;
    padding: 25px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
}
.form-btn {
    text-align: center;
}
.form-btn a,
.form-btn input {
    margin: 30px 0;
    padding: 10px 30px;
    font-size: 18px;
    background: #0087d9;
    border: none;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
}

/*アコーディオン*/
.acd-check{
    display: none;
}
.acd-label{
    background: #58a45e;
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding: 10px 10px 10px 65px;
    position: relative;
}
.acd-label:after{
    background: #3d8242;
    box-sizing: border-box;
    content: '+';
    display: block;
    font-family: "Font Awesome 5 Free";
    padding: 10px 20px;
    position: absolute;
    left: 0;
    top: 0px;
}
.acd-content{
    display: block;
    height: 0;
    opacity: 0;
    padding: 0;
    transition: .5s;
    visibility: hidden;
}
.acd-check:checked + .acd-label:after{
    content: '-';
}
.acd-check:checked + .acd-label + .acd-content{
    height: 17em;
    opacity: 1;
    visibility: visible;
}
@media screen and (min-width:1000px) {
.acd-check:checked + .acd-label + .acd-content{
    height: 13em;
}
}
.buddypress-wrap #notification-select, .buddypress-wrap .select-wrap select, .buddypress-wrap .standard-form select, body #buddypress.buddypress-wrap form#whats-new-form #whats-new-options select, select {
    background-position: right 0.5em center;
    padding-right: 25px;
}
dd select {
  padding: 0 25px 0 5px;
}