@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/* ---------------------
  news
--------------------- */
.cm-h2 {
  font-weight: 400;
}
@media screen and (max-width: 450px) {
  .cm-h2.f90 {
    font-size: 30px;
  }
}

.post-flex {
  margin-bottom: 20rem;
  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;
  gap: 3rem;
}
@media screen and (max-width: 1100px) {
  .post-flex {
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8rem;
  }
}
@media screen and (max-width: 600px) {
  .post-flex {
    margin-bottom: 6rem;
    gap: 5rem;
  }
}

.post-main {
  max-width: 790px;
  width: 66%;
}
@media screen and (max-width: 1100px) {
  .post-main {
    max-width: 100%;
    width: 100%;
  }
}

.news-link {
  position: relative;
  padding: 4rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid #ebe8e6;
}
@media screen and (max-width: 1100px) {
  .news-link {
    gap: 2rem;
  }
}
@media screen and (max-width: 834px) {
  .news-link {
    padding: 3rem 0;
  }
}
@media screen and (max-width: 600px) {
  .news-link {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 450px) {
  .news-link {
    padding: 2rem 0;
  }
  .news-link .top-news__item-ttl {
    font-size: 15px;
  }
}
.news-link:first-of-type {
  padding-top: 0;
}
.news-link:hover .top-business__item-btn__arrow {
  transform: translate(0, -100%);
  transition: all 0.6s;
}
.news-link .top-news__item-img {
  width: 240px;
}
@media screen and (max-width: 1100px) {
  .news-link .top-news__item-img {
    width: 200px;
  }
}
@media screen and (max-width: 600px) {
  .news-link .top-news__item-img {
    max-width: 100%;
    width: 88%;
    margin: 0 auto;
  }
}
.news-link .top-news__item-img img {
  border-radius: 8px;
  -webkit-border-radius: 8px;
}
@media screen and (max-width: 600px) {
  .news-link .top-news__item-cont {
    width: calc(100% - 80px);
  }
}
.news-link .top-news__item-cate {
  font-size: 1.4rem;
}
.news-link .top-news__item-date {
  font-size: 1.6rem;
}
.news-link .top-business__item-btn {
  position: relative;
  bottom: auto;
  right: auto;
}

.post-side {
  max-width: 320px;
  width: 27%;
}
@media screen and (max-width: 1100px) {
  .post-side {
    width: 100%;
  }
}

.post-dl {
  padding: 2rem;
  background-color: #f4f0ed;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  cursor: pointer;
}
.post-dl:not(:first-of-type) {
  margin-top: 4rem;
}
@media screen and (max-width: 600px) {
  .post-dl:not(:first-of-type) {
    margin-top: 3rem;
  }
}
@media screen and (max-width: 450px) {
  .post-dl:not(:first-of-type) {
    margin-top: 2rem;
  }
}

.post-dt {
  font-size: 2.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
}

.post-arw {
  display: block;
  width: 42px;
  height: 24px;
  color: #fff;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
  background-color: #887258;
  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;
}
.post-arw .material-symbols-outlined {
  font-size: 14px;
  transition: all 0.4s;
}

.post-dl.open .post-dd {
  margin-top: 3rem;
  opacity: 1;
  max-height: fit-content;
}
@media screen and (max-width: 600px) {
  .post-dl.open .post-dd {
    margin-top: 2rem;
  }
}
@media screen and (max-width: 450px) {
  .post-dl.open .post-dd {
    margin-top: 1rem;
  }
}
.post-dl.open .material-symbols-outlined {
  transform: rotate(-180deg);
}

.post-dd {
  opacity: 0;
  max-height: 0;
  transition: all 0.4s;
}

.post-art__hg {
  margin-bottom: 6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ebe8e6;
}
@media screen and (max-width: 1100px) {
  .post-art__hg {
    padding-bottom: 2rem;
  }
}
@media screen and (max-width: 600px) {
  .post-art__hg {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
  }
}
.post-art__hg .news-ttl {
  margin-top: 1rem;
  font-size: 2.6rem;
  line-height: 1.3;
  font-weight: 400;
}
@media screen and (max-width: 450px) {
  .post-art__hg .news-ttl {
    font-size: 2.2rem;
  }
}

.post-art__tumn img {
  width: 100%;
  border-radius: 8px;
  -webkit-border-radius: 8px;
}

.news-btn {
  margin: 7rem auto 0;
  width: 200px;
  height: 5rem;
  border-radius: 25px;
  -webkit-border-radius: 25px;
}
@media screen and (max-width: 600px) {
  .news-btn {
    margin-top: 3rem;
  }
}

/* wp pagenavi */
.wp-pagenavi_wrap {
  margin: 7rem auto 0;
  width: fit-content;
  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;
  gap: 3rem;
}
@media screen and (max-width: 834px) {
  .wp-pagenavi_wrap {
    margin-top: 4rem;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
  }
}
@media screen and (max-width: 834px) {
  .wp-pagenavi_wrap {
    margin-top: 2rem;
  }
}

.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;
  gap: 14px;
}
@media screen and (max-width: 834px) {
  .wp-pagenavi {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
.wp-pagenavi a,
.wp-pagenavi span {
  width: 30px;
  line-height: 30px;
  font-size: 16px;
  text-align: center;
  font-family: "Inter", sans-serif;
}
.wp-pagenavi .current {
  width: 64px;
  text-align: center;
  background-color: #887258;
  color: #fff;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
}

.previouspostslink,
.nextpostslink,
.first,
.last {
  position: relative;
  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;
  width: 64px !important;
  height: 30px;
  background-color: #f4f0ed;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
  overflow: hidden;
}
.previouspostslink::before, .previouspostslink::after,
.nextpostslink::before,
.nextpostslink::after,
.first::before,
.first::after,
.last::before,
.last::after {
  position: absolute;
  content: "west";
  font-family: "Material Symbols Outlined";
  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;
  color: #887258;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition-duration: 0.6s;
}
@media screen and (max-width: 640px) {
  .previouspostslink::before, .previouspostslink::after,
  .nextpostslink::before,
  .nextpostslink::after,
  .first::before,
  .first::after,
  .last::before,
  .last::after {
    width: 50px;
    height: 50px;
    background-size: 20px 10px;
  }
}
.previouspostslink::before,
.nextpostslink::before,
.first::before,
.last::before {
  background-color: transparent;
  transform: translate(-50%, 100%);
}
.previouspostslink:hover::before,
.nextpostslink:hover::before,
.first:hover::before,
.last:hover::before {
  transform: translate(-50%, -50%);
}
.previouspostslink:hover::after,
.nextpostslink:hover::after,
.first:hover::after,
.last:hover::after {
  transform: translate(-50%, -150%);
}

.nextpostslink::before, .nextpostslink::after,
.last::before,
.last::after {
  content: "east";
}

span.previouspostslink:hover::before,
span.nextpostslink:hover::before {
  transform: translate(-50%, 100%);
}
span.previouspostslink:hover::after,
span.nextpostslink:hover::after {
  transform: translate(-50%, -50%);
}

.previouspostslink,
.first {
  margin-right: 6px;
}
.previouspostslink::after,
.first::after {
  background-image: url(../../lib/cmn_img/top/base-arrow-prev.svg);
}

.nextpostslink,
.last {
  margin-left: 6px;
}

/* easy table of contents */
.post-art {
  margin-bottom: 100px;
  /* post detail */
}
@media screen and (max-width: 834px) {
  .post-art {
    margin-bottom: 50px;
  }
}
.post-art #ez-toc-container {
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 40px;
  width: 100%;
  display: block;
  border-width: 0;
  background-color: #f4f0ed;
  border-radius: 8px;
  -webkit-border-radius: 8px;
}
@media screen and (max-width: 1100px) {
  .post-art #ez-toc-container {
    padding: 30px 40px;
  }
}
@media screen and (max-width: 834px) {
  .post-art #ez-toc-container {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px 30px;
  }
}
.post-art #ez-toc-container .ez-toc-title-container {
  text-align: center;
}
.post-art #ez-toc-container .ez-toc-title {
  font-size: 20px;
  font-family: "Michroma", sans-serif;
  font-weight: 300;
  width: fit-content;
  background: linear-gradient(90deg, rgb(44, 41, 38) 0%, rgb(44, 41, 38) 25%, rgb(173, 139, 98) 100%);
  background-size: 100% 100%;
  background-position: left;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
