:root {
  /* font sizes */
  --font-size-12: 0.5rem;
  --font-size-16: 1rem;
  --font-size-24: 1.5rem;
  --font-size-32: 2rem;
  --font-size-48: 3rem;

  /* Colors */
  --deep-yellow: #f6ae0b;
  --deep-grey: #202020;
  --light-violet: #f1ecf9;
  --alert: #ff1313;
  --success: #1fe000;
  --deep-orange: #ff5717;
  --deep-orange-shadow: #dd3400;
  --deep-red: #953054;

  --grey50: #e2dfdf;
  --grey80: #c6c6c6;
  --grey100: #7e7e7e;
  --grey200: #a0a0a0;
  --grey300: #616161;

  --white: #fff;
  --black: #000;

  /* width */
  --base-width: 1200px;
  --desktop-min-width: 780px;
}

/* text */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-color-black {
  color: var(--black);
}
.text-color-deep-yellow {
  color: var(--deep-yellow);
}
.text-color-success {
  color: var(--success);
}
.text-color-alert {
  color: var(--alert);
}
.text-color-white {
  color: var(--white);
}
.text-color-deep-orange {
  color: var(--deep-orange);
}

/* font */
.font-size-14 {
  font-size: 0.75rem;
}
.font-size-16 {
  font-size: 1rem;
}
.font-size-24 {
  font-size: 1.5rem;
}
.font-size-32 {
  font-size: 2rem;
}
.font-size-48 {
  font-size: 3rem;
}
@media (max-width: 780px) {
  .font-size-14-mobile {
    font-size: 0.75rem;
  }
  .font-size-16-mobile {
    font-size: 1rem;
  }
  .font-size-24-mobile {
    font-size: 1.5rem;
  }
  .font-size-32-mobile {
    font-size: 2rem;
  }
}

/* margin */
.mt-0 {
  margin-top: 0rem;
}
.mt-4 {
  margin-top: 0.25rem;
}
.mt-8 {
  margin-top: 0.5rem;
}
.mt-16 {
  margin-top: 1rem;
}
.mt-32 {
  margin-top: 2rem;
}
.ml-8 {
  margin-left: 1rem;
}
.ml-16 {
  margin-left: 1rem;
}
.mr-8 {
  margin-right: 0.5rem;
}
.mr-16 {
  margin-right: 1rem;
}
.mb-8 {
  margin-bottom: 0.5rem;
}
.mb-16 {
  margin-bottom: 1rem;
}

@media (max-width: 780px) {
  .mt-8-mobile {
    margin-top: 0.5rem;
  }
  .mt-16-mobile {
    margin-top: 1rem;
  }
  .mt-32-mobile {
    margin-top: 2rem;
  }
  .mr-0-mobile {
    margin-right: 0;
  }
  .ml-0-mobile {
    margin-left: 0;
  }
}

/* padding */
.pd-8 {
  padding: 0.5rem;
}
.pd-16 {
  padding: 1rem;
}

/* flex */

.is-flex {
  display: flex;
}
@media (max-width: 780px) {
  .is-flex-mobile {
    display: flex;
  }
}
.flex-wrap {
  flex-wrap: wrap;
}
.is-block {
  display: block;
}
@media (max-width: 780px) {
  .is-block-mobile {
    display: block;
  }
}

.justify-content-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}
.align-items-end {
  align-items: flex-end;
}
.align-items-start {
  align-items: start;
}

.primary-button {
  padding: 16px 24px;
  display: inline-block;
  position: relative;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  background: var(--deep-orange);
  transition: 0.2s;
  border-radius: 16px;
  box-shadow: 0px 6px var(--deep-red);
}
.primary-button:hover {
  top: 4px;
  background: var(--deep-orange-shadow);
  box-shadow: 0px 2px var(--deep-red);
}

.primary-small-button {
  padding: 4px;
  border-radius: 2px;
  box-shadow: 0px 4px var(--deep-red);
}
.primary-button-lined {
  padding: 16px 24px;
  display: inline-block;
  position: relative;
  color: var(--deep-orange);
  text-decoration: none;
  text-align: center;
  background: var(--white);
  transition: 0.2s;
  border: 2px solid var(--deep-orange);
  border-radius: 16px;
  box-shadow: 0px 6px var(--deep-red);
}
.primary-button-lined:hover {
  top: 4px;
  background: var(--grey50);
  box-shadow: 0px 2px var(--deep-red);
}

.grey-button {
  padding: 16px 24px;
  display: inline-block;
  position: relative;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  background: var(--grey100);
  transition: 0.2s;
  border-radius: 16px;
  box-shadow: 0px 6px var(--grey300);
}
.grey-button:hover {
  margin-top: 4px;
  background: var(--grey200);
  box-shadow: 0px 2px var(--grey300);
}
.grey-small-button {
  padding: 4px;
  border-radius: 2px;
  box-shadow: 0px 4px var(--grey300);
}
.button-disable {
  padding: 16px 24px;
  display: inline-block;
  position: relative;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  transition: 0.2s;
  border-radius: 16px;
  background: var(--grey50);
  box-shadow: 0px 6px var(--grey80);
}

