/*
Theme Name: Arkhe Child Beergarden
Template: arkhe
Description: 北陸ビアガーデン情報館（kanazawa-beergarden.com）用の Arkhe 子テーマ
Version: 1.0.0
*/

:root {
	--bg-accent: #f0a500;
	--bg-accent-dark: #c98500;
	--bg-ink: #222;
	--bg-muted: #727372;
	--bg-line: #e5e2dc;
	--bg-soft: #faf7f0;
	--bg-radius: 8px;
}

/* ---------- 共通パーツ ---------- */
.bg-sectionTitle {
	margin: 2.5em 0 1em;
	padding: 0 0 .4em;
	border-bottom: 3px solid var(--bg-accent);
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.4;
}
.bg-sectionTitle__count { margin-left: .8em; color: var(--bg-muted); font-size: .7em; font-weight: 400; }
.bg-chips { display: flex; flex-wrap: wrap; gap: .4em; margin: 0; padding: 0; list-style: none; }
.bg-chip {
	display: inline-block; padding: .15em .7em; border-radius: 99px;
	background: var(--bg-soft); border: 1px solid var(--bg-line); font-size: .8em; line-height: 1.6;
}
.bg-chip.-area { background: var(--bg-ink); border-color: var(--bg-ink); color: #fff; }
.bg-chip.-area a { color: inherit; text-decoration: none; }
.bg-chip.-genre { background: #fff4d6; border-color: #f3dfa8; }

.bg-period {
	display: inline-block; margin: 0 0 1em; padding: .35em 1em; border-radius: 4px;
	background: var(--bg-accent); color: #fff; font-weight: 700; font-size: .9em;
}
.bg-period.-old { background: var(--bg-muted); }

.bg-caution {
	margin: 0 0 1.5em; padding: 1em 1.2em; border: 2px solid #e2574c; border-radius: var(--bg-radius); background: #fff5f4;
}
.bg-caution__title { margin: 0 0 .3em; color: #e2574c; font-weight: 700; }
.bg-caution p { margin: 0; }

/* 基本情報 */
.bg-info { margin: 0; border-top: 1px solid var(--bg-line); }
.bg-info__row { display: flex; border-bottom: 1px solid var(--bg-line); }
.bg-info dt {
	flex: 0 0 7em; margin: 0; padding: .7em .8em; background: var(--bg-soft); font-weight: 700; font-size: .9em;
}
.bg-info dd { flex: 1; margin: 0; padding: .7em .8em; font-size: .95em; word-break: break-word; }

/* 特徴(タグ)バッジ */
.bg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin: 1.2em 0; padding: 0; list-style: none; }
.bg-feature {
	padding: .6em .3em; border-radius: var(--bg-radius); border: 1px solid var(--bg-line);
	background: #f3f3f3; color: #a8a8a8; font-size: .8em; font-weight: 700; line-height: 1.35; text-align: center;
}
.bg-feature.is-on { background: #fff4d6; border-color: var(--bg-accent); color: var(--bg-ink); }
.bg-feature.is-on::before { content: "\2714"; margin-right: .3em; color: var(--bg-accent-dark); }

/* 予約リンク */
.bg-reserve { display: grid; grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); gap: .6em; margin: 1.5em 0 0; }
.bg-reserve a {
	display: block; padding: .85em .5em; border-radius: var(--bg-radius); color: #fff; font-weight: 700;
	text-align: center; text-decoration: none; white-space: nowrap; transition: opacity .2s;
}
.bg-reserve a:hover { opacity: .8; }
.bg-reserve .-hotpepper { background: #d9333f; }
.bg-reserve .-tabelog { background: #f39800; }
.bg-reserve .-gurunavi { background: #c8102e; }
.bg-reserve .-ikyu { background: #1a3e6f; }
.bg-reserve .-official { background: var(--bg-ink); }

/* 店舗情報の枠 */
.bg-infoBox { padding: 1.2em; border: 1px solid var(--bg-line); border-radius: var(--bg-radius); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.bg-infoBox__title { margin: -1.2em -1.2em 1em; padding: .6em 1.2em; border-radius: var(--bg-radius) var(--bg-radius) 0 0; background: var(--bg-ink); color: #fff; font-size: .9em; font-weight: 700; }
.bg-infoBox > :last-child { margin-bottom: 0; }

/* 広告が配信されなかった枠は空白を残さない（AdSenseが付ける data-ad-status を利用） */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ---------- 店舗ページ ---------- */
.bg-shop__head { margin-bottom: 1.2em; }
.bg-shop__title { margin: .5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.35; }
.bg-shop__nav { display: flex; gap: .5em; margin: 1.2em 0; padding: 0; list-style: none; }
.bg-shop__nav li { flex: 1; }
.bg-shop__nav a {
	display: block; padding: .6em .2em; border-radius: var(--bg-radius); background: var(--bg-ink); color: #fff;
	font-size: .8em; font-weight: 700; text-align: center; text-decoration: none;
}
.bg-shop__nav a:hover { background: var(--bg-accent-dark); }
.bg-shop__summary { display: grid; gap: 1.5em; margin-bottom: 2em; }
.bg-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; border-radius: var(--bg-radius); overflow: hidden; }
.bg-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-photos__main { grid-row: 1 / 3; aspect-ratio: 1 / 1; }
.bg-photos__sub { min-height: 0; }
.bg-photos.-single { grid-template-columns: 1fr; grid-template-rows: auto; }
.bg-photos.-single .bg-photos__main { grid-row: auto; aspect-ratio: 16 / 10; }

.bg-shop__catch { margin: 0 0 .6em; font-size: 1.25em; font-weight: 700; line-height: 1.5; }
.bg-shop__intro { margin: 0 0 2em; line-height: 1.9; }

.bg-items { display: grid; gap: 1.5em; }
.bg-item { display: grid; gap: 1em; padding-bottom: 1.5em; border-bottom: 1px dashed var(--bg-line); }
.bg-item:last-child { border-bottom: 0; }
.bg-item__img img { width: 100%; border-radius: var(--bg-radius); aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bg-item__title { margin: 0 0 .4em; font-size: 1.1em; font-weight: 700; line-height: 1.5; }
.bg-item__price { margin: 0 0 .6em; color: var(--bg-accent-dark); font-size: .9em; font-weight: 700; line-height: 1.7; }
.bg-item__desc { margin: 0; font-size: .95em; line-height: 1.8; }

.bg-ad { margin: 1.5em 0; }
.bg-ad ul, .bg-ad li { margin: 0; padding: 0; list-style: none; }

/* 関連記事・トップのミニカード */
.bg-miniList { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; margin: 0; padding: 0; list-style: none; }
.bg-mini a { display: block; color: inherit; text-decoration: none; }
.bg-mini__img { border-radius: var(--bg-radius); overflow: hidden; background: #eee; aspect-ratio: 4 / 3; }
.bg-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bg-mini a:hover img { transform: scale(1.05); }
.bg-mini__title { margin: .5em 0 0; font-size: .9em; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bg-mini__area { display: block; margin-top: .2em; color: var(--bg-muted); font-size: .75em; }

/* ---------- 店舗カード(一覧) ---------- */
.bg-cardList { display: grid; gap: 1.5em; margin: 0; padding: 0; list-style: none; }
.bg-card { padding: 1.2em; border: 1px solid var(--bg-line); border-radius: var(--bg-radius); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.bg-card__title { margin: .5em 0; font-size: 1.2em; font-weight: 700; line-height: 1.4; }
.bg-card__title a { color: inherit; text-decoration: none; }
.bg-card__title a:hover { color: var(--bg-accent-dark); }
.bg-card__body { display: grid; gap: 1em; margin-top: 1em; }
.bg-card__catch { margin: 0 0 .5em; font-weight: 700; line-height: 1.6; }
.bg-card__excerpt { margin: 0 0 1em; font-size: .9em; line-height: 1.8; }
.bg-card__more { display: inline-block; margin-top: .2em; color: var(--bg-accent-dark); font-weight: 700; }
.bg-card .bg-info dt { flex-basis: 5.5em; font-size: .8em; padding: .5em .6em; }
.bg-card .bg-info dd { font-size: .85em; padding: .5em .6em; }
.bg-card .bg-features { margin: 1em 0 0; }
.bg-card .bg-reserve { margin-top: 1em; }
.bg-card .bg-reserve a { padding: .7em .5em; font-size: .9em; }

/* ---------- 検索フォーム ---------- */
.bg-search { padding: 1.2em; border-radius: var(--bg-radius); background: var(--bg-ink); color: #fff; }
.bg-search__row { display: grid; gap: .6em; }
.bg-search input[type="text"], .bg-search select {
	width: 100%; height: 3em; padding: 0 1em; border: 0; border-radius: 4px; background: #fff; color: var(--bg-ink); font-size: 1em;
}
.bg-search__feats { display: flex; flex-wrap: wrap; gap: .4em 1em; margin: .9em 0 0; padding: 0; border: 0; font-size: .85em; }
.bg-search__feats legend { padding: 0; margin-bottom: .3em; font-weight: 700; }
.bg-search__feats label { display: inline-flex; align-items: center; gap: .3em; cursor: pointer; }
.bg-search__btn {
	height: 3em; border: 0; border-radius: 4px; background: var(--bg-accent); color: #fff; font-size: 1em; font-weight: 700; cursor: pointer;
}
.bg-search__btn:hover { background: var(--bg-accent-dark); }
.bg-searchResult__cond { margin: 1em 0 1.5em; color: var(--bg-muted); font-size: .9em; }

/* ---------- トップページ ---------- */
.bg-hero { position: relative; margin: 0 calc(50% - 50vw) 2em; min-height: 320px; display: flex; align-items: center; justify-content: center; background: #333 center / cover no-repeat; }
.bg-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.bg-hero__inner { position: relative; width: 100%; max-width: 900px; padding: 2.5em 1.2em; color: #fff; text-align: center; }
.bg-hero__caption { margin: 0 0 .3em; font-size: 1.1em; font-weight: 700; text-shadow: 2px 2px 5px #0a0a0a; }
.bg-hero__title { margin: 0 0 1.2em; font-size: 1.5em; font-weight: 700; line-height: 1.4; text-shadow: 2px 2px 5px #0a0a0a; }
.bg-hero .bg-search { background: rgba(34,34,34,.6); text-align: left; }
.bg-frontSection__more { margin: 1.2em 0 0; text-align: center; }
.bg-frontSection__more a {
	display: inline-block; padding: .7em 2.5em; border: 2px solid var(--bg-ink); border-radius: 99px; color: var(--bg-ink); font-weight: 700; text-decoration: none;
}
.bg-frontSection__more a:hover { background: var(--bg-ink); color: #fff; }

/* ---------- エリアページ ---------- */
.page-template-page-templaete-ereatop .p-topArea { min-height: 200px; }
.page-template-page-templaete-ereatop .p-topArea::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0,0,0,.45); }
.page-template-page-templaete-ereatop .c-pageTitle__main { font-size: 1.3em; line-height: 1.5; text-shadow: 1px 1px 6px rgba(0,0,0,.6); }
.page-template-page-templaete-ereatop .c-pageTitle__sub { font-size: .85em; opacity: .9; }
.bg-areaChips { margin: 1.5em 0 0; padding: 1em 1.2em; border-radius: var(--bg-radius); background: var(--bg-soft); }
.bg-areaChips__label { margin: 0 0 .6em; font-size: .85em; font-weight: 700; }
.bg-areaChips__list { display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; list-style: none; }
.bg-areaChips__list a {
	display: block; padding: .35em 1.1em; border: 1px solid var(--bg-ink); border-radius: 99px; background: #fff;
	color: var(--bg-ink); font-size: .9em; font-weight: 700; text-decoration: none;
}
.bg-areaChips__list a:hover { background: var(--bg-ink); color: #fff; }

/* ---------- PC ---------- */
@media (min-width: 768px) {
	.bg-shop__title { font-size: 2em; }
	.bg-shop__summary { grid-template-columns: 1fr 1fr; align-items: start; }
	.bg-features { grid-template-columns: repeat(6, 1fr); }
	.bg-shop__summary .bg-features, .bg-card .bg-features { grid-template-columns: repeat(3, 1fr); }
	.bg-item.-hasImg { grid-template-columns: 280px 1fr; align-items: start; }
	.bg-miniList { grid-template-columns: repeat(4, 1fr); }
	.bg-card__body { grid-template-columns: 300px 1fr; align-items: start; }
	.bg-search__row { grid-template-columns: 2fr 1.4fr 8em; }
	.bg-hero { min-height: 460px; }
	.bg-hero__caption { font-size: 1.6em; }
	.bg-hero__title { font-size: 2.2em; }
	.page-template-page-templaete-ereatop .p-topArea { min-height: 260px; }
	.page-template-page-templaete-ereatop .c-pageTitle__main { font-size: 1.8em; }
}
