@charset "utf-8";

/* @archives -------------- */
.archives-ttl {
  margin-bottom: 2em;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: bold;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  justify-content: space-between;
  column-gap: 34px;
  row-gap: 3em;
}

.post-list a {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  text-decoration: none;
  color: var(--color-blk);
}
.post-list .thumb {
  overflow: hidden;
  aspect-ratio: 6 / 5;
  border-radius: 23px;
}
.post-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-list .con {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: .75em 0 0;
  gap: .3em 1em;
}
.post-list .con-ttl {
  width: 100%;
  line-height: 1.6;
  letter-spacing: .1em;
  margin-right: -.5em;
}
.post-list .con-cat {
  display: flex;
  flex-wrap: wrap;
  gap: .1em .4em;
}
.next_posts_link {
  display: none;
}

/* @pagination */
.pagination {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
  margin-top: 3em;
  gap: 6px;
  font-weight: bold;
}
.pagination .pager,
.pagination .prev,
.pagination .next {
  position: relative;
  width: 2.44rem;
  height: 2.44rem;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  padding-left: 1px;
}
.pagination .pager {
  line-height: 2.2;
  color: var(--color-main);
  border: 1px solid var(--color-main);
}
.pagination .pager:hover {
  background-color: #e9f2ff;
}
.pagination .prev,
.pagination .next {
  font-size: .75rem;
  line-height: 2.3rem;
  color: var(--color-blk);
}

.pagination .pager.current {
  cursor: default;
  color: #fff;
  border-color: var(--color-main);
  background-color: var(--color-main);
}

.pagination .prev.is-disable,
.pagination .next.is-disable {
  cursor: default;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

/* @side -------------- */
.post-side .wp-block-group {
  margin-bottom: 2.5em;
  padding-left: 2em;
}
.post-side .wp-block-heading {
  position: relative;
  margin-bottom: 1em;
  padding-bottom: .2em;
  font-weight: bold;
}
.post-side .wp-block-heading::before {
  content: "";
  position: absolute;
  top: .25em;
  left: -2em;
  width: 1.375em;
  height: 1.375em;
  border-radius: 50%;
  background: var(--color-sub);
}
.post-side .wp-block-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-bottom: 2px dashed var(--color-gry);
}

.widget-list > li {
  font-weight: bold;
}
.widget-list > li + li {
  margin-top: .5em;
}
.widget-list > li > a {
  color: var(--color-blk);
  text-decoration: none;
}
.widget-list > li > a:hover {
  color: var(--color-main-text);
}

.widget-newposts {
  margin-top: 1.7em;
}
.widget-newposts li + li {
  margin-top: 1.2em;
}
.widget-newposts > li > a {
  color: var(--color-blk);
  text-decoration: none;
}
.widget-newposts .thumb {
  overflow: hidden;
  max-width: 70px;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
}
.widget-newposts .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-newposts .date {
  margin: .3em 0 .1em;
}
.widget-newposts .ttl {
  font-size: .875rem;
  line-height: 1.429;
}


/* @single ---------------- */
.post-single {
  margin-bottom: 3em;
}
/* @post-header --- */
.post-header {
  margin-bottom: 2.5em;
  border-bottom: 2px dashed var(--color-gry);
}
.post-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .2em 1em;
  margin-bottom: 1.2em;
}
.post-header-meta .date {
  margin-top: .2em;
}
.post-header-meta .cat {
  display: flex;
  flex-wrap: wrap;
  gap: .1em .4em;
}

.post-header-title {
  padding-bottom: .85em;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5;
}

/* タグ　*/
.post-tags {
  margin-top: 3em;
}
.post-tags li {
  display: inline-block;
  font-size: .8125rem;
}
.post-tags li + li:before {
  margin: 0 .8em;
  content: '/';
}
.post-tags li a {
  text-decoration: none;
}
.post-tags li a:before {
  content: "#";
  margin-right: .15em;
}
.post-tags li a:hover {
  opacity: .8;
}

/* @post-footer --- */
.post-footer {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr 42%;
}
.post-footer a {
  position: relative;
  display: block;
  padding-block: 1em;
  font-size: .875rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-blk);
  line-height: 1.4;
}
.post-footer a:hover {
  color: var(--color-main);
}
.post-footer .next a {
  padding-left: 2em;
}
.post-footer .prev a {
  padding-right: 2em;
  text-align: right;
}

