/*======================================
フォントサイズやマージン等の見直し
========================================*/
/*TOP*/
.topNews .topNews__box ul li .topNews__boxText {
    font-size: 0.9vw;
}

.topNews .topNews__box ul li .topNews__boxCategory {
    padding: 2% 4%;
}

@media screen and (max-width:1024px) {
    .topNews .topNews__box ul li .topNews__boxText {
        font-size: 1.6rem;
        margin-top: 1%;
    }

    .topNews .topNews__box ul li .topNews__boxCategory--width {
        padding: .25em 1em;
        margin-left: 1.5em;
    }

    .topNews .topNews__box ul li a {
        margin-bottom: 0;
    }
}

/*事業案内*/
.mainContents .mainContents__business ul img {
    border: 1px solid #efefef;
}

@media screen and (max-width: 1024px) {
    .mainContents__detail .mainContents__detailTitle {
        font-size: 18px;
    }

    .mainContents h3 {
        font-size: 24px;
    }

    .mainContents .mainContents__lead h3 {
        font-size: 18px;
    }

    .mainContents .mainContents__lead p {
        font-size: 14px;
    }

    .mainContents .mainContents__items li {
        font-size: 14px;
    }

    .mainContents .mainContents__items ul {
        gap: 16px;
    }

    .mainContents__business h3,
    .mainContents__items h3 {
        font-size: 18px;
    }
}

/*実績紹介*/
@media screen and (max-width: 1024px) {
    .mainContents__detailInside {
        margin-bottom: 3em;
    }
}

.project .mainContents .mainContents__detail .mainContents__detailInside .mainContents__detailLeft img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.mainContents .mainContents__detail .mainContents__detailInside {
    align-items: flex-start;
}

.mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle {
    padding: 0;
    text-align: center;
}

.mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle p {
    padding: .5em;
}

.mainContents .mainContents__detail .mainContents__detailInside .mainContents__detailRight {}

.mainContents .mainContents__detail .mainContents__detailInside .service__detail {
    padding: 0;
}

.mainContents .mainContents__detail .mainContents__detailInside .service__detail p,
.mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle p {
    padding: .5em;
    width: calc((100% - 7em - 19em) / 2);
    margin-right: 0;
}

.mainContents .mainContents__detail .mainContents__detailInside .service__detail p:first-child,
.mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle p:first-child {
    width: 7em;
}

.mainContents .mainContents__detail .mainContents__detailInside .service__detail p:nth-child(2),
.mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle p:nth-child(2) {
    width: 19em;
}

.mainContents .mainContents__detail section {
    margin-bottom: 3%;
}

@media screen and (max-width: 768px) {

    .mainContents .mainContents__detail .mainContents__detailInside .service__detail,
    .mainContents .mainContents__detail .mainContents__detailInside .service__detailTitle {
        max-width: 1024px;
    }
}

/*当社の技術*/
@media screen and (max-width: 400px) {

    .post-type-archive-technology .mainVisual .mainVisual__left .mainVisual__title h2,
    .post-type-archive-technology .mainVisual .mainVisual__left .mainVisual__title h1 {
        font-size: 6vw;
    }
}

/*企業情報*/
@media screen and (max-width: 400px) {

    .post-type-archive-company .mainVisual .mainVisual__left .mainVisual__title h2,
    .post-type-archive-company .mainVisual .mainVisual__left .mainVisual__title h1 {
        font-size: 8vw;
    }
}

/*取り組み*/
@media screen and (max-width: 400px) {

    .post-type-archive-approach .mainVisual .mainVisual__left .mainVisual__title h2,
    .post-type-archive-approach .mainVisual .mainVisual__left .mainVisual__title h1 {
        font-size: 7.5vw;
    }
}


/*======================================
全体
========================================*/
/*WordPressアップデートによる崩れの修正*/
.wp-block-table td,.wp-block-table th {
    border: 0px;
}


/*グリッド消す*/
.outer__grid {
    display: none;
}

.inner {
    border: none;
}

