@charset "utf-8";

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

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

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

/* リスト */
.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: #FFF;
  text-decoration: underline;
}

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


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

.pagenation {
  margin: 0px auto 170px;
}

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

.page-numbers>li>span,
.page-numbers>li>a {
  display: block;
  font-size: 14px;
  background: #fff;
  border: 1px solid #1A2C44;
  color: #1A2C44;
  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: #1A2C44;
  border: 1px solid #1A2C44;
  color: #fff;
}

.page-numbers>li>a:hover {
  background: #1A2C44;
  border: 1px solid #1A2C44;
  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;
}


}

/* パンくずリスト */
.Pankuzu {
  padding: 0px 0 25px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.bc::after {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.bcWrap {
  white-space: nowrap;
  overflow: hidden;
}

.bcWrap a {
  text-decoration: underline;
}

.bcWrap li {
  display: flex;
}

.bcWrap li:after {
  content: '/';
  display: block;
  margin: 0 15px;
}

.bcWrap li:last-child::after {
  display: none;
  margin: 0;
}

@media screen and (max-width:768px) {
  .Pankuzu {
    padding: 7px 0;
    margin-top: 0px;
    font-size: 12px;
  }

}

/*column｜別ページ*/
.pagination {
    padding-bottom: 20px;
    display: flex;
}

.blog-box{
  padding: 20px;
  width: calc(100% - 350px);
}

@media screen and (max-width:768px) {
  .blog-box {
      padding: 0px;
      width: 100%;
    }
}
