.akarui-voters-archive{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:28px 0 70px;
    color:#29465e;
}
.akarui-voters-archive *{box-sizing:border-box}

.akarui-voters-filter__tabs{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-bottom:20px;
    overflow:hidden;
    border:1px solid #d9e6ef;
    border-radius:6px;
    background:#fff;
}
.akarui-voters-filter__tabs button{
    min-height:52px;
    padding:10px 12px;
    border:0;
    border-right:1px solid #d9e6ef;
    background:#fff;
    color:#29465e;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}
.akarui-voters-filter__tabs button:last-child{border-right:0}
.akarui-voters-filter__tabs button:hover,
.akarui-voters-filter__tabs button.is-active{
    color:#fff;
    background:#0875c9;
}

.akarui-voters-filter__toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:10px;
}
.akarui-voters-filter__search{display:block;width:100%;max-width:460px}
.akarui-voters-filter__search input{
    width:100%;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #d9e6ef;
    border-radius:5px;
    background:#fff;
    color:#18334d;
    font-size:13px;
}
.akarui-voters-filter__count{margin:0;color:#728596;font-size:12px}
.akarui-voters-filter__search-note{margin:6px 0 18px;color:#728596;font-size:11px}

.akarui-voters-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 24px;
    align-items:stretch;
    margin-top:22px;
}
.akarui-voters-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    height:100%;
    overflow:hidden;
    border:1px solid #dce8f1;
    border-radius:8px;
    background:#fff;
    box-shadow:0 5px 18px rgba(15,63,100,.05);
}
.akarui-voters-card[hidden]{display:none!important}

.akarui-voters-card__image{
    display:flex;
    align-items:center;
    justify-content:center;
    height:430px;
    padding:22px;
    overflow:hidden;
    background:#f7fafc;
}
.akarui-voters-card__thumb{
    display:block;
    width:auto;
    max-width:100%;
    height:100%;
    max-height:386px;
    margin:0 auto;
    object-fit:contain;
}
.akarui-voters-card__placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    width:200px;
    aspect-ratio:.72;
    border:1px solid #cbdde8;
    background:#fff;
    color:#71889a;
    font-size:18px;
    font-weight:700;
}

