@charset "UTF-8";

#container-header{
    /*　ヘッダーのバックグラウンドイメージ */
    background-image: url("../img/blank_avatar.svg");
    background-color: #6495ed;
    height: 80px;
    width: 650px;
    position: fixed;
    display: block;
    right: 5px;
    bottom: 0;
    cursor: pointer;
    z-index: 1000;
}

#container-header-title {
    color: rgb(255, 255, 255);
    font-size: 1.4rem;
    position: absolute;
    top: 22%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%)
}

.container-title-wrapper {
    display: inline-block;
}

#container-header-text {
    color: rgb(0, 0, 0);
    text-align: center;
    position: absolute;
    top: 71%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 1.4rem;
}

#chat-frame {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 648px;
    border: solid 1px gray;
    background-color: #ffffff;
    z-index: 200;
}

#container-header-logo {
    /* ヘッダーに挿入するロゴイメージ */
    background: url("../img/sample-image.svg") no-repeat center;
    position: absolute;
    width: 120px;
    height: 40px;
    top: 0;
    right: 0;
    /* 保存されたイメージのサイズに応じて「cover」・「contain」で表示の調整が必要 */
    background-size: cover;
}

#container-chat-frame {
    position: fixed;
    right: 5px;
    bottom: 0;
    /* チャット全体の高さ */
    height: 650px;
    width: 650px;
    display: none;
    z-index: 100;
}

@media only screen and ( max-width: 670px) {
    #chat-frame {
        width: 100%;
        height: 100%;
        right: 0;
    }
    #container-chat-frame {
        right: 0;
        height: 100%;
        width: 100%;
    }
    #container-header {
        width: 100%;
    }
    #container-header-title{
        font-size: 80%;
    }
    #container-header-text {
        font-size: 60%;
    }
}

