/*スクロールバーカスタマイズ*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.1);
}

#loading_screen {
    width: 100%;
    height: 100%;
    background-color: #cacacaad;
    background-image: url("../images/loading.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: fixed;
    z-index: 1500;
    text-align: center;

}


#loading_screen p {
    bottom: 30%;
    left: 0;
    right: 0;
    position: absolute;
    font-size: 1.5em;
    font-weight: bold;
    color: #545454;
}

#login_logo {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#login_window {
    height: 300px;
    width: 320px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    padding-top: 20px;
    border: 1px solid;
    box-shadow: 0px 3px 3px 0px;
}

.login_input {
    width: 96%;
    border: 1px solid #a7a7a7;
    line-height: 1.2em;
    font-size: 0.9em;
    height: 40px;
    margin-bottom: 10px;
    padding-left: 10px;
}

#login_errmsg {
    font-size: 0.9em;
    color: #6d6d6d;
    margin-bottom: 10px;
}

.login_btn {
    font-size: 1em;
    padding: 0.2em 1.5em;
    color: #FFF;
    border-radius: 2px;
    height: 40px;
    width: 100%;
    margin-bottom: 0;
}

#login_window > button {
    background: #046C31;
    border-bottom: solid 4px #003a19;
    margin-top: 30px: width:100%;
}

#login_window > button:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}

.body_bg {
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url(../images/workwith_logo3.png);
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: 102%;
}

.g_menu {
    position: fixed;
    z-index: 50;
    bottom: 0;
    width: 100%;
    height: 10%;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    background-color: #4B5056;
}

.adding_item_wrap {
    width: 75%;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0;
}

.adding_item {
    display: inline-block;
    height: 100%;
    width: calc(100% / 3);
}

.adding_item > .tab_wrap {
    width: 10vw;
    height: 100%;
    min-width: min-content;
}

.tab_wrap {
    /*    width: 10%;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px 0;
    box-sizing: border-box;
    margin: 0 auto;
    min-width: 65px;
}

.tab_icon {
    /*    height: 70%;*/
    display: inline-block;
    z-index: 100;
    padding-bottom: 6vh;
    position: relative;
}

.tab_icon > svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    position: absolute;
    top: 0;
}

.tab_wrap.active svg {
    fill: #FF0099;
    filter: drop-shadow(0px 0px 5px #FF0099);
}

.tab_title {
    text-align: center;
    color: #fff;
    font-size: 18px;
}

#ip_setting_btn {
    width: 6vw;
    height: 6vw;
    min-width: 50px;
    min-height: 50px;
    object-fit: contain;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0 10px;
    z-index: 500;
    /*    box-sizing: border-box;*/
}

.operate_btn {
    font-size: 1em;
    padding: 0.2em 0.5em;
    color: #FFF;
    border-radius: 4px;
}

.modal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.modal_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
}

.login_modal_wrap {
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 100;
}

.modal_wrap {
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 100;
}

.ip_modal_wrap {
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 400;
}

.float_l {
    float: left;
}

.float_r {
    float: right;
}

.float_c {
    clear: both;
}

.flex_spa {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#ip_setting {
    width: 50%;
    height: 50%;
    min-width: 250px;
    min-height: 400px;
    background-color: #fff;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid;
    box-shadow: 0px 3px 3px 0px;
}

.ip_area > input {
    width: 20%;
    border: 1px solid;
    line-height: 1.2em;
    font-size: 1.2em;
    margin: 10px 0;
}

#ip_setting > button {
    background: #046C31;
    border-bottom: solid 4px #003a19;
}

#ip_setting > button:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}

#ip_setting > button:disabled {
    background: #b9b9b9;
    border-bottom: none;
}

.function_wrap {
    display: none;
    position: relative;
    width: 100%;
    /*    height: 100%;*/
    margin-bottom: 10vh;
}

.home {
    display: block;
    padding-top: 5%;
    overflow-y: scroll;
}

