@charset "utf-8";

/*========================================================================*/
/* modal
/*========================================================================*/

body {
  color: #000;
  background: url(../images/agecheck/bg.jpg);
}

.AgeCheckModal {
  background-color: #fff;
  height: fit-content;
  width: 100%;
  max-width: 660px;
  margin: auto;
  font-size: 14px;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.AgeCheckModalTopArea {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.AgeCheckModalTopArea__text-area {
  h1 {
    font-size: 14px;
    color: #ff0000;
    margin: 0;
  }

  p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
  }
}

.AgeCheckModalBodyArea {
  position: relative;
  margin-bottom: 15px;
}

.AgeCheckModalBodyArea__image {
  width: 100%;
  height: auto;
}

.AgeCheckModalBodyArea__image--pc {
  display: block;
}

.AgeCheckModalBodyArea__image--sp {
  display: none;
}

.AgeCheckModalBodyArea__attention {
  background-color: rgba(255,255,128,0.5);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 8px 10px;
  width: calc(100% - 20px);

  b {
    color: #ff0000;
  }
}

.AgeCheckModalBottomArea__button-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 10px;
}

.AgeCheckModalBottomArea__enter-button,
.AgeCheckModalBottomArea__leave-button {
  border: 1px solid #999999;
  border-radius: 5px;
  padding: 15px 15px 10px;

  img {
    width: 100%;
  }
}

.AgeCheckModalBottomArea__banner {
  display: block;
  margin: 0 auto 15px;
  width: fit-content;

  img {
    width: 100%;
  }
}

.AgeCheckModalBottomArea__license {
  font-size: 10px;
  line-height: 1.5em;
  color: #990000;
  padding: 10px;
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 700px) {
  .AgeCheckModal {
    width: 95%;
  }

  .AgeCheckModalTopArea {
    flex-direction: column;
    gap: 0;
    margin-bottom: 10px;
  }

  .AgeCheckModalTopArea__logo {
    height: 70px;
  }

  .AgeCheckModalBottomArea {
    padding: 0 10px;
  }

  .AgeCheckModalBottomArea__button-area {
    gap: 10px;
  }

  .AgeCheckModalBottomArea__enter-button,
  .AgeCheckModalBottomArea__leave-button {
    max-width: 120px;
    width: 30%;
  }

  .AgeCheckModalBottomArea__logo-18 {
    max-width: 100px;
    width: 20%;
  }

  .AgeCheckModalBottomArea__banner {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 500px) {
  .AgeCheckModalBodyArea__image--pc {
    display: none;
  }

  .AgeCheckModalBodyArea__image--sp {
    display: block;
    height: 250px;
    object-fit: cover;
    object-position: 0 -60px;
  }
}














