.kamigame-layout-main > .article {
background: repeat-y center/100% auto url("/img/death_stranding2/death_stranding2_bg.png");
border: 1px solid #efefef;
box-sizing: border-box;
}

/* basic-reset */
.game-header-wrapper {
background: #7e7468;
}

.article-header {
padding: 30px 30px 15px 30px;
}

/* 見出し */
.kamigame-layout-main h2 {
color: #fff;
padding: 12px 10px 12px 20px;
background: no-repeat center/100% 100% url("/img/death_stranding2/death_stranding2_h2.png");
position: relative;
line-height: 1;
}

@media screen and (max-width: 728px) {
.kamigame-layout-main h2,
#priority_side .side-block h2 {
padding: 12px 10px 12px 15px;
}
}

@media screen and (max-width: 728px) {
#priority_side .side-block h2 {
color: #fff;
background: no-repeat center/100% 100% url("/img/death_stranding2/death_stranding2_h2.png");
position: relative;
line-height: 1;
}
}

@media screen and (max-width: 728px) {
#priority_side .side-block h2::before {
content: none;
}
}

.kamigame-layout-main h3 {
border-bottom: 2px solid #55443c;
padding: 5px 15px 5px 20px;
}

@media screen and (max-width: 728px) {
.kamigame-layout-main h3 {
padding: 4px 10px 3px 15px;
}
}

.kamigame-layout-main h3:before {
position: absolute;
left: 0;
bottom: 0;
content: '';
width: 7px;
height: 100%;
background: #55443c;
}

@media screen and (max-width: 728px) {
.kamigame-layout-main h3:before {
width: 8px;
height: 33px;
background-size: 8px 33px;
}
}

.kamigame-layout-main h4:before {
position: absolute;
content: "";
display: block;
width: 100%;
background-image: url("/img/death_stranding2/death_stranding2_h4.png");
width: 22px;
height: 22px;
background-size: 22px 22px;
background-repeat: no-repeat;
border-radius: 0;
}