/*ヘッダー*/
@media screen and (min-width: 1025px) {
    li.header__nav--menu.flex {
        height: 100%;
    }
}

/*実績ボタン調整*/
.topService .topService__btn {
    max-width: 450px;
    padding: 2% 5%;
    margin: 3% auto 0;
}

/*採用情報ボタン調整*/
@media screen and (min-width: 1025px) {
    .topRecruitment .topRecruitmentCareer__btn p {
        position: relative;
        text-align: left;
        font-size: 1.52vw;
        margin-bottom: 0;
    }

    .topRecruitment .topRecruitmentCareer__btn p:after {
        width: .7em;
        height: .7em;
        margin-top: initial;
        margin-left: initial;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .topRecruitment .topRecruitmentCareer__btn p:after {
        width: 5.5vw;
        height: 5.5vw;
    }
}

/*リンク非許可*/
.nolink {
    pointer-events: none !important;
}

/*フッターにパンくずナビ追加*/
.home .breadcrumbs.ftBreadcrumbs {
    display: none !important;
    position: initial;
}

.breadcrumbs.ftBreadcrumbs {
    writing-mode: initial;
    position: relative;
    top: initial;
    left: initial;
    display: block;
    padding-left: 4%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 0;
}

.breadcrumbs.ftBreadcrumbs>span:not(:last-child)::after {
    width: 8px;
    height: 8px;
    margin-top: 0;
    margin-bottom: 0;
    transform: rotate(-45deg);
    margin-left: 15px;
    margin-right: 15px;
}

@media screen and (min-width: 1025px) {
    .breadcrumbs.ftBreadcrumbs {
        padding-left: 5%;
    }
}

/*h3 見出し調整 2色→紫一色に*/
.header .header__navTitle h3 {
    padding-left: .8em;
}

.header .header__navTitle h3:before,
.footer .footer__sitemapinner label::before {
    content: initial;
}

.footer .footer__sitemapinner label::before,
.footer .footer__sitemapinner label::after {
    content: none;
    border: initial;
}

.footer .footer__sitemapinner label {
    position: relative;
}

.footer .footer__sitemapinner label::before {
    width: 3px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
}

.footer .footer__sitemapinner label a {
    padding-left: .75em;
}

/*grid 真ん中の線消す SPのみ*/
@media screen and (max-width: 833px) {
    .outer__grid span {
        border-right: 0px;
    }
}

/*ヘッダーメニュー調整*/
.header .header__navCard li img {
    aspect-ratio: 5 / 3;
}

/*======================================
TOPページ
========================================*/
/*事業リスト調整*/
@media screen and (min-width: 1025px) {

    .topService {
        background-color: #f9f3fa;
        margin-left: calc(100vw * 0.05 * -1);
        margin-right: calc(100vw * 0.05 * -1);
        padding-left: calc(100vw * 0.05);
        padding-right: calc(100vw * 0.05);
        padding-bottom: calc(100vw * 0.05);
    }
}

.topService .topService__box ul li img {
    aspect-ratio: 4 / 3;
    height: inherit;
    transition: all .2s;
}

.topService .topService__box ul li a:hover {
    opacity: 1;
}

.topService .topService__box ul li a:hover img {
    filter: brightness(1.2);
}

.topService .topService__boxtext {
    filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.05));
}

.topService .topService__image--bg {
    display: none;
}

/*お知らせエリア調整*/
.topNews .topNews__box ul li {
    margin-bottom: 1.5%;
}

.topNews .topNews__box ul li a {
    padding: 0.5% 1.5%;
}

.topNews .topNews__box ul li a .topNews__boxArticle::after {
    width: 1vw;
    height: 1vw;
}

.topNews .topNews__box ul.article li .topNews__boxCategory {
    text-align: center;
}

@media screen and (min-width: 1025px) {
    .topNews .topNews__box ul li .topNews__boxCategory--width {
        width: 16%;
    }

    .topNews .topNews__box ul li .topNews__boxCategory {
        width: 7.25vw;
    }
}

/*実績リンクボタンの調整*/
.topService .topService__btn p:nth-of-type(1)::before {
    content: none;
}