/*設定メニュー*/
.config {
    display: none;
    width: 20%;
    height: 35%;
    position: fixed;
    right: 0;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 32px;
    bottom: 0;
    margin: 0;
    border: 1px solid;
    box-shadow: 0px 3px 6px 0px;
    z-index: 100;
    padding: 15px;
    min-width: 220px;
    min-height: 250px;
}

#config > .tab_icon {
    z-index: 110;
}

.switch > table {
    width: 100%;
    color: #fff;
}

.switch > table th {
    text-align: left;
    padding: 2%;
}

.switch > table td {
    width: 50%;
    text-align: center;
    padding: 2%;
}

.shortcut_wrap {
    width: 60%;
    margin: 0 auto;
}

.shortcut_wrap > div {
    position: relative;
}

.flex_spa > div {
    width: 22%;
    margin: 10px 0;
    min-width: 150px;
}

.is-empty {
    height: 0;
    margin: 0;
    padding: 0;
}

.icon_button {
    box-shadow: 0px 6px 12px 0px;
    /*    padding: 1em;*/
    border: 2px solid #707070;
    border-radius: 27px;
    background: #fff;
    width: 100%;
    position: relative;
    padding-bottom: 100%;
    cursor: pointer;
    vertical-align: middle;
}

.icon_button:active {
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    box-shadow: none;
}

.icon_button.add_button > img {
    height: 70%;
    margin: auto;
    bottom: 0;
    width: 70%;
}

.icon_button > img {
    position: absolute;
    width: 90%;
    height: 68%;
    object-fit: contain;
    left: 0;
    top: 0;
    box-sizing: border-box;
    margin: 5% auto 0;
    right: 0;
}

.icon_button > p {
    overflow: hidden;
    height: 2em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 5%;
    font-size: 1.2em;
    line-height: 1em;
}

.add_action > .modal {
    width: 80%;
    height: 70%;
    min-height: 490px;
    margin: auto;
    background: #fff;
    border-radius: 51px;
    border: 1px solid #707070;
    box-shadow: 0px 3px 6px 0px;
    padding: 30px;
    box-sizing: border-box;
}

.add_action_list {
    display: flex;
    justify-content: center;
}

.add_action_list > li {
    width: 20%;
    list-style: none;
    text-align: center;
    color: #fff;
    background: #3B4043;
    border-radius: 4px;
    padding: 5px;
    margin: 0 2px;
}

.add_action_list > li.active {
    border: 1px solid #4B5056;
    background: #fff;
    color: #4B5056;
}

.add_action_content {
    width: 100%;
    height: 95%;
    margin: 0 auto;
    border-radius: 29px;
    border: 1px solid #707070;
    padding: 20px;
    box-sizing: border-box;
}

.add_action_content > div {
    max-height: 100%;
    height: auto;
    overflow: hidden;
    display: none;
    /*    padding: 10px;*/
}

.add_action_content > div.active {
    display: block;
    height: 100%;
}

.add_action_content > .flex_spa.active {
    display: flex;
    overflow: auto;
}



.presen_add_action > .modal {
    width: 80%;
    height: 70%;
    min-height: 490px;
    margin: auto;
    background: #fff;
    border-radius: 51px;
    border: 1px solid #707070;
    box-shadow: 0px 3px 6px 0px;
    padding: 30px;
    box-sizing: border-box;
}

.presen_add_action_list {
    display: flex;
    justify-content: center;
}

.presen_add_action_list > li {
    width: 20%;
    list-style: none;
    text-align: center;
    color: #fff;
    background: #3B4043;
    border-radius: 4px;
    padding: 5px;
    margin: 0 2px;
}

.presen_add_action_list > li.active {
    border: 1px solid #4B5056;
    background: #fff;
    color: #4B5056;
}

.presen_add_action_content {
    width: 100%;
    height: 95%;
    margin: 0 auto;
    border-radius: 29px;
    border: 1px solid #707070;
    padding: 20px;
    box-sizing: border-box;
}

