#container {
  position: relative;
  min-height: 100vh;
}

#topics-page header .logo,
#topics-lower header .logo,
#topics-page header .openbtn,
#topics-lower header .openbtn {
  opacity: 1;
}


/* トピックス共通部分 */
.topics h2 {
  font-size: 20px;
  font-family: "JMC-LIGHT", "Gothic MB101 Regular", "メイリオ", "Meiryo";
  margin-bottom: 15px;
  text-align: center;
  font-weight: normal;
}

.topics .more {
  text-align: right;
  font-family: "JMC-LIGHT", "Gothic MB101 Regular", "メイリオ", "Meiryo";
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1;
}

.topics .more a {
  position: relative;
}

.other .topics .more a {
  color: #000;
}

.topics .more a span {
  transform: translateX(0);
  transition: all .3s;
  display: inline-block;
}

.topics .more a:hover span {
  transform: translateX(-30px);
  color: #8b7d5c;
}


.topics .more a::before {
  content: '';
  position: absolute;
  bottom: 46%;
  right: 5%;
  width: 20px;
  height: 1px;
  background: #8b7d5c;
  transition: all .3s;
  opacity: 0;
}

.topics .more a::after {
  content: '';
  position: absolute;
  bottom: 62%;
  right: 5%;
  width: 10px;
  height: 1px;
  background: #8b7d5c;
  transform: rotate(35deg);
  transition: all .3s;
  opacity: 0;
}

.topics .more a:hover::before,
.topics .more a:hover::after {
  transition: all .3s;
  opacity: 1;
}


.topics .topics-list li {
  border-top: 1px solid #000;
}

.topics .topics-list li:last-of-type {
  border-bottom: 1px solid #000;
}

#topics-page .topics .topics-list li a,
.sec03 .topics .topics-list li a {
  display: flex;
  position: relative;
  color: #fff;
}

.topics .topics-list li a {
  display: flex;
  position: relative;
  color: #000;
}

.topics .topics-list li a::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: all .3s;
  z-index: 1;
  position: absolute;
  top: 0;
}

.topics .topics-list li a:hover::after {
  opacity: 0.4;
}

.topics .topics-list li a p {
  font-family: "JMC-LIGHT", "Gothic MB101 Regular", "メイリオ", "Meiryo";
  display: flex;
  align-items: center;
}

.topics .topics-list li a .date {
  width: 15%;
  padding: 0 1em;
  font-size: 14px;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.85);
}

.topics .topics-list li a .title {
  width: 85%;
  padding: 1.3em 2em 1.3em 1.5em;
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  position: relative;
}

.other .topics .topics-list li a .date,
.other .topics .topics-list li a .title {
  background: none;
}

.sec03 .topics .topics-list li a .title::before,
.sec03 .topics .topics-list li a .title::after,
#topics-page .topics .topics-list li a .title::before,
#topics-page .topics .topics-list li a .title::after {
  background: #fff;
}

.topics .topics-list li a .title::before {
  content: '';
  position: absolute;
  bottom: 46%;
  right: 1%;
  width: 30px;
  height: 1px;
  background: #000;
  transition: all .3s;
  opacity: 0;
  z-index: 4;
}

.topics .topics-list li a .title::after {
  content: '';
  position: absolute;
  bottom: 55%;
  right: 0.9%;
  width: 17px;
  height: 1px;
  background: #000;
  transform: rotate(40deg);
  transition: all .3s;
  opacity: 0;
  z-index: 4;
}

.topics .topics-list li a:hover .title::before,
.topics .topics-list li a:hover .title::after {
  opacity: 1;
}

/* トピックス一覧ページ */
#topics-page,
#topics-lower {
  background-image: url('../images/topics-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}


#topics-page #main,
#topics-lower #main {
  padding-top: 170px;
}

#topics-page .topics {
  width: 720px;
  margin: 0 auto 100px;
  opacity: 1;
}

#topics-page .topics h2 {
  font-size: 32px;
  font-family: "JMC Gothic Demi Bold", "Gothic MB101 DemiBold", "メイリオ", "Meiryo";
  margin-bottom: 30px;
  text-align: center;
  color: #fff;
}


.topics .sort-nav {
  display: flex;
  margin-bottom: 10px;
  color: #fff;
}

.topics .sort-nav li {
  cursor: pointer;
  padding: 10px 20px;
  transition: all .3s;
}

.topics .sort-nav li:not(:last-of-type) {
  border-right: 2px solid #fff;
}

