@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

.postMv {
  display: grid;
  place-items: center;
  width: 100%;
  height: 275px;
  background-image: url(../img/postMv_01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.postMvTitle {
  padding: 28px 132px;
  background-color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.1em;
  text-align: center;
}

.postCategorySearch {
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid #202124;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.postContainer {
  display: flex;
  justify-content: space-between;
  width: min(90%, 1280px);
  margin: 100px auto 0;
}

.postWrapper {
  flex: 1;
  max-width: 833px;
  margin-right: 20px;
}

.postList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 60px;
}

.postItem {
  border-bottom: 1px solid #202124;
}

.postItem.postVideoItem .postThumbnail{
  position: relative;
}

.postItem.postVideoItem .postThumbnail::after{
  position: absolute;
  content:"";
  width: 65px;
  height:65px;
  background: url(/wp-content/themes/original-theme2/assets/img/video_off.png)no-repeat;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  right: 0;
  left: 0;
}

.postBlock {
  position: relative;
}

.postCategory {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0 16px;
  background-color: #8dc556;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.postItem.postSeminarItem,
.postItem.postCaseItem{
  padding: 10px 0 0;
}

.postItem.postSeminarItem .postCategory,
.postItem.postCaseItem .postCategory{
  display: inline-block;
  position: absolute;
  top: -34px;
  left: 0;
  line-height: 26px;
  z-index: 1;
  padding: 0 12px;
  background-color: #fff;
  color: #009944;
  border: solid 1px #009944;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  box-shadow: none;
  transition: 0.4s;
}

.postItem.postSeminarItem .postDate{
  position: absolute;
  right: 0;
  top: -32px;
  font-size: 20px;
  background: none;
  font-weight: bold;
  font-weight: 500;
  transition: 0.4s;
}

.postThumbnail {
  overflow: hidden;
  aspect-ratio: 773 / 420;
  border: solid 1px #999;
  box-sizing: border-box;
}

.postThumbnail > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.postTitle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  transition: 0.4s;
}

.postMore {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 0 8px;
}

.postMore > p {
  margin-right: 16px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: 0.4s;
}

.postMore > svg {
  transform: scale(1.4);
}

@media (hover: hover) {
  .postItem > a:hover .postTitle {
    color: #8dc556;
  }

  .postItem > a:hover .postThumbnail > img {
    transform: scale(1.1);
  }

  .postItem > a:hover .postMore {
    color: #8dc556;
  }
  .postItem.postVideoItem > a:hover .postThumbnail::after{
    position: absolute;
    content:"";
    width: 65px;
    height:65px;
    background: rgba(255, 255, 255, 0.5) url(/wp-content/themes/original-theme2/assets/img/video_on.png)no-repeat;
    background-size: contain;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    right: 0;
    left: 0;
    border-radius: 50%;
    box-shadow: 0px 0px 20px #fff;
  }

  .postSeminarItem > a:hover .postCategory,
  .postCaseItem > a:hover .postCategory {
    background-color: #009944;
    color: #fff;
  }
}

.sidebar {
  flex: 1;
  max-width: 350px;
  margin-left: 20px;
}

.sidebar .widgettitle {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.025em;
}

.widget_media_image > a {
  display: block;
  overflow: hidden;
}

.widget_media_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 3;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .widget_media_image img:hover {
    transform: scale(1.1);
  }
}

.sidebar .sidebarList > li.widget:not(:last-of-type) {
  margin-bottom: 80px;
}

.sidebarPopularPostItem {
  margin-bottom: 32px;
}

.sidebarPopularPostItem:last-of-type {
  margin-bottom: 0;
}

.sidebarPopularPostItem > a {
  display: flex;
  align-items: center;
}

.sidebarPopularPostThumbnail {
  flex-shrink: 0;
  overflow: hidden;
  width: 100px;
  height: 100px;
}

.sidebarPopularPostThumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sidebarPopularPostTitle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-left: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: 0.4s;
}

@media (hover: hover) {
  .sidebarPopularPostItem:hover .sidebarPopularPostThumbnail > img {
    transform: scale(1.1);
  }

  .sidebarPopularPostItem:hover .sidebarPopularPostTitle {
    color: #8dc556;
  }
}

.widget_nav_menu ul.menu > li.menu-item {
  margin-bottom: 24px;
}

.widget_nav_menu ul.menu > li.menu-item:last-of-type {
  margin-bottom: 0;
}

.widget_nav_menu ul.menu > li.menu-item > a {
  display: block;
  width: max-content;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.05em;
  transition: 0.4s;
}

.widget_nav_menu ul.menu > li.menu-item > a::after {
  display: inline-block;
  position: relative;
  top: -2px;
  transform: scale(1.3);
  width: 7.037px;
  height: 10.008px;
  margin-left: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7.037' height='10.008' viewBox='0 0 7.037 10.008'><g transform='translate(-1292.113 -1689.719)'><path d='M1304.2,1694.723h-2.744l-4.293-5h2.744Z' transform='translate(-5.045 0)' fill='%239fcc01' /><path d='M1304.2,1697.557h-2.744l-4.293,5h2.744Z' transform='translate(-5.045 -2.835)' fill='%239fcc01' /></g></svg>");
  vertical-align: middle;
  content: "";
}

.widget_nav_menu ul.sub-menu > li.menu-item {
  margin-bottom: 8px;
}

.widget_nav_menu ul.sub-menu > li.menu-item:first-of-type {
  margin-top: 16px;
}

.widget_nav_menu ul.sub-menu > li.menu-item:last-of-type {
  margin-bottom: 0;
}

