body {
    --skewStripe: repeating-linear-gradient(-45deg, transparent, #00000022 0px, #00000022 1px, transparent 1px, transparent 4px);
    --gray: #333333;
}

*.disabled,
*.disabled *,
*.disabled *::after,
*.disabled *::before {
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    cursor: auto !important;
    pointer-events: none !important;
}

@media (max-width: 992px) {
    .wrapper {
        display: flex;
    }
}

/**************************************************************************************
*****#News*****
**************************************************************************************/

#News {
    position: relative;
    background-size: cover;
    min-height: calc(100vh - 40px);
    z-index: 1;
    padding-bottom: 64px;

    background-image: url(../assets/images/hdq_master_room.jpg);
}

#News .container {
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

@media(max-width:992px) {
    #News .container {
        margin: 0;
        padding: 40px 2% 0;
    }
}

/*********** background ***********/

#News .bg_dotted {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background-repeat: repeat;
    background-color: #000000aa;
    background-image:
        radial-gradient(#00000088 40%, transparent 40%);
    background-size: 4px 4px;
    z-index: -1;
}

/*********** title ***********/

#News .content.title {
    position: relative;
    width: 100%;
    padding: 9px;
    border: 5px solid black;
    border-bottom-width: 10px;
    background-color: var(--white);
}

#News .content.title::before,
#News .content.title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: contain;
}

#News .content.title::before {
    background-image: url(../../assets/images/warpLeft.png);
    background-position: left;
}

#News .content.title::after {
    background-image: url(../../assets/images/warpRight.png);
    background-position: right;
}

#News h2 {
    font-size: 40px;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

#News h2::after {
    display: inline-block;
    content: attr(data);
    font-size: 12px;
    color: var(--black);
    margin: auto 6px;
}

@media(max-width:997px) {
    #News h2 {
        line-height: 48px;
        flex-direction: column;
    }

    #News h2::after {
        line-height: normal;
    }
}

@media (max-width:576px) {
    #News h2 {
        line-height: 32px;
        font-size: 32px;
    }
}

/*********** sub_title / category ***********/

#News .wrapper.sub_title {
    padding-top: 32px;
}

#News .wrapper.sub_title h1 {
    font-size: 40px;
    text-align: left;
    color: var(--white);
}

#News .wrapper.sub_title h1 span.border {
    border-color: var(--white);
}

#News .wrapper.category_select {
    padding-top: 32px;
    justify-content: end;
}

#News .wrapper.category_select #Category {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

    padding: 12px;
    cursor: pointer;
    min-width: 150px;
    width: 100%;

    font-size: 16px;
}

#News .wrapper.category_select label {
    cursor: pointer;
    pointer-events: all;
    position: relative;
    background-color: #FFFFFF;
    border: solid 1px #000000;
}

#News .wrapper.category_select label::before {
    content: "";
    position: absolute;
    display: block;

    left: -10px;
    top: -10px;

    width: calc(100% + 20px);
    height: calc(100% + 20px);

    background-color: #005bac;
    z-index: -1;
}

#News .wrapper.category_select label::after {
    content: "";
    position: absolute;
    cursor: unset;
    pointer-events: none;
    display: block;
    width: 16px;
    height: 16px;
    top: 12px;
    right: 12px;
    background-color: #000000;
    clip-path: polygon(0 50%, 0 25%, 50% 75%, 100% 25%, 100% 50%, 50% 100%);
}

#News .wrapper.category_select #Category::-ms-expand {
    display: none;
}

@media screen and (max-width:996px) {
    #News .wrapper.category_select label {
        width: 90%;
        margin: auto;
    }
}

/*********** news_list ***********/

#News .wrapper.list {
    margin-top: 32px;
    width: 100%;
}

#News .wrapper.list>* {
    font-weight: 600;
}

#News .wrapper.list .news_list {
    width: 100%;
}

/*********** list_item closed ***********/
#News li.list_item {
    border: 2px solid transparent;
    border-bottom-width: 8px;
    border-radius: 16px;
    transition: opacity 500ms;
    overflow: hidden;
}

#News li.list_item .wrapper {
    gap: 20px;
    align-items: center;
    width: min-content;
}

#News li.list_item * {
    color: var(--white);
}

#News li.list_item:hover {
    background-color: var(--white);
    border: 2px solid black;
    border-bottom-width: 8px;
}

#News li.list_item:hover * {
    color: var(--black);
}

#News li.list_item,
#News li.list_item button,
#News li.list_item button .day {
    display: flex;
    align-items: center;
}

#News li.list_item button {
    padding: 16px;
    gap: 20px;
}

#News li.list_item>* {
    width: 100%;
    /* height: 64px; */
    font-size: 16px;
}

#News li.list_item button .day {
    width: min-content;
}

#News li.list_item button .day * {
    height: min-content;
    width: max-content;
    text-wrap: nowrap;
}

#News li.list_item button .day .year {
    font-size: 14px;
    border-right: 2px solid white;
    padding-right: 8px;
}

#News li.list_item:hover button .day .year {
    border-right: 2px solid black;
}

#News li.list_item button .day .month large {
    font-size: 24px;
    padding-left: 8px;
}