.topService .topService__btn p:nth-of-type(2) {
    margin-top: 0;
}

/*サムネ付き事業案内一覧のデフォルト透明度リセット*/
.mainContents__detail .mainContents__detailInside .mainContents__detailImg img {
    opacity: 1 !important;
}

/*スライダーの調整*/
.slider {
    aspect-ratio: 21 / 9;
    width: 120%;
    height: inherit;
}

.topMainvisual .copy {
    top: 1.115%;
}

.anim_copy1 {
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.65));
}

@media screen and (max-width: 1024px) {
    .topMainvisual .copy {
        top: 0.5%;
        left: 50%;
        transform: translateX(-50%);
        width: 73%;
    }

    .topMainvisual .copy div {
        position: initial;
    }

    .slider {
        width: 120%;
        height: inherit;
        aspect-ratio: 18 / 9;
    }

    .slick-img img {
        width: 110%;
    }
}

/*実績リンクボタンの調整*/
.mainContents .mainContents__items__btn p:nth-of-type(1)::before {
    content: none;
}

@media screen and (max-width: 1024px) {
    .mainContents .mainContents__items__btn {
        padding: 5%;
    }
}

@media screen and (min-width: 1025px) {

    .mainContents .mainContents__items__btn,
    .topService .topService__btn {
        padding: 1.6vw;
        width: calc(100% / 3 - 1.6vw);
        margin-left: auto;
        margin-right: auto;
    }

    .mainContents .mainContents__items__btn p:nth-of-type(1),
    .topService .topService__btn p:nth-of-type(1) {
        line-height: 1;
        margin-bottom: .25em;
    }

    .mainContents .mainContents__items__btn {
        margin-top: 4.5rem;
    }

    .mainContents .mainContents__items__btn p:nth-of-type(1) {
        font-size: 1.6vw;
    }

    .single-service .mainContents .pj_link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .single-service .mainContents .mainContents__items__btn {
        white-space: nowrap;
        display: inline-block;
        width: auto;
    }
}


/*======================================
下層ページ
========================================*/


/*リンク一覧を3列に変更*/
@media screen and (min-width:1025px) {
    .mainContents .mainContents__links ul {
        margin-left: -2%;
        justify-content: flex-start;
    }

    .mainContents .mainContents__links ul li {
        width: calc(100% / 3 - 2%);
        margin-left: 2%;
    }

    .mainContents .mainContents__links ul li::after {
        height: 3px;
    }

    .mainContents .mainContents__links ul li a::after {
        width: 1vw;
        height: 1vw;
    }
}

/*画面左下の薄紫影を消す*/
.topRecruitment::before {
    display: none;
}

/*記事本文エリアのパディング調整*/
.topNews__boxInner.news_article {
    padding: 0;
    padding-top: 3%;
}

/*ヒーロービジュアル部分調整*/
@media screen and (max-width: 1024px) {
    .mainVisual {
        align-items: center;
    }

    .inner .inner__contents .mainVisual .mainVisual__right:after {
        content: none;
    }
}

@media screen and (max-width: 1024px) {
    .mainContents .mainContents__links ul li h3 {
        font-size: 1.6rem;
    }

    .mainContents .mainContents__links {
        margin-top: 32px;
    }
}

/*ページタイトル部分調整*/
@media screen and (min-width: 1025px) {
    .mainVisual__left {
        height: 300px;
    }

    .mainVisual__left .mainVisual__title {
        padding-top: 0;
        padding-bottom: 0;
        height: 100%;
    }

    .mainVisual .mainVisual__left .mainVisual__title h2,
    .mainVisual .mainVisual__left .mainVisual__title h1 {
        font-size: 32px;
    }
}

.mainVisual .mainVisual__left .mainVisual__title .border::after {
    content: none;
}

.mainVisual .mainVisual__left .mainVisual__title .border h2 span,
.mainVisual .mainVisual__left .mainVisual__title .border h1 span {
    margin-top: 5%;
    font-size: 16px;
    line-height: 0.8;
    display: initial;
}

