/* ポップアップ */
#pop_chat {
    position: fixed;
    right: 80px;
    bottom: 5%;
    z-index: 9999;
}
#pop_chat img{
	width:65px;
}

.clf_chat {
}
.clf_chat img{
	width:30px;
}
/*#mtq_question_explanation-1-1 .add{*/
.mtq_explanation .add{
	  display: flex;
    width: auto;
    align-items: center;
    justify-content: flex-end;
    float: none;
}
/*#mtq_question_explanation-1-1 .add #qtouch_addlink_btn{*/
.mtq_explanation .add #qtouch_addlink_btn{
    margin-top: 7px;
    /*margin-right: 14px;*/
}
.pop-wrapper {
  z-index: 20000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 10px 20px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}


/*ラベルホバー時*/
.pop-button:hover {
  color: #FFFFFF;
/*  background-color: #4f96f6;*/
  transition: .6s;
  text-decoration: none;
}

.pop-checkbox {
  display: none;
}
.pop-checkbox:checked + .pop-wrapper {
  /*
   opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
  */
}

.pop-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.pop-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}
.pop-wrapper a.pop-overlay:hover{
  background: rgba(0, 0, 0, .8);
}


.pop-wrapper .pop-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.pop-wrapper .pop-close:hover {
  color: #2b2e38 !important
}

.pop-wrapper .pop-window{
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1000px !important;
  float:none !important;
  border-radius: 8px;
  background: #e6e6e6;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle;
  text-align:center;
  overflow-y: auto;
  padding-bottom: 215px;
}


.pop_title{
	background: #fff;
    margin: 0;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #aaa;
    font-size: 15px;
}
.pop_title button{
	position: absolute;
    right: 40px;
    border: none;
    background: #fff;
    font-size: 20px;
}
.pop_title button:focus{
	outline: none;
}
.pop_contents{
    margin: 0 2%;
    float:none !important;
}
.pop_contents .box li button{
    border: 1px solid #aaa;
    margin: 1px;
}
.pop_contents .box li button:focus{
	outline: 1px solid #000;
}
.pop-window .box{
	background: #fff;
    margin: 20px 0px 20px 40px;
    padding: 10px 20px;
    text-align: left;
    border: 1px solid #aaa;
    border-radius:10px;
    float: none;
}
.ai-pop .pop-window p,
.ai-pop .pop-window li{
    font-size: 13px;
    margin:0;
    padding:0;
    overflow-wrap: anywhere;
}

.pop-window .frame_white{
	background: #fff;
    border: 1px solid #aaa;
    border-radius:5px;
	min-width:35px;
	height:35px;
}
.ai-pop .pop-window .frame_white img{
    width: 25px;
    margin-top: 3px;
    }
.ai-pop .pop-window .bd{
    border-bottom: 1px solid #aaa;
    width:100%;
    text-align: left;
    }

.pop-window .frame_green{
	background: #dcfce7;
	color:#29734b;
	display: inline-block;
	padding:3px 5px;
	border-radius:5px;
	font-size: 13px;
	float: none;
}
.pop-window .frame{
	background: #bbd5f8;
    padding: 10px 10px 0;
    border-radius: 5px;
    font-size: 13px;
    text-align: left;
    margin: 0 10px 0 40px;
}
.pop-window .frame1{
	display:flex;
	justify-content: 
	flex-end;
	float:right;
    margin-bottom: 30px;
}
.pop-window .frame2{
	display:flex;
	width:100%;
	float:none;
}
.pop-window .frame2-1{
	background: #fff;
    padding: 10px 10px 0;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 30px;
}
.pop-window .form_bottom {
    position: fixed;
    bottom: 20px;
    background:#fff;
    border: 1px solid #aaa;
    border-radius:5px 5px 0 0;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 900px !important;
    float:none !important;
    margin: 20px 0px 0px 40px;
    padding: 20px;
    text-align: left;
    z-index: 2;
}
.pop-window .form_bottom ul{
	margin-bottom:0;
}
.pop-window .button_bottom {
    position: absolute;
    top: -70px;
    left: 0;
    right: 0;
    width: 120px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 5px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 13px;
}
.textArea {
  field-sizing: content;
  min-width: 300px;
  width: 100%;
  min-height: 1lh;
  max-height: 8lh;
  resize: none;
  overflow: auto;
  padding: 20px 0 20px 60px;
}


.pop-window .form_bottom .plus{
	position:absolute;
	top:15px;
	left:15px;
    border: 1px solid #aaa;
    width:35px;
    height:35px;
    border-radius:50%;
    text-align: center;
    line-height: 30px;
}
.pop-window .form_bottom .return{
	position:absolute;
	top:15px;
	right:15px;
    background: #8b8b8d;
    width:35px;
    height:35px;
    border-radius:5px;
    text-align: center;
    border: none;
}
.ai-pop .pop-window .form_bottom .return img{
	width:20px;
	margin-top: 2px;
}
.ai-pop .pop-window .form_bottom li{
	font-size:11px;
}
.pop-wrapper .pop-window.pop-full{
	max-width:none !important;
}
.pop-window .form_bottom.pop-full2{
	max-width:none !important;
	width:90%;
}
/************************************
** スマホ表示
************************************/
/*SP==========================================*/
@media screen and (max-width: 1000px) {
/* ポップアップ */
	#pop_chat {
    	bottom: 6%;
    }
    .clf_chat{
    	padding: 0;
	}
	.textArea {
		min-height: 1lh;
    	min-width: unset;
    	font-size: 11px;
    	line-height: 22px;
    }
	.pop-wrapper {
		padding: 10px;
	}
	.pop-window .form_bottom{
		width: 80%;
		bottom:10px;

    }
    .pop-window .form_bottom.pop-full2{
		width:80%;
	}
    .pop-window .button_bottom {
    	top: -70px;
    }
	.pop-wrapper .pop-window {
		padding-bottom:280px;
	}
	.pop-window .box {
		padding:10px;
	}

}


