@charset "UTF-8";
/* 記事（single.php）・固定ページ（page.php）・404 の見た目。
 * SANGO のときの記事の見た目（文字の大きさ・行間・見出し・表）に合わせ、ほかのページと同じ白い枠に入れる。 */

.c-main {
  padding: 110px 0 4em;
}
.c-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.4em 3em 3em;
}

/* パンくず */
.c-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .2em .5em;
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #888;
}
.c-breadcrumb li + li::before {
  content: "›";
  margin-right: .5em;
  color: #bbb;
}
.c-breadcrumb a {
  color: #163b85;
}

/* タイトル・日付 */
.c-article__title,
.c-article .page-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #333;
  margin: 0 0 .6em;
}
.c-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em;
  margin: 0 0 2em;
  font-size: 13px;
  color: #888;
}
.c-article__meta .news_card_cat {
  margin-left: .4em;
  text-decoration: none;
}

/* 本文 */
.c-content {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  color: #444;
  overflow-wrap: anywhere;
}
.c-content p {
  margin: 0 0 1.5em;
}
.c-content a {
  color: #1a5ad6;
  text-decoration: underline;
}
.c-content a:hover {
  text-decoration: none;
}
.c-content h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
  margin: 2.6em 0 1em;
}
.c-content h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
  margin: 2.2em 0 1em;
  padding: .3em 0 .3em .8em;
  border-left: 4px solid #f9d000;
}
.c-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 2em 0 .8em;
}
.c-content img {
  max-width: 100%;
  height: auto;
}
.c-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.c-content .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}
.c-content .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}
.c-content::after {
  content: "";
  display: block;
  clear: both;
}
/* clabelcojp.css が全ページの ol・ul の左余白を !important で 0 にしているため、本文だけ戻す */
.c-content ul,
.c-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.6em !important;
}
.c-content table {
  width: 100%;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 15px;
}
.c-content th,
.c-content td {
  padding: .6em .7em;
  border: 2px solid #eee;
  vertical-align: middle;
  line-height: 1.9;
}
.c-content th,
.c-content td:first-child {
  font-weight: 700;
  color: #333;
}
.c-content iframe {
  max-width: 100%;
}
.c-content blockquote {
  margin: 0 0 1.5em;
  padding: 1em 1.4em;
  background: #f7f7f7;
  border-left: 4px solid #ddd;
}
/* お問い合わせのフォーム枠（[cell]） */
.c-content .cell {
  margin: 1em 0;
}

/* シェア */
.c-share {
  margin: 3em 0 0;
  text-align: center;
}
.c-share__label {
  margin: 0 0 .6em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #aaa;
}
.c-share ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c-share a {
  display: inline-block;
  min-width: 8em;
  padding: .5em 1.2em;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.c-share a:hover {
  opacity: .85;
  color: #fff;
}
.c-share__x { background: #111; }
.c-share__fb { background: #1877f2; }
.c-share__line { background: #06c755; }

/* 同じカテゴリの新着 */
.c-more {
  max-width: 880px;
  margin: 3.5em auto 0;
}
.c-more .siro_sikaku {
  margin-top: .6em;
}
/* 見出しでカテゴリが分かるため、カードのカテゴリ表示は出さない */
.c-more .news_card_cat {
  display: none;
}

/* 一覧へ戻る */
.c-back {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin: 3em 0 0;
}
.c-back__btn {
  display: inline-block;
  min-width: 14em;
  padding: .9em 2em;
  border: 3px solid #b5b5b5;
  background: #fff;
  color: #222;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  text-decoration: none;
}
.c-back__btn:hover {
  background: #222;
  border-color: #222;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .c-main {
    padding-top: 80px;
  }
  .c-article {
    padding: 1.4em 1.1em 2em;
    margin-top: 0;
  }
  .c-article__title,
  .c-article .page-title {
    font-size: 20px;
  }
  .c-content {
    font-size: 15px;
    line-height: 1.9;
  }
  .c-content h2 {
    font-size: 19px;
  }
  .c-content h3 {
    font-size: 17px;
  }
  /* 表は画面幅に収める（エディタが付けた高さの指定は無視する） */
  .c-content table,
  .c-content tr {
    height: auto !important;
  }
  .c-content th,
  .c-content td {
    padding: .5em .6em;
    font-size: 14px;
  }
  .c-content .alignright,
  .c-content .alignleft {
    float: none;
    margin: 0 auto 1em;
  }
}
