@charset "utf-8";
/*
 * custom.css: hand-written additions, linked right after import.css in /include/common/common.php.
 * style.css is compiled from /scss and may be regenerated, so additions live here instead.
 * After editing this file, bump the ?v= number in common.php so browsers fetch the new version.
 *
 * 2026-11-20: Header readability over the homepage slider (top slide only).
 *   White menu text and logo sat directly on the photos; 95-100% of the menu area
 *   failed WCAG 4.5:1 contrast. A brand-maroon scrim behind the header brings
 *   every slide to at least 5.4:1, while the photos still show through.
 */

/* Scrim behind the header, top slide only (other sections keep the paper header). */
.fp-viewing-top #HEADER::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(
		to bottom,
		rgba(30, 0, 0, 0.68) 0%,
		rgba(30, 0, 0, 0.6) 45%,
		rgba(30, 0, 0, 0) 100%
	);
	pointer-events: none;
	z-index: -1;
}

/* Menu links: clear hover and keyboard focus (all sections). */
#HEADER #gnavi > ul > li > a:hover,
#HEADER #gnavi > ul > li > a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
#HEADER #gnavi > ul > li > a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}
#HEADER #gnavi > ul > li:last-child > a:hover,
#HEADER #gnavi > ul > li:last-child > a:focus-visible {
	text-decoration: none; /* cart icon button */
}

@media screen and (min-width: 769px) {
	/* Extra edge definition for the white menu text on the photos. */
	.fp-viewing-top #HEADER #gnavi > ul > li > a {
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	}
}

@media only screen and (max-width: 768px) {
	.fp-viewing-top #HEADER::before {
		height: 110px;
	}
	/* Phone menu button: white icon on the dark scrim (the default icon is black). */
	.fp-viewing-top #HEADER #gnavi {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 8h24M4 16h24M4 24h24' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 32px 32px;
	}
	.fp-viewing-top #HEADER #gnavi.addClose {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 7l18 18M25 7L7 25' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 32px 32px;
	}
}

/*
 * 2026-11-20: Faster scroll-reveal animations (wow.js + animate.css).
 *   Sections took up to 3.6s to finish appearing (delays up to 2.6s, durations up to 2s,
 *   slides of a full element width). Now every section finishes in about 1s, overlapping
 *   fullPage's 0.7s section scroll, so content arrives with the scroll instead of after it.
 *   wow.js writes the delay/duration/name as inline styles, hence !important.
 */
/* Applied once wow.js has revealed an element (it writes "visibility: visible" inline) and kept
   after wow.js removes its .animated class at the end. Tying this to .animated made the timing
   flip back to the inline 2s at the end, which replayed the fade (egg/photo glitch). */
.wow[style*="visibility: visible"] {
	animation-duration: 0.6s !important;
	animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important; /* decelerate */
	animation-fill-mode: both !important;
}
/* Keep the original order, compressed (original delay -> new delay). */
.wow[style*="visibility: visible"][data-wow-delay="0.5s"] { animation-delay: 0.1s !important; }
.wow[style*="visibility: visible"][data-wow-delay="0.8s"] { animation-delay: 0.12s !important; }
.wow[style*="visibility: visible"][data-wow-delay="1s"]   { animation-delay: 0.15s !important; }
.wow[style*="visibility: visible"][data-wow-delay="1.2s"] { animation-delay: 0.2s !important; }
.wow[style*="visibility: visible"][data-wow-delay="1.8s"] { animation-delay: 0.25s !important; }
.wow[style*="visibility: visible"][data-wow-delay="2.6s"] { animation-delay: 0.35s !important; }

/* Shorter travel than animate.css (which moves a full element width/height). */
.wow.fadeInUp[style*="visibility: visible"]    { animation-name: uzFadeInUp !important; }
.wow.fadeInLeft[style*="visibility: visible"]  { animation-name: uzFadeInLeft !important; }
.wow.fadeInRight[style*="visibility: visible"] { animation-name: uzFadeInRight !important; }
@keyframes uzFadeInUp    { from { opacity: 0; transform: translate3d(0, 24px, 0); }  to { opacity: 1; transform: none; } }
@keyframes uzFadeInLeft  { from { opacity: 0; transform: translate3d(-32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes uzFadeInRight { from { opacity: 0; transform: translate3d(32px, 0, 0); }  to { opacity: 1; transform: none; } }

/* Visitors who ask their device for less motion: show everything immediately. */
@media (prefers-reduced-motion: reduce) {
	.wow,
	.wow.animated {
		visibility: visible !important;
		animation: none !important;
	}
}

/*
 * 2026-11-20: Homepage scrolling uses native CSS scroll-snap instead of fullPage.js.
 *   Scroll freely (wheel, trackpad, touch, keyboard); each section settles into place.
 *   Only the homepage has #fullpage, so :has() scopes everything to it.
 */
html:has(#fullpage) {
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
}
#fullpage > .section {
	/* exactly one screen tall, as fullPage.js did (some sections' content is a bit taller) */
	height: 100vh;
	height: 100svh; /* visible height on phones with the address bar shown */
	scroll-snap-align: start;
	scroll-snap-stop: always; /* one flick = one section, like before */
	position: relative;
	margin-bottom: 0 !important; /* theme gives .top/.concept a 60px gap; fullPage hid it, native scroll would show it */
}
/* fullPage used to absorb this offset; with normal scrolling it would make the page jump 75px. */
html:has(#fullpage) #WRAPPER {
	top: 0 !important;
}
/* Like before, every section except the top slider settles just BELOW the fixed header
   (75px, 60px on phones), so its first lines aren't hidden under the header and its bottom
   edge (e.g. the quail photo) stays tucked behind the bottom bar. */
/* The matching negative bottom margin keeps each snap area exactly one screen tall; otherwise
   the browser lets the page rest anywhere in the extra 75px and the cut-off comes back. */
#fullpage > .section:not(#top) {
	scroll-margin-top: 75px;
	scroll-margin-bottom: -75px;
}
@media screen and (max-width: 768px) {
	#fullpage > .section:not(#top) {
		scroll-margin-top: 60px;
		scroll-margin-bottom: -60px;
	}
}
/* Phones snap the same way: every section is exactly one screen tall, so nothing can trap scrolling,
   and each swipe lands on a whole section as it did with fullPage.js. */

