@charset "utf-8";

.noexists {
  padding: .2rem;
}
.noexists a {
  display: inline-block;
  padding: 0 .5rem;
}
aside ul .noexists {
  display: block;
}
.contents {
  display: table;
  border: 0;

  &:before {
    content:"目次";
    display: block;
    margin-left: 1em;
    border-width: 0 0 1px;
    border-style: solid;
    font-weight: bold;
  }
  ul {
    position: relative;
    margin-top: 0;
    list-style-type: none;
  }
  ul li {
    position: relative;
  }
  ul li:before {
    position: absolute;
    top: 0;
    left: -1em;
  }
  ul li:before          { content:"★"; transform: scale(0.8, 0.8); }
  ul ul li:before       { content:"◆"; transform: scale(0.5, 0.5); }
  ul ul ul li:before    { content:"▼"; transform: scale(0.5, 0.5); }
  ul ul ul ul li:before { content:"●"; transform: scale(0.3, 0.3); }

  ul li a {
    background: none;
  }
}

.clear {
  margin:0px;
  clear:both;
}

.permalink {
  text-align: right;
  font-size: 90%;
}

/* 定義リスト */
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  border-width: 0 0 1px;
  border-style: dotted solid;
}
dl dt {
  grid-column: 1 / 2;
  border-width: 1px 0 0;
  border-style: dotted;
  padding: .2em .5em;
  text-align: center;
  background-color: rgba(100,120,190,0.2);
}
dl dd {
  grid-column: 2 / 3;
  border-width: 1px 0 0;
  border-style: dotted;
  padding: .2em .2em .2em .5em;
}
dl dd > dl {
  margin: 0em;
  border-width: 0;
}


.style_table {
  margin-left: 1.5em;
  font-size: .95em;
  font-family: "Cantarell","Raleway","BIZ UDPGothic","游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "Meiryo",sans-serif;

  .size13 { font-size: 0.977em; }
  .size12 { font-size: 0.902em; }
  .size11 { font-size: 0.827em; }
  .size10 { font-size: 0.752em; }
}

.jumpmenu {
  display: none;
}

.anchor_super {
  display: inline-block;
  position: absolute;
  top: -5rem;
  right: 0;
  padding-top: 5rem;
  vertical-align: top;
  font-size: 50%;
  text-shadow: none;
}

textarea[name="msg"] {
  width: 100%;
}

.diff_added   { background-color: rgba(0,255,0,0.2); }
.diff_removed { background-color: rgba(255,0,0,0.2); }

pre {
  margin: 1rem 1em;
  padding: 0.5rem;
  background: rgba(125,125,125,0.1);
  white-space: pre-wrap;
  font-size: 100%;
}

p img {
  max-width: 100% !important;
  object-fit: contain;
  background-color: #000;
}

form input[name="msg"] + input[type="submit"][name="comment"] {
  display: block;
  width: 10em;
  margin-left:auto;
}

.jumpmenu + h2 {
  margin-top: 5rem;
}
#navigator {
  font-size: 80%;
}

#lastmodified {
  font-size: 1rem;
}
#related {
  display: none;
}
#pkwk-copyright {
  font-size: 1rem;
}
.ie5 {
  display: contents;
}

/* 能力アイコン */
.s-icon {
  display: inline-block;
  position: relative;
  width: 1em;
  height: 1em;
  color: transparent;
  text-align: center;
}
.s-icon::after,
.s-icon::before {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-size: 85%;
  color: #000;
}
.night .s-icon::after,
.night .s-icon::before {
  color: #fff;
}
.s-icon.passive::before {
  content: "\f111";
  font-weight: normal;
}
.s-icon.setup::before {
  content: "△";
  font-weight: normal;
  text-shadow: -.08rem 0 0 #000, 0 .08rem 0 #000, -.08rem .08rem 0 #000;
}
.s-icon.major::before {
  content: "\f04b";
  font-weight: bold;
}
.s-icon.minor::before {
  content:"\f04e";
  font-weight: bold;
}
.s-icon.active::after {
  content: "\f00c";
  font-weight: bold;
  transform: scale(0.6,0.6);
}
.s-icon.active::before {
  content: "\f075";
  font-weight: normal;
  transform: scale(-1, 1);
}

