/* style.css */
@charset "utf-8";
html{
    touch-action: manipulation;
}

*{
    margin: 0;
    padding: 0;
}

#counter{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
}

#counter2{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
}

#counter2_1{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
    color: white;
    background-color: red;
}

#counter2_2{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
    color: white;
    background-color: green;
}

#counter2_3{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
    color: white;
    background-color: blue;
}

#counter3{
    width: 100%;
    padding: 1em 0;
    font-size: 64pt;
    text-align: center;
}

#btnAdd{
    width: 100%;
    font-size: 64pt;
}

#btnAdd2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}

#btnAdd2_1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: red;
}

#btnAdd2_2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: green;
}

#btnAdd2_3{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: blue;
}

#btnAdd3{
    width: 100%;
    font-size: 64pt;
}

#title{
    width: 100%;
    font-size: 48pt;
}

/*Brythonの電卓のスタイルシート*/
*{
    font-family: sans-serif;
    font-weight: normal;
    font-size: 1.1em;
}
td{
    background-color: #ccc;
    padding: 10px 30px 10px 30px;
    border-radius: 0.2em;
    text-align: center;
    cursor: default;
}
#result{
    border-color: #000;
    border-width: 1px;
    border-style: solid;
    padding: 10px 30px 10px 30px;
    text-align: right;
}

/*javascript&pythonのデータアクセス*/
#Title{
    font-size:72pt;
}
#displayCount1{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:red;
}
#displayCount2{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:green;
}
#displayCount3{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:blue;
}
#buttonRed{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:red;
    border-radius: 30px;
    border:15px outset rgb(128,0,0);
}
#buttonRed:hover{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:rgb(255, 32, 32);
    border-radius: 30px;
    border:15px outset rgb(128,0,0);
}
#buttonGreen{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:green;
    border-radius: 30px;
    border:15px outset rgb(0,64,0);
}
#buttonGreen:hover{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:rgb(32,128,32);
    border-radius: 30px;
    border:15px outset rgb(0,64,0);
}
#buttonBlue{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:blue;
    border-radius: 30px;
    border:15px outset rgb(0,0,128);
}
#buttonBlue:hover{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:rgb(32,32,255);
    border-radius: 30px;
    border:15px outset rgb(0,0,128);
}
#Goukei{
    font-size:96pt;
}
#displayData1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: red;
}
#displayData2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: green;
}
#displayData3{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: blue;
}

/*ラブマゲドンシステムのCSS*/
#LoveTitle{
    margin: auto;
    width: 100%;
    font-size: 72pt;
    text-align: center;
}
#LoveText1{
    margin: auto;
    width: 100%;
    font-size: 50pt;
    text-align: center;
}
#LoveDisplayNo{
    margin: auto;
    width: 100%;
    font-size: 100pt;
    color: white;
    background-color: black;
}
#LoveDisplayButton{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}

/*クロマキーのシステムCSS*/
#ChromakeyTitle{
    margin: auto;
    width: 100%;
    font-size: 36pt;
    text-align: center;
}
#displayBackNo{
    margin: auto;
    width: 100%;
    font-size: 48pt;
}
#ChromakeyTable{
    width: 100%;
    table-layout: fixed;
}
#ChromakeyTd{
    width: 25%;
    padding: 5px;
}
#ChromakeyDisplayButton{
    margin: 0 auto;
    width: 100%;
    height: 120px;
    font-size: 42pt;
    /*color: white;*/
    /*background-color: black;*/
}
#ChromakeyDisplayShutter{
    margin: auto;
    width: 100%;
    font-size: 96pt;
    color: white;
    background-color: black;
}
#tdbar{
    background-color:white;
    height: 20pt;
}

/*ものまねモンスターのシステムCSS*/
#MonoMonsTitle{
    margin: auto;
    width: 100%;
    font-size: 72pt;
    text-align: center;
}
#MonoMonsText1{
    margin: auto;
    width: 100%;
    font-size: 50pt;
    text-align: center;
}
#MonoMonsDisplayNo{
    margin: auto;
    width: 100%;
    font-size: 100pt;
    color: white;
    background-color: black;
}
#MonoMonsDisplayButton{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton3{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton4{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton5{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton6{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton7{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton8{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton9{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsDisplayButton10{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}


