@charset "utf-8";
/*------------------------------------------------------------
	contact
------------------------------------------------------------*/
.mainImg .lBox {
	background-image: url("../img/contact/main_img.jpg");
}
.contactBtm {
	position: fixed;
	bottom: 0;
	right: 50px;
	z-index: 210;
}
.btmLink {
	width: 240px;
	border-radius : 10px 10px 0px 0px;
	background-color: #8DC21F;
}
.btmLink a {
	padding: 5px 5px 3px;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 700;
	box-sizing: border-box;
}
.btmLink a:hover {
	opacity: 0.7;
}
.btmLink a span {
	padding: 0 0 2px 45px;
	display: inline-block;
	background: url(../img/common/icon18.png) no-repeat left center;
}
.contactInner {
	transform: translateY(110%);
	transition: all ease 0.3s;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 480px;
	border-radius : 10px 10px 0px 0px;
	background-color: #EEEEEE;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.contactInner .close {
	position: absolute;
	top: 15px;
	right: 15px;
}
.contactBtm.on .contactInner {
	transform: translateY(0);
}
.contactInner .ttl {
	padding: 10px 50px 13px 58px;
	font-size: 1.8rem;
	font-weight: 700;
	color: #fff;
	border-radius: 10px 10px 0 0;
	background: url(../img/common/icon18.png) no-repeat left 16px top 12px #8DC21F;
}
.contactInner .subBox {
	padding: 40px 21px 0; 
	max-height: calc(100vh - 170px);
	overflow: auto;
	box-sizing: border-box;
}
.contactInner .sub {
	margin-bottom: 30px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.contactInner .subBox .img {
	position: relative;
	margin-right: 18px;
	width: 42px;
}
.contactInner .subBox .img:after {
	width: 12px;  
	height: 12px;
	background: url(../img/common/icon19.png) no-repeat;
	position: absolute;  
	top: 50%;
	margin-top: -6px;
	right: -8px;  
	content: ""; 
}
.contactInner .subBox .textBox {
	flex: 1;
	display: flex;
	align-items: flex-end;
}
.contactInner .subBox .pBox {
	margin-right: 5px;
	background-color: #fff;
	width: 300px;
	min-height: 180px;
	border-radius: 10px;
	padding: 2px 10px;
	box-sizing: border-box;
}
.contactInner .subBox .pBox p {
	line-height: 1.75;
	text-align: justify;
	margin-bottom: 28px;
}
.contactInner .subBox .pBox p:last-child {
	margin-bottom: 0;
}
.contactInner .subBox .date {
	font-size: 1.4rem;
	color: #959595;
	text-align: center;
}
.contactInner .subBox .date .txtSpan {
	display: block;
	font-size: 1.6rem;
	color: #323232;
}
.contactInner .chat {
	max-width: 300px;
	border: 1px solid #323232;
	border-radius: 10px;
	margin: 0 auto 30px;
}
.contactInner .chat p {
	text-align: center;
	padding: 13px 10px 17px;
	font-size: 1.8rem;
	border-bottom: 1px solid #323232;
}
.contactInner .chat p:last-child {
	border: none;
	padding: ;
}
.contactInner .chat p span {
	margin-top: 1px;
	display: block;
	font-size: 1.4rem;
}
.contactInner .subBox .sub02 .textBox {
	justify-content: flex-end;
}
.contactInner .subBox .sub02 .pBox {
	order: 2;
	margin: 0 0 0 7px;
}
.contactInner .greenBox {
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	box-sizing: border-box;
	background-color: #8DC21F;
}
.contactInner .greenBox input[type="submit"] {
	margin-left: 10px;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 0;
    height: 40px;
    border: none;
    box-sizing: border-box;
    font-size: 1.6rem;
    width: 60px;
	cursor: pointer;
	color: #323232;
	font-weight: 700;
    background-color: #F7B52C;
}
.contactInner .greenBox input[type="text"] {
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 0;
    height: 40px;
	color: #323232;
    border: none;
    box-sizing: border-box;
    font-size: 1.6rem;
    padding: 0 10px;
	text-align: left;
    width: calc(100% - 70px);
    background-color: #fff;
}
input::-webkit-input-placeholder { /* WebKit browsers */
	color: #AFAFAF;
	opacity:1;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #AFAFAF;
	opacity:1;
}
input::-moz-placeholder {
	color: #AFAFAF;
	opacity:1;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #AFAFAF;
	opacity:1;
}
@media all and (min-width: 897px) {
	.contactInner .greenBox input[type="submit"]:hover {
		opacity: 0.7;
	}
	.contactInner .close a:hover img {
		opacity: 0.7;
	}
}
.pageTop {
	bottom: 55px;
}

@media all and (max-width: 896px) {
	.contactBtm {
		right: 0;
		width: 100%;
	}
	.btmLink {
		width: auto;
	}
	.contactInner {
		width: auto;
	}
	.contactInner .subBox .pBox {
		width: auto;
	}
	.contactInner .ttl {
		font-size: 1.6rem;
	}
	.contactInner .subBox {
		max-height: calc(100vh - 220px);
	}
	#gFooter {
		padding-bottom: 70px;
	}
	.pageTop {
		bottom: 50px;
	}
	.contactInner .greenBox {
		padding-left: 10px;
		padding-right: 10px;
	}
	.contactInner .greenBox input[type="text"] {
		font-size: 1.1rem;
	}

}