/* Right-hand section dots (was drawn by fullPage.js; colours come from the theme's #fp-nav rules). */
#fp-nav {
	position: fixed;
	z-index: 100;
	top: 50%;
	right: 17px;
	transform: translateY(-50%);
}
#fp-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#fp-nav ul li {
	position: relative;
	display: block;
	width: 24px; /* 24px hit area (WCAG 2.2 target size); dot stays small */
	height: 24px;
	margin: 3px 0;
}
#fp-nav ul li a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
#fp-nav ul li a span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 4px;
	margin: -2px 0 0 -2px;
	border-radius: 50%;
	background: #580000;
	transition: all 0.15s ease-out;
}
#fp-nav ul li a.active span,
#fp-nav ul li a:hover span,
#fp-nav ul li a:focus-visible span {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
}
#fp-nav ul li a:focus-visible {
	outline: 2px solid #580000;
	outline-offset: 2px;
	border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
	html:has(#fullpage) {
		scroll-behavior: auto;
	}
}

/*
 * 2026-11-20: Lighter images. Same-name JPEG/PNG/SVG files were recompressed in place;
 * these two transparent PNG backgrounds also get a WebP version (about 90% smaller).
 * Browsers without image-set()/WebP support keep the PNG from style.css.
 */
.INDEX.news .display .newsArea:after {
	background-image: image-set(url("/images/index/bg_news.webp") type("image/webp"), url("/images/index/bg_news.png") type("image/png"));
}
.INDEX.access {
	background-image: image-set(url("/images/index/bg_access.webp") type("image/webp"), url("/images/index/bg_access.png") type("image/png"));
}

/*
 * 2026-11-20: Online shop button. The shop link was a round cart icon with no text, which reads
 *   as "your basket" rather than "visit our shop", so few visitors used it. It is now a labelled
 *   pill: shopping-bag icon + "ONLINE SHOP" + an arrow showing it opens a separate site.
 *   Maroon with white text on the paper header; cream with maroon text over the top slider
 *   (a maroon button would sink into the dark scrim there).
 */
#HEADER .navShop__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
#HEADER .navShop svg {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
#HEADER .navShop__bag {
	width: 20px;
	height: 20px;
}
#HEADER .navShop__ext {
	width: 14px;
	height: 14px;
	transition: transform 0.15s ease-out;
}
#HEADER .navShop a:hover .navShop__ext,
#HEADER .navShop a:focus-visible .navShop__ext {
	transform: translate(2px, -2px);
}

