@charset "UTF-8";

:root{
  --header-h: 56px;
}

.pwa-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.pwa-header__title,
.pwa-header .brand{
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 戻るボタン（なければ追加） */
.pwa-header__back{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.05);
  color: #111;
}

.back-btn,
.pwa-header__gear,
.pwa-header .gear{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0,0,0,.05);
  color: #111;
}

.pwa-header a{
  color: inherit;
  text-decoration: none;
}

@supports (padding-top: env(safe-area-inset-top)){
  .pwa-header{
    padding-top: env(safe-area-inset-top);
    height: calc(var(--header-h) + env(safe-area-inset-top));
  }
}