@charset "utf-8";
/* dlight */
.dm {}

/* SMARTPHONE
================================================== */
@media screen and (max-width: 768px) {
  
  .pg--header-t2 {
    .txt {
      text-align: center;
    }
  }
  
  /* news post */
  #newslist {
    > .inner {
      width: 90%;
      margin: 0 auto 50px;
      .nl-item {
        border: 1px solid #333;
        a {
          display: flex;
          justify-content: space-between;
          padding: 1em;
          &:hover {
            background: #f2f0e9;
          }
        }
        .nl-txt {
          width: 70%;
          order: 2;
          > p {
            font-size: 1.1rem;
          }
        }
        .nl-header {
          h1 {
            font-size: 1.4rem;
          }
          .nl-date {
            font-size: 1rem;
            margin-bottom: 8px;
          } 
        }
        .nl-catlist {
          display: flex;
          margin-bottom: 8px;
          li {
            padding: 4px 10px;
            font-size: 1rem;
            color: #FFF;
            line-height: 1;
          }
          li.uncategorized {
            background-color: #b3b3b3;
          }
          li + li {
            margin-left: 5px;
          }
        }
        .nl-thum {
          width: 28%;
          order: 1;
        }
      }
      .nl-item + .nl-item {
        margin-top: 12px;
      }
    }
  }
  
  #news {
    .btn {
      width: 200px;
      margin: auto;
    }
  }
  #newspost {
    position: relative;
    width: 90%;
    margin: 0 auto 60px;
    text-align: left;
  }
  article.post,
  article.post {
    margin:0 auto 30px;
    background-color:#FFF;
    border: 1px solid #575757;
  }
  article.post .entryWrap,
  article.post .entryWrap {
    padding: 20px;
  }
  article.post .newsHeader,
  article.post .newsHeader {
    background:#575757;
    padding: 12px;
    color:#FFF;
  }
  article.post .newsHeader h1,
  article.post .newsHeader h1 {
    font-size: 1.6rem;;
    font-weight: normal;
  }
  article.post .newsHeader .postDate,
  article.post .newsHeader .postDate {
    font-size: 1.2rem;;
  }
  article.post .entry,
  article.post .entry {
    position: relative;
  }
  article.post .catList,
  article.post .catList {
    margin-bottom: 15px;
  }
  #newspost .catList li,
  #newspost .catList li {
    display: inline-block;
    line-height: 1;
    padding: 5px 10px;
    margin-right: 5px;
    color: #FFF;
  }
  #newspost .entry p,
  #newspost .entry p {
    margin-bottom: 1.8rem;
  }
  #newspost.entry > p:last-child,
  #newspost .entry > p:last-child {
    margin-bottom: auto;
  }

  .newsNavi .btn {
    position: relative;
    display: block;
    margin: 0 auto 30px;
    width: 300px;
    font-size: 1.4rem;
    text-align: center;
    border: 1px solid #000;
    letter-spacing: 0.2rem;
    text-decoration: 0.2rem;
  }
  .newsNavi .btn a {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    transition: all .8s;
  }
  .newsNavi  .btn a::after {
    content: '≪';
    display: block;
    font-size: 1.6rem;
    position: absolute;
    left: 13px;
    top: 14px;;
    bottom: 0;
  }
  
}

/* DESKTOP
================================================== */
@media (768px < width) {
  
  /* news post */
  #newslist {
    > .inner {
      width: 1060px;
      margin: 0 auto 50px;
      display: grid;
      gap: 3rem 2rem;
      grid-template-columns: repeat(2, 1fr);
      .nl-item {
        border: 1px solid #333;
        a {
          display: flex;
          justify-content: space-between;
          padding: 1.4em;
          &:hover {
            background: #f2f0e9;
          }
        }
        .nl-txt {
          width: 66%;
          order: 2;
        }
        .nl-header {
          h1 {
            font-size: 1.6rem;
          }
          .nl-date {
            font-size: 1.1rem;
            margin-bottom: 8px;
          } 
        }
        .nl-catlist {
          display: flex;
          margin-bottom: 8px;
          li {
            padding: 4px 10px;
            font-size: 1.2rem;
            color: #FFF;
            line-height: 1;
          }
          li.uncategorized {
            background-color: #b3b3b3;
          }
          li + li {
            margin-left: 5px;
          }
        }
        .nl-thum {
          width: 30%;
          order: 1;
        }
      }
    }
  }
  
  #news {
    .btn {
      width: 200px;
      margin: auto;
    }
  }
  #newspost {
    position: relative;
    width:720px;
    margin: 0 auto 60px;
    text-align: left;
  }
  article.post,
  article.post {
    margin:0 auto 30px;
    background-color:#FFF;
    border: 1px solid #575757;
  }
  article.post .entryWrap,
  article.post .entryWrap {
    padding: 20px;
  }
  article.post .newsHeader,
  article.post .newsHeader {
    background:#575757;
    padding: 12px;
    color:#FFF;
  }
  article.post .newsHeader h1,
  article.post .newsHeader h1 {
    font-size: 1.6rem;;
    font-weight: normal;
  }
  article.post .newsHeader .postDate,
  article.post .newsHeader .postDate {
    font-size: 1.2rem;;
  }
  article.post .entry,
  article.post .entry {
    position: relative;
  }
  article.post .catList,
  article.post .catList {
    margin-bottom: 15px;
  }
  #newspost .catList li,
  #newspost .catList li {
    display: inline-block;
    line-height: 1;
    padding: 5px 10px;
    margin-right: 5px;
    color: #FFF;
  }
  #newspost .entry p,
  #newspost .entry p {
    margin-bottom: 1.8rem;
  }
  #newspost.entry > p:last-child,
  #newspost .entry > p:last-child {
    margin-bottom: auto;
  }

  .newsNavi .btn {
    position: relative;
    margin: auto;
    width: 300px;
    line-height: 48px;
    font-size: 1.4rem;
    text-align: center;
    border: 1px solid #000;
    letter-spacing: 0.2rem;
    text-decoration: 0.2rem;
  }
  .newsNavi .btn a {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    transition: all .8s;
  }
  .newsNavi .btn a:hover {
    color: #FFF;
  }
  .newsNavi .btn a:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 80px solid #000;
    transition: 0.5s ease-in-out;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .newsNavi .btn a:hover:before {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .newsNavi  .btn a::after {
    content: '≪';
    display: block;
    font-size: 1.6rem;
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
  }
  
}