/* CSS Document */
.entry {
  margin: auto;
  width: 100%;
}
table.table-design-set-1 {
  border-radius: 0;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.04), 0 0 0 1px #e8e8e8 inset;
  margin-bottom: 50px;
  overflow: hidden;
  width: 100%;
  border-spacing: 1px;
  background: none repeat scroll 0 0 #d5e0ee;
  font-size: 12px;
}
table.table-design-set-1 th {
  background: none repeat scroll 0 0 #e6edf5;
  color: #4f76a3;
  padding: 12px 12px;
  text-align: center;
}
table.table-design-set-1 td {
  padding: 6px 15px;
}
table.table-design-set-1 td.th {
    padding: 12px;
}
table.table-design-set-1 tr:nth-child(2n + 1) {
  background: none repeat scroll 0 0 #f7f9fc;
}
table.table-design-set-1 tr:nth-child(2n) {
  background: none repeat scroll 0 0 #fff;
}
table.table-design-set-1 td {
  padding: 6px 15px;
}

table.table-design-set-1 tr:nth-child(2n + 1) {
  background: none repeat scroll 0 0 #f7f9fc;
}
table.table-design-set-1 tr:nth-child(2n) {
  background: none repeat scroll 0 0 #fff;
}
table.table-design-set-1.user_edit,
table.table-design-set-1.contact_edit {
  background: none;
}
table.table-design-set-1.user_edit td,
table.table-design-set-1.contact_edit td {
  padding: 6px 25px;
}
table.table-design-set-1.user_edit th,
table.table-design-set-1.contact_edit th {
  background: none repeat scroll 0 0 #eee;
  text-align: left;
  height: 40px;
}
table.table-design-set-1.user_edit tr:nth-child(2n + 1),
table.table-design-set-1.contact_edit tr:nth-child(2n + 1) {
  background: none repeat scroll 0 0 #f5f5f5;
}
table.table-design-set-1.user_edit th::after,
table.table-design-set-1.contact_edit th::after {
  float: right;
  padding: 0;
  left: 19px;
  top: 10px;
  content: " ";
  height: 0;
  width: 0;
  position: relative;
  pointer-events: none;
  border: 10px solid transparent;
  border-left: #eee 10px solid;
  margin-top: -10px;
}
.information table.table-design-set-1.user_edit th::after {
  left: 32px;
}

.wtd {
  width: 8%;
}
.wtd_1 {
  width: 17%;
}
.t_rt {
  text-align: right;
}
.wtd_2 {
  width: 30%;
}
.wtd_3 {
  /*    width: 25%;*/
  width: 33%;
}
.wtd_4 {
  width: 15%;
}
.wtd_5 {
  width: 148px;
}
.entry input {
  padding: 6px;
  border: 1px solid #dedede;
  box-sizing: border-box;
  color: #555558;
}
.entry input.readonly_box {
  border: none;
  text-align: right;
}
.ce {
  text-align: center;
}
input.submit {
  padding: 12px 35px;
  cursor: pointer;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background: #1f9040;
  color: #fff;
  margin: 0 auto 40px;
}

