/*
Theme Name: DMRE
Theme URI: https://www.daiichilife-marubeni.com/
Author: DMRE
Description: 第一ライフ丸紅リアルエステート株式会社の公式サイト用テーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dmre
*/

body.dmre-body.pagein {
    opacity: 1;
    transition: opacity 2s ease;
}

body.dmre-body.pageout {
    opacity: 0;
    transition: opacity .6s ease;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    padding: .8rem 1.2rem;
    color: #fff;
    background: #000;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

.news-single .news-entry,
.news-single .news-entry-content {
    letter-spacing: .08em;
    line-height: 2;
}

.news-single .news-entry-title {
    font-size: clamp(2rem, 2.5vw, 3.2rem);
    line-height: 1.5;
    margin: 0 0 2.5rem;
}

.news-single .news-entry-meta {
    color: #777;
    font-size: 1.3rem;
    margin: 0 0 2.5rem;
}

.news-single .news-entry-content > * + * {
    margin-top: 1.5em;
}

.news-single .news-entry-content a {
    text-decoration: underline;
}

.news-single .news-entry-action {
    margin-top: 3rem;
}

.news-single .news-entry-action a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.news-single .news-entry-action img {
    width: 2rem;
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5rem;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    min-height: 3.5rem;
    border: 1px solid currentColor;
}

.news-pagination .current,
.news-pagination .page-numbers[aria-current="page"] {
    color: #fff !important;
    font-weight: 600;
    background-color: #000 !important;
    border-color: #000 !important;
}

.news-pagination button.page-numbers {
    padding: 0;
    color: inherit;
    font: inherit;
    background: transparent;
    cursor: pointer;
}

.news-pagination button.page-numbers:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.information-listall {
    transition: opacity .35s ease;
}

.information-listall.is-news-loading {
    opacity: .35;
}

.information-list li.dmre-page-hide {
    display: none !important;
}

.news-pagination[hidden] {
    display: none;
}

.news-empty {
    padding: 4rem 0;
    text-align: center;
}

.wp-admin .dmre-news-field[hidden] {
    display: none;
}
