.page-news-detail{
  article{
    padding-block: 12rem 20rem;
    @media screen and (max-width: 768px) {
      padding-block: 4rem 6rem;
    }
  }
  .title{
    time{
      font-size: 2rem;
      @media screen and (max-width: 768px) {
        font-size: 1.5rem;
      }
    }
    h2{
      font-size: 3.2rem;
      line-height: 1.5;
      margin-top: 1rem;
      @media screen and (max-width: 768px) {
        font-size: 2.2rem;
        margin-top: 0.5rem;
      }
    }
  }
.contents{
    margin-top: 4rem;
    font-size: 1.6rem;
    line-height: 2;
    overflow-wrap: break-word;
    @media screen and (max-width: 768px) {
      margin-top: 2.5rem;
      font-size: 1.5rem;
    }
    h1, h2, h3, h4, h5, h6{
      font-weight: 500;
      line-height: 1.5;
      margin-block: 1.5em 0.75em;
    }
    h1{ font-size: 2.8rem; }
    h2{ font-size: 2.4rem; }
    h3{ font-size: 2rem; }
    h4{ font-size: 1.8rem; }
    h5{ font-size: 1.6rem; }
    h6{ font-size: 1.4rem; }
    p{
      font-size: inherit;
      margin-block: 0 1.2em;
    }
    ul, ol{
      list-style: revert;
      padding-inline-start: 1.5em;
      margin-block: 0 1.2em;
    }
    ul ul, ul ol, ol ul, ol ol{
      margin-block: 0;
    }
    a{
      color: var(--accent);
      text-decoration: underline;
      @media (any-hover: hover) {
        &:hover{
          text-decoration: none;
        }
      }
    }
    strong, b{
      font-weight: 700;
    }
    em, i{
      font-style: italic;
    }
    blockquote{
      border-inline-start: 0.4rem solid var(--line);
      padding-inline-start: 1.5em;
      margin-block: 0 1.2em;
    }
    hr{
      border-block-start: 1px solid var(--line);
      margin-block: 2em;
    }
    table{
      width: 100%;
      border-collapse: collapse;
      margin-block: 0 1.2em;
    }
    th, td{
      border: 1px solid var(--line);
      padding: 0.75em 1em;
      text-align: left;
    }
    th{
      background-color: var(--line-pale);
      font-weight: 500;
    }
    img{
      display: inline-block;
      width: auto;
      max-width: 100%;
      height: auto;
    }
    .alignleft{
      float: left;
      margin: 0.5em 1.5em 1em 0;
    }
    .alignright{
      float: right;
      margin: 0.5em 0 1em 1.5em;
    }
    .aligncenter{
      display: block;
      margin-inline: auto;
    }
    .wp-caption{
      max-width: 100%;
    }
    .wp-caption-text{
      font-size: 1.3rem;
      margin-top: 0.5em;
    }
    &::after{
      content: "";
      display: block;
      clear: both;
    }
  }
  .other{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10rem;
    @media screen and (max-width: 768px) {
      flex-wrap: wrap;
      margin-top: 5rem;
    }
    .pagination-btn{
      display: flex;
      align-items: center;
      gap: 0.75em;
      font-size: 1.8rem;
      padding-block: 1rem;
      width: fit-content;
      @media screen and (max-width: 768px) {
        font-size: 1.5rem;
      }
      span{
        display: inline-block;
      }
      .prev,
      .next{
        transition: 0.1s;
      }
      img{
        width: 1rem;
      }
      &.is-disabled{
        opacity: 0.3;
        pointer-events: none;
      }
      @media (any-hover: hover) {
        &:hover{
          span{
            text-decoration: underline;
          }
          .prev{
            transform: translateX(-25%);
          }
          .next{
            transform: translateX(25%);
          }
        }
      }
    }
    .list-link{
      font-size: 1.8rem;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      width: 50rem;
      height: 7.2rem;
      border: var(--accent) 1px solid;
      background-image: linear-gradient(to right, var(--accent) 100%);
      background-position: right center;
      background-size: 0% 100%;
      background-repeat: no-repeat;
      transition:
        background-size var(--duration) var(--easing),
        color 0.2s var(--easing);
      @media screen and (max-width: 768px) {
        order: 1;
        width: 100%;
        margin-top: 3rem;
        font-size: 1.5rem;
        height: 5.6rem;
      }
      @media (any-hover: hover) {
        &:hover{
          background-size: 100% 100%;
          background-position: left center;
          color: var(--white);
        }
      }
      .arrow-wrap{
        &::before,
        &::after{
          content: "→";
          font-size: 1em;
        }
      }
    }
  }
}
