@charset "utf-8";

/* ===== news.css ===== */
/* -- select -- */
.select {
    position: relative;
    max-width: 200px;
}
.select::before {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 2px;
    right: 20px;
    margin: auto;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #BE0F17;
    border-left: 2px solid #BE0F17;
    content: "";
    z-index: 30;
    transform: rotate(-45deg);
}
.select:after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #FFF;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    content: "";
    z-index: 20;
}
select {
    cursor: pointer;
    position: relative;
    padding: 2px 30px 0 21px;
    width: 100%;
    height: 60px;
    z-index: 30;
}
@media screen and ( max-width: 900px ) {
    .select::before {
        right: 18px;
        width: 7px;
        height: 7px;
    }
    select {
        padding: 2px 30px 0 17px;
        height: 50px;
    }
}

/* -- categoryBox -- */
.categoryBox {
    display: flex;
    flex-wrap: wrap;
    margin: 4rem 0 -1rem;
}
.categoryBox > * {
    width: 111px;
    margin-bottom: 1rem;
}
.categoryBox > *:first-child {
    width: 102px;
}
.categoryBox > *:not(:last-child) {
    margin-right: 1rem;
}
.categoryBox > * a {
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, .9);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    background: rgba(0, 0, 0, .2);
    border-radius: 10em;
}
.categoryBox > *.act a {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 1);
}
@media screen and ( max-width: 900px ) {
    .categoryBox > * {
        width: 13rem!important;
    }
    .categoryBox > * a {
        font-size: 13px;
    }
}

/* -- newsListBox -- */
.newsListBox {
    margin-top: 8rem;
}
.newsListBox > li {
    background: #FFF;
}
.newsListBox > li:not(:last-child) {
    margin-bottom: 2rem;
}
.newsListBox > li > * {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding: 3.1rem 8rem 3.5rem 5rem;
}
.newsListBox > li > span {
    padding-right: 5rem;
}
.newsListBox > li > a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 3.8rem;
    margin: auto;
    width: 16px;
    height: 17px;
    content: "";
    transition: transform .3s;
}
.newsListBox > li.pdf > a::after {
    bottom: 4px;
    background: url(../img/common/icon_pdf.svg) no-repeat 0 0 / 100% auto;
}
.newsListBox > li.is-link > a::after {
    background: url(../img/common/arrow.svg) no-repeat 0 0 / 100% auto;    
}
.newsListBox .day {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .03em;
    color: #888;
    margin-right: 2rem;
}
.newsListBox .category {
    font-weight: bold;
    font-size: 13px;
    line-height: 1;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9.4rem;
    height: 2.3rem;
    background: #000;
    border-radius: 10em;
}
.newsListBox .tit {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
    margin-top: 1.4rem;
    width: 100%;
}
.newsListBox .txt {
    font-size: 14px;
    line-height: 1.78;
    margin-top: 1rem;
    width: 100%;
}
@media screen and ( min-width: 901px ) {
    .newsListBox > li:not(.pdf) > a:hover::after {
        transform: rotate(-45deg);
    }
    .newsListBox > li.pdf > a:hover::after {
        transform: translateX(3px);
    }
}
@media screen and ( max-width: 900px ) {
    .newsListBox > li > a::after {
        right: 3rem;
        width: 13px;
        height: 14px;
    }
    .newsListBox .day {
        font-size: 12px;
    }
    .newsListBox .category {
        width: 10rem;
        height: 2.7rem;
    }
    .newsListBox .tit {
        font-size: 16px;
    }
    .newsListBox .txt {
        font-size: 13px;
    }
}

/* -- pager -- */
.pager {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6.1rem;
    gap: 2rem;
}
.pager a {
    color: rgba(0, 0, 0, .3);
}
.pager a.act {
    color: #DE012D;
}
/* arrow */
.pager li:first-child a,
.pager li:last-child a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    background: #FFF;
    border-radius: 50%;
}
.pager li:first-child a img {
    transform: scale(-1,1);
}
.pager li:first-child a img,
.pager li:last-child a img {
    width: 12px;
}