.mainVisual .mainVisual__left .mainVisual__title .border h2 span::before,
.mainVisual .mainVisual__left .mainVisual__title .border h1 span::before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: var(--gradation-main-horizontal);
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.mainVisual .mainVisual__left .mainVisual__title h2,
.mainVisual .mainVisual__left .mainVisual__title h1 {
    line-height: 0;
}

@media screen and (max-width: 1024px) {

    .mainVisual .mainVisual__left .mainVisual__title h2,
    .mainVisual .mainVisual__left .mainVisual__title h1 {
        display: inline-block;
    }
}

/*ヒーロー下に追加したページタイトルのスタイル*/
.topNews__boxInner .entry-content .entry-content__ttle,
.mainContents .mainContents__lead .entry-content__ttle {
    font-weight: bold;
    font-size: 24px;
    padding-left: 1em;
    position: relative;
    margin-bottom: 2em;
    margin-top: 0;
}

.topNews__boxInner .entry-content .entry-content__ttle::before,
.mainContents .mainContents__lead .entry-content__ttle::before {
    background: var(--gradation-main-vertical);
    width: 4px;
    height: 100%;
    display: block;
    position: absolute;
    top: 1em;
    left: 0px;
    content: "";
}

/*ヒーロー下に追加したページタイトルのスタイル（事業案内ページの場合）*/
.mainContents .topNews__boxInner h2.entry-content__ttle {
    font-size: 32px;
}

.mainContents .mainContents__lead .entry-content__ttle::before {
    top: 0;
}

@media screen and (max-width: 1024px) {
    .mainContents .topNews__boxInner h2.entry-content__ttle {
        font-size: 20px;
    }
}

/*SPのときのページタイトル調整*/
@media screen and (max-width: 1024px) {
    .mainVisual__left .mainVisual__title h2 {
        line-height: 1;
    }
}

/*PC 下層ページの本文エリアTOPアキ調整*/
@media screen and (min-width: 1025px) {
    .mainContents .topNews__boxInner {
        padding-top: 0;
        margin-top: 0;
    }
}

@media screen and (min-width: 1025px) {
    .topNews {
        margin-top: 3%;
    }
}

/*PC ヒーロー下薄紫を削除*/
.mainVisual__right::after {
    content: none !important;
}

/*下層ヒーローイメージを300pxに*/
@media screen and (min-width: 1029px) {
    .mainVisual__right {
        height: 300px;
    }
}

/*======================================
事業案内
========================================*/
.archive-service .mainContents .mainContents__items__btn p:nth-of-type(2) {
    margin-top: 0;
}

.service .mainContents h3 {
    font-size: 24px;
}

.service .mainContents__lead,
.service .mainContents section {
    margin-top: 6%;
}

.service .mainContents .mainContents__lead p {
    font-size: 16px;
}

.service .mainContents .mainContents__business ul p {
    font-size: 14px;
    text-align: center;
}

.service .mainContents h3 {
    font-size: 20px;
    font-weight: bold;
}

.service .mainContents h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    margin-right: 10px;
    height: 2px;
    background-color: #9B149B;
}

.service .mainContents__lead h3::before {
    content: none;
}

.service .mainContents .mainContents__items li {
    font-size: 14px;
}

.mainContents .mainContents__items ul {
    gap: 1vw;
}

.mainContents .mainContents__items li {
    line-height: 1.25;
    padding: 1em 1em 1em 0;
}

@media screen and (max-width: 1024px) {
    .service .mainContents h3 {
        font-size: 18px;
    }
}

@media screen and (min-width: 1025px) {
    .archive-service .topRecruitment {
        margin-top: 0;
        padding-bottom: 5%;
    }
}

/*======================================
実績紹介
========================================*/

@media screen and (max-width: 1024px) {
    .mainContents__detailRight {
        background-color: #fff;
    }

    .mainContents .mainContents__detail h3 {
        font-size: 24px;
    }

    .mainContents .mainContents__lead h2 {
        font-size: 24px;
    }
}

/*======================================
企業情報
========================================*/

