.wizdf1 {
    display: inline-block;
    margin: 2px auto;
    padding: 0 2px;
    width: 100px;
}

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

.kamigame-dropmenu {
background-color: transparent;
}

.game-header-wrapper {
background: linear-gradient(to right, #030b0e, #304447);
}

.main__article {
padding: 0;
}

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

.article-inner {
padding: 15px;
background-color: rgba(255, 255, 255, 0.7);
}

nav#contents .separator {
    font-weight: 600;
        line-height: 2.5;
}

nav#contents {
border: 1px solid #d4d4d4;
}

nav#contents h2 {
box-shadow: none;
text-shadow: none;
}

.kamigame-layout-main h2 {
color: #fff;
padding: 12px 10px 12px 20px;
background: no-repeat center/100% 100% url("/img/wiz-daphne/wiz-daphne_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/wiz-daphne/wiz-daphne_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 #314446;
padding: 5px 15px 6px 20px;
}

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

.kamigame-layout-main h3:before {
top: 0;
content: "";
display: block;
width: 100%;
background-image: url("/img/wiz-daphne/wiz-daphne_h3.png");
width: 10px;
height: 36px;
background-size: 10px 36px;
background-repeat: no-repeat;
}

@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/wiz-daphne/wiz-daphne_h4.png");
width: 22px;
height: 22px;
background-size: 22px 22px;
background-repeat: no-repeat;
border-radius: 0;
}

.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: #e7efee;
border-color: #ccc;
}

.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);
}

.kamigame-layout-main .button_navigation a {
background: linear-gradient(to bottom, #9e0602, #650300);
border: 2px solid #e4b777;
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: linear-gradient(to bottom, #9e0602, #650300);
color:#fff;
}

#article_comment {
padding: 15px;
}

.article-inner-widget {
padding: 15px;
}

#enquete .enquete_box .enquete_bar {
background: #e7efee;
}

.enquete_button_box > .button_navigation > a {
background: linear-gradient(to bottom, #9e0602, #650300);
border: 2px solid #e4b777;
color: #fff;
}

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

.side-block h2, .side_block h2 {
position: relative;
background: linear-gradient(to right, #030b0e, #304447);
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: linear-gradient(to bottom, #513b23, #f2c588);
}

.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 #f2c588;
}

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

.kamigame-layout-main table.step_table .chart_number {
background: #bad0d1;
color: #333;
}

.kamigame-table-of-contents {
background-color: #fff;
}

.kamigame-layout-main .related_links::after {
background: #bad0d1;
color: #333;
font-weight: 700;
}

.kamigame-layout-main table.sidebar_ranking .rank_other, .side-block table.sidebar_ranking .rank_other, .side_block table.sidebar_ranking .rank_other {
background-color: #2d4245;
}

.table_search_form {
background-color: #efefef;
}

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

.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: linear-gradient(to bottom, #9e0602, #650300);
}

.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: linear-gradient(to bottom, #9e0602, #650300);
color: #fff;
}

.user-saiten-tool {
background-color: #fff;
}

/* ティア表*/

.daphne-tier-table-row.ss > .daphne-tier-inline-box-cards {
  border-color: rgba(var(--ss-rgb), 1);
}

.daphne-tier-table-row.splus > .daphne-tier-inline-box-cards {
  border-color: rgba(var(--splus-rgb), 1);
}

.daphne-tier-table-row.s > .daphne-tier-inline-box-cards {
  border-color: rgba(var(--s-rgb), 1);
}

.daphne-tier-table-row.a > .daphne-tier-inline-box-cards {
  border-color: rgba(var(--a-rgb), 1);
}

.daphne-tier-table-row.b > .daphne-tier-inline-box-cards {
  border-color: rgba(var(--b-rgb), 1);
}

.daphne-tier-inline-box-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  place-items: center;
  width: 100%;
  padding: 6px;
  border: 1.5px solid rgba(var(--c-rgb), 1);
  border-radius: 0 6px 6px 0;
  background-color: #fff;
}

.daphne-chara-icon:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    opacity: 0.7; 
  }

.daphne-tier-table-row {
  display: flex;
  width: 100%;
  margin-bottom: 4px;
  padding: 4px;
  box-shadow: 0 0 10px -4px #6d68cd;
  border-radius: 0 0 10px 10px;
}

.daphne-tier-table-row:last-child {
  margin-bottom: 0;
}

:root {
  --ss-rgb: 255, 127, 128;
  --splus-rgb: 255, 160, 128;
  --s-rgb: 255, 193, 127;
  --a-rgb: 191, 255, 127;
  --b-rgb: 129, 255, 254;
  --c-rgb: 127, 191, 255;
}

.daphne-tier-row-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 10%;
  border-radius: 6px 0 0 6px;
  padding: 4px;
  background-color: rgba(var(--c-rgb), 1);
}

