@charset "utf-8";
/*共通*/
html body {
    margin: 0;
    background-color: #FFFFFF !important;
}
header {
    background-color: #008000;
    color: #FFFFFF;
    height: 50px;
    box-sizing: border-box;
    /*border-bottom: 1px solid rgb(229, 229, 229);*/
    /*box-shadow: rgb(88 88 88 / 30%) 0px 10px 5px -11px;*/
    /*position: fixed;*/
    width: 100%;
    position: fixed;
}
h1 {
    height: 100%;
    margin: 0!important;
    padding: 0 0 0 10px;
    font-size: 1.6em !important;
    display: flex;
    place-items: center;
    float: left;
}
aside.right-side {
    background: #FFFFFF;
}
.back_btn {
    border: 1px solid #FFFFFF;
    border-radius: 0.375rem;
    padding: 0 0.2rem 0 0.2rem;
    position: fixed;
    margin-top: 8px;
    right: 10px;
    width: 49px;
    height: 35px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
}
.back_btn a {
    color: #FFFFFF;
}
section.content, .board_contents  {
    background-color: #FFFFFF;
}
.board_contents {
    max-width: 1450px;
    margin: auto;
}
.board_contents.projector {
    max-width: 49%;
    float: left;
    /*height: calc(100%);*/
    padding: 20px 15px;
    border-radius: 5px;
    background-color: rgba(255,255,255, 0.9);
    overflow-y: auto;
}
.modal-content .modal-header .close {
    margin-top: 5px;
}
.content-title h2 {
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0 20px 0;
    padding-left:  12px;
}
.content-title.pc {
    display: inherit;
}
@media screen and (max-width: 768px) {
    h1 {
        width: calc(100% - 126px);
    }
    .left-side.sidebar-offcanvas {
        position: fixed;
    }
    .pc {
        display: none !important;
    }
    .content-title h2 {
        padding-left:  0;
    }
    .board_contents.projector {
        max-width: 100%;
    }
}
@media screen and (min-width: 769px) {
    .sp {
        display: none !important;
    }
}
span.back_btn:hover, span.back_btn:active, span.back_btn:focus {
    outline: none;
    text-decoration: none;
    color: #72afd2;
}

/*エラーメッセージ*/
.alert.alert-danger {
    margin: 20px 20px 20px 20px;
}
/*成功メッセージ*/
.alert.alert-success {
    margin: 20px 20px 20px 20px;
}

/*ハンバーガーメニュー*/
.container {
    width: 100%;
    height: 200px;
    background-color: #ccc;
}
:root {
    --hamburger-menu-size: 100px; /* メニューの大きさ */
    --hamburger-menu-padding: 12px;
    --hamburger-menu-border-px: 6px; /* 線の太さ */
    --hamburger-menu-border-color: #FFFFFF; /* 線の色 */
    --hamburger-menu-transition: 0.3s; /* アニメーション秒数 */
}
.hamburger-menu {
    cursor: pointer;
    position: relative;
    width: 49px;
    height: 50px;
    background-color: #008000;
    float: left;
    border-style: groove;
    border-color: #cccccc;
    border-width: 0 1px 0 0;
}
.hamburger-menu-line {
    position: absolute;
    transition: var(--hamburger-menu-transition);
    width: calc(100% - var(--hamburger-menu-padding) * 2);
    height: 2px;
    background-color: var(--hamburger-menu-border-color);
}
.line-top {
    top: calc(var(--hamburger-menu-padding) + 3px);
    left: var(--hamburger-menu-padding);
}
.line-middle {
    top: calc(54% - var(--hamburger-menu-border-px)/2);
    left: var(--hamburger-menu-padding);
}
.line-bottom {
    bottom: calc(var(--hamburger-menu-padding) + 2px);
    left: var(--hamburger-menu-padding);
}
.hamburger-menu-active > .line-top {
    top: calc(50% - var(--hamburger-menu-border-px)/2);
    transform: rotate(45deg);
}
.hamburger-menu-active > .line-middle {
    width: 0;
    height: 0;
    left: var(--hamburger-menu-padding);
}
.hamburger-menu-active > .line-bottom {
    top: calc(50% - var(--hamburger-menu-border-px)/2);
    transform: rotate(-45deg);
}
/* トーナメント一覧 */
.tournament-list {
    width: 100%;
    color: black;
}
.tournament-list a {
    display: block;
}
.tournament-list a:hover {
    background-color: #F9FBF9 !important;
    color: #008000;
}
.tournament-list a:first-child div {
    border-top: 1px solid #EBEBEB;
}
.tournament-list div {
    padding: 1rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #EBEBEB;
    /*background-color: #FFFFFF;*/
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
}

