/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

body{
    -webkit-text-size-adjust: 100%;
    margin: 0;
    color: white;
}

html,body{
    overflow: hidden;
}
html.info-detail,body#info-detail{
    overflow: visible;
}
#infoWrap {
    font-size: 18px;
    height: 212px;
    overflow-y: auto;
}

ul#infoList{
    margin:0 0 15px;
    padding:0;
    font-family: "Zen Kaku Gothic New","Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
ul#infoList li{
    font-size: 20px;
    margin: 0;
    margin-bottom: 0;
    padding: .5em 1em;
    line-height: 1.7;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    border: none;
}
ul#infoList:not(:has(.newMark:not(:empty))) .newMark{
    display: none;
}
ul#infoList:not(:has(.newMark:not(:empty))) .list_info{
    width: calc(100% - 12.5em)!important;
}
ul#infoList li:last-child{
    border-bottom: none;
    padding-bottom: 0;
}
ul#infoList li .list_info{
    width: calc(100% - 3em);
}
ul#infoList li .list_info .title a{
    text-decoration: none;
}
ul#infoList li .list_date{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
ul#infoList li .list_comment{
    padding-left: 0;
}

a{color:white;text-decoration:none;}
a:hover{color:white;text-decoration:underline;}

.catName{
    display: inline-block;
    padding: 0 3px;
    padding-bottom: 2px;
    min-width: 5.5em;
    text-align: center;
    background: #3D4B7F;
    font-size: 14px;
    height: 20px;
    line-height: 23px;
    color: #fff;
    margin: 0 15px;
    vertical-align: top;
    margin-top: 4px;
    border-radius: .4em;
}
ul#infoList li.cat-1 .catName{background: #C93E89}
ul#infoList li.cat-2 .catName{background: #F29438}
.newMark{
    display: flex;
    font-size: 10px;
    line-height: 100%;
    padding-top: .5em;
    margin-right: .7em;
    width: 3.4em;
}

.newMark span{
    background: #C1272D;
    color: #fff;
    padding: 3px 6px;
    height: 1em;
}
/* .newMark:empty + .list_info{
    width: 100%!important;
} */
.comment{
	display:block;
	padding:3px 0;
	float:left;
	overflow:hidden;
}
.thumbNailWrap{
	display:none;
	width:110px;
	float:left;
	height:80px;
	overflow:hidden;
}

.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    background-color: rgba(255,255,255,0.9)!important;
}
.mCS-rounded-dark.mCSB_scrollTools .mCSB_draggerRail{
    background-color: #ccc!important;
}
.mCSB_scrollTools .mCSB_draggerRail{
    width: 1px;
}



/* info detail */
#info-detail{
    min-height: 500px;
    color: white;
    background-color: #2e3141;
}
#info-detail .contents-box{
    max-width: 1200px;
}
#detail{
    margin-bottom: 100px;
}
h2.detail{
	font-size:18px!important;
        font-weight: bold!important;
	color: #4C5C96;
	margin:10px 0px 40px 0;
	font-weight:normal;
}

#info-detail > section{
    padding: 2em;
}
#info-detail h2.detail{
    color: white;
}
#info-detail #up_ymd{
	text-align: left;
    font-size: 120%;
	margin:5px 10px;
    margin-left: 0;
}
#info-detail .detailText *{
    font-size: 18px!important;
    color: white;
}
#info-detail .backORcloseBtn a{
    color: white;
    background: rgba(255,255,255,.3);
}
#info-detail .catName{
    border: solid 1px #aaa;
}
#info-detail .cat-1 .catName{background: #C93E89}
#info-detail .cat-2 .catName{background: #F29438}
.detailUpfile{
	margin:5px 0 35px;
	text-align:center;
}

.backORcloseBtn{
	text-align:center;
	line-height:100%;
	margin-top:15px;
}
.backORcloseBtn a{
	display:inline-block;
	padding:4px 15px;
	border:1px solid #aaa;
	color:#999;
	border-radius:6px;
	text-decoration:none;
	font-size:12px;
}
.detailUpfile img{
	max-width:40%;
	height:auto;
        margin-top: 40px;
}
.pNav{
	font-size:14px;	
}
.pNav a{
    color: #666;
}
.pNav a:hover{
    text-decoration: underline;
}


@media screen and (min-width: 500px) {
    ul#infoList li .list_date{
        width: 10.5em;
    }
    ul#infoList li .list_info{
        width: calc(100% - 13em)!important;
    }
    ul#infoList li .list_comment{
        padding-left: 8.2em;
    }
    /* .newMark:empty {
        display: block;
    } */
}

@media screen and (max-width: 915px) {
    ul#infoList li{
        font-size: 16px;
    }
    ul#infoList li .list_date {
        width: 12em;
    }
    ul#infoList li .list_info {
        width: calc(100% - 15em) !important;
    }
}
@media screen and (max-width: 631px) {
    ul#infoList li{
        font-size: 12px;
    }
    .catName{
    padding-bottom: 0px;
    font-size: 11px;
    height: 18px;
    line-height: 18px;
    margin-top: 0px;
    }
    ul#infoList li .list_date {
        width: 12.5em;
    }
    ul#infoList li .list_info {
        width: calc(100% - 16em) !important;
    }
    #infoWrap{
        height: 130px;
    }
}
@media screen and (max-width: 499px) {
    ul#infoList li .list_info{
        width: 100%!important;
    }
    ul#infoList:not(:has(.newMark:not(:empty))) .list_info{
        width: 100%!important;
    }
    .newMark:empty {
        display: none!important;
    }
    #infoWrap{
        height: 215px;
    }
}