sns-share:root {
  --clamp128: clamp(96px, 10.6vw, 128px);
  --clamp96: clamp(72px, 8vw, 96px);
  --clamp72: clamp(64px, 6vw, 72px);
  --clamp64: clamp(52px, 5.33vw, 64px);
  --clamp48: clamp(36px, 4vw, 48px);
  --clamp32: clamp(26px, 2.66vw, 32px);
  --clamp28: clamp(22px, 2.33vw, 28px);
  --clamp26: clamp(22px, 2.16vw, 26px);
  --clamp24: clamp(20px, 2vw, 24px);
  --clamp22: clamp(19px, 1.83vw, 22px);
  --clamp18: clamp(17px, 1.5vw, 18px);
  --clamp17: clamp(15px, 1.41vw, 17px);
  --clamp16: clamp(15px, 1.33vw, 16px);
  --clamp14: clamp(13px, 1.16vw, 14px);
  --rpc: 1024px;
  --rtab: 860px;
  --rsp: 640px;
}
body {
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", sans-serif;
  font-size: 14px;
  background: url(../assets/img/back_pc.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding-top: clamp(64px, 9vw, 102px);
  position: relative;
}
@media (max-width: 860px) {
  body {
    background: url(../assets/img/back_tab.jpg);
  }
}
@media (max-width: 640px) {
  body {
    background: url(../assets/img/back_sp.jpg);
  }
}

body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: rgba(247, 247, 247, 0.76);
}

.index .tags {
  padding: 24px 0;
}
.articles_list .tags {
  padding: 0;
}

.tags a.tag {
  display: inline-block;
  background-color: #2d2d2d;
  color: #fff;
  transition: background-color 0.4s ease 0s;
  font-size: clamp(12px, 0.9vw, 13px);
  margin: 0 6px 6px 0;
  padding: 3px 6px;
}
.tags a.tag:hover {
  opacity: 0.8;
}

.page-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: var(--clamp96) var(--clamp64);
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .page-wrapper {
    padding: var(--clamp64) var(--clamp32);
  }
}
.page-wrapper .tags {
  padding: 0;
}

.page-title {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  h2 {
    font-size: clamp(22px, 2vw, 24px);
    font-weight: 600;
    line-height: 140%;
    padding-left: 10px;
  }
  span {
    font-size: clamp(15px, 1.3vw, 16px);
    font-weight: 300;
    line-height: 140%;
    padding-left: 10px;
  }
}
.page-title::before {
  content: "";
  display: grid;
  place-content: center;
  width: 60px;
  height: 1px;
  background-color: #727272;
}
.articles_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
  width: 100%;
  margin: auto;
}
@media (max-width: 860px) {
  .articles_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .articles_list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}
.articles_list > li {
  display: grid;
  place-content: start stretch;
  gap: 10px;
  padding: clamp(12px, 2vw, 24px);
  border-right: 0.1px solid #d9d9d9;
  border-bottom: 0.1px solid #d9d9d9;
}
.articles_list > li:nth-child(3n) {
  border-right: 0;
}
.articles_list > li:hover {
  background: rgba(218, 218, 218, 0.6);
}
.articles_list > li img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.articles_list .title {
  font-size: clamp(16px, 1.4vw, 17px);
  min-height: 80px;
  font-weight: 600;
  margin: 12px 0;
  line-height: 140%;
}

@media (max-width: 860px) {
  .articles_list > li:nth-child(3n) {
    border-right: 0.1px solid #d9d9d9;
    border-bottom: 0.1px solid #d9d9d9;
  }
  .articles_list > li:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .list {
    padding: var(--clamp48) var(--clamp24);
  }
  .articles_list > li {
    border: 0;
  }
}
.pagenavi {
  padding: 64px 0;
}
@media (max-width: 640px) {
  .pagenavi {
    position: sticky;
    bottom: 12px;
    left: 0;
    right: 0;
    padding: 10px;
  }
}
.pagenavi ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3vw;
}
.pagenavi ul > li {
  border: 0;
  aspect-ratio: 1 / 1;
}
.pagenavi ul > li:hover {
  background: transparent;
}
.pagenavi li a {
  border: 1px solid #ddd;
  padding: clamp(8px, 1vw, 16px);
  font-size: clamp(16px, 1.8vw, 18px);
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: white;
  display: grid;
  place-content: center;
}

.pagenavi li span {
  border: 1px solid #000;
  padding: clamp(8px, 1vw, 16px);
  font-size: clamp(16px, 1.8vw, 18px);
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: white;
  display: grid;
  place-content: center;
}
.pagenavi li a:hover,
.pagenavi li span:hover {
  background-color: #fafafa;
}
.tag-title {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: baseline;
  position: relative;
  width: fit-content;
  padding-left: clamp(20px, 2vw, 24px);
  h2 {
    background-color: #000;
    color: #fff;
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 600;
    padding: 2px 12px;
  }
  span {
    padding-top: 8px;
  }
}

.recommend_tags {
  border-top: 1px solid #d9d9d9;
  padding: 32px 0;
  margin: auto;
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .recommend_tags {
    padding: 32px;
  }
}

