/* ========================================
   RESET
======================================== */

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

:root {
  --color-main: #000;
  --color-accent: #e60012;

  --container: 1200px;

  --font-base: "Noto Sans JP", sans-serif;
}

/* base */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500; /* 基本はMedium */
  color: #222;
  line-height: 1.6;
}

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

/* link */
a {
  color: inherit;
  text-decoration: none;
}

.page-texture {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: url(../img/common/texture.png) repeat;
  mix-blend-mode: screen;
  opacity: 0.24;
}

/* ----------------------------------------
   Display helpers
---------------------------------------- */

/* 初期状態 */
.to-tab-down,
.to-sp-only,
.to-tab-pc,
.to-tab-up {
  display: none;
}

/* PC only */
.to-pc {
  display: block;
}

/* Tablet and below: 1023px以下 */
@media (max-width: 1023px) {
  .to-pc {
    display: none;
  }

  .to-tab-down {
    display: block;
  }
}

/* Tablet and up: 768px以上 */
@media (min-width: 768px) {
  .to-tab-up {
    display: block;
  }
}

/* Tablet only: 768px〜1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .to-tab-pc {
    display: block;
  }
}

/* SP only: 767px以下 */
@media (max-width: 767px) {
  .to-sp-only {
    display: block;
  }
}


html,
body {
  overscroll-behavior-y: none;
}
