/* ==========================================================================
   green glass — base (header / footer / layout system)
   Layout model mirrors the original site: a centred 980px grid on desktop,
   a 320px canvas on phones (viewport is set to width=320 like the original).
   ========================================================================== */

:root {
	/* Original: Fontworks UD明朝 (Wix-licensed). Closest free equivalents: Noto Serif for Latin + BIZ UDMincho for Japanese */
	--ff-min: "Noto Serif", "BIZ UDMincho", "ms mincho", "ヒラギノ明朝 pro w3", "hiragino mincho pro", serif;
	--ff-pf: "gg-playfair", serif;
	--ff-gl: "gg-gloock", serif;
	--ff-pin: "Pinyon Script", cursive;
	/* Original: Fontworks つくしオールド明朝 (Wix-licensed). Closest free equivalent: Zen Old Mincho */
	--ff-tsu: "Zen Old Mincho", var(--ff-min);
	--ff-seu: "Kosugi Maru", meiryo, "ヒラギノ角ゴ pro w3", "hiragino kaku gothic pro", sans-serif;
	--ff-av: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
	--ff-hel: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ff-din: "DIN Next", "Helvetica Neue", Arial, sans-serif;
	--gg-brown: #857446;
	--gg-dark: #594d2f;
	--gg-gray: #605e5e;
	--gg-hover: rgb(31, 137, 63);
	--gg-stroke: .18px; /* udmincho is heavier than BIZ UDMincho / Noto Serif */
}

html, body { margin: 0; padding: 0; }
html { overflow-y: scroll; scroll-padding-top: 72px; }
body {
	background: #fff;
	min-width: 980px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* no overflow on body: it would make body the scroll container and stop the sticky header */
}
html.gg-m { scroll-padding-top: 90px; }
html.gg-m body { min-width: 320px; overflow-x: hidden; padding-top: 90px; }

p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: normal; }
a { color: inherit; text-decoration: none; }
img { border: 0; }
button { font: inherit; }

.gg-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100000;
	font-family: Helvetica, Arial, meiryo, sans-serif; font-size: 14px; color: rgb(17, 109, 255);
	background: #fff; padding: 4px 8px;
}
.gg-skip:focus { left: 8px; }

/* Rich text blocks (same base rules as the original) */
.c { position: absolute; word-wrap: break-word; overflow-wrap: break-word; text-align: start; }
.c a { color: inherit; }
.c ul, .c ol { letter-spacing: normal; margin-inline: .5em 0; line-height: normal; padding: 0; }
.c li { margin-inline: 1.3em 0; font-style: inherit; font-weight: inherit; line-height: inherit; letter-spacing: normal; }

