/**
 * (c) 2025 Passlogy Co., Ltd. All Rights Reserved.
 * 
 * https://www.passlogy.com/pdf/PassLogicEndUserLicenseAgreem_ent_ja.pdf
 * https://www.passlogy.com/pdf/PassLogicEndUserLicenseAgreem_ent_en.pdf
 */
.randamNumbarWidth {
    width: 100%;
}

#randamNumbarTable1st {
    background-color: #E3E3E3;
    padding: 8px;
}

#randamNumbarTable2nd {
    background-color: #C9C9C9;
    padding: 8px;
}

#randamNumbarTable3rd {
    background-color: #E3E3E3;
    padding: 8px;
}

#randamNumbarTable4th {
    background-color: #C9C9C9;
    padding: 8px;
}

#randamNumbarTable1stwithGuide {
    background-color: #E3E3E3;
}

#randamNumbarTable2ndwithGuide {
    background-color: #C9C9C9;
}

#randamNumbarTable3rdwithGuide {
    background-color: #E3E3E3;
}

#randamNumbarTable4thwithGuide {
    background-color: #C9C9C9;
}

table#randamNumbar>tbody>tr td {
    display: grid;
}

/* ガイド付きの場合*/
#randamNumbarTable1stwithGuide,
#randamNumbarTable2stwithGuide,
#randamNumbarTable3stwithGuide {
    padding: 0px 1px 1px;
}

.randamNumberBox {
    float: left;
    margin: 10px 10px 0 0;
}

/* 乱数表のマスの幅と高さの比率を一定にする　*/
.randamNumbarWidth tr {
    width: 100%;
    display: flex;
    flex-direction: row;
}

/* 乱数表のマスの幅と高さの比率を一定にする　*/
.randamNumbarWidth tr td {
    width: 100%;
    margin: 3px;
}

/* 乱数表のマスのradiusを調整。数字の位置の調整はpositionで行う。*/
.randamNumberBoxRadius {
    width: 100%;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    background-color: #ffffff;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    position: relative;
}

/* 乱数表のマスの幅と高さの比率を一定にする*/
.randamNumberBoxRadius:before {
    content: "";
    display: block;
    padding-top: 98%;
}

/* マス内の数字の位置の調整はpositionで行う。*/
.randamNumberBoxRadius p {
    font-size: xx-large;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.randamNumberBoxGuideNone {
    background-color: #f3f3f3;
    margin: 3px 3px 1px 3px !important;
}

.randamNumberBoxGuideRow {
    background-color: #eb790e;
    margin: 3px 3px 1px 3px !important;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.randamNumberBoxGuideCol {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #208ba1;
    font-weight: bold;
    color: #FFF;
    width: 10px;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.secured {
    text-align: right;
    font-size: 12px;
    color: #bbb;
    margin: 1px 0;
}

/* soft key */
/* ソフトキーの幅や色味　*/
#softkey {
    margin: 30px 0 0 3px;
}

.keyboardNum {
    width: 45px;
    height: 45px;
    background-color: #e7e7e7;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    position: relative;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.keyboardNumInner {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 45px;
    height: 45px;
    text-align: center;
    background-color: #f8f8f8;
    border: 1px solid #c1c1c1;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    font-size: xx-large;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
}

/* ソフトキーホバー時のアクションを追加*/
.keyboardNumInner:hover {
    top: -2px;
    left: -2px;
}

.keyboardNumInner p {
    font-size: 42px;
}

.numbar {
    display: block;
    float: left;
    margin: 0 10px 0 0;
    padding: 0 0 10px 0;
}

.delBox {
    width: 45px;
    height: 45px;
    background-color: #e7e7e7;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    position: relative;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

/* 削除キーホバー時のアクション　*/
.delBoxInner {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 45px;
    height: 45px;
    background-color: #6c6c6c;
    border: 1px solid #a09f9f;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    font-size: xx-large;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 6px;
}

.delBoxInner:hover {
    top: -2px;
    left: -2px;
    opacity: 0.8;
}

.del {
    display: block;
    float: left;
    margin: 0 10px 10px 0;
}

.board {
    border: 1px solid gray;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-collapse: separate;
    background-color: white;
    text-align: left;
    margin: 5px;
    padding: 10px;
}