.main_img img {
    width: 100%;
}

.product-grid {
    display: flex;
}

.product-box {
    padding: 5px;
}

.slick-next {
    right: 10px !important;
}

.slick-prev {
    left: 0px !important;
}

.recommend {
    margin-top: 5em;
}

.slick-slide a {
    color: #333;
    text-decoration-color: #333;
}

p.recommend-name {
    text-align: center;
  line-height: 1.5em;
}

li.slick-slide {
    padding: 10px;
}

ul.slick-recommend.slick-initialized.slick-slider {
    padding: 0;
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 30px !important;
    line-height: 1;
    opacity: .75;
    color: #333 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev:before,
.slick-next:before {
  font-family: "slick";
  opacity: 1;
  color: #333;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 10;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
  font-size: 30px;
}

.slick-recommend .slick-slide {
  height: auto;
}

.slick-recommend li {
  height: 100%;
}

.recommend-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.recommend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 全体 ===== */
.top-layout{
  display:flex;
  gap:20px;
  /*max-width:1400px;*/
  margin:2em auto;
  padding:20px;
  box-sizing:border-box;
  flex-direction: column;
}

.main_img {
    margin-bottom: 20px;
}

/* ===== 左カラム ===== */
/*.top-sidebar{
  width:260px;
  min-width:260px;
  background:#fff;
  border:1px solid #ddd;
}*/

.top-sidebar{
  background:#fff;
  border:1px solid #ddd;
  margin-top: 5em;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.category-list li {
    width: 20%;
}

.category-list li{
  border-bottom:1px solid #eee;
}

.category-list li a{
  display:block;
  padding:14px 16px;
  color:#333;
  text-decoration:none;
  transition:.2s;
}

.category-list li a:hover{
  background:#f5f5f5;
  color:#1e73be;
  padding-left:22px;
}

.category-list img{
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 5px;
}

/* ===== 右カラム ===== */
.top-main {
    flex: 1;
}

/* ===== スマホ ===== */
@media screen and (max-width:768px){

  .top-layout {
        padding: 10px;
    }

  .top-sidebar{
    width:100%;
    min-width:auto;
  }

  .main-slider{
    height:220px;
  }

  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .side-title {
    font-size: 18px;
    text-align: center;
    padding: 10px;
    background-color: #008ec5;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}
  
  .category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
  
  .category-list li {
    width: 100% !important;
}
  
  .top-sidebar {
    background: #fff;
    border: 1px solid #ddd;
    margin-top: 2em !important;
}
  
  a.pc_img {
    display: none;
}

}

@media screen and (min-width:1025px){
  
  .side-title {
    padding: 20px;
    text-align: center;
    background-color: #008ec5;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
  
  a.sp_img {
    display: none;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
  .top-layout {
    display: flex;
    gap: 20px;
    flex-direction: column-reverse;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
  
  ul.category-list {
    display: flex;
    flex-wrap: wrap;
}
  
  .top-sidebar {
    min-width: 260px;
    background: #fff;
    border: 1px solid #ddd;
}
  
  .category-list li {
    border-bottom: 1px solid #eee;
    width: 33.3333%;
}
  
 .side-title {
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    background-color: #008ec5;
    color: #fff;
    margin-bottom: 30px;
}
  
  .top-sidebar {
    width: 100% !important;
    min-width: 260px;
    background: #fff;
    border: 1px solid #ddd;
}
}