/* Common */
body{
    font-family:"ヒラギノ丸ゴ ProN W2","ヒラギノ丸ゴ ProN","Hiragino Maru Gothic ProN","ヒラギノ角ゴ ProN W2","Hiragino Kaku Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    /*font-family:'メイリオ', 'Meiryo', sans-serif;*/
    word-break: break-all;
}
/* Header */
#main-header{
    position: fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
}
.header-container{
    background-color:darkgreen;
}
.col{
    padding: 0 15px;
}
#main-nav{
    width:100%;
    padding:15px 0;
    display:flex;
    justify-content: space-between;
    align-items: center;
}
#main-nav h3 a{
    color: whitesmoke;
    text-decoration: none;
}
#main-nav-field{
    /*display:flex;*/
}
#main-nav-menu{
    /*display:flex;*/
    margin: 5px 0;
}
#main-nav-ul{
    /*list-style-type: none;*/
    /*padding: 2%;*/
    /*display:flex;*/
}
#main-nav-ul .nav-item .nav-link{
    color: white;
}
#ncon-menu-list{
    background-color:darkgreen;
}
#ncon-menu-list .dropdown-item{
    color: white;
}
#con-title-content {
    display: flex;
    justify-content: center;
    width: 100%;
}
#con-notice{
    /* max-height: 256px; */
}
/* Splitter */
.splitter1{
    height: 5px;
    background-color: sandybrown;
}
.splitter2{
    /*margin :10px 0;*/
    height: 10px;
}
.splitter3{
    height:5px;
}
.splitter4{
    height: 2px;
    background-color: darkgray;
}
.splitter5{
    margin-bottom: 5px;
    height: 2px;
    background-color: sandybrown;
}
.new{
    margin-left: 3px;
    padding:3px;
    border: thin solid;
    border-radius:5px;
    border-color: red;
    font-size: 10px;
    background-color: red;
    color: white;
}
/* Top */
.menu-btns{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.menu-bdr{
    border: 3px solid #F4A460;
    border-radius: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
}
.menu-btn{
    box-shadow: none;
    margin: 10px;
    padding: 5px;
    text-align: center;
    font-size: 18px;
    max-width: 500px;
}
.menu-btn.main{
    background-color: darkgreen;
    height: 150px;
    color: whitesmoke;
    text-decoration: none;
}
.menu-btn.main:hover{
    background-color: rgb(0, 175, 0);
}
.menu-btn.main:active{
    background-color: rgb(0, 175, 0);
}
.menu-btn.sub{
    background-color: rgba(169, 169, 169, 0.404);
}
.menu-btn.sub:hover{
    background-color: rgba(169, 169, 169, 0.658);
}
.menu-btn.sub:active{
    background-color: rgba(169, 169, 169, 0.658);
}
.menu-btn.topic{
    font-size: 16px;
    height: 75px;
    background-color: #F4A460;
    color: whitesmoke;
    text-decoration: none;
}
.menu-btn.topic:hover{
    background-color: rgba(244, 164, 96, 0.600);
}
.menu-btn.topic:active{
    background-color: rgba(244, 164, 96, 0.600);
}
.menu-btn.con-title{
    font-size: 16px;
    height: 20px;
    padding: 0;
    text-decoration: none;
    border: solid thin black;
}
.topic-title{
    margin-bottom: 0;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}
.topic-content{
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
}
/* Main */
/* html.c-top body{
    height: 100vh;
    background-color: #f2f9d9;
}
html.c-zenkoku body{
    height: 100vh;
    background-color: #ece6f0;
}
html.c-block{
    height: 100vh;
    background-color: #e4fcfa;
}
html.c-district{
    height: 100vh;
    background-color: #fff1df;
}
html.c-search{
    height: 100vh;
    background-color: #f2f9d9;
} */
#main-container{
    padding-top: 77px;
    .container.top{
        background-color: #f2f9d9;
    }
    .container.zenkoku{
        background-color: #ece6f0;
    }
    .container.block{
        background-color: #e4fcfa;
    }
    .container.district{
        background-color: #fff1df;
    }
    .container.search{
        background-color: #f2f9d9;
    }
}
#main-head-area{
    padding:15px 5px 15px 5px;
}
#main-search-area{
    padding: 15px;
}
#main-data-area{
    padding:15px 5px 15px 5px;
}
#con-title{
    padding:15px 5px 15px 5px;
}
.con-item{
    text-align:center;
}
.con-item-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.con-main{
    font-weight: bold;
    font-size: 18px;
}
.con-bumon{
    padding:3px;
    border: thin solid;
    border-radius:5px;
    font-size: 14px;
}
.bumon-el{
    /*background-color: lighten(#c9278a, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.bumon-el.active
{
    background-color: #c9278a;
}
.bumon-el:hover{
    background-color: #c9278a;
}
.bumon-js{
    /*background-color: lighten(#ca6200, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.bumon-js.active{
    background-color: #ca6200;
}
.bumon-js:hover{
    background-color: #ca6200;
}
.bumon-hi{
    /*background-color: lighten(#007d90, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.bumon-hi.active{
    background-color: #007d90;
}
.bumon-hi:hover{
    background-color: #007d90;
}
.bumon-gn{
    /*background-color: lighten(#007d90, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.bumon-gn.active{
    background-color: #4c6cb3;
}
.bumon-gn:hover{
    background-color: #4c6cb3;
}
.con-bumon.js{
    /*background-color: lighten(#ca6200, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.con-bumon.js.active{
    background-color: #ca6200;
}
.con-bumon.js:hover{
    background-color: #ca6200;
}
.con-bumon.hi{
    /*background-color: lighten(#007d90, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.con-bumon.hi.active{
    background-color: #007d90;
}
.con-bumon.hi:hover{
    background-color: #007d90;
}
.con-bumon.gn{
    /*background-color: lighten(#007d90, 50%);*/
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.con-bumon.gn.active{
    background-color: #4c6cb3;
}
.con-bumon.gn:hover{
    background-color: #4c6cb3;
}
#select-year-list{
    height: 34px;
    width: 156px;
    padding:3px;
}
#select-block-list{
    height: 34px;
    width: 156px;
    padding: 3px;
}
#select-year-area{
    display: flex;
    justify-content:center;
}
.mv-year:hover{
    background-color: cornflowerblue;
}
#prev{
    margin:5px;
}
#prev > i{
    padding: 2px;
}
#next{
    margin:5px;
}
#next > i{
    padding: 2px;
}
/* Datagrid */
.datagrid-header-row td{
    text-align: center;
}
#main-asong{
    width:60%;
}
#main-data{
    margin-top:10px;
}
.main-data-menu{
    padding:3px;
    border: thin solid;
    border-radius:5px;
    /*
    background-color:darkgreen;
    color: whitesmoke;
    */
}
/* Distinct */
.dist-menu-item{
    padding: 5px;
    border: thin solid;
    border-radius:5px;
    background-color:rgb(235, 235, 235);
}
.dist-year-title{
    font-weight: bold;
}
.dist-item-area{
    margin:5px;
    display: flex;
    /*
    a{
        width: 33%;
        padding: 5px;
        img{
            width: 100%;
            object-fit: contain;
            border: thin solid black;
        }
    }
        */
}
.dist-item-area > a{
    width: 33%;
    padding: 5px;
}
.dist-item-area > a > img{
    width: 100%;
    object-fit: contain;
    border: thin solid black;
}

