@charset "UTF-8";


    body {
        font-family: sans-serif;
        margin: 0;
        padding: 0;
        text-align: center;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        transition: background-image 0.5s ease;
        box-sizing: border-box;
        background-image: url('/images/youtube_embed/bg01_pc.jpg');
        overflow: hidden;
}

#thanks {
	background-image: none !important;
	background-color: #00923a;
}
    /* 動画コンテナ */
        .video-wrapper {
            max-width: 44%; 
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transition: all 0.5s ease;
            position: relative;
            z-index: 1;
            margin-top: 20px;
            margin-bottom: auto;
        }

    .video-wrapper.fullscreen {
        max-width: 100% !important;
        height: 100vh !important;
        aspect-ratio: auto;
        margin-top: 0 !important;
        position: fixed;
        top: 0; left: 0;
        z-index: 9998;
    }

    #player { width: 100%; height: 100%; }

    /* 操作パネル */
    #floating-control {
        position: fixed; bottom: 0; left: 0; width: 100%;
        background-color: rgba(0, 0, 0, 0.85); z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3); backdrop-filter: blur(10px);
        display: flex; flex-direction: column;
    }

    .seekbar-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 5px 15px; box-sizing: border-box; background: rgba(255, 255, 255, 0.1); }
    #seekbar { flex-grow: 1; height: 5px; cursor: pointer; accent-color: #07913b; }
    .time-display { color: #fff; font-size: 11px; font-family: monospace; min-width: 40px; }

    .control-row { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 8px 15px; flex-wrap: wrap; }
    .control-btn { padding: 8px 20px; cursor: pointer; border: none; border-radius: 5px; background-color: #ff0000; color: white; font-weight: bold; font-size: 16px; }
    .stop-btn { padding: 8px 20px; cursor: pointer; border: none; border-radius: 5px; background-color: #898989; color: white; font-weight: bold; font-size: 16px; }
    
    .volume-container, .bg-container, .speed-container { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #fff; }
    select, .fs-btn { padding: 5px; border-radius: 5px; border: none; background: rgba(255,255,255,0.9); cursor: pointer; font-size: 12px; }

.youtube_btn {
  display: inline-block;
    background-color: #ff0000; 
  padding: 7px 20px; 
  text-decoration: none; 
		border-radius: 30px; 
		    font-weight: bold;
	}
.youtube_btn a:link,.youtube_btn a:visited {color:#fff;text-decoration:none;}
.youtube_btn a:hover,.youtube_btn a:active {color:#fff;text-decoration:none;}


    /* 下部コメント（白） */
    .comment-row { background-color: #ffffff; padding: 8px 15px; font-size: 18px; color: #333; text-align: center; border-top: 1px solid #ddd; font-weight: bold; }
    
    /* 上部コメント（グレー） */
    .comment-row-top { background-color: #c2c2c2; padding: 3px 12px; font-size: 16px; color: #333; text-align: center; width: 100%; box-sizing: border-box; }

.box {
    width: 80%;
    height: 500px;
	margin: auto;
	background: #FFF;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
	justify-content: center;
	    flex-direction: column;
    border-radius: 30px;
}
p {
	font-size: 200%;
	font-weight: bold;
}

.btn a {
    display: inline-block;
    color: #FFF;
    text-align: center;

    padding: 10px 20px;
    border-radius: 25px;
    font-size: 100%;
    font-weight: bold;
    background-color: #07913b;}
.btn a:hover {
    text-decoration: none;}
.btn a:link,.btn a:visited {color:#FFF;text-decoration:none;}
.btn a:hover,.btn a:active {color:#FFF;text-decoration:none;}

.logo{
    width: 35%;
	height: auto;
	margin: 30px auto 0 auto;
	text-align:center;
}
.logo img{
    width: 100%;
}

/* 拡大モード（85%）の設定 */
#video-container.fullscreen {
    position: fixed !important;
    top: 0 !important;          /* ★上部0pxに固定 */
    left: 50% !important;
    transform: translateX(-50%) !important; /* 横方向のみ中央寄せ */
    
    width: 85vw !important;
    height: 85vh !important;
    
    max-width: none !important; 
    margin-top: 0 !important;   /* 上部0pxにするためマージンを消去 */
    z-index: 9999;
    background-color: black;
}

/* プレイヤー自体のサイズ維持 */
#video-container.fullscreen #player {
    width: 100% !important;
    height: 100% !important;
}

.sp {display: none !important;}
.pc {display: block !important;}

@media (max-width: 480px) {
	    body {
        justify-content: flex-start;
}
        .video-wrapper:not(.fullscreen) { max-width: 95% !important; margin-top: 20vw !important; margin-bottom: 20px; }
        .control-btn, .stop-btn { padding: 6px 12px; font-size: 14px; }
    .comment-row-top { background-color: #c2c2c2; padding: 3px 12px; font-size: 14px; color: #333; text-align: center; width: 95%; box-sizing: border-box; }

	p {
	font-size: 120%;
	}
	.pc {	display: none !important;}
	.sp {	display: block !important;}
.box {
		width: 90%;
		margin: auto;
	}

	/*button {
        display: none;
	}*/
	.btn a {
    display: inline-block;
    color: #FFF;
    text-align: center;

    padding: 10px 40px;
    border-radius: 15px;
    font-size: 100%;
    font-weight: bold;
    background-color: #07913b;}
.logo{
    width: 60%;
    　height: auto;
	}
	.logo img{
    width: 100%;
	}
	
	
.youtube_btn {
  display: inline-block;
    background-color: #ff0000; 
  padding: 16px 40px; 
  text-decoration: none; 
		border-radius: 30px; 
		    font-weight: bold;
	}
.youtube_btn a:link,.youtube_btn a:visited {color:#fff;text-decoration:none;}
.youtube_btn a:hover,.youtube_btn a:active {color:#fff;text-decoration:none;}	

}