.daphne-tier-table-row.ss > .daphne-tier-row-header {
  background-color: rgba(var(--ss-rgb), 1);
}

.daphne-tier-table-row.splus > .daphne-tier-row-header {
  background-color: rgba(var(--splus-rgb), 1);
}

.daphne-tier-table-row.s > .daphne-tier-row-header {
  background-color: rgba(var(--s-rgb), 1);
}

.daphne-tier-table-row.a > .daphne-tier-row-header {
  background-color: rgba(var(--a-rgb), 1);
}

.daphne-tier-table-row.b > .daphne-tier-row-header {
  background-color: rgba(var(--b-rgb), 1);
}

.daphne-tier-row-header > span {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
}

.daphne-tier-inline-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  place-items: center;
  width: 100%;
  padding: 6px;
  border: 1.5px solid rgba(var(--c-rgb), 1);
  border-radius: 0 6px 6px 0;
  background-color: #fff;
}

.daphne-tier-table-row.ss > .daphne-tier-inline-box {
  border-color: rgba(var(--ss-rgb), 1);
}

.daphne-tier-table-row.splus > .daphne-tier-inline-box {
  border-color: rgba(var(--splus-rgb), 1);
}

.daphne-tier-table-row.s > .daphne-tier-inline-box {
  border-color: rgba(var(--s-rgb), 1);
}

.daphne-tier-table-row.a > .daphne-tier-inline-box {
  border-color: rgba(var(--a-rgb), 1);
}

.daphne-tier-table-row.b > .daphne-tier-inline-box {
  border-color: rgba(var(--b-rgb), 1);
}

.daphne-chara-icon {
  width: 60%;
  border: 1px solid #b0e0e6;
  margin-bottom: 5px;
}

.daphne-chara-image {
  width: 100%;
  min-height: 50px;
  height: auto;
  display: block;
}

.daphne-chara-label-container {
  display: flex;
  justify-content: center;
  border-top: 1px solid #b0e0e6;
  background-color: #e0f7fa;
}

.daphne-chara-label-text {
  font-size: 8px;
  font-weight: bold;
  color: black;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  letter-spacing: -0.4px;
  padding: 1px 3px;
}

@media screen and (max-width: 728px) {
    .daphne-tier-inline-box {
            grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));}
    .daphne-tier-row-header > span{
           font-size: 13px;
     }
     }

}

/* NEWラベル */