/* 最新コンクールページ */
.dist-title{
    font-size: 14px;
}
.blk{
    font-weight: bold;
}
#blk-select{
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 5px;
}
#blk-select > div{
    appearance: none;
    -webkit-appearance: none;
    margin: 0 2px 0 2px;
    padding: 2px;
    width: 100%;
    text-align: center;
    border: thin solid;
    border-radius:5px;
    border-color: sandybrown;
    background-color: sandybrown;
}
#blk-select > div > a{
    color: white;
    text-decoration: none;
}
#blk-select > div:hover {
    background-color: rgb(248, 195, 149);
    border-color: rgb(248, 195, 149);
}
.j-dist-area {
    width: 100%;
    height: auto;
    border: 2px darkgray solid;
}
.j-dist-img {
    width: 100%;
}
/* Inlineframe */
#table-district{
    width:100%;
    height:100%;
    object-fit: cover;
}
/* Search */
.con-kind-select{
    margin: 10px auto;
}
.con-kind{
    width: 35%;
    margin: 0 5px;
    background-color:darkgray;
    color:white;
    cursor: pointer;
}
.con-kind.active{
    background-color: darkgreen;
    color: whitesmoke;
}
.con-kind.active:hover{
    background-color: rgb(0, 175, 0);
}
.con-kind.active:active{
    background-color: rgb(0, 175, 0);
}
.search-item{
    display: flex;
    margin: 5px 2.5px 5px 2.5px;
    align-items: center;
}
.search-item > .search-title{
    width: 20%;
}
.search-item > .search-content{
    width: 80%;
}
.search-item > .search-content > .search-content-item{
    margin: 0 5px 0 5px;
}
.search-item > .search-content > .search-list{
    width: 200px;
    padding: 2px;
}
.search-item > .search-content > .textbox{
    width: 100% !important;
    max-width: 250px !important;
}
.search-button{
    text-align: center;
}
#search-btn{
    margin: 5px 0 5px 0;
    width: 100px;
    background-color: darkgreen;
    color: whitesmoke;
}
#search-btn:hover{
    background-color: rgb(0, 175, 0);
}
#search-btn:active{
    background-color: rgb(0, 175, 0);
}

