@charset "utf-8";
/*
　会員ライブ視聴ページ
*/

/* 
ログイン時に設定されるhtml margin-topは設定で解除できるけどとりあえずCSSで解除しておく
*/
html {
	margin-top: 0 !important;
}

/* woocommerce checkoutページ付きのユーザー視聴者ページ */
.page-template-page-live.woocommerce-checkout {

    
}
.page-template-page-live.woocommerce-checkout #main {
    position: relative;
}
.page-template-page-live.woocommerce-checkout .woocommerce {
    position: fixed;
    top: 0;
    transform: translateY(-110%);
    transition: 0.2s;
    z-index: 100;
    background: #fff;
    width: 95%;
    margin: auto;
    padding: 10px;
}

.page-template-page-live.woocommerce-checkout .woocommerce.active {
    transform: translateY(0%);
    position: relative;
}

.page-template-page-live.woocommerce-checkout .woocommerce-error {
    display: none;
}
#wrap-watch-video
{
    position: relative;
    max-width: 640px;
    margin: auto;
}

#watch-video
{
/*    position: absolute;	*/
    top: 0;
    left: 0;
    width: 100%;
	aspect-ratio: 9/16 ;
	/* border: 1px solid #ccc; */
}

#wrap-control-comment,
#wrap-control-command
{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}
/*コメント送信の指定*/
#wrap-control-comment{
	display: flex;
	justify-self: start;
}
#wrap-control-command{
	display: flex;
  justify-content: space-between;
}
#js-remote-streams {
   /* margin-bottom: 80px;*/
}
input#text_comment{
	width: 80%;
	box-shadow: none;
	border: #ddd 1px solid;
	
}
button#send_comment{
	font-size: .8rem;
	font-weight: 400;
	width: 20%;
}
#wrap-control-command button{
	width: 100%;

}
/*いいね、情報、終了ボタンの指定*/
button#command_nice,
button#command_purchase,
button#command_money,
button#command_info,
button#command_quit{
	
	font-size: .9rem;
	font-weight: 500;
}


/**********
モーダル
**********/
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
    width: calc(100% - 10px);
	/* background: #fff; */
	color: #fff;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	margin-bottom: 30px;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
    text-align: center;
    padding: 15px;
}
.modal-content-catch{
	margin: 0px 0 10px;
	font-weight: bold;
}
#info_caption{
	font-weight: bold;
	padding: 20px;
	font-size: 1.2rem;
}

div#info_caption:before, div#info_caption:after {
    content: "";
    display: inline-block;
    width: calc(50% - 68px);
    height: 1px;
    margin: 0 10px;
    background-color: #DDD;
    vertical-align: middle;
}

.info-label {
    text-align: left;
    font-size: 1.2rem;
    border-bottom: 1px solid yellow;
    margin-bottom: 5px;
}

.info-label + div {
    text-align: left;
    font-size: 1.0rem;
}
div + .info-label {
    margin-top: 12px;
}
#info-product {
	text-align: center;
}
div#info-product a {
    display: inline-block;
    background: #fff;
    padding: 6px 15px 5px 15px;
    margin-top: 10px;
    border-radius: 5px;
}

#money-container {
	font-size: 1.3rem;
}

#money-content p {
	margin-bottom: 15px;
}
div#money-content label {
    display: block;
    width: 120px;
    text-align: left;
    margin: auto;
    padding: 5px;
}
div#money-content label input {
	display: inline-block;
	margin-right: 10px;
}


#money-content {

}
/*動画表示エリア*/
.live_page{
	width: 830px;
	/* height: 100vh; */
	margin: 0 auto;
	min-height: 1127px;
}
@media (max-width:830px){
    .live_page{
        width: 100% ;
        height: auto ; 
        margin: 0 ;
    }
}

/* 
Footerエリア　ボタン等
*/

.live_page_footer {
/* position: fixed; */
    bottom: 0;
    width: 100%;
	margin-top:-56px;
    position: relative;
    z-index: 999;
}

#text_comment:focus {
	outline: none;
}

#wrap-control-command {
	display: flex;
    justify-content: space-between;
}
#wrap-control-command button {
	flex: 1 1 25%;
}
/*-----------
　ボタンの配色
　※テーマで設定してもOK
-----------*/
button, input[type=button], input[type=reset], input[type=submit], .button, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link, .added_to_cart {
    border: 0;
    border-radius: 0;
    background: none;
    background-color: #43454b;
    border-color: #43454b;
    color: #fff;
    cursor: pointer;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}
input[type=text], input[type=number], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], textarea, .input-text {
    padding: 0.6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 13%);
}

/*ボタンの配色変更
#command_good{
    background: #;
}
#command_purchase{
    background: #;
}
#command_money{
    background: #;
}
#command_info{
    background: #;
}
#command_quit{
    background: #;
}
*/

#unlock_mute {
    position: absolute;
    top:7%;
    left: 5%;
    padding: 5px 3px 5px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: normal;
}