@charset "UTF-8";
/*
=====================================================================
*   ブログ本文（お知らせ詳細）用
*   .post-content の中だけに適用する。表示側と編集画面（TinyMCE）で共用
* ===================================================================
*/

/* 見出し */
.post-content h2 {
  background: #f1f1f1;
  padding: 10px 15px;
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  color: #5480bd;
}

/* 箇条書き */
.post-content ul,
.post-content ol {
  padding-left: 1.5em;
  margin: 0 0 20px;
  line-height: 2;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

/* 表 */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
}

.post-content th,
.post-content td {
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.post-content th,
.post-content thead td {
  background: #f1f1f1;
  font-weight: bold;
}

/* セル内の段落：本文の段落用の行間・余白（.article p）を打ち消す */
.post-content th p,
.post-content td p {
  margin: 0 0 0.5em;
  line-height: inherit;
}

.post-content th p:last-child,
.post-content td p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 480px) {
  .post-content h2 {
    font-size: 20px;
  }

  .post-content th,
  .post-content td {
    padding: 8px;
  }
}
