html,body {
    height: 100%;
  }
  
  body {
    display: flex;
    flex-direction: column;
      margin: auto;
      font-family: Arial, sans-serif;
      background: linear-gradient(to bottom, #e8dff0, #c2a9d5);
      color: #333;
      display: flex;
      flex-direction: column;
    }
  
    .container {
      flex-grow: 1;
      margin-right: auto;
      margin-left: auto;
     
    }



  
  a {
    text-decoration: none;
    color: #7e3f9b;
  }
  
  a:hover {
    text-decoration: none;
    color: #f1c7ef;
  }
  
  
  /*
  /*一番上のTomoTalk*/
  .menu_name {
      float: left;
      padding: 30px;
      color: #331B46;
  }
  
  h1{
    text-align: center;
    padding: 15px;
}

nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #f0d4fc;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
  }
  .open nav {
    left: 0;
    opacity: 1;
  }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #5c2177;
  }
  nav .inner ul li a {
    display: block;
    color: #7e3f9b;
    font-weight: bold;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  nav .inner ul li a:hover {
    background: #a875a8;
    color: #f0d4fc;
    font-weight: bold;
  }
  @media screen and (max-width: 767px) {
    nav {
      left: -220px;
      width: 220px;
    }
  }
  /*================================
  .toggle_btn
  =================================*/
  .toggle_btn {
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 4px;
  }
  .toggle_btn span:nth-child(2) {
    top: 14px;
  }
  .toggle_btn span:nth-child(3) {
    bottom: 4px;
  }
  .open .toggle_btn span {
    background-color: #fff;
  }
  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
  }
  /*===================================
  #mask
  ====================================*/
  #mask {
    display: none;
    transition: all .5s;
  }
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #7e3f9b;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
  }
  

main {

    padding: 20px;
    border-radius: 10px;
}

main h2 {
    color: #f0d4fc;
    font-size: 30px;
    margin-bottom: 10px;
}

.faq-container {
    display: flex;
}

.faq-questions {
  width: 40%;
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: bold;

}

p.questions {
  font-weight: bold;
}

hr {
    border: 0.2px solid rgb(0, 0, 0);
    height: 0.5px;
    margin-bottom:30px;
  }
.faq-item {
    background-color: #f0d4fc;
    padding: 20px;
    border-radius: 20px;
    color: #672087;
    cursor: pointer;
    margin-bottom: 10px;
 
  
}

.faq-answer {
  width: 50%;
    background-color: #f0d4fc;
    padding: 15px;
    margin-left: 80px;
    border-radius:15px;
    color: #490b66;
}

.faq-answer ul {
  margin-left: 40px;

}

.faq-answer h3 {
    margin-bottom: 10px;
}
#answer-content {
  font-size: 20px;
  
}

footer {
    background-color: #7e3f9b;
}


.questions{
   font-weight: normal;
}
 #answer-title{
  font-size: 26px;
 }
.line {
    font-weight: bold;
    color: #672087;
} 
.copyright {
    text-align: center;
    padding: 20px;
}
@media(max-width:480px){
    header h1 {
        margin-left: 135px;
        
    }
    .container {
        padding: 0;
    }
    main h2 {
        margin-left: 110px;
    }
    .faq-container {
        display: contents;
    }
    .faq-item {
        /*background-color: rgb(255, 0, 0);*/
        border-radius: 10px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .faq-answer{
        height: fit-content;
        margin: auto;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        background-color: white;
        border-radius: 20px;
    }
    .line {
        margin-left: 10px;
 
    } 
    footer {
        width: 390px;
        margin-top: 210px;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

}