.text-overflow-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  width: 288px;
  text-overflow: ellipsis;
}

body {
  font-family: "Press Start 2P", Arial, sans-serif, cursive;
  color: var(--deep-yellow);
  margin: 0;
  line-height: normal;
}

/* mint check global css */
.index-container {
  position: relative;
  margin: auto;
  background-color: var(--light-violet);
}

.background {
  margin: auto;
  height: 100vh;
  background-image: url("assets/img_background_light_violet.gif");
  background-repeat: repeat-x;
  background-size: 100%;
  background-position: top;
}
@media (max-width: 780px) {
  .background {
    background-size: 100%;
    height: 1380px;
  }
}
@media (min-width: 1200px) {
  .background {
    background-size: 64%;
  }
}
.kakeziku-background {
  position: absolute;
  height: 890px;
  width: 100%;
  z-index: 10;
}
.kakeziku-background img {
  max-width: var(--desktop-min-width);
}
@media (max-width: 780px) {
  .kakeziku-background img {
    width: 100%;
  }
}
.main-container {
  position: absolute;
  margin: auto;
  max-width: var(--desktop-min-width);
  z-index: 10;
}

.connect-section {
  position: absolute;
  background-color: var(--black);
  border: solid 6px var(--deep-yellow);
  right: 1%;
  top: 2%;
  z-index: 20;
}
@media (max-width: 780px) {
  .connect-section {
    top: 3%;
    right: 2%;
    left: 2%;
  }
}

.info-section {
  margin-top: 64px;
}
@media (max-width: 780px) {
  .info-section {
    margin-top: 118px;
  }
}
.main-section {
  margin-top: 128px;
  max-width: 572px;
  margin: 48px auto;
}
@media (max-width: 780px) {
  .main-section {
    max-width: 440px;
    margin-left: 24px;
    margin-right: 24px;
  }
}

.scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.scrollbar-thumb::-webkit-scrollbar-thumb {
  --bg-opacity: 1;
  background-color: var(--deep-yellow);
}
.credit {
  position: absolute;
  bottom: 1%;
}
@media (max-width: 780px) {
  .credit {
    right: 1%;
  }
}

.music-button {
  position: absolute;
  bottom: 1%;
  left: 2%;
  z-index: 20;
}

.bg-color {
  background-color: var(--light-violet);
}
.check-button {
  position: absolute;
  bottom: 3%;
  right: 2%;
  z-index: 20;
}
@media (max-width: 780px) {
  .check-button {
    position: absolute;
    bottom: 380px;
  }
}

.back-buton {
  position: absolute;
  top: 1%;
  left: 1%;
  z-index: 20;
}
@media (max-width: 780px) {
  .back-buton {
    display: none;
  }
}

/*********** mogi add mint.htmlの<style>**************/
/* mint */
.display-box {
  width: 100%;
  height: 324px;
  overflow: scroll;
  overflow-y: scroll;
}
.nft-box {
  position: relative;
}
.checked-nft {
  position: absolute;
  top: 0;
  left: 0;
}
.used-nft {
  position: relative;
}

.used-nft::before {
  position: absolute;
  width: 88px;
  height: 88px;
  z-index: 0;
  content: "";
  display: block;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.link-section {
  margin-top: 88px;
  width: 100%;
}
@media (max-width: 780px) {
  .link-section {
    margin-top: 32px;
  }
}

.gunzo-zu-1 {
  position: absolute;
  bottom: 6%;
  left: 1%;
  z-index: 10;
}

.gunzo-zu-2 {
  position: absolute;
  bottom: 8%;
  right: 1%;
  z-index: 10;
}
@media (max-width: 1200px) {
  .gunzo-zu-1 {
    z-index: 1;
  }
  .gunzo-zu-2 {
    z-index: 1;
  }
}
@media (max-width: 780px) {
  .gunzo-zu-1 {
    width: 180px;
    height: auto;
  }
  .gunzo-zu-2 {
    width: 180px;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .check-button {
    z-index: 1;
  }
}

/*********** mogi add **************/
/* check.htmlの<style> をいれるとmintが崩れる　todo */
/* check */
.check-display-box {
  width: 100%;
  height: 240px;
  overflow: scroll;
  overflow-y: scroll;
}
@media (max-width: 780px) {
  .check-display-box {
    height: 224px;
  }
}
.check-nft-box {
  position: relative;
}
.check-textarea {
  height: 32px;
  width: 280px;
  border: 2px solid;
  font-family: "Press Start 2P", Arial, sans-serif, cursive;
}

.gunzo-zu-3 {
  position: absolute;
  bottom: 10%;
  right: 1%;
  z-index: 10;
}
@media (max-width: 1200px) {
  .gunzo-zu-3 {
    z-index: 1;
  }
}
@media (max-width: 780px) {
  .gunzo-zu-3 {
    width: 180px;
    height: auto;
  }
}

/*******mogi add*******/
.web3modal-modal-lightbox {
  z-index: 100 !important;
}
