html { 
  scroll-behavior: smooth;
}
img {
	width: 100%;
}
.wrap {
	overflow: visible;
  color: #9e9e9e;
  font-family: "Hiragino Kaku Gothic StdN W1", sans-serif !important;
  max-width: 960px;
  margin: 0 auto;
}
.main-ttile img {
   margin-top: 30px;
}
.main-ttile__text {
  margin-top: 50px;
  font-size: 20px;
  text-align: center;
}
.category-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin-top: 60px;
}
.category-btn {
  border: 1px solid #000;
  text-align: center;
  background: #fff;
  display: flex;
  align-items: center;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
}
.category-btn a {
  display: contents;
}
.category-btn:hover {
	opacity: .6;
}
.category-btn img {
  width: auto;
  display: block;
  height: 98px;
}
.category-btn__text {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin: 0 auto;
}
.category-btn__text::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}
.main-block {
  margin-bottom: 30px;
}
.item-block {
  position: relative;
  margin-top: 30px;
}
.item-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: 1px;
  background-color: #9e9e9e;
}
.gift-title {
  margin-top: 60px;
}
.top-title {
  text-align: center;
  color: #9e9e9e;
  font-size: 29px;
}
.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin-top: 30px;
}
.item-list__text {
  position: absolute;
  font-size: 14px;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.item-list__text:hover {
  text-decoration: underline;
}
.item-list__label {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  background-color: #777777;
  font-size: 18px;
  padding: 10px 20px;
}
.rank-1 {
  background-color: #A08C5B;
}
.rank-2 {
  background-color: #ADADAD;
}
.rank-3 {
  background-color: #A0765B;
}
.more-btn {
  width: 322px;
  margin: 0 auto;
  padding: 31px 0;
}
.more-btn___text {
  display: inline-block;
  padding: 20px 5px;
  font-size: 16px;
  border: 1px solid #000;
  text-align: center;
  transition: 0.3s;
  border-radius: 4px;
}
.more-btn___text:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none !important;
}

@media screen and (max-width: 768px) {
  .main-ttile img {
     margin-top: 15px;
  }
  .main-ttile__text {
    margin-top: 30px;
    font-size: 13px;
    padding: 0 20px;
  }
  .category-item {
    grid-template-columns: repeat(2, 1fr); 
    padding: 0 20px;
    margin-top: 30px;
    gap: 20px;
  }
  .category-btn {
    display: block;
    height: auto;
  }
  .category-btn img {
    height: auto;
  }
  .category-btn__text {
    padding: 5px 0 15px;
    font-size: 12px;
  }
  .category-btn__text::after {
    bottom: 7px;
    width: 6px;
    height: 6px;
  }
  .item-list {
    grid-template-columns: repeat(2, 1fr); 
    padding: 0 25px;
    gap: 20px;
    margin-top: 20px;
  }
  .gift-title {
    margin-top: 30px;
  }
  .top-title {
    font-size: 16px;
  }
  .item-list__label {
    top: 10px;
    left: 10px;
    font-size: 13px;
    padding: 2px 7px;
  }
  .item-list__text {
    position: static;
    font-size: 12px;
    transform: none;
    text-align: center;
    margin-top: 15px;
  }
  .more-btn {
    width: 344px;
  }
  .more-btn___text {
    font-size: 14px;
    padding: 10px 20px;
  }
  .item-block::after {
    width: 100%;
  }
}