@charset "utf-8";

/* ゲーム共通オーバーレイ */
.pf_global_overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

/* ゲーム共通モーダル */
.pf_global_overlay .pf_global_modal {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  position: fixed;
  z-index: 9999;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 25px 15px;
  background: #fff;
}

/* モーダルタイトル */
.pf_global_overlay .pf_modal_title {
  position: relative;
  font-size: 26px;
  text-align: center;
  margin-bottom: 10px; /* 下にフィルタリングがある時は20px */
}

.pf_global_overlay .pf_modal_title i {
  position: relative;
  display: inline-block;
  padding: 0 15px;
  background: #fff;
  font-style: normal;
}

.pf_global_overlay .pf_modal_title::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
  width: 70%;
  border-top: solid 1px #ccc;
  content: "";
}

/* モーダルカテゴリ絞り込み */
.pf_global_overlay .pf_modal_category {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.pf_global_overlay .pf_modal_category_item {
  display: block;
  text-align: center;
  border-radius: 14px;
  height: 28px;
  line-height: 28px;
  font-size: 11px;
  background: #eee;
  color: #666;
  width: calc((100% - 16px) / 3);
}

.pf_global_overlay .pf_modal_category_item:not(:nth-child(3n)) {
  margin-right: 8px;
}

.pf_global_overlay .pf_modal_category_item:not(:nth-child(-n+3)) {
  margin-top: 8px;
}

.pf_global_overlay .pf_modal_category_item.current {
  background: #777;
  color: #fff;
}

.pf_global_overlay .pf_modal_category_item.current.update      { background: #13b8e0; }
.pf_global_overlay .pf_modal_category_item.current.event       { background: #fd82aa; }
.pf_global_overlay .pf_modal_category_item.current.campaign    { background: #ff9012; }
.pf_global_overlay .pf_modal_category_item.current.important   { background: #f54e4e; }
.pf_global_overlay .pf_modal_category_item.current.maintenance { background: #82bd33; }
.pf_global_overlay .pf_modal_category_item.current.other       { background: #777; }


.pf_global_overlay .pf_modal_content {
}

.pf_global_overlay .pf_modal_entry {
}

.pf_global_overlay .pf_modal_entry_item {
}

.pf_global_overlay .pf_modal_entry_item:not(:first-child) {
  border-top: solid 1px #ddd;
}

.pf_global_overlay .pf_modal_entry_item a {
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(13, 198, 255, 0.1);
  padding: 12px 0;
}

.pf_global_overlay .pf_modal_entry_item a:hover {
  text-decoration: none;
}

.pf_global_overlay .entry_header {
  display: flex;
  align-items: center;
}

.pf_global_overlay .pf_modal_entry_item .entry_header { margin-bottom: 8px; }
.pf_global_overlay .pf_entry_content    .entry_header { margin-bottom: 16px; }

/* お知らせ掲載日時 */
.pf_global_overlay .date {
  color: #999;
  font-size: 14px;
}

/* お知らせカテゴリ */
.pf_global_overlay .category {
  margin-left: auto;
  width: 80px;
  font-size: 10px;
  text-align: center;
  line-height: 20px;
  color: #fff;
}

.pf_global_overlay .category.update      { background: #13b8e0; }
.pf_global_overlay .category.event       { background: #fd82aa; }
.pf_global_overlay .category.campaign    { background: #ff9012; }
.pf_global_overlay .category.important   { background: #f54e4e; }
.pf_global_overlay .category.maintenance { background: #82bd33; }
.pf_global_overlay .category.other       { background: #777; }

.pf_global_overlay .entry_body {
  font-size: 14px;
}

.pf_global_overlay img {
  max-width: 100%;
  height: auto;
}

/* お知らせ記事詳細 */
.pf_entry_title {
  font-size: 18px;
  margin-bottom: 8px;
}

.pf_entry_back {
  display: block;
  border: solid 1px #ccc;
  font-size: 15px;
  text-align: center;
  width: 200px;
  padding: 10px 15px;
  margin: 20px auto 0;
  border-radius: 4px;
  box-sizing: border-box;
}