*{
	margin:0;
	padding:0;
}
html {
	overflow: hidden;
	overflow-x:hidden;
	overflow-y:hidden;
}
body{
	max-width:800px;
}
::-webkit-scrollbar {
	display: none;
}
#chatbox{
font-family: -apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;
	width:100%;
	height: 100vh;
	z-index: 2;
	/*background-color: #6189BD;*/
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	
	background-image: url("../images/background-main.png");
	background-size: contain 100%;
	background-position: center 0;
}
#chattitle{
font-family: -apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;
	background-color: #000;
	font-size: 18px;
	font-weight: bold;
	color:#fff;
	text-align: center;
	position: fixed;
	top:0;
	left:0;
	z-index: 3;
	width:100%;
	max-width:800px;
	padding:5px 0;
}
#chattitle span{
	font-size: 12px;
}
.close{
	position: absolute;
	width:28px;
	height: 28px;
	right:8px;
	top:10px;
	border:1px solid #666;
	border-radius: 5px;
}
.close span{
	font-size:20px;
	position: relative;
	color:#fff;
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	line-height: 1;
	width: 1em;
	height: 0.1em;
	background: currentColor;
	border-radius: 0.1em;
	transform: rotate(45deg);
	top: 13px;
}
.close span::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	border-radius: inherit;
	transform: rotate(90deg);
}
#chattalk{
	padding:50px 0;
}

.chattalk_box{
	width: 94%;
	margin: 10px 3%;
	/*display: flex;*/
	display: none;
	justify-content: flex-start;
}
.chattalk_box.user_box{
	justify-content: flex-end;
}
.chattalk_box.img_box{
	display:none;
	overflow: hidden;
}
.chattalk_box.img_box img{
	width:100%;
	opacity: 0;
}
.chattalk_box.img_box img.slidein{
	opacity: 1;
	animation-name: imgslide;
	animation-duration: .2s;
	animation-timing-function: linear;
	animation-iteration-count: 1;
	animation-direction:normal;
	
	-webkit-animation-name: imgslide;
	-webkit-animation-duration: .2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-direction:normal;
	
	-moz-animation-name: imgslide;
	-moz-animation-duration: .2s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: 1;
	-moz-animation-direction:normal;
}
@keyframes imgslide {
	0% {opacity: 0;width:1%;}
	80%{opacity: 0.2;}
	100% {opacity: 1;width:100%;}
}
@-webkit-keyframes imgslide {
	0% {opacity: 0;width:1%;}
	80%{opacity: 0.2;}
	100% {opacity: 1;width:100%;}
}
@-moz-keyframes imgslide {
	0% {opacity: 0;width:1%;}
	80%{opacity: 0.2;}
	100% {opacity: 1;width:100%;}
}

.chat_ownimg{
	width: 36px;
	height: 36px;
	background-color: #fff;
	position: relative;
	border-radius: 19px;
	border:2px solid #fff;
	overflow: hidden;
}
.chat_ownimg img{
	width: 36px;
	height: 36px;
}
.chat_owntalk,
.chat_usertalk{
	position: relative;
	display: inline-block;
	padding:10px;
	color: #555;
	font-size: 15px;
	background: #FFF;
	border-radius: 8px;
	left:15px;
	top: 0;
	max-width: 70%;
	display: none;
}
@media screen and (max-width: 320px){
	.chat_owntalk,
	.chat_usertalk{
		font-size: 14px;
	}
}
.chat_owntalk:before {
	content: "";
	position: absolute;
	top: 0;
	left: -14px;
	margin-top: 5px;
	border-radius: 50%;
	transform: rotate(30deg);
	border: 5px solid transparent;
	border-right: 15px solid #FFF;
}
.chat_usertalk{
	background: #77e136;
	left:auto;
	right:5px;
	width: 70%;
}
.chat_usertalk:before {
	content: "";
	position: absolute;
	top: 0;
	right: -14px;
	margin-top: 5px;
	border-radius: 50%;
	transform: rotate(150deg);
	border: 5px solid transparent;
	border-right: 15px solid #77e136;
}
.chat_owntalk .chatmsg,
.chat_usertalk .chatmsg{
	margin: 0;
	padding: 0;
	line-height: 18px;
}
.chatmsg span{
	font-weight: bold;
}
.chatwrite{
	float: left;
	display: block;
	text-align: center;
	width: 10px;
	font-size: 10px;
	opacity: .8;
	display: none;
}
.chatwrite{
	animation-name: write_load;
	animation-duration: .6s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-direction:normal;
	
	-webkit-animation-name: write_load;
	-webkit-animation-duration: .6s;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction:normal;
	
	-moz-animation-name: write_load;
	-moz-animation-duration: .6s;
	-moz-animation-timing-function: ease-in-out;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction:normal;
}
.chatwrite:nth-child(2){
	animation-delay: .2s;
	-webkit-animation-delay: .2s;
	-moz-animation-delay: .2s;
}
.chatwrite:nth-child(3){
	animation-delay: .4s;
	-webkit-animation-delay: .4s;
	-moz-animation-delay: .4s;
}
@keyframes write_load {
0%{transform: scale(.8);opacity: .8;}
50%{transform: scale(1);opacity: 1;}
100%{transform: scale(.8);opacity: .8;}
}
@-webkit-keyframes write_load {
0%{-webkit-transform: scale(.8);opacity: .8;}
50%{-webkit-transform: scale(1);opacity: 1;}
100%{-webkit-transform: scale(.8);opacity: .8;}
}
@-moz-keyframes write_load {
0%{-moz-transform: scale(.8);opacity: .8;}
50%{-moz-transform: scale(1);opacity: 1;}
100%{-moz-transform: scale(.8);opacity: .8;}
}

