/******************************/
/* SLIDER - 上品な額縁アレンジ */
/******************************/

.p-main-slider {
  margin-top: 10px; 
  margin-bottom: 80px; 
  /* 背景を少しだけグレーや白にすると、余白が綺麗に見えます */
  background-color: #ffffff; 
}

.p-main-slider .bx-wrapper .bx-viewport {
  border: 0;
  box-shadow: none;
  left: 0;
}

.p-main-slider .bx-wrapper img {
  margin: 0 auto;
  /* ↓ ここを修正！横幅を100%にせず、最大幅を制限します */
  width: auto;
  max-width: 1200px; /* ここの数字でお好みのサイズに調整できます */
  display: block;
}

/* モバイル（スマホ）では画面いっぱいに見せる設定 */
@media screen and (max-width: 767px) {
  .p-main-slider .bx-wrapper img {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;  
  }
}

.p-main-slider .bx-wrapper .bx-pager {
  padding-top: 0px;
  bottom: -40px;
}

@media screen and (max-width: 767px) {
  .p-main-slider .bx-wrapper .bx-pager {
    bottom: -25px;
  }
}

.p-main-slider .bx-wrapper .bx-pager.bx-default-pager a {
  margin-left: 10px;
  margin-right: 10px;
  background: #dddddd;
}

