img {
    max-width: 100%;
}
.closeBg {
    max-width: 340px;
    width: 72%;
    position: fixed;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 10000;
}
.closeBg .closeBgWrap {
    width: 100%;
    position: relative;
    line-height: 1;
}
.closeBg .closeBgWrap p {
    font-size: 1rem;
    position: absolute;
    top: 41%;
    left: 29%;
    /* color: #fff;*/
    color: #333;
    font-weight: bold;

    line-height: 1.25;
    z-index: 10001;
}
.openBg {
    display: none;
    width: 410px;
    position: absolute;
    /* right: 0; */
    right: auto !important;
    bottom: 35px !important;
    z-index: 1051 !important;
}
.openBg .openBgWrap {
    width: 410px; 
    position: relative;
    margin: 0 auto; 
    background: #39312f;
    background: #666666;;
    padding: 15px;
    padding: 0px;
    border-radius: 15px;
    box-shadow: 3px 3px 10px 3px #cbc7c4;
}
.openBg .openBgWrap .closeBtn {
    width: 16px;
    height: 16px;
    margin: 8px 12px 16px auto;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.openBg .openBgWrap .closeBtn:hover {
    cursor: pointer;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
}
.openBg .openBgWrap .contentInner {
    position: relative;
}
.openBg .openBgWrap .contentInner {
    position: relative;
}
.openBg .openBgWrap .contentInner iframe {	
    /*width: 99%;*/
    width: 100%;
    height: 100%;
    position: absolute;
    /*bottom: 0*/;
    bottom: 8px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10001;
}
.openBg .openBgWrap .download {
    border-radius: 15px;
    overflow: hidden;
    width: 50%;
    margin: 15px auto 0;
}
@media screen and (min-width: 1582px) {
    .openBg .openBgWrap {
        left: calc((100vw - 1582px) / 2 + 10px) !important;
    }
    }

@media screen and (max-width: 1581px) {
    .openBg .openBgWrap {
    left: 6px !important;
    }
}
    /* チャットウィンドウ幅指定 */
@media only screen and (max-width: 736px) {
    .closeBg {
      /* チャットウィンドウ幅指定 */
        width: 88%;
    }
    .openBg .openBgWrap .download {
      /* チャットウィンドウ幅指定 */
      width: 60%;	
    }
}
@media only screen and (max-width: 414px) {
      /* チャットウィンドウ幅指定 */
    .openBg .openBgWrap .download {
        width: 80%;
    }
}