@media screen and (max-width: 769px) {
    /*----------------------------------------
      #merit
    ----------------------------------------*/
    #merit h3 {
      padding: 3rem;
      background: url(../images/merit-background.jpg) no-repeat center top;
      background-size: cover;
    }
    #merit h4 {
      margin-top: 5%;
    }
    #merit .inner {
      background: #000;
    }
    #merit-list {
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    #merit-list li {
      margin-bottom: 0;
      width: 49.5%;
    }
    /*----------------------------------------
    #prologue
    ----------------------------------------*/
    #prologue h3 {
      padding: 2rem;
      background: url(../images/background-prologue.jpg) no-repeat center top;
      background-size: cover;
    }
    #prologue .text {
      padding: 3rem;
      background: rgb(243, 243, 243);
    }
  }
  
  @media screen and (min-width: 769px) {
    /*----------------------------------------
      #merit
    ----------------------------------------*/
    #merit {
      padding: 10% 0 5%;
      background: url(../images/merit-background.jpg) no-repeat center top fixed;
      background-size: cover;
    }
    #merit .inner {
      margin: 0 auto 10%;
      width: 70%;
    }
    #merit .merit {
      margin: 0 auto 8%;
      width: 100%;
  }
  }
  
  @media screen and (min-width: 769px) and (max-width: 980px) {
    #merit .inner {
      width: 80%;
    }
  }
  
  @media screen and (min-width: 769px) {
    #merit h3 {
      margin-bottom: 5%;
    }
    #merit-list {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    #merit-list li {
      margin-bottom: 0;
      width: 49.5%;
    }
    
  }
    /* ----------------------------------------------------

    注意事項(アフィリ用)

---------------------------------------------------- */

#notes {
  background-color: #ececec;
  text-align: left;
  padding: 2% 0%;
}
#notes dl {
  font-size: 1.2vw;
  margin-bottom: 0%;
  letter-spacing:.1em;
  border 0.05rem solid #C3C8CD;
  width: 59%;
  margin-left: auto;
  margin-right: auto;
  padding: 1%;
}
#notes dt{
  margin-bottom: 0.5%;
  font-weight: 600;
  font-size: 1.4vw;
}

@media screen and (min-width: 769px) {
 /*----------------------------------------
    #reliance
  ----------------------------------------*/
  #reliance {
    padding: 10% 0 10%;
    background: url(../images/reliance-background.jpg) no-repeat center top fixed;
    background-size: cover;
  }
  #reliance .inner {
    margin: 0 auto;
    width: 60%;
    margin-bottom: 7%;
  }
}

@media screen and (min-width: 769px) and (max-width: 980px) {
  #reliance .inner {
    width: 80%;
  }
}

@media screen and (min-width: 769px) {
  #reliance h3 {
    margin-bottom: 5%;
  }
  #reliance .text {
    padding: 13%;
    background: rgba(0, 0, 0, 0.95);
  }
  #reliance .text p {
    color: #fff;
  }

}


@media screen and (min-width: 769px) {
  /*----------------------------------------
    #epilogue
  ----------------------------------------*/
  #epilogue {
    padding: 10% 0 3%;
    background: url(../images/epilogue-background.jpg) no-repeat center top fixed;
    background-size: cover;
  }
  #epilogue .inner {
    margin: 0 auto;
    width: 65%;
  }

  #epilogue .epilogue-scroll{
    height: 480px;
    overflow: scroll;
  }
}

@media screen and (min-width: 769px) and (max-width: 980px) {
  #epilogue .inner {
    width: 80%;
  }
}

@media screen and (min-width: 769px) {
  #epilogue .text {
    margin-bottom: 5%;
    padding: 12%;
    background: rgba(255, 255, 255, 0.95);
  }
  #epilogue h3 {
    margin-bottom: 5%;
  }
  #epilogue .name {
    text-align: right;
  }
  #epilogue .name img {
    width: 40%;
  }

  #epilogue .epilogue-img {
    padding: 5px 96px 4px 1px;
  }
}


@media screen and (max-width: 769px) {
  #notes {

  }
  #notes dl {
    font-size: 2.5vw;
    letter-spacing:.1em;
    width: 90%;
    padding: 1%;
  }
  #notes dt{
    font-size: 3vw;
  }
}

/*----------------------------------------
    #prologue
  ----------------------------------------*/
  @media screen and (min-width: 769px) {
  #prologue {
    padding: 0 0 5%;
    background: url(../images/background-prologue.jpg) no-repeat center top fixed;
    background-size: cover;
  }
  #prologue .overlay {
    padding: 7% 0 5%;
}
  #prologue .inner {
    width: 70%;
    margin: 0 auto;
  }
  #prologue h3 {
    margin-bottom: 5%;
  }
  #prologue .text {
    padding: 10%;
    background: rgba(255, 255, 255, 95);
    box-shadow: 0 0 10px #3f2d00;
  }
  /*#prologue .text p {
    color: #fff;
  }*/
}

@media screen and (min-width: 769px) and (max-width: 980px) {
  #prologue .inner {
    width: 80%;
  }
}