/*--------------------------------------*/
/* 全体                                 */
/*--------------------------------------*/
:root {
  --color-cream: #e3d2ad;
  --color-goldenrod: #c8a65b;
  --color-bronze: #917236;
  --color-chocolate: #754c24;
  --color-firebrick: #c61624;
  --base-item-url: "https://piuprima.itembox.design/item";
}
.fallback {
  font-family: Arial, sans-serif;
}
html {
  overflow-x: hidden;
  scroll-behavior: auto;
}
/* フォント */
body * {
  font-family: "Optima", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif
}
/* 基本レイアウト */
body {
  font-size: 14px;
  padding: 0;
  margin: 0 auto;
  -webkit-overflow-scrolling: auto;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  /* background: radial-gradient(circle at center, 
              #e2c792 0%,
              var(--color-goldenrod) 100%
             ); */
  background: var(--color-goldenrod);
  height: 100vh;
  position: relative;
  touch-action: auto;
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
}
.fs-l-pageMain {
  width: 100dvw;
}
.fs-l-page {
  position: relative;
  top:0;
  margin-top: 0;
  background: var(--color-goldenrod);
}
.fs-l-main {
  margin: 0;
  padding: 0;
}
/* テキスト選択不可 */
.unselectable {
  -webkit-user-select: none; /* Safari、Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10以降 */
  user-select: none;         /* 標準 */
}

/*--------------------------------------*/
/* ヘッダー                             */
/*--------------------------------------*/
.lindor-header {
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, #ffffff, #faf4e2);
  z-index: 400;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}
