/* ms-contents-menu
--------- --------- --------- */
#contents .ms-contents-menu .list-tab-style{
	width: 100%;
	border-bottom: 3px solid #0077dd;
	margin-bottom: 20px;
	display: table;
}

#contents .ms-content-menu .list-tab-style:after{
    content : '';
    display : block;
    clear : both;
    height: 0;
}

#contents .ms-contents-menu .list-tab-style > .item{
	float: left;
	width: 151px;
	padding: 0 0 0 6px;
}

#contents .ms-contents-menu .list-tab-style > .item.first{
	padding: 0;
}

#contents .ms-contents-menu .list-tab-style > .item.short{
	width: 105px;
}

#contents .ms-contents-menu .list-tab-style > .item .tab{
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	padding: 8px 0;
	text-align: center;
	background: #e8f4ff;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}

#contents .ms-contents-menu .list-tab-style > .item .tab:hover,
#contents .ms-contents-menu .list-tab-style > .item .tab.current{
	color: #fff;
	background: #0077dd;
	text-decoration: none;
}

#contents .ms-contents-menu .list-tab-style > .item .tab.current:hover{
	background: #3392e4;
}

/* ms-contents-menu end
--------- --------- --------- */

#contents .title-box.title-style2 {
    margin-bottom: 15px;
}

.ms-contents-menu {
    margin-top: 30px;
}

#contents .ms-contents-menu .list-tab-style {
    margin-bottom: 30px;
}

#contents .ms-contents-menu .list-tab-style .item .tab {
    width: 276px;
}
#contents .ms-contents-menu .list-tab-style > .item {
    width: auto;
}

#contents .ms-contents-menu .list-tab-style .item .tab sup {
    font-size: 10px;
    display: inline-block;
    transform: translateY(-3px);
}
.tab-caption {
    font-size: 12px;
    color: #666666;
    text-align: right;
    margin-bottom: 30px;
}
.bnr-area + .bnr-area {
    margin-top: 10px;
}
#contents .ms-section.box-style4 .section-wrap {
    text-align: center;
    margin-top: 30px;
}
#contents .ms-section.box-style4 .section-wrap .text-box {
    margin-bottom: 30px;
}
#contents .ms-section.box-style4 .section-wrap .text-box b {
    font-weight: 700;
}
#contents .ms-area-main .btn-style5 .btn.btn-arrow {
    width: 377px;
}

#contents .ranking-list {
    margin-top: 30px;
    border-top: 1px dotted #e0e0e0;
}

#contents .ranking-list .ranking-list__item {
    border-bottom: 1px dotted #e0e0e0;
    position: relative;
}
#contents .ranking-list .ranking-list__item > a {
    padding: 18px 0 14px 55px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}
#contents .ranking-list .ranking-list__item > a:hover .ranking-list__link {
    text-decoration: underline;
}
#contents .ranking-list .ranking-list__link {
    font-weight: 700;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 738px;
    display: inline-block;
    position: relative;
}
#contents .ranking-list .icon-up,
#contents .ranking-list .icon-static,
#contents .ranking-list .icon-down {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 8px;
    transform: translateY(-4px);
}
_:lang(x)+_:-webkit-full-screen-document, .icon-up,.icon-static,.icon-down {
    transform: translateY(4px) !important;
}
#contents .ranking-list .icon-up {
    background: url(/contents/nikki/pc/bbs_ranking/img/arrow-up.png);
    background-repeat: no-repeat;
}
#contents .ranking-list .icon-static {
    background: url(/contents/nikki/pc/bbs_ranking/img/arrow-static.png);
    background-repeat: no-repeat;
}
#contents .ranking-list .icon-down {
    background: url(/contents/nikki/pc/bbs_ranking/img/arrow-down.png);
    background-repeat: no-repeat;
}
.ranking-list__text {
    display: inline-block;
    max-width: 645px;
    font-size: 14px;
    margin-top: 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #333;
}
.ranking-list__date {
    display: inline-block;
    font-size: 12px;
    white-space: nowrap;
    transform: translate(-5px,-5px);
    color: #333;
}
_:lang(x)+_:-webkit-full-screen-document, .ranking-list__date {
    transform: translate(-5px,0) !important;
}
.ranking-list__icon {
    width: 42px;
    height: 100%;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon--1 {
    background: url(/contents/nikki/pc/bbs_ranking/img/ranking-1.png);
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
    color: #c7b38a;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon--2 {
    background: url(/contents/nikki/pc/bbs_ranking/img/ranking-2.png);
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
    color: #bec3c8;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon--3 {
    background: url(/contents/nikki/pc/bbs_ranking/img/ranking-3.png);
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
    color: #ac987d;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon--4_5 {
    background: url(/contents/nikki/pc/bbs_ranking/img/ranking-4.png);
    background-repeat: no-repeat;
    background-position: center calc(50% - 2px);
    color: #fff;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon.ranking-list__icon--6 {
    color: #0077dd;
}
#contents .ranking-list .ranking-list__item .ranking-list__icon.ranking-list__icon--6::before {
    content: "";
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid #0077dd;
    width: 28px;
    height: 28px;
    position: absolute;
    box-sizing: border-box;
}
.ranking-list__pr {
    position: absolute;
    width: 28px;
    height: 20px;
    background: #e9e9ea;
    text-align: center;
    left: 7px;
    top: 20px;
    line-height: 21px;
    font-size: 12px;
    color: #333;
}

