.lc-favorite {
 box-sizing: border-box;
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 6px;
 border: 0;
 border-radius: 0;
 padding: 10px 14px;
 background: #234987;
 color: #fff;
 font: inherit;
 font-size: 14px;
 line-height: 1.5;
 cursor: pointer;
}

.lc-favorite::before {
 content: '';
 display: block;
 flex: 0 0 15px;
 width: 15px;
 height: 15px;
 background: url('/images/renewal2025/favorite/icon_favorite_off.svg') center / contain no-repeat;
}

.lc-favorite[aria-pressed="true"] {
 background-color: #1f4da0;
}

.lc-favorite[aria-pressed="true"]::before {
 background-image: url('/images/renewal2025/favorite/icon_favorite_on.svg');
}

.lc-favorite:hover {
 opacity: .8;
}

.lc-favorite:disabled {
 cursor: wait;
 opacity: .6;
}

.lc-favorite:focus-visible {
 outline: 2px solid #f3cb18;
 outline-offset: 3px;
}

.lc-favorite--star {
 width: 30px;
 height: 30px;
 padding: 0;
 margin-left: 15px;
 flex-shrink: 0;
}

.lc-favorite--star span {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip-path: inset(50%);
}

/* トップはコーダーの c-recruitmentBtn の幅・余白・配色をそのまま使う。 */
.lc-favorite-top {
 display: block;
 font: inherit;
}

.lc-favorite-top [data-lc-favorite-text] {
 display: inline;
 position: relative;
 padding-left: 25px;
 color: #333;
 font-size: 13px;
 line-height: 1.5;
}

.lc-favorite-top [data-lc-favorite-text]::before {
 content: '';
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 width: 15px;
 height: 15px;
 background: url('/images/renewal2025/icon_favorite.svg') no-repeat;
 background-size: cover;
}

.lc-favorite-top:hover [data-lc-favorite-text] {
 color: #b49660;
}

.lc-favorite-top:hover [data-lc-favorite-text]::before {
 background-image: url('/images/renewal2025/icon_favorite_hover.svg');
}

.lc-favorite-top[aria-pressed="true"] [data-lc-favorite-text]::before {
 background-image: url('/images/renewal2025/icon_favorite_on.svg');
}

.lc-favorite-top:disabled {
 cursor: wait;
}

.lc-favorite-top:focus-visible {
 outline: 2px solid #1f4da0;
 outline-offset: 3px;
}

.lc-favorite-detail-action {
 display: flex;
 justify-content: flex-end;
 margin: 16px 0;
}

.lc-favorite-message {
 position: fixed;
 z-index: 10000;
 bottom: 20px;
 left: 50%;
 transform: translateX(-50%);
 max-width: calc(100% - 32px);
 padding: 12px 20px;
 background: #fff;
 color: #1f4da0;
 border: 2px solid #1f4da0;
 box-shadow: 0 2px 10px #0003;
 font-size: 14px;
}

.lc-favorite-message[hidden] {
 display: none;
}

.lc-favorite-page {
 font: 15px/1.6 'Noto Sans JP', sans-serif;
}

.lc-favorite-page .c-heading h1 {
 border-color: #2d87d1;
}

.lc-favorite-page .c-recruitmentContent-heading {
 background: linear-gradient(to right, #2d87d1, #1f4da0);
}

.lc-favorite-page .c-recruitmentContent-btnArea a.c-recruitmentContent-btn__entry {
 background: #f3cb18;
 color: #222;
}

.lc-favorite-page .c-recruitmentContent-btnArea a.c-recruitmentContent-btn__entry span {
 color: #222;
}

.lc-favorite-page .c-recruitmentContent-btnArea a.c-recruitmentContent-btn__entry span::after {
 filter: brightness(0);
}

.lc-favorite-page .lc-favorite-delete {
    display: block;
    margin: 0 0 20px auto;
    padding: 10px 20px;
    border: 1px solid #2d87d1;
    background: #fff;
    color: #2d87d1;
    font: inherit;
    cursor: pointer;
}

.lc-favorite-page .lc-favorite-select {
 position: static;
 display: inline-block;
 appearance: auto;
 width: 18px;
 height: 18px;
 margin: 0;
 accent-color: #1f4da0;
}

.lc-favorite-page .lc-favorite-targets {
 margin-top: 8px;
 font-size: 13px;
 color: #fff;
}


/* お気に入りページ：画像がない記事の本文を左に配置 */
.lc-favorite-page .c-recruitmentContent-main:not(
    :has(> .c-recruitmentContent-main__img)
) {
    justify-content: flex-start;
}

/* 検索一覧と気になる一覧のボタンを同じ配色にする。 */
.shushoku-search-results .lc-favorite,
.lc-favorite-page .lc-favorite {
 background: #1f4da0;
 color: #fff;
}

.shushoku-search-results .lc-favorite[aria-pressed="true"],
.lc-favorite-page .lc-favorite[aria-pressed="true"] {
 background: #f3cb18;
 color: #222;
}

.shushoku-search-results .lc-favorite[aria-pressed="true"]::before,
.lc-favorite-page .lc-favorite[aria-pressed="true"]::before {
 filter: brightness(0);
}

.shushoku-search-results .lc-favorite [data-lc-favorite-text],
.lc-favorite-page .lc-favorite [data-lc-favorite-text] {
 color: inherit;
}

.lc-favorite-page .c-heading.c-heading__line h1 {
 color: #333;
}

.lc-favorite-page .c-heading.c-heading__line h1::before {
 background: linear-gradient(to bottom, #2d87d1, #1f4da0);
}

.lc-favorite-page .c-recruitmentContent-btnArea a.c-recruitmentContent-btn__detail {
 background: linear-gradient(to right, #2d87d1, #1f4da0);
}