@charset "UTF-8";

/* 見出し */
.common h1.title.border {
  background: #00b1c3;
  color: #fff;
  border-bottom: none;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 28px;
}

@media screen and (max-width: 639px) {
  .common h1.title.border {
    font-size: 24px;
    line-height: 32px;
  }
}

.entry-body h2 {
  font-size: 24px !important;
  line-height: 32px !important;
  padding: 20px;
  background: #efefef;
  border-bottom: 3px solid #8cdce4;
  margin: 40px 0 32px !important;
}

@media screen and (max-width: 639px) {
  .entry-body h2 {
    font-size: 20px !important;
    line-height: 28px !important;
  }
}

.entry-body h3 {
  font-size: 20px !important;
  border-left: 4px solid #8cdce4;
  padding: 8px 16px;
  background: #efefef;
  margin: 32px 0 20px !important;
}

@media screen and (max-width: 639px) {
  .entry-body h3 {
    font-size: 18px !important;
  }
}

.entry-body h4 {
  font-size: 18px !important;
  border-bottom: 4px solid #8cdce4;
  padding: 8px;
  margin: 24px 0 18px !important;
}

@media screen and (max-width: 639px) {
  .entry-body h4 {
    font-size: 16px !important;
  }
}

.entry-body h5 {
  font-size: 16px !important;
  margin: 20px 0 16px !important;
}

/* アイキャッチ画像 */
.thumnail-img {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

/* 目次 */
#toc_container {
  margin-top: 36px;
  margin-bottom: 36px !important;
  padding: 16px !important;
  width: 100% !important;
}

p.toc_title {
  font-size: 20px !important;
}

span.toc_toggle {
  font-size: 16px !important;
}

ul.toc_list {
  margin-left: 20px !important;
  margin-right: 20px !important;
}

@media screen and (max-width: 639px) {
  ul.toc_list {
    margin-left: 4px !important;
    margin-right: 4px !important;
  }
}

#toc_container a {
  color: #333;
  font-size: 16px !important;
}

#toc_container > ul > li {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 40px;
  position: relative;
}

@media screen and (max-width: 639px) {
  #toc_container > ul > li {
    padding-left: 32px;
  }
}

#toc_container > ul > li > a > .toc_number {
  width: 32px;
  display: inline-block;
  text-align: center;
  color: #fff;
  background: #00b1c3;
  position: absolute;
  left: -4px;
}

@media screen and (max-width: 639px) {
  #toc_container > ul > li > a > .toc_number {
    width: 28px;
    line-height: 28px;
  }
}

#toc_container > ul > li > ul {
  margin-left: 0;
}

#toc_container > ul > li > ul > li {
  position: relative;
  padding: 4px 0;
}

#toc_container > ul > li > a {
  font-size: 18px !important;
  font-weight: 600;
}

@media screen and (max-width: 639px) {
  #toc_container > ul > li > a {
    font-size: 16px !important;
  }
}

/* 画像 */
.entry-body img:not(.kansyu-img) {
  margin-bottom: 32px;
}

@media screen and (max-width: 767px) {
  .entry-body img:not(.kansyu-img) {
    width: 100%;
  }
}

/* 本文 */
.entry-body p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 16px;
}

/* リスト */
.entry-body ul {
  margin-bottom: 16px;
}

.entry-body ul li {
  font-size: 16px;
  line-height: 32px;
  list-style-type: disc;
  margin-left: 24px;
}

.entry-body ol li {
  font-size: 16px;
  line-height: 32px;
  list-style-type: auto;
  margin-left: 24px;
}

/* 表 */
table {
  width: 100%;
  margin-bottom: 24px;
}

@media screen and (max-width: 639px) {
  .scroll-table {
    position: relative;
    padding-bottom: 24px;
    overflow-x: scroll;
    margin-bottom: 24px;
  }

  .scroll-table table {
    min-width: 640px;
  }

  .scroll-table:after {
    content: "※横スクロールできます";
    position: absolute;
    bottom: 12px;
    font-size: 14px;
    left: 0;
  }
}

table > tbody:first-child > tr:first-child,
table > thead > tr {
  background: #00b1c3;
}

table > tbody:first-child > tr:first-child *,
table > thead > tr * {
  color: #fff !important;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 0;
  padding: 8px;
  font-weight: 600;
  font-size: 16px;
}

table > thead *,
table > tbody * {
  padding: 8px;
  margin-bottom: 0 !important;
}

table > thead > tr td,
table > tbody > tr td {
  border-bottom: 1px solid #00b1c3;
}

table > thead tr td ul,
table > thead tr td li,
table > thead tr td ul span,
table > tbody tr td ul,
table > tbody tr td li,
table > tbody tr td ul span {
  padding: 0 !important;
}
