/* =====================================================
 * LOVE CLOVER スタッフブログ（求人ブログ）ダークテーマ
 * カンプ: staff_blog_pc_confirmed.jpg / staff_blog_mobile_confirmed.jpg
 * 配色: チャコールグレー × エメラルド
 * ===================================================== */

:root {
	--sb-bg: #1b2529;
	--sb-bg2: #161f23;
	--sb-card: #223035;
	--sb-card2: #263539;
	--sb-border: #2f4046;
	--sb-emerald: #35c3a2;
	--sb-emerald2: #4fd1b5;
	--sb-text: #eef4f2;
	--sb-sub: #9fb3ae;
	--sb-pink: #f0568e;
	--sb-line: #06c755;
}

body.sb-body {
	background: linear-gradient(160deg, var(--sb-bg) 0%, var(--sb-bg2) 100%);
	color: var(--sb-text);
	font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	min-height: 100vh;
}
body.sb-body .sb-main { padding: 0 0 64px; background: transparent; }
body.sb-body a { color: inherit; text-decoration: none; }

/* ---------- 共通パーツ ---------- */
.sb-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sb-card {
	background: linear-gradient(180deg, rgba(38,53,57,.92), rgba(31,43,47,.92));
	border: 1px solid var(--sb-border);
	border-radius: 12px;
}
.sb-btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 8px; padding: 12px 18px; font-weight: 700; font-size: 14px;
	transition: filter .2s, transform .2s; cursor: pointer; border: 0;
}
.sb-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.sb-btn--emerald { background: linear-gradient(90deg, var(--sb-emerald), #2aa88b); color: #08211b; }
.sb-btn--pink { background: var(--sb-pink); color: #fff; }
.sb-btn--line { background: var(--sb-line); color: #fff; }
.sb-btn--outline { background: transparent; border: 1px solid var(--sb-emerald); color: var(--sb-emerald2); }
.sb-btn svg { width: 18px; height: 18px; }
.sb-badge {
	display: inline-block; background: rgba(53,195,162,.9); color: #06231c;
	font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; line-height: 1.4;
}
.sb-badge--meta { background: rgba(53,195,162,.16); color: var(--sb-emerald2); border: 1px solid rgba(53,195,162,.45); }

/* ---------- ヘッダー ---------- */
.sb-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(18,26,29,.96); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--sb-border);
}
.sb-header__inner {
	max-width: 1280px; margin: 0 auto; padding: 10px 16px;
	display: flex; align-items: center; gap: 20px;
}
.sb-logo { display: flex; align-items: center; gap: 10px; }
.sb-logo__clover svg { width: 34px; height: 34px; stroke: var(--sb-emerald); }
.sb-logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.sb-logo__en { font-size: 18px; font-weight: 800; letter-spacing: .06em; color: #fff; }
.sb-logo__ja { font-size: 11px; color: var(--sb-sub); }
.sb-gnav { margin-left: auto; }
.sb-gnav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sb-gnav__item a {
	display: block; padding: 12px 13px; font-size: 13.5px; font-weight: 600; color: #d7e2df;
	border-bottom: 2px solid transparent; transition: color .2s;
}
.sb-gnav__item a:hover { color: var(--sb-emerald2); }
.sb-gnav__item.is-active a { color: var(--sb-emerald2); border-bottom-color: var(--sb-emerald); }
.sb-apply-btn {
	display: flex; align-items: center; gap: 7px;
	background: linear-gradient(90deg, var(--sb-emerald), #2aa88b);
	color: #08211b; font-weight: 800; font-size: 13.5px;
	padding: 10px 18px; border-radius: 8px; transition: filter .2s;
}
.sb-apply-btn:hover { filter: brightness(1.1); }
.sb-apply-btn svg { width: 17px; height: 17px; }
.sb-hamburger { display: none; background: none; border: 0; cursor: pointer; }
.sb-hamburger svg { width: 30px; height: 30px; stroke: var(--sb-emerald2); }

/* ドロワー */
.sb-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(10,15,17,.7); }
.sb-drawer__inner {
	position: absolute; right: 0; top: 0; bottom: 0; width: min(300px, 84vw);
	background: #1c272b; padding: 56px 22px 24px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 8px;
}
.sb-drawer__close {
	position: absolute; top: 12px; right: 14px; background: none; border: 0;
	font-size: 26px; color: var(--sb-sub); cursor: pointer;
}
.sb-drawer__list { list-style: none; margin: 0 0 14px; padding: 0; }
.sb-drawer__list a {
	display: block; padding: 12px 6px; border-bottom: 1px solid var(--sb-border);
	color: #d7e2df; font-weight: 600; font-size: 14px;
}

/* ---------- ヒーロー ---------- */
.sb-hero {
	position: relative; min-height: 210px;
	background-size: cover; background-position: center;
	display: flex; align-items: center; justify-content: center;
	border-bottom: 1px solid var(--sb-border);
}
.sb-hero__overlay { position: absolute; inset: 0; background: rgba(17,25,28,.35); }
.sb-hero__inner { position: relative; text-align: center; padding: 34px 16px; }
.sb-hero__en {
	font-size: clamp(34px, 5.4vw, 52px); font-weight: 700; letter-spacing: .32em;
	color: #fff; margin: 0 0 4px; text-indent: .32em;
}
.sb-hero__ja { color: var(--sb-emerald2); font-size: 14px; letter-spacing: .28em; margin: 0 0 12px; text-indent: .28em; }
.sb-hero__desc { color: #cfdbd7; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; }
.sb-hero__line { display: inline-block; width: 44px; height: 1px; background: rgba(79,209,181,.6); }

/* ---------- タブ行 ---------- */
.sb-tabs-row { display: flex; align-items: center; gap: 16px; margin: 26px 0 22px; flex-wrap: wrap; }
.sb-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-tab {
	padding: 9px 20px; border-radius: 7px; font-size: 13.5px; font-weight: 700;
	border: 1px solid var(--sb-border); color: #cfdbd7; background: rgba(34,48,53,.6);
	transition: all .2s;
}
.sb-tab:hover { border-color: var(--sb-emerald); color: var(--sb-emerald2); }
.sb-tab.is-active { background: var(--sb-emerald); border-color: var(--sb-emerald); color: #08211b; }

/* ---------- レイアウト ---------- */
.sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }

/* ---------- 記事カード ---------- */
.sb-article-list { display: flex; flex-direction: column; gap: 16px; }
.sb-article-card {
	background: linear-gradient(180deg, rgba(38,53,57,.85), rgba(31,43,47,.85));
	border: 1px solid var(--sb-border); border-radius: 12px;
	transition: border-color .2s, transform .2s;
}
.sb-article-card:hover { border-color: rgba(53,195,162,.6); transform: translateY(-2px); }
.sb-article-card > a {
	display: grid; grid-template-columns: 250px minmax(0,1fr) 118px;
	gap: 18px; padding: 14px; align-items: center;
}
.sb-article-card__thumb { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; }
.sb-article-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-article-card__thumb .sb-badge { position: absolute; top: 8px; left: 8px; }
.sb-article-card__body { display: flex; flex-direction: column; gap: 8px; }
.sb-article-card__title { font-size: 17.5px; font-weight: 800; color: #fff; line-height: 1.5; }
.sb-article-card__excerpt { font-size: 13px; color: var(--sb-sub); line-height: 1.7; }
.sb-article-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sb-article-card__date { font-size: 12.5px; color: #c3d2ce; }
.sb-article-card__arrow { color: var(--sb-emerald2); font-size: 22px; line-height: 1; }
.sb-empty { color: var(--sb-sub); padding: 40px 0; text-align: center; }

/* もっと見る */
.sb-more {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 22px; padding: 13px; border-radius: 8px;
	border: 1px solid var(--sb-border); color: #cfdbd7; font-size: 14px; font-weight: 700;
	background: rgba(34,48,53,.5); transition: all .2s;
}
.sb-more:hover { border-color: var(--sb-emerald); color: var(--sb-emerald2); }

/* ---------- サイドバー ---------- */
.sb-side { display: flex; flex-direction: column; gap: 20px; }
.sb-side__title {
	font-size: 15.5px; font-weight: 800; color: var(--sb-emerald2);
	margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(79,209,181,.4);
	display: flex; align-items: center; gap: 7px;
}
.sb-crown { width: 18px; height: 18px; }

/* 検索 */
.sb-side__search { padding: 12px; }
.sb-searchform { display: flex; }
.sb-searchform input[type="search"] {
	flex: 1; min-width: 0; background: #172125; border: 1px solid var(--sb-border);
	border-right: 0; border-radius: 7px 0 0 7px; padding: 10px 13px;
	color: var(--sb-text); font-size: 13.5px;
}
.sb-searchform input[type="search"]::placeholder { color: #6f8580; }
.sb-searchform button {
	background: var(--sb-emerald); border: 0; border-radius: 0 7px 7px 0;
	width: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.sb-searchform button svg { width: 18px; height: 18px; stroke: #08211b; }

/* カテゴリ */
.sb-side__cats { padding: 18px; }
.sb-side__cats ul { list-style: none; margin: 0; padding: 0; }
.sb-side__cats li + li { border-top: 1px solid rgba(47,64,70,.6); }
.sb-side__cats a { display: flex; align-items: center; gap: 10px; padding: 11px 2px; transition: color .2s; }
.sb-side__cats a:hover .sb-cat-name { color: var(--sb-emerald2); }
.sb-cat-icon svg { width: 18px; height: 18px; stroke: var(--sb-emerald); display: block; }
.sb-cat-name { flex: 1; font-size: 13.5px; font-weight: 600; color: #d7e2df; }
.sb-cat-count {
	min-width: 34px; text-align: center; font-size: 12px; font-weight: 700;
	color: var(--sb-emerald2); border: 1px solid rgba(53,195,162,.5);
	border-radius: 999px; padding: 2px 8px;
}
.sb-cat-arrow { color: var(--sb-sub); }

/* スタッフ募集中 */
.sb-side__recruit { padding: 20px; }
.sb-side__recruit-title { color: var(--sb-emerald2); font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.sb-side__recruit-lead { color: #cfdbd7; font-size: 12.5px; margin: 0 0 12px; }
.sb-side__recruit-row { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 14px; }
.sb-checklist { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.sb-checklist li { font-size: 12.5px; color: #e4ece9; padding-left: 24px; position: relative; }
.sb-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: -1px;
	width: 17px; height: 17px; border-radius: 50%;
	background: var(--sb-emerald); color: #08211b; font-size: 11px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
}
.sb-side__recruit-row img {
	width: 116px; border-radius: 8px; display: block;
}
.sb-side__recruit .sb-btn { width: 100%; }

/* 人気の記事 */
.sb-side__popular { padding: 18px; }
.sb-popular-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: pop; }
.sb-popular-list a { display: flex; gap: 12px; align-items: center; }
.sb-popular-thumb { position: relative; width: 74px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.sb-popular-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-popular-rank {
	position: absolute; right: -4px; bottom: -4px;
	width: 21px; height: 21px; border-radius: 50%;
	background: var(--sb-emerald); color: #08211b; font-size: 11.5px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	border: 2px solid var(--sb-card);
}
.sb-popular-title { font-size: 12.5px; color: #d7e2df; line-height: 1.55; font-weight: 600; }
.sb-popular-list a:hover .sb-popular-title { color: var(--sb-emerald2); }

/* サイドCTA */
.sb-side__cta { padding: 22px 18px; text-align: center; }
.sb-side__cta-title { color: var(--sb-emerald2); font-size: 16.5px; font-weight: 800; margin: 0 0 8px; line-height: 1.5; }
.sb-side__cta-lead { color: var(--sb-sub); font-size: 12px; margin: 0 0 14px; line-height: 1.7; }
.sb-side__cta .sb-btn { width: 100%; margin-bottom: 10px; }
.sb-side__cta .sb-btn:last-child { margin-bottom: 0; }
.sb-line-badge {
	background: #fff; color: var(--sb-line); font-size: 10px; font-weight: 800;
	border-radius: 50%; width: 22px; height: 22px;
	display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- 詳細ページ ---------- */
.sb-single { padding-top: 26px; }
.sb-breadcrumb { font-size: 12px; color: var(--sb-sub); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sb-breadcrumb a { color: var(--sb-emerald2); }
.sb-breadcrumb em { font-style: normal; color: #cfdbd7; }
.sb-entry { padding: 28px; }
.sb-entry__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: #c3d2ce; font-size: 13px; }
.sb-entry__title { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 18px; line-height: 1.5; }
.sb-entry__photo { border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.sb-entry__photo img { width: 100%; height: auto; display: block; }
.sb-entry__body { font-size: 14.5px; line-height: 2; color: #dde7e4; }
.sb-entry__body p { margin: 0 0 1.2em; }
.sb-entry__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.sb-back { margin: 0; }
.sb-back .sb-btn { width: 100%; }

/* ---------- フッター ---------- */
.sb-footer { background: #121a1d; border-top: 1px solid var(--sb-border); padding: 34px 16px 26px; position: relative; }
.sb-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sb-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; }
.sb-footer__nav li { display: flex; align-items: center; }
.sb-footer__nav li + li::before { content: "／"; color: #3d5057; margin: 0 8px; }
.sb-footer__nav a { color: #b9c8c4; }
.sb-footer__nav a:hover { color: var(--sb-emerald2); }
.sb-footer__copy { color: #6f8580; font-size: 11.5px; margin: 4px 0 0; }
.sb-totop {
	position: absolute; right: 22px; top: -24px;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--sb-card); border: 1px solid var(--sb-emerald);
	color: var(--sb-emerald2); cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.sb-totop span { font-size: 14px; }
.sb-totop small { font-size: 8.5px; letter-spacing: .08em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
	.sb-gnav { display: none; }
	.sb-apply-btn { margin-left: auto; }
	.sb-hamburger { display: block; }
}
@media (max-width: 900px) {
	.sb-layout { grid-template-columns: 1fr; }
	.sb-side { order: 2; }
}
@media (max-width: 640px) {
	.sb-apply-btn span { display: none; }
	.sb-apply-btn { padding: 10px 12px; }
	.sb-hero { min-height: 170px; }
	.sb-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.sb-tab { white-space: nowrap; }
	.sb-article-card > a { grid-template-columns: 122px minmax(0,1fr); gap: 12px; }
	.sb-article-card__thumb { aspect-ratio: 4/3; }
	.sb-article-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.sb-article-card__meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-end; }
	.sb-article-card__title { font-size: 15px; }
	.sb-entry { padding: 18px; }
	.sb-entry__title { font-size: 19px; }
	.sb-entry__ctas { grid-template-columns: 1fr; }
}