.side-block h2, .side_block h2 {
position: relative;
background: linear-gradient(to right, #392e28, #55443c);
background-size: 100% 100%;
padding: 5px 5px 5px 15px;
}

.side-block h2:before, .side_block h2:before {
position: absolute;
left: 0;
top: 0;
border: none;
content: "";
width: 5px;
height: 100%;
background: #b94e3c;
}

.side-block h2:after, .side_block h2:after {
border: none;
border-bottom: 3px solid transparent;
border-right: 5px solid #555;
content: "";
left: 0;
position: absolute;
top: 100%;
}

@media screen and (max-width: 768px) {
.side-block h2:after, .side_block h2:after {
border: none;
}
}

.side-block h3:after {
border-bottom: 3px solid #b94e3c;
}

.side-block h4 {
border-left: 4px solid #b94e3c;
}

/* テーブル */
.kamigame-layout-main th,
.kamigame-layout-main table.matrix_rowspan_table tr:first-child td:first-child,
.kamigame-layout-main table.matrix_table td:first-child, .side-block table.matrix_table td:first-child, .side_block table.matrix_table td:first-child {
background-color: #dadfdf;
border-color: #bbb;
}

.side-block table, .side_block table, .kamigame-layout-main table,
.side-block table.point_table, .side_block table.point_table, .kamigame-layout-main table.point_table,
.side-block table, .side_block table, .kamigame-layout-main table,
.side-block td, .side_block td, .kamigame-layout-main td {
background-color: rgba(255, 255, 255, 1);
}

/* チャットテーブル */
.chat-table-left-bubble,
.chat-table-right-bubble,
.author-speech-bubble {
background: #dadfdf;
}

.chat-table-left-bubble:before,
.author-speech-bubble:before {
border-right: 10px solid #dadfdf;
}
.chat-table-right-bubble:after{
border-left: 10px solid #dadfdf;
}

/* ボタン */
.side-block .button_navigation a, .side-block .button_navigation button, .side_block .button_navigation a, .side_block .button_navigation button, .kamigame-layout-main .button_navigation a, .kamigame-layout-main .button_navigation button {
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
}

.kamigame-layout-main .button_navigation a {
background: #b94e3c;
border: 2px solid #6b413e;
color:#fff;
}

.kamigame-layout-main .button_navigation a:after,
.kamigame-layout-main .button_navigation a:hover:after {
border-bottom: 2px solid #fff;
border-right: 2px solid #fff;
}

.kamigame-layout-main .button_navigation a:hover {
opacity: 0.7;
background: #b94e3c;
color:#fff;
}

.enquete_button_box > .button_navigation > a {
background: #b94e3c;
border: 2px solid #6b413e;
color: #fff;
}

.enquete_button_box > .button_navigation > a:before {
background: none;
}

.kamigame-layout-main table.pagination td, .side-block table.pagination td, .side_block table.pagination td{
border: 2px solid #6b413e;
}

.kamigame-layout-main table.pagination td:first-child:before, .side-block table.pagination td:first-child:before, .side_block table.pagination td:first-child:before,
.kamigame-layout-main table.pagination td:first-child:hover:before, .side-block table.pagination td:first-child:hover:before, .side_block table.pagination td:first-child:hover:before {
border-left: 2px solid #fff;
border-top: 2px solid #fff;
}

.kamigame-layout-main table.pagination td:last-child:before, .side-block table.pagination td:last-child:before, .side_block table.pagination td:last-child:before,
.kamigame-layout-main table.pagination td:last-child:hover:before, .side-block table.pagination td:last-child:hover:before, .side_block table.pagination td:last-child:hover:before {
border-bottom: 2px solid #fff;
border-right: 2px solid #fff;
}

.kamigame-layout-main table.pagination td:first-child, .side-block table.pagination td:first-child, .side_block table.pagination td:first-child, .kamigame-layout-main table.pagination td:last-child, .side-block table.pagination td:last-child, .side_block table.pagination td:last-child {
background: #b94e3c;
}

.kamigame-layout-main table.pagination td a, .side-block table.pagination td a, .side_block table.pagination td a {
color:#fff;
}

.kamigame-layout-main table.pagination td a:hover, .side-block table.pagination td a:hover, .side_block table.pagination td a:hover {
opacity: 0.7;
background: #b94e3c;
color: #fff;
}

/* 装飾テーブル */
.kamigame-layout-main table.step_table .chart_number {
background: #78706c;
color: #fff;
}

.kamigame-layout-main table.point_table td:before {
border: 8px solid #78706c;
}

.kamigame-layout-main table.point_table td:after {
border: solid #fff;
border-width: 0 2px 2px 0;
}

.kamigame-layout-main .related_links::after {
background: #78706c;
color: #fff;
font-weight: 700;
}

/* 目次 */
.kamigame-table-of-contents {
background-color: #fff;
}

/* ランキング */
.kamigame-layout-main table.sidebar_ranking .rank_other, .side-block table.sidebar_ranking .rank_other, .side_block table.sidebar_ranking .rank_other {
background-color: #78706c;
}

/* キーワード検索 */
.table_search_form {
background-color: #efefef;
}

/* カスタムヘッダー */
.custom_header_table {
background: #fff!important;
border: 2px solid #b94e3c !important;
box-shadow: 0 0 8px -4px #b94e3c !important;
}

.custom_header_table th>strong {
color: #b94e3c;
}

.kamigame-layout-main .custom_header_table td a {
padding: 5px 10px 5px 30px;
}

.kamigame-layout-main .custom_header_table tr:last-child td a {
padding: 5px 10px 10px 30px;
}

.kamigame-layout-main .custom_header_table td {
border: none;
color: #666;
font-feature-settings: "palt";
font-size: 1.4rem;
font-weight: 700;
line-height: 1.4;
padding: 0;
position: relative;
}

.kamigame-layout-main .custom_header_table td:before {
content: "";
display: block;
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-51%);
background: url("/img/death_stranding2/death_stranding2_custom-header.png");
background-size: 16px 16px;
border-radius: unset;
width: 16px;
height: 16px;
background-repeat: no-repeat;
}

/* 切り替えタブ */
.side-block .tab-wrapper input:checked + .tab, .side_block .tab-wrapper input:checked + .tab, .kamigame-layout-main .tab-wrapper input:checked + .tab {
  background-color: #78706c;
}

.side-block .tab-wrapper, .side_block .tab-wrapper, .kamigame-layout-main .tab-wrapper {
  border-bottom: 3px solid #78706c;
}


/* =========================================================
 *  一覧デザイン：ベース
 * ======================================================= */
.kg_custom_listTable {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-bottom: 0;
  margin-bottom: 15px;
}

.kg_custom_listTable>div {
  border-bottom: 1px solid #ccc;
  position: relative;
}

.kg_custom_listTable>div.kg_spare>.kg_list {
  display: table-cell;
}

.kg_custom_listTable.default_subject>div>.kg_list {
  position: relative;
}