/* Ratest Page */
.latest-con-button{
    text-align: center;
}
#latest-con-btn{
    margin: 5px 0 5px 0;
    width: 200px;
    background-color: darkgreen;
    color: whitesmoke;
}
#latest-con-btn:hover{
    background-color: rgb(0, 175, 0);
}
#latest-con-btn:active{
    background-color: rgb(0, 175, 0);
}
.propertygrid > .datagrid-btable > td[field="name"]{
    width: 25%;
}
.propertygrid > .datagrid-btable > td[field="value"]{
    width: 75%;
}
.ov-table > tbody > tr > th{
    width: 25%;
}
.ov-table > tbody > tr > td{
    width: 75%;
}
.dist-table-head{
    background-color: #F4A460 !important;
    color: #ffffff !important;
}
.notice-table-head{
    background-color: darkgreen !important;
    color: #ffffff !important;
}
/* スマホ */
@media screen and (max-width:480px) {
    .menu-btn {
        flex: 1;
    }
    #con-notice {
        font-size: 11px;
        width: 100%;
    }
    #ncon-menu-list{
        width: 100%;
    }
    #main-asong{
        width:100%;
    }
    .propertygrid{
        width: 100%;
    }
    #main-data-area {
        font-size: 11px !important;
    }
    #main-search-area {
        font-size: 11px !important;
    }
    .datagrid-cell {
        font-size: 11px !important;
    }
    .datagrid-header .datagrid-cell span {
        font-size: 11px !important;
    }
    .con-bumon {
        font-size: 11px;
    }
    .con-kind {
        font-size: 11px;
    }
    #select-year-list {
        font-size: 13px;
    }
    #select-block-list {
        font-size: 13px;
    }
    #main-head-area {
        padding-bottom: 5px;
    }
    #main-data-area {
        padding-top: 5px;
    }
    .ov-table {
        font-size: 11px;
        width: 100%;
    }
    .textbox .textbox-text {
        font-size: 11px !important;
    }
    .combobox-item {
        font-size: 11px !important;
    }
}
/* タブレット */
@media screen and (min-width:480px) and (max-width:768px){
    .menu-btn {
        flex: 0.5;
    }
    #con-notice {
        font-size: 12px;
        width: 100%;
    }
    #ncon-menu-list{
        width: 100%;
    }
    #main-asong{
        width:100%;
    }
    .propertygrid{
        width: 50%;
    }
    #main-data-area {
        font-size: 12px !important;
    }
    #main-search-area {
        font-size: 12px !important;
    }
    .datagrid-cell {
        font-size: 12px !important;
    }
    .datagrid-header .datagrid-cell span {
        font-size: 12px !important;
    }
    .con-bumon {
        font-size: 12px;
    }
    .con-kind {
        font-size: 12px;
    }
    #select-year-list {
        font-size: 14px;
    }
    #select-block-list {
        font-size: 14px;
    }
    #main-head-area {
        padding-bottom: 10px;
    }
    #main-data-area {
        padding-bottom: 10px;
    }
    .ov-table {
        font-size: 12px;
        width: 50%;
    }
    .textbox .textbox-text {
        font-size: 12px !important;
    }
    .combobox-item {
        font-size: 12px !important;
    }
}
/* PC */
@media screen and (min-width:768px) {
    .menu-btn {
        flex: 0.5;
    }
    #con-notice {
        font-size: 14px;
        width: 75%;
    }
    #main-asong{
        width:75%;
    }
    .propertygrid{
        width: 50%;
    }
    #main-data-area {
        font-size: 14px !important;
    }
    #main-search-area {
        font-size: 14px !important;
    }
    .datagrid-cell {
        font-size: 14px !important;
    }
    .datagrid-header .datagrid-cell span {
        font-size: 14px !important;
    }
    .con-bumon {
        font-size: 14px;
    }
    .con-kind {
        font-size: 14px;
    }
    #select-year-list {
        font-size: 16px;
    }
    #select-block-list {
        font-size: 16px;
    }
    #main-head-area {
        padding-bottom: 15px;
    }
    #main-data-area {
        padding-bottom: 15px;
    }
    .ov-table {
        font-size: 14px;
        width: 50%;
    }
    .textbox .textbox-text {
        font-size: 14px !important;
    }
    .combobox-item {
        font-size: 14px !important;
    }
}
@media screen and (min-width:992px) {
    #con-notice {
        font-size: 14px;
        width: 50%;
    }
    #main-asong{
        width:50%;
    }
}
.j-datagrid{
    font-size: 11px;
}

