@charset "utf-8";

/* -------------記事装飾----------- */
.singleBody h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 100px;
  line-height: 1.5;
}

.singleBody h3 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
  margin-top: 50px;
}

.singleBody h4,
.singleBody h5,
.singleBody h6 {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
  margin-top: 30px;
}
@media screen and (max-width:768px) {
.singleBody h2 {
  margin-top: 60px;
}

.singleBody h3 {
  margin-top: 30px;
}

.singleBody h4,
.singleBody h5,
.singleBody h6 {
  margin-top: 20px;
}
}

/* リスト */
.singleBody ul li,
.singleBody ol li {
  margin-left: 40px;
}

.singleBody ul li {
  list-style-type: disc;
}

.singleBody ol li {
  list-style-type: decimal;
}

/* 引用文 */
blockquote {
  position: relative;
  padding: 20px 15px 10px 60px;
  box-sizing: border-box;
  font-style: italic;
  background: #efefef;
  color: #555;
}

blockquote:before {
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 15px;
  content: url(../img/quote-left-solid.svg);
}

blockquote p {
  padding: 0;
  margin: 10px 0;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}

/* テーブル */
.singleBody table {
  border: 1px solid #afafaf;
  margin: 30px 0;
}

.singleBody thead {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 4px 5px;
}

.singleBody tbody tr {
  border-bottom: 1px solid #afafaf;
}

.singleBody tbody tr:last-child {
  border-bottom: 0px;
}

.singleBody table thead th,
.singleBody table tbody th,
.singleBody table tbody td {
  border-right: 1px solid #afafaf;
  padding: 0 5px;
}

.singleBody table thead th:last-child,
.singleBody table tbody td:last-child {
  border-right: 0px;
}

.singleBody table tbody th {
  background: #f5f5f5;
  text-align: center;
  font-weight: bold;
  padding: 3px 5px;
}

/* 定義リスト */
.singleBody dl {
  margin: 30px 0;
}

.singleBody dl dt {
  font-weight: bold;
  font-size: 120%;
}

.singleBody dl dd {
  margin: 0 0 20px 40px;
}

/* Youtubeを横100％表示 */
.singleBody .wp-block-embed__wrapper {
  padding-bottom: 56.25%;
  /* アスペクト比16:9の場合 */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  /* YouTubeの下に余白をつける */
}

.singleBody .is-provider-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* リンク */
.singleBody a {
  color: #009474;
  text-decoration: underline;
}

/* 長い英単語でも折り返し表示できる */
.siglePnTxtNext h3,
.siglePnTxt h3,
.singleTtlWrap h1,
.bc,
.columnListTxt,
.archiveListTxt {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}


/* ページャー -------------------- */

.pagenation {
  margin: 100px auto 0;
}

.page-numbers {
  display: flex;
  justify-content: center;
}

.page-numbers>li>span,
.page-numbers>li>a {
  display: block;
  font-size: 14px;
  background: #fff;
  border: 1px solid #0F0F0F;
  color: #0F0F0F;
  line-height: 1;
  border-radius: 5px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  width: 55px;
  height: 55px;
  transition: .3s;
}

.page-numbers>li {
  margin-right: 10px;
}

.page-numbers.current {
	background-color: #009474;
  border: 1px solid #009474;
  color: #fff;
}

.page-numbers>li>a:hover {
	background-color: #009474;
  border: 1px solid #009474;
  color: #fff;
  opacity: 1;
}

@media screen and (max-width:768px) {
  .pagenation {
    margin-top: 48px;
  }
.page-numbers>li>span,
.page-numbers>li>a {
  width: 40px;
  height: 40px;
}
}
