@charset "UTF-8";

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	title
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.archive__title{
    position: relative;
    height: 320px;
    background-image: url(/wordpress/wp-content/themes/resocaba__theme/images/archive/shop__bg--pc.png);
    background-image: url(/wp-content/themes/resocaba__theme/images/archive/shop__bg--pc.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.archive__title.hongkong{
    background-image: url(/wordpress/wp-content/themes/resocaba__theme/images/archive/hongkong__bg--pc.png);
    background-image: url(/wp-content/themes/resocaba__theme/images/archive/hongkong__bg--pc.png);
}
.archive__title h1{
    width: 100%;
    padding: 0 20px;
    margin-top: 44px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.5;
    letter-spacing: 0.03em;
}
@media only screen and (max-width: 1024px) {
    .archive__title{
        margin-top: 54px;
        height: 140px;
        background-image: url(/wordpress/wp-content/themes/resocaba__theme/images/archive/shop__bg--sp.png);
        background-image: url(/wp-content/themes/resocaba__theme/images/archive/shop__bg--sp.png);
    }
    .archive__title.hongkong{
        background-image: url(/wordpress/wp-content/themes/resocaba__theme/images/archive/hongkong__bg--sp.png);
        background-image: url(/wp-content/themes/resocaba__theme/images/archive/hongkong__bg--sp.png);
    }
    .archive__title h1{
        margin-top: 0;
        font-size: 28px;
    }
}
@media only screen and (max-width: 768px) {
    .archive__title h1{
        font-size: 18px;
    }
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	shop
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.archive__shop{
    background: #FEF8E8;
	padding: 0 0 40px;
}
.archive__shop--inner{
	max-width: 1280px;
	margin: 0 auto;
    display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.archive__shop--inner--tag{
    width: 17.1875%;
}
.archive__shop--inner--list{
    width: 78.125%;
}

@media only screen and (max-width: 1024px) {
    .archive__shop{
        background: #FEF8E8;
    }
    .archive__shop--inner{
        max-width: 100%;
        padding: 0 20px;
        flex-direction: column-reverse;
    }
    .archive__shop--inner--tag{
        width: 100%;
    }
    .archive__shop--inner--list{
        width: 100%;
    }
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	list
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.archive__shop--inner--list .type1__flex3{
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.archive__shop--inner--list .recommendation__card{
    margin-bottom: 40px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	tag
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.tag__content--category{
    position: relative;
    background: #C3A76C;
    padding: 10px 26px 10px 20px;
    display: flex;
	align-items: center;
	justify-content: flex-start;
}
.tag__content--category img:nth-of-type(1){
    width: 20px;
    margin-right: 8px;
}
.tag__content--category p{
    color: #fff;
    font-family: "NotoSansJP";
    font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.tag__content--category img:nth-of-type(2),.tag__content--category img:nth-of-type(3){
    position: absolute;
	top: 0;
	bottom: 0;
    right: 12px;
	margin: auto 0;
	width: 14px;
	height: 14px;
}
.tag__content--category img:nth-of-type(3){
    display: none;
}
.tag__content.close .tag__content--category img:nth-of-type(2){
    display: none;
}
.tag__content.close .tag__content--category img:nth-of-type(3){
    display: block;
}
.tag__content--select{
    background: #fff;
    padding: 20px;
}
.tag__content--select div{
    margin-bottom: 12px;
}
.tag__content--select div:last-of-type{
    margin-bottom: 0;
}
.tag__content--select div a{
    color: #333333;
    font-family: "NotoSansJP";
    font-size: 14px;
	font-weight: 400;
	line-height: 1;
}




/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2026-08-17 追加：店舗一覧のページ送り（依頼書 #3）
このコメントから下をすべて削除すれば、追加前の状態に戻ります。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* 読み上げソフト用の見出し（画面には表示しない）
   WordPress が出力する標準クラス。テーマ側に定義が無いと
   「ページ送り」という文字がそのまま画面に出てしまうため追加。 */
.screen-reader-text{
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop__pagination{
    margin-top: 48px;
}
.shop__pagination .nav-links{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}
.shop__pagination .page-numbers{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: #FEF8E8;
    border-radius: 4px;
    color: #2D220C;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
.shop__pagination .page-numbers:hover{
    opacity: 0.7;
}
.shop__pagination .page-numbers.current{
    background: #705319;
    color: #fff;
    font-weight: 700;
}
.shop__pagination .page-numbers.dots{
    min-width: auto;
    padding: 0 4px;
    background: transparent;
}
.shop__pagination .page-numbers.prev,
.shop__pagination .page-numbers.next{
    font-size: 14px;
}

/* 該当0件のとき */
.archive__empty{
    padding: 40px 0;
    color: #2D220C;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .shop__pagination{
        margin-top: 32px;
    }
    .shop__pagination .nav-links{
        gap: 6px;
    }
    .shop__pagination .page-numbers{
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }
}


/* -----------------------------------------------------------------------------
 * 掲載情報の確度バッジ（2026-08-18 追加）
 *
 *   .shop-badge--visited  … 取材済み（現地を訪問し、自社で撮影・確認した店）
 *   .shop-badge--official … 公式情報（店舗から直接、条件の提供を受けた店）
 *
 *   バッジが付かない店は「公開されている求人情報をもとに掲載」。
 *   ネガティブな表示は意図的に付けていません。
 *
 *   判定は functions.php の rc_shop_source_tier()、出力は
 *   template-parts/archive/list.php です。
 * -------------------------------------------------------------------------- */

.archive__shop--inner--list .recommendation__card > a {
	position: relative;
	display: block;
}

.archive__shop--inner--list .shop-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 12px;
	border-radius: 2px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.5;
	white-space: nowrap;
}

.archive__shop--inner--list .shop-badge--official {
	background: #C3A76C;
	color: #fff;
}

.archive__shop--inner--list .shop-badge--visited {
	background: #2D220C;
	color: #E6CE96;
}

/* 枠は outline で付ける。border だとカードの寸法が変わり、行の高さがずれるため */
.archive__shop--inner--list .recommendation__card.is-official,
.archive__shop--inner--list .recommendation__card.is-visited {
	outline: 1px solid #C3A76C;
}


/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2026-08-18 追加：求人検索UI
（結果バー／絞り込みパネル／比較つき求人カード／スマホの固定バー）

このコメントから下をすべて削除すれば、追加前の状態に戻ります。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---------- 結果バー ---------- */
.job-results{
	background: #fff;
	border: 1px solid #EADFC4;
	border-radius: 4px;
	padding: 14px 16px;
	margin: 24px 0 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}
.job-results__count{
	font-family: "NotoSansJP";
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	margin-right: auto;
}
.job-results__count strong{
	font-size: 22px;
	font-weight: 700;
	color: #8A6D2F;
	margin-right: 2px;
}
.job-results__count span{
	font-size: 12px;
	color: #7a6a4a;
}
.job-results__active{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	order: 3;
}
.job-results__active li a{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #F4EAD2;
	color: #4a3c1c;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}
.job-results__active li a:hover{ background: #EADFC4; }
.job-results__clear a{
	background: transparent;
	color: #8A6D2F;
	text-decoration: underline;
}
.job-results__sort{
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #6b5c3c;
}
.job-results__sort a{
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 10px;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	border: 1px solid #EADFC4;
}
.job-results__sort a.is-current{
	background: #C3A76C;
	border-color: #C3A76C;
	color: #fff;
	font-weight: 700;
}

/* ---------- 絞り込みパネル ---------- */
.tag__panel--head{
	display: none;
}
.tag__content{
	margin-bottom: 16px;
}
/* 見出しを button にしたことによる既定スタイルの打ち消し */
button.tag__content--category{
	width: 100%;
	border: 0;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	min-height: 44px;
}
button.tag__content--category:focus-visible{
	outline: 3px solid #2D220C;
	outline-offset: 2px;
}
.tag__content--category span:not([class]){
	color: #fff;
	font-family: "NotoSansJP";
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}
.tag__content--select div a{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 32px;
	line-height: 1.4;
	text-decoration: none;
}
.tag__content--select div a span{
	color: #8A6D2F;
	font-size: 12px;
}
.tag__content--select div.is-current a{
	font-weight: 700;
	color: #8A6D2F;
}

/* こだわり条件のチェックボックス */
.tag__content--checks{
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tag__check{
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 4px 2px;
	cursor: pointer;
	font-family: "NotoSansJP";
	font-size: 14px;
	line-height: 1.4;
	color: #333;
}
.tag__check input{
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	accent-color: #8A6D2F;
}
.tag__filter--actions{
	margin: 8px 0 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tag__filter--submit{
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 4px;
	background: #2D220C;
	color: #E6CE96;
	font-family: "NotoSansJP";
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.tag__filter--clear{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	color: #8A6D2F;
	font-size: 13px;
}
.tag__filter--note{
	font-size: 11px;
	line-height: 1.6;
	color: #7a6a4a;
	margin-bottom: 16px;
}

/* ---------- 求人カードの比較情報 ---------- */
.job-card__location{
	display: flex;
	align-items: center;
	gap: 6px;
}
.job-card__salary{
	margin-top: 8px;
	font-family: "NotoSansJP";
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #333;
}
.job-card__salary span{
	display: inline-block;
	margin-right: 6px;
	padding: 1px 6px;
	border-radius: 2px;
	background: #F4EAD2;
	color: #6b5c3c;
	font-size: 11px;
	font-weight: 700;
	vertical-align: 2px;
}
.job-card__salary.is-unknown{
	color: #8a8071;
	font-weight: 400;
}
.job-card__facts{
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 10px;
}
.job-card__facts > div{
	display: flex;
	gap: 6px;
	font-family: "NotoSansJP";
	font-size: 12px;
	line-height: 1.5;
}
.job-card__facts dt{
	flex: 0 0 auto;
	color: #8a8071;
}
.job-card__facts dd{
	margin: 0;
	color: #333;
	font-weight: 500;
	word-break: break-word;
}
.job-card__facts > div.is-unknown dd{
	color: #a49a89;
	font-weight: 400;
}
.job-card__verified{
	margin-top: 8px;
	font-size: 11px;
	color: #8a8071;
}
.archive__shop--inner--list .recommendation__chips{
	margin-top: 8px;
}

/* ---------- 該当なし ---------- */
.archive__empty{
	background: #fff;
	border: 1px solid #EADFC4;
	border-radius: 4px;
	padding: 32px 20px;
	text-align: center;
	font-family: "NotoSansJP";
	font-size: 14px;
	line-height: 1.9;
	color: #333;
}
.archive__empty--actions a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 12px;
	padding: 0 24px;
	border-radius: 4px;
	background: #06C755;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.archive__empty--actions a[href*="rc_"],
.archive__empty--actions a:not([target]){
	background: #2D220C;
	color: #E6CE96;
}

/* ---------- スマートフォンの固定バー ---------- */
.job-sticky{
	display: none;
}

@media only screen and (max-width: 1024px) {
	/* 絞り込みパネルは既定で隠し、固定バーのボタンから開く。
	   .rc-shop-archive は求人一覧のときだけ body に付くクラス（inc/seo-meta.php）。
	   ブログのカテゴリーページでは、これまでどおりの並びのままにしています。 */
	body.rc-shop-archive .archive__shop--inner{
		flex-direction: column;
	}
	body.rc-shop-archive .archive__shop--inner--tag{
		position: fixed;
		inset: 0;
		z-index: 1000;
		background: #FEF8E8;
		padding: 0 20px 120px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateY(100%);
		transition: transform .24s ease;
		visibility: hidden;
	}
	body.rc-shop-archive.filter-open .archive__shop--inner--tag{
		transform: translateY(0);
		visibility: visible;
	}
	body.filter-open{
		overflow: hidden;
	}
	body.rc-shop-archive .tag__panel--head{
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 0;
		background: #FEF8E8;
		border-bottom: 1px solid #EADFC4;
		margin-bottom: 16px;
	}
	.tag__panel--head p{
		font-family: "NotoSansJP";
		font-size: 16px;
		font-weight: 700;
		color: #2D220C;
	}
	.tag__panel--close{
		min-height: 44px;
		min-width: 64px;
		border: 1px solid #C3A76C;
		border-radius: 4px;
		background: #fff;
		color: #6b5c3c;
		font-size: 14px;
		cursor: pointer;
	}

	.job-sticky{
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		display: flex;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255,255,255,.96);
		border-top: 1px solid #EADFC4;
	}
	.job-sticky__filter{
		flex: 1 1 40%;
		min-height: 48px;
		border: 1px solid #2D220C;
		border-radius: 4px;
		background: #fff;
		color: #2D220C;
		font-family: "NotoSansJP";
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}
	.job-sticky__filter span{
		display: inline-block;
		margin-left: 6px;
		min-width: 20px;
		padding: 1px 6px;
		border-radius: 999px;
		background: #2D220C;
		color: #E6CE96;
		font-size: 12px;
	}
	.job-sticky__line{
		flex: 1 1 60%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		border-radius: 4px;
		background: #06C755;
		color: #fff;
		font-family: "NotoSansJP";
		font-size: 15px;
		font-weight: 700;
		text-decoration: none;
		line-height: 1.2;
	}
	.job-sticky__line small{
		font-size: 10px;
		font-weight: 400;
	}

	/* 固定バーのぶん、一覧の下に余白をつくる */
	body.rc-shop-archive .archive__shop{
		padding-bottom: 96px;
	}

	.job-results{
		margin-top: 16px;
	}
	.job-card__facts{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 480px) {
	.job-card__facts{
		grid-template-columns: 1fr 1fr;
	}
	.job-results__sort{
		width: 100%;
	}
}

/* ---------- 記事一覧（カテゴリー・タグページ） ---------- */
.article-card__excerpt{
	margin-top: 6px;
	font-family: "NotoSansJP";
	font-size: 12px;
	line-height: 1.7;
	color: #6b5c3c;
}
.article-card__date{
	margin-top: 8px;
	font-size: 11px;
	color: #8a8071;
}

/* ---------- 404 / 検索結果 ---------- */
.notfound{
	background: #fff;
	border: 1px solid #EADFC4;
	border-radius: 4px;
	padding: 32px 24px;
	margin: 32px 0;
	font-family: "NotoSansJP";
	color: #333;
}
.notfound__lead{
	font-size: 15px;
	line-height: 1.9;
	margin-bottom: 24px;
}
.notfound h2{
	font-size: 16px;
	font-weight: 700;
	color: #2D220C;
	margin: 24px 0 8px;
}
.notfound__links{
	list-style: none;
	padding: 0;
	margin: 0;
}
.notfound__links li{
	border-bottom: 1px solid #F0E7D2;
}
.notfound__links a{
	display: flex;
	align-items: center;
	min-height: 48px;
	color: #8A6D2F;
	font-size: 14px;
	text-decoration: none;
}
.notfound__links a:hover{
	text-decoration: underline;
}

/* ---------- 都市ページの説明（2026-08-18 追加） ---------- */
.city-intro{
	background: #fff;
	border: 1px solid #EADFC4;
	border-radius: 4px;
	padding: 20px 22px;
	margin-top: 24px;
	font-family: "NotoSansJP";
	font-size: 14px;
	line-height: 1.9;
	color: #333;
}
.city-intro strong{ font-weight: 700; color: #8A6D2F; }
.city-intro__stats{
	list-style: none;
	padding: 0;
	margin: 10px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.city-intro__stats li{
	padding: 4px 12px;
	border-radius: 999px;
	background: #F4EAD2;
	font-size: 13px;
}
.city-intro__note{ font-size: 12px; color: #7a6a4a; }
.city-intro__guide a{ color: #8A6D2F; text-decoration: underline; }
@media only screen and (max-width: 768px) {
	.city-intro{ padding: 16px; font-size: 13px; }
}