.presen_add_action_content > div {
    max-height: 100%;
    height: auto;
    overflow: hidden;
    display: none;
    /*    padding: 10px;*/
}

.presen_add_action_content > div.active {
    display: block;
    height: 100%;
}

.presen_add_action_content > .flex_spa.active {
    display: flex;
    overflow: auto;
}

/*発話調整タブ*/
.utterance_content {
    width: 80%;
    margin: 0 auto;
    overflow: auto;
    /*    min-width: 600px;*/
    max-height: 90%;
}

#shortcut_speech_content {
    width: 100%;
    height: 10em;
    padding: 1em;
    border: 1px solid #707070;
    box-sizing: border-box;
    /*    margin: 1em 0;*/
    font-size: 16px;
}

.utterance_content input {
    line-height: 1.5em;
    border: 1px solid;
    width: 3em;
    font-size: 1.2em;
    margin-left: 5px;
}

.utterance_edit_text {
    position: relative;
}

.utterance_edit_text > textarea {
    width: 100%;
    height: 10em;
    padding: 0.5em;
    border: 1px solid #707070;
    box-sizing: border-box;
    /*    margin: 1em 0;*/
}

.utterance_flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0;
}

.emph_btn {
    background-color: #EC82BB;
    width: 28%;
    margin: 5px;
    /*    min-width: 140px;*/
}

.pau_box {
    display: flex;
    width: 35%;
    justify-content: space-around;
    margin: 0 5px;
    /*    min-width: 180px;*/
    border: 1px solid;
    padding: 0.5%;
}

.pau_btn {
    background-color: #48A3DA;
    width: 65%;
}

.lang-box {
    display: flex;
    /*    width: 32%;*/
    /*    justify-content: space-between;*/
    margin: 5px 0;
}

.lang-box > input {
    display: none;
}

.ja_btn {
    border: 0.1em solid #009514;
    color: #009514;
    margin: 0 5px;
}

input[name="lang"]:checked + label.ja_btn,
.ja_btn.selected {
    background-color: #009514;
    color: #fff;
}

.en_btn {
    border: 0.1em solid #0E00CB;
    color: #0E00CB;
    margin: 0 5px;
}

input[name="lang"]:checked + label.en_btn,
.en_btn.selected {
    background-color: #0E00CB;
    color: #fff;
}

.ch_btn {
    border: 0.1em solid #D90000;
    color: #D90000;
    margin: 0 5px;
}

input[name="lang"]:checked + label.ch_btn,
.ch_btn.selected {
    background-color: #D90000;
    color: #fff;
}

/*スライダー*/
.adjust_voice {
    width: 60%;
    /*    margin: 3% 0;*/
}

.slider_wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.slider_wrap > div {
    width: 75%;
    margin: 0.5em;
    display: inline-block;
    flex-grow: 1;
}

.slider_wrap > input {
    vertical-align: top;
}

.regist {
    background-color: #00B800;
}

.tab_utterance > .regist {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0.5em auto 0;
}

.tab_utterance > .regist:disabled {
    background: #b9b9b9;
}

.ui-corner-all {
    border-radius: 12px;
}

.ui-widget-header {
    background: #3B4043;
}

.ui-widget-content .ui-state-default {
    background: #3B4043;
    border: 2px solid #fff;
    width: 1em;
    height: 1em;
}

.motion_select {
    text-align: center;
    margin: 10px 0;
}

.motion_select > select {
    font-size: 1em;
    border: 1px solid;
    height: 2em;
}

.speak_ctrl > button {
    width: 25%;
    min-width: 60px;
}

.speak_ctrl > button > img {
    width: 100%;
}

.tab_presen > div {
    width: 30%;
    min-width: 250px;
}

.tab_presen > div > .icon_button {
    padding-bottom: 80%;
    box-shadow: none;
    border-radius: initial;
}

.tab_presen > div > .icon_button > img {
    border: 1px solid #707070;
}

