@charset "utf-8";
    
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
select.select {
    width: 100%;
    padding: 20px 10px;
    font-size: 1.1rem;
}
@media screen and (max-width: 896px) {
    select.select {
        width: 100%;
    }
}

/* スイッチ風チェックボックス */
.toggle_switch {
    display: table;
    font-size: 60px;
}
.toggle_switch > input {
    display: none;
}
.toggle_switch > label {
    display: block;
    position: relative;
    width: 0.9em;
    height: 0.5em;
    border-radius: 0.5em;
    /*background-color: #2b2a2f;*/
    background-color: #ccc;
    cursor: pointer;
}
.toggle_switch > input:checked + label {
    background-color: #2dcb45;
}
.toggle_switch > label::before {
    position: absolute;
    top: 0.05em;
    left: 0.05em;
    width: calc(0.5em - 0.1em);
    height: calc(0.5em - 0.1em);
    border-radius: calc(1em - 0.1em);
    background-color: #fff;
    transition: 0.5s;
    content: "";
}
.toggle_switch > input:checked + label::before {
    left: calc(100% - 0.5em + 0.05em);
}

form #message {
    color:#ff0;
    font-size:105%;
    /*font-weight-bolder;*/
    /*text-align:center;*/
}

/* ログイン画面 */
/*@import url(https://fonts.googleapis.com/css?family=Open+Sans);*/
.login .btn { display: inline-block; *display: inline; *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; line-height: 18px; color: #333333; text-align: center;text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); vertical-align: middle; background-color: #f5f5f5; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(top, #ffffff, #e6e6e6); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#ffffff, endColorstr=#e6e6e6, GradientType=0); border-color: #e6e6e6 #e6e6e6 #e6e6e6; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border: 1px solid #e6e6e6; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; *margin-left: .3em; }
.login .btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] { background-color: #e6e6e6; }
.login .btn-large { padding: 14px 14px; font-size: 15px; line-height: normal; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.login .btn-primary, .login .btn-primary:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.login .btn-primary.active { color: rgba(255, 255, 255, 0.75); }
.login .btn-primary { background-color: #4a77d4; background-image: -moz-linear-gradient(top, #6eb6de, #4a77d4); background-image: -ms-linear-gradient(top, #6eb6de, #4a77d4); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6eb6de), to(#4a77d4)); background-image: -webkit-linear-gradient(top, #6eb6de, #4a77d4); background-image: -o-linear-gradient(top, #6eb6de, #4a77d4); background-image: linear-gradient(top, #6eb6de, #4a77d4); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#6eb6de, endColorstr=#4a77d4, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
.login .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { filter: none; background-color: #4a77d4; }
.login .btn-block { width: 100%; display:block; }

.login * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }

.login .btn-setting, .login .btn-setting:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.login .btn-setting { background-color: #d4884a; background-image: -moz-linear-gradient(top, #decd6e, #d4884a); background-image: -ms-linear-gradient(top, #decd6e, #d4884a); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#decd6e), to(#d4884a)); background-image: -webkit-linear-gradient(top, #decd6e, #d4884a); background-image: -o-linear-gradient(top, #decd6e, #d4884a); background-image: linear-gradient(top, #decd6e, #d4884a); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#decd6e, endColorstr=#d4884a, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
    
.login .btn-red, .login .btn-red:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.login .btn-red { background-color: #ff0000; background-image: -moz-linear-gradient(top, #e04d4d, #ff0000); background-image: -ms-linear-gradient(top, #e04d4d, #ff0000); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e04d4d), to(#ff0000)); background-image: -webkit-linear-gradient(top, #e04d4d, #ff0000); background-image: -o-linear-gradient(top, #e04d4d, #ff0000); background-image: linear-gradient(top, #df3e04d4d434, #ff0000); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#e04d4d, endColorstr=#ff0000, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
    
.login .btn-close, .login .btn-close:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.login .btn-close { background-color: #000000; background-image: -moz-linear-gradient(top, #53534d, #000000); background-image: -ms-linear-gradient(top, #53534d, #000000); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#53534d), to(#000000)); background-image: -webkit-linear-gradient(top, #53534d, #000000); background-image: -o-linear-gradient(top, #53534d, #000000); background-image: linear-gradient(top, #53534d, #000000); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#53534d, endColorstr=#000000, GradientType=0);  border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
    

.login { 
    width:600px;
    margin: 20px auto;
    color: #fff;
}
@media screen and (max-width: 896px) {
    .login {
        width: 100%;
    }
}
.login h1 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    text-align: center;
}
.login p {
    text-align: left;
}
.login input:not([type="checkbox"]) { 
    width: 100%; 
    margin-bottom: 10px; 
    background: rgba(0,0,0,0.3);
    border: none;
    outline: none;
    padding: 15px;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    border-radius: 4px;
    box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
    -webkit-transition: box-shadow .5s ease;
    -moz-transition: box-shadow .5s ease;
    -o-transition: box-shadow .5s ease;
    -ms-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
}
.login input:not([type="checkbox"]):not(.password) {
    border: 1px solid rgba(255,255,255,0.3);
}
.login input:not([type="checkbox"]):focus {
    box-shadow: inset 0 -5px 45px rgba(100,100,100,0.4), 0 1px 1px rgba(255,255,255,0.2);
}
.login button { 
    font-size: 20px;
}
.eye-wrapper {
    display: flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 0 15px 0 0;
}
.eye-wrapper .password {
    font-size: 16px;
}
.eye-wrapper i {
    flex: 1;
    appearance: none;
    padding: 15px 0 15px 15px;
    border-radius: 4px 0 0 4px;
}

/* チェックボックス全体 */
.checknox-wrap {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}
/* デフォルトチェックボックス非表示 */
.checknox-wrap input {
    display: none;
}
/* チェックボックスのスタイル */
.checknox-wrap .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #999999;
    box-sizing: border-box;
    border-radius: 4px;
}
/* チェックマーク作成 */
.checknox-wrap .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: 2px solid #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* チェック時のスタイル */
.checknox-wrap input:checked + .checkmark {
    background-color: #0070bd;
    border: 2px solid #0070bd;
}
/* チェック時 チェックマーク表示 */
.checknox-wrap input:checked + .checkmark:after {
    display: block;
}


#talk_wrap {
    position:relative;
    max-width: 940px;
    margin: 0 auto 30px;
    text-align: left;
    color: #fff;
}
@media screen and (max-width: 896px) {
    #talk_wrap {
        width: 100%;
    }
}
.start_talk_btn {
    width: 100%;
    padding: 20px 0;
    border-radius: 10px;
    font-size: 120%;
    background-color: #cc3366;
    color: #fff;
}


/* ステータス(管理画面) */
.switch_talk_status {
    cursor: pointer;
}

/* ステータス */
.disp_status:not(.not) {
    width: 80%;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
}
.disp_status:not(.not) .apply_talk_status {
    width: 32%;
}
.disp_status:not(.not) .apply_talk_status img {
    width: 100%;
}
@media screen and (max-width: 896px) {
    .disp_status:not(.not) {
        width: 100%;
    }
}


/* 設定画面 */
.setting_wrap {
    margin: 0 0 20px;
}
#setting {
    /*background: #f00;*/
    margin: 0;
    padding: 10px;
}
.setting_wrap table {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    /*border: none;*/
}
.setting_wrap table th, .setting_wrap table td {
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /*border: none;*/
}
.setting_wrap table th {
    width: 35%;
}
.setting_wrap table td {
}

.setting_wrap dl {
    margin: 0 0 20px;
}
.setting_wrap dt {
    margin: 0 0 2px;
}
.setting_wrap dd {
    margin: 0 0 20px;
}
.setting_wrap dd:last-child {
    margin-bottom: 0;
}
.setting_wrap .modify_btn {
    margin-bottom: 6px; 
    background: #ff9900;
    color: #fff;
    font-size:0.8rem;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 5px 10px;
    margin: 0;
    border-radius: 8px;
}


/* チャット画面 */
.chat_area {
    padding: 0;
    /*background: #7293c2;*/
}
#chat_box {
    height: 420px;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    overflow: auto;
}
.chat-center {
    text-align: center;
    margin: 0 0 20px;
}
.chat-center p {
    font-size: 11px;
    margin: 2px;
}
.chat-center .box {
    display: inline-block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 3px 10px;
}
.chat-right, .chat-left {
    position: relative;
    text-align: left; /* 追加 */
    margin: 0 0 20px;
}
.chat-right .text, .chat-left .text {
    width: 100%;
    padding: 6px 8px;
    /*border: 1px solid  #aaa;*/
    border-radius: 12px;
    display: inline-block;
}
.chat-right .photo, .chat-left .photo {
    width: 160px;
}
.chat-right {
    max-width: 80%;
    float: right;
    clear:both;
}
.chat-left {
    max-width: 80%;
    float: left;
    clear:both;
}
.chat-left .text_area .name, .chat-right .text_area .name {
    font-size: 12px;
    margin-bottom: 0;
}
.chat-right .text_area, .chat-left .text_area {
    float: left;
    /*width: calc(100% - 40px); /* #chat_box figure分引く */
    width: 100%;
    word-wrap: break-word;
}
.chat-right .text {
    background-color: #85e249; /* 追加 */
    color: #000;
}
.chat-left .text {
    background-color: #fff;
    color: #000;
}
.chat-right ul, .chat-left ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.chat-right li, .chat-left li {
    line-height: 1.3rem;
    margin: 0;
    padding: 0;
}
#chat_box .figure {
    width: 40px;
    height: 40px;
    margin-bottom: 1px;
    border: 1px solid #fff;
    border-radius: 50%;
    overflow: hidden;
}
.chat-right .figure, .chat-left .figure {
    float: left;
    margin-right: 6px;
}
.chat-right .figure {
    text-align: right;
    margin-right: 2px;
}
#chat_box .figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
}


