#head-line {
    position: fixed !important;
    z-index: 100;
    min-width: 1000px;
    top: 0;
}

.body > .dummy {
    position: relative;
    height: 56px;
}

#news > .dummy {
    position: relative;
    height: 121px;
}

#news > .window > .background .frame-header {
    background: url("../img/window/header-big.png") no-repeat;
    position: absolute;
    top: 0;
    width: 257px;
    height: 27px;
    left: 50%;
    margin-left: -129px;
    margin-top: -25px;
}

#news > .window > .background .frame-background {
    background: url("../img/news/window-background.jpg") repeat;
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    bottom: 8px;
}

#news > .window > .background .frame-left-top {
    position: absolute;
    top: 0;
    left: 0;
    background: url("../img/window/frame-left-top.png") no-repeat;
    width: 15px;
    height: 13px;
}

#news > .window > .background .frame-left {
    position: absolute;
    top: 12px;
    left: 0;
    bottom: 12px;
    background: url("../img/window/frame-left.jpg") repeat-y;
    width: 10px;
}

#news > .window > .background .frame-left-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url("../img/window/frame-left-bottom.png") no-repeat;
    width: 15px;
    height: 13px;
}

#news > .window > .background .frame-bottom {
    position: absolute;
    left: 14px;
    bottom: 0;
    right: 14px;
    background: url("../img/window/frame-bottom.jpg") repeat-x;
    height: 10px;
    z-index: 1;
}

#news > .window > .background .frame-right-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    background: url("../img/window/frame-right-bottom.png") no-repeat;
    width: 15px;
    height: 13px;
}

#news > .window > .background .frame-right {
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 13px;
    background: url("../img/window/frame-right.jpg") repeat-y;
    width: 10px;
}

#news > .window > .background .frame-right-top {
    position: absolute;
    top: 0;
    right: 0;
    background: url("../img/window/frame-right-top.png") no-repeat;
    width: 15px;
    height: 13px;
}

#news > .window > .background .frame-top {
    position: absolute;
    left: 14px;
    top: 0;
    right: 14px;
    background: url("../img/window/frame-top.jpg") repeat-x;
    height: 10px;
}

#news {
    position: relative;
    width: 100%;
    padding-bottom: 147px;
    min-height: calc(100vh - 147px);
}

#news > .background {
    position: absolute;
    width: 100%;
    height: 100%;
}

#news > .background .header {
    background: url("../img/news/header.jpg") center center no-repeat, black;
    height: 632px;
    width: 100%;
    position: relative;
}

#news > .background .left {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: url("../img/news/fon-left.png") repeat-y top right, black;
    width: calc(50% + 1px);
}

#news > .background .right {
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background: url("../img/news/fon-right.png") repeat-y top, black;
    width: 50%;
}

#news > .window {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    min-height: 540px;
}

#news > .window > .background {
    position: absolute;
    width: 100%;
    height: 100%;
}

#news > .window > .pagination-board {
    position: -webkit-sticky;
    position: sticky;
    top: 44px;
    z-index: 90;
}

#news > .window > .pagination-board .title {
    color: #ffcc99;
    font-weight: bold;
    font-size: 1.9em;
    padding-left: 36px;
    padding-top: 42px;
    padding-bottom: 27px;
    position: relative;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#news > .window > .pagination-board .background {
    background: url(../img/news/window-background.jpg) repeat;
    position: absolute;
    left: 9px;
    right: 9px;
    top: 12px;
    bottom: 0;
}

#news > .window > .pagination-board .pagination-panel {
    position: absolute;
    text-align: center;
    top: 36px;
    width: 700px;
    margin-left: -350px;
    left: 50%;
}

#news > .window > .pagination-board .pagination-panel .next,
#news > .window > .pagination-board .pagination-panel .prev,
#news > .window > .pagination-board .pagination-panel .pages .page {
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
    color: #ffe5d2;
    height: 26px;
    border-collapse: collapse;
    font-size: 1.4em;
    line-height: 26px;
    letter-spacing: 1px;
    min-width: 33px;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#news > .window > .pagination-board .pagination-panel .next:hover:not(.disabled),
#news > .window > .pagination-board .pagination-panel .prev:hover:not(.disabled),
#news > .window > .pagination-board .pagination-panel .pages .page:hover:not(.current) {
    background: rgba(255, 255, 255, 0.42);
}

#news > .window > .pagination-board .pagination-panel .pages .page.current {
    background: rgba(255, 255, 255, 0.52);
    font-weight: bold;
}

#news > .window > .pagination-board .pagination-panel .next.disabled,
#news > .window > .pagination-board .pagination-panel .prev.disabled {
    opacity: 0.3;
}

#news > .window > .pagination-board .pagination-panel .pages .page:last-child {
    border: none;
}

#news > .window > .pagination-board .pagination-panel .next {
    border: 1px #666 solid;
    margin: 0 11px;
    width: 83px;
}

#news > .window > .pagination-board .pagination-panel .prev {
    border: 1px #666 solid;
    margin: 0 11px;
    width: 83px;
}

#news > .window > .pagination-board .pagination-panel .pages {
    border-collapse: collapse;
    border: 1px #666 solid;
    display: inline-flex;
}

#news > .window > .pagination-board .pagination-panel .pages .page {
    border-right: 1px #666 solid;
}

#news > .window .delimiter {
    height: 2px;
    background: #483b30;
    border-bottom: 1px #000 solid;
    border-top: 1px #000 solid;
    margin: 0 10px;
    position: relative;
}

#news > .window > .news-block {
    position: relative;
    padding-bottom: 40px;
}

