@charset "utf-8";
/* CSS Document */

/* Info-PAGE--------------------------------------------- */

/* Info Wrapper */
.wrapper_info {
  margin: 0 auto;
  padding: 11.6rem 0 11.3rem;
  width: 117.4rem;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    margin: 0 auto;
    padding: 8rem 0 8rem;
    width: 32.6rem;
    flex-flow: column;
  }
  /* Side Count Display */
  .count_article {
    position: relative;
    z-index: 0;
    width: 25.6rem;
    .ttl_count_article {
      position: sticky;
      top: 30rem;
      left: 0;
      font-size: 2.4rem;
      font-weight: 700;
      line-height: 180%;
      display: flex;
      align-items: center;
      gap: 1.2rem;
      padding-bottom: 9rem;
      .text {
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 192%;
        .count {
        }
      }
    }
    @media screen and (max-width: 768px) {
      width: 100%;
      .ttl_count_article {
        position: static;
        padding-bottom: 4.8rem;
      }
    }
  }
  /* Main Article Block */
  .block_article {
    width: 83.5rem;
    @media screen and (max-width: 768px) {
      width: 32.6rem;
    }
    /* Article List */
    .list_article {
      .card_article {
        border-top: 1px solid #9eadab;
        &:last-of-type {
          border-bottom: 1px solid #9eadab;
        }
        a {
          display: flex;
          padding: 4.7rem 1.4rem 4.7rem 0;
          gap: 3.2rem;
          font-size: 1.6rem;
          font-weight: 400;
          line-height: 200%;
          time {
            width: 9.3rem;
          }
          .article_cate {
            width: 10.8rem;
            display: flex;
            &::before {
              content: "[";
            }
            &::after {
              content: "]";
            }
          }
          .article_ttl {
            width: 44rem;
            letter-spacing: 0.07em;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }
          .dec_arrow {
          }
          &:hover,
          &:active {
            .dec_arrow {
              background: rgba(204, 197, 183, 1);
            }
          }
        }
        .dec_arrow {
          position: relative;
          z-index: 0;
          width: 3.2rem;
          aspect-ratio: 1;
          background: rgba(204, 197, 183, 0);
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: background 0.3s;
          align-self: center;
          margin-left: auto;
          &::after {
            content: "";
            display: block;
            position: absolute;
            z-index: 0;
            background-image: url("../img/common/icon_arrow_left_b.svg");
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;
            width: 0.5rem;
            aspect-ratio: 5 /8;
          }
        }
      }
      @media screen and (max-width: 768px) {
        .card_article {
          border-top: 1px solid #9eadab;
          &:last-of-type {
            border-bottom: 1px solid #9eadab;
          }
          a {
            position: relative;
            z-index: 0;
            flex-flow: wrap;
            padding: 3.6rem 3.8rem 3.6rem 0.8rem;
            gap: 1.2rem 3.4rem;
            font-size: 1.6rem;
            font-weight: 400;
            line-height: 200%;
            time {
              width: 9.3rem;
            }
            .article_cate {
              width: 10.8rem;
            }
            .article_ttl {
              -webkit-line-clamp: 3;
            }
            .dec_arrow {
              position: absolute;
              top: 50%;
              right: 0;
              transform: translateY(-50%);
            }
            &:hover,
            &:active {
              .dec_arrow {
                background: rgba(204, 197, 183, 1);
              }
            }
          }
          .dec_arrow {
            position: relative;
            z-index: 0;
            width: 3.2rem;
            aspect-ratio: 1;
            background: rgba(204, 197, 183, 0);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.3s;
            align-self: center;
            margin-left: auto;
            &::after {
              content: "";
              display: block;
              position: absolute;
              z-index: 0;
              background-image: url("../img/common/icon_arrow_left_b.svg");
              background-repeat: no-repeat;
              background-size: cover;
              background-position: center center;
              width: 0.5rem;
              aspect-ratio: 5 /8;
            }
          }
        }
      }
    }

    /* Pager / Pagination */
  }
}
.pager_article {
  padding: 9.6rem 0.8rem;
  font-size: 1.6rem;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  .page00 {
    width: 3.6rem;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
    border: 1px solid rgba(158, 173, 171, 0);
    &.is-active,
    &:hover {
      border: 1px solid rgba(158, 173, 171, 1);
    }
  }
  .prev {
    margin-right: auto;
    a {
      position: relative;
      z-index: 0;
      display: flex;
      align-items: center;
      padding-left: 4.2rem;
      &::before {
        content: "";
        position: absolute;
        z-index: 0;
        display: block;
        background-image: url("../img/common/icon_arrow_left02_b.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scale(-1, 1);
        width: 1.4rem;
        aspect-ratio: 14 / 10;
        align-self: center;
      }
    }
  }
  .next {
    margin-left: auto;
    a {
      position: relative;
      z-index: 0;
      display: flex;
      align-items: center;
      padding-right: 4.2rem;
      &::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 0;
        background-image: url("../img/common/icon_arrow_left02_b.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1.4rem;
        aspect-ratio: 14 / 10;
        align-self: center;
      }
    }
  }
  .return {
    width: 2.4rem;
  }
  @media screen and (max-width: 768px) {
    padding: 4.8rem 0;
    font-size: 1.4rem;
    gap: 0.5em;
    .page00 {
      width: 2.4rem;
    }
    .prev {
      font-size: 0;
      a {
        padding-left: 1.6rem;
        aspect-ratio: 1;
        &::before {
          width: 1.6rem;
        }
      }
    }
    .next {
      font-size: 0;
      a {
        padding-right: 1.6rem;
        aspect-ratio: 1;
        &::after {
          width: 1.6rem;
        }
      }
    }
  }
}

/* Detail-PAGE--------------------------------------------- */
/* Contents Box */
.box_contents {
  margin: 0 auto;
  padding-bottom: 12.8rem;
  width: 86rem;

  /* Article Body */
  article {
    padding-bottom: 8rem;
    border-bottom: 1px solid #9eadab;
    *:last-child {
      margin-bottom: 0;
    }
    p {
      margin-bottom: 3.2rem;
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 200%;
      letter-spacing: 0.07em;
    }
    figure {
      margin-bottom: 3.2rem;
    }
  }
  @media screen and (max-width: 768px) {
    padding: 8rem 0;
    width: 32.4rem;

    /* Article Body */
    article {
      padding-bottom: 4.8rem;
      p {
        margin-bottom: 2.4rem;
      }
      figure {
        margin-bottom: 2.4rem;
      }
    }
  }
}
