@charset "UTF-8";
/*-------------------------------------------------
templateManager
-------------------------------------------------*/
/* コメント添付ファイル */
.attached-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.attached-file-item__box.file {
  width: calc(100% - 30px);
  display: flex;
  align-items: center;
}
.attached-file-item__box.delete {
  flex: 1;
}

.attached-file-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.attached-file-icon .icon-file {
  display: inline-block;
  width: inherit;
  height: inherit;
  -webkit-mask: var(--icon-file);
          mask: var(--icon-file);
  background-color: var(--text-color);
}

.attached-file-delete-btn {
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.attached-file-delete-btn .icon-delete {
  display: inline-block;
  width: 18px;
  height: 16px;
  -webkit-mask: var(--icon-delete);
          mask: var(--icon-delete);
  background-color: var(--danger-color);
}

/* 既存コメント一覧 */
.existing-comment-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}
.existing-comment-item .flex-container {
  display: flex;
}

.comment-item__avatar {
  flex: 0;
  margin-right: 16px;
}

.comment-trim-avatar {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
}
.comment-trim-avatar img {
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
     object-fit: cover;
}

.comment-item__content {
  flex: 1;
}

.comment-item__meta {
  display: flex;
  align-items: flex-end;
}

.comment-item__user-name {
  font-size: 18px;
  font-weight: 500;
  margin-right: 16px;
}
.comment-item__user-name::before {
  content: "@";
  display: inline-block;
  margin-right: 4px;
}

.comment-item__time {
  opacity: 0.5;
}

.comment-item__delete-btn {
  color: var(--danger-color);
  margin-left: 16px;
}
.comment-item__delete-btn button {
  color: var(--danger-color);
}

.comment-item__attached-file a {
  align-items: center;
  border: var(--content-border-width) var(--content-border-style) var(--content-border-color);
  border-radius: var(--content-border-radius);
  color: var(--link-text-color);
  font-size: 13px;
  display: inline-flex;
  height: 34px;
  margin: 8px 8px 0 0;
  padding: 8px;
  width: auto;
  text-decoration: none;
}
.comment-item__attached-file .icon-file {
  background: var(--icon-file) no-repeat center center;
  display: inline-block;
  height: 18px;
  margin-right: 8px;
  width: 18px;
}

.reply-dsp-btn-area {
  align-items: center;
  display: flex;
}
.reply-dsp-btn-area button {
  align-items: center;
  display: flex;
  height: 34px;
  margin: 8px 8px 0 0;
  padding: 8px;
}
.reply-dsp-btn-area button .btn-icon {
  display: inline-block;
  height: 18px;
  margin-right: 4px;
  width: 18px;
}
.reply-dsp-btn-area button .icon-good {
  background: var(--icon-good) no-repeat center center;
}
.reply-dsp-btn-area button.registered .icon-good {
  background: var(--icon-good-active) no-repeat center center;
}
.reply-dsp-btn-area button .icon-reply {
  -webkit-mask: var(--icon-comment) no-repeat center center;
          mask: var(--icon-comment) no-repeat center center;
  background: var(--link-text-color);
}

/* コメントへの返信 */
.reply-submit-area {
  margin-top: 8px;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.reply-submit-area.open {
  opacity: 1;
}

/* コメントへの返信一覧を表示 */
.existing-reply-dsp-btn {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  margin-top: 8px;
  padding: 8px 0;
}
.existing-reply-dsp-btn::before {
  content: "";
  display: inline-block;
  height: 14px;
  margin-right: 8px;
  width: 14px;
  background: var(--icon-arrow-down) no-repeat center center;
}
.existing-reply-dsp-btn.arrow-up::before {
  background: var(--icon-arrow-up) no-repeat center center;
}
.existing-reply-dsp-btn.hide {
  display: none;
}

.reply-list-area {
  display: none;
  margin-top: 8px;
}
.reply-list-area.show {
  display: block;
}

/* ▼ TODO: CSS整理後に削除 ここから ▼ */
/* button - common*/
.btn {
  border-radius: var(--button-border-radius);
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
}

/* ▲ TODO: CSS整理後に削除 ここまで ▲ */