/* modal.css */


  /*モーダル本体の指定 + モーダル外側の背景の指定*/
  .modal-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,.6);
    padding: 20px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 9999999999;
    font-size: 1.4rem;
  }
  /*モーダル本体の擬似要素の指定*/
  .modal-container:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
  }
  /*モーダル本体に「active」クラス付与した時のスタイル*/
  .modal-container.active{
    opacity: 1;
    visibility: visible;
  }
  /*モーダル枠の指定*/
  .modal-body{
    width: 90%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, .5);

  }

  /*モーダルを閉じるボタンの指定*/
  .modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: #888;
    cursor: pointer;
  }
  /*モーダル内のコンテンツの指定*/
  .modal-content{
    width: 100%;
    background: #fff;
    border-radius: 10px;
    text-align: left;
    padding: 5%;
    line-height: 1.5;
    font-size: 1.4rem;
  }

#agreement {
    width: 100%;
    background-color: #eee;
}
.modal-content .modal-top {
  background-color: #1e2e54;
  padding: 15px 16px 10px 16px;
  margin-bottom: 15px;
  text-align: center;
  color: #FFF;
}
.modal-content .modal-top h1 {
  display: inline-block;
  margin: 0 30px;
  padding: 20px 10px;
  text-align: center;
  font-weight: 400;
  font-size: 1.4rem;
  border: 0;
  position: relative;
}
.modal-content .modal-top h1::before {
  content: '\f071';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: -30px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.modal-content .modal-top h1::after {
  content: '\f071';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: -30px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.modal-content h1 br {
  display: none;
}

.modal-content h1 span {
  margin: 0 5px;
  text-decoration: underline;
}

.modal-content iframe {
  width: 100%;
}


.modal-content .agreementWrap {
  width: 100%;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling:touch !important;
  border: 1px solid #CCC;
}

.modal-content .agreementWrap iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.term {
    padding: 10px;
    color: #444;
    background-color: #EEE;
    font-size: 13px;
    line-height: 1.5;
}

.term {
    padding-bottom: 20px;
}

.term h1 {
    font-weight: 700;
    color: #1e2e54;
    line-height: 2;
    border-bottom: 1px dashed #1e2e54;
    margin-bottom: 10px;
}

.term h2 {
    margin-bottom: 10px;
}

ol.termBox {
    margin-left: 2rem;
}

ol.termBox a {
    margin-left: 20px;
    color: #87704c;
    text-decoration: underline;
}
ol.termBox > li {
    font-weight: 700;
    list-style: decimal;
}
ol.termBox > li dd {
    font-weight: 300;
    color: #333;
}

ol.termBox > li + li {
    margin-top: 10px;
}
ol.termBox > li ul {
    margin-left: 2rem;
}
ol.termBox > li ul > li {
    list-style: disc;
}
ol.termBox > li ol {
    margin-left: 1.6rem;
}
ol.termBox > li ol > li {
    list-style: decimal;
}



  /* 送信ボタン */

  form {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }
.submit-btn {
    /* buttonタグのリセットCSS */
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 70%;
    border-radius: 10px;
    margin-top: 10px;
    padding: 15px 0;
    background-color: #f6ab00;
    cursor: pointer; /* ポインターカーソルを表示 */
  }
  
  .submit-btn[disabled] {
    background-color: #ccc;
    cursor: not-allowed; /* クリック不可のカーソルを表示 */
  }

  .submit-btn i {
    margin-left: 10px;
  }

  @media screen and ( max-width:768px) {
    .modal-content{
      line-height: 1.25;
      font-size: 1.2rem;
    }

    .modal-content .modal-top h1 {
      font-size: 1.4rem;
    }

    .modal-content .agreementWrap {
      height: 150px;
    }
    
    .modal-content .agreementWrap iframe {
    }
    
    .submit-btn {
      /* buttonタグのリセットCSS */
      font-size: 1.6rem;
      padding: 10px 0;
    }
  }
      