/*代表メッセージページで、本文上タイトルを非表示*/
.postid-409 .topNews__boxInner .entry-content__ttle {
    display: none;
}


/*======================================
パンフレット
========================================*/
/*ボタン崩れ調整*/
.archive-pamphlet .mainContents .mainContents__links ul li a::after {
    width: 100%;
    height: 3px;
}
.archive-pamphlet .mainContents .mainContents__links ul li a img {
    border: 1px solid #f6f6f6;
}
@media screen and (min-width: 1025px) {
    .archive-pamphlet .mainContents .mainContents__links ul li {
        width: calc(100% / 4 - 2%);
    }
}

/*======================================
お知らせ
========================================*/
.topNews .topNews__box .topNews__boxInner .topNews__boxInner.news_article {
    padding-top: 0;
}

.topNews .topNews__box .topNews__boxInner .topNews__boxInner .entry-content__ttle {
    display: none;
}

.topNews .topNews__box h1::after {
    display: none;
}

.topNews .topNews__boxTitleSub {
    margin: 2% 0 5%;
}

.mainContents .topNews .topNews__boxInner {
    padding-top: 5%;
    border-color: var(--color-main);
}

.topNews .topNews__category ul {
    justify-content: flex-start;
}

.topNews .news__categorylink li {
    margin-right: 3%;
}

.mainContents__background {
    display: none;
}

.topNews .topNews__box h1 {
    font-size: 32px;
}

.topNews .topNews__categorylink li {
    margin-right: 3%;
}

/*ページネーションの調整*/

nav.pagination-single {
    padding-top: 4%;
    margin-top: 4%;
    border-top: 1px solid var(--color-main);
}

.pagination-single-inner {
    justify-content: space-between;
}

.pagination-single-inner .previous-post,
.pagination-single-inner .next-post {
    padding: 1.5em;
}

.pagination-single-inner .previous-post {
    padding-left: 2em;
}

.pagination-single-inner .next-post {
    padding-right: 2em;
}

.pagination-single-inner .previous-post .title-inner,
.pagination-single-inner .next-post .title-inner {
    display: inline-block;
}

.pagination-single-inner .next-post .title-inner {
    margin-right: 4%;
}

@media screen and (max-width: 1024px) {

    .pagination-single-inner .previous-post::after {
        margin-left: -4.5%;
    }
}

/*======================================
未分類ページ
========================================*/
.page-template-default .topNews__boxInner .entry-content .entry-content__ttle {
    display: none;
}

.page-template-default .topNews .topNews__box h1 {
    padding-bottom: .25em;
}

/*採用ページ*/
.page-id-534 .wp-block-table table tbody tr td:first-child {
    width: 10em;
    font-weight: bold;
}

.page-id-534 .topNews__boxInner .wp-block-table tbody tr td {
    padding: .5em 0;
}

.page-id-534 .wp-block-table table tbody tr td dl,
.page-id-534 .wp-block-table table tbody tr td dl dt,
.page-id-534 .wp-block-table table tbody tr td dl dd {
    margin-bottom: 0;
    font-size: 1vw;
}

.page-id-534 .wp-block-table table tbody tr td dl dt {
    width: 7em;
    float: left;
}

.page-id-534 .wp-block-table table tbody tr td dl dd @media screen and (max-width: 1024px) {
    .page-id-534 .wp-block-table table {
        max-width: 100%;
    }
}

@media screen and (max-width: 778px) {
    .page-id-534 .wp-block-table table tbody tr td:first-child {
        width: 20%;
    }

    .page-id-534 .wp-block-table table tbody tr td strong {
        font-size: 1vw;
    }

    .page-id-534 .wp-block-table table {
        max-width: 100%;
    }

    .page-id-534 .wp-block-table table tbody tr td dl dt,
    .page-id-534 .wp-block-table table tbody tr td dl dd {
        width: 100%;
    }
}

/*======================================
404
========================================*/
.tpl404 .mainContents .topNews .topNews__boxInner {
    border-top: 1px solid var(--color-main);
}

.tpl404 .topNews .topNews__box {
    padding: 3%;
}