.tab_presen > div > .icon_button > p {
    height: auto;
    font-size: 1.7em;
    height: 1.5em;
}

.regist_modal {
    display: none;
}

.regist_modal_bg {
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.regist_modal > .modal {
    width: 50%;
    height: 50%;
    background: #fff;
    z-index: 100;
    border: 1px solid;
    padding: 10px;
}

.regist_modal img {
    width: 100%;
    height: 70%;
    object-fit: contain;
}

.regist_modal p {
    text-align: center;
}

.motion_play {
    width: 48%;
    background: #000;
    margin: 10px 0;
}

#motion_regist {
    width: 48%;
    background: #000;
    margin: 10px 0;
}

/*プレゼン機能*/
.presentation > .flex_spa {
    padding: 5%;
}

.presentation .icon_button > div {
    padding-bottom: 80%;
}

.presentation > .flex_spa > div {
    min-width: 250px;
    position: relative;
}

.presentation > .flex_spa > div > .icon_button {
    padding-bottom: 80%;
}

.presentation > .flex_spa > div > .icon_button > img {
    border: 1px solid;
    border-radius: 20px;
}

.presentation > .flex_spa > div > .icon_button.add_button > img {
    border: none;
    border-radius: initial;
}

.presentation > .flex_spa > div > .icon_button > p {
    height: auto;
    font-size: 1.2em;
    height: 1.5em;
}

.switch__label {
    width: 50px;
    position: relative;
    display: inline-block;
}

.switch__content {
    display: block;
    cursor: pointer;
    position: relative;
    border-radius: 30px;
    height: 31px;
    overflow: hidden;
}

.switch__content:before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    top: 0;
    left: 0;
    border: 1.5px solid #E5E5EA;
    border-radius: 30px;
    background-color: #fff;
}

