@charset "utf-8";

.mainImg {
	background-image: url(../images/message/main_img.jpg);
}
#main .companySec {
	position: relative;
}
#main .companySec:after {
	width: 190px;  
	height: 270px;
	background-image: -webkit-linear-gradient( 90deg, rgb(250,112,154) 0%, rgb(252,169,109) 53%, rgb(254,225,64) 100%);
	opacity: 0.4;
	border-radius: 50px;
	position: absolute;  
	top: 5px;
	right: -118px;  
	content: ""; 
}
#main .bigPhoto {
	margin-bottom: 132px;
	position: relative;
}
#main .bigPhoto .name {
	position: absolute;
	bottom: 50px;
	right: 55px;
	width: 203px;
	padding: 22px 10px 24px 35px;
	font-size: 30px;
	letter-spacing: 0.05em;
	font-weight: 300;
	background-color: rgba(255, 255, 255,0.749);
}
#main .bigPhoto .name span {
	margin-bottom: 13px;
	display: block;
	font-size: 16px;
	color: #368c9b;
	letter-spacing: 0.05em;
}
#main .message {
	margin-bottom: 208px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#main .re-message{
	flex-direction: row-reverse;
}
#main .message .photoBox {
	width: calc(50% - 168px);
	margin-right: 85px;
}
#main .message .photoBox img {
	width: 100%;
}
#main .message .textBox {
	flex: 1;
	padding-top: 54px;
}
#main .message .textBox h3 {
	margin-bottom: 63px;
	font-size: 36px;
	color: #368c9b;
	line-height: 1.75;
	font-weight: 300;
	letter-spacing: 0.05em;
}
#main .message .textBox p {
	font-weight: 300;
	letter-spacing: 0.05em;
	line-height: 1.75;
	margin-bottom: 28px;
}
#main .message .textBox p:last-child {
	margin-bottom: 0;
}
#main .message .textBox .subBox {
	max-width: 635px;
}
#main .re-message .textBox .subBox{
	margin: 0 85px 0 auto;
}


/* ----------------------------- mobile ------------------------------- */
@media only screen and (max-width: 768px) {
	#main .companySec:after {
		width: 190px;
		height: 166px;
		top: -22px;
		right: -149px;
		border-radius: 45px;
	}
	#main .bigPhoto img {
		width: 100%;
	}
	#main .bigPhoto .name {
		bottom: 10px;
		right: 10px;
		font-size: 20px;
		width: 140px;
		padding: 10px 10px 10px 20px;
	}
	#main .bigPhoto .name span {
		font-size: 14px;
		margin-bottom: 10px;
	}
	#main .bigPhoto {
		margin-bottom: 80px;
	}
	#main .message {
		margin-bottom: 100px;
		padding: 0 19px;
		display: block;
	}
	#main .message .photoBox {
		width: auto;
		margin: 0 0 20px;
	}
	#main .message .photoBox img {
		width: 100%;
	}
	#main .message .textBox {
		padding: 0;
	}
	#main .message .textBox .subBox {
		max-width: inherit;
	}
	#main .re-message .textBox .subBox{
		margin: 0;	
	}
	#main .message .textBox h3 {
		font-size: 19px;
		margin-bottom: 20px;
	}
}
