@charset"utf-8";
.flex {
    display: flex;
}
/*------------------目次------------------*/
.index {
    display: flex;
    gap: 40px;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 5px;
}
.all, .kensetsu, .keibi, .eigyousyo {
    border: 1px #000000 solid;
    padding: 5px 8px;
}
.all {
    padding: 5px 20px;
}
/*------------------目次------------------*/
/*------------------表示部------------------*/
.topic-list {
    width: 80%;
    height: 735px;
    background-color: #EEF7FF;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto;
}
.topic-item-date, .topic-item-user, .topic-item-genre, .topic-id, .del {
    margin: 0;
    font-size: 13px;
}
.topic-meta {
    display: flex;
    color: #5755FE;
}
.topic-item-user topic-item-genre {
    margin-left: 20px;
}
.topic-item-topic {
    margin-top: 0; 
    font-size: 14px;
    margin-bottom: 40px;
}
.form {
    width: fit-content;
    margin-left: 200px;
    margin: 0 auto;
}
.kw{
  position: relative;
  cursor: pointer;
  border-bottom: 1px dotted #5755FE;
}
/*------------------表示部------------------*/
/*------------------入力部------------------*/
.usergenre {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}
.genre, .user {
    height: 25px;
    width: 120px;
}
.topic-textarea {
    width: 700px;
    height: 100px;
    resize: none;
}
.btn {
    height: fit-content;
    margin-top: 71px;
    margin-left: 20px;
}
.submit {
  color: #fff;
  font-weight: bold;
  background: #5755FE;
  padding: 5px 10px;
  outline: 1px solid;
  outline-color: #5755FE;
  outline-offset: 0px;
  display: inline-block;
  transition: .3s;
  border: 2px #fff solid;
  border-radius: 3px;
}
.submit:hover {
    cursor: pointer;
  animation: light .8s infinite;
}
@keyframes light {
  100% { 
    outline-color: transparent;
    outline-offset: 12px;
  }
}
.del {
    background-color: #EEF7FF;
    border: none;
    text-decoration: underline;
    color: #5755FE;
}
.del:hover {
    cursor: pointer;
}
/*------------------入力部------------------*/

span.toPopup {
    position: relative;
    cursor: pointer;
    border-bottom: 1px dotted #5755FE;
}
.popupBlock {
    position: absolute;
    left: 80px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    width: 300px;
    font-size: 11px;
}
.popupBlock.off {
    display: none;
}
]/* 書き込みボタン：閲覧専用（hoverは通常通り効く） */
.submit.is-disabled{
  pointer-events: none; /* クリック無効 */
  cursor: not-allowed;
  opacity: 1;           /* 見た目変えたくなければ1 */
}