@charset "utf-8";

main {
    width: 80%;
    margin: 0 auto;
    padding: 0 0 50px;
    letter-spacing: 2px; 
}

#formWrap {
//	width:80%;
	margin:50px auto 0;
	line-height:2;
	font-size:1.1rem;
}
.form__text01 {
    line-height: 2;
    font-size: 1.6rem;
}
.form__text02 {
	margin-top: 15px;
	font-size: 1.3rem;
    line-height: 2;
}
.privacy__attention a {
	font-weight: bold;
	color: #9d5b8b;
}
.privacy__attention a:hover {
	opacity: 0.5;
}
table.formTable{
	width:100%;
	margin:30px auto ;
	border-collapse:collapse;
}
table.formTable tr {
    border-bottom:1px solid rgb(151,88,133,0.4);
}
table.formTable tr:last-child {
    border-bottom: none;
}
table.formTable td,table.formTable th{
	padding:20px;
}
table.formTable th{
	width:30%;
	font-weight:bold;
	background:rgb(151,88,133,0.4);
	text-align:left;
    align-content: center;
}
table.formTable td {
    background:rgb(151,88,133,0.2);
}
input,textarea {
    padding: 8px;
    box-sizing: border-box;
}
.required {
    font-size: 0.9rem;
}
.mail__attention {
	margin-top: 10px;
	font-size: 0.9rem;
}
form textarea {
	width:100%;
}
form input[type="submit"] {
    border: none;
    border-radius: 5px;
	cursor: pointer;
    font-family: serif;
    font-size: 1.1rem;
    line-height: 2;
    letter-spacing: 2px; 
    color: #FFF;
	background: #c85554;
}
form input[type="submit"]:hover {
    opacity: 0.5;
	transition:all .5s;
}


@media screen and (max-width: 1028px){
	#formWrap,form input[type="submit"] {
        font-size: 0.9rem;
    }
    .form__text02 {
        font-size: 0.8rem;
    }
	.required {
		font-size: 0.8rem;
	}
	.mail__attention {
		font-size: 0.8rem;
	}
}

@media screen and (max-width: 770px){
	#formWrap {
		margin:30px auto 0;
	}
    main {
        padding-bottom: 30px;
    }

    table.formTable tr {
        display: flex;
        flex-direction: column;
    //    font-size: 0.7rem;
        border-bottom: none;
    }
    table.formTable th {
        width: 100%;
		margin-top:5px;
	    padding: 5px 0  ;
		text-align: center;
    }
}


@media screen and (max-width: 650px){
	#formWrap {
        font-size: 0.6rem;
    }
		.form__text02,.required,.mail__attention {
		font-size: 0.5rem;
	}	
	.input,textarea {
		width:100%;
	}
	form input[type="submit"] {
		font-size: 0.5rem;
	}
	.required::before {
		content: "\A" ;
		white-space: pre ;
	}
}

/*　フォーム 簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {

	table.formTable th, table.formTable td {
	//	width:auto;
	//	display:block;
	}

	form input[type="text"], form textarea {
	//	width:80%;
	//	padding:5px;
	//	font-size:110%;
	//	display:block;
	}
	form input[type="submit"], form input[type="button"] {
	//	display:block;
	//	width:100%;
	//	height:40px;
	}
	}