/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */


/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {

  .newslist ul {
    margin-bottom: 40px;
  }

  .newslist ul li {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 15px;
    border-bottom: 1px dotted var(--color-3rd);
    margin-bottom: 15px;
  }

  .newslist ul li:last-child {
    padding-bottom: 0px;
    border-bottom: none;
    margin-bottom: 0px;
  }

  .newslist ul li a {
    width: 100%;
    height: auto;
    display: block;
    padding: 5px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }

  .newslist ul li a:hover {
    background-color: var(--color-3rd);
  }

  .newslist ul li a .newsimg {
    width: 30%;
    height: auto;
    display: block;
    float: left;
  }

  .newslist ul li a .nwcc {
    width: 70%;
    height: auto;
    display: block;
    padding: 0px 0px 0px 15px;
    margin: 0;
    float: right;
  }

  .newslist ul li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-2nd);
    line-height: 1.25em;
    margin-bottom: 5px;
  }

  .newslist ul li a .nwcc h3 {
    font-size: 16px;
    font-family: 'Noto Serif JP', serif;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 10px;
  }

  .newslist ul li a .nwcc p.nwcomment {
    display: none;
  }

  .newslist ul li a .nwcc p.nwbn {
    width: 100px;
    height: 20px;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 0 0 0 8px;
    color: var(--color-white);
    margin-bottom: 0px;
    background-color: var(--color-black);
    background-image: url(../img/header/ic-ar_h_w.png);
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: auto 70%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  .newslist ul li a:hover .nwcc p.nwbn {
    background-color: var(--color-1st);
  }

}

/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  .newslist ul {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
  }

  .newslist ul li {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 20px;
    border-bottom: 1px dotted var(--color-2nd);
    margin-bottom: 20px;
  }

  .newslist ul li:last-child {
    padding-bottom: 0px;
    border-bottom: none;
    margin-bottom: 0px;
  }

  .newslist ul li a {
    width: 100%;
    height: auto;
    display: block;
    padding: 15px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }

  .newslist ul li a:hover {
    background-color: var(--color-4th);
  }

  .newslist ul li a .newsimg {
    width: 30%;
    height: auto;
    display: block;
    float: left;
  }

  .newslist ul li a .nwcc {
    width: 70%;
    height: auto;
    display: block;
    padding: 0px 0px 0px 35px;
    margin: 0;
    float: right;
  }

  .newslist ul li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-2nd);
    line-height: 1.25em;
    margin-bottom: 10px;
  }

  .newslist ul li a .nwcc h3 {
    font-size: 24px;
    color: var(--color-1st);
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 10px;
  }

  .newslist ul li a .nwcc p.nwcomment {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 6em;
    overflow: hidden;
    color: var(--color-black);
    line-height: 2em;
    margin-bottom: 15px;
  }

  .newslist ul li a .nwcc p.nwbn {
    width: 100px;
    height: 20px;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 0 0 0 8px;
    color: var(--color-white);
    margin-bottom: 15px;
    background-color: var(--color-black);
    background-image: url(../img/header/ic-ar_h_w.png);
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: auto 70%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  .newslist ul li a:hover .nwcc p.nwbn {
    background-color: var(--color-1st);
  }

}

/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {

  .newslist ul {
    width: 100%;
    height: auto;
    display: flex;
    text-decoration: none;
    flex-wrap: wrap;
    margin-bottom: 0px;
  }

  .newslist li {
    width: 24%;
    margin: 0 0.5% 50px;
  }
  
  .sec-col .newslist li {
    width: 49%;
  }

  .newslist ul li a {
    width: 100%;
    height: auto;
    display: block;
    text-decoration: none;
    background-color: var(--color-4th);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }

  .newslist ul li a:hover {
    background-color: var(--color-3rd);
  }

  .newslist ul li a .newsimg {
    width: 100%;
    height: auto;
    display: block;
  }

  .newslist ul li a .nwcc {
    width: 100%;
    height: auto;
    display: block;
    padding: 25px 25px 35px;
    margin: 0;
  }

  .newslist ul li a .nwcc p.nwdate {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-2nd);
    line-height: 1.25em;
    margin-bottom: 5px;
  }

  .newslist ul li a .nwcc h3 {
    font-size: 18px;
    color: var(--color-1st);
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    line-height: 1.6em;
    margin-bottom: 5px;
  }

  .newslist ul li a .nwcc p.nwcomment {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 4em;
    overflow: hidden;
    color: var(--color-black);
    line-height: 2em;
    margin-bottom: 15px;
  }
  @media screen and (min-width: 1281px) {
    .newslist ul li a .nwcc p.nwcomment {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      min-height: 6em;
    }
  }

  .newslist ul li a .nwcc p.nwbn {
    width: 100px;
    height: 20px;
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 0 0 0 8px;
    color: var(--color-white);
    background-color: var(--color-black);
    background-image: url(../img/header/ic-ar_h_w.png);
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: auto 70%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  .newslist ul li a:hover .nwcc p.nwbn {
    background-color: var(--color-1st);
  }

}
