/* 見出し */
.tt-subtitle{
  margin: 28px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  background: rgba(123,87,255,.08);
  border: 1px solid rgba(123,87,255,.18);
}

.tt-subtitle--small{
  margin-top: 18px;
  padding: 10px 12px;
  font-size: 0.98rem;
}

/* 画像 */
.tt-figure{
  margin: 18px 0;
}

.tt-figure--w100{
  max-width: 100%;
}

.tt-figure--w75{
  max-width: 75%;
}

.tt-figure--w50{
  max-width: 50%;
}

.tt-figure--w33{
  max-width: 33%;
}

.tt-figure--left{
  margin-left: 0;
  margin-right: auto;
}

.tt-figure--center{
  margin-left: auto;
  margin-right: auto;
}

.tt-figure--right{
  margin-left: auto;
  margin-right: 0;
}

.tt-figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
}

.tt-figure figcaption{
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(28,28,34,.70);
  font-weight: 800;
}

@media(max-width: 760px){
  .tt-figure--w75,
  .tt-figure--w50,
  .tt-figure--w33{
    max-width: 100%;
  }
}

/* 表 */
.tt-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.tt-table th,
.tt-table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  border-right: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
  line-height: 1.75;
}

.tt-table tr:last-child td{
  border-bottom: none;
}

.tt-table th:last-child,
.tt-table td:last-child{
  border-right: none;
}

.tt-table thead th{
  background: rgba(0,0,0,.03);
  font-weight: 900;
}

/* 表テーマ */
.tt-table--purple thead th{
  background: rgba(123,87,255,.13);
  color: #4b3c8f;
}

.tt-table--pink thead th{
  background: rgba(236,72,153,.12);
  color: #9d174d;
}

.tt-table--blue thead th{
  background: rgba(59,130,246,.12);
  color: #1d4ed8;
}

.tt-table--green thead th{
  background: rgba(34,197,94,.12);
  color: #166534;
}

.tt-table--yellow thead th{
  background: rgba(250,204,21,.22);
  color: #854d0e;
}

.tt-table--gray thead th{
  background: rgba(100,116,139,.12);
  color: #334155;
}

/* 表オプション */
.tt-table--stripe tbody tr:nth-child(even) td{
  background: rgba(0,0,0,.025);
}

.tt-table--first-col-bold tbody td:first-child{
  font-weight: 900;
  background: rgba(123,87,255,.055);
}

.tt-table--compact th,
.tt-table--compact td{
  padding: 8px 10px;
  font-size: 0.94rem;
}

/* セル色 */
.tt-cell--purple{
  background: rgba(123,87,255,.11) !important;
  color: #4b3c8f;
  font-weight: 900;
}

.tt-cell--pink{
  background: rgba(236,72,153,.10) !important;
  color: #9d174d;
  font-weight: 900;
}

.tt-cell--blue{
  background: rgba(59,130,246,.10) !important;
  color: #1d4ed8;
  font-weight: 900;
}

.tt-cell--green{
  background: rgba(34,197,94,.10) !important;
  color: #166534;
  font-weight: 900;
}

.tt-cell--yellow{
  background: rgba(250,204,21,.22) !important;
  color: #854d0e;
  font-weight: 900;
}

.tt-cell--gray{
  background: rgba(100,116,139,.10) !important;
  color: #334155;
  font-weight: 900;
}

.tt-cell--red{
  background: rgba(239,68,68,.10) !important;
  color: #991b1b;
  font-weight: 900;
}

@media(max-width: 760px){
  .tt-table{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* 会話 */
.talk{
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.talk__meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.talk__avatar{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  object-fit: cover;
}

.talk__name{
  font-weight: 900;
  color: rgba(28,28,34,.85);
}

.talk__bubble{
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.talk__bubble p{
  margin: 0;
  line-height: 1.9;
  font-weight: 700;
  color: rgba(28,28,34,.88);
}

/* 左右 */
.talk--right{
  justify-items: end;
}

.talk--right .talk__meta{
  justify-self: end;
}

.talk--right .talk__bubble{
  background: rgba(123,87,255,.06);
  border-color: rgba(123,87,255,.18);
}

/* 補足 */
.tt-note{
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 235, 180, .25);
  border: 1px solid rgba(255, 160, 0, .20);
}

.tt-note p{
  margin: 0;
  font-weight: 800;
  line-height: 1.9;
}