@charset "UTF-8";
/* CSS Document */
/*****************************************
※※※※※※※※※※※※※※※※※※※※※※※※※

【Sassあり】
このCSSファイルはSassから生成されていますので、
直接編集しないようにしてください。

※※※※※※※※※※※※※※※※※※※※※※※※※
*****************************************/
/* --------------------------
	共通設定
--------------------------- */
/*メディアクエリ設定*/
/* --------------------------
	トピックス一覧ページ
--------------------------- */
.topics-detail .contents.container.mg {
  max-width: 1000px;
  margin-bottom: 100px; }
  @media only screen and (max-width: 1024px) {
    .topics-detail .contents.container.mg {
      margin-bottom: 30px; } }

/* ----カテゴリごとのタブ切り替え---- */
.tab-group {
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -moz-flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -moz-justify-content: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: center; }

.tab {
  font-size: 16px;
  padding: 0 1em;
  border-right: 1px solid #000;
  line-height: 1;
  cursor: pointer;
  color: #838383;
  transition: 0.3s; }
  .tab:last-of-type {
    border-right: none; }
  @media only screen and (min-width: 768px) {
    .tab:hover {
      color: #000; } }
  @media only screen and (max-width: 767px) {
    .tab {
      margin-bottom: 20px;
      font-size: 13px; } }

.panel-group {
  margin: 60px 0 150px;
  text-align: center; }
  @media only screen and (max-width: 767px) {
    .panel-group {
      margin: 25px 0 100px;
      text-align: left; } }

.panel {
  display: none;
  font-size: 16px; }
  .panel dl {
    margin-bottom: 30px; }
    @media only screen and (max-width: 767px) {
      .panel dl {
        margin-bottom: 25px; } }
    .panel dl a {
      display: flex;
      justify-content: center; }
      @media (max-width: 767px) {
        .panel dl a {
          display: block; } }
      .panel dl a .topic-day {
        color: #838383;
        margin-right: 1em;
        white-space: nowrap; }
        @media (max-width: 767px) {
          .panel dl a .topic-day {
            font-size: 15px; } }
      .panel dl a .topic-name {
        text-align: left; }

.tab.is-active {
  color: #000;
  transition: all 0.2s ease-out;
  cursor: default; }

.panel.is-show {
  display: block;
  animation-name: fadeUpAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0; }

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
/* --------------------------
	トピックス詳細ページ
--------------------------- */
.topics-detail .contents.mg {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 30px;
  box-sizing: content-box;
  animation-name: fadeUpAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0; }
  @media only screen and (max-width: 767px) {
    .topics-detail .contents.mg {
      margin-top: 30px;
      padding: 0 20px; } }

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.topics-detail .contents .single-time-cat p {
  margin: 0 0 10px;
  color: #838383; }
  .topics-detail .contents .single-time-cat p span {
    margin-right: .3em; }

.topics-detail .contents h2 {
  font-size: 18px;
  font-weight: bold; }

.topics-text {
  margin: 20px 0; }
  .topics-text img {
    margin-bottom: 20px; }
  .topics-text p {
    margin: 0;
    line-height: 1.75; }
  .topics-text a {
    color: #7DB1C6;
    text-decoration: underline;
    transition: .3s; }
    .topics-text a:hover {
      opacity: .8; }

.topics-post-footer {
  display: flex;
  max-width: 800px;
  margin: 80px auto 130px;
  align-items: center;
  position: relative; }
  @media only screen and (max-width: 1024px) {
    .topics-post-footer {
      padding: 0 30px; } }
  @media only screen and (max-width: 767px) {
    .topics-post-footer {
      padding: 0 20px;
      margin: 80px auto 100px; } }
  .topics-post-footer .archive-link-box {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    width: 200px; }
  .topics-post-footer .archive-link {
    display: block;
    height: 45px;
    box-sizing: border-box;
    border: 1px solid #000;
    text-align: center;
    line-height: 45px;
    position: relative;
    font-size: 12px; }
    .topics-post-footer .archive-link::before {
      content: "";
      width: 6px;
      height: 6px;
      border: 0px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position: absolute;
      top: 50%;
      right: 10px;
      margin-top: -3px; }
  .topics-post-footer .pre-link a {
    position: relative; }
    .topics-post-footer .pre-link a::before {
      content: "";
      width: 6px;
      height: 6px;
      border: 0px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      -ms-transform: rotate(225deg);
      -webkit-transform: rotate(225deg);
      transform: rotate(225deg);
      position: absolute;
      top: 50%;
      margin-top: -3px; }
  .topics-post-footer .next-link {
    position: absolute;
    right: 0; }
    @media only screen and (max-width: 1024px) {
      .topics-post-footer .next-link {
        right: 30px; } }
    @media only screen and (max-width: 767px) {
      .topics-post-footer .next-link {
        right: 20px; } }
  .topics-post-footer .next-link a {
    position: relative; }
    .topics-post-footer .next-link a::after {
      content: "";
      width: 6px;
      height: 6px;
      border: 0px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position: absolute;
      top: 50%;
      margin-top: -3px;
      right: 0; }

.topics-detail .contents .inner {
  margin-bottom: 100px; }

@media only screen and (max-width: 1024px) {
  .topics-detail .contents .inner {
    margin-bottom: 80px; } }
@media only screen and (max-width: 767px) {
  .topics-detail .contents .inner {
    margin-bottom: 60px; } }