/******************************/
/* NEWS */
/******************************/
.p-line-informaiton {
  margin-top: 90px;
  margin-bottom: 90px;
  font-size:14px;
}
@media screen and (max-width: 1023px) {
  .p-line-informaiton {
    margin-top: 90px;
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 767px) {
  .p-line-informaiton {
    margin-top: 45px;
    margin-bottom: 45px;
  }
}

.p-line-informaiton-list__item {
  display: flex;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .p-line-informaiton-list__item {
    display: block;
    margin-bottom: 15px;
  }
}

.p-line-informaiton-list__date {
  width: 120px;
}

.p-line-informaiton-list__ttl {
  flex: 1;
}


/******************************/
/* グループバナー */
/******************************/
.p-group-bnr {
  margin-top: 50px;
  margin-bottom:30px;
}
@media screen and (max-width: 1023px) {
  .p-group-bnr {
    margin-top: 50px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 1023px) {
  .p-group-bnr .c-slider-thema .slick-next {
    right: -10px;
  }
}
@media screen and (max-width: 767px) {
  .p-group-bnr .c-slider-thema .slick-next {
    right: -3px;
  }
}
@media screen and (max-width: 1023px) {
  .p-group-bnr .c-slider-thema .slick-prev {
    left: -10px;
  }
}
@media screen and (max-width: 767px) {
  .p-group-bnr .c-slider-thema .slick-prev {
    left: -3px;
  }
}

.p-group-bnr-list {
  margin-left: -25px;
  margin-right: -25px;
}
@media screen and (max-width: 1070px) {
  .p-group-bnr-list {
    margin-left: 0px;
    margin-right: 0px;
  }
}

.p-group-bnr-list__item {
  margin-left: 25px;
  margin-right: 25px;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-group-bnr-list__item {
    margin-left: 12px;
    margin-right: 12px;
  }
}
.p-group-bnr-list__item img {
  width: 100%;
}

.p-group-bnr-list__ttl {
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
  .p-group-bnr-list__item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

/******************************/
/* INFORMATION */
/******************************/
.p-information {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 40px 50px 10px 50px; /* PCはそのまま */
  font-size: 14px;
}

@media screen and (max-width: 1023px) {
  .p-information {
    /* 他のパーツと同じ左右margin 25pxを適用 */
    margin-left: 25px;
    margin-right: 25px;
    /* paddingの左右を0にすることで、横幅を他のセクションに合わせます */
    padding: 45px 0px 10px 0px; 
  }
}

@media screen and (max-width: 767px) {
  .p-information {
    /* 他のパーツと同じ左右margin 0を適用（画面いっぱい） */
    margin-left: 0;
    margin-right: 0;
    /* paddingの左右を0に。これで他の画像やタイトルと横端が揃います */
    padding: 35px 0px 10px 0px; 
  }
}

/******************************/
/* RECOMMEND ITEMS (新着兼用) */
/******************************/
.p-recommend {
  overflow: hidden;
  /* 上の要素との距離をしっかりあけて、セクションを独立させる */
  margin-top: 80px; 
  padding-top: 20px !important; 
  /* 下の要素との距離。次が見えつつも、窮屈じゃない程度に */
  padding-bottom: 60px;  
}

@media screen and (max-width: 767px) {
  .p-recommend {
    /* スマホでは画面が狭いので、少し控えめ（でも余裕は持つ） */
    margin-top: 50px;
    padding-top: 15px !important;
    padding-bottom: 40px; 
  }
}


/******************************/
/* topic */
/******************************/
.p-topic-box {
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 25px;
  /* 105pxから40pxへ大幅カット。これで次のセクションと近づきます */
  margin-bottom: 40px; 
}

@media screen and (max-width: 1023px) {
  .p-topic-box {
    margin-top: 40px;
    margin-bottom: 30px; /* 75pxから30pxへ */
  }
}
@media screen and (max-width: 767px) {
  .p-topic-box {
    display: flex;
    margin-bottom: 25px; /* 60pxから25pxへ。スマホでも間延びしません */
    margin-left: 0;
    margin-right: 0;
  }
}

.p-topic-box__body {  
  width: 48%; 
  height: auto;
  padding: 10px;
}

@media screen and (max-width: 767px) {
  .p-topic-box__body { 
    width: 100%; 
    height: auto;
    padding: 10px;
  }
}

.p-topic-box__txt {
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 0px;
  color: #000000;
}

/******************************/
/* TOP PICK UP ITEMS */
/******************************/
.p-pickup {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (max-width: 1023px) {
  .p-pickup {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 767px) {
  .p-pickup {
    padding-top: 45px;
    padding-bottom: 60px;
  }
}

.p-pickup-list {
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  .p-pickup-list {
    margin-top: 0;
    margin-left: -25px;
    margin-right: -25px;
  }
}

.p-pickup-list__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 75px;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-pickup-list__item {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 767px) {
  .p-pickup-list__item {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px;
    max-width: 600px;
  }
}
.p-pickup-list__item:last-child {
  margin-bottom: 0;
}
.p-pickup-list__item:nth-child(even) .p-pickup-list__txt {
  order: -1;
}
@media screen and (max-width: 1023px) {
  .p-pickup-list__item:nth-child(even) .p-pickup-list__txt {
    padding-left: 25px;
    padding-right: 60px;
  }
}

.p-pickup-list__img {
  overflow: hidden;
  position: relative;
  width: 53%;
  height: 28vw;
  opacity: 1;
  transform: translate(0, 0);
}
@media screen and (min-width: 1270px) {
  .p-pickup-list__img {
    max-height: 365px;
  }
}
@media screen and (max-width: 1023px) {
  .p-pickup-list__img {
    width: 53%;
    height: 28vw;
  }
}
@media screen and (max-width: 767px) {
  .p-pickup-list__img {
    width: auto;
    height: 55vw;
  }
}
.p-pickup-list__img:before, .p-pickup-list__img:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.p-pickup-list__img .p-pickup-list__img-bg {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.4s 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  background: #000000;
}
.p-pickup-list__img:after {
  transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  background: #fff;
}
.p-pickup-list__img:before {
  transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  background: #fff;
}
.p-pickup-list__img.faded .p-pickup-list__img-bg, .p-pickup-list__img.faded:after {
  width: 0;
}
.p-pickup-list__img img {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
}

.p-pickup-list__txt {
  box-sizing: border-box;
  flex: 1;
  padding-left: 70px;
  padding-right: 70px;
  font-size:14px;
}
@media screen and (max-width: 1023px) {
  .p-pickup-list__txt {
    padding-left: 60px;
    padding-right: 25px;
    width: 47%;
  }
}
@media screen and (max-width: 767px) {
  .p-pickup-list__txt {
    margin-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
    width: auto;
  }
}

.p-pickup-list__ttl {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 18px;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .p-pickup-list__ttl {
    margin-bottom: 10px;
    font-size: 16px;
  }
}
.p-pickup-list__ttl img {
  display: none !important;
}

.p-pickup-list__btn {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .p-pickup-list__btn {
    margin-top: 20px;
  }
}

/******************************/
/* TOP RANKING 売れ筋商品 -Seasonal Gems- 最終合体版*/
/******************************/

/* 1. セクション全体の上の余白 */
.p-ranking {
    padding-top: 15px !important;
    margin-top: 20px !important;
}

/* 2. 商品アイテム同士の間隔と基準設定 */
.p-ranking-list__item {
    position: relative !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    padding-bottom: 25px !important;
    word-break: break-all; /* 元々の設定：長い英単語の改行用 */
}

/* 3. 番号（ローマ数字）の設定：右上配置 & Swobodaカラー */
.p-ranking-list__num {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important; 
    left: auto !important; 
    z-index: 10 !important;
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    text-align: center !important;
    font-size: 18px !important;
    display: block !important;
    opacity: 1 !important;
    border: none !important;
    background: #e5e0d8 !important; /* 4位以降 */
    color: #666 !important;
}
.p-ranking-list__num.is-1 { background: #627b61 !important; color: #ffffff !important; }
.p-ranking-list__num.is-2 { background: #d48a7b !important; color: #ffffff !important; }
.p-ranking-list__num.is-3 { background: #7a99a7 !important; color: #ffffff !important; }

/* 4. 画像のデザインと下の余白 */
.p-ranking-list__img {
    margin-top: 0 !important;
    margin-bottom: 20px !important; /* 画像とタイトルの間の余白 */
}

/* 5. 【元々の設定】商品タイトル・価格・ボタンのスタイル */
.p-ranking-list__ttl {
    font-size: 14px;
    line-height: 1.5;
}
.p-ranking-list__ttl img {
    vertical-align: middle;
}

.p-ranking-list__price {
    margin-top: 15px; /* 価格の上の余白 */
    font-size: 14px;
}
.p-ranking-list__price.is-default {
    margin-top: 0;
}

.p-ranking-list__btn {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* 6. 【元々の設定】アニメーション定義 */
@keyframes rankingfadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 7. 【元々の設定】レスポンシブ（スマホ対応） */
@media screen and (max-width: 767px) {
    .p-ranking-list__item {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .p-ranking-list__img {
        margin-bottom: 15px !important;
    }
    .p-ranking-list__ttl {
        font-size: 13px; /* スマホでのフォントサイズ */
    }
    .p-ranking-list__price {
        margin-top: 5px; /* スマホでの価格の上の余白 */
        font-size: 13px;
    }
}


/******************************/
/* TOP SHOP */
/******************************/
.p-shop {
  padding-top: 50px;
}
@media screen and (max-width: 1023px) {
  .p-shop {
    padding-top: 50px;
  }
}
@media screen and (max-width: 767px) {
  .p-shop {
    padding-top: 30px;
    background:#e3e3e3;
  }
}

.p-shop-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 45px;
  padding-bottom: 45px;
}
@media screen and (max-width: 767px) {
  .p-shop-wrap {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.p-shop-wrap:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 767px) {
  .p-shop-wrap:before {
    content: none;
  }
}

.p-shop__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-shop__bg {
    position: static;
    width: auto;
    height: auto;
  }
}
.p-shop__bg img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .p-shop__bg img {
    max-width: 100%;
  }
}
@media screen and (max-width: 1023px) {
  .p-shop__bg .simpleParallax {
    overflow: visible !important;
  }
}
@media screen and (max-width: 767px) {
  .p-shop__bg .simpleParallax {
    overflow: hidden !important;
  }
}

.p-shop-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-shop-contents {
    min-height: inherit;
  }
}

.p-shop-box {
  position: relative;
  z-index: 100;
  width: 660px;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .p-shop-box {
    margin-top: 15px;
    width: auto;
    color: #2d2d2d;    
  }
}

.p-shop-box__ttl {
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .p-shop-box__ttl {
    font-size: 17px;
  }
}

.p-shop-box__body {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .p-shop-box__body {
    margin-top: 0;
  }
}

.p-shop-box__url {
  margin-top: 15px;
}
.p-shop-box__url a {
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .p-shop-box__url a {
    color: #2d2d2d;
  }
}

.p-shop-box__btn {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .p-shop-box__btn {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  /* バナーの横幅制限を解除して目一杯広げる */
  .p-group-bnr-list__item {
    padding: 10 !important;      /* 左右の余白をゼロにする */
    margin: 0 !important;
    max-width: 100% !important; /* 最大幅の制限をなくす */
  }

  /* スライダー全体の余白も下のバナーに合わせる */
  .p-group-bnr-list.js-group-bnr-slider {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}