.main-content {
  display: flex;
  justify-content: space-around;
}

.container {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  margin-left: 100px;
}

.side {
  flex: 0 0 20%;
  max-width: 20%;
  margin-right: 100px;
}

.page-title {
  font-size: 2rem;
  font-weight: bold;
  color: #A1D6B2;
  margin-bottom: 20px;
  text-align: center;
}

.terms-description {
  font-size: 1.1rem;
  color: #5a5a5a;
  margin-bottom: 20px;
  line-height: 1.6;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #6c757d;
  margin-top: 30px;
  margin-bottom: 10px;
}

.terms-text {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.terms-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #5a5a5a;
  font-size: 1rem;
}








@media (max-width: 768px)  {
  .side {
    display: none;
  }

  .container {
    min-width: 90vw;
    max-width: 90vw;
    margin: 0 auto;
  }

  .thread-detail {
    max-width: 800px;
    margin: auto;
    padding: 0;
  }

  .thread-image {
    width: 25vw;
    height: 25vw;
    border-radius: 4px;
    margin: 2vw;
    margin-right: 20px;
  }
  
  .thread-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
  }

  .thread-header-content {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }

  .thread-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #6c757d;
    font-size: 3.5vw;
  }

  .comment-post-button {
    display: none;
  }

  .thread-detail {
    margin: 2vw;
  }

  .date-full {
    display: none !important; /* !important を使って優先度を高める */
  }
  
  .date-relative {
    display: inline !important; /* !important を使って優先度を高める */
  }


  .comment-item {
    padding: 0;
    margin-bottom: 10px;
    position: relative;
  }

  .vote-bar {
    /* display: flex; */
    width: 25%;

  }


  .form-group {
    max-width: 90vw;
    margin: 0;
  }

}





