@charset "utf-8";


/*=======================================================
	style
=======================================================*/
main {
	margin: 0 auto 50px;
	width: 970px;
}

main .ttl {
	padding-top: 8px;
	background: url(../img/title_bg.png) no-repeat 50% 50%;
	text-align: center;
}

main section {
	position: relative;
}

/* Lead */
#chatting_lead {
	padding: 32px 0 20px;
}

#chatting_lead .lead_title {
	text-align: center;
}

#chatting_lead div {
	margin: 32px 0;
	background: url(../img/lead.png) no-repeat 50% 0;
	position: relative;
	height: 380px;
}

#chatting_lead div p {
	position: absolute;
	left: -9999px;
}

#lead_note {
	font-size: 12px; /* ie8 */
	font-size: 1.2rem;
	text-align: center;
}

#lead_note span {
	width: 260px;
	height: 18px;
	background: url(../img/carenowa_logo.png) no-repeat 50% 0;
	text-indent: -9999px;
	display: inline-block;
}

#chatting_lead:before {
	margin: 0 auto;
	content: "";
	width: 142px;
	height: 68px;
	background: url(../img/lead_header.png) no-repeat 0 0;
	display: block;
}

#lead_note:before {
	margin: 0 auto;
	content: "";
	width: 142px;
	height: 76px;
	background: url(../img/lead_footer.png) no-repeat 0 0;
	display: block;
}

/* Main */
#chatting_main {
	background: url(../img/chat_bg.png) repeat-y 50% 0;
}

#chatting_main h1 {
	padding-top: 40px;
	background: url(../img/theme_bg.png) no-repeat 50% 0;
	text-align: center;
	position: relative;
}
#chatting_main h1:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
}

.user_only h1 {
	padding-bottom: 43px;
	height: 111px;
	box-sizing: border-box;
}
.user_only h1:after {
	background: url(../img/chat_footer.png) no-repeat 50% 0;
	height: 11px;
}

.with_staff h2 {
	padding-bottom: 26px;
}
.with_staff h2:after {
	background: url(../img/staff_header.png) no-repeat 50% 0;
	height: 4px;
}

#staff {
	margin: 0 auto;
	padding: 10px 36px;
	box-sizing: border-box;
	width: 928px;
	background: url(../img/theme_bg.png) no-repeat 50% -111px;
	display: table;
	position: relative;
}
#staff * {
	box-sizing: border-box;
	display: table-cell;
	vertical-align: middle;
}
#staff .name {
	padding: 0 20px 0 10px;
	background: url(../img/staff_name_bg.png) no-repeat 100% 50%;
	text-align: center;
}
#staff div {
	padding: 0 20px;
}
#staff:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -15px;
	display: block;
	width: 928px;
	height: 15px;
	background: url(../img/chat_footer.png) no-repeat 50% -2px;
}

.chat {
	margin: 20px auto 0;
	overflow: hidden;
	width: 856px;
}

.chat div {
	padding: 20px 25px 0;
	box-sizing: border-box;
	width: 660px;
	border-radius: 10px;
	position: relative;
}
.chat div:after,
.chat_leader div:before {
	content: "";
	width: 0;
	height: 0;
	border-width: 20px;
	border-style: solid;
	border-color: transparent;
	position: absolute;
	right: -40px;
	top: 80px;
}
.chat .short:after,
.chat_leader .short:before {
	top: 26px;
}

.chat div p {
	padding-bottom: 20px;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.8;
}

.chat .name {
	width: 170px;
	text-align: center;
}

.chat .name span {
	display: block;
}

.chat_leader div {
	border-width: 2px;
	border-style: solid;
}
.chat_leader div:after {
	left: -40px;
	right: auto;
	z-index: 0;
}
.chat_leader div:before {
	border-right-color: #fff;
	left: -37px;
	right: auto;
	z-index: 2;
}

.chat div,
.chat.chat_leader .name {
	float: left;
}
.chat.chat_leader div,
.chat .name {
	float: right;
}


/* Color */
.color01 .name img {
	background-color: #b5dda2;
}
.color01 div {
	background-color: #f3f9f0;
}
.color01 div:after {
	border-left-color: #f3f9f0;
}
.chat_leader.color01 div {
	border-color: #8eb37b;
	background-color: #fff;
}
.chat_leader.color01 div:after {
	border-left-color: transparent;
	border-right-color: #8eb37b;
}

