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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  background-color: #000000;
}

body {
  color: #c22b1f;
  line-height: 1.4;
  background-image: url(../../img/common/bg-pattern.png);
  background-repeat: repeat;
  font-weight: 400;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: clip;
  }
  main {
    width: calc(100% + 1px);
  }
  footer {
    width: calc(100% + 1px);
  }
}

ul {
  padding-inline-start: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background-color: transparent;
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* * ===============================================
 * utilities
 * ===============================================
 */
.u-sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .u-sp-only {
    display: block !important;
  }
}

.u-pc-only {
  display: none !important;
}
@media (min-width: 769px) {
  .u-pc-only {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .u-sp-no {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .u-pc-no {
    display: none !important;
  }
}

.l-inner-full {
  width: 100%;
  margin-inline: auto;
}

.l-inner-l {
  width: 1380px;
  margin-inline: auto;
}

.l-inner-m {
  width: 1280px;
  margin-inline: auto;
}

.l-inner-s {
  width: 1080px;
  margin-inline: auto;
}

/* * ===============================================
 * ローディング画面
 * ===============================================
 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-screen.is-removed {
  display: none;
}

.loading-screen__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c22b1f;
  background-image: url(../../img/common/bg-pattern-red.png);
  background-repeat: repeat;
}

.loading-screen__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 279px;
  height: 242px;
  opacity: 0;
  transition: opacity 0.8s ease-out 0.3s;
}

.loading-screen__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loading-screen.is-logo-visible .loading-screen__logo {
  opacity: 1;
}

body.is-loading {
  overflow: hidden;
}