.tournament-list .angle-right {
    padding-right: 8px;
    text-align: right;
    font-weight: bold;
    font-size: 20px;
}
.tournament-list .tournament-name {
    width: auto;
    min-width: calc(100% - 460px);
}
.tournament-list .tournament-date {
    min-width: 260px;
    padding-right: 60px;
    text-align: right;
}
.tournament-list .tournament-date-count {
    min-width: 80px;
}
.tournament-list .tournament-status {
    min-width: 120px;
}
@media screen and (max-width: 768px) {
    .tournament-list .tournament-name {
        width: 100%;
    }
    .board_contents h2 {
        margin-top: 0;
    }
}
/*共有キー*/
.watching_contents {
    width: 100%;
    text-align: center;
}
.watching_text {
    margin-top: 20vh;
    font-size: 20px;
}
.watching_text p {
    margin-bottom: 5vh;
}
.watching_key,
.watching_button {
    margin-top: 5vh;
}
.watching_key input {
    height: 48px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 3px;
}
@media screen and (max-width: 286px) {
    .watching_key input {
        width: 100%;
    }
}
.watching_button button {
    border-radius: 0.375rem;
    font-size: 23px;
}

/*リーダーボード*/
a, a:visited, a:hover, a:active {
    color: inherit;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    text-decoration:none;
}
.r_list {
    display: inline-block;
    margin-bottom: 10px;
}
table tr td {
    white-space: nowrap;
}
.board_list {
    overflow-x: auto;
    overflow-y: auto;
}
.board_contents {
    width: 100%;
}
.table-leader-board thead tr th,
.table-leader-board tbody tr td {
    text-align: center;
}
.table-leader-board thead tr th:nth-child(2),
.table-leader-board tbody tr td:nth-child(2) {
    text-align: left;
    min-width: 180px;
}
.table-leader-board .score {
    padding-left: 8px;
    padding-right: 8px;
}
@media screen and (min-width: 342px) {
    .dayComment {
        float: right;
    }
}

/*リーダーボード プロジェクター*/
.pager ul.pagination li>a, .pager ul.pagination li>span {
    border-radius: 0;
    padding: 6px 12px;
    cursor: pointer;
}
.pager ul.pagination>li:first-child>a, .pager ul.pagination>li:first-child>span {
    border-top-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
}
.pager ul.pagination>li:last-child>a, .pager ul.pagination>li:last-child>span {
    border-top-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 4px;
}
.board_top {
    display: flex;
    align-items: center;
}
.pager.board_top {
    white-space: nowrap;
    margin: 0;
}
.board_top ul {
    float: right;
    white-space: nowrap;
    width: max-content;
    margin: 0
}
.board_updated {
    width: auto;
    margin-right: 10px;
}
.dropdown-menu.custom_dropdown {
    top: 50px;
    left: auto;
    right: 3px;
    margin: 0;
    height: 66px;
    width: 90px;
    align-items: center;
    border: none;
}
.dropdown-menu.custom_dropdown.open {
    display: flex;
}
@media screen and (max-width: 768px) {
    .dropdown-menu.custom_dropdown.open {
        position: fixed;
    }
}
.dropdown-menu.custom_dropdown.open .inner li {
    display: block;
    cursor: pointer;
}
.dayComment-left{
    padding-left: 20px;
    margin-top:10px;
    float: left;
}
/* ホールバイホール */
#table_holebyhole tr, #table_holebyhole th, #table_holebyhole td {
    vertical-align: middle;
    text-align: center;
}
table thead {
    background: #eee;
}
.tabList li {
    list-style: none;
    display: table-cell;
    margin: 3px;
    padding-right: 10px;
}
.tabList a {
    display: table-cell;
    padding: 10px 16px;
    color: #000000;
    border: 1px solid #324f85;
}
.tabList li.active a {
    background: #324f85;
    color: #ffffff;
    pointer-events:none;
}
.tabList li a:hover {
    color: #ffffff;
    background: #324f85;
}
.thPos, .thPlayer, .holebyholeTable tbody tr td:first-child, .holebyholeTable tbody tr td:nth-child(2) {
    border-right: none!important;
}
.thPlayer, .thScore, .holebyholeTable tbody tr td:nth-child(2), .holebyholeTable tbody tr td:nth-child(3) {
    border-left: none!important;
}
.holebyholeTable tr, .holebyholeTable th, .holebyholeTable td {
    text-align: center;
    vertical-align: middle!important;
}
.underpar {
    color: #ff0000;
}
.overpar {
    color: #0c6dff;
}
.table-bordered>thead>tr>th {
    border-bottom-width: 1px;
    min-width: 30px;
}
.table-bordered>tbody>tr:first-child>td {
    border-top-width: 2px;
}
.scoreName {
    padding-left: 0
}
.scoreName li {
    display: inline;
    margin-right: 8px;
}

