/*-----------------------------------------------------
Reset
----------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
          border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  -webkit-clip-path: inset(50%) !important;
          clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img {
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
}

:root {
  --sub-color: #ed1c24;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  text-justify: inter-ideograph;
  background: #000;
  overflow-x: hidden;
}

b, strong, .bold {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

#container {
  margin: 0 auto;
  background: url(../images/common/bg_contents.png) no-repeat bottom;
  background-size: contain;
  overflow-x: hidden;
}

#contents {
  width: min(95%,1000px);
  margin-left: auto;
  margin-right: auto;
  
}

.tb,.sp {
  display: none;
}

.main_logo_p{
    margin-top: 10px;
    font-size: 0.875em;
    color: #fff;
    background: #000;
}

/*-----------------------------------------------------
Header
----------------------------------------------------- */


/*-----------------------------------------------------
Footer
----------------------------------------------------- */
footer {
  margin-top: 45px;
  padding-bottom: 20px;
}
.logo {
  width: 118px;
  margin: 0 auto;
}
footer dl {
  font-size: 0.875em;
  color: #fff;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
footer dl dd {
  margin-left: 20px;
}
footer small {
  color: #fff;
  font-size: 0.688em;
  text-align: center;
  display: block;
  margin-top: 60px;
}
.license{
  border-top: #fff 1px dotted;
  border-bottom: #fff 1px dotted;
  width: 40%;
  margin: 60px auto;
  padding: 4vw;
}
.license p{
  text-align: center;
  padding: 1em;
}
.license p a{
  color: #FFF;
}
.license p a:hover{
  text-decoration: underline;
  color: #FFF;
}

@media screen and (max-width:960px) {
  .tb {
    display: block;
  }
}

@media screen and (max-width:600px) {
  .sp {
    display: block;
  }

  #container {
    background: url(../images/common/bg_contents_sp.png) no-repeat bottom 150px left;
    background-size: 100% auto;
  }
/*-----------------------------------------------------
Footer
----------------------------------------------------- */
  footer dl {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }
  footer dl dd {
    margin: 20px 0 0 0;
  }
  footer small {
    margin-top: 40px;
  }
  .license{
  width: 70%;
  margin: 60px auto;
  padding: 4vw;
}
}

