/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */
/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {
  .newslist {
    width: 100%;
    height: auto;
  }
  .newslist ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .newslist li {
    width: 31.3333333333%;
    height: auto;
    display: block;
    background-color: var(--color-white);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    margin: 0 1% 2%;
    transition: .4s all;
  }
  .newslist li:hover {
    background-color: var(--color-white);
  }
  .newslist li a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: .4s all;
  }
  .newslist li a .nwimg {
    width: 100%;
    height: auto;
    display: block;
    transition: .4s all;
  }
  .newslist li a:hover .nwimg {
    opacity: 0.6;
  }
  .newslist li a .nwcc {
    width: 100%;
    height: auto;
    display: block;
    padding: 1.5em 1.5em 2em;
  }
  .newslist li a .nwcc h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--color-black);
    margin: 0 0 0.5em 0;
    transition: .4s all;
  }
  .newslist li a:hover .nwcc h3 {
    color: var(--color-2nd);
  }
  .newslist li a .nwcc p.nwcom {
    font-size: 14px;
    font-weight: 400;
    line-height: 2em;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: 0 0 1em 0;
  }
  .newslist li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-5th);
    text-align: right;
    margin: 0 0 0 0;
  }
}
/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .newslist {
    width: 100%;
    height: auto;
  }
  .newslist ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .newslist li {
    width: 31.3333333333%;
    height: auto;
    display: block;
    background-color: var(--color-white);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    margin: 0 1% 2%;
    transition: .4s all;
  }
  .newslist li:hover {
    background-color: var(--color-white);
  }
  .newslist li a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: .4s all;
  }
  .newslist li a .nwimg {
    width: 100%;
    height: auto;
    display: block;
    transition: .4s all;
  }
  .newslist li a:hover .nwimg {
    opacity: 0.6;
  }
  .newslist li a .nwcc {
    width: 100%;
    height: auto;
    display: block;
    padding: 2em 1.5em;
  }
  .newslist li a .nwcc h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--color-black);
    margin: 0 0 0.5em 0;
    transition: .4s all;
  }
  .newslist li a:hover .nwcc h3 {
    color: var(--color-2nd);
  }
  .newslist li a .nwcc p.nwcom {
    font-size: 14px;
    font-weight: 400;
    line-height: 2em;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    margin: 0 0 0.5em 0;
  }
  .newslist li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-5th);
    margin: 0 0 0 0;
  }
}
/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .newslist {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .newslist li {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    padding: 0 0 20px 0;
    border-bottom: 1px dotted var(--color-ccc);
    margin: 0 0 20px 0;
  }
  .newslist li a {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    padding: 1em;
    transition: .4s all;
  }
  .newslist li a:hover {
    background-size: 100% 1px;
  }
  .newslist li a .nwimg {
    width: 25%;
    height: auto;
    display: block;
  }
  .newslist li a .nwimg img {
    border-radius: 15px;
  }
  .newslist li a .nwcc {
    width: 70%;
    height: auto;
    display: block;
  }
  .newslist li a .nwcc h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--color-black);
    margin: 0 0 0.25em 0;
    transition: .4s all;
  }
  .newslist li a .nwcc p.nwcom {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: 0 0 0.5em 0;
  }
  .newslist li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-5th);
    margin: 0 0 0 0;
  }
}