.post-footer .prev {
  -webkit-box-ordinal-group: 3;
  order: 2;
}
.post-footer .next a:before,
.post-footer .prev a:after {
  content: "";
  position: absolute;
  top: 1em;
  bottom: 0;
  width: 1.188rem;
  height: 1.188rem;
  background: var(--icon-arrow) no-repeat center / 100%;
  transition: all .3s ease-in;
}
.post-footer .next a:before {
  transform: scale(-1, 1);
  left: 0;
}
.post-footer .next a:hover:before {
  left: -.5em;
}
.post-footer .prev a:after {
  right: 0;
}
.post-footer .prev a:hover:after {
  right: -.5em;
}

.post-footer .list a {
  text-align: center;
}

/* @post-body --------------- */
.post-body p {
  margin: 1em 0;
}

.post-body em {
  font-style: italic;
  font-weight: normal;
}

.post-body strong {
  font-size: 1em;
}

.has-normal-font-size,
.has-regular-font-size {
  font-size: inherit !important;
}

.post-body .wp-block-heading {
  margin-top: 1.5em;
  margin-bottom: .5em;
  font-weight: bold;
  font-size: var(--fz-l);
  line-height: 1.6;
}
.post-body .wp-block-heading + p {
  margin-top: 0;
}

.post-body h1,
h1[class^=is-style] {
  font-size: 1.5em;
}

.post-body h2,
h2[class^=is-style] {
  font-size: 1.4em;
}

.post-body h3,
h3[class^=is-style] {
  font-size: 1.2em;
}

.post-body h4,
h4[class^=is-style] {
  font-size: 1.15em;
}

.post-body h5,
h5[class^=is-style] {
  font-size: 1.1em;
}

.post-body h6,
h6[class^=is-style] {
  font-size: 1.05em;
}

/* 投稿画像等設定 */
.wp-block-gallery {
  margin: 2.5em 0 !important;
  padding-left: 0 !important;
}
.wp-block-image {
  margin: 3em 0;

}

.wp-caption {
  max-width: 100%;
  margin: 3em auto;
}

.wp-caption-text {
  margin: .8em 0;
  font-size: .9em;
  text-align: center;
}

.img_box .wp-caption {
  margin: 0 auto;
}

.wp-block-list {
  padding-left:1.5em;
}
ul.wp-block-list {
  list-style-type: disc;
}
ol.wp-block-list {
  list-style-type: decimal;
}

.alignright div,
.alignleft div {
  margin: 0 auto;
}

.gallery .gallery-item {
  padding: .5em .8em;
}

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  max-width: 100%;
  height: auto;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}

[id^="gallery-"] img,
[id*=" gallery-"] img {
  border: none !important;
}



@media screen and (min-width: 600px) {

  .alignleft,
  img.alignleft {
    display: inline;
    float: left;
    margin: 6px 20px 0 0;
  }

  .alignright,
  img.alignright {
    display: inline;
    float: right;
    margin: 0 0 0 20px;
  }
}

@media screen and (min-width: 600px) {

  /* @post-header --- */
  .post-header-meta .date {
    font-size: 1.125rem;
  }
  .post-header-meta .cat-item {
    min-width: 8.2em;
    padding: .8em 1em;
    font-size: .875rem;
  }

}

@media screen and (min-width: 961px) {
  .l-contents {
    padding-bottom: 100px;
  }
}

/* 960px 以下 (タブレット縦以下) */
@media screen and (max-width: 960px) {


}

@media screen and (max-width: 599px) {
  /* @side --- */
  .post-side {
    margin-top: 4em;
  }
  .widget-list > li {
    font-size: .9375rem;
  }

  /* @post-header --- */
  .post-header-meta {
    margin-bottom: .85em;
  }
  .post-header-title {
    font-size: 1.05rem;
  }

  /* @post-footer --- */
  .post-footer {
    grid-template-columns: repeat(2, 50%);
    row-gap: .5em;
  }
  .post-footer .list {
    order: 3;
    grid-column: 1 / -1;
  }
  .post-footer .list a {
    color: #fff;
    border-radius: 100vmax;
    background: var(--color-main);
  }

  /* @post-body --- */
  .post-body {
    font-size: .875rem;
  }
  .post-body p {
    line-height: 2;
  }
}
