@charset "UTF-8";

.form-wrapper{
    margin: 50px 100px 100px;
    font-size: 1.8rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-wrapper h1{
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    font-weight: 500;
}

.form-step{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.form-step::after{
    position: absolute;
    display:block;
    content: "";
    height: 4px;
    width: 100%;
    background-color: #777;
    top: calc(50% - 2px);
}

.form-step div{
    display: flex;
    align-items: center;
    width: 4em;
    height: 4em;
    border-radius: 2em;
    color: #fff;
    background-color: #777;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: .2em;
    z-index: 1;
}
.form-step div span{
    display: block;
    width: 100%;
}

.form-step.enter .step1{
    background-color: #000;
}
.form-step.confirm .step1,
.form-step.confirm .step2{
    background-color: #000;
}
.form-step.thanks .step1,
.form-step.thanks .step2,
.form-step.thanks .step3{
    background-color: #000;
}


.form-step.confirm::after{
background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 50%, rgba(119, 119, 119, 1) 50%);
}

.form-step.thanks::after{
background-color: #000;
}

.form-content .form-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0 20px 1em;
    line-height: 3.6rem;
    border-bottom: 1px solid #ccc;

}

.form-content dt{
    width: 14em;
    padding: 0 0 20px 0;
    line-height: 3.6rem;
}

.attach_ext{
	font-size: 1.4rem;
	margin: 5px 0 0;
	line-height: 1.8rem;
}

.form-content dd.icons{
    width: 2em;
}

.form-content dd.inputs{
    position: relative;
    width: calc(100% - 16em);
}

.form-content input{
    height: 3.2rem;
    padding: 2px 8px;
    border: 1px solid #777;
    border-radius: 3px;
    width: 100%;
}

.form-content .sub-title{
	display: flex;
	justify-content: space-between;
}

.form-content .sub-title input{
	width: calc(100% - 4em);
}

.form-content .ok{
    margin-right: 5px;
    line-height: 28px;
}

.form-content .ok img{
    width: 28px;
    height: 28px;
    vertical-align: text-top;
}


.form-content input.p-postal-code{
    width: 9em;
}

.form-content input[type="file"]{
    height: auto;
    border: none;
}

.form-content select{
    display: block;
    padding: 2px 8px;
    border: 1px solid #777;
    border-radius: 3px;
}

.form-content textarea{
    width: 100%;
    height: 8.0em;
    padding: 2px 8px;
    border: 1px solid #777;
    border-radius: 3px;
    line-height: 2.7rem;
}

.form-content .info{
    position: absolute;
    bottom: -0.5em;
    font-size: 1.5rem;
}

.form-content p.error{
    position: absolute;
    bottom: -0.5em;
    color: #f00;
    font-size: 1.5rem;
}

.form-content span.error{
    color: #f00;
}

.form-content .textarea .info,
.form-content .textarea p.error{
    bottom: 0em;
}

.form-content .textarea dd{
    padding-bottom: 1.2em;
}

.form-content #pref,
.form-content #zipcode,
.form-content #address1{
    border-bottom: none;
    padding-bottom: 0;   
}

/*.form-content #address1 dd.icons img,
.form-content #address2 dd.icons img{
    margin-top: 1.8em;
}*/

.form-content .vertical li{
    width: 100%;
    vertical-align: middle;
    margin-bottom: 10px;
}

.form-content .vertical li input{
    position: relative;
    width: 25px;
    height: 25px;
    top: 5px;
    margin-right: 8px;
}

.form-content .holizontal li{
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-right: 20px;
}

.form-content .holizontal li input{
    position: relative;
    width: 25px;
    height: 25px;
    top: 5px;
    margin-right: 8px;
}

::placeholder{
    color: #999;
    font-weight: 400;
}

.form-content .must{
    color: #fff;
    background-color: #f00;
    margin-right: 10px;
    padding: 2px 5px;
    font-size: 1.4rem;
    line-height: 1.4rem;
}

.form-content .will{
    color: #fff;
    background-color: #888;
    margin-right: 10px;
    padding: 2px 5px;
    font-size: 1.4rem;
    line-height: 1.4rem;
}

.information{
    margin-top: 40px;
    text-align: center;
}

.btn-submit{
    position: relative;
    margin: 30px 0; 
    padding-bottom: 80px;
}

.btn-text-must,
.btn-text-error{
    position: absolute;
    width: 100%;
    top: 0;
    text-align: center;
    color: #f00;
}


.btn-submit input{
    position: absolute;
    top: 40px;
    left: 25%;
    display: block;
    width: 50%;
    color: #fff;
    background-color: #000;
    padding: 20px;
    border-radius: 3px;
    cursor: pointer;
}

.btn-submit input:hover{
    background-color: #222;
}

.btn-submit.off input{
    background-color: #888;
    pointer-events: none;
}
    
.btn-back{
    width: 50%;
    margin: 20px auto 50px;
    border-radius: 3px;
    text-align: center;
}

.btn-back a{
    display: block;
    padding: 20px;
    color: #444;
    cursor: pointer;
    border: 1px solid #444;
    text-decoration: none;
}

.btn-back a:hover{
    color: #777;
    border: 1px solid #777;
}

.form-message{
    margin: 80px 0;
}

.form-message p{
    margin-bottom: 1em;
    line-height: 1.5em;
}

@media screen and (max-width: 1023px) {
.form-wrapper{
    margin: 30px 3% 3%;
}
    .form-content .form-container{
    padding: 20px 0 20px 0;

}
    .form-content #zip,
     .form-content #pref,
    .form-content #address1,
     .form-content #address2
    {
        padding-top: 0;
        padding-bottom: 0;
    }
    .form-content{
        display: block;
    }
    .form-content dt{
        width: 100%;
    }
    .form-content dt{
        border-bottom: none;
        padding: 20px 0 0 0;
    }
.form-content dd.icons{
    width: 2em;
}
.form-content dd.inputs{
    width: calc(100% - 2em);
}
    .form-content dd{
        padding: 10px 0 20px 0;
    }
.form-content .holizontal li{
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
}
    .btn-submit{
        margin-top: 20px;
    }
.btn-submit input,
.btn-back
    {
    width: 100%;
     top: 30px;
        left: 0;
    }
}



/* ----- ========== 追加 ========== ----- */

body {
	color: #212121;
}

h1 {
	background-color: #0A4274;
	font-size: 105%;
	color: #fff;
	border: none;
}

.form-wrapper {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
	padding: 20px 10px !important;
	color: #212121;
	border: 1px solid #666;
}

select,
textarea {
	padding: 8px 6px !important;
	color: #212121;
	border: 1px solid #666;
}

.form-content {
	padding-top: 3%;
}

.form-content .must {
	background-color: #e04444 !important;
}

.form-content .info,
.form-content p.error {
    bottom: -1.2em;
}

.error,
.btn-text-error {
    color: #cc0000 !important;
}

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

select {
	width: 100%;
}

}