.akarui-voters-card__body{
    display:flex;
    flex-direction:column;
    flex:1;
    min-width:0;
    padding:22px 24px 24px;
}
.akarui-voters-card__title{
    margin:0 0 16px!important;
    padding:0 0 12px!important;
    border:none!important;
    border-bottom:1px solid #e3e9ee!important;
    background:transparent!important;
    font-size:20px!important;
    font-weight:700!important;
    line-height:1.45!important;
}
.akarui-voters-card__title a{
    color:#18334d!important;
    text-decoration:none!important;
}
.akarui-voters-card__contents{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
.akarui-voters-card__contents li{
    margin:0!important;
    padding:3px 0!important;
    color:#29465e!important;
    font-size:13px!important;
    line-height:1.85!important;
}

.akarui-voters-card__actions{
    margin-top:auto;
    padding-top:22px;
}
.akarui-voters-card__detail{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:46px;
    padding:10px 18px;
    border:1px solid #0875c9;
    border-radius:4px;
    background:#0875c9;
    color:#fff!important;
    font-size:13px;
    font-weight:700;
    text-decoration:none!important;
}
.akarui-voters-card__detail:hover{
    color:#0875c9!important;
    background:#fff;
}

.akarui-voters-filter__empty{
    margin:28px 0 0;
    padding:40px 20px;
    border:1px solid #dce8f1;
    background:#f8fbfd;
    color:#718396;
    text-align:center;
    font-size:13px;
}
.akarui-voters-filter__search-note[hidden],
.akarui-voters-filter__empty[hidden]{display:none!important}

@media(max-width:991px){
    .akarui-voters-card__image{height:350px}
    .akarui-voters-card__thumb{max-height:310px}
}
@media(max-width:767px){
    .akarui-voters-archive{padding:20px 0 55px}
    .akarui-voters-filter__tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
    .akarui-voters-filter__tabs button{min-height:48px;font-size:12px;border-bottom:1px solid #d9e6ef}
    .akarui-voters-filter__toolbar{display:block}
    .akarui-voters-filter__search{max-width:none}
    .akarui-voters-filter__search input{min-height:46px;font-size:16px}
    .akarui-voters-filter__count{margin-top:8px}
    .akarui-voters-card-grid{grid-template-columns:1fr;gap:20px}
    .akarui-voters-card__image{height:360px;padding:18px}
    .akarui-voters-card__thumb{max-height:324px}
    .akarui-voters-card__body{padding:20px 18px}
    .akarui-voters-card__title{font-size:18px!important}
    .akarui-voters-card__contents li{font-size:12.5px!important}
}


/* =========================================================
   Voters 個別ページ
   PDF / 一覧へ戻る / 前後号ナビ
========================================================= */

body.single-voters .akarui-voters-single-footer {
    width: 100%;
    max-width: 1200px;
    margin: 70px auto 20px;
    padding-top: 36px;
    border-top: 1px solid #dce8f1;
}


/* 上段ボタン */
body.single-voters .akarui-voters-single-footer__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

body.single-voters .akarui-voters-single-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid #0875c9;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease;
}

body.single-voters .akarui-voters-single-footer__button--primary {
    color: #fff !important;
    background: #0875c9;
}

body.single-voters .akarui-voters-single-footer__button--primary:hover {
    color: #0875c9 !important;
    background: #fff;
}

body.single-voters .akarui-voters-single-footer__button--secondary {
    color: #0875c9 !important;
    background: #fff;
}

body.single-voters .akarui-voters-single-footer__button--secondary:hover {
    color: #fff !important;
    background: #0875c9;
}


/* 前後号 */
body.single-voters .akarui-voters-single-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.single-voters .akarui-voters-single-nav__item {
    min-width: 0;
}

body.single-voters .akarui-voters-single-nav__item--empty {
    min-height: 1px;
}

body.single-voters .akarui-voters-single-nav__card {
    position: relative;
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) 28px;
    grid-template-rows: auto 1fr;
    gap: 7px 18px;
    align-items: center;
    min-height: 170px;
    padding: 18px 20px;
    border: 1px solid #dce8f1;
    border-radius: 8px;
    background: #fff;
    color: #18334d !important;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(15,63,100,.04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.single-voters .akarui-voters-single-nav__card:hover {
    border-color: #9fcbe7;
    box-shadow: 0 9px 24px rgba(15,63,100,.08);
    transform: translateY(-2px);
}

body.single-voters .akarui-voters-single-nav__visual {
    grid-row: 1 / 3;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 140px;
    overflow: hidden;
    background: #f7fafc;
}

body.single-voters .akarui-voters-single-nav__thumb {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: contain;
}

body.single-voters .akarui-voters-single-nav__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 125px;
    border: 1px solid #ccdce7;
    background: #fff;
    color: #6e8394;
    font-size: 13px;
    font-weight: 700;
}

body.single-voters .akarui-voters-single-nav__label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    color: #0875c9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

body.single-voters .akarui-voters-single-nav__title {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    color: #18334d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
}

body.single-voters .akarui-voters-single-nav__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0875c9;
    font-size: 20px;
}


/* スマホ */
@media (max-width: 767px) {

    body.single-voters .akarui-voters-single-footer {
        margin-top: 50px;
        padding-top: 28px;
    }

    body.single-voters .akarui-voters-single-footer__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 34px;
    }

    body.single-voters .akarui-voters-single-footer__button {
        width: 100%;
        min-width: 0;
    }

    body.single-voters .akarui-voters-single-nav {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.single-voters .akarui-voters-single-nav__item--empty {
        display: none;
    }

    body.single-voters .akarui-voters-single-nav__card {
        grid-template-columns: 88px minmax(0, 1fr) 24px;
        min-height: 132px;
        padding: 14px;
        gap: 6px 13px;
    }

    body.single-voters .akarui-voters-single-nav__visual {
        width: 88px;
        height: 108px;
    }

    body.single-voters .akarui-voters-single-nav__thumb {
        max-height: 108px;
    }

    body.single-voters .akarui-voters-single-nav__title {
        font-size: 15px;
    }
}