/*******************************
 * メッセージボックス
 *******************************/
 .send_box {
    box-sizing: border-box;
    color: #fff;
}
.send_box #message {
    width: auto;
    flex: 1;
    height: 2.3rem;
    border-radius: 6px;
    padding: 8px;
    margin: 0;
    background: #000;
    color: #fff;
    font-size: 18px;
    line-height: 1.3rem;
    resize: none; /* ユーザーによるリサイズを無効化 */
    overflow: hidden; /* 高さを超えたコンテンツを隠す */
}
.send_box .send_icon {
    font-size: 28px;
}
.send_box .send_message {
    display: flex;
    align-items: center;
    margin-left: 6px;
    cursor: pointer;
    background: rgb(225, 148, 89);
    border: none;
    outline: none;
    padding: 3px 10px;
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
    -webkit-transition: box-shadow .5s ease;
    -moz-transition: box-shadow .5s ease;
    -o-transition: box-shadow .5s ease;
    -ms-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
}
.send_box .send_message, .send_box .reload_message, .send_box .upload_file {
    margin-top: 3px;
}
.send_box .reload_message {
    margin-left: 15px;
}
.send_box .upload_file {
    margin-right: 10px;
}

/*******************************
 * アップロード画面
 *******************************/
#upload_wrap {
    display: none;
    z-index: 99999;
    width: 100%;
    position: fixed;
    margin: 0 auto;
    top: 100px;
    left: 0;
}
#upload_area {
    box-sizing: border-box;
    width: 640px;
    max-width: 100%;
    overflow-y: auto;
    margin: 0 auto 30px;
    padding: 20px;
    background: #000;
    border: 1px solid #666;
}
#upload_wrap .title {
    text-align: center;
    margin-bottom: 20px;
}
#upload_wrap #form_photo_wrap {
    overflow-y: auto;
}
#upload_wrap #file {
    margin-bottom: 20px;
    font-size: 1.2rem;
}
#upload_wrap .upload_btn, #upload_wrap .cancel_btn {
    width: 48%;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}
#upload_wrap .btn_wrap .upload_btn {
    float: left;
    background: #e49f0b;
}
#upload_wrap .btn_wrap .cancel_btn {
    float: right;
    background: #f00;
}
#upload_wrap .select_file {
    width: 100%;
    border: none;
    outline: none;
    padding: 20px 0;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    background: #1e90ff;
    border-radius: 16px;
    margin: 0 0 20px;
}
#upload_overlay {
    display: none;
    z-index: 99998;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: #000;
    opacity: 0.6;
}


.table-wrap {
    overflow-x: scroll;
}
.table-wrap > table {
    white-space: nowrap;
}
.tatable.list {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
}
table.list th, table.list td {
    color: #fff;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}
table.list th:first-child {
    border-left: 1px solid #999;
}
table.list td:first-child {
    border-left: 1px solid #999;
}
table.list th {
    padding: 10px;
    border-top: 1px solid #999;
}
table.list td {
    padding: 10px;
}
table.list.center td {
    text-align: center !important;
}
table.list.td-no-padd td {
    padding: 0 !important;
}
table.list.td-no-padd-tb td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
table.list.td-no-padd-lr td {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