.kg_custom_listTable.default_subject>div>.kg_list>div.kg_table,
.kg_custom_listTable>div.kg_spare {
  display: table;
  width: 100%;
  table-layout: fixed;
}

/* =========================================================
 *  default_subject：ヘッダー
 * ======================================================= */
.kg_custom_listTable.default_subject>div>.kg_list>.kg_head {
  display: flex;
  align-items: center;
  background-color: #e8f3f3;
  border-bottom: 1px solid #e2e2e2;
  padding: 3px 5px;
  font-weight: 700;
  position: relative;
}

.kg_custom_listTable.default_subject>div>.kg_list>.kg_head>.kg_number {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #333;
  display: inline-block;
  font-family: SF Pro Text, SF Pro Display, Helvetica,
    Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3,
    Robot, Droid Sans, メイリオ, Meiryo, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 6px 0 0;
  padding: 3px 5px;
  text-align: center;
}

.kg_custom_listTable.default_subject>div>.kg_list>.kg_head>.kg_head_right {
  display: inline-block;
  position: absolute;
  top: 3px;
  right: 0;
  letter-spacing: -.4em;
}

.kg_custom_listTable.default_subject>div>.kg_list>.kg_head>.kg_head_right>.kg_stand {
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  color: #333 !important;
  display: inline-block !important;
  font-family: SF Pro Text, SF Pro Display, Helvetica,
    Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3,
    Robot, Droid Sans, メイリオ, Meiryo, sans-serif;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: normal;
  line-height: 1 !important;
  margin: 0 5px !important;
  padding: 3px 5px !important;
  text-align: center !important;
}

/* =========================================================
 *  default_subject：テーブル本体
 * ======================================================= */
.kg_custom_listTable.default_subject>div>.kg_list>div.kg_table>div {
  display: table-cell;
  line-height: 1.6em;
  vertical-align: middle;
}

.kg_custom_listTable.default_subject>div>.kg_list>div>.kg_layer {
  width: 90px;
  padding: 5px;
  box-sizing: border-box;
  border-right: 1px solid #e2e2e2;
}

/* --- karakuri 専用アイコン --- */
.kg_custom_listTable.default_subject.karakuri>div>.kg_list>.kg_table>.kg_layer>.kg_icon {
  position: relative;
  font-size: 12px;
  font-weight: 700;
}

/* --- 画像共通 --- */
.kg_custom_listTable.default_subject>div>.kg_list>div>.kg_layer img {
  width: 100%;
  height: auto;
  margin: 0 !important;
  border-radius: 2px;
}

/* --- 本文 --- */
.kg_custom_listTable.default_subject>div>.kg_list>div>.kg_body {
  background-color: #fff;
  font-size: 12px;
  padding: 5px;
}

.kg_custom_listTable.default_subject>div>.kg_list>.kg_table>.kg_body>.kg_content {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-gap: 5px 8px;
  align-items: baseline;
}

/* --- ラベル類 --- */
.kg_custom_listTable.default_subject>div>.kg_list>.kg_table>.kg_body [class^="kg_label"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  font-size: 12px;
  font-weight: 700;
  line-height: 11px;
  text-align: center;
  border-radius: 2px;
  margin-right: 4px;
  padding: 4px 1px;
  position: relative;
  opacity: .8;
}

