@charset "utf-8";
*{margin:0;padding:0;border:0;outline:0;font-size:100%;font-weight: normal;vertical-align:baseline;background:transparent;list-style: none;text-decoration: none;font-style: normal;}
a{color: #1a71d9;}
b{font-weight: 700;}
img{-webkit-backface-visibility: hidden;max-width: 100%;height: auto;margin: 0;padding: 0;vertical-align: bottom;}
.vb{vertical-align:bottom !important;}
select{border: solid 1px #ccc;}

input[type="submit"] {
-webkit-appearance: none;
border-radius: 0;
}

body{
font-family: helvetica, arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
font-size: 13px;
	background:#fff !important;
	height: 100vh;
	position: relative;

}
h1 a{
	color: #fff;
}


/* base */
header{
	position:fixed;
	width: 100%;
	top:0;
  background: #36d1dc; /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #000, #555); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #000, #555); /* W3C, IE 10+/*/
	padding: 10px;
	color: #fff;
	z-index: 2;
	filter: drop-shadow(1px 1px 1px #4444dd)
}
header .home{
	position: absolute;
	right: 40px;
	top:10px;
	z-index: 10;
	font-size: 11px;
}
header .home a{
	color: #fff;
}


main{
	padding-top: 100px;
}
#chat{
	max-width: 800px;
	width: 90%;
	margin: 0 auto;
	padding-top: 40px;
	padding-bottom: 240px;
}

.bot{
 display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
}
.bot p:nth-child(1){
    width: 75px;
    height: 75px;
    position: relative;

    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.25rem;
}
.bot p:nth-child(2){
	display: inline-block;
	max-width: 420px;
	padding: 20px;

  background: #F7F7F7;

	color: #000;
	border-radius: 30px;
}
input{
	margin-right: 10px;
}

.user{
 	display: -webkit-box;
 	display: -ms-flexbox;
 	display: flex;
	margin-bottom: 50px;
	-webkit-box-pack: end;
    -ms-flex-pack: end;
	justify-content: flex-end;
	white-space:pre-wrap;
}
.user p{
	max-width:100%;
	display: inline-block;
	padding: 20px;
	color: #fff;
	border-radius: 30px;
	margin-left: 20px;
	background-color:#1473e6;
}
.returnOc{
	padding-top: 20px;
	text-decoration: underline;
	color:#333;
	cursor: pointer;
}

#messageBox{
	width: 100%;
	position: fixed;
	bottom: 0;
	background-color:#F7F7F7;
}
#messageBox .wrap{
	padding: 20px;
}


#messageBox .wrap{
	text-align: center;
}
#messageBox .radio{
	max-width:100%;
	display: inline-block;
	padding: 10px 20px 10px 20px;
	color: #1473e6;
	font-weight: bold;
	border-radius: 30px;
	margin-right: 20px;
	background-color: #fff;
}
.green{
	color:#1473e6;
}
#messageBox .radio{
	transition-property: all;
	transition: 0.3s linear;
	cursor: pointer;
	border: solid 1px #1473e6;
}
#messageBox .radio:hover{
	background-color: #ebf3ff;

}
.textArea{
	width: 100%;
	max-width: 800px;
	margin:0 auto;
}
.textArea:after{
	content: "";
	display: block;
	clear: both;
}

.textArea textarea, .textArea input{
	background-color: #fff;
	height: 25px;
	padding-top: 10px;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 10px;
	width: 100%;
	max-width: 680px;

  	resize: none;
	float: left;
	border: none;
}
.textArea textarea{
	/*height: 50px;*/
}

.textArea #zip{
	max-width: 300px !important;
	margin-bottom: 10px;

}

.textArea .submitBtn{
	float: right;
	background-color: #1473e6;
	border: none;
	color: #fff;
	width: 66px;
	height: 44px;
	text-align: center;
	border-radius: 5px;

}



select {
  color: #333;
  cursor: pointer;
  background: #fff;
	border: solid 2px #333;
  font-size: 110%;
  padding: 0.5em;
  padding-right: 2em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-indent: 1em;
}



.time{
	display: block;
	font-size: 80%;
}
.bot > p > .time{
		color: #000;

}
.user> p > .time{
	color: #fff;
}

.alert{
	border: solid 2px #ff0000 !important;
}
.alert::-webkit-input-placeholder {
		color: #ff0000 !important;
}

@media all and (max-width: 780px) {
#chat{
		padding-top: 150px;

}
.bot p:nth-child(2){
	max-width: 60%;
}
#messageBox .wrap{
	padding: 0;
	padding-top: 30px;
	padding-bottom:20px;
}

.wrap p,.wrap select{
	margin-bottom: 10px;
}

.textArea textarea:nth-child(1), .textArea input:nth-child(1){
	width: 64%;
	margin-left: 3%;
	font-size: 120%;
}
.textArea .submitBtn{
	width: 19%;
}
select,input{
	font-size: 16px;


}