.recommend_tags h3 {
  max-width: 1024px;
  font-weight: 600;
  line-height: 140%;
  font-size: 18px;
  display: block;
}
.tagcloud {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1024px;
  margin: auto;
  margin-top: 32px;
}

.tagcloud a.tag {
  display: inline-block;
  background-color: #2d2d2d;
  color: #fff;
  transition: background-color 0.4s ease 0s;
  font-size: clamp(14px, 0.9vw, 16px);
  margin: 0 6px 6px 0;
  padding: 3px 6px;
}
.tagcloud a.tag:hover {
  opacity: 0.8;
}
.recommend_posts {
  border-top: 1px solid #d9d9d9;
  padding: 32px;
  margin: auto;
  width: 100%;
  margin-top: 48px;
}
.recommend_posts h3 {
  max-width: 1024px;
  margin: auto;
  display: block;
}

.search {
  padding: 32px 0;
}
@media (max-width: 1024px) {
  .search {
    padding: 7vw 32px 1vw;
  }
}

.search_inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: space-evenly;
  align-items: center;
}
@media (max-width: 640px) {
  .search_inner {
    flex-direction: column;
  }
}
.search .search_input {
  background-color: #ddd;
  color: black;
  border: 1px solid #ccc;
  font-size: 17px;
  display: block;
  height: 42px;
  line-height: 42px;
  width: 100%;
  appearance: none;
  box-sizing: border-box;
  flex-basis: 70%;
  padding: 0 12px;
  border-radius: 6px;
}
.search .search_button {
  cursor: pointer;
  border: 0;
  background-color: #000;
  color: white;
  font-size: 17px;
  height: 42px;
  line-height: 42px;
  width: 100%;
  appearance: none;
  box-sizing: border-box;
  flex-basis: 30%;
  border-radius: 6px;
  max-width: 140px;
}

.sns-share {
  display: grid;
  gap: 10px;
  grid-template-rows: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  align-content: center;
  height: 160px;
  width: 40px;
  position: fixed;
  left: 10px;
  bottom: 60px;
}
#article .sns-share {
  display: none;
}
.sns-share-article {
  display: grid;
  gap: 10px;
  grid-template-rows: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  align-content: center;
  height: 160px;
  width: 40px;
  position: sticky;
  top: 280px;
}
@media (max-width: 980px) {
  .sns-share {
    margin: 36px auto;
    width: 100%;
    max-width: 240px;
    height: auto;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    place-content: center;
    position: static;
  }
  #article .sns-share {
    display: none;
  }
}

@media (max-width: 767px) {
  #article .sns-share {
    margin: 36px auto;
    width: 100%;
    max-width: 240px;
    height: auto;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    place-content: center;
    position: static;
  }
  .sns-share-article {
    display: none;
  }
}

.sns-icon {
  display: grid;
  place-content: center;
}

.sns-icon a {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.sns-share .sns-icon:nth-child(1) a {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sns-share-article .sns-icon:nth-child(1) a {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--clamp32) var(--clamp64);
}
.article-body-inner {
  margin-top: -160px;
  padding: 0 3.5rem;
}
@media (max-width: 640px) {
  .inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--clamp32) var(--clamp16);
  }
}
@media (max-width: 767px) {
  .article-body-inner {
    margin-top: 0;
    padding: 0;
  }
}
.article-body .content {
  max-width: 820px;
  width: 100%;
  margin: auto;
}
body .article-body article h1 {
  padding: 0;
  border: 0;
  margin: auto;
  font-size: var(--clamp32);
  line-height: 150%;
  font-weight: 600;
  margin-top: var(--clamp32);
  margin-bottom: var(--clamp16);
  max-width: 820px;
  width: 100%;
}
.article-body .date {
  margin: auto;
  max-width: 820px;
  width: 100%;
}

.article-body h2.wp-block-heading {
  padding: 0;
  border: 0;
  margin: 0;
  font-size: var(--clamp24);
  line-height: 150%;
  font-weight: 600;
  margin-top: var(--clamp72);
}
.article-body h2.wp-block-heading::before {
  display: none;
}
.article-body h3.wp-block-heading {
  all: initial;
  font-size: var(--clamp22);
  line-height: 150%;
  font-weight: 600;
  margin-top: var(--clamp48);
  max-width: 820px;
  width: 100%;
}

@media screen and (max-width: 750px) {
  body .article-body article h3 {
    font-size: 3.75vw !important;
    padding-left: 0 !important;
  }
}

.article-body .wp-block-image {
  margin: var(--clamp32) auto;
}

.article-body p {
  font-size: var(--clamp16);
  line-height: 170%;

  margin: auto;
}
.article-body p a {
  text-decoration: underline;
}

.article-body .article-visual {
  margin: var(--clamp32) auto;
  max-width: 820px;
  width: 100%;
}
.article-body .article-visual img {
  width: 100%;
}
@media (max-width: 640px) {
  .article-body .article-visual {
    width: 100%;
  }
}
.article-body .wp-block-columns {
  gap: var(--clamp24);
  margin: var(--clamp32) auto;
}

.article-body .wp-block-columns .wp-block-image {
  margin: 0;
  width: 100%;
}
.dummythumb {
  background-color: #b0b6c3;
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 42px;
  line-height: 120%;
  font-weight: 600;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 32px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