/*  ラベル：色バリエーション  */
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-grey   { background-image: linear-gradient(to bottom, #a2a2a2 0, #b0b0b0 50%, #8c8c8c 100%); color:#fff; }
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-red    { background-image: linear-gradient(to bottom, #f77474 0, #e53935 50%, #c62828 100%); color:#fff; }
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-blue   { background-image: linear-gradient(to bottom, #64b5f6 0, #1e88e5 50%, #1565c0 100%); color:#fff; }
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-green  { background-image: linear-gradient(to bottom, #81c784 0, #43a047 50%, #2e7d32 100%); color:#fff; }
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-orange { background-image: linear-gradient(to bottom, #ffb74d 0, #fb8c00 50%, #ef6c00 100%); color:#fff; }

/*  ラベル：その他サイズ  */
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-2,
.kg_custom_listTable.default_subject>div>.kg_list .kg_label-3 {
  display: inline-block;
  width: 50px;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  color: #fff;
  background-color: #e2e2e2;
  text-align: center;
  border-radius: 2px;
  margin-right: 5px;
  padding: 3px 0;
  position: relative;
  top: -1px;
  opacity: .8;
}

/* --- ヘッダーアイコン --- */
.kg_custom_listTable.default_subject>div>.kg_list>.kg_head>.kg_head_icon {
  display: flex;
  align-items: center;
}

.kg_custom_listTable.default_subject>div>.kg_list>.kg_head>.kg_head_icon img {
  display: inline-block;
  margin: 0 2px 1px 0;
}

/* =========================================================
 *  default_subject：値テーブル
 * ======================================================= */
.kg_custom_listTable.default_subject>div>.kg_list .kg_value_table {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin: 1px 0 6px;
  box-sizing: border-box;
}

.kg_custom_listTable.default_subject>div>.kg_list .kg_value_table>div {
  display: table-cell;
  width: auto;
  vertical-align: top;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #fcfcfc;
  position: relative;
  padding: 14px 0 2px;
}

.kg_custom_listTable.default_subject>div>.kg_list .kg_value_table>div._kg_value_label {
  color: #ccc;
}

.kg_custom_listTable.default_subject>div>.kg_list .kg_value_table>div::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  transform: scale(.9);
  color: grey;
}

/* =========================================================
 *  headcellver バリエーション
 * ======================================================= */
.kg_custom_listTable.headcellver>div>.kg_list>.kg_layer {
  display: table-cell;
  padding: 3px;
  border: solid #ccc;
  border-width: 0 1px 1px 0;
  vertical-align: middle;
}

.kg_custom_listTable.headcellver>div>.kg_list>.kg_layer img {
  min-width: 80px !important;
  height: auto;
}

.kg_custom_listTable.headcellver>div>.kg_list>.kg_head {
  display: table-cell;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: unset;
  padding: 0;
}

.kg_custom_listTable.headcellver>div>.kg_list .kg_head .kg_head_name {
  background: #e8f3f3;
  padding: 3px 4px;
  border-bottom: 1px solid #ccc;
}

.kg_custom_listTable.headcellver>div>.kg_list .kg_head .kg_content .kg_frame_th {
  display: table-cell;
  width: 51px;
  color: grey;
  font-size: 12px;
  background: #f1f1f1;
  border-right: 1px solid #ccc;
  text-align: center;
  padding: 2px 5px;
  vertical-align: middle;
}

.kg_custom_listTable.headcellver>div>.kg_list .kg_frame {
  display: table-cell;
  padding: 0 4px;
  line-height: 0;
  height: 28px;
  vertical-align: middle;
  font-size: 12px;
}

.kg_custom_listTable.headcellver>div>.kg_list .kg_frame>.kg_frame_tag {
  display: inline-block;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background: linear-gradient(to bottom, #fff, #f6f6f6);
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  padding: 3px 5px;
  color: #404040;
  margin: 2px 4px 2px 0;
  vertical-align: middle;
}

.kg_custom_listTable>div>.kg_list .kg_frame>.kg_frame_tag img {
  vertical-align: middle;
  width: 15px;
  height: 15px;
}

.kg_custom_listTable.headcellver>div>.kg_list>.kg_head>div:nth-child(4) {
  border-top: 1px solid #e2e2e2;
}

/* =========================================================
 *  汎用ユーティリティ
 * ======================================================= */
.kg_custom_listTable>div>.kg_list img {
  display: inline-block;
  margin: 0 2px 0 0;
  vertical-align: middle;
}

.filter-image__excluded { display: none !important; }
.filter-table-list        { background-color: #fff; }

/*  アイコンリスト  */
.kg_iconlist ol {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 6px;
  grid-row-gap: 9px;
  padding-inline-start: 0;
}

.kg_iconlist li {
  list-style: none;
  position: relative;
  background: #212121;
  border-radius: 3px;
  height: auto;
}

.kg_iconlist img {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.kg_iconlist span {
  position: absolute;
  bottom: -3px;
  display: block;
  width: 100%;
  margin: auto;
  background-color: #2c2c2c;
  border-radius: 0 0 3px 3px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -.8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kg_iconlist>ol>.kg_hover:hover { opacity: .6; }

/*  テーブル系  */
.guide_table      { font-size: 12px; }
.guide_table th   { font-size: 13px; }
.guide_table td   { font-size: 12px; padding: 8px !important; }

.nop_table td     { font-size: 13px; padding: 3px !important; }

.nop_image_element {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nop_image_element::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #a9935a !important;
  border-radius: 5px;
}

.nop_image img { border-radius: 5px; }

/* =========================================================
 *  メディアクエリ
 * ======================================================= */
@media screen and (max-width: 728px) {
  .kg_iconlist ol {
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 4px;
    grid-row-gap: 7px;
  }

  .nop_table td { font-size: 12px; }
}
