html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

html { scroll-padding-top: 4rem; }
@media screen and (max-width: 1002px) {
  html { font-size: 12px; }
}
body {
  background: rgb(118, 118, 118);
  color: black;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  line-height: 1.5;
}
a { color: black; }

.content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background:
    url('/images/bg_pattern.png') repeat-y calc(50vw - 61.125rem) 0/30.5625rem,
    rgb(146, 146, 146);
  position: relative;
  min-height: 100vh;
}
.content:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/bg_pattern.png') repeat-y calc(50vw - 61.125rem) 0/30.5625rem;
  transform: rotate(180deg);
}
.header {
  position: fixed;
  z-index: 90;
  top: 0;
  width: 100%;
  background-color: rgb(255, 243, 1);
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.25rem solid black;
  padding-top: env(safe-area-inset-top);
}
.header_logo { height: 4rem; }
.main_content {
  padding: 6.375rem 2rem 1.625rem;
  background: rgb(240, 240, 240);
  width: 100%;
  max-width: 60rem;
  min-height: calc(100vh - 14rem);
  z-index: 1;
  display: flex;
  justify-content: center;
}
.content_inner {
  width: 100%;
  max-width: 52rem;
}
.footer {
  z-index: 80;
  width: 100%;
  background-color: rgb(255, 243, 1);
  border-top: 0.625rem solid black;
  padding-bottom: env(safe-area-inset-bottom);
}
.logo_wrap {
  margin: 4.375rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.corporate_logo { width: 12rem; }
.copyright {
  margin: 2.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-align: center;
  white-space: pre-wrap;
}

h1, h2 {
  background: #2b2b2b;
  color: #ffd800;
  font-weight: bold;
  text-align: center;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 18px 0 12px;
  font-size: 1.1rem;
}
p {
  font-weight: bold;
  margin: 10px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  border: 2px solid #2b2b2b;
}
th {
  background: #2b2b2b;
  color: #ffd800;
  font-weight: bold;
  text-align: center;
  padding: 10px 8px;
}
td {
  background: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px 8px;
  border: 1px solid #d0d0d0;
}
.rarity-icon {
  display: inline-block;
  height: 1.4em;
  width: auto;
  vertical-align: -25%;
  margin: 0 2px;
}
ul { line-height: 1.9; }
