@charset "utf-8";
/*////////////////////////////////////////////////////////////////
initialization
////////////////////////////////////////////////////////////////*/
*{
    font-family:"Lucida Grande","Hiragino Kaku Gothic ProN","Meiryo","sans-serif";
    margin:0;
    padding:0;
	position:relative;
}
/*////////////////////////////////////////////////////////////////
common
////////////////////////////////////////////////////////////////*/
.clearfix{
    min-height:1px;
    overflow:hidden;
}
.clearfix:after{
    display:block;
    clear:both;
    height:0px;
    visibility:hidden;
    content:" ";
}
.float_left{
    float:left;
}
.float_right{
    float:right;
}
.font_xsmall{
    font-size:x-small;
}
.font_small{
    font-size:small;
}
.font_black{
    color:#000000;
}
.font_gray{
    color:#606060;
}
.font_lightgray{
    color:#C0C0C0;
}
.font_deepred{
    color:#CC0000;
}
.font_red{
    color:#F06060;
}
.font_deepblue{
    color:#0000CC;
}
.font_blue{
    color:#6060F0;
}
.font_skyblue{
    color:#80A0F0;
}
.font_deepgreen{
    color:#00A000;
}
.font_thickgreen{
    color:#00CC00;
}
.font_green{
    color:#60FF60;
}
.font_litegray{
    color:#C0C0C0;
}
.font_yellow{
    color:#E0B000;
}
.font_orange{
    color:#FF5E19;
}
.font_citrus{
    color:#FF8119;
}
.font_purple{
    color:#C400CC;
}
.font_indigo{
    color:#272672;
}
.font_gag{
    color:#E54500;
}
.font_ingale{
    color:#6D9A4A;
}
.font_brown{
    color:#7C6035;
}
.font_bubbly{
    color:#4E2F4F;
}
.font_pink{
    color:#EF7585;
}
.font_bold{
    font-weight:bold;
}
.text_left{
    text-align:left;
}
.text_center{
    text-align:center;
}
.text_right{
    text-align:right;
}
.m_top_05em{
    margin-top:.5em;
}
.m_top_1em{
    margin-top:1em;
}
.m_top_10{
    margin-top:10px;
}
.m_bottom_05em{
    margin-bottom:.5em;
}
.centering{
    margin-left:auto;
    margin-right:auto;
}
.equal_interval_font{
    font-family:"Osaka−等幅","ＭＳ ゴシック","Consolas","Courier New","Monaco","Courier","monospace";
    letter-spacing:0;
    line-height:1.3em;
}
/*////////////////////////////////////////////////////////////////
Discordボタン
////////////////////////////////////////////////////////////////*/
.discord_button{
    width:200px;
    max-width:90%;
    height:50px;
    overflow:hidden;
    margin:5px auto;
}
.discord_button>a>img{
    position:absolute;
    top:0;
}
.discord_button>a>img:hover{
    top:-50px;
}
/*////////////////////////////////////////////////////////////////
color square buttom
////////////////////////////////////////////////////////////////*/
.m_b_buttom{
    display:block;
    color:#FFF;
    font-weight:bold;
    text-align:center;
    background:-webkit-gradient(linear,left top,left bottom,from(#3060FF),to(#0000FF));
    background:-moz-linear-gradient(top,#3060FF 0%,#0000FF);
    background:  -o-linear-gradient(top,#3060FF 0%,#0000FF);
    background: -ms-linear-gradient(top,#3060FF 0%,#0000FF);
    background:     linear-gradient(top,#3060FF 0%,#0000FF);
    border:1px solid #DDD;
    padding:10px 15px;
    z-index:2;
}
.m_b_buttom.hover{
    border:1px solid #000;
    cursor:pointer;
}
.m_o_buttom{
    display:block;
    color:#FFF;
    font-weight:bold;
    text-align:center;
    background:-webkit-gradient(linear,left top,left bottom,from(#FF8119),to(#FF5E19));
    background:-moz-linear-gradient(top,#FF8119 0%,#FF5E19);
    background:  -o-linear-gradient(top,#FF8119 0%,#FF5E19);
    background: -ms-linear-gradient(top,#FF8119 0%,#FF5E19);
    background:     linear-gradient(top,#FF8119 0%,#FF5E19);
    border:1px solid #DDD;
    padding:10px 15px;
    z-index:2;
}
.m_o_buttom.hover{
    border:1px solid #000;
    cursor:pointer;
}
.m_g_buttom{
    display:block;
    color:#FFF;
    font-weight:bold;
    text-align:center;
    background:-webkit-gradient(linear,left top,left bottom,from(#C0C0C0),to(#909090));
    background:-moz-linear-gradient(top,#C0C0C0 0%,#909090);
    background:  -o-linear-gradient(top,#C0C0C0 0%,#909090);
    background: -ms-linear-gradient(top,#C0C0C0 0%,#909090);
    background:     linear-gradient(top,#C0C0C0 0%,#909090);
    border:1px solid #DDD;
    padding:10px 15px;
    z-index:2;
}
.m_g_buttom.hover{
    border:1px solid #000;
    cursor:pointer;
}
/* ========================================================================
 * jQuery UI 置換用: ミニ resizable のハンドル
 * (draggable/resizable を vanilla JS で再実装、2026-10-31)
 * ======================================================================== */
.or-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    cursor: nwse-resize;
    background:
        linear-gradient(135deg, transparent 0%, transparent 50%, #999 50%, #999 60%, transparent 60%, transparent 70%, #999 70%, #999 80%, transparent 80%);
    z-index: 100;
}
.or-resize-handle:hover {
    background:
        linear-gradient(135deg, transparent 0%, transparent 50%, #333 50%, #333 60%, transparent 60%, transparent 70%, #333 70%, #333 80%, transparent 80%);
}

/* ========================================================================
 * jQuery UI dialog 置換用: <dialog> 要素のスタイル
 * (2026-10-31)
 * ======================================================================== */
.or-dialog {
    padding: 0;
    border: 1px solid #000;
    border-radius: 3px;
    background: #FFF;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden; /* ダイアログ自体はスクロールさせない (内側 form/p がスクロール) */
    /* 画面中央に配置 (ブラウザによってネイティブ挙動が異なるため明示) */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* open 時のみ flex 構造にする (<dialog> のデフォルト display:none を尊重) */
.or-dialog[open] {
    display: flex;
    flex-direction: column;
}
.or-dialog::backdrop {
    background: rgba(170, 170, 170, 0.5);
}
.or-dialog-title {
    margin: 0;
    padding: 10px 14px;
    padding-right: 40px; /* ×ボタン分の余白 */
    background: #FF8119; /* オンセンルームのアクセントカラー (ロゴ色) */
    color: #FFF;
    border-bottom: 1px solid #000;
    font-size: 15px;
    font-weight: bold;
    position: relative;
}
.or-dialog-close {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    user-select: none;
    border-radius: 3px;
}
.or-dialog-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFE;
}
/* onclick 属性を持つ要素 (特に tr や span) にポインタカーソル */
[onclick], [onClick] {
    cursor: pointer;
}
/* ========================================================================
 * ルーム一覧テーブル (トップページ)
 * ======================================================================== */
.roomlist_table {
    width: 100%;
    table-layout: fixed; /* 列幅指定を効かせる */
}
.roomlist_table .col_name {
    width: auto; /* 残りすべてを割り当て (ルーム名列を広く) */
    text-align: left;
    padding-left: 10px;
}
.roomlist_table td.col_name,
.roomlist_table tr td:first-child {
    text-align: left;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.roomlist_table .col_dice { width: 110px; }
.roomlist_table .col_obs  { width: 46px; }
.roomlist_table .col_pass { width: 46px; }
.roomlist_table .col_mem  { width: 60px; }
.roomlist_table .col_time { width: 90px; }
.roomlist_table .col_date { width: 150px; }
.or-dialog > form,
.or-dialog > p {
    padding: 12px;
    margin: 0;
    overflow: auto; /* 中身が多い場合はこの部分だけスクロール */
    flex: 1 1 auto;
}
/* ボタン領域: form 内では form 下部に、直下のときは dialog 下部に固定 */
.or-dialog-buttons {
    text-align: right;
    padding: 8px 12px;
    border-top: 1px solid #DDD;
    background: #F6F6F6;
    flex: 0 0 auto;
}
/* form 内のボタン領域は form の padding の分の調整 */
.or-dialog > form > .or-dialog-buttons {
    margin: 12px -12px -12px -12px;
}
.or-dialog-buttons button {
    padding: 4px 16px;
    cursor: pointer;
}
/* ダイアログ内のラベル (p) と入力欄の見た目を揃える */
.or-dialog > form p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}
.or-dialog > form input[type="text"],
.or-dialog > form input[type="password"],
.or-dialog > form select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #BBB;
    border-radius: 3px;
    margin-top: 2px;
}
.or-dialog > form input[type="text"]:focus,
.or-dialog > form input[type="password"]:focus,
.or-dialog > form select:focus {
    outline: 2px solid #FFC98A;
    outline-offset: -1px;
    border-color: #FE7F00;
}
.or-dialog > form input[type="radio"] {
    margin-right: 2px;
    cursor: pointer;
}
.or-dialog > form input[type="radio"] + label,
.or-dialog > form label {
    cursor: pointer;
    margin-right: 10px;
}
