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


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

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

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

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

  .bloglist 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;
  }

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

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

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

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

  .bloglist ul li a .nwcc h3 {
    font-size: 16px;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.4em;
    margin-bottom: 0px;
  }

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

}

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

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

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

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

  .bloglist 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;
  }

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

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

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

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

  .bloglist ul li a .nwcc h3 {
    font-size: 24px;
    color: var(--color-black);
    font-weight: 100;
    line-height: 1.4em;
    margin-bottom: 10px;
  }

  .bloglist 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;
  }

}

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

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

  .bloglist li {
    width: 33.333333333333%;
    padding: 0;
    border-right: 1px solid var(--color-3rd);
  }

  .bloglist li:nth-child(3n) {
    border-right: none;
  }

  .bloglist li:nth-child(-n + 4) {
    border-bottom: 1px solid var(--color-3rd);
  }

  .bloglist li:nth-last-child(-n+3) {
    border-bottom: none;
  }

  .bloglist 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;
  }

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

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

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

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

  .bloglist ul li a .nwcc h3 {
    font-size: 18px;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.6em;
    margin-bottom: 10px;
  }

  .bloglist 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;
  }

}
