@charset "UTF-8";

/*これより入力フォームスタイル　contact1.phpとconsult.php共通*/
html{
	background:#f5f1f1;
}
#isformbox {
	width: 100%;
	margin: 0 auto;
}

.title_wrap {
	background: #004186;
	text-align: center;
	padding: 1em 0;
	margin-bottom: 1em;
}

.iconFont {
	margin-bottom: 1em;
}

.iconFont i {
	padding: 0.5em;
	background: #fff;
	border-radius: 3em;
	color: #ffa115;
}

.title_wrap h1 {
	color: #fff;
	line-height: 1.4;
	font-size: 4vw;
}

.title_wrap h1 span {
	font-size: 4.2vw;
}

.titleComment {
	font-size: 1rem;
	margin-bottom: 1em;
	line-height: 1.2;
	padding: 0 1rem;
}
.flowimg{text-align: center;}
.flowimg img{width:100%;}
form {
	/* width: 96%;
	margin: 1em auto 2em; */
	/* padding:1rem; */
	padding-bottom:2rem;
}
.formInner {
    /* padding: 1rem;
    border: 1px dotted #aaa; */
	background:#fff;
	border-radius:8px;
	width:96%;
	margin:0 auto;
	/* padding:1rem 1rem 2rem; */
}
form dl {
	display: flex;
	flex-direction: column;
	padding-bottom: 1em;
	width: 100%;
	font-size: 1.1rem;
}

form dl dt {
	/* background: #c3c3c3; */
	/* text-align: center; */
	font-size: 1.2em;
	font-weight: 600;
	padding: 0;
}

form dl dt span {
	/* padding: 0.2em 0.5em;
	border-radius: 10px;
	margin-left: 1em;
	font-weight: 500;
	font-size: 1.1rem; */
	font-size:0.9rem;
}

form dl dt span.att {
	/* background: #ff8080; */
	color:#ff0000;
}

form dl dt span.opt {
	background: #ffcd69;
}

form dl dd {
	/* padding-top: 1em; */
	font-size: 1.2em;
	padding:0;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select {
	width: -webkit-fill-available;
	padding: 0.5em;
	/* border-radius: 5px; */
	border: 1px solid #000;
	/* background: #87edff; */
	font-size:1.0em;
}

form textarea {
	width: -webkit-fill-available;
	height: 10em;
	padding: 0.5em;
	/* border-radius: 5px; */
	border: 1px solid #000;
	/* background: #87edff; */
    font-size:1.0em;
}

select {
	background: #87edff;
}

form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="email"]:focus,
select:focus,
textarea:focus {
	background: #7ee3ff;
}

#address_wrap table {
	width: 100%;
}

#address_wrap table tr {
	margin-bottom: 0.5em;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#address_wrap table th {
	width: 15%;
    text-align:left;
}

#address_wrap table td {
	width: 85%;
}
.btnWrap{
	margin-top:3em;
}
.btnWrap ul {
	display: flex;
	justify-content: center;
}

form input[type="submit"] {
	display: inline;
}

form input[name="btn_submit"],
form input[name="btn_confirm"] {
	padding: 0.5em 1em;
	background: orange;
	border: none;
	font-size: 3.4vw;
	font-weight: 600;
	border-radius: 2em;
	outline: none;
	box-shadow: 0 6px 0 orangered;
}

form input[name="btn_submit"]:hover,
form input[name="btn_confirm"]:hover {
	box-shadow: 0 4px 0 orangered;
	margin-top: 2px;
}

form input[name="btn_submit"]:active,
form input[name="btn_confirm"]:active {
	box-shadow: 0 2px 0 orangered;
	margin-top: 5px;
}

form input[name="btn_back"] {
	margin-right: 2em;
	padding: 0.5em 1em;
	background: rgb(197 197 197);
	border: none;
	font-size: 3.4vw;
	font-weight: normal;
	border-radius: 2em;
	outline: none;
	color: #fff;
}
.pvacybtn {
	margin-bottom: 1rem;
	text-align:right;
}

.privacybtn a{

	font-size: 1.0rem;
}
.error_list {
	font-size: 3vw;
	color: red;
	width: 96%;
	margin: 0 auto;
	padding: 1em;
	border: 1px dashed red;
}

.error_comment {
	font-weight: 600;
	font-size: 3.2vw;
}
.inforeqs{
	display:flex;
	gap:1em;
	flex-wrap:wrap;
}
.inforeqs li{
	width:-webkit-calc(100%/3 - 0.67em);
	width:calc(100%/3 - 0.67em);
}

/* .inforeqs li:nth-child(4),
.inforeqs li:nth-child(5){
	width:-webkit-calc(100%/2 - 1em);
	width:calc(100%/2 - 1em);
} */
.inforeqs input[type="radio"] {
	display: none;
}

.inforeqs input[type="radio"]:checked+label {
	background: #31A9EE;
	color: #ffffff;
}

.inforeqs label {
	display: block;
	color: #005dac;
	text-align: center;
	cursor: pointer;
	border: 2px solid #006DD9;
	border-radius: 5px;
	padding: 0.5em;
	font-weight: 600;
	font-size:1.0em;
}

.inforeqs label:hover {
	background-color: #31A9EE;
}
.attnote{
	font-size:0.9em;
}
span.txred{
	color:#ff0000;
	font-weight:600;
}
@media screen and (min-width: 768px) {
	#isformbox {
		max-width: 1000px;
		width: 100%;
	}

	.title_wrap h1 {
		font-size: 24px;
	}

	.title_wrap h1 span {
		font-size: 30px;
	}

	.titleComment {
		font-size: 16px;
	}
    
	.flowimg img{width:auto;}

	form {
		/* max-width: 767px; */
		width: 100%;
		margin:0 auto;
		padding-bottom:2rem;
	}
	.formInner {
		width:100%;
		/* padding:30px 30px 60px; */
	}
	form dl {
		flex-direction: column;
		padding: 10px;
		/* align-items: center; */
		border-bottom: 1px dotted #aaa;
	}

	form dl dt {
		/* width: 30%; */
		/* background: unset; */
		font-size: 18px;
		text-align: left;
		/* margin-right: 1em; */
		/* display: inline-flex; */
		/* flex-direction: row; */
		/* justify-content: space-between; */
		/* align-items: center; */
		padding:0.5rem　;
	}

	form dl dt span {
		font-size: 14px;
	}

	form dl dd {
		/* width: 70%; */
		font-size: 16px;
		padding-top: 0;
		/* border-left: 1px dashed #aaa; */
		/* padding-left: 10px; */
	}

	form input[type="submit"] {
		/* padding: 10px 20px; */
		font-size: 18px;
	}



	.privacybtn {
		margin-bottom: 40px;
		text-align: right;
	}

	.privacybtn a{

		font-size: 14px;
	}

	.error_list {
		font-size: 16px;
		max-width: 767px;
		width: 100%;
		margin: 0 auto;
		padding: 20px;
	}

	.error_comment {
		font-size: 18px;
	}
}

/*****************************************/
@media screen and (min-width: 768px) {

	.inforeqs li{
		width:-webkit-calc(100%/5 - 0.8em);
		width:calc(100%/5 - 0.8em);
	}

}

#pvpbtn {
	margin: 0em auto 2em;
	background: #e4e4e4;
	border: 2px solid #c4c4c4;
	border-radius: 10px;
	width: fit-content;
	padding: 1em 2em;
	font-size: 3vw;
}

@media screen and (min-width: 768px) {
	#pvpbtn {
		margin: 40px auto;
		padding: 1em 3em;
		font-size: 16px;
	}
}
