@charset "utf-8";

/* CSS Document */
.bg {
	background: url(../images/contact/bg.jpg) no-repeat 90% 50%;
	background-size: cover;
}

section {
	height: 100%;
}

.top_head {
	height: 50vh;
}

.consult {
	/* background: #D0CFCD */
}

.contact-form {
	margin: 40px 0;
	font-size: 15px;
	color: #444;
}

.contact-form li {
	border-bottom: 1px solid #ddd;
	padding: 0px 0px 10px 0px;
	display: flex;
	height: auto;
	margin: 5px 5px 10px 5px;
	align-items: center;
}

.contact-form li .form-label {
	min-width: 100px;
	margin-right: 10px;
	text-align: center;
}

.contact-form li .form-insert,.contact-form li .form-message {
	flex-grow: 1;
	display: inline-block;
	text-align: left;
	margin-left: 5px;
}


.contact-form li .form-insert input,.contact-form li .form-message textarea {
	border-bottom: none;
	background: transparent;
	padding: 10px 5px;
	width: calc(100% - 10px);
	caret-color: #838C74;
}

.contact-form li .form-insert input:focus-visible,.contact-form li .form-message textarea:focus-visible {
	outline: #ECEDEA auto 1px;
}

.contact-form-title,.contact-title{
    color: #838c74;
    text-align: center;
    font-weight: 400;
    padding: 10px;
    font-size: 20px;
    letter-spacing: 5px;
}
.contact-form li .form-check{
	display: flex;
	flex-wrap: wrap;
	padding: 10px 0;
	width: 100%;
}
.form-check-item{
	width: calc(100% / 6);
}
.form-check-item label{
	cursor: pointer;
}

.contact-form li .form-message textarea:focus{
	font-weight: normal;
}

.contact-form li .form-code{
	display: flex;
	flex-wrap: wrap;
	padding: 10px 0;
	align-items: center;
}

.context {
	width: 40%;
	box-sizing: border-box;
	padding-right: 30px;
	margin-right: -5px;
	display: inline-block;
	vertical-align: middle;
	line-height: 1.8em;
	text-align: center;
}

.context span {
	display: block;
	color: #999;
	font-size: 1.1em;
	margin-bottom: 10px;
}

.fotorama {
	display: inline-block;
}

.fotorama__dot {
	width: 6px;
	height: 6px;
	border: none;
	background: rgba(131, 140, 116, 0.5);
}

.fotorama__nav__frame.fotorama__active .fotorama__dot {
	width: 6px;
	height: 6px;
	border: none;
	background: rgba(131, 140, 116, 1);
}

.bline {
	border-bottom: rgba(131, 140, 116, 0.3) solid 1px;
	padding-bottom: 100px;
}

.biography li {
	position: relative;
	padding-left: 15px;
	height: 25px;
	line-height: 25px;
}

.biography li::before {
	position: absolute;
	content: '';
	top: 10px;
	left: 0;
	width: 5px;
	height: 5px;
	background: #838c74;
}

/*-----------------------------------------------------------------*/

.content {
	max-width: 1000px;
	margin: 0 auto;
	padding-top: 100px;
	overflow: hidden;
}

.contact {
	position: relative;
}

.map {
	background: #999;
	height: 400px;
	width: 100%;
}

.info {
	display: flex;
	align-items: center;
	width: 90%;
	margin: 0 5%;
}

.info-name {
	font-size: 16px;
	letter-spacing: 1px;
	color: #838c74;
	min-width: 320px;
}


.info-block:last-child p {
	line-height: 1.5;
}

.info-block {
	margin: 60px 0;
	/* border-left: #838c74 1px solid; */
	/* border-right: #838c74 1px solid; */
	padding-left: 20px;
	padding-right: 20px;
	width: calc(100% - 5% - 341px);
	align-items: center;
}

.info-txt {
	margin: 12px 0;
	line-height: 2;
}

.info-txt:first-child {
	display: inline-block;
	margin: 12px 0 0;
}

.info-txt:nth-child(2) {
	display: inline-block;
	margin: 12px 0 0 12px;
}

.info-txt a:hover {
	color: #838c74;
}