input.submit:hover {
  background: #36b35b;
}
.entry .date {
  color: #285576;
  font-weight: bold;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.flex input[type="button"] {
  padding: 1px 13px;
  border-radius: 4px;
  background: #555;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}
.family {
  width: 160px;
}
input.short {
  width: 55px;
}
input.short1 {
  width: 77px;
}
input.w100 {
  width: 100%;
}
.lt {
  float: left;
}
.rt {
  float: right;
}
.ex {
  padding-top: 5px;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}
.entry textarea {
  padding: 7px;
  border: 1px solid #dedede;
  box-sizing: border-box;
  color: #555558;
  width: 100%;
}
.min_h {
  min-height: 100px;
  height: 100px;
}
.list_ps {
  padding: 20px 20px 12px;
  /* border: 1px solid #ccc; */
  background: #fcfcfc;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 3px solid #3498db;
}
.min_h1 {
  height: 18px;
}
.min_h2 {
  height: 42px;
}
.code_msg {
  background: #fb9f27;
  padding: 2px 13px;
  border-radius: 4px;
  color: #fff !important;
  margin-right: 5px;
  font-size: 13px;
}
/*初回ご登録フォーム*/
.contact table.table-design-set-1 th {
  text-align: left;
  font-size: 14px;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.point1 {
  margin-left: 235px;
}

/* チャット式お問い合わせ */
.contact-space {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  width: 100%;
}

.contact-space .contact-box {
  width: 49%;
}

.contact-space .messages {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    height: 400px;
    overflow-y: scroll; 
    overflow-x: hidden;
 }

 .contact-space .messages .message{
     margin-bottom: 10px;
 }

.contact-space .messages .message.admin{
    text-align: right;
}

.contact-space .messages .message .text{
    padding: 8px;
    border-radius: 5px;
    background-color: #e0e88a;
    max-width: 80%;
}

.contact-space .messages .message .file{
    margin-bottom: 10px;
    max-width: 30%;
}

.contact-space .messages .message .file img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border:none;
}

.contact-space .messages .message.admin .file,
.contact-space .messages .message.admin .text{
     margin-left: auto;
}

/* .contact-space .textarea{
    width: 48%;
    margin-left: 2%;
}

.contact-space .textarea textarea{
    width: 100%;
    height: 300px;
    font-size: 16px;
}

.contact-space .textarea .buttons #contact-submit{
    width: 60px;
    padding: 8px 0;
    text-align: center;
    background-color: #F68000;
    color: white;
    border-radius: 3px;
    margin: 20px auto 0;
    cursor: pointer;
    display: block;
}

.contact-space .textarea .buttons input[type="file"]{
    display: block;
    margin: 20px auto 0;
    text-align: center;
} */

.send_box {
  border: 1px solid #ccc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #f5f5f5;
  padding: 10px 20px;
}
.send_box_file {
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 10px 20px;
}
.send_head {
  display: flex;
  justify-content: space-between;
}
.send_body {
  margin-top: 10px;
}
.send_msg {
  display: flex;
	display: -webkit-flex; 
	display: -ms-flexbox;  
  justify-content: space-between;
  align-items: flex-end;
  margin-right: 20px;
  width: 100%;
}

.msg_send_Btn {
  background: #fb9f27;
  color: #fff;
  border-radius: 4px;
  padding: 8px 20px;
  white-space: nowrap;
  border: 0;
}

#contact-submit.msg_send_Btn {
  background: #fb9f27;
  color: #fff;
  border-radius: 4px;
  padding: 8px 20px;
  white-space: nowrap;
  border: 0;
  display: block;
  width: 50px;
  margin-left: 0;
  width: 60px;
  height: 30px;
}
.file-reset {
  background: #ddd;
}
.send_file {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.imagePreview {
  max-width: 200px;
  display: inline-block;
}
.file_box {
  color: #aaa;
  position: relative;
}
.file_box #file {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  padding: 0;
}
.acco_header {
  padding: 2px 5px;
  cursor: pointer;
}
.list_box {
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow-y: scroll;
  padding: 20px;
  max-height: 420px;
  background: #f5f5f5;
}
.direct-chat-box {
    width: 80%;
}
.direct-chat-msg {
  margin-bottom: 25px;
}
.direct-chat-infos {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.direct-chat-name {
  font-weight: 600;
}
.direct-chat-timestamp {
  font-size: .5rem;
}
.direct-chat-text {
  padding: 10px;
  border-radius: 5px;
	background: #fff;
	border: 1px solid #fff;
}
.direct-chat-text a {
  text-decoration: underline;
}
.direct-chat-text:before {
    border: solid transparent;
    border-right-color: #ffffff;
    content: ' ';
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
    border-width: 8px;
    margin-top: -8px;
}

.msg_admin .direct-chat-text {
  background: #3af;
  word-break: break-all;
  color: #fff;
  border: 1px solid #3af;
  position: relative;	
}
.msg_admin .direct-chat-text:before {
    border: solid #33aaff;
    border-right-color: #d2d6de;
    content: ' ';
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
    border-right-color: transparent;
    left: 100%;
    border: solid transparent;
    border-left-color: #33aaff;
    border-width: 8px;
    margin-top: -8px;
}
.direct-chat-msg label {
    font-size: .5rem;
    white-space: nowrap;
	 margin-right: 15px;
	text-align: right;
	width: 25%;
}
.direct-chat-msg   input[type="button"] {
    padding: 5px 13px;
	 margin-bottom: 5px;
}
.direct-chat-msg label span {
    display: block;
}
.msg_user .direct-chat-text {
    word-break: break-all;
    display: block;
    width: calc(100% - 20px);
	 position: relative;
}
.a-center {
    align-items: center;
}
.a-base {
    align-items: flex-end;
}
.push_mail {
  display: flex;
  align-items: center;
}
#pushomail {
  display: none;
}
input#pushomail+label {
  display: inline-block;
  position: relative;
  width: 54px;
  height: 20px;
  border-radius: 15px;
  cursor: pointer;
  color: #fff;
  background-color: #ccc;
  border: 1px solid #ccc;
}
input#pushomail+label:before {
  display: block;
  content: attr(data-off-label);
  position: absolute;
  top: -2px;
  right: 8px;
  color: #fff;
}
input#pushomail+label:after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
}
#pushomail:checked+label {
  border: 1px solid #499c55;
  background-color: #499c55;
}
#pushomail:checked+label::before {
  content: attr(data-on-label);
}
#pushomail:checked+label::after {
  left: 34px;
}
input, textarea {
    padding: 4px 10px;
    border: 1px solid #c1c1c1;
    box-sizing: border-box;
    color: #555558;
    border-radius: 4px;
}
input[type=file] {
    border: 0;
}
.search_box_no {
    padding: 5px 0;
    align-items: center;
	 float: left;
}