@charset "UTF-8";
/* キープ・履歴（2026-09-24 松原さん指示：ラウンジタピオカと同じく）。includes/job-keep-history.php が表側の全ページで読む */

/* ---- ヘッダーの「キープ」「履歴」 ---- */
#header .kw_hd_kh {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	margin: 0 56px 0 0; /* 右上のメニュー（≡。画面に固定）と重ならないように空ける */
}
#header .kw_hd_kh::after {
	content: none;
	display: none;
}
#header .kw_hd_kh a.kw_hd_kh_item {
	display: block;
	width: 46px;
	padding: 0;
	text-align: center;
	color: #003654;
	text-decoration: none;
}
#header .kw_hd_kh .kw_hd_kh_ico {
	position: relative;
	display: inline-block;
	font-size: 24px;
	line-height: 26px;
	height: 26px;
}
#header .kw_hd_kh .kw_hd_kh_txt {
	display: block;
	font-size: 10px;
	font-weight: bold;
	line-height: 1.2;
	margin: 1px 0 0;
	white-space: nowrap;
}
#header .kw_hd_kh .kw_keep_count {
	position: absolute;
	top: -5px;
	right: -11px;
	min-width: 17px;
	height: 17px;
	padding: 0 3px;
	border-radius: 9px;
	background: #0090DD;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	line-height: 17px;
	text-align: center;
	box-sizing: border-box;
}
/* 求人詳細（右上に「応募する」がある時）：「キープ」「履歴」は「応募する」の下の段に右寄せ（タピオカと同じ並び）
   kw_has_kh は header.php が「キープ」「履歴」を出した時だけ付ける（header.php が古い時は今までの形のまま） */
#body_outer #header.kw_has_header_apply.kw_has_kh .kw_hd_actions {
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}
#body_outer #header.kw_has_header_apply.kw_has_kh .kw_hd_actions::after {
	content: none;
	display: none;
}
#header.kw_has_header_apply.kw_has_kh .kw_hd_kh {
	margin: 0;
}
/* 2026-09-25 松原さん指示：タピオカのように「応募する」を右上（右の空きを無くす）、メニュー（≡）を1段下の「キープ」「履歴」の右へ */
#body_outer #header.kw_has_header_apply.kw_has_kh .kw_hd_actions {
	padding-right: 10px;
}
#body_outer #header.kw_has_header_apply.kw_has_kh .kw_hd_kh {
	margin-right: 46px;
}
#body_outer #header.kw_has_header_apply.kw_has_kh #toggle {
	top: 76px;
}
/* 2026-09-26 松原さん指示：ヘッダーの隙間を詰める（ラウンジタピオカのように）
   上と下の余白を減らす／サイト名は「応募する」の横（上の段）にそろえる／メニュー（≡）は「キープ」「履歴」のマークと同じ高さ */
#body_outer #header.kw_has_header_apply.kw_has_kh {
	padding-top: 5px;
	padding-bottom: 4px;
}
#body_outer #header.kw_has_header_apply.kw_has_kh > .container > .row {
	align-items: flex-start;
}
#body_outer #header.kw_has_header_apply.kw_has_kh .header_logo {
	display: flex;
	align-items: center;
	min-height: 50px;
	margin: 0;
}
#body_outer #header.kw_has_header_apply.kw_has_kh .kw_site_name {
	margin: 0;
}
#body_outer #header.kw_has_header_apply.kw_has_kh #toggle {
	top: 56px; /* 「応募する」のすぐ下（重ならない） */
}
/* 2026-09-26 松原さん指示：メニュー（≡）の下に「MENU」（ラウンジタピオカと同じ）。文字の大きさ・色は「キープ」「履歴」と同じ */
#body_outer #header.kw_has_header_apply.kw_has_kh #toggle {
	height: 48px;
}
#body_outer #header.kw_has_header_apply.kw_has_kh #toggle::after {
	content: "MENU";
	position: absolute;
	top: 36px;
	left: 0;
	right: 0;
	font-size: 10px;
	font-weight: bold;
	line-height: 12px;
	text-align: center;
	white-space: nowrap;
	color: #003654;
}

/* ---- 「キープする」ボタン（一覧カード・求人詳細） ---- */
.kw_keep {
	margin: 0;
}
.kw_keep::after {
	content: none;
	display: none;
}
.kw_keep .kw_keep_btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 6px;
	border: 1px solid #0090DD;
	border-radius: 6px;
	background: #fff;
	color: #0090DD;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
}
.kw_keep .kw_keep_btn .fa {
	margin: 0 5px 0 0;
}
.kw_keep .kw_keep_on,
.kw_keep .kw_keep_del {
	border-color: #c7c7c7;
	background: #f4f4f4;
	color: #555;
}
.kw_keep .kw_keep_on .fa,
.kw_keep .kw_keep_del .fa {
	color: #f5b400;
}
.kw_keep .kw_keep_on {
	display: none;
}
.kw_keep.is-kept .kw_keep_add {
	display: none;
}
.kw_keep.is-kept .kw_keep_on {
	display: block;
}
.kw_keep .kw_keep_btn:focus-visible {
	outline: 2px solid #0090DD;
	outline-offset: 2px;
}

/* 一覧カード：「もっと見る」「応募する」の下 */
.kw_card .kw_keep {
	margin: 8px 0 0;
}
.kw_card .kw_keep .kw_keep_btn {
	padding: 9px 6px;
	font-size: 15px;
	border-radius: 4px;
}

/* 求人詳細：応募ボタンの下（応募ボタンとの間はボタン同士と同じくらいに詰め、下の余白は応募ボタンの下にあった分を引き継ぐ） */
.kw_keep_detail {
	margin: 12px auto 20px;
}
.job_detail .job_apply_top + .kw_keep_detail {
	margin-top: -30px;
	margin-bottom: 30px;
}
.job_detail .job_apply_bottom + .kw_keep_detail {
	margin-top: -50px;
	margin-bottom: 50px;
}

/* 求人詳細の終わりの「あなたが見た求人」：見た求人を全部、横に並べて指で送る（タピオカのスライドと同じ見せ方） */
#job_history .kw_history_list > .row {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
}
#job_history .kw_history_list > .row::before,
#job_history .kw_history_list > .row::after {
	content: none;
	display: none;
}
#job_history .kw_history_list .kw_card_col {
	float: none;
	flex: 0 0 85%;
	width: 85%;
	max-width: 85%;
	margin-bottom: 0;
	scroll-snap-align: start;
}
@media (min-width: 768px) {
	#job_history .kw_history_list .kw_card_col {
		flex-basis: 46%;
		width: 46%;
		max-width: 46%;
	}
}

/* /history/ に1件も無い時 */
.kw_kh_page .kw_kh_none {
	margin: 10px;
	font-size: 15px;
}