@media screen and (min-width: 769px) {
	#HEADER #gnavi > ul > li.navShop {
		margin: 5px 0 0 28px; /* vertically centred on the text links */
	}
	#HEADER #gnavi > ul > li.navShop > a {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		width: auto;
		height: 44px;
		padding: 0 16px 0 14px;
		text-indent: 0;
		overflow: visible;
		white-space: nowrap;
		background: #580000;
		color: #fff;
		border-radius: 22px;
		font-size: 15px;
		line-height: 1;
		letter-spacing: 0.06em;
		text-shadow: none;
		box-shadow: 0 2px 6px rgba(88, 0, 0, 0.25);
		transition: background-color 0.15s ease-out, box-shadow 0.15s ease-out;
	}
	#HEADER #gnavi > ul > li.navShop > a:hover {
		background: #7a1a1a;
		box-shadow: 0 4px 10px rgba(88, 0, 0, 0.3);
	}
	#HEADER #gnavi > ul > li.navShop > a:focus-visible {
		outline: 2px solid #580000;
		outline-offset: 3px;
	}
	/* Over the slider photos: cream button, maroon text. */
	.fp-viewing-top #HEADER #gnavi > ul > li.navShop > a {
		background: #f7f2ea;
		color: #580000;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	}
	.fp-viewing-top #HEADER #gnavi > ul > li.navShop > a:hover {
		background: #fff;
	}
	.fp-viewing-top #HEADER #gnavi > ul > li.navShop > a:focus-visible {
		outline-color: #fff;
	}
}
/* Narrower desktop screens: "SHOP" only, so the menu doesn't run into the logo. */
@media screen and (min-width: 769px) and (max-width: 1199px) {
	#HEADER .navShop__online {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	/* Phone header: labelled "SHOP" pill next to the menu button. */
	#HEADER .navShop--sp a {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		width: auto;
		height: 40px;
		padding: 0 14px 0 11px;
		border-radius: 20px;
		background: #580000;
		color: #fff;
		font-family: 'Roboto', sans-serif;
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.06em;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
		transition: background-color 0.15s ease-out;
	}
	#HEADER .navShop--sp a::after { /* 44px-tall touch area */
		content: "";
		position: absolute;
		top: -2px;
		right: 0;
		bottom: -2px;
		left: 0;
	}
	#HEADER .navShop--sp a:active {
		background: #7a1a1a;
	}
	#HEADER .navShop--sp a:focus-visible {
		outline: 2px solid #580000;
		outline-offset: 2px;
	}
	#HEADER .navShop--sp .navShop__bag {
		width: 18px;
		height: 18px;
	}
	.fp-viewing-top #HEADER .navShop--sp a {
		background: #f7f2ea;
		color: #580000;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	}
	.fp-viewing-top #HEADER .navShop--sp a:focus-visible {
		outline-color: #fff;
	}
	/* Also list the shop at the end of the ≡ menu (it was hidden there). */
	#HEADER #gnavi > ul > li.navShop {
		display: block;
	}
	#HEADER #gnavi > ul > li.navShop > a {
		display: flex;
		align-items: center;
		gap: 8px;
		width: auto;
		height: auto;
		text-indent: 0;
		overflow: visible;
		background: none;
		border-radius: 0;
	}
	#HEADER #gnavi > ul > li.navShop .navShop__bag {
		width: 18px;
		height: 18px;
	}
}
/* Tablet widths (e.g. iPad portrait, 769-1023px): the desktop menu already ran into the logo here.
   A slightly smaller logo, menu text and gaps keep everything on one line beside the logo. */
@media screen and (min-width: 769px) and (max-width: 1023px) {
	#HEADER .logo {
		left: 20px;
		width: 150px;
		height: 43px;
	}
	#HEADER #gnavi {
		right: 20px;
	}
	#HEADER #gnavi > ul > li {
		margin-left: 14px;
	}
	#HEADER #gnavi > ul > li > a {
		font-size: 14px;
	}
	#HEADER #gnavi > ul > li.navShop {
		margin-left: 16px;
	}
	#HEADER #gnavi > ul > li.navShop > a {
		height: 40px;
		padding: 0 12px 0 10px;
		gap: 6px;
		font-size: 14px;
	}
}

/*
 * 2026-11-20: Menu labels in Japanese (トップ・コンセプト・メニュー・テイクアウト・お知らせ・アクセス・
 *   オンラインショップ) for the site's Japanese visitors. Roboto has no Japanese characters, so the
 *   menu uses the same gothic family as the page text, in bold. Japanese characters are wider than
 *   Latin capitals, so sizes are 16px on desktop and smaller on tablets to keep one line beside the logo.
 */
#HEADER #gnavi > ul > li > a,
#HEADER .navShop--sp a {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-weight: 700;
	letter-spacing: 0.04em;
}
@media screen and (min-width: 769px) {
	#HEADER #gnavi > ul > li > a {
		font-size: 16px;
	}
	#HEADER #gnavi > ul > li.navShop > a {
		font-size: 15px;
	}
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
	#HEADER #gnavi > ul > li {
		margin-left: 12px;
	}
	#HEADER #gnavi > ul > li > a,
	#HEADER #gnavi > ul > li.navShop > a {
		font-size: 14px;
		letter-spacing: 0.02em;
	}
	#HEADER #gnavi > ul > li.navShop {
		margin-left: 14px;
	}
}
@media only screen and (max-width: 768px) {
	#HEADER #gnavi > ul > li > a {
		font-size: 15px;
	}
}
/* Very small phones (under 360px, e.g. iPhone SE 1st gen): a slightly smaller logo keeps it clear of the ショップ button. */
@media only screen and (max-width: 359px) {
	#HEADER .logo {
		width: 140px;
		height: 32px;
	}
	#HEADER .logo a {
		background-size: contain;
		background-position: left center;
	}
}

/* 2026-11-20: Homepage "View more" / "More Information" links now in Japanese
   (コンセプトを見る・メニューを見る・テイクアウトを見る・お知らせをもっと見る); Roboto has no Japanese
   characters, so they use the page's gothic family in bold, like the menu. */
.INDEX.MODULE .btnArea a.arw {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-weight: 700;
	letter-spacing: 0.04em;
}
@media only screen and (max-width: 768px) {
	.INDEX.MODULE .btnArea a.arw {
		font-size: 14px; /* 12px was fine for Latin capitals but small for Japanese */
	}
}
