@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
}

.fs-l-page {
  background-color: #f9f6f3;
}

.fs-l-main {
  background-color: #ffffff;
}

.category-comment {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 2.769rem + 1.026vw, 4rem);
  max-width: initial;
  line-height: 1.8;
  color: #2b221a;
  letter-spacing: 0.001em;
}
.category-comment:nth-of-type(2) {
  display: none;
}
.category-comment a:hover {
  text-decoration: none;
}
.category-comment a.disabled {
  cursor: default;
}

section.gift__intro::after, section.gift__voc::after {
  display: block;
  width: 100%;
  aspect-ratio: 16/4;
  margin-top: 2rem;
  content: "";
  background-repeat: no-repeat;
  background-size: cover;
}
section.gift__intro::after {
  background-image: url("https://sleep.itembox.design/item/category/img/feature/gift/punctuation1.jpg");
}
section.gift__voc::after {
  background-image: url("https://sleep.itembox.design/item/category/img/feature/gift/punctuation2.jpg");
}

@media screen and (max-width: 767px) {
  .gift__header {
    margin-inline: -1.5rem;
  }
}
.gift__header img {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 0% 50%;
}
@media screen and (min-width: 768px) {
  .gift__header img {
    aspect-ratio: 16/8;
  }
}
.gift__contents {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  place-items: center;
}
@media screen and (min-width: 768px) {
  .gift__contents {
    padding-block: 2rem;
  }
}
.gift__contents-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  place-items: center;
  font-size: clamp(1.15rem, 1.069rem + 0.359vw, 1.5rem);
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
}
.gift__contents-heading::after {
  display: block;
  width: 90%;
  height: 1px;
  content: "";
  background-color: #2b221a;
}
.gift__contents-body {
  display: grid;
  gap: 1.5rem;
  place-items: center;
}
@media screen and (min-width: 768px) {
  .gift__contents-body {
    grid-template-columns: 320px 1fr;
    gap: 2rem;
  }
}
.gift__contents-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  place-items: end;
  width: 100%;
}
.gift__contents-desc {
  width: 100%;
}
.gift__contents-notice {
  font-size: 0.9em;
}
.gift__contents-image {
  overflow: hidden;
  border-radius: 0.5rem;
}
.gift__contents-link {
  display: flex;
  gap: 8px;
  place-content: space-between;
  place-items: center;
  padding: 8px 16px;
  font-size: 0.9em;
  color: #2b221a;
  border: 1px solid #2b221a;
  border-radius: calc(infinity * 1px);
  transition: 0.3s;
}
.gift__contents-link:not(.disabled)::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('data:image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" fill="%232d3c5a" xmlns="http://www.w3.org/2000/svg"><g><path d="M12.3599 3.95146C12.3042 3.8975 12.238 3.8547 12.1651 3.82549C12.0922 3.79628 12.0141 3.78125 11.9352 3.78125C11.8562 3.78125 11.7781 3.79628 11.7052 3.82549C11.6323 3.8547 11.5661 3.8975 11.5104 3.95146L6.53598 8.75665L1.56153 3.95146C1.44889 3.84267 1.29611 3.78155 1.1368 3.78155C0.977493 3.78155 0.82471 3.84267 0.712063 3.95146C0.599417 4.06024 0.536133 4.20779 0.536133 4.36164C0.536133 4.51549 0.599417 4.66304 0.712063 4.77183L6.11124 9.98604C6.16697 10.04 6.23317 10.0828 6.30605 10.112C6.37893 10.1412 6.45707 10.1562 6.53598 10.1562C6.61488 10.1562 6.69302 10.1412 6.7659 10.112C6.83878 10.0828 6.90498 10.04 6.96071 9.98604L12.3599 4.77183C12.4158 4.71801 12.4601 4.65408 12.4903 4.58369C12.5206 4.5133 12.5361 4.43785 12.5361 4.36164C12.5361 4.28544 12.5206 4.20998 12.4903 4.13959C12.4601 4.06921 12.4158 4.00527 12.3599 3.95146Z"/></g></svg>');
  transform: rotate(-90deg);
}
.gift__contents-link:not(.disabled):hover {
  color: #ffffff;
  background-color: #2b221a;
}
.gift__contents-link:not(.disabled):hover::after {
  display: block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('data:image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg"><g><path d="M12.3599 3.95146C12.3042 3.8975 12.238 3.8547 12.1651 3.82549C12.0922 3.79628 12.0141 3.78125 11.9352 3.78125C11.8562 3.78125 11.7781 3.79628 11.7052 3.82549C11.6323 3.8547 11.5661 3.8975 11.5104 3.95146L6.53598 8.75665L1.56153 3.95146C1.44889 3.84267 1.29611 3.78155 1.1368 3.78155C0.977493 3.78155 0.82471 3.84267 0.712063 3.95146C0.599417 4.06024 0.536133 4.20779 0.536133 4.36164C0.536133 4.51549 0.599417 4.66304 0.712063 4.77183L6.11124 9.98604C6.16697 10.04 6.23317 10.0828 6.30605 10.112C6.37893 10.1412 6.45707 10.1562 6.53598 10.1562C6.61488 10.1562 6.69302 10.1412 6.7659 10.112C6.83878 10.0828 6.90498 10.04 6.96071 9.98604L12.3599 4.77183C12.4158 4.71801 12.4601 4.65408 12.4903 4.58369C12.5206 4.5133 12.5361 4.43785 12.5361 4.36164C12.5361 4.28544 12.5206 4.20998 12.4903 4.13959C12.4601 4.06921 12.4158 4.00527 12.3599 3.95146Z"/></g></svg>');
}
.gift__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 1.769rem + 1.026vw, 3rem);
  place-content: center;
  text-align: center;
}
.gift__intro-heading {
  font-size: clamp(1.5rem, 1.385rem + 0.513vw, 2rem);
  font-weight: bold;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 767px) {
  .gift__intro-desc {
    text-align: left;
  }
}
.gift__intro-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  place-content: center;
}
@media screen and (min-width: 768px) {
  .gift__intro-menu {
    display: flex;
    gap: 1.5rem;
  }
}
.gift__appeal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  place-items: center;
}
.gift__appeal-desc {
  text-align: center;
}
.gift__points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  place-items: center;
  width: 100%;
  max-width: 720px;
  padding: 2rem 1rem;
  text-align: center;
  background-color: #f9f6f3;
  border-radius: 0.5rem;
}
@media screen and (min-width: 768px) {
  .gift__points {
    padding-inline: 2.5rem;
  }
}
.gift__points-heading {
  font-size: 1.25rem;
  font-weight: bold;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.gift__points-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  width: 100%;
  font-size: 0.9em;
}
@media screen and (min-width: 768px) {
  .gift__points-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.gift__points-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  place-items: center;
}
.gift__points img {
  width: 40px;
  aspect-ratio: 1;
}
.gift__consultation {
  gap: 1.25rem;
  padding-block: 2rem;
  padding-inline: clamp(1rem, 0.654rem + 1.538vw, 2.5rem);
  border: 1px solid #e4e0dd;
  border-radius: 0.5rem;
}
@media screen and (min-width: 768px) {
  .gift__consultation .gift__contents-body {
    grid-template-columns: 180px 1fr;
    gap: 2rem;
  }
}
.gift__consultation .gift__contents-heading {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.gift__consultation .gift__contents-image {
  max-width: 200px;
  overflow: hidden;
  border-radius: 50%;
}
.gift__consultation .gift__contents-text {
  place-items: start;
}
.gift__consultation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0.5rem;
}
.gift__voc {
  gap: clamp(2rem, 1.769rem + 1.026vw, 3rem);
}
.gift__voc .gift__contents-body {
  gap: 4rem;
  place-items: stretch;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media screen and (min-width: 768px) {
  .gift__voc .gift__contents-body {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.gift__voc-item {
  position: relative;
  place-items: center;
  padding: 1rem;
  -webkit-padding-before: 3.5rem;
          padding-block-start: 3.5rem;
  background-color: #f9f6f3;
  border-radius: 0.5rem;
}
.gift__voc-item-image {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 80px;
  height: 80px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e4e0dd;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.gift__voc-item-image img {
  width: inherit;
  aspect-ratio: inherit;
  object-fit: cover;
}
.gift__voc-item-comment {
  font-size: 0.9em;
}
.gift__product {
  padding-block: clamp(1.5rem, 1.385rem + 0.513vw, 2rem);
  padding-inline: clamp(1rem, 0.538rem + 2.051vw, 3rem);
  border: 1px solid #e4e0dd;
  border-radius: 0.5rem;
}
.gift__product .gift__contents-heading {
  font-size: clamp(1.5rem, 1.385rem + 0.513vw, 2rem);
  line-height: 1.5;
  color: #9a8855;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.gift__product .gift__contents-desc {
  text-align: center;
}
.gift__product-list {
  display: grid;
  gap: 1.5rem;
}
#ranking .gift__product-list {
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  #ranking .gift__product-list {
    gap: 4rem;
  }
}
@media screen and (min-width: 768px) {
  .gift__product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
.gift__product-item {
  display: grid;
  grid-template-columns: 30vw 1fr;
  gap: 1rem;
  place-items: center;
}
@media screen and (min-width: 768px) {
  .gift__product-item {
    gap: 0.5rem;
  }
}
#ranking .gift__product-item {
  position: relative;
}
#ranking .gift__product-item:nth-of-type(1)::before {
  content: "1";
  filter: saturate(300%);
}
#ranking .gift__product-item:nth-of-type(2)::before {
  content: "2";
  filter: saturate(150%);
}
#ranking .gift__product-item:nth-of-type(3)::before {
  content: "3";
  filter: saturate(100%);
}
#ranking .gift__product-item::before {
  position: absolute;
  top: calc(clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem) * -1);
  left: 50%;
  width: clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem);
  aspect-ratio: 1;
  font-size: calc(clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem) / 2.5);
  font-weight: bold;
  line-height: calc(clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem) * 1.3);
  color: #ffffff;
  text-align: center;
  background-image: url('data:image/svg+xml;utf8,<svg width="36" height="36" viewBox="0 0 576 512" fill="%239a8855" xmlns="http://www.w3.org/2000/svg"><g><path  d="M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34l-57.3 114.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40h.7l45.7 251.4c5.5 30.4 32 52.6 63 52.6h277.2c30.9 0 57.4-22.1 63-52.6L535.3 176h.7c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7z"/></g></svg>');
  background-position: top;
  transform: translateX(-50%);
  display: block;
  width: clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem);
  height: clamp(2.5rem, 2.269rem + 1.026vw, 3.5rem);
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .gift__product-item {
    display: flex;
    flex-direction: column;
  }
}
.gift__product-item-image {
  overflow: hidden;
  border-radius: 0.5rem;
}
.gift__product-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  place-items: center;
}
.gift__product-item-name {
  font-size: clamp(1rem, 0.942rem + 0.256vw, 1.25rem);
  font-weight: bold;
}
.gift__product-item-desc {
  font-size: 0.9em;
}/*# sourceMappingURL=category_gift.css.map */