/* アイテムデータ */
.sheet-item {
  background-color: rgba(0,0,100,0.1);
  margin: 0 1rem;
  padding: .25rem 1rem .75rem;
  border-radius: 1rem;
  .night & {
    background-color: rgba(100,130,255,0.2);
  }
  .sheet-item + & {
    margin-top: 0.5rem;
  }
  .area-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
  }
  .area-name h5 {
    flex-grow: 1;
    margin: 0;
    padding: .5em .25em;
    text-align: left;
    font-size: 110%;
    font-weight: bold;
    text-shadow: 0 0 0 #000, 0 0 1px #777;
    background: none;
    .i-icon {
      width: 1em;
      height: 1em;
      vertical-align: bottom;
    }
  }
  .area-name .price {
  }
}

div.data {
  display: grid;
  grid-template-columns: 10em 2fr 18em;
  border-width: 0 1px 1px 0;
  border-style: solid;
  font-size: 95%;
}

div.data dl.reputation {  }
div.data dl.shape      {  }
div.data dl.category   {  }
div.data dl.age        { grid-column: 3/4; grid-row: 2/3; }
div.data dl.summary    { grid-column: 1/3; grid-row: 2/3; }
div.data dl.effects    { grid-column: 1/4; }

div.data dl {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  margin: 0;
  background: rgba(255,255,255,0.5);
  border-width: 1px 0 0 1px;
  border-style: solid;
}
.night div.data dl {
  background-color: rgba(0,0,0,0.5);
}
div.data dl.shape { grid-template-columns: 3.5em 1fr; }
div.data dl.category,
div.data dl.age   { grid-template-columns: 5.5em 1fr; }

@media screen and (max-width:735px){
  div.data { grid-template-columns: 1fr; }
  div.data dl {
    grid-column: 1/2 !important;
    grid-row: auto !important;
    grid-template-columns: 5.5em 1fr !important;
  }
  div.data dl dd {
    text-align: left !important;
  }
}

div.data dl dt,
div.data dl dd {
  padding: .2em .5em;
  border-width: 0;
}
div.data dl dt {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(127,127,127,0.3);
}
div.data dl.reputation dd,
div.data dl.category   dd,
div.data dl.age        dd { text-align: center; }

div.data dl.reputation dd,
div.data dl.shape      dd,
div.data dl.category   dd,
div.data dl.age        dd {
  display: flex;
  justify-content: center;
  align-items: center;
}
div.data dl.shape dd{
  justify-content: flex-start;
}
div.data dl.category dd > div {
  width: 100%;
}
div.data dl.category dd > div hr {
  opacity: 0.5;
  margin: 0;
}
@media screen and (max-width:735px){
  div.data dl.reputation dd,
  div.data dl.shape      dd,
  div.data dl.category   dd,
  div.data dl.age        dd {
    display: block; 
  }
  div.data dl.category dd hr {
    display: inline;
    border: 0;
  }
  div.data dl.category dd hr::before {
    content: '／';
    margin: 0 0.3em;
  }
}

div.data dl.effects dd.box {
  background: none;
  border: 0;
  padding: 0;
}
div.data dl.effects dd.box *:first-child {
  margin-top: .2em;
}
div.data dl.effects table,
div.data dl.effects table th,
div.data dl.effects table td {
  margin: .5em;
  border-width: 1px;
  border-style: solid;
  text-align: center;
}
div.data dl.effects table th,
div.data dl.effects table td {
  padding: .2em .5em;
}
div.data dl.effects table th {
  background: rgba(127,127,127,0.2);
}
div.data dl.effects dd > hr {
  margin: 1em;
}

.description h6 {
  margin-top: .5em;
  font-size: 100%;
}

.description p {
  margin: 0 .5em .5em;
  font-size: 90%;
}