.tpl404 .topNews .topNews__box h1 {
    display: block;
    font-weight: bold;
}

.tpl404 .wp-block-button__link {
    font-size: 1.2vw;
    color: #fff;
    background: var(--gradation-main-vertical);
    text-align: center;
    position: relative;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    padding-right: 4em;
}

.tpl404 .wp-block-button__link p::after {
    content: "";
    background: url(/cms/wp-content/themes/japax/assets/img/common/arrow_upperrightWhite.svg) no-repeat;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    width: 0.7em;
    height: 0.7em;
    margin-top: initial;
    margin-left: initial;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1em;
}

@media screen and (max-width: 1024px) {
    .tpl404 .wp-block-button {
        text-align: center;
    }

    .tpl404 .wp-block-button__link {
        font-size: 18px;
        margin: 1em auto 0;
    }

}

/*======================================
コンポーネント
========================================*/

.wp-block-file__button {
    width: initial !important;
    max-width: 350px !important;
    padding: 1em 1em 1em 1em !important;
}



/*お知らせ*/

@media screen and (max-width: 1280px) {
    .topNews__boxInner.news_article {
        font-size: 1.2vw;
    }
}

.news_article .entry-content__ttle {
    display: none;
}

.topNews__boxInner.news_article * {
    margin-bottom: 1em;
}
.topNews .topNews__boxInner .wp-block-preformatted {
    margin-bottom: 0;
}
.topNews__boxInner.news_article h2:first-child,
.topNews__boxInner.news_article h3:first-child,
.topNews__boxInner.news_article h4:first-child,
.topNews__boxInner.news_article h5:first-child,
.topNews__boxInner.news_article h6:first-child {
    margin-top: 0;
}

.topNews__boxInner.news_article a {
    color: var(--color-main);
    text-decoration: underline;
    font-weight: bold;
}
.topNews__boxInner.news_article a.wp-block-button__link {
    color: #fff;
    text-decoration: none;
}
.topNews__boxInner.news_article li,
.topNews__boxInner.news_article a,
.topNews__boxInner.news_article span,
.topNews__boxInner.news_article div,
.topNews__boxInner.news_article img {
    margin-bottom: 0;
}

.topNews__boxInner.news_article .post-categories,
.topNews__boxInner.news_article .post-categories li {
    margin-bottom: 0;
}

.topNews__boxInner.news_article h2,
.topNews__boxInner.news_article h3,
.topNews__boxInner.news_article h4,
.topNews__boxInner.news_article h5,
.topNews__boxInner.news_article h6 {
    margin-top: 1.8em;
    margin-bottom: 1em;
}

.topNews__boxInner.news_article h2 {
    padding: 1% 2%;
    border-left: 3px solid;
    border-image: var(--gradation-main-vertical) 1;
    background: #f2f2f2;
}

.topNews__boxInner.news_article h2::before {
    content: none;
}

.topNews__boxInner.news_article h3 {
    padding: 0 2%;
    border-left: 0.25vw solid;
    border-image: var(--gradation-main-vertical) 1;
}

.topNews__boxInner.news_article h3::before {
    content: none;
}

.topNews__boxInner.news_article h4,
.topNews__boxInner.news_article h5,
.topNews__boxInner.news_article h6 {
    color: var(--color-main);
}

.topNews__boxInner.news_article h4 {
    padding: 0;
    border: initial;
}

.topNews__boxInner.news_article figure figcaption {
    color: #666;
}

.topNews__boxInner.news_article .wp-block-image .aligncenter figcaption {
    text-align: center;
}

.topNews__boxInner.news_article ul,
.topNews__boxInner.news_article ol {
    margin-left: 1em;
}

.topNews__boxInner.news_article .wp-block-table td {
    font-size: 1vw;
}

.topNews__boxInner.news_article .wp-block-file__button {
    border-bottom: 3px solid;
    border-color: var(--color-main);
}

.topNews__boxInner.news_article .wp-block-file__button::after {
    content: initial;
}

.topNews__boxInner.news_article .wp-block-file a[href$=".pdf"] {
    border-bottom: initial;
}