.consult .title {
	background: #fff;
}

input,textarea {
	border-top: unset;
	border-left: unset;
	border-right: unset;
	border-bottom: solid 1px #000;
	font-family: "Arial", '微軟正黑體', sans-serif;
	font-size: 14px;
	word-spacing: 0.2em;
}

input:focus,textarea:focus {
	outline: none;
}

select {
	text-align: center;
	border-top: unset;
	border-left: unset;
	border-right: unset;
	border-bottom: solid 1px #000;
	font-family: "Arial", '微軟正黑體', sans-serif;
	width: calc(50% - 85px);
	font-size: 14px;
	word-spacing: 0.2em;
}

select:focus {
	outline: none;
}

/**/
/*驗證碼*/

.r1-1 {
	float: left;
	overflow: hidden;
	margin-right: 20px;
}

.input2 {
	width: 120px;
	margin-right: 20px;
	float: left;
	overflow: hidden;
}

#siimage {
	float: left;
	overflow: hidden;
	margin-right: 20px;
}

.r1-2 a img {
	float: left;
	overflow: hidden;
}

.bottom {
	position: relative;
	padding: 30px 0 100px;

}

.btn {
	display: flex;
	justify-content: center;
}

.send,
.clear {
	position: relative;
	color: #fff;
	background: #838c74;
	width: 100px;
	height: 26px;
	margin: 0 10px;
	padding-top: 4px;
	text-align: center;
	cursor: pointer;
}
.footer{
	margin-top: 0;
}

/*-----------------------------------------------------------------*/
@media screen and (max-width:1100px) {

	.bg1 {
		background-attachment: scroll;
	}

	.con-img {
		background-attachment: scroll;
	}

	.subtitle {
		margin-right: 0;
		margin-left: 20px;
		margin-bottom: 50px;
		width: 100%;
	}

	.subtitle span {
		display: inline-block;
	}

	.subtitle img {
		margin-top: 15px;
	}

	.contentin {
		margin: 0 78px;
	}

	.map iframe {
		width: 100%;
	}

	.info {
		display: block;
		align-items: normal;
		text-align: center;
		margin: 60px auto
	}

	.info-name {
		width: auto;
	}

	.info-block {
		margin: 30px 0;
		padding-left: 0;
		width: auto;
		align-items: normal;
		text-align: center;
		border-left: none;
		border-right: none;
	}

	.info-txt:first-child {
		display: block;
		margin: 12px 0;
	}

	.info-txt:nth-child(2) {
		display: block;
		margin: 12px 0;
	}
	.form-check-item{
		width: calc(100% /4);
		margin: 5px 0;
	}
}


@media screen and (max-width:768px) {
	.contentin {
		margin: 0 30px;
	}
}


@media screen and (max-width:600px) {
	.contact-form li .form-label {
		text-align: left;
	}
	.contact-form li {
		flex-direction: column;
		align-items: flex-start;
	}
	.contact-form li .form-insert{
		margin: 5px 0 0 0;
		width: calc(100% - 5px);
	}

	.context {
		padding: 0 20px;
	}

	.context .fotorama {
		display: inline-block;
		width: 100%;
	}

	.content {
		padding-top: 100px;
	}


	.info-name {
		width: auto;
		margin: 10px 0;
	}

	.info-name:before,
	.info-name:after {
		content: "";
	}

	.info-block {
		padding: 0;
		margin: 30px 10px;
		width: 80%;
	}

	.info-txt {
		padding-left: 20px;
		width: 100%;
		margin: 10px 0;
		text-align: left;
	}

	select {
		margin-bottom: 10px;
		width: 100%;
	}

	select:last-child {
		margin-bottom: 0;
	}

	.refresh {
		display: flex;
	}

	#siimage,
	.r1-2 a img {
		padding-top: 10px;
		padding-right: 15px;
		margin-right: 0px;
	}

	.address {
		display: flex;
		flex-flow: column;
	}
	.form-check-item{
		width: calc(100% /3);
	}
}

@media screen and (max-width:450px) {
	.info-block {
		max-width: 250px;
		margin: 30px 0;
	}
	.form-check-item{
		width: calc(100% / 2);
	}
}