/* カテゴリ */

.sidebar-title {
  display: flex;
}

.sidebar-title h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  padding-left: 13.7px;
  border-left: 2px solid #ED7483;
  line-height: 40px;
}

.sidebar-category-main {
  margin-top: 4px;
}

.sidebar-category-content {
  padding: 0 10px;
}

.sidebar-category-content a {
  font-size: 18px;
  color: #333333;
  display: flex;
}

.sidebar-category-content a img {
  width: 9.8px;
  height: 100%;
  vertical-align: middle;
  margin-left: auto;
}

.sidebar-category-dotted {
  width: 100%;
  height: 2px;
  margin: 24px 0;
}

.sidebar-category-link {
  margin-top: 4px;
  text-align: center;
}

.sidebar-category-link a {
  display: inline-block;
  padding: 13px 23.4px 13px 23.4px;
  background-color: #ED7483;
  border-radius: 9.2px;
  font-size: 13px;
  letter-spacing: 0.65px;
  color: #ffffff;
}

@media screen and (max-width:769px) {
  .sidebar-category {
    margin-top: 9.33333vw;
    padding: 0 6.13333vw;
  }

  .sidebar-title img {
    width: 10.666vw;
  }

  .sidebar-title h2 {
    font-size: 6.4vw;
    line-height: 10.666vw;
  }

  .sidebar-category-main {
    margin: 0;
  }

  .sidebar-category-content {
    padding: 0 2.48vw;
  }

  .sidebar-category-content a {
    font-size: 4.8vw;
  }

  .sidebar-category-content a img {
    width: 2.64vw;
  }

  .sidebar-category-dotted {
    margin: 5.6vw 0;
  }

  .sidebar-category-link {
    margin-top: 2.24vw;
  }

  .sidebar-category-link a {
    font-size: 3.46666vw;
    padding: 3.52vw  6vw;
    border-radius: 2.453333vw;
    white-space: nowrap;
  }

  .sidebar-category-link img {
    margin-left: 4.8vw;
    width: 1.68vw;
  }

}



/* ランキング */

.sidebar-popular {
  margin-top: 48px;
}

.sidebar-popular-main {
  margin-top: 20px;
}

.sidebar-popular-box {
  display: block;
  margin-bottom: 20px;
}

.sidebar-popular-thumbnail {
  display: block;
  width: 100%;
  position: relative;
}

.sidebar-popular-thumbnail img {
  width: 270px;
  height: 100%;
  border-radius: 5px 0 0 0;
}

.sidebar-popular-thumbnail .sidebar-popular-arrow {
  width: 9.6px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.sidebar-popular-ranking {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 67.7px;
  height: 67.7px;
  border-radius: 0 0 67.7px 0;
  background-color: #ffffffdc;
  font-size: 30px;
  font-weight: bold;
  padding-top: 10px;
  padding-left: 5px;
  color: #4d4d4d;
}

.sidebar-popular-box:nth-child(1) .sidebar-popular-ranking {
  color: #c79f62;
}

.sidebar-popular-box:nth-child(2) .sidebar-popular-ranking {
  color:#808080;
}

.sidebar-popular-box:nth-child(3) .sidebar-popular-ranking {
  color: #754c24;
}

.sidebar-popular-box:nth-child(n+4) .sidebar-popular-ranking {
  text-align: center;
  padding-left: 0;
}

.sidebar-popular-ranking i {
  font-size: 16px;
  margin-right: 5px;
}

.sidebar-popular-box:nth-child(n+4) .sidebar-popular-ranking i {
   display: none;
}

.sidebar-popular-content {
  margin-top: 10px;
}

.sidebar-popular-content h3 {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.41;
  color: #333333;
}

.sidebar-popular-content p {
  font-size: 15px;
  line-height: 1.67;
  color: #333333;
  margin-top: 10px;
}

@media screen and (max-width:769px) {
  .sidebar-popular {
    margin-top: 9.52vw;
    margin-bottom: 5.6vw;
  }

  .sidebar-popular .sidebar-title {
    padding: 0 6.13333vw 3.33333vw;
    border-bottom: 0.5px solid #333333;
  }

  .sidebar-popular-main {
    width: auto;
    margin-top: 4.8vw;
    display: flex;
    overflow-x: auto;
  }

  .sidebar-popular-box {
    min-width: 72vw;
    padding: 0 3.2vw;
    margin-bottom: 4.777333vw;
    display: flex;
    flex-direction: column;
  }

  .sidebar-popular-box:nth-child(1) {
    padding-left: 6.4vw;
  }

  .sidebar-popular-box:nth-last-child(1) {
    padding-right: 6.4vw;
  }

  .sidebar-popular-thumbnail {
    width: 72vw;
  }

  .sidebar-popular-thumbnail img {
    width: 100%;
    height: 45.8666666vw;
    object-fit: cover;
  }

  .sidebar-popular-content {
    margin: 3.73333vw 0 0;
  }

  .sidebar-popular-content h3 {
    font-size: 5.3333vw;
    line-height: 1.3;
  }

  .sidebar-popular-content .sidebar-popular-date {
    font-size: 3.46666vw;
    margin-top: 2.4vw;
    color: #808080;
  }

  .sidebar-popular-content p {
    font-size: 4vw;
    line-height: 1.6;
    margin-top: 3.2vw;
  }

  .sidebar-popular-ranking {
    width: 18vw;
    height: 18vw;
    border-radius: 0 0 18vw 0;
    background-color: #ffffffdc;
    font-size: 8vw;
    font-weight: bold;
    padding-top: 2.6666vw;
    padding-left: 1.3333vw;
    color: #4d4d4d;
  }

  .sidebar-popular-ranking i {
    font-size: 4.26666vw;
    margin-right: 1.33333vw;
  }
}