.topNews__boxInner.news_article .wp-block-file a {
    position: relative;
    text-decoration: none;
}

.topNews__boxInner.news_article .wp-block-file a.wp-block-file__button.link[href$=".pdf"]::after {
    content: "";
    background-position: center;
    position: absolute;
    left: initial;
    right: 1em;
    bottom: 50%;
    transform: translateY(50%);
    float: initial;
}

.topNews__boxInner.news_article .wp-block-table tr {
    border-top: 0.25vw solid #F2F2F2;
}

.topNews__boxInner.news_article .wp-block-table td:nth-of-type(1)::before {
    content: "";
    height: 0.25vw;
    display: inline-block;
    background: var(--gradation-main-horizontal);
    position: absolute;
    width: 100%;
    margin-top: 0;
    top: -0.25vw;
    left: 0;
}

.topNews__boxInner.news_article .wp-block-table thead+tbody td:nth-of-type(1)::before {
    content: none;
}

.topNews__boxInner.news_article .wp-block-table thead tr {
    background: #F2F2F2;

}

.topNews__boxInner.news_article .wp-block-table thead tr::before,
.topNews__boxInner.news_article .wp-block-table thead+tbody tr::before {
    content: none;
}

.topNews__boxInner.news_article .wp-block-table thead td,
.topNews__boxInner.news_article .wp-block-table thead+tbody td {
    /* text-align: center; */
}

.topNews__boxInner.news_article .wp-block-table thead tr th {
    padding: 1em 0;
    font-size: 1vw;
    position: relative;
}

.topNews__boxInner.news_article .wp-block-table thead tr th::before {
    background: #fff;
    content: "";
    display: inline-block;
    height: 60%;
    width: 1px;
    margin: 0;
    margin-right: auto !important;
    position: absolute;
    right: 0;
    top: 20%;
}

.topNews__boxInner.news_article .wp-block-table thead {
    position: relative;
}

.topNews__boxInner.news_article .wp-block-table thead::after {
    content: "";
    display: inline-block;
    height: 2px;
    width: 100%;
    background: var(--gradation-main-horizontal);
    margin: 0;
    margin-right: auto !important;
    position: absolute;
    bottom: 0;
    left: 0;
}

.topNews__boxInner.news_article .wp-block-table thead+tbody tr td::before {
    content: "";
    display: inline-block;
    height: 60%;
    width: 1px;
    background: #F2F2F2;
    margin: 0;
    margin-right: auto !important;
    position: absolute;
    right: 0;
    top: 20%;
}

.topNews__boxInner.news_article .wp-block-table tr td:last-child::before {
    content: none;
}

.topNews__boxInner.news_article .wp-block-table thead+tbody tr:nth-child(n + 1) {
    border-top: 1px solid #F2F2F2;
}

.topNews__boxInner.news_article .wp-block-table thead+tbody tr:last-child {
    border-bottom: 4px solid #F2F2F2;
}

hr.wp-block-separator.has-alpha-channel-opacity {
    margin: 1em 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #fff;
}

@media screen and (max-width: 1024px) {
    .topNews .topNews__box h1 {
        font-size: 28px;
    }

    .topNews .topNews__boxTitleCate li a {
        font-size: 0.9vw;
    }

    .topNews__boxInner.news_article * {
        font-size: 14px;
    }

    .topNews__boxInner.news_article h2 {
        font-size: 24px;
    }

    .topNews__boxInner.news_article h3 {
        font-size: 22px;
    }

    .topNews__boxInner.news_article h4 {
        font-size: 20px;
    }

    .topNews__boxInner.news_article h5 {
        font-size: 18px;
    }

    .topNews__boxInner.news_article h6 {
        font-size: 16px;
    }

    .topNews__boxInner.news_article .wp-block-table thead tr th,
    .topNews__boxInner.news_article .wp-block-table thead tr td,
    .topNews__boxInner.news_article .wp-block-table tbody tr th,
    .topNews__boxInner.news_article .wp-block-table tbody tr td {
        font-size: 14px;
    }
}