.switch__content:after {
    content: "";
    display: block;
    position: absolute;
    background-color: transparent;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    border-radius: 30px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.switch__input {
    display: none;
}

.switch__circle {
    display: block;
    top: 2px;
    left: 2px;
    position: absolute;
    -webkit-box-shadow: 0 2px 6px #999;
    box-shadow: 0 2px 6px #999;
    width: 27px;
    height: 27px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: #fff;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.switch__input:checked ~ .switch__circle {
    left: 21px;
}

.switch__input:checked ~ .switch__content:after {
    background-color: #FF0099;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*プレゼン編集画面*/
.presen_edit_part {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    background: #fff;
    top: 0;
    position: relative;
    display: none;
}

.presen_edit_header {
    width: 100%;
    height: 12%;
    position: fixed;
    top: 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    padding-right: 7vw;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #707070;
    z-index: 99;
}

.presen_edit_header > img {
    width: 20%;
}

.presen_edit_header > p {
    display: inline-block;
    width: 60%;
    border-bottom: 1px solid;
}

.presen_edit_header > p > input {
    width: 75%;
    font-size: 1.2em;
}

.presen_edit_header > .adjust_voice {
    display: inline-block;
    width: 30%;
    margin: 0;
    min-width: 295px;
}

.presen_edit_header > .adjust_voice .slider-range-min {
    margin: 0 0.5em;
}

.presen_edit_header > .adjust_voice input {
    line-height: 1.2em;
    border: 1px solid;
    width: 3em;
    font-size: 1em;
    margin-left: 5px;
}

.presen_edit_wrap {
    padding: 12vh 0;
}

.slide_thumbnail_box {
    width: 22%;
    height: 88%;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid;
    position: fixed;
    padding-bottom: 8%;
    box-sizing: border-box;
    background: #fff;
}

.add_thumbnail {
    content: '';
    background-image: url(../images/icon/icon_add.png);
    background-size: 35%;
    width: 80%;
    padding-bottom: 60%;
    display: block;
    background-repeat: no-repeat;
    margin: auto;
    background-position: center;
}

.slide_thumbnail_box > div {
    margin: 2%;
    position: relative;
}

.slide_thumbnail .delete_slide_btn {
    width: 10%;
    height: 20%;
    position: absolute;
    right: 0;
    left: auto;
    border: none;
}

/*
.slide_thumbnail_box>:last-child::after{
    display: none;
}
*/

.slide_thumbnail {
    padding-bottom: 56%;
    position: relative;
}

.slide_thumbnail > p {
    position: absolute;
    top: 0;
    background: #000;
    color: #fff;
    width: 10%;
    text-align: center;
    min-width: 2em;
    z-index: 1;
}

.slide_thumbnail > img {
    width: 87%;
    height: 100%;
    object-fit: contain;
    display: block;
    /*    margin: auto;*/
    border: 1px solid;
    position: absolute;
    right: 0;
    left: 0;
    background: #fff;
}

.presen_edit_content {
    margin-left: 22%;
    /*    padding: 2%;*/
    position: relative;
}

.presen_edit_content > div {
    position: relative;
    overflow-y: scroll;
}

.assembly.add_button > img {
    width: 7%;
    /*    height: 10%;*/
    margin: auto;
    display: block;
    position: relative;
    z-index: 100;
    min-width: 35px;
}

.assembly {
    border-top: 1px solid;
    position: relative;
    padding: 3%;
    z-index: 10;
}

.assembly::before {
    content: '';
    width: 0;
    height: 0;
    border: 4em solid transparent;
    border-top: 2em solid #4B5056;
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: -13px;
    z-index: -1;
}

/*
.assembly::after {
    content: '';
    background-image: url(../images/icon/icon_bin.png);
    position: absolute;
    bottom: 0px;
    right: 0;
    height: 40px;
    z-index: 19;
    display: inline-block;
    background-size: cover;
    background-position: top;
    width: 40px;
    padding: 10px;
    box-sizing: border-box;
    margin: 10px 0;
}
*/

.assembly.add_button::after,
.assembly.turn_over::after {
    display: none;
}

.assembly_name {
    display: inline-block;
    border: 1px solid;
    padding: 0.5em 2em;
    border-radius: 16px;
    width: 15%;
    text-align: center;
    vertical-align: middle;
    margin: 0 10px;
    min-width: 128px;
}

.assembly select,
.assembly input {
    font-size: 0.9em;
    vertical-align: middle;
    border: 1px solid;
    vertical-align: middle;
    margin-left: 5px;
}

.action_div {
    width: 20%;
    min-width: 150px;
}

.assembly > .utterance_content {
    width: 100%;
}

.assembly .utterance_edit_text {
    width: 62%;
    float: left;
    padding: 0 1em 1em 0;
    box-sizing: border-box;
}

.assembly .utterance_edit_text > textarea {
    resize: vertical;
    box-sizing: border-box;
    margin: 1em 0;
}

.assembly .operate_btn {
    font-size: 1em;
    white-space: nowrap;
}

.assembly .motion_select {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 1em;
    margin: 0;
}

.assembly .adjust_voice {
    width: 38%;
}

.assembly .speak_ctrl {
    width: 38%;
    justify-content: flex-end;
    float: right;
    margin: 3% 0;
}

.assembly .speak_ctrl > button {
    width: 20%;
    min-width: 50px;
}

.assembly .utterance_flex label {
    font-size: 0.8em;
}

.assembly .emph_btn {
    width: auto;
}

.assembly .pau_box {
    width: auto;
}

.save_presen {
    padding: 1%;
    text-align: center;
    width: 15%;
}

#save_presen {
    background: #00B800;
}



@media screen and (max-width:1024px) {
    .shortcut_wrap {
        width: 80%;
    }

    .utterance_content {
        width: 100%;
    }
}

@media screen and (max-width:840px) {
    .tab_title {
        font-size: 15px;
    }

    .add_action > .modal {
        width: 90%;
        padding: 20px;
    }

    .utterance_flex,
    .presen_edit_header {
        font-size: 0.9em;
    }

    .presen_edit_header > img {
        position: absolute;
        top: 0;
    }
}

@media screen and (max-width:620px) {
    .tab_title {
        font-size: 12px;
    }

    .add_action > .modal {
        width: 95%;
        font-size: 0.8em;
    }

    .add_action_content {
        /*        height: 80%;*/
    }

    .tab_presen > div {
        min-width: 190px;
    }
}

@media screen and (max-width:530px) {
    .tab_icon {
        /*        height: 60%;*/
    }

    .tab_icon > svg {
        /*        height: 80%;*/
    }

    .tab_title {
        font-size: 8px;
    }

    .emph_btn {
        width: 40%;
    }

    .pau_box {
        width: 50%;
    }

    .lang-box {
        width: 40%;
    }

    .lang-box {
        justify-content: flex-start;
    }

    .adjust_voice {
        float: none;
        width: 100%;
    }

    .speak_ctrl > button {
        width: 60px;
    }

    .adjust_voice .add_action > .modal,
    .add_action_content {
        padding: 10px;
    }

    .add_action > .modal {
        border-radius: 30px;
    }

    #shortcut_speech_content {
        height: 5em;
        padding: 0.5em;

    }

    .operate_btn {
        font-size: auto;
    }
}

