/* ----------------------------------------------------------
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-ccc);
    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-f5);
  }
  .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-1st);
    line-height: 1.25em;
    margin-bottom: 5px;
  }
  .newslist ul li a .nwcc h3 {
    font-size:16px;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 0px;
  }
  .newslist ul li a .nwcc p.nwcomment {
    display:none;
  }

}

/* ----------------------------------------------------------
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-ccc);
    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-f5);
  }
  .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-1st);
    line-height: 1.25em;
    margin-bottom: 10px;
  }
  .newslist ul li a .nwcc h3 {
    font-size:24px;
    color: var(--color-black);
    font-weight: 100;
    line-height: 1.4em;
    margin-bottom: 10px;
  }
  .newslist ul li a .nwcc p.nwcomment {
    color:var(--color-black);
    line-height: 2em;
  }

}

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

  .newslist ul {
    width:100%;
    height: auto;
    display: flex;
    text-decoration: none;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .newslist li {
    width:33.333333333333%;
    padding:0;
    border-right:1px solid var(--color-ccc);
  }
  .newslist li:nth-child(3n) {
    border-right:none;
  }
  .newslist li:nth-child(-n + 4) {
    border-bottom:1px solid var(--color-ccc);
  }
  .newslist li:nth-last-child(-n+3) {
    border-bottom:none;
  }
  .newslist ul li a {
    width:100%;
    height: auto;
    display: block;
    padding:5%;
    text-decoration: none;
    background-color: var(--color-white);
    -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-f5);
  }
  .newslist ul li a .newsimg {
    width:100%;
    height: auto;
    display: block;
  }
  .newslist ul li a .nwcc {
    width:100%;
    height: auto;
    display: block;
    padding:25px 20px 25px;
    margin:0;
  }
  .newslist ul li a .nwcc p.nwdate {
    font-size:12px;
    font-weight: 400;
    color:var(--color-4th);
    line-height: 1.25em;
    margin-bottom: 5px;
  }
  .newslist ul li a .nwcc h3 {
    font-size:18px;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.6em;
    margin-bottom: 10px;
  }
  .newslist ul li a .nwcc p.nwcomment {
    color:var(--color-black);
    line-height: 2em;
  }

}