.formtxt{
	font-weight: bold;
}
.formtxt span{
	font-size: 10px;
	color:#727272;
}
.errmsg{
	font-size: 10px;
	color:#F03838;
}
input, button, textarea, select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input{
	border-radius: 5px;
	line-height: 32px;
	border:1px solid #61b52e;
	width: 12em;
	padding: 0 10px;
	font-size: 16px;
	box-shadow: inset 0 1px 0 rgba(0,0,0,.3);
	display: block;
	margin: 0 auto;
	width: 90%;
}
.nextbtn,
.changebtn{
	width: 80px;
	line-height: 32px;
	border-radius: 5px;
	background-color: #555;
	color: #fff;
	text-align: center;
	float: right;
	font-weight: bold;
	margin-top:15px;
	margin-right: 4px;
}
.changebtn.none{
	color: #333;
	background-color: #000;
}
.btnbox a{
	display: block;
	width: 90%;
	margin:5px auto;
	text-align: center;
	line-height: 50px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	border-radius: 10px;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	background: rgb(125,126,125);
	background: -moz-linear-gradient(top,  rgba(125,126,125,1) 0%, rgba(14,14,14,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%);
	background: linear-gradient(to bottom,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 );
	
	background: #4678a0;
	background: -moz-linear-gradient(top,  #4678a0 0%, #325573 100%);
	background: -webkit-linear-gradient(top,  #4678a0 0%,#325573 100%);
	background: linear-gradient(to bottom,  #4678a0 0%,#325573 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4678a0', endColorstr='#325573',GradientType=0 );
}
@media screen and (max-width: 320px){
	.btnbox a{
		width: 98%;
	}
}

#information{
	display:none;
}
.infodata,
#charge_txt{
	background-color: #fff;
	width:calc(100% - 2px);
	height:4em;
	overflow: auto;
	border:1px solid #61b52e;
	box-shadow: inset 0 1px 0 rgba(0,0,0,.3);
}
#charge_txt{
	width:calc(100% - 16px);
	border:none;
	height: auto;
	overflow: none;
	padding:5px 8px;
	font-size: 12px;
	font-weight: bold;
	box-shadow: none;
	margin-bottom:20px;
	margin-top:10px;
	text-align: center;
}
#informationFrame{
	padding:5px;
	font-size: 12px;
}
#agreeArea{
	text-align: center;
}
@media screen and (max-width: 320px){
	#agreeArea lable{
		font-size: 14px;
	}
}
input[type=checkbox] {
	display: none;
}
.checkbox01 {
	margin-top:3px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	padding: 5px 10px 5px 30px;
	position: relative;
	width: auto;
}
.checkbox01::before {
	background: #fff;
	border: 1px solid #61b52e;
	content: '';
	display: block;
	height: 16px;
	left: 5px;
	margin-top: -9px;
	position: absolute;
	top: 50%;
	width: 16px;
}
.checkbox01::after {
	border-right: 3px solid #BD0004;
	border-bottom: 3px solid #BD0004;
	content: '';
	display: block;
	height: 9px;
	left: 10px;
	margin-top: -8px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: rotate(45deg);
	width: 5px;
}
input[type=checkbox]:checked + .checkbox01::after {
	opacity: 1;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix { zoom: 1; } /* IE6 */
.clear {
	clear: both;
}
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


.yayoi #chattitle{
	background-color: #325573;
}
/*
.yayoi #chatbox{
	background-color: #ffc3c3;
}
.yayoi .chat_usertalk{
	background-color: #a3d7f5;
}
.yayoi .chat_usertalk:before {
	border-right: 15px solid #a3d7f5;
}
.yayoi input{
	border: 1px solid  #61a3ca;
}
*/

.mio #chattitle{
	background-color: #633f20;
}
/*
.mio #chatbox{
	background-color: #fdff8a;
}
.mio .chat_usertalk{
	background-color: #9affb0;
}
.mio .chat_usertalk:before {
	border-right: 15px solid #9affb0;
}
.mio input{
	border: 1px solid  #60c376;
}
*/
.erika #chattitle{
	background-color: #4a4a4a;
}
/*
.erika #chatbox{
	background-color: #afe1ff;
}
.erika .chat_usertalk{
	background-color: #f4ff9d;
}
.erika .chat_usertalk:before {
	border-right: 15px solid #f4ff9d;
}
.erika input{
	border: 1px solid #c0ce56;
}
*/
.chat_usertalk{
	background-color: #a3d7f5;
}
.chat_usertalk:before {
	border-right: 15px solid #a3d7f5;
}
input{
	border: 1px solid  #61a3ca;
}

.red{
	color:#FF4245;
}
.blue{
	color:#257ad9;
}