/*form css*/

section.app-form {
    background: #ecf6fe;
    padding: 4%;
}
div.fstep {
    background: #5b9bd5;
    text-align: center;
    margin-bottom: 5%;
}
div.fstep img {
    display: inline-block;
    width: 70px;
    margin: -5px auto -8px;
    vertical-align: middle;
}
div.fstep span {
    display: inline-block;
    font-size: 23px;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
    vertical-align: middle;
}
div.fstep span.fs {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    color: #5b9bd5;
    padding-top: 8px;
    opacity: 0.5;
}
div.fstep span.fs.active {
    background: #ffd43b;
    opacity: 1;
}

.fm-ttl {
    display: block;
    background: #fff;
    border: 1px solid #5b9bd5;
    text-align: center;
    font-weight: bold;
    padding: 20px 0;
}

table.fmt1 {
	width:100%;
}
table.fmt1 tr {
    margin-bottom: 5%;
    display: block;
}
table.fmt1 th {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #5b9bd5;
    text-align: center;
    font-weight: bold;
    padding: 20px 0;
    letter-spacing: 1px;
}
table.fmt1 th span {
    color: #fa3d3c;
    font-size: 90%;
    font-weight: 500;
}
table.fmt1 td {
    display: block;
    background: #fff;
    border: 1px solid #5b9bd5;
    border-top: unset;
    text-align: center;
}

table.fmt2 {
    margin-bottom: 5%;
	width:100%;
}
table.fmt2 tr {
    border-right: 1px solid #5b9bd5;
    border-left: 1px solid #5b9bd5;
    border-bottom: 1px solid #5b9bd5;
    background: #fff;
}
table.fmt2 th {
    text-align: center;
    width: 230px;
    padding: 20px 0;
    border-right: 1px solid #5b9bd5;
    background: #ecf6fe;
	vertical-align: top;
}
table.fmt2 th span {
    color: #fa3d3c;
    font-size: 80%;
}
table.fmt2 td {
    padding: 10px;
}
table.fmt2 td input, table.fmt2 td select {
    border: 1px solid #b6b6b6;
    background: #f5f5f5;
    width: 100%;
    max-width: 400px;
    height: 35px;
}
table.fmt2 td textarea {
    border: 1px solid #b6b6b6;
    background: #f5f5f5;
    width: 100%;
}

div[class^="fm_"] {}
div[class^="fm_"] span.rei {
    display: block;
    font-size: 12px;
}
div[class^="fm_"] span.caution {
    display: block;
    font-size: 14px;
    color: #5b9bd5;
}

ul.flist1 {
    padding: 20px 3% 10px;
}
ul.flist1 li {
    display: inline-block;
    margin: 0 1% 10px;
}
ul.flist1 li label {
    cursor: pointer;
}
ul.flist1 li label input {
    display:none;
}
ul.flist1 li label span {
    background: #ecf6fe;
    font-weight: 500;
    padding: 18px 30px;
    display: block;
    border-radius: 50px;
    min-width: 180px;
}
ul.flist1 li label:hover span{
    background: #c0dbf0;
}
ul.flist1 li label input[type=checkbox]:checked ~ span,
ul.flist1 li label input[type=radio]:checked ~ span {
    background: #ffd43b;
}

ul.flist2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
ul.flist2 > li {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	padding: 3%;
}
ul.flist2 > li > p {
    width: 40%;
}
ul.flist2 > li > div {
    width: 60%;
    text-align: left;
}
ul.flist2 > li > div span {
	margin-bottom: 5px;
	display: block;
}
ul.flist2 > li > div span:first-child {
    background: #5b9bd5;
    color: #fff;
    padding: 3px;
}
ul.flist2 > li > div span:first-letter,
ul.flist2 > li > div label {
    font-size: 110%;
    color:#5b9bd5;
}
ul.flist2 > li > div span:first-child:first-letter {
    font-size: 100%;
    color: #fff;
}
ul.flist2 > li > div span input {
    width: calc(100% - 20px);
}
ul.flist2 > li > div label input {
	margin-right:5px;
}

ul.select-img li label span img {
    width: auto;
    height: 50px;
    margin: 0 auto;
}

.fm-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
button.backbtn {
    border: unset;
    background: #707070;
    color: #fff;
    font-size: 18px;
    padding: 20px 0;
    width: 30%;
    margin-right: 3%;
    padding-left: 20px;
    position: relative;
    cursor: pointer;
    max-width: 250px;
}
button.backbtn::before {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    position: absolute;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    left: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}
button.backbtn:hover {
    background: #525252;
}
button.nextbtn:disabled, button.nextbtn:disabled:hover {
    opacity: 0.5;
    cursor: unset;
    background: #5b9bd5;
}
button.nextbtn {
    border: unset;
    background: #5b9bd5;
    color: #fff;
    font-size: 18px;
    padding: 20px 0;
    width: 67%;
    padding-right: 20px;
    position: relative;
    cursor: pointer;
    max-width: 400px;
    opacity: 1;
}
button.nextbtn span {
    display: block;
    font-size: 12px;
    color: #fff;
}
button.nextbtn::before {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    position: absolute;
    -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
            transform: rotate(135deg);
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}
button.nextbtn:hover {
    background: #ffd43b;
}


p.kiyaku {
    font-size: 13px;
    margin: 10px auto 0;
    margin-inline: auto;
    inline-size: fit-content;
}
p.kiyaku a {
    color: #5b9bd5;
}
p.kiyaku a:hover {
    color: #ffd43b;
}

.form_attention_txt {
    text-align: center;
}
.form_attention_txt h3 {
    font-size: 30px;
    font-weight: 600;
}
.form_attention_txt h3 span {
    font-size: 110%;
    font-weight: bold;
    color: #5b9bd5;
	display:inline-block;
}
.form_attention_txt p {
    width: fit-content;
    margin: 2% auto;
    background: red;
    color: #fff;
    padding: 3px 10px;
}

/*---------------
 * 700px以下 
 * ------------*/
@media screen and (max-width:700px) {
	div.fstep img {
		width:60px;
	}
	div.fstep span.fs {
		width:40px;
		height:40px;
	}
	div.fstep span {
		font-size:16px;
	}
	ul.flist1 li label span {
		padding:10px 15px;
	}
	button.nextbtn {
		padding: 10px 0;
		padding-right:10px;
		font-size:16px;
	}
	button.nextbtn::before,
	button.backbtn::before {
		width:10px;
		height:10px;
	}
	button.backbtn {
		padding: 10px 0;
		padding-left:10px;
		font-size:16px;
	}
	table.fmt2 th,
	table.fmt2 td {
		width: 100%;
        display: block;
        border: unset;
	}
	div[class^="fm_"] span.caution {
		font-size:12px;
	}
	button.nextbtn span {
		font-size:10px;
	}
	.form_attention_txt h3 {
		font-size: 20px;
	}
	.form_attention_txt p {
		font-size: 14px;
	}
}