@media screen and (max-width: 1100px) {
  .post-art #ez-toc-container .ez-toc-title {
    padding-bottom: 0;
  }
}
.post-art #ez-toc-container .ez-toc-title-container {
  position: relative;
  text-align: left;
}
.post-art #ez-toc-container .ez-toc-title-container::before {
  position: absolute;
  content: "";
  width: calc(100% - 8rem);
  height: 1px;
  top: 50%;
  right: 0;
  background-color: #ebe8e6;
}
.post-art .ez-toc-title-toggle {
  display: none;
}
.post-art div#ez-toc-container ul li {
  list-style: none;
  font-weight: 500;
}
.post-art div#ez-toc-container ul li.ez-toc-heading-level-2 {
  margin-top: 20px;
}
.post-art div#ez-toc-container ul li a {
  position: relative;
  margin-bottom: 5px;
  display: block;
  font-size: 17px;
  color: #4e4743;
}
.post-art #ez-toc-container ul ul, .post-art .ez-toc div.ez-toc-widget-container ul ul {
  margin-left: 0;
}
.post-art div#ez-toc-container ul li ul li a,
.post-art div#ez-toc-container ul li ul li ul li a,
.post-art div#ez-toc-container ul li ul li ul li ul li a,
.post-art div#ez-toc-container ul li ul li ul li ul li ul li a {
  color: #555555;
  font-size: 1.5rem;
}
.post-art div#ez-toc-container ul li ul li ul li a {
  margin-left: 2em;
}
.post-art div#ez-toc-container ul li ul li ul li ul li a {
  margin-left: 4em;
}
.post-art div#ez-toc-container ul li ul li ul li ul li ul li a {
  margin-left: 6em;
}
.post-art .wp-block-heading {
  margin: 50px 0 20px;
  font-weight: 400;
}
@media screen and (max-width: 600px) {
  .post-art .wp-block-heading {
    margin: 30px 0 10px;
  }
}
.post-art h2.wp-block-heading {
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #af8b70;
  font-size: 22px;
}
.post-art h3.wp-block-heading {
  position: relative;
  padding-left: 20px;
  display: block;
  font-size: 22px;
}
.post-art h3.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 40px;
  top: calc(50% - 20px);
  left: 0;
  background-color: #887258;
}
.post-art h4.wp-block-heading {
  position: relative;
  padding-left: 2.8rem;
  font-size: 22px;
}
.post-art h4.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 1.4rem;
  aspect-ratio: 1/1;
  top: calc(50% - 0.7rem);
  left: 0;
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
  background-color: #887258;
}
.post-art h5.wp-block-heading {
  position: relative;
  padding-left: 5rem;
  font-size: 18px;
}
.post-art h5.wp-block-heading::before {
  position: absolute;
  content: "";
  width: 4rem;
  height: 1px;
  top: 50%;
  left: 0;
  background-color: #887258;
}
.post-art h6.wp-block-heading {
  font-size: 18px;
  color: #887258;
}