.color02 .name img {
	background-color: #a2ddb2;
}
.color02 div {
	background-color: #f0f9f3;
}
.color02 div:after {
	border-left-color: #f0f9f3;
}
.chat_leader.color02 div {
	border-color: #7bb389;
	background-color: #fff;
}
.chat_leader.color02 div:after {
	border-left-color: transparent;
	border-right-color: #7bb389;
}

.color03 .name img {
	background-color: #a2ddd4;
}
.color03 div {
	background-color: #f0f9f8;
}
.color03 div:after {
	border-left-color: #f0f9f8;
}
.chat_leader.color03 div {
	border-color: #7bb3ab;
	background-color: #fff;
}
.chat_leader.color03 div:after {
	border-left-color: transparent;
	border-right-color: #7bb3ab;
}

.color04 .name img {
	background-color: #a8cbec;
}
.color04 div {
	background-color: #f2f6fb;
}
.color04 div:after {
	border-left-color: #f2f6fb;
}
.chat_leader.color04 div {
	border-color: #88abc9;
	background-color: #fff;
}
.chat_leader.color04 div:after {
	border-left-color: transparent;
	border-right-color: #88abc9;
}

.color05 .name img {
	background-color: #aca8ec;
}
.color05 div {
	background-color: #f2f2fb;
}
.color05 div:after {
	border-left-color: #f2f2fb;
}
.chat_leader.color05 div {
	border-color: #8c88c9;
	background-color: #fff;
}
.chat_leader.color05 div:after {
	border-left-color: transparent;
	border-right-color: #8c88c9;
}

.color06 .name img {
	background-color: #d3a8ec;
}
.color06 div {
	background-color: #faf2fb;
}
.color06 div:after {
	border-left-color: #faf2fb;
}
.chat_leader.color06 div {
	border-color: #b388c9;
	background-color: #fff;
}
.chat_leader.color06 div:after {
	border-left-color: transparent;
	border-right-color: #b388c9;
}

.color07 .name img {
	background-color: #eca8d8;
}
.color07 div {
	background-color: #fbf2fa;
}
.color07 div:after {
	border-left-color: #fbf2fa;
}
.chat_leader.color07 div {
	border-color: #c988b7;
	background-color: #fff;
}
.chat_leader.color07 div:after {
	border-left-color: transparent;
	border-right-color: #c988b7;
}

.color08 .name img {
	background-color: #eca8b0;
}
.color08 div {
	background-color: #fbf2f2;
}
.color08 div:after {
	border-left-color: #fbf2f2;
}
.chat_leader.color08 div {
	border-color: #c98892;
	background-color: #fff;
}
.chat_leader.color08 div:after {
	border-left-color: transparent;
	border-right-color: #c98892;
}

.color09 .name img {
	background-color: #ddbda2;
}
.color09 div {
	background-color: #f9f5f0;
}
.color09 div:after {
	border-left-color: #f9f5f0;
}
.chat_leader.color09 div {
	border-color: #b3957b;
	background-color: #fff;
}
.chat_leader.color09 div:after {
	border-left-color: transparent;
	border-right-color: #b3957b;
}

.color10 .name img {
	background-color: #d7dda2;
}
.color10 div {
	background-color: #f8f9f0;
}
.color10 div:after {
	border-left-color: #f8f9f0;
}
.chat_leader.color10 div {
	border-color: #afb37b;
	background-color: #fff;
}
.chat_leader.color10 div:after {
	border-left-color: transparent;
	border-right-color: #afb37b;
}

/* Main Footer */
#chatting_main footer {
	padding-bottom: 30px;
	background: url(../img/chat_footer.png) no-repeat 50% 100%;
}
#chatting_main footer p {
	margin: 0 auto;
	padding-top: 10px;
	width: 800px;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 2;
}

#chatting_main footer:before {
	content: "";
	margin: 20px auto;
	width: 503px;
	height: 46px;
	display: block;
	background: url(../img/chat_break.png) no-repeat 50% 50%;
}

