@font-face {
  font-family: "Source Han Sans JP Subset";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/upload/tenant_1/dokodemo-shs-jp-bold-subset.bin) format("woff2");
}
@font-face {
  font-family: "Source Han Sans JP Subset";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/upload/tenant_1/dokodemo-shs-jp-normal-subset.bin) format("woff2");
}

html {
  background: #a6a6a6;
  font-size: max(6.25px, calc(100vw / 96));
}
body {
  margin: 0;
  background: #a6a6a6;
}

.up-d-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.up-d-page {
  width: 100%;
  min-width: 96rem;
  padding-top: 3.8rem;
  background: url(/upload/tenant_1/up-bg-pattern.webp) no-repeat right bottom / cover, #a6a6a6;
  font-family: "Noto Sans JP", sans-serif;
}
.up-d-page img {
  display: block;
  width: 100%;
  height: auto;
}
.up-d-page a {
  text-decoration: none;
}

.up-d-hero {
  display: block;
  width: 100%;
}

.up-d-container {
  width: 96rem;
  margin: 0 auto;
  padding: 0 4.8rem 8rem;
}

.up-d-heading {
  padding: 2.8rem 0;
}
.up-d-heading .up-d-heading-img {
  width: 40rem;
  height: auto;
}

.up-d-banners {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.up-d-banner {
  position: relative;
  display: block;
  aspect-ratio: 4000 / 519;
  border-radius: 1.4rem;
  overflow: hidden;
}
.up-d-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.up-d-banner-tags {
  position: absolute;
  top: 1.2rem;
  left: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.up-d-banner-name {
  position: absolute;
  top: 50%;
  left: 69%;
  transform: translateY(-50%);
  max-width: 26rem;
  overflow: hidden;
  color: #fff;
  font-family: "Source Han Sans JP Subset", "Noto Sans JP", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
.up-d-banner-more {
  position: absolute;
  right: 0.55rem;
  bottom: 2.2rem;
}

.up-d-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 1.2rem;
  row-gap: 4rem;
  margin-top: 9.6rem;
}
.up-d-cell {
  position: relative;
  display: block;
  aspect-ratio: 727 / 902;
  border-radius: 1.2rem;
  overflow: hidden;
}
.up-d-cell-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.up-d-cell--others {
  grid-column-start: 1;
}

.up-d-cell-tag {
  position: absolute;
  top: 0.7rem;
  right: 0.72rem;
  max-width: calc(100% - 1.44rem);
  padding: 0.17rem 0.7rem;
  font-size: 1.33rem;
  line-height: 1.15;
}
.up-d-cell-name {
  position: absolute;
  left: 0.9rem;
  right: 0.7rem;
  bottom: 3.1rem;
  color: #fff;
  font-family: "Source Han Sans JP Subset", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.33;
}
.up-d-cell-more {
  position: absolute;
  left: 0.53rem;
  bottom: 1.22rem;
  padding: 0.38rem 0.65rem;
  font-size: 0.66rem;
  line-height: 1.2;
}

/* カテゴリラベル(画像なし・CSS背景色+HTMLテキスト) */
.up-d-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.up-d-cat--skincare {
  background: #b6946f;
}
.up-d-cat--haircare {
  background: #000000;
}
.up-d-cat--others {
  background: #534d47;
}
.up-d-cat-label {
  font-family: "Source Han Sans JP Subset", "Noto Sans JP", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}
.up-d-cat-arrow {
  position: absolute;
  right: 0.95rem;
  bottom: 1.35rem;
  font-size: 1.8rem;
  line-height: 1;
}

/* 半透明バッジ(ハッシュタグ・NEW・Read more共通) */
.up-d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: "Source Han Sans JP Subset", "Noto Sans JP", sans-serif;
  font-weight: 400;
  white-space: nowrap;
}
.up-d-badge--new {
  font-weight: 700;
}
.up-d-banner-tags .up-d-badge,
.up-d-banner-more {
  padding: 0.2rem 1.1rem;
  font-size: 1rem;
  line-height: 1.2;
}
.up-d-arrow {
  display: inline-block;
}
