@charset "utf-8";

/*--------------------------------
ギフトモールCSS改変　ここから
--------------------------------*/

div.block-goods-comment-inner {
  justify-content: normal !important;
}

p.block-goods-comment-count{
  height: auto !important;
  overflow: visible !important;
  margin-bottom: 20px !important;
}

.read-more-comment {
  display: none !important;
}

.block-goods-comment-count-cover {
  display: none !important;
}

/*--------------------------------
ギフトモールCSS改変　ここまで
--------------------------------*/

a.link-btn div{
  text-align: center;
  border: solid 1px #444;
  padding: 5px 0;
  border-radius: 50px;
  box-shadow: 5px 5px #ddd;
  position: relative;
  background: #fff;
}

a.link-btn div:active{
  /* ボタンをクリックしたときに沈むように見える動き */
  box-shadow: 0 0 0 #ddd;
  top: 5px;
  left: 5px;
}

a.link-btn div:after{
  content: '';
  border: 0;
  border-top: solid 1px #444;
  border-right: solid 1px #444;
  display: inline-block;
  width: 10px;
  height: 10px;
  /* 矢印アイコンの位置を設定 */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
}

h4.title{
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
}

div.category{
  margin-bottom: 80px;
}

div.category ul{
  display: grid;
  gap: 45px;
  grid-template-columns: repeat(3, 1fr);
}

div.category ul li img{
  width: 100%;
  border-radius: 50%;
}

div.category ul li p{
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

div.category ul li a div{
  width: 90%;
  margin: 0 5%;
}

div.reco-item{
  margin-bottom: 80px;
}

div.reco-item ul{
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 1fr);
}

div.reco-item ul li img{
  width: 100%;
  border-radius: 10px;
}

div.reco-item ul li p{
  margin: 10px 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  line-height: 1.6;
}

@media screen and (max-width: 767px){

div.category{
  margin-bottom: 40px;
  border-top: solid 1px #ccc;
    padding: 50px 0;
    border-bottom: solid 1px #ccc;
}

div.category ul{
  display: flex;
  gap: 30px;
  overflow-x: scroll;
  overflow-y: auto;
  padding-left: calc((100% - var(--INNER_WIDTH)) / 2);
  padding-right: calc((100% - var(--INNER_WIDTH)) / 2);
  padding-bottom: 25px;
}

div.category ul li{
  width: 50%;
  flex-shrink: 0;
}

div.category ul li img{
  width: 100%;
  border-radius: 50%;
}

div.category ul li p{
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

div.category ul li a div{
  width: 100%;
}

}