#News li.list_item button .day .date large {
    font-size: 24px;
}

#News li.list_item .category {
    border: 2px solid black;
    border-radius: 18px;

    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;

    width: 10rem;
    height: 36px;

    background: var(--white);
    color: var(--black);
}

#News li.list_item .category::after {
    content: attr(data);
}

#News li.list_item .thumbnail {
    height: min-content;
    text-align: left;
}

#News li.list_item .text,
#News li.list_item .to_discription {
    display: none;
}

@media (max-width: 992px) {
    #News li.list_item {
        position: relative;

        margin-top: 8px;

        border: 2px solid var(--black);
        border-bottom-width: 8px;
        border-radius: 16px;
        background-color: var(--white);
    }

    #News li.list_item .wrapper {
        gap: unset;
        justify-content: space-between;
        width: calc(100% - 24px);
    }

    #News li.list_item * {
        color: var(--black);
    }

    #News li.list_item button {
        display: block;
    }

    #News li.list_item::after {
        content: "";
        position: absolute;
        display: block;

        cursor: unset;
        pointer-events: none;

        width: 16px;
        height: 16px;
        top: 50%;
        right: 8px;

        background-color: #000000;

        transform: translateY(-50%) rotate(-90deg);
        clip-path: polygon(0 50%, 0 25%, 50% 75%, 100% 25%, 100% 50%, 50% 100%);
    }

    #News li.list_item button .day .year {
        border-right: 2px solid black;
    }

    #News li.list_item .category {
        width: 7rem;
        height: auto;
        min-height: 36px;
    }

    #News li.list_item button .day .year {
        font-size: 18px;
    }

    #News li.list_item .thumbnail {
        font-size: 24px;
    }
}

/*********** list_item opened ***********/

#News li.list_item.opened {
    position: relative;

    height: auto;
    padding: 32px;

    border: 2px solid black;
    border-radius: 0;
    border-bottom-width: 8px;

    background-color: var(--white);
}

#News li.list_item.opened::before {
    position: absolute;
    content: "";
    pointer-events: none;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    opacity: 0.1;
    background-image: url(../assets/images/dot_gradation_rad_fromLT_K.png);
    background-position: left top;
    background-size: 30%;
}

#News li.list_item.opened button {
    display: block;
    cursor: default;
}

#News li.list_item.opened .wrapper {
    gap: unset;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

#News li.list_item.opened * {
    color: var(--black);
}

#News li.list_item.opened button .day .year {
    border-right: 2px solid black;
}

#News li.list_item.opened .thumbnail {
    height: min-content;
    margin-top: 32px;

    font-size: 24px;
    text-align: left;
}

#News li.list_item.opened .text {
    display: block;

    margin-top: 32px;
    text-align: left;
    font-weight: 400;

    overflow: auto;
    max-height: 80vh;
}

#News li.list_item.opened .text>*{
    display: block;
}

#News li.list_item.opened .to_discription {
    display: flex;
    justify-content: right;
    align-items: center;
    cursor: pointer;
    pointer-events: all;

    margin-top: 32px;
    text-align: right;
    font-weight: 600;
}

#News .right_arrow::after {
    content: "";
    display: block;

    cursor: unset;
    pointer-events: none;

    width: 16px;
    height: 16px;
    background-color: #000000;

    transform: rotate(-90deg);
    clip-path: polygon(0 50%, 0 25%, 50% 75%, 100% 25%, 100% 50%, 50% 100%);
}

@media (max-width: 992px) {

    #News li.list_item.opened {
        padding: 16px 2%;
    }

    #News li.list_item.opened::after {
        opacity: 0;
    }

    #News li.list_item.opened .text {
        border: 1px solid lightgray;
    }
}

/********** back_button **********/

#News .back_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: auto;
    padding: 16px;

    color: var(--black);
    font-weight: thin;
    font-size: 20px;
    background: var(--skewStripe);

    border: 5px solid black;
    z-index: 1;
}

#News .back_button_container {
    position: relative;
    pointer-events: all;
    cursor: pointer;
    width: 40%;
    margin: auto;
    margin-top: 32px;
    background: var(--white);
}

#News .back_button_container:hover {
    transform: translateY(5px);
}

#News .back_button_container:hover:before {
    top: 0px;
    left: 0px;
}

@media (max-width: 992px) {
    #News .back_button_container {
        width: 90%;
    }
}

/********** pagenation **********/

#News .pagenation_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#News .page_button {
    position: relative;

    width: 40px;
    height: 40px;

    border: 2px solid var(--black);
}

#News .page_button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    cursor: unset;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    background-color: var(--white);
}

#News .page_button.prev_button::after {
    clip-path: polygon(30% 50%, 70% 30%, 70% 70%);
}

#News .page_button.next_button::after {
    clip-path: polygon(70% 50%, 30% 70%, 30% 30%);
}

#News .page_button button {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: var(--skewStripe);
    background-color: var(--gray);
}

#News #Page_selector_parent {
    display: flex;
    align-items: center;
}

#News #Page_selector_parent li button {
    font-size: 32px;
    color: var(--white);
    font-weight: 900;
    padding: 8px;
}

#News #Page_selector_parent li button.underlined {
    text-decoration: underline;
}