/* ===============================================================
 post common
===============================================================*/
.post {
  background-color: #f8f8f8;
}

.post-page {
  margin: 19rem 0 20rem;
}

@media screen and (max-width: 834px) {
  .post-page {
    margin: 6rem 0;
  }
}

.post-page__flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-direction: reverse;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  gap: 3rem;
}

@media screen and (max-width: 834px) {
  .post-page__flex {
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.post-page__main {
  max-width: 101.6rem;
  width: 80%;
}

@media screen and (max-width: 834px) {
  .post-page__main {
    width: 100%;
  }
}

.post-page__side {
  min-width: 20rem;
}

.post-page__side-ttl {
  font-size: 2.2rem;
}

@media screen and (max-width: 834px) {
  .post-page__side-ttl {
    font-size: 2rem;
  }
}

.post-page__list {
  font-family: "Figtree", sans-serif;
}

.post-page__list:not(:first-of-type) {
  margin-top: 7rem;
}

@media screen and (max-width: 834px) {
  .post-page__list:not(:first-of-type) {
    margin-top: 3rem;
  }
}

.post-page__list.--arch .post-page__side-ttl {
  position: relative;
  padding-right: 2rem;
  width: fit-content;
  cursor: pointer;
}

.post-page__list.--arch .post-page__side-ttl::before {
  position: absolute;
  content: "";
  width: 0.8rem;
  aspect-ratio: 8/5;
  top: calc(50% - 0.25rem);
  right: 0;
  z-index: 1;
  background: url(../img/common/post-arw.svg) no-repeat center center/cover;
  transform: rotate(180deg);
  transition: all 0.3s ease;
}

.post-page__list.--arch.open .post-page__side-ttl::before {
  transform: rotate(0deg);
}

.post-page__list.--arch.open .post-page__dd.--arch {
  height: auto;
  opacity: 1;
  pointer-events: all;
}

.post-page__dd {
  margin-top: 2rem;
  margin-left: 2rem;
  font-size: 1.6rem;
  line-height: 1.75;
}

@media screen and (max-width: 834px) {
  .post-page__dd {
    margin-top: 0.5rem;
    margin-left: 1em;
    font-size: 1.4rem;
  }
}

.post-page__dd.--arch {
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.post-page__dd .current {
  text-decoration: underline;
}

.post-page__hg {
  margin-bottom: 7.5rem;
}

@media screen and (max-width: 834px) {
  .post-page__hg {
    margin-bottom: 5rem;
  }
}

.post-page__hg-ttl {
  padding-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 100;
  border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 834px) {
  .post-page__hg-ttl {
    font-size: 2rem;
  }
}

.post-page__hg-sub {
  margin-top: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem 3.5rem;
  font-family: "Figtree", sans-serif;
  font-size: 1.4rem;
}

.post-page__btn-wrap {
  margin-top: 12rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
}

@media screen and (max-width: 834px) {
  .post-page__btn-wrap {
    margin-top: 5rem;
  }
}

@media screen and (max-width: 450px) {
  .post-page__btn-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.link-more.--ja {
  font-family: "Noto Sans JP", sans-serif;
}

.link-more.--back {
  grid-column: 1;
  justify-self: start;
}

@media screen and (max-width: 450px) {
  .link-more.--back {
    justify-self: center;
  }
}

.link-more.--back:hover .icon {
  transform: rotate(180deg) translateX(5px);
}

.link-more.--back .icon {
  margin-left: 0;
  margin-right: 1rem;
  transform: rotate(180deg);
}

.link-more.--center {
  grid-column: 2;
  justify-self: center;
}

@media screen and (max-width: 450px) {
  .link-more.--center {
    grid-column: 1;
  }
}

.link-more.--next {
  grid-column: 3;
  justify-self: end;
}

@media screen and (max-width: 450px) {
  .link-more.--next {
    grid-column: 1;
    justify-self: center;
  }
}

.link-more .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* archive-blog */
.blog .post-page__dd.--tag {
  font-size: 1.5rem;
}

.blog-item-img img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

.blog-item-img {
  overflow: hidden;
}

.blog-item-text {
  margin-top: 2rem;
  padding-bottom: 6px;
}

.top__blog-item-text .title,
.blog-item-text .title {
  margin-top: 3rem;
  position: relative;
  display: inline-block;
  font-size: 1.7rem;
}

.blog-item :hover .title::before {
  width: 100%;
  transition: width 0.3s ease-in-out;
}

.blog-item-text .title::before {
  content: "";
  display: block;
  transition: width 0.3s ease-in-out;
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--bk);
}

.top__blog-list,
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem 5rem;
}

@media screen and (max-width: 1024px) {

  .top__blog-list,
  .blog-list {
    gap: 6rem 3rem;
  }
}

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

  .top__blog-list,
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
}

.top__blog-list .meta,
.blog-list .meta {
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.top__blog-list .date,
.blog-list .date {
  font-size: 1.2rem;
}

.top__blog-list .cat-item,
.blog-list .cat-item {
  font-size: 1.4rem;
}

.top__blog-list .title,
.blog-list .title {
  font-size: 1.7rem;
}

@media screen and (max-width: 834px) {

  .top__blog-list .title,
  .blog-list .title {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
}

.top__blog-item-img {
  aspect-ratio: 1;
}

.top__blog-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.wp-pagenavi_wrap {
  margin-top: 10rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

@media screen and (max-width: 834px) {
  .wp-pagenavi_wrap {
    margin-top: 5rem;
    gap: 1rem;
  }
}

.wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

@media screen and (max-width: 834px) {
  .wp-pagenavi {
    gap: 1rem;
  }
}

.wp-pagenavi a,
.wp-pagenavi span {
  width: 2.8rem;
  aspect-ratio: 1;
  font-size: 1.6rem;
  font-family: "Figtree", sans-serif;
}

@media screen and (max-width: 834px) {

  .wp-pagenavi a,
  .wp-pagenavi span {
    font-size: 1.4rem;
    width: 2.6rem;
  }
}

.wp-pagenavi a.current,
.wp-pagenavi span.current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #ddd;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
  line-height: 1;
}

.wp-pagenavi a.page,
.wp-pagenavi span.page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.previouspostslink,
.nextpostslink,
.first,
.last {
  position: relative;
}

.previouspostslink::before,
.nextpostslink::before,
.first::before,
.last::before {
  position: absolute;
  content: "";
  width: 1.2rem;
  aspect-ratio: 12/6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url(../img/common/viewmore-arrow.svg);
}

.previouspostslink {
  margin-right: 2rem;
}

@media screen and (max-width: 834px) {
  .previouspostslink {
    margin-right: 0;
  }
}

.previouspostslink::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.nextpostslink {
  margin-left: 2rem;
}

@media screen and (max-width: 834px) {
  .nextpostslink {
    margin-left: 0;
  }
}

.extend {
  position: relative;
  top: -0.3em;
}

.post-post {
  font-size: 1.6rem;
  line-height: 1.875;
}

@media screen and (max-width: 834px) {
  .post-post {
    font-size: 1.4rem;
  }
}

.post-post #ez-toc-container {
  margin-top: 3rem;
  margin-bottom: 8.5rem;
  padding: 5rem 8rem;
  width: 100%;
  background-color: #fff;
  border-width: 0;
}

@media screen and (max-width: 834px) {
  .post-post #ez-toc-container {
    margin-bottom: 5rem;
    padding: 3rem;
  }
}

.post-post #ez-toc-container .ez-toc-title {
  font-size: 3rem;
  font-weight: var(--fwn);
  font-family: "Figtree", sans-serif;
}

