/* On Re.cafe 全ページ共通のヘッダー（上のタブ）とフッター
   2026-11 小野さんの手書きラフ：タブを一番上に／HOME＝カレンダー／NEWS は HOME のとなり。
   全ページがこのファイルを読む（bento.html は style.css を読まないので、色の値は bento.html 側にもある） */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 250, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1040px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: auto;
}
.logo {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
  text-decoration: none; color: var(--ink);
}
.logo img { display: block; width: 76px; height: auto; }

.tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.tabs a {
  display: block; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; line-height: 1.4;
  text-decoration: none; color: var(--ink);
}
.tabs a.ja { font-family: var(--ja); letter-spacing: 0.06em; }
.tabs a:hover { background: var(--orange-pale); }
.tabs a[aria-current="page"] { background: var(--orange); }

.site-footer { background: var(--ink); color: var(--cream); text-align: center; padding: 48px 24px 32px; }
.footer-logo { font-family: var(--en); font-weight: 700; font-size: 24px; color: var(--orange); margin: 0 0 16px; }
.footer-links {
  list-style: none; padding: 0; margin: 0 auto 24px; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px;
}
.footer-links a { color: var(--cream); }
.copy { font-family: var(--en); font-size: 12px; color: var(--gray); margin: 0; }

/* タブレット：タブを折り返さずに収める */
@media (max-width: 900px) {
  .tabs a { padding: 8px 10px; font-size: 14px; letter-spacing: 0.08em; }
}

/* スマホ：ロゴの下にタブを3つずつ2段。ヘッダーが高くなるので上に貼りつけない */
@media (max-width: 760px) {
  .site-header { position: relative; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 12px; }
  .logo { flex-direction: row; justify-content: center; gap: 10px; }
  .logo img { width: 60px; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tabs a {
    text-align: center; padding: 8px 4px; font-size: 13px; letter-spacing: 0.06em;
    border: 1px solid var(--line); background: var(--white);
  }
  .tabs a[aria-current="page"] { border-color: var(--orange-deep); background: var(--orange); }
  .footer-links { gap: 8px 16px; }
}
