/* ------------------------------------------------------------------------------------------------------------------ */
/* wordpressデフォルト要素 */

div#header {
    display: none;
}

div#page hr {
    display: none;
}

div#footer {
    display: none;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* お知らせ一覧 */

.custom-news-list {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.custom-news-list-item {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #AAAAAC;
}

.custom-news-list-item:first-child {
    padding-top: 0;
}

.custom-news-list-item a {
    display: block;
    text-decoration: none;
}

.custom-news-list-item-title {
    margin: 0;
    padding: 0.75rem 0.9rem 0.75rem 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #535353;
    background: #FDF1FC;
    border-left: 6px solid #E9528E;
    border-radius: 10px;
}

.custom-news-list-item-date {
    display: block;
    color: #535353;
    font-size: 0.75rem;
    margin-top: 0.625rem;
    text-align: right;
}

.custom-news-no-existence-news {
    color: #AAAAAC;
    font-size: 1rem;
    text-align: center;
    margin-top: 2.5rem;
}

.custom-news-loadmore {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.custom-news-loadmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0.625rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #7D40A0;
    background: #fff;
    color: #7D40A0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.custom-news-loadmore-btn:hover {
    background: #7D40A0;
    color: #fff;
}

.custom-news-loadmore-btn:disabled,
.custom-news-loadmore-btn.is-loading {
    cursor: default;
    opacity: 0.6;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 個別お知らせ */

.custom-news-single-item {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.custom-news-single-item-content {
    font-size: 1rem;
    color: #535353;
    margin-top: 1.25rem;
}

.custom-news-single-item-pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #AAAAAC;
    align-items: center;
}

.custom-news-single-item-pager-item {
    flex: 1;
}

.custom-news-single-item-pager-item--prev {
    text-align: left;
}

.custom-news-single-item-pager-item--center {
    text-align: center;
}

.custom-news-single-item-pager-item--next {
    text-align: right;
}

.custom-news-single-item-pager-item a {
    display: inline-block;
    color: #E9528E;
    text-decoration: none;
    font-size: 0.875rem;
}

.custom-news-single-item-pager-item--center a {
    display: inline-block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: #E9528E;
    text-decoration: none;
    background: #fff;
    border: 1px solid #E9528E;
    border-radius: 999px;
}