/* digica-navi 共通ブランドバー（全ページ最上部に sticky で表示）
   - 全ページのトップに digica-navi ロゴ画像を表示
   - ロゴクリックで / へ戻る
   - sticky なのでスクロール中も常に視認可能
   - 画像: 312x96 (Retina 2x) → 表示 36px 高さ
   - PWA standalone モード時のみ、左に戻るボタンが出現（iOS ホーム画面追加時の対応）*/

.dn-brandbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  padding: 6px 16px 4px;
  min-height: 44px; /* タップ領域確保 */
}

.dn-brandbar-logo {
  display: block;
  text-decoration: none;
  transition: opacity 0.15s;
}
.dn-brandbar-logo:hover  { opacity: 0.85; }
.dn-brandbar-logo:active { opacity: 0.7; }

.dn-brandbar .dn-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
}

/* 戻るボタン（常時表示、2026-05-20 変更）
   以前は PWA standalone モード時のみ表示していたが、ユーザー要望により常時表示に。
   通常 Safari/Chrome でもブランドバー左に戻るボタンが出る。 */
.dn-back {
  display: flex;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f4f6fa;
  border: 1px solid #d5dae5;
  border-radius: 50%;
  color: #1d4ed8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.dn-back:hover  { background: #e8edf5; }
.dn-back:active { background: #d5dae5; }