@media screen and (max-width:400px) {
    .add_action > .modal {
        font-size: 0.7em;
        padding: 10px;
    }

    .flex_spa > div {
        min-width: 120px;
    }
}

@media screen and (max-width:370px) {
    .tab_title {
        display: none;
    }
}

@media screen and (max-height:400px) {
    .tab_icon {
        padding-bottom: 35px;
    }
}

@media screen and (min-height:1500px) {
    .presen_edit_header {
        font-size: 1.8em;
    }

    .pau_box {
        width: 50%;
    }
}


/*アニメーション付与*/

.swing {
    -webkit-animation: swing 0.1s infinite linear alternate;
    animation: swing 0.1s infinite linear alternate;
}

@-webkit-keyframes swing {
    0% {
        -webkit-transform: translate(0, 0) rotate(-3deg);
    }

    50% {
        -webkit-transform: translate(0, -1px) rotate(0deg);
    }

    100% {
        -webkit-transform: translate(0, 0)rotate(3deg);
    }
}

@keyframes swing {
    0% {
        transform: translate(0, 0) rotate(-3deg);
    }

    50% {
        transform: translate(0, -1px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0)rotate(3deg);
    }
}

.shortcut_wrap .swing::before {
    content: '';
    background-image: url(../images/icon/icon_close.png);
    position: absolute;
    top: -15%;
    left: -15%;
    height: 25%;
    z-index: 19;
    display: inline-block;
    background-size: cover;
    background-position: top;
    width: 25%;
    margin: 10px;
}

.presen_icon.swing::before {
    content: '';
    background-image: url(../images/icon/icon_close.png);
    position: absolute;
    top: -15%;
    left: -12%;
    height: 25%;
    z-index: 19;
    display: inline-block;
    background-size: cover;
    background-position: top;
    width: 20%;
    margin: 10px;
}

#drop_zone {
    height: 300px;
    width: 320px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    padding-top: 20px;
    border: 1px solid;
    box-shadow: 0px 3px 3px 0px;

    padding: 0.2em 0.5em;
    background: #ffffff;
    box-shadow: 0px 0px 0px 10px #ffffff;
    border: dashed 2px #5d5d5d;
    text-align: center;
}

#drop_zone p {
    margin: 0;
    padding: 0;
}

canvas {
    width: 87%;
    height: 100%;
    object-fit: contain;
    display: block;
    /*    margin: auto;*/
    border: 1px solid;
    position: absolute;
    right: 0;
    left: 0;
    background-color: white;
}


#select_action {
    width: 50%;
    min-width: 500px;
    height: 30%;
    background: #fff;
    border: 2px solid #707070;
    border-radius: 27px;
    padding: 15px;
    min-height: 210px;
}

#select_action > div {
    display: flex;
    justify-content: space-around;
}