/* Footer */
.cont_base > footer.index_footer:before{
	content: "";
	margin-top: -10px;
	background: url(../img/chat_footer.png) no-repeat 50% 100%;
	width: 970px;
	height: 20px;
	display: block;
}
.cont_base > footer {
	padding: 10px 0 0;
	background: url(../img/chat_bg.png) repeat-y 50% 0;
}
.cont_base > footer:after {
	content: "";
	display: block;
	width: 970px;
	height: 20px;
	background: #fff;
}
.cont_base > footer p {
	padding: 0 60px;
	text-align: center;
}
.cont_base > footer ul {
	margin: 0;
	padding: 16px 110px 30px;
	width: 100%;
	background: url(../img/chat_footer.png) no-repeat 50% 100%;
	box-sizing: border-box;
	display: table;
	table-layout: fixed;
}
.cont_base > footer ul li {
	padding: 0 10px;
	width: 100%;
	box-sizing: border-box;
	display: table-cell;
	text-align: center;
}

.cont_base > footer p a:hover{
	text-decoration: none;
	opacity: 0.7; /*通常*/
	-ms-filter: "alpha(opacity=70)"; /*IE8*/
}

/* backnumber */
#backnumber {
	padding-bottom: 30px;
	vertical-align: middle;
	text-align: center;
}

#backnumber h2 {
	font-size: 18px;
	font-size: 1.8rem;
	color: #c60;
}

#backnumber ul {
	display: inline-block;
}

#backnumber ul li {
	margin-bottom: 5px;
	white-space: nowrap;
	text-align: left;
}
#backnumber ul li a {
	padding: 0 0 0 14px;
	font-size: 18px;
	font-size: 1.8rem;
	color: #930;
	vertical-align: middle;
	line-height: 1.4;
}
#backnumber ul li.current{
	opacity: 0.7;
}
#backnumber ul li.current a:hover{
	text-decoration: none;
}


.align_center {
	text-align: center !important;
}

/* ===========================================
	MediaQueries
=========================================== */

/* スマホ----------------------------- */
@media screen and (max-width: 767px) {
	main {
		width: 100%;
	}

	main .ttl {
		padding: 18px 10px;
		background: url(../img/title_bg.jpg) no-repeat 50% 50%;
		background-size: 485px auto;
	}

	main .ttl img {
		max-height: 225px;
		width: auto;
	}

	main section {
		position: relative;
	}

/* Lead */
	#chatting_lead {
		padding: 0 0 20px;
	}

	#chatting_lead .lead_title img {
		max-height: 21px;
		width: auto;
	}

	#chatting_lead div {
		margin: 16px 10px 0;
		background: transparent;
		height: auto;
	}

	#chatting_lead div p {
		padding-bottom: 16px;
		position: relative;
		left: auto;
		font-size: 1.4rem;
		line-height: 1.8;
		text-align: center;
	}

	#lead_note {
		padding: 0 10px;
		text-align: left;
	}

	#lead_note span {
		width: auto;
		height: auto;
		background: transparent;
		text-indent: 0;
		display: inline;
	}

	#chatting_lead:before {
		width: 71px;
		height: 34px;
		background-size: contain;
	}

	#lead_note:before {
		width: 71px;
		height: 38px;
		background-size: contain;
	}

