/*
Theme Name: 下関ケアナビ Lightning Child
Description: 下関ケアナビ用 Lightning 子テーマ
Author: pine-mark株式会社
Template: lightning
Version: 1.0.0
*/
/* ========================================
   下関ケアナビ：事業所個別ページ
   ======================================== */

/* 投稿日・更新日・投稿者を非表示 */
.single-facility .entry-meta {
    display: none;
}

/* ページ下部のサービス種別・地域の重複表示を非表示 */
.single-facility .entry-footer {
    display: none;
}
/* 事業所ページの「前の記事・次の記事」を非表示 */
/* 事業所ページの前の記事・次の記事を非表示 */
.single-facility .postNextPrev,
.single-facility .postNextPrevWrapper,
.single-facility .vk_post_imgOuter,
.single-facility .vk_posts {
    display: none !important;
}
/* ========================================
   下関ケアナビ：事業所一覧ページ
   ======================================== */

/* サービス種別の一覧では画像を非表示 */
.tax-service_type .vk_post_imgOuter,
.tax-service_type .vk_post .vk_post_imgOuter {
    display: none !important;
}

/* 投稿日を非表示 */
.tax-service_type .entry-meta,
.tax-service_type .vk_post_date,
.tax-service_type .published {
    display: none !important;
}

/* 「新着!!」を非表示 */
.tax-service_type .vk_post_newBadge,
.tax-service_type .vk_post_new,
.tax-service_type .newMark {
    display: none !important;
}
/* 事業所一覧：「新着!!」を非表示 */
.tax-service_type .post-type-facility .vk_post_title_new {
    display: none !important;
}
.vk_post_title_new {
    display: none !important;
}
/* 事業所一覧：詳細ボタンを左寄せ */
.tax-service_type .post-type-facility .vk_post_btnOuter {
    text-align: left !important;
    margin-top: 12px !important;
}

/* 事業所一覧：1件ごとの余白を調整 */
.tax-service_type .post-type-facility {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* 地域・住所・電話番号の見た目 */
.tax-service_type .carenavi-list-info {
    margin-top: 10px;
    line-height: 1.65;
}

.tax-service_type .carenavi-list-area {
    font-weight: 500;
    margin-bottom: 2px;
}
/* 事業所一覧：詳細ボタンを確実に左寄せ */
.tax-service_type .post-type-facility .vk_post_btnOuter.text-right {
    text-align: left !important;
}
/* 事業所一覧：Lightning標準の「続きを読む」を非表示 */
.tax-service_type .post-type-facility .vk_post_btnOuter {
    display: none !important;
}
.vk_post_btnOuter {
    display: none !important;
}
/* 事業所一覧：自作の詳細ボタン */
.carenavi-list-button {
    margin-top: 12px;
}

.carenavi-list-button a {
    display: inline-block;
    padding: 7px 16px;
    background: #337ab7;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
}

.carenavi-list-button a:hover {
    opacity: 0.85;
}

/* 事業所一覧をコンパクトに */
.tax-service_type .vk_post.post-type-facility {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

.tax-service_type .post-type-facility .vk_post_body {
    min-height: 0 !important;
    height: auto !important;
}

.tax-service_type .post-type-facility .vk_post_excerpt {
    margin-bottom: 0 !important;
}
/* ========================================
   下関ケアナビ：地域絞り込み
   ======================================== */

.carenavi-area-filter {
    margin: 0 0 28px;
    padding: 18px;
    background: #f5f8fb;
    border-radius: 6px;
}

.carenavi-area-filter-title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.carenavi-area-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.carenavi-area-filter-buttons a {
    display: inline-block;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid #337ab7;
    border-radius: 4px;
    color: #337ab7 !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.4;
}

.carenavi-area-filter-buttons a:hover {
    background: #337ab7;
    color: #fff !important;
}
/* 地域絞り込み：現在選択中 */
.carenavi-area-filter-buttons a.is-active {
    background: #337ab7;
    color: #fff !important;
}
/* 事業所一覧：事業所ごとの縦余白をコンパクトに */
.tax-service_type .vk_post-postType-facility {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.tax-service_type .vk_post-postType-facility .vk_post_body {
    min-height: 0 !important;
    padding-bottom: 0 !important;
}

.tax-service_type .vk_post-postType-facility .vk_post_excerpt {
    margin-bottom: 0 !important;
}
/* サービス種別一覧：上部の青い「事業所」タイトル帯を非表示 */
.tax-service_type .page-header {
    display: none !important;
}
/* サービス種別の説明文 */
.carenavi-service-description {
    margin-bottom: 24px;
}

.carenavi-service-description p {
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.8;
}

.carenavi-service-description p:last-child {
    margin-bottom: 0;
}
/* 通常の記事：投稿者名を非表示 */
.single-post .entry-meta-item-author {
    display: none !important;
}
/* 通常の記事：更新日を非表示 */
.single-post .entry-meta-item-updated {
    display: none !important;
}
/* 詳細掲載事業所のバッジ */
.carenavi-premium-badge {
    display: inline-block;
    background: #c93b3b;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 6px 0 8px;
    line-height: 1.4;
}
/* 詳細掲載事業所のボタンをオレンジに */
.carenavi-list-button-detail a {
    background-color: #f28c28 !important;
    border-color: #f28c28 !important;
    color: #fff !important;
}

.carenavi-list-button-detail a:hover {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #fff !important;
}