li{
  list-style: none;
}

/* ヘッダー */
.navbar{
  background-color: black;
}
.nav-item{
  padding: 0 10px;
}

/* 本文全体 */
.main{
  background-size:  cover; 
  background-image: url("../img/b17.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-bottom: 15px;
}
.warning-border img{
  width: 100%;
}

/* よくあるご質問 */
.title-border{
  width: 600px;
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.title-border {
  display: flex;
  align-items: center;
}
.title-border:before,
.title-border:after {
  border-top: 5px solid;
  content: "";
  flex-grow: 1;
}
.title-border:before {
  margin-right: 1rem;
}
.title-border:after {
  margin-left: 1rem;
}
.title-border h1{
  font-size: 50px;
  font-weight: bold;
  font-style: italic;
}

/*       Q&A       */
.qanda{
  width: 1000px;
  margin: 0 auto;
}
.card{
  border-radius: 0px;
  margin-bottom: 10px;
}
.answer span, .card-header span{
  padding-right: 30px;
  font-size: 40px;
  color: rgb(244,194,37);
  font-family: 'Georgia';
  margin-top: 0px;
  text-shadow:0.5px 0.5px 0.5px black;
}
.card-header{
  background-color: #000;
  display: block;
}

.card-header a{
  display: block;
}
.text-bodya{
  color: rgb(244,194,37);
}
.text-bodya:hover{
  color: rgb(244,194,37);
  text-decoration:none;
}
.card-body {
  background: #fff;
  display: flex;
	align-items: center;
}
.a-text p{
  margin: 0;
}










/* フッター */
footer{
  width: 100%;
  background-color: black;
  padding: 15px 0px 40px 0px;
}
.footer-right{
  float: right;
  margin-right: 10px;
}
.footer-right li{
  float: left;
}
.footer-right a{
  padding: 0px 10px;
  color: white;
}
.right-border a{
  border-right: 1px solid white;
}
.footer-left{
  margin-left: 10px;
  float: left;
  color: white;
}



/*---Media Queries --*/
@media (max-width: 1050px) {
  /*  Q&A  */
  .qanda{
    width: 90%;
    margin: 0 auto;
  }
  .text-bodya{
    font-size: 25px;
  }
}
@media (max-width: 992px) {
  /* ヘッダー */
  .navbar-brand img{
    width: 90%;
  }
  /* フッター */
  footer{
    font-size: 12px;
    padding-top: 18px;
  }
}
@media (max-width: 860px) {
  /*  Q&A  */
  .text-bodya{
    font-size: 23px;
  }
  .answer span, .card-header span{
    padding-right: 20px;
    font-size: 30px;
  }
}
@media (max-width: 785px) {
  /* ヘッダー */
  .navbar-brand img{
    width: 80%;
  }
  /* よくあるご質問 */
  .title-border{
    width: 70%;
  }
  .title-border h1{
    font-size: 45px;
  }
  /*  Q&A  */
  .text-bodya{
    font-size: 20px;
  }
  .answer span, .card-header span{
    padding-right: 15px;
    font-size: 30px;
  }
  /* フッター */
  footer{
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  /*  Q&A  */
  .text-bodya{
    font-size: 17px;
  }
  .answer span, .card-header span{
    padding-right: 15px;
    font-size: 25px;
  }
  .a-text{
    font-size: 14px;
  }
  /* フッター */
  footer{
    padding-bottom: 35px;
    font-size: 10px;
  }
}
@media (max-width: 610px) {
  /* よくあるご質問 */
  .title-border{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .title-border h1{
    font-size: 35px;
  }
  /*  Q&A  */
  .text-bodya{
    font-size: 16px;
  }
  .a-text{
    font-size: 13px;
  }
  .answer span, .card-header span{
    padding-right: 15px;
    font-size: 23px;
  }
  /* ヘッダー */
  .navbar-brand img{
    width: 60%;
  }
  /* フッター */
  footer{
    font-size: 8px;
    padding-bottom: 50px;
  }
  .footer-right{
    display: initial;
  }
}
@media (max-width: 500px) {
  /* よくあるご質問 */
  .title-border h1{
    font-size: 30px;
  }
}
@media (max-width: 420px) {
  /* よくあるご質問 */
  .title-border h1{
    font-size: 25px;
  }
  /* ヘッダー */
  .navbar-brand img{
    width: 150px;
  }
}