.login .ranking-list__text {
    max-width: 470px;
}

.login .ranking-list__save {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 164px;
    height: 38px;
    padding-left: 29px;
    background: #fff;
    border-radius: 2px;
    box-sizing: border-box;
    text-align: left;
    color: #333333;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    z-index: 1;
}

.login .ranking-list__save::before {
    content: "";
    width: 13px;
    height: 12px;
    background: url(/contents/nikki/pc/bbs_ranking/img/save.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.login .ranking-list__save::after {
    content: "お気に入りに登録";
    font-size: 14px;
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
}

.login .ranking-list__save:hover {
    opacity: .85;
}

.login .ranking-list__save.is-active {
    background: #e9e9ea;
    color: #333333;
}

.login .ranking-list__save.is-active::before {
    content: "";
    width: 13px;
    height: 12px;
    background: url(/contents/nikki/pc/bbs_ranking/img/save_ov.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}
.login .ranking-list__save.is-active::after {
    content: "お気に入り登録済";
}

.login .ranking-list__link {
    max-width: 544px !important;
}

.login .ranking-list__link.not-student {
    max-width: 738px !important;
}

.ranking-list + .bnr-area {
    margin-top: 30px;
}
.login#contents .ms-contents-menu .list-tab-style.bottom {
    border-top: 3px solid #0077dd !important;
    border-bottom: none;
}

.login#contents .ms-contents-menu .list-tab-style.bottom > .item .tab {
    border-radius: 0 0 5px 5px !important;
}
.ranking-load {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
}


/* xx. modal
--------- --------- --------- */
.modal-data{
	display: none;
}

#js-modal-window-favorite{
	display: none;
	font-family: Meiryo, "メイリオ", "ヒラギノ角ゴ Pro W4", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
	color: #333;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

#js-modal-window-favorite .hidden{
	display: none;
}

#js-modal-window-favorite input{
	font-family: Meiryo, "メイリオ", "ヒラギノ角ゴ Pro W4", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#js-modal-window-favorite .modalBg{
	z-index: 1000000;
	content: '';
	position: fixed;
	top: -100px;
	left: -100px;
	right: -100px;
	bottom: -100px;
	background:url(/contents/nikki/config/pc_info_okini/img/bg_modalbg.png);
}

#js-modal-window-favorite .modalBody{
	z-index: 1000001;
	position: absolute;
	top: 0;
	left: 50%;
	text-align:left;
	width:670px;
	margin-left: -335px;
}

#js-modal-window-favorite .modal-top-close-btn .modalCloseBtn{
	width: 11px;
	height: 11px;
	position: absolute;
	right:10px;
	top:10px;
	z-index: 10;
	cursor: pointer;
}


/* modalContFavorite-box */
#js-modal-window-favorite .modalContFavorite-box{
	background: #FFF;
	width:452px;
	margin:auto;
	position: relative;
}

#js-modal-window-favorite .modalContFavorite-box .modal-top-close-btn .modalCloseBtn{
	background: url(/contents/nikki/config/pc_info_okini/img/icon_close_gr.png) 0 0 no-repeat;
}

/* modal modalContWrap common */
#js-modal-window-favorite .modalContWrap .cont-inner-Wrap{
	padding: 20px;
}

#js-modal-window-favorite .modalContWrap .modal-infotext-box{
	text-align: center;
	margin-bottom: 30px;
	margin-top: 10px;
}

#js-modal-window-favorite .modalContWrap .cont-action-box{
	text-align: center;
}

#js-modal-window-favorite .modalContWrap .modal-finish-textarea{
	text-align: center;
	margin-bottom: 20px;
}

#js-modal-window-favorite .btn-item{
	display: inline-block;
	margin: 0 10px;
}

#js-modal-window-favorite .btn-item.btn-style1 .btn{
	color: #666;
	display: inline-block;
	padding: 3px 20px;
	border: 1px solid #ccc;
	overflow: hidden;
	background: #fff;
	border-radius: 3px;
	white-space: nowrap;
	position: relative;
	cursor: pointer;
	font-size: 14px;
	min-width: 130px;
}

#js-modal-window-favorite .btn-item.btn-style1 .btn:hover{
	text-decoration: none;
	color: #999;
}

#js-modal-window-favorite .btn-item.btn-style2 .btn{
	color: #fff;
	display: inline-block;
	border: none;
	padding: 4px 20px;
	overflow: hidden;
	background: #0077dd;
	border-radius: 3px;
	white-space: nowrap;
	position: relative;
	cursor: pointer;
	font-size: 14px;
	min-width: 130px;
}

#js-modal-window-favorite .btn-item.btn-style2 .btn:hover{
	text-decoration: none;
	background: #3392e4;
}
