/*
single用CSS
*/
.wrap-single {
  padding: 50px 0 0 0;
}
.box-single-h {
  border-bottom: 1px solid #000;
}
.box-single-h .date-single {
  text-align: right;
  color: #2A1D75;
}
.box-single-h .ttl-single {
  padding-bottom: 15px;
}
.box-single-cat {
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 10px 0 30px;
  column-gap: 10px;
  row-gap: 10px;
}
.item-single-cat {
  position: relative;
  display: block;
  background: #2A1D75;
  padding: 7px 10px 5px;
  text-align: center;
  border-radius: 3px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}
.item-single-cat-chi {
  background: #fff;
  color: #2A1D75;
  border: 1px solid #2A1D75;
}
.box-single-main {
  position: relative;
  display: block;
  padding: 0 0 60px;
  border-bottom: 1px solid #000;
}
.box-single-main a {
  text-decoration: underline;
}
.box-single-main a.wp-element-button {
  text-decoration: none;
}
.box-single-main p {
  margin: 15px 0;
  line-height: 1.8;
  font-size: 1.6rem;
}
.box-single-main::after {
  content: "";
  position: relative;
  display: block;
  clear: both;
}
.nav-links {
  position: relative;
  display: block;
  padding: 28px 0 0;
  height: 55px;
}
.nav-previous,.nav-next {
  position: absolute;
  display: inline-block;
  padding: 0 14px;
  top: 20px;
}
.nav-previous a,.nav-next a {
  color: #000;
}
.nav-previous {
  right: 0;
}
.nav-next {
  left: 0;
}
.nav-previous a::after,
.nav-next a::after {
  content: '';
  width: 9px;
  height: 9px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  position: absolute;
  right: 3px;
  top: 7px;
  margin: auto;
  transform: rotate(45deg);
}
.nav-next a::after {
  transform: rotate(-135deg);
  right: auto;
  left: 3px;
}
.nav-previous a:hover,.nav-next a:hover {
  opacity: 0.7;
}

/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .box-single-main p {
    font-size: 1.5rem;
    line-height: 1.7;
  }
  .nav-previous a,.nav-next a {
    font-size: 1.5rem;
  }
}
/*-------------------------------------------------
break point 700px 
--------------------------------------------------*/
@media only screen and (max-width: 700px) {
  .box-single-main {
    padding-bottom: 35px;
  }
  .wrap-single {
    padding-top: 40px;
  }
}

/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .wrap-single {
    padding-top: 30px;
  }
  .box-single-cat {
    padding: 10px 0 20px;
  }
  .item-single-cat {
    padding: 6px 10px 4px;
  }
  .btn-white-line.btn-white-line-noarrow a, .btn-white-line.btn-white-line-noarrow a:hover {
    max-width: 220px;
  }
  .nav-links {
    height: 45px;
  }
  .box-single-h .ttl-single {
    padding-bottom: 10px;
  }
}
/*-------------------------------------------------
Block Editor
--------------------------------------------------*/
.box-single-main .wp-block-group::after {
  content: "";
  position: relative;
  display: block;
  clear: both;
  width: 100%;
  height: 1px;
}
.wp-block-heading {
  margin: 20px 0 10px;
}
.wp-block-heading+p {
  margin-top: 0;
}
.wp-block-columns.is-layout-flex {
  margin-bottom: 1em!important;
}
/*youtube埋め込みブロック用*/
.wp-block-embed-youtube.wp-block-embed {
  padding: 20px 0;
  max-width: 800px;
  margin: 0 auto;
}
.wp-block-embed-youtube.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  margin: 0 auto;
}
.wp-block-embed-youtube.wp-block-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
} 
@media only screen and (max-width: 800px) {
  .box-single-main .wp-block-image .alignleft,.box-single-main .wp-block-image .alignright {
    position: relative;
    display: block;
    float: none;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
  }
  .box-single-main .wp-block-image .alignleft img,.box-single-main .wp-block-image .alignright img,
  .box-single-main .wp-block-image .alignleft img,.box-single-main .wp-block-image .alignright a {
    display: block;
    margin: 0 auto ;
  }
}
@media only screen and (max-width: 600px) {
  .box-single-main .wp-block-media-text>.wp-block-media-text__content {
    padding: 0!important;
  }
}
