/* debug */
/*
.current{
	background-color:red !important;
}
*/
/* 吹き出し本体 */
.cb-balloon{
  position: relative;
  padding: 15px;
  background-color:#fff3ad;
  border-radius: 10px;
  max-width:85%;
  margin-bottom:0.5rem;
  left:60px;
}

.cb-balloon hr{
  border-color: #F15A24;
  margin:10px 0px;
}

.imgbox{
  position: relative;
  padding: 15px;
/*
  background-color:#fff3ad;
  border-radius: 10px;
*/
  max-width:85%;
  margin-bottom:0.5rem;
  left:60px;
}

/* beforeで三角を表現 up */
.cb-balloon.cb-balloon-up::before{
  content: '';
  position: absolute;
  left: 20px;
  top: -15px;
  display: block;
  width: 0;
  height: 0;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #fff3ad;
  border-left: 15px solid transparent;
}

/* アイコンを右に表示 */
.cb-balloon.cb-balloon-right::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -15px;
  top: 10px;
  border-left: 15px solid #fff3ad;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

/* アイコンを下に表示 */
.cb-balloon.cb-balloon-down::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 20px;
  bottom: -15px;
  border-top: 15px solid #fff3ad;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

/* アイコンを左に表示 */
.cb-balloon.cb-balloon-left::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 15px;
  border-right: 15px solid #fff3ad;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.cb-balloon label.input{
    display: block;
    width: 90%;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    cursor: default;
    margin-bottom: 0.5rem;
}

.cb-balloon label.input:hover{
	background-color:#ff968a;
}

.cb-balloon .icon{
  position: absolute;
  left: -65px;
  top: -15px;
}

.cb-balloon .icon img{
  width:48px;
  border-radius:50%;
}

.cb-balloon div.choose-link{
	border:solid 1px #ff6347;
	background-color:#ffffff;
	padding:0.5rem;
	margin-bottom:0.25rem;
	border-radius:10px;
}

div.choose-link a{
	color:#F7931E;
	font-weight:bold;
}

.cb-balloon.current div.choose-link:hover,.cb-balloon div.choose-link.link-select{
/*	background-color:#ff968a; */
	border:solid 5px #ff6347;
}

.cb-balloon div.choose-link a{
	display:block;
	text-decoration:none;
}

.cb-balloon div{
	margin-top:1rem;
}

.cb-balloon select{
	width: 100%;
    padding: 0.5rem;
    font-size: 13px;
    margin-right: 0.25rem;
	border-radius:5px;
	height: 39px;
	background-color:#ffffff;
}

.cb-balloon select.selectNum{
	width: 80%;
/*
    padding: 0.5rem;
    font-size: 125%;
    margin-right: 0.25rem;
	border-radius:5px;
*/
}

/*
.cb-balloon select[name=address1],.cb-balloon select[name=addr_address1]{
	width: 100%;
    padding: 0.5rem;
    font-size: 125%;
    margin-right: 0.25rem;
	border-radius:5px;
}
*/

.cb-balloon textarea{
	width: 100%;
    height: 100px;
    border-radius: 5px;
    border: solid 1px #a0a0a0;
}

.cb-balloon input[type=text]{
	width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: solid 1px #a0a0a0;
    font-size: 13px;
    background-color: #FFFFFF;
}

/*
.cb-balloon select{
	width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: solid 1px #a0a0a0;
    font-size: 13px;
    background-color: #FFFFFF;
	height: 48px;
}

.cb-balloon input[type=text]{
	width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: solid 1px #a0a0a0;
    font-size: 13px;
    background-color: #FFFFFF;
}
*/

/* 更新ボタン */
.cb-balloon button[data-chat-action]{
    width: 90%;
    border-radius: 10px;
    border: none;
	background-color:#efefef;
	color:#ffffff;
    margin: 10px auto 10px auto;
    padding: 0.5rem;
}

.cb-balloon.current button[data-chat-action]{
    background-color:#70BDF1;
}

.chatbox {
	position:fixed;
	width:400px;
	height:95%;
	max-height:600px;
	bottom:16px;	
	right:16px;
	background-color: #cdcdcd;
	border:solid 2px #cccccc;
	border-radius:5px;
	padding:0;
	z-index: 2000;
	font-size:13px;
	line-height:1.42857143;
	text-align:left;
}

@media screen and (max-width:480px){
	.chatbox{
		width:100%;
		height:100%;
		max-height:100%;
		bottom:none;
		top:0px;
		left:0px;
	}
}

.chatbox .chatbox-header{
	position:relative;
	background-color: #ff6347;
	padding: 8px;
	color:#ffffff;
	font-size:16px;
}

.chatbox .chatbox-main{
	position:relative;
	background-color: #ffffff;
	overflow-y: scroll;
    overflow-x: hidden;
	height:calc(100% - 16px - 16px - 16px - 16px - 16px - 8px);
	padding: 8px 8px 0px 8px;
	margin:0px;
}


.chatbox .chatbox-footer{
	position:relative;
	background-color: #ff6347;
	bottom:0px;
	left:0px;
	padding:8px;
	color:#ffffff;
}

.chatbox input[type=radio]{
	display: inline-block;
}

.msg_box{
	margin: 8px;
}

.spinner {
  margin: 100px auto 0;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

select.valid_ok {
  background-color: #fff !important;
}
.valid_ok {
  background-color: #fff !important;
}
select.valid_ng {
  background-color: #ffdddd !important;
}
.valid_ng {
  background-color: #ffdddd !important;
}
.help-block {
  color:red;
  margin:0px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.chatbox-header-title{
	float:left;
	width:95%;
	text-align:center;
}

.chatbox-header-title > span.sub{
	font-size:95%;
}

.chatbox-header-title > span.main{
	font-weight:bold;
}

.chatbox-header-close{
	float:right;
		margin-right:0.25rem;
}

.chatbox-header-close > a{
	text-decoration:none;
	color:white;
}

div.item-cart{
	margin:0;
}

.item-cart-title{
	font-weight:bold;
	color: #F15A24;
}

.item-cart-total{
	font-weight:bold;
	color: #FF0100;
}

.item-cart-confirm{
	font-weight:bold;
	color: #F15A24;
}

div.item-name{
	text-align:left;
}
div.item-name > span{
	font-weight:bold;
	font-size:12px;
}

div.item-name > span.addr-title{
	color: #F15A24;
	font-weight:bold;
	font-size:12px;
}

div.item-price{
	text-align:left;
}

div.item-price > span{
	font-weight:bold;
	font-size:12px;
}

div.item-number{
	text-align:left;
}

div.item-number > span{
	font-weight:bold;
	font-size:12px;
}

div.item-delete,div.item-edit {
	text-align:right;	
}

div.item-delete a,div.item-edit a {
	color: #F7931E;
	font-weight: bold;
}

div.item-data{
	margin:0px;
}
div.item-data > div{
	margin:0px;
}
