


input[type=text],input[type=reset],input[type=button], select, textarea {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.comment{
    margin-top: 50px;
    color: var(--col-txt);
    font-weight: bold;
}

.comment .attention{
    margin-top: 30px;
    color: #F34B4B;
}

.form-block{
    margin-top: 30px;
}
.form-block--inner{
    background: #fff;
    border-radius: 5px;
    padding: 50px 80px;
}

.form-item{
    display: grid;
    grid-template-columns: 225px 1fr;    
}

.form-item:not(:first-child){
    margin-top: 30px;
}

.form-item > div:first-child{
    margin-top: 10px;
}
.form-item > div:first-child > p,
.form-item > div:not(:first-child)
{    
    padding: 2px 0;
    line-height: 1;
    color: var(--col-txt);
    font-weight: bold;
}
.form-item > div.con{
    margin-top: 10px;
}
.form-item > div:first-child > p:after{
    content: "必須";
    font-size: .8rem;
    color: #fff;
    background: red;
    padding: 2px 10px;
    border-radius: 3px;
    margin-left: 10px;
    
}


.form-item > div:nth-of-type(2) label:not(.l-gender){
    width: fit-content;
    display: block;
    border: 1px solid #BDC4CB;
    padding: 10px;
    border-radius: 3px;
    background: #FAFAFD;
}
.form-item > div:nth-of-type(2) input[type=text],
.form-item > div:nth-of-type(2) input[type=reset],
.form-item > div:nth-of-type(2) input[type=button],
.form-item > div:nth-of-type(2) textarea
{
    width: 100%;
    padding: 0;
    margin: 0;
    /*font-size: 20px;*/
    border: none;
    background: transparent;
}

/*
.btn-box{
    width: fit-content;
    margin: 50px auto 0;
    display: flex;
    gap: 20px;
}
.btn-box .btn{    
    border-radius: 3px;
    font-weight: bold;
    padding: 10px 20px;
}
.btn-prev{
    background: #fff;
    color: var(--col-blue);
}
.btn-next{
    background: var(--col-blue);
    color: #fff;
}*/


/** エキストラフォーム **/
.d-gender{
    margin-top: 10px;
    padding: 0;
}

label.l-gender:nth-child(2){
    margin-left: 20px;
}

@media only screen and (max-width: 700px) {
    .form-block--inner{
        padding: 50px 20px;
    }
    .form-item{
        grid-template-columns: 1fr;
    }
    .form-item > div:nth-of-type(2) label:not(.l-gender){
        width: 85%;
        margin: 20px auto 0;
    }
    
}


.form-item.grid--one{
    grid-template-columns: 1fr;
}
.form-item.grid--one > div{
    width: fit-content;
    margin: 0 auto;
}