@charset "utf-8";
/* CSS Document */

/* お問い合わせページ設定 */

#contents #title h1 {
	background-image: url(../img/inquiry/title_ph.jpg);
}
#contents #title h1::before {
	content: "\f0e0";
}

#contents #inquiry .section .error-message {
	color:red;
}


@media print,screen and (min-width: 768px){

/* PC用設定 */

#contents #inquiry {
	padding:60px 0px;
}
#contents #inquiry .section {
	width:800px;
}

#contents #inquiry .section ul {
	list-style-type:disc;
	margin-block-start: 1em;
    margin-block-end: 1em;
	padding-inline-start: 40px;
}

#contents #inquiry dd::before {
	display: table;
	content: " ";
}

#contents #inquiry dd::after {
	clear: both;
	display: table;
	content: " ";
}

#contents #inquiry form {
	margin-top:3em;
}
#contents #inquiry dl {
}
#contents #inquiry dl::after {
	content: "";
	display:block;
	clear:both;
}
#contents #inquiry dt {
	font-size: 18px;
	line-height: 1.3em;
	float:left;
	width:12em;
	font-weight: bold;
	clear:both;
	margin-bottom:0.7em;
}
#contents #inquiry dt small {
	font-weight: normal;
}
#contents #inquiry dd {
	font-size: 18px;
	line-height: 1.3em;
	margin-left:12em;
	margin-bottom:0.7em;
}
#contents #inquiry dd small {
	font-weight: normal;
	color: #F03;
}
#contents #inquiry dd input,
#contents #inquiry dd textarea {
	font-size: 16px;
	line-height: 1em;
	width:60%;
	padding:0.5em;
	vertical-align: text-top;
	margin-right:0.5em;
	border: 1px solid #999;
}
#contents #inquiry dd select {
	font-size: 16px;
	line-height: 1em;
	padding:0.5em;
	border: 1px solid #999;
}
#contents #inquiry .half input {
	width:28%;
}
#contents #inquiry .submit {
	color: #FFF;
	cursor: pointer;
	background-color: #016bba;
	font-size: 18px;
	line-height: 1em;
	width: 9em;
	padding:1em;
	margin-top:1em;
	border:none;
}
#contents #inquiry .back {
	color: #000;
	background-color: #CCC;
	font-size: 18px;
	line-height: 1em;
	width: 9em;
	padding:1em;
	margin-top:1em;
	margin-right:2em;
	border:none;
}
#contents #inquiry #complete {
	text-align:center;
}
#contents #inquiry #complete h1 {
	font-size: 24px;
	line-height: 1em;
	margin-bottom:1em;
	color: #016BBA;
}
}
@media screen and (max-width: 767px){

/* スマホ用設定 */

#contents #inquiry {
	padding:20px 0px;
}
#contents #inquiry form {
	margin-top:2em;
}
#contents #inquiry dl {
	font-size: 13px;
	line-height: 1em;
}
#contents #inquiry dt {
	font-size: 13px;
	line-height: 1em;
	float:none;
	width:auto;
	font-weight: bold;
	clear:both;
	margin-bottom:0.5em;
}
#contents #inquiry dt small {
	font-weight: normal;
}
#contents #inquiry dd {
	font-size: 13px;
	line-height: 1em;
	margin-left:0px;
	margin-bottom:1.5em;
}
#contents #inquiry dd small {
	font-weight: normal;
	color: #F03;
}
#contents #inquiry dd input,
#contents #inquiry dd textarea {
	font-size: 13px;
	line-height: 1em;
	width:70%;
	padding:0.5em;
	vertical-align: text-top;
	margin-right:0.5em;
	border: 1px solid #999;
}
#contents #inquiry dd select {
	font-size: 13px;
	line-height: 1em;
	padding:0.5em;
	border: 1px solid #999;
}
#contents #inquiry .half input {
	width:40%;
}
#contents #inquiry .submit {
	color: #FFF;
	background-color: #016bba;
	font-size: 14px;
	line-height: 1em;
	width: 8em;
	padding:1em;
	margin-top:0.5em;
	border:none;
}
#contents #inquiry .back {
	color: #000;
	background-color: #CCC;
	font-size: 14px;
	line-height: 1em;
	width: 8em;
	padding:1em;
	margin-top:0.5em;
	margin-right:2em;
	border:none;
}
#contents #inquiry #complete {
	text-align:left;
}
#contents #inquiry #complete h1 {
	font-size: 18px;
	line-height: 1em;
	margin:1em 0px;
	text-align:center;
	color: #016BBA;
}
}
