@charset "UTF-8";

/* ============================================================
   HR BLOG 共通カテゴリカラー
   ============================================================ */
.hrblog-cat {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    line-height: 1;
    letter-spacing: 0.05em;
}
.hrblog-cat.cat-hr-news  { background: #1C1C1C; color: #fff; }
.hrblog-cat.cat-column   { background: #5BBFB5; color: #fff; }
.hrblog-cat.cat-blog     { background: #F5E6B2; color: #333; }


/* ============================================================
   HR BLOG 一覧 (archive-hrblog)
   ============================================================ */
@media screen and (min-width: 768px), print {

main { width: 1100px; margin: 0 auto 80px; }

/* カテゴリフィルター */
.hrblog-catfilter { margin-bottom: 40px; }
.hrblog-catlist { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hrblog-catlist a {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #1C1C1C;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1C;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.hrblog-catlist a:hover,
.hrblog-catlist a.active { background: #1C1C1C; color: #fff; }

/* 一覧グリッド */
.hrblog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 3%;
    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}
.hrblog-list li { width: 31%; }
.hrblog-list li a { display: block; text-decoration: none; color: #333; }
.hrblog-list li a:hover { opacity: .85; }

.hrblog-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 14px;
}
.hrblog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hrblog-meta { margin-bottom: 10px; }

.hrblog-ttl {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

} /* end PC */


@media screen and (max-width: 767px) {

main { width: 100%; padding: 0 4%; box-sizing: border-box; margin-bottom: 60px; }

/* カテゴリフィルター */
.hrblog-catfilter { margin-bottom: 6vw; }
.hrblog-catlist { display: flex; flex-wrap: wrap; gap: 2vw; list-style: none; padding: 0; margin: 0; }
.hrblog-catlist a {
    display: inline-block;
    padding: 1.5vw 3.5vw;
    border: 2px solid #1C1C1C;
    border-radius: 4px;
    font-size: 3.4vw;
    font-weight: 700;
    color: #1C1C1C;
    text-decoration: none;
}
.hrblog-catlist a.active { background: #1C1C1C; color: #fff; }

/* 一覧グリッド */
.hrblog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7vw 4%;
    list-style: none;
    padding: 0;
    margin: 0 0 10vw;
}
.hrblog-list li { width: 48%; }
.hrblog-list li a { display: block; text-decoration: none; color: #333; }

.hrblog-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 2.5vw;
}
.hrblog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hrblog-meta { margin-bottom: 2vw; }

.hrblog-cat { font-size: 3.6vw; }

.hrblog-ttl { font-size: 3.9vw; line-height: 1.6; font-weight: 500; }

} /* end SP */


/* ============================================================
   HR BLOG 詳細 (single-hrblog)
   ============================================================ */
@media screen and (min-width: 768px), print {

#hrblog .system-contents { background: #fff; padding: 40px; border: solid #ccc 1px; position: relative; margin-bottom: 30px; }
#hrblog .system-contents .hrblog-meta { margin-bottom: 16px; }
#hrblog .system-contents .system-ttl { font-size: 25px; font-weight: bold; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px #ccc solid; line-height: 1.4; letter-spacing: 0.9px; }
#hrblog .system-contents .system-i-pic { text-align: center; margin-bottom: 50px; }
#hrblog .system-contents .system-i-pic img { max-width: 100%; width: auto; height: auto; }
#hrblog .system-contents .wysiwyg { line-height: 1.9; font-size: 16px; margin-bottom: 40px; }

} /* end PC */

@media screen and (max-width: 767px) {

#hrblog .system-contents { background: #fff; padding: 5vw; border: solid #ccc 1px; position: relative; margin-bottom: 6vw; }
#hrblog .system-contents .hrblog-meta { margin-bottom: 3vw; }
#hrblog .system-contents .system-ttl { font-size: 5vw; font-weight: bold; line-height: 1.5; margin-bottom: 5vw; padding-bottom: 4vw; border-bottom: 1px #ccc solid; }
#hrblog .system-contents .system-i-pic { text-align: center; margin-bottom: 6vw; }
#hrblog .system-contents .system-i-pic img { max-width: 100%; width: auto; height: auto; }
#hrblog .system-contents .wysiwyg { line-height: 1.9; font-size: 3.6vw; margin-bottom: 6vw; }

} /* end SP */
