@charset "UTF-8";
/* CSS Document */

.send{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: 630px;
  height: 100vh;
  background-image: url(../img/omikuji/send-bg.png);
  background-size: 100% auto;
  background-repeat: repeat-y;
  /*left: 50%;  
  transform: translateX(-50%);*/
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
  z-index: 500;
  transform: translate(-50%,-50%);
 
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
background-color: #fffbf3;

  width: 85%;
    height: 90svh;
}

@media screen and (min-aspect-ratio: 7 / 10) and (max-height: 1097px) {
  .send{
    max-width: 70vh;
    min-width: inherit;

    max-width: 60vh;
    max-height: 90vh;
  }
}

.send.show{
  position: fixed;
  opacity: 1;
  pointer-events: all;
}

.send__area{
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
}

.send__area.show{
  position: relative;
  left: auto;
  top: auto;
  pointer-events: all;
  z-index: 1;
  opacity: 1;
}

.send__header{
	width: 100%;
    margin-bottom: 2rem;
}

.send__title{
	margin: 0 auto 1.5rem;
}

.send__title.high{
	width: 49%;
}

.send__title.mid{
	width: 50%;
}

.send__title.low{
	width: 48%;
  margin-bottom: 0;
}

.send__pic{
	width: 85%;
    margin: 0 auto 2.5rem;
}

.send__subtitle{
	width: 85%;
    margin: 0 auto 2.5rem;
}

#present__form{
	width: 85%;
    margin: 0 auto 2.5rem;
}

.present-name__title{
    font-size: 24px;
    font-weight: bold;
}

.present__nickname{
	margin-bottom: 1rem;
}

.present__mailadress{
	margin-bottom: 2rem;
}

#present__form input {
    width: 100%;
    height: 70px;
    border: 5px solid #000;
    font-size: 30px;
    padding: 0 20px;
    outline: none;
    border-radius: 0;
}

.present__nickname-aleret,
.present__mailadress-aleret{
  font-size: 20px;
    color: red;
    display: none;
}

.present__send{
	width: 55%;
    margin: 0 auto 2rem;
	cursor: pointer;
}

.present__send.hide{
  pointer-events: none;
  opacity: 0.2;
}

.send__textarea{
	width: 81%;
    margin: 0 auto 2rem;
}

.send__textarea p{
	font-size: 17px;
    line-height: 1.6;
    font-weight: bold;
}

.send__textarea .note {
  font-size: 18px;
    padding-left: 1em;
    text-indent: -1em;
    font-weight: bold;
}

.note2{
	width: 85%;
    margin: 0 auto;
	font-size: 22px;
	padding-bottom: 3rem;
}

.present__discription{
	padding-bottom: 4rem;
}

.present__conversion-link{
  width: 49%;
  height: 2rem;
  display: block;
  position: absolute;
  left: 1%;
  top: 3.7rem;
}

@media screen and (max-width: 768px) {
  .send{
    /*min-width: 100%;*/
  }
}

@media screen and (max-width: 630px) {
  .send__textarea p{
    font-size: 3vw;
  }

  .present-name__title{
    font-size: 3.8vw;
  }

  #present__form input{
    height: 11vw;
    font-size: 4.7vw;
    padding: 0 3vw;
    border: 0.5vw solid #000;
  }

  .send__textarea .note{
    font-size: 2.85vw;
  }

  .present__conversion-link{
    height: 6vw;
    top: 7.5vw;
  }

  .present__nickname-aleret, .present__mailadress-aleret{
    font-size: 3.15vw;
  }
}

.apply-time-modal{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  display: none;
}

.apply-time-modal.show{
  display: block;
}

.apply-time-modal__inner{
  width: 95%;
  height: 95%;
  border-radius: 1em;
  background-color: rgba(0, 0, 0, 0.6);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.apply-time-modal-text{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.apply-time-modal-text.show{
  display: block;
}

.apply-time-modal-text.soon{
  width: 72%;
}

.apply-time-modal-text.end{
  width: 75%;
}