/* Main */
	#chatting_main {
		background: transparent;
	}

	#chatting_main h1 {
		padding: 20px 0;
		text-indent: -9999px;
		border-style: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
	}
	#chatting_main h1:after {
		display: none;
	}
	.user_only h1 {
		height: auto;
	}

	#staff {
		padding: 10px;
		border-style: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
		width: 100%;
		border-top: 0;
	}
	#staff * {
		display: block;
	}
	#staff .name {
		padding: 0 0 10px 0;
		background: url(../img/staff_header.png) no-repeat 50% 100%;
		text-align: left;
	}
	#staff div {
		padding: 10px 0 0;
	}
	#staff:after {
		display: none;
	}

	.chat {
		margin: 0;
		padding: 0 0 16px 0;
		width: 100%;
		border-style: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
		border-top: 0;
		border-bottom: 0;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
	}

	.chat div {
		padding: 10px 10px 0;
		width: 100%;
		order: 2;
	}
	.chat div:after,
	.chat_leader div:before {
		border-width: 10px;
		right: 30px;
		top: -20px;
		border-right-color: transparent !important;
		border-left-color: transparent !important;
	}
	.chat .short:after {
		top: -20px;
	}

	.chat div p {
		padding-bottom: 10px;
	}

	.chat .name {
		padding-bottom: 5px;
		width: 100%;
		font-size: 1.2rem;
		order: 1;
		display: flex;
		align-items: flex-end;
		flex-direction: row-reverse;
	}

	.chat .name img {
		width: 70px;
		height: auto;
	}

	.chat_leader div:before,
	.chat_leader div:after {
		left: 30px;
		right: auto;
	}

	.chat_leader div:before {
		border-bottom-color: #fff;
		top: -17px;
	}
	.chat_leader .short:before {
		top: -17px;
	}

	.chat.chat_leader .name {
		flex-direction: row;
	}
	.chat.chat_leader .name img {
	}

	.chat.chat_leader div,
	.chat div,
	.chat.chat_leader .name,
	.chat .name {
		float: none;
	}


/* Color */
	.color01 div:after {
		border-bottom-color: #f3f9f0;
	}
	.chat_leader.color01 div:after {
		border-bottom-color: #8eb37b;
	}
	
	.color02 div:after {
		border-bottom-color: #f0f9f3;
	}
	.chat_leader.color02 div:after {
		border-bottom-color: #7bb389;
	}
	
	.color03 div:after {
		border-bottom-color: #f0f9f8;
	}
	.chat_leader.color03 div:after {
		border-bottom-color: #7bb3ab;
	}
	
	.color04 div:after {
		border-bottom-color: #f2f6fb;
	}
	.chat_leader.color04 div:after {
		border-bottom-color: #88abc9;
	}
	
	.color05 div:after {
		border-bottom-color: #f2f2fb;
	}
	.chat_leader.color05 div:after {
		border-bottom-color: #8c88c9;
	}
	
	.color06 div:after {
		border-bottom-color: #faf2fb;
	}
	.chat_leader.color06 div:after {
		border-bottom-color: #b388c9;
	}
	
	.color07 div:after {
		border-bottom-color: #fbf2fa;
	}
	.chat_leader.color07 div:after {
		border-bottom-color: #c988b7;
	}
	
	.color08 div:after {
		border-bottom-color: #fbf2f2;
	}
	.chat_leader.color08 div:after {
		border-bottom-color: #c98892;
	}
	
	.color09 div:after {
		border-bottom-color: #f9f5f0;
	}
	.chat_leader.color09 div:after {
		border-bottom-color: #b3957b;
	}
	
	.color10 div:after {
		border-bottom-color: #f8f9f0;
	}
	.chat_leader.color10 div:after {
		border-bottom-color: #afb37b;
	}

/* Main Footer */
	#chatting_main footer {
		padding: 0 10px;
		background: transparent;
		border-style: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
		border-top: 0;
	}
	#chatting_main footer p {
		width: auto;
		font-size: 1.4rem;
	}

	#chatting_main footer:before {
		margin: 0 auto 10px;
		width: auto;
		height: 23px;
		background-size: contain;
	}

	/* Footer */
	.cont_base > footer.index_footer:before{
		content: none;
	}
	.cont_base > footer {
		padding: 0 10px;
		background: transparent;
		border-style: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
		border-top: 0;
	}
	.cont_base > footer.index_footer{
		border: solid;
		border-width: 20px;
		border-image: url(../img/s/chat_border.png) 20 round;
	}
	.cont_base > footer:after {
		display: none;
	}
	.cont_base > footer p {
		padding: 0;
	}
	.cont_base > footer ul {
		padding: 10px;
		background: transparent;
	}

	/* backnumber */
	#backnumber h2 {
		font-size: 1.7rem;
	}
	#backnumber ul {
		width: 100%;
	}
	#backnumber ul li {
		padding: 5px 20px;
		font-size: 1.2rem;
		text-align: left;
		white-space: normal;
	}
	#backnumber ul li a {
		display: block;
		padding: 0;
		font-size: 1.7rem;
		line-height: 1.6;
	}
}


