/* 聖バニラ教会：全ページ共通ヘッダー */
header { min-height:88px; padding-top:12px; padding-bottom:12px; }
header .brand { display:inline-flex; align-items:center; gap:12px; font-size:27px; text-decoration:none; }
header .brand img { width:48px; height:48px; object-fit:contain; flex-shrink:0; }
header nav { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
header nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; min-height:62px; padding:9px 17px; line-height:1.35; border-radius:13px; text-decoration:none; }
header nav a::after { display:none; }
header nav a span { font-size:15px; letter-spacing:.05em; }
header nav a small { margin-top:3px; font-family:"Noto Sans JP",sans-serif; font-size:10px; font-weight:400; letter-spacing:0; opacity:.8; }
header nav a:hover { background:#e8f4ee; color:#456f64; }
body[data-page="home"] nav a[href="/"],
body[data-page="character"] nav a[href="/character.html"],
body[data-page="request"] nav a[href="/request.html"],
body[data-page="scenario"] nav a[href="/scenario/"],
body[data-page="scenarios"] nav a[href="/scenario/"],
body[data-page="list"] nav a[href="/scenario/"],
body[data-page="detail"] nav a[href="/scenario/"] { background:#d6efe3; color:#426d60; font-weight:600; }
@media(max-width:600px) {
  header { min-height:76px; padding:12px 16px; }
  header .brand { font-size:22px; }
  header .brand img { width:38px; height:38px; }
  header nav { gap:4px; }
  header nav a { min-height:50px; padding:7px 10px; }
  header nav a span { font-size:12px; }
  header nav a small { font-size:9px; }
}

/* 小さな聖堂風ロゴ：HTMLの変更不要 */
header .brand { gap: 11px; color: #58483f; }
header .brand > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: .07em;
  padding-right: 19px;
  white-space: nowrap;
}
header .brand > span::before {
  content: "✦";
  position: absolute;
  right: 1px;
  top: 4px;
  font-family: Georgia, serif;
  font-size: 12px;
  color: #91b5a6;
}
header .brand > span::after {
  content: "— Vanilla's little sanctuary —";
  display: block;
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .045em;
  color: #9b9c8d;
}
header .brand img { width: 49px; height: 49px; }
@media (max-width: 600px) {
  header .brand { gap: 6px; }
  header .brand > span { font-size: 21px; padding-right: 14px; letter-spacing: .035em; }
  header .brand > span::before { font-size: 10px; top: 2px; }
  header .brand > span::after { font-size: 8px; letter-spacing: 0; }
  header .brand img { width: 39px; height: 39px; }
}