/* Page canvas -------------------------------------------------------------- */
.gg-canvas { position: relative; width: 100%; overflow: hidden; }
.gg-grid { position: absolute; top: 0; bottom: 0; left: 50%; width: 980px; margin-left: -490px; pointer-events: none; }
.gg-grid > * { pointer-events: auto; }
.bl { position: absolute; left: 0; width: 100%; } /* full-bleed strip */
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
html.gg-m .gg-grid { left: 0; margin-left: 0; width: 320px; }
.gg-d .m-only, html:not(.gg-m) .m-only { display: none !important; }
html.gg-m .d-only { display: none !important; }
.hline { position: absolute; height: 0; border-top: 1px solid var(--gg-brown); }
.ph { position: absolute; overflow: hidden; }
.ph img, .ph a { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* Buttons (Wix "SiteButton": white, brown 1px border, dark on hover) */
.gg-btn {
	position: absolute; display: flex; align-items: center; justify-content: center;
	box-sizing: border-box; background: #fff; border: 1px solid var(--gg-brown); cursor: pointer;
	transition: border-color .4s ease 0s, background-color .4s ease 0s;
}
.gg-btn span { white-space: nowrap; transition: color .4s ease 0s; }
.gg-btn--txt span { font: normal normal normal 18px/1.4em var(--ff-min); color: var(--gg-brown); -webkit-text-stroke: var(--gg-stroke) currentColor; }
.gg-btn:hover { background: var(--gg-dark); border-color: #ccc; }
.gg-btn:hover span { color: #fff; }

/* Header ------------------------------------------------------------------- */
.gg-header {
	position: sticky; top: 0; z-index: 50;
	height: 72px; background: #fff;
}
.admin-bar .gg-header { top: 32px; }
.gg-header__grid { position: absolute; top: 0; left: 50%; width: 980px; height: 72px; margin-left: -490px; }
.gg-header__line { position: absolute; left: 0; right: 0; top: 67px; height: 0; border-top: 1px solid var(--gg-brown); }

.gg-nav { position: absolute; left: 21px; top: 23px; width: 940px; height: 25px; } /* text centred between the top edge and the line (was 19px: 4px high) */
.gg-nav ul { list-style: none; margin: 0; padding: 0; text-align: center; white-space: nowrap; font-size: 0; height: 25px; }
.gg-nav li { display: inline-block; vertical-align: top; height: 25px; }
.gg-nav a {
	display: block; padding: 0 10px;
	font: normal normal normal 14px/1.4em var(--ff-min);
	-webkit-text-stroke: var(--gg-stroke) currentColor;
	color: var(--gg-brown);
	transition: color .4s ease 0s;
}
.gg-nav li.is-fixed a { padding: 0; text-align: center; }
.gg-nav a:hover { color: var(--gg-hover); }
.gg-nav li.is-current a { color: var(--gg-gray); }
.gg-nav__more { visibility: hidden; }

.gg-pin { position: fixed; top: 0; left: 0; z-index: 52; width: 336px; height: 68px; }
.admin-bar .gg-pin { top: 32px; }
.gg-pin__box { position: absolute; inset: 0; background: var(--gg-brown); }
.gg-pin__text {
	position: absolute; left: 13px; top: 22px; width: 321px; /* centred in the brown box (was 19px) */
	font-family: var(--ff-pf); font-size: 16px; line-height: normal; color: #fff; white-space: nowrap;
}
.gg-pin__text .gl { font-family: var(--ff-gl); }

.gg-burger { display: none; }
.gg-mmenu { display: none; }

/* Footer ------------------------------------------------------------------- */
.gg-footer { position: relative; height: 922px; background: var(--gg-brown); overflow: hidden; }
.gg-footer__grid { position: absolute; top: 0; bottom: 0; left: 50%; width: 980px; margin-left: -490px; }
.gg-f-logo { left: 54px; top: 105px; width: 409px; }
.gg-f-copy { left: 54px; top: 199px; width: 492px; }
.gg-f-list { left: 54px; top: 230px; width: 541px; }
.gg-f-info { left: 650px; top: 100px; width: 291px; }
.gg-f-map  { left: 14px; top: 480px; width: 594px; height: 274px; overflow: hidden; }
.gg-f-vline { position: absolute; left: 620px; top: 87px; width: 0; height: 511px; border-left: 1px solid #fff; }
.gg-f-hline { display: none; }
.gg-map { display: block; border: 0; width: 100%; height: calc(100% + 190px); margin-top: -95px; }

/* ==========================================================================
   Mobile (320px canvas)
   ========================================================================== */
/* header stays on screen while scrolling (fixed; body padding-top keeps its 90px in the flow) */
html.gg-m .gg-header { position: fixed; top: 0; left: 0; right: 0; height: 90px; z-index: 60; }
html.gg-m body.admin-bar .gg-header { top: 0; }
html.gg-m .gg-header__grid, html.gg-m .gg-header__line { display: none; }
html.gg-m .gg-pin { position: absolute; top: 6px; left: 0; width: 315px; height: 84px; z-index: 1; }
html.gg-m .gg-pin__box { animation: gg-shutters 2100ms 1ms cubic-bezier(0.47, 0, 0.745, 0.715) backwards; }
html.gg-m .gg-pin__text { left: 20px; top: 19px; width: 176px; white-space: normal; line-height: normal; } /* centred in the brown box (was 15px) */

@keyframes gg-shutters {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}

html.gg-m .gg-burger {
	display: block; position: absolute; left: 250px; top: 23px; z-index: 3; /* centred in the brown box 6–90px (was 19px) */
	width: 50px; height: 50px; padding: 0; margin: 0; cursor: pointer;
	background: rgba(255, 255, 255, 0); border: 1px solid #fff; border-radius: 0;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .5s ease, border-color .5s ease;
}
.gg-burger__lines { position: absolute; left: 13px; top: 14px; width: 22px; height: 20px; }
.gg-burger__lines span {
	position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: #fff;
	transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
}
.gg-burger__lines span:nth-child(1) { top: 0; }
.gg-burger__lines span:nth-child(2) { top: 9px; }
.gg-burger__lines span:nth-child(3) { top: 18px; }
html.gg-m.gg-menu-open .gg-burger { background: #fff; border-width: 0; }
.gg-menu-open .gg-burger__lines span { background: var(--gg-dark); }
.gg-menu-open .gg-burger__lines span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.gg-menu-open .gg-burger__lines span:nth-child(2) { opacity: 0; }
.gg-menu-open .gg-burger__lines span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Open menu = like the original: a white full-screen sheet that appears at once and covers the brown header band too;
   only the close (X) button stays, at the same place as the menu button */
html.gg-m .gg-mmenu {
	display: block; position: fixed; inset: 0; z-index: 55; background: #fff; overflow-y: auto;
}
html.gg-m .gg-mmenu[hidden] { display: none; }
html.gg-m.gg-menu-open .gg-pin { visibility: hidden; }
.gg-mmenu__nav { position: relative; margin: 92px 0 0 28px; width: 188px; }
.gg-mmenu__nav ul { list-style: none; margin: 0; padding: 0; }
.gg-mmenu__nav li { border-bottom: 1px solid rgba(133, 116, 70, .54); }
.gg-mmenu__nav a {
	display: block; height: 42.4px; padding: 0 0 0 9px; text-align: start;
	font: normal normal normal 16px/42.4px var(--ff-min); color: var(--gg-brown);
	-webkit-text-stroke: var(--gg-stroke) currentColor;
	transition: background-color .4s ease;
}
.gg-mmenu__nav li.is-current a { color: rgb(34, 110, 57); }
html.gg-m.gg-menu-open, html.gg-m.gg-menu-open body { overflow: hidden; }

html.gg-m .gg-footer { height: 1217px; }
html.gg-m .gg-footer__grid { left: 0; margin-left: 0; width: 320px; }
html.gg-m .gg-f-logo { left: 20px; top: 18px; width: 280px; }
html.gg-m .gg-f-copy { left: 20px; top: 66px; width: 280px; }
html.gg-m .gg-f-list { left: 10px; top: 92px; width: 300px; }
html.gg-m .gg-f-info { left: 30px; top: 429px; width: 261px; }
html.gg-m .gg-f-map  { left: 20px; top: 922px; width: 280px; height: 238px; }
html.gg-m .gg-f-vline { display: none; }
html.gg-m .gg-f-hline { display: block; position: absolute; left: 18px; top: 390px; width: 284px; border-top: 1px solid #fff; }

/* Fullscreen image viewer (assets/js/lightbox.js) */
.gg-lb { position: fixed; inset: 0; z-index: 100005; background: #fff; }
.gg-lb[hidden] { display: none; }
.gg-lb__stage { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.gg-lb__img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.gg-lb button { position: absolute; z-index: 2; margin: 0; padding: 0; border: 0; background: none; color: #2f2e2e; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gg-lb button[hidden] { display: none; }
.gg-lb__close { top: 10px; right: 10px; width: 80px; height: 80px; }
.gg-lb__nav { top: 50%; width: 60px; height: 80px; margin-top: -40px !important; }
.gg-lb__prev { left: 10px; }
.gg-lb__next { right: 10px; }
.gg-lb-open, .gg-lb-open body { overflow: hidden; }
html.gg-m .gg-lb__close { width: 50px; height: 50px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Glyphs the original takes from its Japanese font (e.g. the small ©) */
.gg-jp { font-family: "BIZ UDMincho", var(--ff-min); }

/* 404 page */
.nf { box-sizing: border-box; width: 980px; margin: 0 auto; padding: 80px 20px 100px; text-align: center; color: var(--gg-brown); font-family: var(--ff-min); }
.nf__code { margin: 0; font: normal normal 400 96px/1 var(--ff-pf); color: var(--gg-brown); }
.nf__title { margin: 24px 0 0; font: normal normal 400 28px/1.4 var(--ff-min); color: var(--gg-brown); -webkit-text-stroke: var(--gg-stroke) currentColor; }
.nf__text { margin: 20px 0 0; font: normal normal 400 16px/1.8 var(--ff-min); color: #2f2e2e; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.nf__links a { font: normal normal 400 16px/1.6 var(--ff-min); color: var(--gg-brown); text-decoration: underline; }
html.gg-m .nf { width: 320px; padding: 50px 20px 70px; }
html.gg-m .nf__code { font-size: 64px; }
html.gg-m .nf__title { font-size: 22px; }
html.gg-m .nf__text { font-size: 14px; }
html.gg-m .nf__links { flex-direction: column; gap: 10px; }
