@charset "UTF-8";

:root {
  --price_fontSize_sp: 1.2rem;
  --priceOld_fontSize_sp: 0.8rem;
  --itemName_fontSize_sp: 1.2rem;
  --badgeText_sp: 1.2rem;
  --price_fontSize: 1.4rem;
  --priceOld_fontSize: 1rem;
  --itemName_fontSize: 1.2rem;
  --badgeText: 1.4rem;
  --oosText: 1.6rem;
}

html,
body {
  scroll-behavior: smooth;
}

#fltBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

#fltBtn.is-show {
  opacity: 1;
  visibility: visible;
}

#fltBtn img {
  width: 80px;
  height: auto;
}

.spView {
  width: 100%;
  height: auto;
  display: block;
}

.pcView {
  display: none;
}

.saleContainer a,
.saleContainer a:link,
.saleContainer a:visited,
.saleContainer a:hover {
  color: #303030;
  text-decoration: none;
  cursor: pointer;
}

.saleContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.saleTitle {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.categoryMenu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  width: 100%;
  margin: 2% auto;
  margin-bottom: 10px;
  padding: 10px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
}

.categoryItem {
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  width: calc(96% / 2);
  margin: 4px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: space-between;
  align-items: center;
  color: #fff;
  /*padding-top: 18%;*/
}

.categoryItem a,
.categoryItem a:link,
.categoryItem a:visited,
.categoryItem a:hover {
  width: 100%;
  display: block;
  height: auto;
}

.categoryItem a img {
  width: 100%;
  display: block;
  height: auto;
}

/*
.categoryItem.jewely {
  content: "";
  background: url("../images/btn_jewely-b.png") top left no-repeat;
  background-size: contain;
}

.categoryItem.shiroka {
  content: "";
  background: url("../images/btn_shiroka-b.png") top left no-repeat;
  background-size: contain;
}

.categoryItem.sleep {
  content: "";
  background: url("../images/btn_sleep-b.png") top left no-repeat;
  background-size: contain;
}

.categoryItem.wellness {
  content: "";
  background: url("../images/btn_wellness-b.png") top left no-repeat;
  background-size: contain;
}
.tabItem.jewely.is-active {
  background: url("/static/ROP/contents/settlement2604/images/btn_jewely-a.png")
    top left no-repeat;
  background-size: contain;
}

.tabItem.shiroka.is-active {
  background: url("/static/ROP/contents/settlement2604/images/btn_shiroka-a.png")
    top left no-repeat;
  background-size: contain;
}

.tabItem.sleep.is-active {
  background: url("/static/ROP/contents/settlement2604/images/btn_sleep-a.png")
    top left no-repeat;
  background-size: contain;
}

.tabItem.wellness.is-active {
  background: url("/static/ROP/contents/settlement2604/images/btn_wellness-a.png")
    top left no-repeat;
  background-size: contain;
}
*/
/*
.tabItem.is-active {
  font-weight: bold;
}
.tabItem.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}
  */

.panelGroup {
  width: 96%;
  min-height: 400px;
  transition: min-height 0.3s;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding-bottom: 10vh;
}

#jewelyPanel,
#shirokaPanel,
#sleepPanel,
#wellnessPanel,
#monoPanel {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  scroll-margin-top: 450px;
}

.panel:last-of-type > a,
.panel:last-of-type > a:link,
.panel:last-of-type > a:visited,
.panel:last-of-type > a:hover {
  width: 100%;
  max-width: 912px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.panel:last-of-type > a img {
  width: 100%;
  height: auto;
  display: block;
}

.productGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 10px;
  width: 100%;
}
/*
.panel {
  display: none;
}*/
.panel {
  display: block;
  width: 100%;
}

.panel:not(:last-of-type) {
  margin-bottom: 40px;
}

#featurePanel,
#jewely Panel,
#shirocaPanel,
#sleepPanel,
#wellnessPanel {
  display: block;
  width: 100% !important;
  height: auto;
}

.panel h2 img {
  width: 100%;
  height: auto;
  display: block;
}

.productCard {
  /*opacity: 0;*/
  padding: 20px;
  border: 1px solid #a9a9a9;
  margin-bottom: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  word-break: break-all;
  margin-bottom: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}
/*
.productCard:hover {
  transform: translateY(-5px);
  border-color: #eee;
}*/

.productGrid a.oos {
  pointer-events: none;
  position: relative;
}

.productGrid a.oos::before {
  width: 100%;
  height: 100%;
  content: "完売御礼";
  font-size: var(--oosText);
  font-weight: bold;
  color: #fff;
  background: rgba(50, 50, 50, 0.8);
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.badge {
  position: absolute;
  top: 10px;
  left: 0px;
  background: #f00;
  color: #fff;
  font-weight: bold;
  padding: 4px 8px;
  z-index: 1;
  font-size: var(--badgeText_sp);
  transform: rotate(-10deg);
}

/* バッジ本体：赤系・爆速セール仕様 */
.badge.steal-red {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #ff0000 0%,
    #b30000 100%
  ); /* 鮮やかな赤から深みのある赤へ */
  color: #fff;
  font-family: "Arial Black", sans-serif; /* 極太フォント */
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
  padding: 4px 12px;
  border: 3px solid #fff; /* 白縁で視認性を確保 */
  border-radius: 4px; /* わずかに角を丸めて今っぽく */
  box-shadow:
    0 4px 0 #660000,
    0 8px 15px rgba(0, 0, 0, 0.3); /* 下側に厚みを出してボタンのように */
  transform: rotate(-3deg); /* わずかに傾けて「勢い」を演出 */
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3); /* 文字にも影を入れて浮き立たせる */
  width: auto;
}

.imgPlaceholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f2f2f2;
  margin-bottom: 15px;
}

.imgPlaceholder img {
  width: 100%;
  display: block;
  height: auto;
}

.itemName {
  margin: 0 0 5px;
  font-size: var(--itemName_fontSize_sp);
}
.price {
  font-weight: bold;
  margin-top: auto;
  color: #f00;
  font-size: var(--price_fontSize_sp);
}
.price .old {
  font-weight: normal;
  color: #aaa;
  text-decoration: line-through;
  margin-right: 5px;
  font-size: var(--priceOld_fontSize_sp);
}

/*
.panel.is-show .productCard {
  animation: fadeUp 0.6s ease both;
}

.panel.is-show .productGrid > a:nth-child(1) .productCard {
  animation-delay: 0.1s;
}
.panel.is-show .productGrid > a:nth-child(2) .productCard {
  animation-delay: 0.3s;
}
.panel.is-show .productGrid > a:nth-child(3) .productCard {
  animation-delay: 0.5s;
}
.panel.is-show .productGrid > a:nth-child(4) .productCard {
  animation-delay: 0.7s;
}
.panel.is-show .productGrid > a:nth-child(5) .productCard {
  animation-delay: 0.9s;
}
.panel.is-show .productGrid > a:nth-child(6) .productCard {
  animation-delay: 1.1s;
}
.panel.is-show .productGrid > a:nth-child(7) .productCard {
  animation-delay: 1.3s;
}
.panel.is-show .productGrid > a:nth-child(8) .productCard {
  animation-delay: 1.5s;
}
.panel.is-show .productGrid > a:nth-child(9) .productCard {
  animation-delay: 1.7s;
}
.panel.is-show .productGrid > a:nth-child(10) .productCard {
  animation-delay: 1.9s;
}
.panel.is-show .productGrid > a:nth-child(11) .productCard {
  animation-delay: 2.1s;
}
.panel.is-show .productGrid > a:nth-child(12) .productCard {
  animation-delay: 2.3s;
}
.panel.is-show .productGrid > a:nth-child(13) .productCard {
  animation-delay: 2.5s;
}
.panel.is-show .productGrid > a:nth-child(14) .productCard {
  animation-delay: 2.7s;
}
.panel.is-show .productGrid > a:nth-child(15) .productCard {
  animation-delay: 2.9s;
}
.panel.is-show .productGrid > a:nth-child(16) .productCard {
  animation-delay: 3.1s;
}
.panel.is-show .productGrid > a:nth-child(17) .productCard {
  animation-delay: 3.3s;
}
.panel.is-show .productGrid > a:nth-child(18) .productCard {
  animation-delay: 3.5s;
}
.panel.is-show .productGrid > a:nth-child(19) .productCard {
  animation-delay: 3.7s;
}
.panel.is-show .productGrid > a:nth-child(20) .productCard {
  animation-delay: 3.9s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
*/

.couponBox {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr;
  width: 90%;
  max-width: 450px;
  margin: 0 auto;
  padding: 20px;
}

#couponIdx {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

#couponIdx img {
  width: 100%;
  display: flex;
  height: auto;
  margin: 0 auto;
}

.couponBox_inner {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  margin: 0 auto 20px;
  width: 86%;
  justify-self: center;
  max-width: 440px;
}

.couponBox_inner p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(12px, 2vw, 16px);
}

.couponBox_inner p.discount {
  font-size: clamp(12px, 1rem + 2vw, 30px);
  font-weight: bold;
  color: #c70000;
}

.couponBox_inner p.couponCode {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  display: block;
}

.couponBox_inner p.couponCode .couponText {
  font-size: small;
  font-weight: 400;
  color: #7e7e7e;
}

.couponBox_inner button {
  margin: 0;
}

.copyBtn {
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  padding: 10px;
  background: #c70000;
  color: #fff;
  font-weight: bold;
  width: 100%;
  margin-top: auto;
  font-size: 24px;
  text-align: center;
}

/* コピー完了時のスタイル（緑系にするなど） */
.copyBtn.copied {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

@media screen and (min-width: 768px) {
  .spView {
    display: none;
  }

  .pcView {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
  }
  .saleContainer {
    max-width: 1200px;
    margin: 0 auto;
  }

  .productGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 10px;
  }

  .badge {
    font-size: var(--badgeText);
  }

  .itemName {
    font-size: var(--itemName_fontSize);
  }
  .price {
    font-size: var(--price_fontSize);
  }
  .price .old {
    font-size: var(--priceOld_fontSize);
  }

  .categoryMenu {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
  }

  .categoryItem {
    width: calc(96% / 4);
    /*padding-top: 8.2%;*/
  }

  #jewelyPanel,
  #shirokaPanel,
  #sleepPanel,
  #wellnessPanel {
    scroll-margin-top: 170px;
  }

  .couponBox {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto 1fr;
    gap: 24px !important;
    column-gap: 24px !important;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-rows: auto auto auto 1fr;
    align-items: start;
    justify-content: center;
  }

  .couponBox_inner {
    grid-row: span 4;
    box-sizing: border-box !important;
    grid-template-rows: subgrid;
    max-width: none;
    margin: 0 !important;
    width: 100% !important;
  }
}