#select_action > p {
    text-align: center;
    padding-bottom: 1em;
}

.slide_delete_modal {
    position: absolute;
    right: 0;
    background: #00000096;
    text-align: center;
    color: #fff;
    padding: 5px;
    z-index: 40;
}

.delete {
    background: red;
}

.slide_delete_modal > .cancel {
    border: 1px solid;
}

.delete_assembly_wrap {
    text-align: right;
}

.delete_assembly_wrap > .delete_assembly_btn {
    width: 5%;
    min-width: 40px;
}

.assembly_delete_modal {
    position: absolute;
    right: 0;
    background: #00000096;
    text-align: center;
    color: #fff;
    padding: 5px;
    z-index: 40;
    bottom: 0;
}

.presen_setting_modal > .modal_bg {
    background-color: rgba(255, 255, 255, 0);
}

.presen_setting_modal > .modal {
    width: 30%;
    height: 50%;
    min-width: 300px;
    min-height: 420px;
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    justify-content: space-around;
    align-items: flex-start;
}

.presen_setting_modal > .modal > button {
    width: 40%;
}

.presen_setting_img {
    width: 100%;
    height: 60%;
    object-fit: contain;
    background: #fff;
}

.presen_setting {
    width: 100%;
}

.presen_setting > p {
    text-align: center;
    font-size: 0.9em;
    padding: 0.5em;
}

.presen_setting > table {
    width: 100%;
}

#presen_edit_button {
    background: #D90000;
}

#presen_play_button {
    background: #00B800;
}

#presen_controller_button {
    background: #00B800;
}

.presen_play_wrap {
    background: #fff;
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 100;
}

.presen_play_wrap > div {
    position: relative;
    height: 100%;
    display: flex;
}

.presen_play_wrap > div {
    position: relative;
    max-height: 100vh;
}

#presen_ctrl_bar > #presen_stop_btn {
    bottom: 0;
    left: 0;
    z-index: 10;
    margin-right: auto;
}

.presen_image_wrap {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
}

.presen_image_wrap > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    background: #fff;
    top: 0;
    max-height: 100vh;
}

#ip_msg {
    clear: both;
    color: red;
}

.robo_ctrl_btn:disabled {
    background: rgb(210, 210, 210) !important;
}

.operate_btn:disabled {
    background: rgb(210, 210, 210) !important;
}

.speak_ctrl > .robo_ctrl_btn:disabled {
    background: none !important;
    opacity: 0.4;
}

#posture_btn {
    background: #fe0098;
    font-size: 0.8em;
}

#face_reco > .tab_title {
    color: #8e8e8e;
}

#face_reco svg {
    fill: #8e8e8e;
    filter: none;
}

.presen_edit_cancel {
    background: #D90000;
}

#presen_ctrl_bar {
    height: 7%;
    min-height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.55);
    /*    background: rgba(0, 0, 0, 0);*/
    padding: 10px 0;
    box-sizing: border-box;
    z-index: 100;
    min-height: 70px;
}

/*
#presen_ctrl_bar:hover {
    height: 7%;
    min-height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.55);
    padding: 10px 0;
    box-sizing: border-box;
    z-index: 100;
    min-height: 70px;
}
*/

#presen_ctrl_bar > img {
    height: 100%;
    margin: 0 3%;
    filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.8));
    max-width: 15%;
    object-fit: contain;
}

.presen_config {
    display: none;
    width: 20%;
    height: 16%;
    position: fixed;
    right: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 32px;
    bottom: 0;
    margin: 0;
    border: 1px solid;
    box-shadow: 0px 3px 6px 0px;
    /*    z-index: 100;*/
    padding: 15px;
    min-width: 220px;
    min-height: 160px;
    color: #fff;
    padding-bottom: 8vh;
}

.presen_config img {
    width: 20%;
    min-width: 40px;
    padding: 4% 0;
    filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.8));
}

.presen_config .volume_slider {
    margin: 3% 0;
}