.post-post .ez-toc-title-toggle {
  display: none;
}

.post-post div#ez-toc-container ul li.ez-toc-heading-level-2 {
  margin-top: 3rem;
}

@media screen and (max-width: 834px) {
  .post-post div#ez-toc-container ul li.ez-toc-heading-level-2 {
    margin-top: 1rem;
  }
}

.post-post #ez-toc-container ul ul,
.post-post .ez-toc div.ez-toc-widget-container ul ul {
  margin-left: 0;
}

.post-post div#ez-toc-container ul li a {
  display: block;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 100;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  line-height: 1.3;
}

.post-post div#ez-toc-container ul li ul li a,
.post-post div#ez-toc-container ul li ul li ul li a,
.post-post div#ez-toc-container ul li ul li ul li ul li a,
.post-post div#ez-toc-container ul li ul li ul li ul li ul li a {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 0;
  border-width: 0;
  position: relative;
  padding-left: 2rem;
}

.post-post div#ez-toc-container ul li ul li a::before,
.post-post div#ez-toc-container ul li ul li ul li a::before,
.post-post div#ez-toc-container ul li ul li ul li ul li a::before,
.post-post div#ez-toc-container ul li ul li ul li ul li ul li a::before {
  position: absolute;
  content: "";
  width: 0.7rem;
  aspect-ratio: 7/18;
  top: 0.2em;
  left: 0;
  z-index: 1;
  background-color: #000;
}

.post-post div#ez-toc-container ul li ul li ul li a {
  padding: 0.5rem 1.3rem;
  display: block;
  font-size: 1.7rem;
  width: fit-content;
  background-color: #dcdcdc;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
}

.post-post div#ez-toc-container ul li ul li ul li a::before {
  display: none;
}

.post-post div#ez-toc-container ul li ul li ul li ul li a {
  padding: 0;
  padding-left: 2rem;
  font-size: 1.7rem;
  background-color: transparent;
}

.post-post div#ez-toc-container ul li ul li ul li ul li a::before {
  display: block;
  width: 1rem;
  aspect-ratio: 1;
  top: 0.5em;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
}

.post-post div#ez-toc-container ul li ul li ul li ul li ul li a {
  font-size: 1.7rem;
  text-decoration: underline;
}

.post-post div#ez-toc-container ul li ul li ul li ul li ul li a::before {
  display: none;
}

.post-post .wp-block-heading {
  margin-top: 6rem;
  margin-bottom: 2rem;
  font-weight: 100;
}

@media screen and (max-width: 834px) {
  .post-post .wp-block-heading {
    margin-top: 4rem;
    margin-bottom: 2rem;
  }
}

.post-post h2.wp-block-heading {
  position: relative;
  padding-left: 3rem;
  font-size: 2rem;
}

.post-post h2.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 0.7rem;
  aspect-ratio: 7/20;
  top: 0.45em;
  left: 0;
  z-index: 1;
  background-color: #000;
}

.post-post h3.wp-block-heading {
  width: fit-content;
  padding: 0 1.8rem;
  font-size: 2rem;
  background-color: #ddd;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
}

.post-post h4.wp-block-heading {
  position: relative;
  padding-left: 3rem;
  font-size: 2rem;
}

.post-post h4.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 0.7rem;
  aspect-ratio: 7/20;
  top: 0.45em;
  left: 0;
  z-index: 1;
  background-color: #c4c4c4;
}

.post-post h5.wp-block-heading {
  position: relative;
  padding-left: 2.5rem;
  font-size: 2rem;
}

.post-post h5.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 1rem;
  aspect-ratio: 1;
  top: 0.75em;
  left: 0;
  z-index: 1;
  background-color: #000;
  border-radius: 10vmax;
  -webkit-border-radius: 10vmax;
}

.post-post h6.wp-block-heading {
  font-size: 2rem;
  text-decoration: underline;
  text-decoration-thickness: 0.1rem;
}