/* =============================================
   theme.css - パステルポップ共通テーマ
   ============================================= */

@keyframes fadeUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes pop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.anim-fadeUp  { animation: fadeUp  0.4s ease forwards; }
.anim-pop     { animation: pop     0.5s cubic-bezier(.34,1.56,.64,1) forwards; }
.anim-float   { animation: float   3s ease-in-out infinite; }
.anim-slideUp { animation: slideUp 0.35s ease forwards; }

.blob {
  position: fixed; border-radius: 50%;
  filter: blur(50px); opacity: 0.45;
  pointer-events: none; z-index: 0;
}

.glass-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.pastel-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 50;
  align-items: flex-end; justify-content: center;
}
.modal-overlay.center { align-items: center; padding: 16px; }
.modal-overlay.open   { display: flex; }

.modal-sheet {
  background: #fff; border-radius: 24px 24px 0 0;
  padding: 24px 16px 36px; width: 100%; max-width: 480px;
  animation: slideUp 0.3s ease;
}
.modal-overlay.center .modal-sheet {
  border-radius: 20px; animation: fadeUp 0.25s ease;
}

.inp-pastel {
  width: 100%; box-sizing: border-box; padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.1); border-radius: 12px;
  font-size: 14px; background: rgba(255,255,255,0.8); color: #333;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.inp-pastel:focus { border-color: #a78fd4; box-shadow: 0 0 0 3px rgba(167,143,212,0.15); }
.inp-pastel::placeholder { color: #bbb; }

/* ─── 管理者サイドバー（パステル版） ─── */
.admin-sidebar-pastel {
  width: 200px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #f0f9f4 0%, #e8f5f0 100%);
  border-right: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.sidebar-logo-pastel {
  padding: 20px 16px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #3aaa78;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sidebar-nav-item-pastel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 3px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}
.sidebar-nav-item-pastel:hover { background: rgba(58,170,120,0.08); color: #3aaa78; }
.sidebar-nav-item-pastel.active { background: rgba(58,170,120,0.15); color: #3aaa78; }

/* ─── 管理者トップバー ─── */
.admin-topbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ─── ページヘッダー（スマホ） ─── */
.page-header-pastel {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 30;
}

/* ─── ボトムナビ ─── */
.bottom-nav-pastel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  display: flex;
  z-index: 40;
}
.bottom-nav-pastel a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 10px;
  font-weight: 500;
  color: #bbb;
  text-decoration: none;
  transition: color .15s;
}
.bottom-nav-pastel a.active { color: #7b6bbf; }

/* ─── タブ ─── */
.tab-pastel {
  display: flex;
  border-radius: 20px;
  padding: 4px;
  margin-bottom: 16px;
}
.tab-pastel-btn {
  flex: 1;
  padding: 8px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  transition: all .2s;
  color: #aaa;
}
.tab-pastel-btn.active {
  background: #fff;
  color: #4a8fd4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