#presen_config_btn {
    z-index: 10;
}

.presen_config_bg {
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.08);
}

#repeat_btn {
    visibility: visible;
}

#next_btn {
    visibility: visible;
}

.presen_controller > .modal {
    width: 90%;
    height: 95%;
    flex-wrap: wrap;
    color: #fff;
    text-align: center;
}

.presen_controller > .modal > button {
    width: 40%;
}

.presen_controller {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.presen_controller_img {
    width: 100%;
    height: 30%;
    object-fit: contain;
    background: #fff;
    max-width: 500px;
}

.presen_controller > p {
    text-align: center;
    font-size: 1.2em;
    padding: 0.5em;
}

.presen_controller > table {
    width: 100%;
}

.blank {
    width: 40%;
}

#presen_control_panel {
    height: 100%;
    min-height: 50px;
    width: 100%;
    max-width: 500px;
    /* position: absolute; */
    bottom: 0;
    padding: 10px 0;
    box-sizing: border-box;
    z-index: 100;
    min-height: 70px;
    margin: 0 auto;
}

#prev_btn {}

#presen_control_panel img {
    margin: 0 3%;
    filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.8));
    max-width: 30%;
    width: 25%;
    object-fit: contain;
    min-width: 95px;
    min-height: 95px;
    max-height: 125px;
}

.controller_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
}

.controll_wrap {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 25px;
}

.ctrl_volume {
    margin: 0 15px;
}

.ctrl_label {
    margin-left: 10px;
}

#presen_control_panel > #controller_stop_btn {
    top: 0;
    left: 0;
    z-index: 10;
    margin: 0;
    max-width: 50px;
    min-width: 50px;
    position: absolute;
}

.presen_delete_modal {
    position: absolute;
    right: 0;
    background: #00000096;
    text-align: center;
    color: #fff;
    padding: 5px;
    z-index: 51;
    height: 35%;
    bottom: 0;
    width: 78%;
}

.presen_delete_modal > .operate_btn {
    margin: 2%;
}

.presen_delete_wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

#presen_delete_cancel {
    border: 1px solid;
}

/*free_talk*/

.talk_history{
    margin:15px;
    width:48%;
    max-width:679px;
    height:80vh;
    border: solid 1px #000;
    border-radius: 10px;
    padding: 0 10px 10px 10px;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
}

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

/*吹き出し（NAO）*/
.balloon5 {
  width: 80%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 80%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative;
  margin: 5px 0 0 85px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px;
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}

/*吹き出し（User）*/
.balloon2-right {
  position: relative;
  display: inline-block;
  margin: 0 15px 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 80%;
  color: #555;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #555;
  box-sizing: border-box;
  border-radius: 15px;
  min-height: 50px;
  float:right;
}

.balloon2-right:before {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 12px solid #FFF;
  z-index: 2;
}

.balloon2-right:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-left: 14px solid #555;
  z-index: 1;
}

.balloon2-right p {
  margin: 0;
  padding: 0;
}

/*ユーザー情報*/
.freetalk_interface{
    position:absolute;
    display:none;
    top:0;
    right:0;
    margin: 0 10px;
    width: 45%;

}

.target_user_profile{
    background-color: #fff;
    border:solid 1px #000;
    border-radius: 10px;
    padding: 10px;
}

.target_user_profile img{
    float:right;
    width:100px;
    height:auto;
}

.target_user_profile p{
    margin:10px;
    font-size:1.3em;
    font-weight: bold;
}

.target_user_introduction{
    background-color: #fff;
    border:solid 1px #000;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.introduction_title{
    font-weight: bold;
}

.freetalk_modal {
    position: absolute;
/*    right: 0;*/
    background: #00000096;
    text-align: center;
    color: #fff;
    padding: 5px;
    z-index: 40;
    top: -100%;
    left: 50%;
    /* height: 89%; */
    transform: translate(-35%, 0);
    display: none;
}

.freetalk_modal > button{
    background: #00B800;
}
