/* Style for PCs */
@media screen and (min-width: 1025px) {
  .mediabox-left {
    width: 18%;
    height: auto;
    display: block;
    float: left;
  }
  .mediabox-right {
    width: 78%;
    height: auto;
    display: block;
    float: right;
  }
  #media-list .pb0 {
    padding-bottom: 0;
  }
  #media-list h2 {
    margin-bottom: 20px;
  }
  #media-list ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  #media-list ul li {
    display: block;
    width: auto;
    height: 70px;
    margin: 0 1% 2%;
    padding: 0;
    float: left;
  }
  #media-list ul li img {
    border: 1px solid #999;
    width: auto;
    height: 100%;
  }
}
/* Style for iPad Pro */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .mediabox-left {
    width: 18%;
    height: auto;
    display: block;
    float: left;
  }
  .mediabox-right {
    width: 78%;
    height: auto;
    display: block;
    float: right;
  }
  #media-list .pb0 {
    padding-bottom: 0;
  }
  #media-list h2 {
    margin-bottom: 20px;
  }
  #media-list ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  #media-list ul li {
    display: block;
    width: auto;
    height: 70px;
    margin: 0 1% 2%;
    padding: 0;
    float: left;
  }
  #media-list ul li img {
    border: 1px solid #999;
    width: auto;
    height: 100%;
  }
}
/* Style for iPad */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .mediabox-left {
    width: 28%;
    height: auto;
    display: block;
    float: left;
  }
  .mediabox-right {
    width: 68%;
    height: auto;
    display: block;
    float: right;
  }
  #media-list .pb0 {
    padding-bottom: 0;
  }
  #media-list h2 {
    margin-bottom: 20px;
  }
  #media-list ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  #media-list ul li {
    display: block;
    width: auto;
    height: 70px;
    margin: 0 1% 2%;
    padding: 0;
    float: left;
  }
  #media-list ul li img {
    border: 1px solid #999;
    width: auto;
    height: 100%;
  }
}
/* Style for Smartphone */
@media screen and (max-width: 480px) {
  .mediabox-left {
    width: 100%;
    height: auto;
    display: block;
    float: none;
    margin-bottom: 20px;
  }
  .mediabox-right {
    width: 100%;
    height: auto;
    display: block;
     float: none;
  }
  #media-list .pb0 {
    padding-bottom: 0;
  }
  #media-list h2 {
    margin-bottom: 20px;
  }
  #media-list ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  #media-list ul li {
    display: block;
    width: auto;
    height: 60px;
    margin: 0 2% 2% 0;
    padding: 0;
    float: left;
  }
  #media-list ul li img {
    border: 1px solid #999;
    width: auto;
    height: 100%;
  }
}