/*ものまねモンスター[電卓Ver]のシステムCSS*/
#MonoMonsDTitle{
    margin: auto;
    width: 100%;
    font-size: 72pt;
    text-align: center;
}
#MonoMonsDText1{
    margin: auto;
    width: 100%;
    font-size: 40pt;
    text-align: center;
}
#MonoMonsDText2{
    margin: auto;
    width: 100%;
    font-size: 40pt;
    text-align: center;
}
#MonoMons_PointA{
    margin: auto;
    width: 100%;
    font-size: 80pt;
    color: white;
    background-color: black;
}
#MonoMons_PointB{
    margin: auto;
    width: 100%;
    font-size: 80pt;
    color: white;
    background-color: black;
}
#MonoMonsPointABtn1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn3{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn4{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn5{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn6{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn7{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn8{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn9{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointABtn0{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointAClear{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn3{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn4{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn5{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn6{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn7{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn8{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn9{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBBtn0{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}
#MonoMonsPointBClear{
    margin: auto;
    width: 100%;
    font-size: 64pt;
}


/*ファイルのアップロード/ダウンロードのシステムCSS*/
#FileUD_modal{
    display: none; /* デフォルトでは表示しない */
    position: fixed; /* 画面全体に固定表示 */
    z-index: 1; /* 他のコンテンツの上に表示 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* 画面がスクロール可能に */
    background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒背景 */
}
#FileUD_modalcontent{
    margin: 5% auto; /* 上下中央に配置 */
    display: block; /* ブロック要素として表示 */
    width: 80%; /* モーダルの幅を80%に設定 */
    max-width: 700px; /* 最大幅を700pxに設定 */
    height: auto; /* 画像の高さを自動設定 */
    max-height: 80%; /* 画像の最大高さを80%に設定 */
}
#FileUD_modalvideo {
    margin: 5% auto; /* 上下中央に配置 */
    display: block; /* ブロック要素として表示 */
    width: 80%; /* モーダルの幅を80%に設定 */
    max-width: 700px; /* 最大幅を700pxに設定 */
    height: auto; /* 動画の高さを自動設定 */
    max-height: 80%; /* 動画の最大高さを80%に設定 */
}
#FileUD_BtnClose{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/*アンコールの選曲画面CSS*/
#EncoreText1{
    margin: auto;
    width: 100%;
    font-size: 40pt;  
}
#EncoreDisplayData1{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: red;
}
#EncoreDisplayData2{
    margin: auto;
    width: 100%;
    font-size: 64pt;
    color: white;
    background-color: green;
}
#EncoreDisplayButton1{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:red;
    border-radius: 30px;
    border:15px outset rgb(128,0,0);
}
#EncoreDisplayButton2{
    margin: auto;
    width: 100%;
    font-size:80pt;
    color:white;
    background-color:green;
    border-radius: 30px;
    border:15px outset rgb(0,64,0);
}

/*ブロック崩し*/
#scoreModalPC {   /* モーダルの背景 */
    display: none; /* 初期状態で非表示 */
    position: absolute; 
    top: 25%;
    left: 25%;
    width: 50%;
    height: 20%;
    margin: 10% auto;
    background: rgb(128, 255, 128);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1000; /* モーダルを前面に表示 */
}
#scoreModalMobile { /* スマホ用モーダルのスタイル */
    display: none; /* 初期状態で非表示 */
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    margin: 20% auto;
    background: rgb(128, 128, 255);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    z-index: 1000; /* モーダルを前面に表示 */
    pointer-events: auto;
}
#modalContent { /* モーダルの内容 */
    position: absolute;
    top: 50%; /* 縦方向中央揃え */
    left: 50%; /* 横方向中央揃え */
    transform: translate(-50%, -50%); /* 中央に配置 */
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
}
#playerName {
    width: 80%;
    margin: 10px 0;
    padding: 8px;
    font-size: 14px;
}
#playerNamePC {
    width: 80%;
    margin: 10px 0;
    padding: 8px;
    font-size: 14px;
}
#playerNameMobile {
    width: 80%;
    margin: 16px 0;
    padding: 20px;
    font-size: 50px;
}
#rankingTable table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
#rankingTable th, #rankingTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
#rankingTable th {
    background-color: #f4f4f4;
    font-weight: bold;
}
#rankingTable td {
    background-color: #fff;
}
#rankingTable tr:hover {    /* オプション: テーブルのホバー効果 */
    background-color: #f9f9f9;
}
#scoreModalMobile {
    z-index: 1000; /* モーダルが一番前面に来るように設定 */
}
#submitButtonMobile {
    pointer-events: auto !important; /* クリックを確実にキャプチャ */
}
@media(max-width: 768px){
    #scoreModalPC{
        display: none;
    }
    #scoreModalMobile{
        display: block;
    }
}
@media (min-width: 769px) {
    #scoreModalMobile {
        display: none;
    }
    #scoreModalPC {
        display: block;
    }
}

/*大阪万博写真撮影*/
#oosakaexpo_downloadImg{
    max-width: 100%;
    height: auto;   /* アスペクト比を維持しながら高さを自動調整 */
    display: block; /* 余分な隙間を消すためにブロック要素にする */
    margin: 0 auto; /* 画像を中央揃え */
}
.ButtonContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}