.new_label{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.new_label_small{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.new_label_large{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.new_label_small::after{
position: absolute;
content: "NEW";
top: 0px;
left: 0px;
background-color: #fff970;
font-size: 6px;
color: #333;
font-weight: 700;
text-align: center;
padding: 2px 2px;
white-space: nowrap;
border-radius: 2px;
height: 7px;
line-height: 7px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

.new_label::after{
position: absolute;
content: "NEW";
top: 0px;
left: 0px;
background-color: #fff970;
font-size: 8px;
color: #333;
font-weight: 700;
text-align: center;
padding: 0px 2px;
white-space: nowrap;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

.new_label_large::after{
position: absolute;
content: "NEW";
top: 0px;
left: 0px;
background-color: #fff970;
font-size: 10px;
color: #333;
font-weight: 700;
text-align: center;
padding: 0px 2px;
white-space: nowrap;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

/* 限定ラベル */

.limited_label{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.limited_label_small{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.limited_label_large{
position: relative;
display: inline-block;
overflow: hidden;
top: 9px;
}

.limited_label_small::after{
position: absolute;
content: "限定";
top: 0px;
right: 0px;
background-color: #ee7800;
font-size: 6px;
color: #fff;
font-weight: 700;
text-align: center;
padding: 2px 2px;
white-space: nowrap;
border-radius: 2px;
height: 7px;
line-height: 7px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

.limited_label::after{
position: absolute;
content: "限定";
top: 0px;
right: 0px;
background-color: #ee7800;
font-size: 8px;
color: #fff;
font-weight: 700;
text-align: center;
padding: 0px 2px;
white-space: nowrap;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

.limited_label_large::after{
position: absolute;
content: "限定";
top: 0px;
right: 0px;
background-color: #ee7800;
font-size: 10px;
color: #fff;
font-weight: 700;
text-align: center;
padding: 0px 2px;
white-space: nowrap;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, .25);
}

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

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

.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/wiz-daphne/wiz-daphne_custom-header_icon.png");
  background-size: 14px 14px;
  border-radius: unset;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
}

.filter-table-list {
background: #fff;
}

/* タブカラー変更 */ 
.kamigame-layout-main .tab-wrapper input:checked+.tab, .side-block .tab-wrapper input:checked+.tab, .side_block .tab-wrapper input:checked+.tab, .kamigame-layout-main .switch-content-text-tab-tab-wrapper input:checked+.tab, .side-block .switch-content-text-tab-tab-wrapper input:checked+.tab, .side_block .switch-content-text-tab-tab-wrapper input:checked+.tab {
background-color: #2d3943;
}

.kamigame-layout-main .tab-wrapper, .side-block .tab-wrapper, .side_block .tab-wrapper, .kamigame-layout-main .switch-content-text-tab-tab-wrapper, .side-block .switch-content-text-tab-tab-wrapper, .side_block .switch-content-text-tab-tab-wrapper {
border-bottom: 3px solid #2d3943;
}

/* wiz-daphne ポイントテーブル */
.kamigame-layout-main table.point_table {
background: #f5efd4!important;
border: 3px solid #391b15;
}

.side-block table.point_table th, .side_block table.point_table th, .kamigame-layout-main table.point_table th {
background: #f5efd4!important;
border-bottom: none!important;
color:#391b15;
text-align: center;
padding: 10px 10px 0 10px!important;
}

.kamigame-layout-main table.point_table th:before,
.kamigame-layout-main table.point_table th:after {
content: "";
background: url("/img/wiz-daphne/wiz-daphne_point_table.png") no-repeat 0% / 24px 24px;
width: 24px;
height: 24px;
display: inline-block;
vertical-align: middle;
}

.kamigame-layout-main table.point_table th:before {
margin-right: 5px;
}

.kamigame-layout-main table.point_table th:after {
margin-left: 5px;
transform: scaleX(-1);
}

.side-block table.point_table tbody tr:first-child td, .side_block table.point_table tbody tr:first-child td, .kamigame-layout-main table.point_table tbody tr:first-child td,.side-block table.point_table td, .side_block table.point_table td, .kamigame-layout-main table.point_table td {
background-color: #f5efd4!important;
}

.side-block table.point_table tbody tr:first-child td, .side_block table.point_table tbody tr:first-child td, .kamigame-layout-main table.point_table tbody tr:first-child td {
padding: 10px 10px 5px 26px;
}

.side-block table.point_table tbody tr:first-child td:before, .side_block table.point_table tbody tr:first-child td:before, .kamigame-layout-main table.point_table tbody tr:first-child td:before {
top: 24px;
}

.side-block table.point_table td:before, .side_block table.point_table td:before, .kamigame-layout-main table.point_table td:before {
border: 3px solid #391b15;
top: 19px;
}

.side-block table.point_table td, .side_block table.point_table td, .kamigame-layout-main table.point_table td {
padding: 5px 10px 5px 26px;
}

.side-block table.point_table tbody tr:last-child td, .side_block table.point_table tbody tr:last-child td, .kamigame-layout-main table.point_table tbody tr:last-child td {
padding: 5px 10px 12px 26px;
}

.side-block table.point_table tbody tr:only-child td, .side_block table.point_table tbody tr:only-child td, .kamigame-layout-main table.point_table tbody tr:only-child td {
padding: 12px 10px 12px 26px;
}

.kamigame-layout-main table.point_table td:after {
border: none;
}

/* ガチャ結果 ダフネ */
.kamigame-layout-main .tweet-image, .side-block .tweet-image, .side_block .tweet-image {
background: #0c161e!important;
}
.kamigame-layout-main .tweet-image__inner, .side-block .tweet-image__inner, .side_block .tweet-image__inner {
background: #455566!important;
}

.kamigame-layout-main .tweet-image__title, .side-block .tweet-image__title, .side_block .tweet-image__title {
background: #0b1b24!important;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.2)!important;
color: #fff!important;
}

/* TOP用アイコン */
.navi-frame-table th {
  background-color: #FBF8EF !important;
  color: #000000 !important;
  text-align: center;
  font-weight: 700;
  width: 100%;
  font-size: 14px;
}

.navi-frame-table td {
  background-color: #f0f1f3 !important;
}

.top-wire-layout {
  display: block;
  padding: 0 2px;
  margin: 2px
}

.top-wire-case {
  display: flex;
  flex-direction:row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.top-character-frame {
  display: inline-block;
  width: 75px;
  height: 75px;
  margin: 5px 5px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .25);
  overflow: hidden;
  border-radius: 5px;
  transition: transform 0.1s ease;
}

.top-character-frame:hover {
  transform: translateY(-5px);
  opacity: .7;
}

.top-character-frame {
  position: relative;
}

.top-character-title {
  position: absolute;
  width: 100%;
  overflow: hidden;
  line-height: 20px;
  font-size: 11px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-image: url(https://lh3.googleusercontent.com/HtQ9sd0KuWUJfPtyyYhKARHdd6cenVcnI-SDAg2wU3cwoGSaCtmQ5qDVP9GeotIpOwuDyvaPXqi_XBi4cZendKVqL_IqHDQE9DK4oeUGau1i8wNYAw);
  background-size: contain;
  border-radius: 0 0 5px 5px;
}

.top-character-title {
    left: 0;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    text-align: center;
    padding-top: 8px;
    bottom: 0;
}

.top-character-title a {
    color: #fff !important;
}