.lindor-header-pc {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 50px;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 25px;
  padding-right: 20px;
  box-sizing: border-box;
}
.lindor-header-pc::before,
.lindor-header-sp-title::before {
  font-size: 30px;
  white-space: nowrap;
  content: "LINDOR  PICK & MIX";
  color: var(--color-bronze);
  /*font-weight: bold;*/
}
.lindor-header-sp-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}
.message-erea-sp {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 5px;

}
.lindor-header-sp {
  display: flex;
  justify-content: center;
  align-items: center;

}
.lindor-header-sp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  position: sticky;
}
.pick-mix-fotter-erea {
  position: relative;
  left: 50%;
  width: 100%;
  padding: 10px;
  transform: translateX(-50%);
}
.lindor-message-back {
  position: relative;
  width: 100%;
  height: 35px;
  padding: 2px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  cursor: default;
}
@media (min-width: 768px) {
  .lindor-message-back {
    width: 40%;
    min-width: 450px;
    margin-left: 50px;
    display: flex;
    flex-direction: row;  /* 画像付けるため */
  }
}
.lindor-message {
  display: flex;
  align-items: center;
  justify-content: center;
  /*font-weight: bold;*/
  color: #744b23;
  white-space: nowrap;
  position: relative;
  z-index: 501;
  width: 100%;
  height: 100%;
  padding: 2px;
}
@media (max-width: 767px) {
  .lindor-message {
    background: linear-gradient(to bottom, #f2e7cd, #ffffff);
  }
}
@media (min-width: 768px) {
  .lindor-message {
    background: white;
  }
}

.lindor-message-track {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  cursor: default;
  width: 30px;
  height: 25px;
}

/*--------------------------------------*/
/* フッター                             */
/*--------------------------------------*/
.fotter-sp {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 75px;
  z-index: 300;
  background: linear-gradient(to bottom, #f4ecd7, #dbbb70);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

/*--------------------------------------*/
/* メインエリア                         */
/*--------------------------------------*/
@media (min-width: 768px) {
  .main-erea {
    padding: 15px;
  }
}

.flavor-main {
  position: relative;
  top: 60px;
}
@media (min-width: 768px) {
  .flavor-main {
    height: 100dvh;
  }
}
.flavor-erea {
  position: relative;
  display: grid;
  row-gap: 28px;
  box-sizing: border-box;
  position: relative;
  touch-action: auto;
  width: 100%;
  margin-bottom: 200px;
}
@media (max-width: 767px) {
  .flavor-erea {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) and (max-width: 943px) {
  .flavor-erea {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 944px) and (max-width: 1153px) {
  .flavor-erea {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1154px) {
  .flavor-erea {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.flavor-erea::-webkit-scrollbar {
  width: 8px;
}
.flavor-erea::-webkit-scrollbar-thumb {
  background-color: #636161;
  border-radius: 4px;
}
.flavor-erea::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

/* フレーバー */
.flavor {
  padding: 5px;
  border: none;
  box-sizing: border-box;
  touch-action: auto;
  margin-bottom: 30px;
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .flavor {
    width: calc(50dvw);
    height: calc((50dvw) / 1.17);
    max-width: 210px;
    max-height: 180px;
  }
}
@media (min-width: 768px) and (max-width: 1109px) {
  .flavor {
    width: calc(15dvw);
    height: calc((15dvw) / 1.17);
    max-width: 195px;
    max-height: 175px;
    min-width: 190px;
    min-height: 175px;
  }
}
@media (min-width: 1110px) {
  .flavor {
    width: calc(15dvw);
    height: calc((15dvw) / 1.17);
    max-width: 195px;
    max-height: 170px;
    min-width: 195px;
    min-height: 170px;
  }
}
.flavor-image {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  mask-size: cover;
  mask-repeat: no-repeat;
  will-change: transform, opacity;
  transform: translateZ(0);
  width: 100%;
  height: 100%;
  margin: auto;
  position: relative;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}
.flavor-other-info-ranking {
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.flavor-other-info-limited {
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .flavor-other-info-ranking {
    top: 0%;
    left: 76%;
    width: 46px;
    height: 46px;
  }
  .flavor-other-info-limited {
    top: 0%;
    left: 73%;
    width: 54px;
    height: 54px;
  }
}
@media (min-width: 768px) {
  .flavor-other-info-ranking {
    top: 0%;
    left: 76%;
    width: 44px;
    height: 44px;
  }
  .flavor-other-info-limited {
    top: 0%;
    left: 73%;
    width: 48px;
    height: 48px;
  }
}
.flavor-loupe {
  position: absolute;
  top: 75%;
  left: 86%;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.flavor-back {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 45%;
  padding: 2px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  cursor: default;
}
.flavor-title {
  background-color: white;
  padding: 5px;
  color: var(--color-chocolate);
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.flavor-name {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 22px;
}
.flavor-name-jp {
  width: 100%;
  font-size: 18px;
  text-align: start;
  margin-bottom: 20px;
  color: var(--color-bronze);
}
.flavor-control {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: end;
}
.quantity-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  height: 30px;
}
.button-erea {
  width: 50px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-erea:active {
  background: none;
}
.button-image {
  width: 26px;
  height: 26px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.button-image:active {
  transform: scale(0.9);
}
.quantity-erea-with-set {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 10px;
}
.flavor-num {
  color: var(--color-chocolate);
  /*font-weight: bold;*/
  font-size: 26px;
  width: 30px;
  text-align: center;
}
.flavor-set {
  color: var(--color-chocolate);
  /*font-weight: bold;*/
}

/*--------------------------------------*/
/* 商品詳細モーダル                     */
/*--------------------------------------*/
.detail-main-erea {
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  flex-direction: column;
  justify-content: space-between;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.exposition-erea {
  flex: 1;
  text-align: left;
  padding-left: 10px;
  color: var(--color-bronze);
  /*font-weight: bold;*/
}
@media (max-width: 767px) {
  .exposition-erea {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  .exposition-erea {
    font-size: 16px;
  }
}
.other-info-erea {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .other-info-erea {
    height: 25px;
  }
}
@media (min-width: 768px) {
  .other-info-erea {
    height: 30px;
  }
}
.detail-price-erea {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 10px;
  color: white;
  white-space: nowrap;
}

/*--------------------------------------*/
/* 割引情報                             */
/*--------------------------------------*/
.discount-erea {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 302;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  overflow: hidden;
}
.discount-erea.shine-effect::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #f7f8f8;
  animation: shine 1.0s ease-in-out;
}
.discount-erea-back {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 2px;
}
@media (max-width: 767px) {
  .discount-erea-back {
    position: fixed;
    left: 5%;
    bottom: 1%;
    width: 220px;
    padding: 2px;
    z-index: 301;
    height: 120px;
  }
}
@media (min-width: 768px) {
  .discount-erea-back {
    position: relative;
    width: 100%;
    z-index: 300;
    height: 105px;
  }
}
.mater-erea {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.mater-on {
  background-color: #4f2c1d;
}
.mater-off {
  background-color: #ddc0b6;
}
.mater-on,
.mater-off {
  height: 27px;
  border: solid 1px #b2887a;
}
@media (max-width: 767px) {
  .mater-erea {
    margin-top:5px;
  }
  .mater-on,
  .mater-off {
    width: 26px;
  }
}
@media (min-width: 768px) {
  .mater-erea {
    margin-top:10px;
  }
  .mater-on,
  .mater-off {
    width: 37px;
  }
}
.selected-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: end;
  position: absolute;
  bottom: 2px;
  white-space: nowrap;
  padding-left: 5px;
}
.quentity-all-erea {
  width: 30%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  /*font-weight: bold;*/
  color: var(--color-chocolate);
  z-index: 800;
 }
.quantity_all {
  position: relative;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}
.price-all-erea {
  display: flex;
  justify-content: space-around;
  align-items: end;
  color: var(--color-chocolate);
  /*font-weight: bold;*/
}
@media (max-width: 767px) {
  .price-all-erea {
    width: 70%;
  }
}
@media (min-width: 768px) {
  .price-all-erea {
    width: 45%;
  }
}
.price-all-side {
  display: flex;
  align-items: end;
  text-align: start;
  width: 100%;
}
.price-all-val {
  display: flex;
  justify-content: end;
  align-items: end;
  margin-right: 5px;
}
@media (max-width: 767px) {
  .price-all-side {
    font-size: 13px;
  }
  .price-all-val {
    font-size: 22px;
    line-height: 22px;
  }
}
@media (min-width: 768px) {
  .price-all-side {
    font-size: 16px;
  }
  .price-all-val {
    font-size: 32px;
    line-height: 32px;
  }
}
.discount-message {
  line-height: 20px;
  color: var(--color-chocolate);
  display: flex;
  justify-content: center;
  font-weight: bold;
}
@media (max-width: 767px) {
  .discount-message {
    height: 45px;
    flex-direction: column;
    align-items: center;
  }
  #discount_message {
    font-size: 12px;
  }
  #discount_message_pick_mix {
    gap: 10px;
    font-size: 12px;
  }
}
@media (min-width: 768px) {
  .discount-message {
    margin: 5px 10px -5px 10px;
    height: 20px;
    font-size: 13px;
    align-items: end;
  }
}

/*--------------------------------------*/
/* PICK & MIXエリア                     */
/*--------------------------------------*/
.pick-and-mix {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 100px;
  height: 60px;
  color: white;
  font-size: 14px;
  /*font-weight: bold;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4f2c1d;
  z-index: 501;
  white-space: nowrap;
  line-height: 18px;
  border-radius: 10%;
  cursor: pointer;
}
.pick-and-mix-erea {
  width: clamp(350px, 30%, 350px);
  height: 100%;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 767px) {
  .pick-and-mix-erea {
    position: relative;
  }
}
@media (min-width: 768px) {
  .pick-and-mix-erea {
    position: sticky;
    top: 70px;
  }
}
.pick-and-mix-detail {
  background-color: white;
  width: 100%;
  height: 100%;
  margin-right: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
}
.title-erea {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  color: var(--color-bronze);
  position: relative;
  padding-left: 15px;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.title-erea::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #dcbd74, #f8f1e0, #dcbd74);
}
.pick-mix-selected-erea {
  width: 100%;
  padding: 5px;
  min-height: 5vh;
  padding-left: 10px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .pick-mix-selected-erea {
    max-height: 48dvh;
  }
}
@media (min-width: 768px) {
  .pick-mix-selected-erea {
    max-height: 40dvh;
  }
}
.pick-mix-selected-erea::-webkit-scrollbar {
  width: 8px;
}
.pick-mix-selected-erea::-webkit-scrollbar-thumb {
  background-color: #636161;
  border-radius: 4px;
}
.pick-mix-selected-erea::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}
.pick-mix-selected-flavor {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 5px;
  width: 100%;
  border-bottom: solid 1px var(--color-goldenrod);
}
.pick-mix-selected-flavor-info {
  width: 70%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}
.pick-mix-selected-flavor-name {
  display: flex;
  color: var(--color-bronze);
  gap: 5px;
  margin: 5px;
  font-size: 14px;
}
.pick-mix-fotter-row {
  display: flex;
  width: 100%;
  border-bottom: solid 1px var(--color-goldenrod);
  align-items: center;
}
.pick-mix-fotter-row-title,
.pick-mix-fotter-row-value {
  color: var(--color-bronze);
  flex: 1;
  padding: 5px;
}
.pick-mix-fotter-row-title {
  text-align: left;
  font-size: 14px;
}
.pick-mix-fotter-row-value {
  text-align: right;
  font-size: 20px;
}
.cart-in {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--color-bronze);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.triangle-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 10px solid white;
  margin-left: 10px;
}

/*--------------------------------------*/
/* ポップアップ                         */
/*--------------------------------------*/
.popup_flavor,
.popup_pick_mix,
.popup_info {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 450px;
  height: auto;
  max-height: 100dvh;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  padding: 10px;
  text-align: center;
  overflow-y: hidden;
  will-change: transform;
  touch-action: none;
}
.popup_flavor.show,
.popup_pick_mix.show,
.popup_info.show {
  visibility: visible;
  -webkit-animation: popup-appear 0.5s ease forwards;
  animation: popup-appear 0.5s ease forwards;
}
@media (min-width: 768px) {
  .popup_pick_mix,
  .popup_info.show {
    width: 50%;
  }
  .popup_flavor {
    width: 100%;
    max-width: 450px;
  }
  .popup_info {
    max-width: 596px;
  }
}
.window_flavor,
.window_pick_mix,
.window_info {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  -webkit-width: 100%;
  -webkit-height: 100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 600;
  display: none;
}
.overlay.show {
  display: block;
}

/*--------------------------------------*/
/* 案内ポップアップ                     */
/*--------------------------------------*/
.info-erea-image {
  width: 100%;
  padding: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .info-erea-image {
    height: 80dvh;
  }
}
@media (min-width: 768px) {
  .info-erea-image {
    height: auto;
  }
}
.info-erea-image img {
  /* width: 100%; */
  height: auto;
  max-width: none;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.info-erea-button {
  width: 96px;
  height: 28px;
  margin-top: 10px;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/*--------------------------------------*/
/* 共通                                 */
/*--------------------------------------*/
.message-common {
  font-size: 12px;
  margin: 10px 10px 0px 10px;
  height: 20px;
  line-height: 20px;
  color: var(--color-chocolate);
  display: flex;
  align-items: end;
  justify-content: center;
  /*font-weight: bold;*/
}
@media (max-width: 767px) {
  .message-common {
    font-size: 11px;
  }
}
@media (min-width: 768px) {
  .message-common {
    font-size: 12px;
  }
}
.close_bottom {
  width: 26px;
  height: 26px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid white;
  margin-left: 5px;
}

/*--------------------------------------*/
/* スクロールバー                       */
/*--------------------------------------*/
[data-simplebar] .simplebar-scrollbar::before {
  background-color: #b0b0b0 !important;
  width: 8px !important;
  border-radius: 4px !important;
}

/*--------------------------------------*/
/* ANIMATION                            */
/*--------------------------------------*/
@keyframes popup-appear {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-5px, 0);
  }
  50% {
    transform: translate(5px, 0);
  }
  75% {
    transform: translate(-5px, 0);
  }
}

@keyframes shine {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  10% { transform: scale(2) rotate(45deg); opacity: 0.4; }
  40% { transform: scale(4) rotate(45deg); opacity: 0.5; }
  70% { transform: scale(8) rotate(45deg); opacity: 0.6; }
  90% { transform: scale(16) rotate(45deg); opacity: 0.9; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}