/* =========================================================
   Voters一覧 v1.0.18
   サムネイルを詳細ページへのリンクにする
========================================================= */

body.post-type-archive-voters .akarui-voters-card__image-link {
    display: block;
    width: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

body.post-type-archive-voters .akarui-voters-card__image-link:focus-visible {
    outline: 2px solid #0875c9;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    body.post-type-archive-voters
    .akarui-voters-card__image-link
    .akarui-voters-card__thumb {
        transition:
            transform .25s ease,
            opacity .25s ease;
    }

    body.post-type-archive-voters
    .akarui-voters-card__image-link:hover
    .akarui-voters-card__thumb {
        transform: scale(1.015);
        opacity: .96;
    }
}


/* =========================================================
   Voters一覧 v1.0.24
   最新号のタイトル右に赤背景・白文字の New!
========================================================= */

body.post-type-archive-voters .akarui-voters-card__new {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 8px;
    padding: 2px 8px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: #d60000 !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: .02em;

    vertical-align: middle;
}

@media (max-width: 767px) {
    body.post-type-archive-voters .akarui-voters-card__new {
        margin-left: 6px;
        padding: 2px 7px !important;
        font-size: 10px !important;
    }
}


/* =========================================================
   Votersメニュー v1.0.27
   最新号の右に New
========================================================= */

#global-nav li.akarui-voters-menu-new > a::after,
.global-nav li.akarui-voters-menu-new > a::after {
    content: "New";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 7px;
    padding: 1px 6px;

    border-radius: 999px;

    background: #d60000;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;

    vertical-align: middle;
}


/* =========================================================
   Voters一覧 v1.0.30
   一覧ページ上部の説明文
========================================================= */

body.post-type-archive-voters .akarui-voters-intro {
    margin: 0 0 30px;
}

body.post-type-archive-voters .akarui-voters-intro__text {
    margin: 0;
    color: #29465e;
    font-size: 15px;
    line-height: 2;
}

body.post-type-archive-voters .akarui-voters-intro__note {
    margin: 8px 0 0;
    color: #6b7f8f;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    body.post-type-archive-voters .akarui-voters-intro {
        margin-bottom: 24px;
    }

    body.post-type-archive-voters .akarui-voters-intro__text {
        font-size: 14px;
        line-height: 1.9;
    }

    body.post-type-archive-voters .akarui-voters-intro__note {
        font-size: 12px;
    }
}




/* =========================================================
   Voters一覧 v1.0.36
   タブ：PCは1段、スマホは複数段
   実際のクラス .akarui-voters-filter__tabs に適用
========================================================= */

@media (min-width: 992px) {

    body.post-type-archive-voters .akarui-voters-filter__tabs {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    body.post-type-archive-voters .akarui-voters-filter__tabs button {
        min-width: 0 !important;
        white-space: nowrap !important;
    }

}

@media (max-width: 991px) {

    body.post-type-archive-voters .akarui-voters-filter__tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    body.post-type-archive-voters .akarui-voters-filter__tabs button {
        min-width: 0 !important;
        white-space: nowrap !important;
    }

}

@media (max-width: 420px) {

    body.post-type-archive-voters .akarui-voters-filter__tabs {
        grid-template-columns: 1fr !important;
    }

}


/* =========================================================
   Voters一覧 v1.0.37
   一覧下部にも同じタブを設置
========================================================= */

body.post-type-archive-voters .akarui-voters-filter__tabs--bottom {
    margin-top: 34px !important;
    margin-bottom: 0 !important;
}