.topics .sort-nav li.active {
  background-color: #fff;
}

.topics .sort-nav li p {
  font-family: "JMC", "Gothic MB101 DemiBold JIS2004", sans-serif;
  line-height: 1;
  transition: all .3s;
}

.topics .sort-nav li.active p {
  color: #000;
}

@media all and (max-width: 896px) {
  .topics h2 {
    font-size: 5vw;
    margin-bottom: 3vw;
  }

  .topics .topics-list li a .date {
    width: 25%;
    font-size: 2.4vw;
  }

  .topics .topics-list li a .title {
    width: 75%;
    padding: 1.5em;
    font-size: 2.6vw;
    line-height: 1.8;
  }

  .topics .topics-list li a .title::before,
  .topics .topics-list li a .title::after {
    display: none;
  }

  .topics .more a span {
    font-size: 2.8vw;
  }

  #topics-page .topics {
    width: 100%;
    opacity: 1;
    margin: 0 auto 12vw;
    padding: 0 4vw;
  }

  #topics-page #main {
    padding-top: calc(70px + 10vw);
  }


  .topics .sort-nav li {
    padding: 0.8em 1.2em;
  }

  .topics .sort-nav li p {
    font-size: 2.6vw;
  }

}



/* 記事詳細ページ */
.topics-contents {
  width: 880px;
  margin: 0 auto 100px;
  padding: 40px;
  background-color: rgba(0, 0, 0, .6);
  color: #fff;
}

.topics-contents .head {
  display: flex;
  padding: 0 140px 40px;
  border-bottom: 2px solid #fff;
}

.topics-contents .head h2 {
  font-family: "JMC", "Gothic MB101 DemiBold JIS2004", sans-serif;
  font-size: 16px;
  margin-right: 20px;
  color: #fff;
}

.topics-contents .head .link {
  margin-left: auto;
  min-width: 60px;
  text-align: right;
}

.topics-contents .head .link a {
  position: relative;
}


.topics-contents .head .link a span {
  transform: translateX(0);
  display: inline-block;
  transition: all .3s;
  color: #fff;
  font-family: "JMC", "Gothic MB101 DemiBold JIS2004", sans-serif;
  font-size: 12px;
}

.topics-contents .head .link a::before {
  content: '';
  position: absolute;
  bottom: 35%;
  right: 5%;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: all .3s;
  opacity: 0;
}

.topics-contents .head .link a::after {
  content: '';
  position: absolute;
  bottom: 55%;
  right: 5%;
  width: 10px;
  height: 1px;
  background: #fff;
  transform: rotate(35deg);
  transition: all .3s;
  opacity: 0;
}

.topics-contents .head .link a:hover span {
  transform: translateX(-25px);
  color: #fff;
}

.topics-contents .head .link a:hover::before,
.topics-contents .head .link a:hover::after {
  transition: all .3s;
  opacity: 1;
}


.topics-contents .head .date {
  font-family: "JMC-LIGHT", "Gothic MB101 Regular", "メイリオ", "Meiryo";
  margin-right: 20px;
  font-size: 14px;
}

.topics-contents .content {
  padding: 40px 140px 0;
  font-family: "JMC", "Gothic MB101 DemiBold JIS2004", sans-serif;
}

.topics-contents .content p {
  font-size: 16px;
  margin-bottom: 2em;
  line-height: 1.8;
}

.topics-contents .content p.img {
  margin-bottom: 1.5em;
}

.topics-contents .content .text a {
  transition: .3s;
}


.topics-contents .content .text a:hover {
  color: #8b7d5c;
}


@media all and (max-width: 896px) {
  #topics-lower #main {
    padding: calc(70px + 10vw) 4vw 0;
  }

  .topics-contents {
    width: 100%;
    margin: 0 0 12vw;
    padding: 4vw;
  }

  .topics-contents .head {
    flex-direction: column;
    padding: 0 2vw 4vw;
  }

  .topics-contents .head .date {
    margin-right: 0;
    font-size: 2.8vw;
    margin-bottom: 2vw;
  }

  .topics-contents .head h2 {
    font-size: 3.4vw;
    margin-right: 0;
    margin-bottom: 2vw;
  }

  .topics-contents .head .link {
    min-width: initial;
  }

  .topics-contents .content {
    padding: 4vw 2vw 0;
  }

  .topics-contents .content p {
    font-size: 3.2vw;
    line-height: 2;
  }

}