@charset "utf-8";
/* ---------------------------------------------------------------------------------
Copyright © SUN Y'S group

HTML CSS Selectors topics

$Revision: 1.0 $
--------------------------------------------------------------------------------- */

/*---------------------------------------------------------------------------------
一覧
--------------------------------------------------------------------------------- */
.list-wrap {
  width: 1030px;
  padding-top: 190px;
  margin: 0 auto 210px;
}
.list-wrap-ttl {
  padding-bottom: 50px;
  font-family: var(--font-en);
  font-size: 36px;
  line-height: 1;
  text-align: center;
  font-weight: 500;
}
.page-nav {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.page-nav a {
  display: block;
  margin: 0 18px;
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #b5b4b0;
  position: relative;
}
.page-nav a.current {
  font-size: 36px;
  text-decoration:line-through;
  color: #000;
  position: relative;
  top: 5px;
}

.topics-list {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.topics-list li {
  margin: 0 15px 45px;
}
.topics-list a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.topics-list__img {
  width: 100%;
  padding-top: 100%;
  position: relative;
}
.topics-list__img img {
  position: absolute;
  top: 0;
  left: 0;
}
.topics-list__txt {
  padding: 10px 15px 0;
  font-size: 14px;
  line-height: 1.42;
  text-align: center;
}
.topics-list__category {
  padding: 0 4px 5px 4px;
  background-color: #fff;
  position: absolute;
  top: -5px;
  left: -16px;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.topics-list__category::before {
  content:"#";
}
.topics-list__category span {
  display: inline-block;
  padding-top: 5px;
}
.topics-list__category span::first-letter {
  font-size: 24px;
  text-decoration:overline;
}


.topics-list li:nth-of-type(odd) {
  width: 220px;
}
.topics-list li:nth-of-type(even) {
  width: 360px;
}
.topics-list li:nth-of-type(6n+1),
.topics-list li:nth-of-type(6n+2),
.topics-list li:nth-of-type(6n+3) {
  margin: 0 25px 30px;
}
.topics-list li:nth-of-type(3n+2) {
  transition-delay: 500ms;
}
.topics-list li:nth-of-type(3n) {
  transition-delay: 700ms;
}
.topics-list li:nth-of-type(6n+4) .topics-list__img,
.topics-list li:nth-of-type(6n+6) .topics-list__img {
  padding-top: 66.6%;
}
.topics-list li:nth-of-type(6n+5) {
  position: relative;
  top: 15px;
}
/*---------------------------------------------------------------------------------
詳細
--------------------------------------------------------------------------------- */
.detail-wrap {
  width: 800px;
  padding-top: 190px;
  margin: 0 auto 250px;
}
.post-ttl {
  padding-bottom: 45px;
  font-size: 36px;
  line-height: 1.5;
  text-align: center;
  transition-delay:1800ms;
}
.post-mv {
  width: 680px;
  margin: 0 auto 45px;
  position: relative;
}
.post-mv__category {
  padding: 0 7px 10px 7px;
  background-color: #fff;
  position: absolute;
  top: -5px;
  left: -16px;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.post-mv__category::before {
  content:"#";
}
.post-mv__category span {
  display: inline-block;
  padding-top: 5px;
}
.post-mv__category span::first-letter {
  font-size: 50px;
  text-decoration:overline;
}

.post {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 65px;
}
.post p,
.post div {
  margin-bottom: 55px;
  font-size: 12px;
  line-height: 1.8;
}

.post .alignright {
  width: 370px;
}
.post .alignleft {
  width: 370px;
  padding-right: 60px;
}
.aligncenter {
  margin: 0 25px 2em;
}


.post-nav {
  width: 550px;
  height: 20px;
  margin: 0 auto;
  position: relative;
}
.post-nav a {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  border-bottom: 1px solid #000;
  position: absolute;
  top: 0;
}
.post-nav a.prev {
  padding: 0 22px 6px 0;
  left: 0;
}
.post-nav a.next {
  padding: 0 0 6px 22px;
  right: 0;
}

.other-topics {
  width: 1030px;
  margin: 0 auto 180px;
}
.other-topics-ttl {
  padding-bottom: 55px;
  font-family: var(--font-en);
  font: 36px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}

.other-topics-link {
  width: 225px;
  margin: 0 auto;
}
.other-topics-link a {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid #000;
  font-family: var(--font-en);
  font: 14px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}
.other-topics-link a::after {
  display: inline-block;
  width: 23px;
  height: 7px;
  background-image: url("../img/topics/icon_arrow.svg");
  margin-left: 7px;
  content:"";
}