/** ペアリング、ホールバイホール **/
.pagination.round_btn_group>.active>a, .pagination.round_btn_group>.active>a:focus,
.pagination.round_btn_group>.active>a:hover, .pagination.round_btn_group>.active>span,
.pagination.round_btn_group>.active>span:focus, .pagination.round_btn_group>.active>span:hover {
    background-color: #008000;
    border-color: #008000;
}
.pagination.round_btn_group>li>a {
    color: #008000;
    padding: 5px 22px;
}
.pagination.round_btn_group>li.active>a {
    color: #FFFFFF;
}
.round_btn_group>.active>a, .round_btn_group>.active>a:focus,
.round_btn_group>.active>a:hover, .round_btn_group>.active>span,
.round_btn_group>.active>span:focus, .round_btn_group>.active>span:hover {
    background-color: #008000;
    border-color: #008000;
}
.round_btn_group>li>a {
    color: #008000;
    padding: 5px 22px;
}
.scoreName {
    font-size: 12px;
    display: inline-block;
}
.pair_box{
    margin-bottom:50px;
}
.board_list .itemList tr,
.board_list2 .itemList tr,
.sp_board_list .itemList tr {
    background-color: #EEEEEE;
}
.r_list {
    margin-top: 10px;
}
.board_list tbody tr:nth-child(odd),
.board_list2 tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.board_list tbody tr:nth-child(even),
.board_list2 tbody tr:nth-child(even) {
    background-color: #EBF1DE;
}
.table-pairs thead tr th,
.table-pairs tbody tr td {
    text-align: center;
}
@media screen and (min-width: 768px) {
    .projector_contents {
        display: flex
    }
    .board_custom {
        margin: 0 10px;
    }
    .board_updated {
        white-space: nowrap;
    }
    .board_list,
    .board_list2 {
        display: block;
    }
    .sp_board_list {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .double_board {
        display: block;
    }
    .pager.board_top {
        justify-content: center;
        margin: 0 20px 15px;
    }
    .board_custom {
        float: left;
    }
    .board_top.board_btn {
        display: block;
    }
    .board_top button {
        margin: 10px 10px 0 0;
    }
    #backgroundModal .modal-footer {
        padding: 15px 10px;
    }
    .backgroundModal_label {
        white-space: nowrap;
        padding-left: 0;
    }
    .scoreNameList .scoreName:first-child {
        padding-top: 12px;
    }
    /*.map-title {*/
    /*    display: none;*/
    /*}*/
    /*.map-warp {*/
    /*    max-height: calc(100% - 120px);*/
    /*}*/
}
/* マップ */
/*.map-warp {*/
/*    overflow-x: hidden;*/
/*    overflow-y: hidden;*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: calc(100% - 120px);*/
/*    max-height: calc(100% - 120px);*/
/*}*/
/*.map-warp p {*/
/*    font-size: 12px;*/
/*}*/
.map-warp image {
    width: 100% !important;
    max-width: initial !important;
    height: auto;
}