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






body {
  padding-top: var(--header-height-plus);
}
.page_title {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.page_title .box_l {
  width: calc(100% - (760px + 20px));
  padding-top: 60px;
  display: flex;
}
.page_title .box_l * {
  display: block;
  line-height: 1em;
}
.page_title .box_l h3 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  em {
    font-family: var(--font-eng-grade);
    font-size: 10.0rem;
    font-weight: 500;
    letter-spacing: .04em;
    background: var(--eng-grade-txt);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: .2em;
  }
  span {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: #008EB3;
  }
}
.page_title .img {
  width: min(100%, 760px);
  border-radius: var(--radius20);
  overflow: hidden;
}
@media (width <= 1440px) {
  .page_title {
    width: 100%;
    padding: 0 20px;
    gap: 20px;
  }
  .page_title .box_l {
    width: max(100%, 620px);
    padding-top: clamp(10px, 4vw, 60px);
  }
  .page_title .box_l h3 {
    em {
      font-size: clamp(3rem, 1.5rem + 6vw, 13.0rem);
      font-weight: 600;
    }
    span {
      font-size: 1.6rem;
      font-weight: 700;
    }
  }
  .page_title .img {
    width: max(100%, 760px);
  }
}
@media (width <= 767px) {
  .page_title {
    flex-direction: column;
    padding: 0 var(--space-section-20);
    gap: var(--space-section-40);
  }
  .page_title .box_l {
    width: 100%;
    padding-top: 0;
  }
  .page_title .box_l h3 {
    em {
      font-size: clamp(6rem, 18vw, 8rem);
    }
    span {
      font-size: 1.4rem;
    }
  }
  .page_title .img {
    width: 100%;
  }
}


main {
  .wrap {
    display: flex;
    margin-bottom: var(--space-section-100);
    aside {
      display: flex;
      flex-direction: column;
      gap: var(--space-section-40);
      section {
        h3 {
          font-size: 3.0rem;
          font-weight: 700;
          letter-spacing: .1em;
          margin-bottom: .3em;
        }
        ul {
          li {
            border-bottom: 1px solid #DEE3E8;
            a {
              display: block;
              padding: .8em .6em;
            }
          }
        }
      }
    }
  }
  @media (width <= 767px) { 
    .wrap {
      aside {
        section {
          h3 {
            font-size: clamp(2.4rem, 7.7vw, 3.0rem);
          }
        }
      }
    }
  }


  .wrap {
    body.topics-list & {
      flex-direction: column;
      gap: var(--space-section-100);
      article {
        h3 {
          font-size: 4.0rem;
          font-weight: 700;
          letter-spacing: .1em;
          margin-bottom: 1.5em;
        }
        .list {
          section {
            border-bottom: 1px solid #DEE3E8;
            a {
              display: flex;
              padding: 1.2em .6em;
              time {
                display: block;
                width: 200px;
              }
              .post-title {
                flex: 1;
              }
            }
          }
        }
      }
    }
  }
  @media (width <= 767px) { 
    .wrap {
      body.topics-list & {
        article {
          h3 {
            font-size: clamp(3.2rem, 10vw, 4.0rem);
          }
          .list {
            section {
              a {
                time {
                  width: 150px;
                }
              }
            }
          }
        }
      }
    }
  }

  .wrap {
    body.topics-detail & {
      gap: var(--space-section-80);
      article {
        flex: 1;
        > time {
          margin-bottom: .4em;
        }
        > h3 {
          font-size: 2.4rem;
          font-weight: 700;
          letter-spacing: .1em;
          margin-bottom: 1.5em;
        }
      }
      aside {
        width: 200px;
        section {
          h3 {
            font-size: 2.0rem;
          }
        }
      }
    }
  }
  @media (width <= 1040px) {
    .wrap {
      body.topics-detail & {
        flex-direction: column;
        gap: var(--space-section-100);
        aside {
          width: 100%;
        }
      }
    }
  }
  @media (width <= 767px) { 
    .wrap {
      body.topics-detail & {
        article {
          > h3 {
            font-size: clamp(2.0rem, 8.2vw, 2.4rem);
          }
        }
        aside {
          width: 100%;
        }
      }
    }
  }


  .post-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
    padding-top: var(--space-section-100);  
    .post-nav-prev ,
    .post-nav-back ,
    .post-nav-next {
      min-width: 0; 
      p {
        display: flex;
        height: 100%;
      }
      a {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--space-section-25) var(--space-section-40);
        border: solid 1px #ddd;
        transition: .3s;  
        &:hover {
          opacity: .7;
        }
      }  
      .label {
        margin-bottom: .5em;
        font-size: 1.4rem;
        color: #888;
      }  
      .title {
        display: -webkit-box;
        overflow: hidden;
        font-weight: 700;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }
    }  
    .post-nav-prev {
      a {
        padding-left: 60px;  
        &::before {
          position: absolute;
          top: 50%;
          left: 25px;
          width: 12px;
          height: 12px;
          border-top: solid 2px currentColor;
          border-left: solid 2px currentColor;
          transform: translateY(-50%) rotate(-45deg);
          content: '';
        }
      }
    }  
    .post-nav-next {
      a {
        align-items: flex-end;
        padding-right: 60px;
        text-align: right;  
        &::after {
          position: absolute;
          top: 50%;
          right: 25px;
          width: 12px;
          height: 12px;
          border-top: solid 2px currentColor;
          border-right: solid 2px currentColor;
          transform: translateY(-50%) rotate(45deg);
          content: '';
        }
      }
    }  
    .post-nav-back {
      a {
        justify-content: center;
        min-width: 180px;
        padding: var(--space-section-25) var(--space-section-35);
        white-space: nowrap;
        font-weight: 700;
        text-align: center;
        height: 100%;
      }
    }  
  }
  @media (width <= 767px) {
    .post-nav {
      grid-template-columns: 1fr;
      .post-nav-prev ,
      .post-nav-back ,
      .post-nav-next {
        a {
          width: 100%;
        }  
      }  
      .post-nav-prev {
        a {
          padding-left: var(--space-section-40);
        }
      }  
      .post-nav-next {
        a {
          align-items: flex-start;
          padding-right: var(--space-section-40);
          text-align: left;
          &::after {
            right: 20px;
          }
        }
      }  
      .post-nav-back {
        order: -1;
        a {
          min-width: auto;
        }
      }
    }
  }


  .pagination {
    margin-top: var(--space-section-100);  
    .pagination-box {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }  
    a,
    span {
      display: grid;
      place-items: center;
      min-width: 48px;
      height: 48px;
      padding: 0 12px;
      border: solid 1px #ddd;
      background: #fff;
      font-size: 1.6rem;
      line-height: 1;
      transition: .3s;
    }  
    a {
      &:hover {
        color: #fff;
        background: #222;
        border-color: #222;
      }
    }  
    .current {
      color: #fff;
      background: #222;
      border-color: #222;
      font-weight: 700;
    }  
    .inactive {
      &:hover {
        color: #fff;
        background: #222;
        border-color: #222;
      }
    }  
    .laquo,
    .lsaquo,
    .rsaquo,
    .raquo {
      font-size: 2rem;
      font-weight: 700;
    }  
  }
  @media (width <= 767px) {
    .pagination {
      .pagination-box {
        gap: 6px;
      }
      a,
      span {
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        font-size: 1.4rem;
      }
      .laquo,
      .lsaquo,
      .rsaquo,
      .raquo {
        font-size: 1.8rem;
      }
    }
  }
  
  

}



