main{
    padding: 0;
}

section.form {
    max-width: 900px;
}
img{
    vertical-align: bottom;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}
span.small{font-size: 14px;}
.yl{color: #f7ff00;}
.red{color: red;}
.kome{color: red;font-size:85%;line-height: 1.3;}
span.err {
    color: red;
    font-size: 14px;
}

p.regist-text {
    text-align: center;
    font-size: 18px;
}

h4 {
    font-size: 18px;
    margin: 10px 0;
}

input:invalid, .req-zone {
    background-color: #FFC0CB !important;
}
input:focus {
    background: #abf4f5 !important;
}

.box {
    display: flex;
    border: 1px solid #e2e2e2;
    font-size: 16px;
}

.title {
    width: 30%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}
.content {
    width: 70%;
    box-sizing: border-box;
    padding: 20px;
    line-height: .9;
}
.input {
    width: 500px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    height: 36px;
    line-height: 36px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 10px 0;
    overflow-wrap: break-word;
}
.content p {
    margin: 10px 0;
}
.form-top {
    padding: 1px 0;
    border-bottom: 4px solid #0995fa;
}
.input.middle {
    width: 350px;
}

.remaining {
    font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: bold;
    color: #e65c5b;
    padding: 0.5em 2em;
    line-height: 1.5em;
    line-height: 1;
    text-align: center;
    right: 50px;
    border-radius: 10px;
    /* border-width: 2px !important; */
    /* border-color: #e65c5b; */
    border: 2px solid #e65c5b;
    position: fixed;
    z-index: 9999;
    opacity: 0.9;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 80px;
    background: #ffffff;
}
.remaining>p {
    font-size: 18px;
    margin: 12px 0;
}span.req-cnt {
    font-size: 40px;
}

.remaining.rema2 {
    color: #fff;
    background: #e65c5b;
    border: 6px double #fff;
}

.form-top>h2 {
    margin-bottom: 5px;
}


span.maru {
    font-weight: bold;
    font-size: 26px;
    margin-right: 5px;
    color: #0995fa;
    vertical-align: middle;
}

.pay-ex {
    font-size: 14px;
}

.btn {
    background: #999;
    border: none;
    width: 300px;
    height: 50px;
    margin: 10px auto;
    display: block;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    box-shadow: 1px 1px 1px #999;
    cursor: pointer;
}
.btn.sub-btn {
    background: #103d81;
    margin: 50px auto;
    width: 90%;
    max-width: 500px;
    height: 75px;
    font-size: 20px;
    font-weight: bold;
}
.content label {
    display: block;
    margin: 10px 0;
}
.textarea {
    width: 80%;
    height: 100px;
    padding: 10px;
    box-sizing: border-box;
    max-height: 300px;
    max-width: 100%;
    min-height: 50px;
    min-width: 100px;
    line-height: 1.5;
}
pre {
    line-height: 1.5;
    white-space: pre-wrap;
}
.required:after {
    content: "必須";
    margin-left: 10px;
    font-size: 12px;
    background: #e34a4a;
    padding: 2px 10px;
    color: #fff;
}
label.required {
    position: relative;
}
label.required:after {
    position: absolute;
    left: -85px;
}
.open-pay-ex{
	cursor: pointer;
	color: blue;
    display: inline-block;
}

.item-tbl {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}
.item-tbl th{
    width: 110px;
	background-color: #f5f5f5;
    border-color: currentcolor currentcolor #ddd;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 1px;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    padding: 13px 7px;
    text-align: center!important;
    vertical-align: middle;
}
table.item-tbl td {
    border-bottom: 1px solid #ddd;
}
table.item-tbl td:not(:nth-child(2)) {
    text-align: right;
    padding-right: 10px;
}
img.item-img {
    width: 100px;
    display: block;
    margin: auto;
}

.item-tbl th.left-name{
	text-align: left;
	padding-left: 0;
}
.title-box {
    text-align: center;
    font-size: 22px;
    margin: 50px 0;
}
.stepbar {
    display: flex;
    justify-content: center;
    font-size: 14px;
    margin-top: 20px;
}
.step {
    text-align: center;
    margin: 20px;
    width: 130px;
}
span.step-icon {
    display: block;
    width: 30px;
    height: 30px;
    background: #999;
    border-radius: 100%;
    margin: 0 auto 10px;
    position: relative;
}
.step:not(:last-child) span.step-icon:after {
    content: "";
    height: 1px;
    width: 130px;
    background: #999;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 35px;
}
.step p {
    margin: 0px 0;
}
.step.current p {
    color: #0995fa;
    font-weight: bold;
}
.current span.step-icon {
    background: #0995fa;
}.old span.step-icon {
    background: #99d5ff;
}
.step.old {
    color: #0999f9;
}
.step.current:not(:last-child) span.step-icon:after {
    background: #0995fa;
}
 .step.old:not(:last-child) span.step-icon:after{
 	background: #99d5ff;
 }
.term-content{
	color: #333;
	text-align: center;
	font-weight: bold;
}
span.alert{
    position: relative;
}
.alert:before {
    min-width: 250px;
    box-sizing: border-box;
    color: #fff;
    padding: 10px 5px;
    position: absolute;
    width: auto;
    height: 33px;
    background: #e65c5b;
    left: 0px;
    top: -35px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
.alert.active.alert-company:before{
	content: "企業名を入力してください。";
}
.alert.active.alert-furigana:before{
	content: "フリガナを入力してください。";
}
.alert.active.alert-sei:before{
	content: "姓を入力してください。";
}
.alert.active.alert-mei:before{
	content: "名を入力してください。";
}
.alert.active.alert-tanto:before{
    content: "名前を入力してください。";
}
.alert.active.alert-mail:before{
    content: "メールアドレスを入力してください。";
}
.alert.active.alert-mail.err:before{
    content: "メールアドレスが正しくありません。";
}
.alert.active.alert-mailCheck:before{
	content: "メールアドレスを入力してください。";
}.alert.active.alert-mailCheck.err:before{
    content: "メールアドレスが正しくありません。";
}.alert.active.alert-mailCheck.err2:before{
    content: "メールアドレスが一致しません。";
}
.alert.active.alert-post:before{
	content: "郵便番号を入力してください。";
	width: 220px;
}.alert.active.alert-post.err:before{
	content: "郵便番号が正しくありません。";
	width: 250px;
}
.alert.active.alert-address:before{
    content: "住所1を入力してください。";
}
.alert.active.alert-address2:before{
    content: "住所2を入力してください。";
}
.alert.active.alert-tel:before{
	content: "電話番号を入力してください。";
}
.alert.active.alert-tel.err:before{
    content: "電話番号が正しくありません。";
}
.alert.active.alert-fax:before{
    content: "FAX番号を入力してください。";
}
.alert.active.alert-fax.err:before{
    content: "FAX番号が正しくありません。";
}
.alert.active.alert-password:before{
    content: "パスワードを入力してください。";
}
.alert.active.alert-password.err:before{
    content: "パスワードが正しくありません。";
}
.alert.active.alert-date:before{
    content: "生年月日を入力してください。";
}
.alert:after {
    position: absolute;
    display: block;
    width: 0px;
    height: 0px;
    border-top: 5px solid #e65c5b;
    border-right: 5px solid #e65c5b;
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
    top: -8px;
    left: 20px;
    transform: rotate(135deg);
}
.alert.active:after{
	content: "";
}
img.credit_img {
    display: block;
    width: 43px;
    height: 35px;
    margin: 10px 20px 10px 0;
}
.yet {
    font-size: 14px;
    padding: 0 50px;
    margin: 40px 0;
}
.yet>h4 {
    text-align: center;
    font-size: 26px;
    color: #f73e56;
}
.yet>h5 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
}
span.txt-red {
    color: #f73e56;
    font-weight: bold;
}
.komewaku{
background: #e34a4a;
    color: #fff;
    display: inline-block;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    margin: 0!important;
}p.komewaku.nowaku {
    color: #e34a4a;
    background: none;
}
/*.content label:not(:first-child){
    margin-top: 20px;
}*/
p.item-kome {
    margin-top: -15px;
}
a.btn.back-btn {
    background: #9398a0;
    margin: 50px auto;
    width: 90%;
    max-width: 500px;
    height: 75px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.btn-area>.btn {
    width: 45%!important;
}
.yet>h4.credit-title {
    color: #f73e56;
    margin-bottom: 50px;
}


label.job-label {
    display: block;
    width: 140px;
    background: #999;
    padding: 15px;
    margin: 0 10px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
input[name="job"]:checked + label.job-label {
    background: #2847e0;
}
span.alert {
    display: inline-block;
    width: 100%;

}
.endBox {
    text-align: center;
    margin: 100px 0 75px;
}
.btn.my-btn {
    background: #102671;
}
.term {
    text-align: center;
    margin: 40px 0px;
}
.term>a {
    text-decoration: none;
    margin: 3px;
}
.input.short {
    width: 150px;
}.input.v-short {
    width: 80px;
}
.date-box {
    margin: 0 10px;
    margin-left: 0;
}
div.err {
    color: red;
}
section.form h2 {
    font-size: 34px;
    margin: 0;
    text-align: center;
    font-size: 31px;
    padding: 0;
    margin: 30px;
    color: #0e0d42;
}









.sp{display: none;}
.tbl-pc{display: table-cell;}
@media screen and (max-width: 770px){

	.tbl-pc{display: none;}
	.sp{display: block;}
	.item-tbl td {
		display: block;
		padding: 20px 10px;
        position: relative;
	}.item-tbl td:before {
        content: attr(data-title);
        position: absolute;
        top: 0;
        font-size: 14px;
        font-weight: bold;
        color: #999;
    }
	.box{
		display: block;
	}
	.title,.content{
		width: 100%;
		padding: 10px;
	}
	.input {
	    width: 100%!important;
	    margin: 5px 0;
	}
	.remaining{
		right: 0;
        height: 32px;
        padding: 0.6em 0.8em;
	}
.pay-ex {
    padding: 10px;
}
.open-pay-ex {
    padding: 0 10px;
}
.step:not(:last-child) span.step-icon:after {
    width: 60px;
    left: 25px;
}
.step3 .step:not(:last-child) span.step-icon:after {
    width: 90px;
}

.yet {
    padding: 0 20px;
}
.yet>h4 {
    font-size: 24px;
}
.yet>h4.credit-title {
    font-size: 20px;
}
span.step-icon {
    width: 20px;
    height: 20px;
}
.stepbar {
    font-size: 10px;
    max-width: 360px;
    margin: auto;
}
.btn-area>.btn {
    width: 90%!important;
    margin: 15px auto!important;
}
table.item-tbl td:not(:nth-child(2)) {
    text-align: left;
}
.remaining>p {
    font-size: 12px;
    margin: 0px 0;
}
span.req-cnt {
    font-size: 24px;
}
/*元の大きさの％*/
/*.no2{
    bottom: 150px!important;
}

.remaining.no2{
    right: 0;
    height: 40px;
    padding: 0.6em 1.2em;
}
.remaining.no2>p {
    font-size: 14px;
    margin: 0px 0;
}
.no2 span.req-cnt {
    font-size: 30px;
}*/
.term {
    text-align: center;
    margin: 30px;
}

label.job-label {
    margin: 5px;
}
section.form h2 {
    font-size: 26px;
    margin-top: 50px;
}

.date-box {
    width: 26%;
    display: flex;
    align-items: center;
}













}