.dist-no {
    width: 8%;
}
.dist-result {
    width: 5%;
}
.dist-name {
    width: 26%;
}
.dist-type {
    width: 8%;
}
.dist-fsong .dist-jshi {
    width: 40%;
}
.dist-fsong .dist-el {
    width: 48%;
}
.dist-composer {
    width: 13%;
}
.ov-table > * > tr > * {
    vertical-align: middle;
}
.dist-table > * > tr > * {
    vertical-align: middle;
}
.cell-center {
    text-align: center;
}
.result-gold {
    background-color: #ffd700 !important;
}
.result-silver {
    background-color: #c9caca !important;
}
.result-copper {
    background-color: #815a2b !important;
    color: #ffffff !important;
}
.result-decline {
    background-color: #797979 !important;
}
.result-nodata {
    background-color: #ffff00 !important;
}
.result-free {
    background-color: #bce2e8 !important;
}

.blk-disabled{
    background-color:darkgray !important;
    border-color:darkgray !important;
}
.blk-disabled > a{
    pointer-events: none !important;
}

/* Top MainMenu */
#con-title-top{
    font-size: clamp(1.2rem, calc(1.25vw + 1.2rem), 3.2rem);
}

#top-title{
    padding: 5px;
}

.main-menu-area{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.menu-title{
    text-align: center;
    font-size: clamp(0.4rem, calc(1.25vw + 0.4rem), 1.4rem);
    font-weight: bold;
}

.menu-content{
    flex: 1;
    margin: 5px;
    width: 100%;
    background-color: #f2f9d9;
    border: 3px solid darkgreen;
    border-radius: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
}

/* Top MainMenu (Smart Phone) */
@media screen and (max-width:480px) {
    .main-menu-area{
        flex-direction: column;
    }
    .menu-title{
        font-size: clamp(0.8rem, calc(1.25vw + 0.8rem), 2.8rem);
    }
}

/* Search Condition Area */
.search-condition-area{
    margin: 5px -5px 5px -5px;
    padding: 5px 2.5px 5px 2.5px;
    background-color: #f2f9d9;
    filter: brightness(105%);
    border: 3px solid transparent;
    border-radius: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
}

/* Top NoticeTable */
.notice-content {
    text-align: start !important;
}