/*
Theme Name: Minatoya Izakaya
Template: twentytwentyone
Version: 1.0.0
Text Domain: minatoya-izakaya
*/

:root {
	--ink: #1d2227;
	--muted: #626b74;
	--paper: #f5f1ea;
	--white: #fffdf8;
	--line: #ded6ca;
	--charcoal: #202225;
	--red: #9a2f2f;
	--indigo: #263d5f;
	--gold: #b78b36;
	--leaf: #536b4d;
	--shadow: 0 14px 40px rgba(30, 24, 18, 0.11);
	--global--font-size-base: 14px;
	--global--font-size-xs: 11px;
	--global--font-size-sm: 12px;
	--global--font-size-md: 14px;
	--global--font-size-lg: 16px;
	--global--font-size-xl: 20px;
	--heading--font-size-h1: 28px;
	--heading--font-size-h2: 20px;
	--heading--font-size-h3: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.minatoya-body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-size: 14px !important;
	line-height: 1.75;
	letter-spacing: 0;
}

body.minatoya-body p,
body.minatoya-body li,
body.minatoya-body td,
body.minatoya-body th {
	font-size: 14px;
	line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: rgba(255, 253, 248, 0.95);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(12px);
}

.header-inner,
.section-inner {
	width: min(1160px, calc(100% - 36px));
	margin: 0 auto;
}

.header-inner {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.brand {
	display: grid;
	gap: 2px;
	line-height: 1.18;
}

.brand strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--charcoal);
}

.brand span {
	font-size: 11px;
	color: var(--muted);
}

.global-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 2px 14px;
	font-size: 12px;
	font-weight: 800;
	color: #333a40;
}

.global-nav a {
	padding: 8px 0;
	border-bottom: 2px solid transparent;
}

.global-nav a:hover,
.global-nav a:focus {
	color: var(--red);
	border-color: var(--red);
}

.hero {
	min-height: 430px;
	display: grid;
	align-items: end;
	background:
		linear-gradient(90deg, rgba(17, 18, 20, 0.78), rgba(17, 18, 20, 0.44) 52%, rgba(17, 18, 20, 0.06)),
		var(--hero-image) center / cover no-repeat;
	color: #fff;
}

.hero-content {
	width: min(1160px, calc(100% - 36px));
	margin: 0 auto;
	padding: 58px 0 60px;
}

.eyebrow {
	margin: 0 0 9px;
	font-size: 11px !important;
	font-weight: 800;
	color: #f2d59a;
}

h1,
.page-title {
	margin: 0;
	font-size: 28px !important;
	line-height: 1.25;
	letter-spacing: 0;
}

.hero h1 { max-width: 620px; color: #fff; }
.hero-lead {
	max-width: 540px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px !important;
}

.hero-actions,
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--red);
	background: var(--red);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	border-radius: 0;
}

.btn.secondary {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.56);
	color: #fff !important;
}

.section {
	padding: 54px 0;
}

.section.alt { background: var(--white); }
.section.dark { background: var(--charcoal); color: #fff; }
.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 22px;
}

.section-head h2,
.section-title {
	margin: 0;
	font-size: 20px !important;
	line-height: 1.35;
	letter-spacing: 0;
}

.section-head p,
.section-lead {
	max-width: 560px;
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 14px !important;
}

.dark .section-head p,
.dark .section-lead { color: rgba(255, 255, 255, 0.76); }

.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.menu-panel,
.course-card,
.news-card {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card img,
.course-card img,
.news-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.card-body,
.course-body,
.news-body {
	padding: 18px;
	display: grid;
	gap: 10px;
}

.card h3,
.course-card h3,
.news-card h3,
.menu-panel h3 {
	margin: 0;
	font-size: 16px !important;
	line-height: 1.35;
	letter-spacing: 0;
}

.card p,
.course-card p,
.news-card p,
.menu-panel p {
	margin: 0;
	color: var(--muted);
	font-size: 14px !important;
}

.price-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.price-list li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}

.price-list strong { font-size: 14px; }
.price-list span { color: var(--red); font-weight: 800; font-size: 14px; }

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag-list li {
	padding: 4px 8px;
	background: #f2eadf;
	border: 1px solid var(--line);
	font-size: 11px !important;
	font-weight: 800;
	color: #4c3d31;
}

.menu-panel { padding: 20px; }
.menu-panel .panel-image {
	margin: -20px -20px 16px;
	width: calc(100% + 40px);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.course-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
}

.course-meta div {
	padding: 10px;
	background: #f8f3ea;
	border: 1px solid var(--line);
}

.course-meta dt {
	margin: 0 0 3px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
}

.course-meta dd {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
}

.info-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid var(--line);
}

.info-table th,
.info-table td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.info-table th {
	width: 142px;
	background: #f3eadf;
	font-size: 13px;
}

.notice {
	padding: 14px;
	border: 1px solid var(--line);
	background: #fff8eb;
	color: #5a4631;
	font-size: 12px !important;
}

.gallery-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.gallery-strip img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.site-footer {
	background: #151719;
	color: rgba(255, 255, 255, 0.78);
	padding: 34px 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 30px;
}

.footer-grid h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 18px !important;
}

.footer-grid p,
.footer-grid li {
	font-size: 12px !important;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 860px) {
	.header-inner {
		min-height: auto;
		padding: 12px 0;
		align-items: flex-start;
		flex-direction: column;
	}
	.global-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 0 12px;
	}
	.hero { min-height: 390px; }
	h1,
	.page-title { font-size: 22px !important; }
	.section { padding: 40px 0; }
	.section-head { display: block; }
	.grid,
	.grid.two,
	.grid.four,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.course-meta { grid-template-columns: 1fr; }
	.gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.info-table th,
	.info-table td {
		display: block;
		width: 100%;
	}
}