#news.fixed > .window > .news-block {
    margin-top: 64px;
}

#news > .window > .news-block .news-item {
    position: relative;
    padding-left: 36px;
    padding-top: 41px;
    display: table;
    padding-bottom: 44px;
}

#news > .window > .news-block .news-item .image-block {
    display: table-cell;
    width: 244px;
    padding-top: 3px;
}

#news > .window > .news-block .news-item .image-block .image {
    position: relative;
    border: 1px #483b30 solid;
    display: flex;
    width: fit-content;
}

#news > .window > .news-block .news-item .image-block .image img {
    border: 1px solid black;
    max-width: 210px;
}

#news > .window > .news-block .news-item .text-block {
    position: relative;
    display: table-cell;
    width: 640px;
    vertical-align: top;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#news > .window > .news-block .news-item .text-block .header {
    font-size: 2.0em;
    color: #f90;
    font-weight: bold;
    width: 500px;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#news > .window > .news-block .news-item .text-block .body {
    font-size: 1.4em;
    color: #fc9;
    line-height: 23px;
    padding-top: 9px;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#news > .window > .news-block .news-item .text-block .time {
    font-size: 1.4em;
    color: #ccc;
    position: absolute;
    top: 4px;
    right: 10px;
}

#news > .window > .news-block .news-item .text-block .body a:hover {
    text-decoration: underline;
}

#news > .window > .news-block .news-item .text-block .body a {
    text-decoration: none;
    color: #09f;
}

#news > .window > .news-block .news-item .text-block .body hr {
    border-color: #a56809;
    border-top: none;
    margin: 35px 0 33px;
}

#news > .window > .news-block .news-item .text-block .body h1 {
    font-size: 16px;
    color: #f90;
    font-weight: bold;
}

#news > .window > .news-block .news-item .text-block .body h2 {
    font-size: 14px;
    color: #fc3;
    font-weight: bold;
}

#news > .window > .news-block .news-item .text-block .body h3 {
    font-size: 22px;
    color: #ffcc00;
    font-weight: bold;
    padding-bottom: 10px;
}

#news > .window > .news-block .news-item .text-block .body li:before {
    content: "";
    background-color: #ff9900;
    width: 5px;
    height: 5px;
    position: absolute;
    margin-left: -15px;
    margin-top: 10px;
}

#news.ver-2 > .window > .news-block .news-item {
    position: relative;
    display: table;
    padding: 41px 83px 44px;
}

#news.ver-2 > .window > .news-block .news-item .image-block {
    display: none;
}

#news.ver-2 > .window > .news-block .news-item .text-block {
    width: 834px;
}

@media (hover: none) and (pointer: coarse) {
    #head-line {
        min-width: 0;
    }

    #news {
        padding-bottom: 60px;
        min-height: calc(100dvh - 60px);
    }

    #news > .background .header {
        height: 180px;
        background-size: cover;
    }

    #news > .window {
        width: auto;
        margin: 0 6px;
        min-height: 0;
    }


    #news > .window > .pagination-board .title {
        padding: 26px 16px 6px;
        font-size: 2.1em;
        text-align: center;
    }

    #news > .window > .pagination-board .pagination-panel {
        position: relative;
        z-index: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: auto;
        margin: 0;
        padding: 0 20px 14px;
        left: 0;
        top: 0;
    }

    #news > .window > .pagination-board .pagination-panel .pages {
        display: flex;
        order: 1;
        flex: 0 0 100%;
    }

    #news > .window > .pagination-board .pagination-panel .pages .page {
        flex: 1 1 0;
        min-width: 0;
        height: 34px;
        line-height: 34px;
        font-size: 1.5em;
        letter-spacing: 0;
    }

    #news > .window > .pagination-board .pagination-panel .prev,
    #news > .window > .pagination-board .pagination-panel .next {
        order: 2;
        flex: 0 1 44%;
        width: auto;
        height: 34px;
        margin: 0;
        line-height: 34px;
        font-size: 1.5em;
    }

    #news.fixed > .window > .news-block {
        margin-top: 0;
    }

    #news > .window > .news-block .news-item {
        display: block;
        padding: 24px 14px 30px;
    }

    #news.ver-2 > .window > .news-block .news-item {
        display: block;
        padding: 24px 20px 30px;
    }

    #news > .window > .news-block .news-item .text-block,
    #news.ver-2 > .window > .news-block .news-item .text-block {
        display: block;
        width: auto;
    }

    #news > .window > .news-block .news-item .text-block .time {
        position: static;
        display: block;
        margin-bottom: 8px;
        font-size: 1.3em;
    }

    #news > .window > .news-block .news-item .text-block .header {
        width: auto;
        font-size: 1.9em;
        line-height: 1.3;
    }

    #news > .window > .news-block .news-item .text-block .body {
        font-size: 1.5em;
        line-height: 1.55;
        overflow-wrap: break-word;
    }

    #news > .window > .news-block .news-item .text-block .body img,
    #news > .window > .news-block .news-item .text-block .body iframe,
    #news > .window > .news-block .news-item .text-block .body video,
    #news > .window > .news-block .news-item .text-block .body table {
        max-width: 100%;
        height: auto;
    }

    #news > .window > .news-block .news-item .text-block .body h3 {
        font-size: 1.3em;
    }

    #news > .window > .news-block .news-item .text-block .body h1 {
        font-size: 1.2em;
    }

    #news > .window > .news-block .news-item .text-block .body h2 {
        font-size: 1.2em;
    }

    #news > .window .delimiter {
        margin: 0 8px;
    }

    @media screen and (orientation: landscape) {
        #news > .window > .pagination-board {
            position: static;
        }
    }
}