/* Spiritualaway · Sake × Ichinomiya — shared brewery page styles */
/* Per-page only the --accent-pop CSS variable changes */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #e8d7a8;
  --surface: #efe2bd;
  --paper: #fbf5e3;
  --text: #2c2117;
  --muted: #7a6240;
  --accent: #a87c3f;
  --accent-d: #7a5424;
  --gold: #c9962a;
  --shu: #b33b2e;
  --stone: #c9b48a;
  --link-hover: #dcc89a;
  --fiber: rgba(140,110,60,0.08);
  --accent-pop: #a87c3f;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Hiragino Sans', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.8;
  max-width: 430px; margin: 0 auto; min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(2deg, transparent, transparent 3px, var(--fiber) 3px, var(--fiber) 4px),
    repeating-linear-gradient(88deg, transparent, transparent 5px, rgba(120,90,40,0.04) 5px, rgba(120,90,40,0.04) 6px),
    radial-gradient(ellipse 130px 80px at 18% 28%, rgba(168,124,63,0.10), transparent),
    radial-gradient(ellipse 100px 130px at 78% 60%, rgba(168,124,63,0.08), transparent);
}
.nav-bar {
  position: sticky; top: 0; z-index: 10; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,215,168,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone);
}
.nav-bar span { font-size: 10px; letter-spacing: 4px; color: var(--muted); font-variant: small-caps; }
.lang-switch {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 10px; letter-spacing: 2px; color: var(--accent-d);
  text-decoration: none; padding: 4px 10px;
  border: 0.5px solid var(--accent-d); border-radius: 2px;
  background: rgba(255,248,232,0.6);
}
.lang-switch:hover { background: var(--accent-d); color: #fdf7e3; }
section {
  position: relative; z-index: 1;
  padding: 56px 28px;
  border-bottom: 1px solid var(--stone);
}
section:last-of-type { border-bottom: none; }
.stone-label {
  display: inline-block;
  font-size: 12px; letter-spacing: 6px; color: var(--accent-d);
  border: 1.5px solid var(--accent-d);
  padding: 6px 14px; border-radius: 2px;
  margin-bottom: 24px; font-variant: small-caps;
}
.title-section {
  position: relative; z-index: 1;
  padding: 60px 28px 40px; text-align: center;
}
.title-section .kuni { font-size: 9px; letter-spacing: 6px; color: var(--muted); font-variant: small-caps; }
.title-section h1 {
  font-size: 32px; font-weight: 200; letter-spacing: 6px;
  margin: 28px 0 8px;
  font-family: 'Hiragino Mincho ProN', Georgia, serif;
}
.title-section .jp-name {
  font-family: 'Yuji Boku', serif; font-size: 16px;
  color: var(--accent-d); letter-spacing: 8px; margin-bottom: 12px;
}
.title-section .en-tagline {
  font-size: 12px; color: var(--muted); letter-spacing: 4px; font-style: italic;
}
.title-section .dot {
  display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent-pop);
  margin: 32px auto 0;
}
.label-section { display: flex; justify-content: center; padding: 24px 0 16px; }
.sake-label {
  position: relative;
  width: 280px; height: 400px;
  background: linear-gradient(180deg, #fbf5e3 0%, #ecdfb8 100%);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(80,50,10,0.12), inset 0 0 60px rgba(168,124,63,0.18);
  overflow: hidden;
}
.sake-label::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    repeating-linear-gradient(1deg, transparent, transparent 2px, rgba(168,124,63,0.05) 2px, rgba(168,124,63,0.05) 3px),
    radial-gradient(ellipse 70px 90px at 30% 35%, rgba(220,200,160,0.18), transparent);
}
.sake-label svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.spirit-text {
  font-family: 'Hiragino Mincho ProN', Georgia, serif;
  font-size: 15px; line-height: 2.4; color: #3d2f1d; text-align: center;
}
.feature-quote {
  font-family: 'Hiragino Mincho ProN', Georgia, serif;
  font-size: 13px; line-height: 2.1; color: var(--muted);
  border-left: 2px solid var(--accent-pop);
  padding-left: 18px; margin-top: 12px;
}
.reason-list, .pair-list, .prohibit-list { list-style: none; padding: 0; }
.reason-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--stone);
}
.reason-item:last-child, .prohibit-item:last-child, .pair-item:last-child { border-bottom: none; }
.reason-num {
  font-family: 'Yuji Boku', serif; font-size: 32px;
  color: var(--accent); width: 36px; text-align: center;
  padding-top: 4px; flex-shrink: 0;
}
.reason-body { font-size: 13px; line-height: 1.85; }
.reason-title { font-weight: 600; }
.reason-desc { color: var(--muted); font-size: 12px; }
.manner-steps { counter-reset: manner; }
.manner-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 6px 0; border-bottom: 1px solid var(--stone);
}
.manner-step:last-child { border-bottom: none; }
.manner-step::before {
  counter-increment: manner; content: counter(manner);
  font-family: 'Yuji Boku', serif; font-size: 26px;
  color: var(--accent); width: 32px; text-align: center;
  padding-top: 6px; flex-shrink: 0;
}
.manner-text { font-size: 13px; line-height: 1.7; }
.manner-note { font-size: 11px; color: var(--muted); margin-top: 2px; }
.prohibit-item {
  display: flex; gap: 12px; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--stone); font-size: 13px;
}
.prohibit-icon { font-size: 22px; flex-shrink: 0; }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.facility-item { text-align: center; padding: 10px 4px; background: var(--surface); border: 1px solid var(--stone); border-radius: 8px; }
.facility-icon { font-size: 16px; margin-bottom: 4px; display: block; }
.facility-label { font-size: 8px; color: var(--muted); display: block; }
.facility-val { font-size: 10px; font-weight: 600; margin-top: 2px; display: block; }
.facility-val.yes { color: #2d7a3a; }
.facility-val.paid { color: #8a6d2e; }
.facility-val.no { color: #a0937f; }
.bottle-list { display: grid; gap: 12px; }
.bottle { background: var(--paper); border: 1px solid var(--stone); border-radius: 8px; padding: 14px 16px; }
.bottle-name { font-size: 14px; font-weight: 700; color: var(--accent-d); margin-bottom: 2px; }
.bottle-name .jp { font-family: 'Yuji Boku', serif; font-size: 11px; color: var(--muted); margin-left: 6px; font-weight: 400; }
.bottle-style { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.bottle-desc { font-size: 12px; line-height: 1.65; }
.pair-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--stone); font-size: 12px; }
.pair-mark { color: var(--gold); font-size: 14px; line-height: 1.6; flex-shrink: 0; }
.shrine-bridge {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  border: 1.5px solid var(--shu);
  border-radius: 10px; padding: 22px 20px; text-align: center;
  box-shadow: 0 2px 12px rgba(179,59,46,0.08);
}
.shrine-bridge.feature { border-width: 2px; padding: 24px 20px; box-shadow: 0 4px 16px rgba(179,59,46,0.14); }
.shrine-bridge .torii { font-size: 28px; color: var(--shu); display: block; margin-bottom: 6px; }
.shrine-bridge.feature .torii { font-size: 32px; }
.shrine-bridge .label-small { font-size: 10px; letter-spacing: 4px; color: var(--shu); font-variant: small-caps; margin-bottom: 6px; }
.shrine-bridge h3 { font-size: 18px; font-family: 'Hiragino Mincho ProN', serif; font-weight: 500; margin-bottom: 6px; }
.shrine-bridge.feature h3 { font-size: 20px; }
.shrine-bridge .shrine-jp { font-family: 'Yuji Boku', serif; color: var(--shu); font-size: 14px; letter-spacing: 4px; margin-bottom: 10px; }
.shrine-bridge p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.shrine-bridge .visit-link {
  display: inline-block; padding: 8px 18px;
  background: var(--shu); color: #fdf7e3;
  text-decoration: none; font-size: 11px;
  letter-spacing: 0.12em; border-radius: 4px; font-variant: small-caps;
}
.shrine-bridge.feature .visit-link { padding: 9px 20px; }
.shrine-bridge .deity-mark {
  display: inline-block; padding: 4px 10px;
  background: rgba(179,59,46,0.1); border: 1px solid var(--shu);
  border-radius: 999px; font-size: 9px; letter-spacing: 2px;
  color: var(--shu); margin-bottom: 8px; font-variant: small-caps;
}
.map-frame { width: 100%; height: 200px; border-radius: 8px; overflow: hidden; border: 1px solid var(--stone); background: var(--surface); }
.map-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 11px; }
.map-placeholder::before { content: '📍'; font-size: 28px; }
.info-table { width: 100%; }
.info-row { display: flex; padding: 14px 0; border-bottom: 1px solid var(--stone); font-size: 13px; }
.info-row:last-child { border-bottom: none; }
.info-key { width: 110px; font-size: 10px; color: var(--muted); letter-spacing: 1px; padding-top: 2px; font-variant: small-caps; flex-shrink: 0; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-card { display: block; background: var(--surface); border: 1px solid var(--stone); border-radius: 10px; padding: 16px 14px; text-decoration: none; color: var(--text); }
.booking-card:active { background: var(--link-hover); transform: scale(0.97); }
.booking-icon { font-size: 20px; margin-bottom: 8px; display: block; }
.booking-title { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.booking-sub { font-size: 9px; color: var(--muted); }
.official-card {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1.5px solid var(--accent-d);
  border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--text);
}
.official-card .booking-icon { margin-bottom: 0; font-size: 22px; flex-shrink: 0; }
.official-card .booking-title { color: var(--accent-d); font-size: 13px; }
.audio-guide { background: var(--surface); border: 1px solid var(--stone); border-radius: 4px; padding: 22px 20px; box-shadow: inset 0 0 40px rgba(168,124,63,0.12); }
.audio-guide-meta { display: flex; align-items: center; gap: 14px; }
.audio-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: none; background: var(--accent); color: #fdf7e3;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(168,124,63,0.3);
}
.audio-play-btn svg { width: 18px; height: 18px; fill: currentColor; }
.audio-info { flex: 1; }
.audio-title { font-size: 13px; font-weight: 600; }
.audio-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.audio-progress { margin-top: 14px; height: 3px; background: var(--stone); border-radius: 2px; overflow: hidden; cursor: pointer; }
.audio-progress-fill { height: 100%; width: 0%; background: var(--accent); }
.audio-time { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--muted); }
.audio-note { font-size: 10px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
footer { text-align: center; padding: 48px 28px 24px; font-size: 9px; color: var(--muted); letter-spacing: 3px; font-variant: small-caps; }

/* ===== Visit Card (consolidated GPS + address + hours + contact) ===== */
.visit-card {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  border: 1.5px solid var(--accent-d);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(80,50,10,0.10);
  margin-top: 8px;
}
.visit-card-map {
  width: 100%; height: 240px;
  border: 0; border-bottom: 1px solid var(--stone);
  background: var(--surface); display: block;
}
.visit-card-body { padding: 18px 18px 6px; }
.visit-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.visit-pict {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px;
  background: rgba(168,124,63,0.06);
  border: 1px solid var(--stone);
  border-radius: 8px;
  min-height: 56px;
}
.visit-pict.full { grid-column: 1 / -1; }
.visit-pict .pict-icon {
  font-size: 20px; line-height: 1; flex-shrink: 0;
  width: 28px; text-align: center; padding-top: 1px;
}
.visit-pict .pict-body { flex: 1; min-width: 0; }
.visit-pict .pict-label {
  font-size: 9px; color: var(--muted);
  letter-spacing: 0.12em; font-variant: small-caps;
  margin-bottom: 2px;
}
.visit-pict .pict-value {
  font-size: 12px; color: var(--text);
  line-height: 1.45; word-break: break-word;
}
.visit-pict .pict-value strong { color: var(--accent-d); font-weight: 600; }
.visit-pict.status-yes .pict-icon { color: #2d7a3a; }
.visit-pict.status-paid .pict-icon { color: #8a6d2e; }
.visit-pict.status-no .pict-icon { color: #a0937f; }

.visit-card-subhead {
  margin: 8px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--stone);
  font-size: 9px; letter-spacing: 0.16em;
  color: var(--accent-d); font-variant: small-caps;
  text-align: center;
}
.visit-card-body .facility-grid { margin-top: 0; margin-bottom: 14px; }
.visit-card-body .facility-grid + p {
  font-size: 11px; color: var(--muted); text-align: center;
  margin-top: -4px; margin-bottom: 14px; font-style: italic;
}
.visit-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 0 14px;
}
.visit-actions .visit-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; font-variant: small-caps;
  text-decoration: none; border-radius: 6px;
  border: 1px solid var(--accent-d); color: var(--accent-d); background: var(--paper);
}
.visit-actions .visit-btn.primary { background: var(--accent-d); color: #fdf7e3; }
.visit-actions .visit-btn:active { transform: scale(0.97); }
.visit-actions .visit-btn .vb-icon { font-size: 14px; }

.visit-disclaimer {
  margin: 8px 18px 18px;
  padding: 8px 12px;
  background: rgba(155,35,53,0.05);
  border-left: 2px solid var(--shu);
  font-size: 10.5px; color: var(--muted);
  font-style: italic; line-height: 1.5;
  border-radius: 0 4px 4px 0;
}
@media (max-width: 380px) {
  .visit-card-grid { grid-template-columns: 1fr; }
}
section, .title-section { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
section.visible, .title-section.visible { opacity: 1; transform: translateY(0); }
