@charset "UTF-8";

/************************************
** popup
************************************/
#popup-overlay {
  position: fixed;
  z-index: 10000;
}

#btn_area {
  width: 50%;
  height: 80%;
  background: #FFF;
  border-radius: 4px;
  color: #3C2A11;
  position:fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  overflow-y: auto;
  overscroll-behavior-y: none;
  padding: 3.5rem 4rem;
}

#btn_area h3,
#btn_area h4,
#btn_area .popup-ttl,
.page-terms h3,
.page-terms h4,
.page-terms .popup-ttl {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

#btn_area h3,
#btn_area h4,
.page-terms h3,
.page-terms h4 {
  text-align: center;
}

#btn_area h4,
.page-terms h4 {
  padding: 1rem 0;
}

#popup-overlay p,
.page-terms p {
  font-size: 1.5rem;
  padding-bottom: 4rem;
}

.popup-agree {
  font-size: 1.3rem;
  text-align: center;
}

.popup-agree .flex-block {
  justify-content: center;
  align-items: center;
  padding-bottom: 2rem;
}

.popup-agree input {
  width: 15px;
  height: 15px;
  margin: 0 10px 0 0;
}

#btn_area button {
  max-width: 226px;
  height: 43px;
  line-height: 43px;
  box-sizing: border-box;
  background: #4B4B48;
  border: 1px solid #85837B;
  border-radius: 2px;
  color: #F8F2D2;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0;
  margin: 0 auto;
}

#btn_area button:hover {
  opacity: 0.8;
}

.submit-btn[disabled] {
  background: #CCC;
  border: 1px solid #CCC;
  cursor: not-allowed;
}

.submit-btn[disabled]:hover {
  opacity: 1;
}

/************************************
** レスポンシブ
************************************/
@media screen and (max-width: 768px) {
  #btn_area h3,
  #btn_area h4,
  #btn_area .popup-ttl,
  .page-terms h3,
  .page-terms h4,
  .page-terms .popup-ttl {
    font-size: 1.4rem;
  }

  #popup-overlay p,
  .page-terms p {
    font-size: 1.3rem;
    padding-bottom: 2rem;
  }

  #btn_area {
    width: 70%;
    padding: 2rem;
  }
}