.widget_nav_menu ul.sub-menu > li.menu-item > a {
  display: flex;
  align-items: center;
  width: max-content;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: 0.4s;
}

.widget_nav_menu ul.sub-menu > li.menu-item > a::before {
  display: inline-block;
  width: 12px;
  height: 1px;
  margin-right: 8px;
  background-color: #202124;
  content: "";
}

.widget_nav_menu ul.sub-menu > li.menu-item > a::after {
  display: inline-block;
  transform: scale(1.3);
  width: 7.037px;
  height: 10.008px;
  margin-left: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7.037' height='10.008' viewBox='0 0 7.037 10.008'><g transform='translate(-1292.113 -1689.719)'><path d='M1304.2,1694.723h-2.744l-4.293-5h2.744Z' transform='translate(-5.045 0)' fill='%239fcc01' /><path d='M1304.2,1697.557h-2.744l-4.293,5h2.744Z' transform='translate(-5.045 -2.835)' fill='%239fcc01' /></g></svg>");
  vertical-align: middle;
  content: "";
}

.widget_nav_menu ul.sub-menu > li.menu-item > ul.sub-menu {
  margin-left: 24px;
}

.widget_nav_menu
  ul.sub-menu
  > li.menu-item
  > ul.sub-menu
  > li.menu-item:first-of-type {
  margin-top: 8px;
}

.widget_nav_menu ul.sub-menu > li.menu-item > ul.sub-menu > li.menu-item > a {
  font-size: 15px;
}

.widget_nav_menu
  ul.sub-menu
  > li.menu-item
  > ul.sub-menu
  > li.menu-item
  > a::before {
  width: 8px;
}

.widget_nav_menu
  ul.sub-menu
  > li.menu-item
  > ul.sub-menu
  > li.menu-item
  > a::after {
  position: relative;
  top: 1px;
  transform: scale(1.2);
  margin-left: 12px;
}

.postPagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.page-numbers {
  display: flex;
  margin-top: 100px;
}

ul.page-numbers > li > a.page-numbers:not(.prev, .next) {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  color: #373737;
  font-weight: 500;
  font-size: 20px;
  border-bottom: 1px solid #373737;
  margin: 0 12px;
}

ul.page-numbers > li > span.current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 12px;
  background-color: #009944;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}

ul.page-numbers > li > span.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

ul.page-numbers > li > a.page-numbers.next,
ul.page-numbers > li > a.page-numbers.prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
}

.postPaginationPrev,
.postPaginationNext {
  display: inline-block;
  width: 7.037px;
  height: 10.008px;
  vertical-align: middle;
  content: "";
}

.postPaginationPrev {
  transform: rotate(180deg) scale(1.5);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7.037' height='10.008' viewBox='0 0 7.037 10.008'><g transform='translate(-1292.113 -1689.719)'><path d='M1304.2,1694.723h-2.744l-4.293-5h2.744Z' transform='translate(-5.045 0)' fill='%239fcc01' /><path d='M1304.2,1697.557h-2.744l-4.293,5h2.744Z' transform='translate(-5.045 -2.835)' fill='%239fcc01' /></g></svg>");
}

.postPaginationNext {
  transform: scale(1.5);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7.037' height='10.008' viewBox='0 0 7.037 10.008'><g transform='translate(-1292.113 -1689.719)'><path d='M1304.2,1694.723h-2.744l-4.293-5h2.744Z' transform='translate(-5.045 0)' fill='%239fcc01' /><path d='M1304.2,1697.557h-2.744l-4.293,5h2.744Z' transform='translate(-5.045 -2.835)' fill='%239fcc01' /></g></svg>");
}

@media screen and (max-width: 1335px) {
  .postItem.postSeminarItem .postDate {
    font-size: 18px;
  }
}
@media screen and (max-width: 1270px) {
  .postItem.postSeminarItem .postDate {
    font-size: 17px;
    top: -30px;
  }
}
@media screen and (max-width: 1240px) {
  .postItem.postSeminarItem .postDate {
    font-size: 15px;
  }
}

@media screen and (max-width: 1080px) {
  .postContainer {
    flex-direction: column;
  }

  .postWrapper {
    max-width: 100%;
    margin-right: 0;
  }

  .postList {
    gap: 40px;
  }

  .sidebar {
    max-width: 100%;
    margin-top: 100px;
    margin-left: 0;
  }

  .widget_media_image {
    max-width: 350px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 768px) {
  .postMvTitle {
    padding: 24px;
    font-size: 24px;
  }

  .postCategorySearch {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .postContainer {
    margin: 40px auto 0;
  }

  .postCategory {
    padding: 0 12px;
    font-size: 14px;
  }

  .postItem.postSeminarItem{
    padding: 15px 0 5px;
  }

  .postItem.postSeminarItem .postDate{
    font-size: 16px;
    top: -30px;
  }

  .postTitle {
    margin-top: 12px;
    font-size: 16px;
  }

  .postMore > p {
    margin-right: 12px;
    font-size: 14px;
  }

  .sidebar {
    margin-top: 40px;
  }

  .sidebar .widgettitle {
    font-size: 24px;
  }

  .sidebar .sidebarList > li.widget:not(:last-of-type) {
    margin-bottom: 40px;
  }

  .sidebarPopularPostItem {
    margin-bottom: 24px;
  }

  ul.page-numbers {
    margin-top: 40px;
  }
}

.postCaseItem h3.postTitle{
  -webkit-line-clamp: none;
}
.postCaseItem h3.postTitle span{
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.postCaseItem h3.postTitle span.subTitle{
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
}