/* ===== Shared tokens (all pages, both languages) ===== */
:root {
  --ink:          #2c2420;
  --cream:        #fdfbf8;
  --warm:         #f7f2ec;
  --brown:        #7a5230;
  --brown-dark:   #5c3d22;
  --brown-light:  #c49a6c;
  --honey:        #e8a838;
  --grey:         #7a7470;
  --border:       #e8e2da;
  --radius:       12px;
  --shadow:       0 4px 20px rgba(44, 36, 32, 0.10);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 64px; /* sticky ヘッダーにアンカー先が隠れないように */ }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: clip; /* hidden だとヘッダーの position: sticky が効かなくなる */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header (shared across all pages) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Liquid Glass: 下を流れるコンテンツを透かしてぼかす */
  background: rgba(253, 251, 248, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 24px rgba(44, 36, 32, 0.06),
    inset 0 -1px 0 rgba(122, 82, 48, 0.08);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header {
    background: rgba(253, 251, 248, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brown-dark);
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.lang-switch { font-size: 0.78rem; font-weight: 600; color: var(--grey); border: 1.5px solid var(--border); border-radius: 20px; padding: 4px 12px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.lang-switch:hover { color: var(--brown); border-color: var(--brown); }
.header-right-group { display: flex; align-items: center; gap: 12px; }

/* ===== Footer (shared base across all pages) ===== */
footer {
  background: var(--ink);
  color: var(--grey);
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown-light);
}
