/******************************/
/* CUSTOM SLIDER */
/******************************/

/* 共通スタイル */
.p-main-slider {
  position: relative;
  width: 100%;
  /* overflow:hidden はスクロールコンテナを作るため、画面外スライドに Tab が入ると
     ブラウザが scrollLeft を動かしてスライダーが恒久的にずれる。
     clip はスクロールコンテナを作らない。未対応ブラウザは hidden にフォールバック */
  overflow: hidden;
  overflow: clip;
  margin-bottom: 0;
}

.p-main-slider .slider {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.p-main-slider .slide {
  flex-shrink: 0;
  position: relative;
}

.p-main-slider .slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.p-main-slider .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ページャー（ドット）のスタイル */
.custom-slider-pager {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  padding: 0;
}

.custom-slider-pager .pager-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.custom-slider-pager .pager-dot:hover {
  opacity: 0.8;
  background: #eeeeee;
}

.custom-slider-pager .pager-dot.active {
  opacity: 1;
  position: relative;
}

.custom-slider-pager .pager-dot.active::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

/* モバイル/タブレット用スタイル（<1024px） */
@media screen and (max-width: 1023px) {
  .p-main-slider {
    width: 100%;
    padding-bottom: 66.67%; /* 3:2のアスペクト比 */
    height: 0;
  }

  .p-main-slider .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
  }

  .p-main-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
  }

  /* JS 失敗時のフォールバック: 最初に描画されたスライドを表示しておく
     (custom-slider が動けば inline style が上書きする) */
  .p-main-slider .slide:first-child {
    opacity: 1;
    pointer-events: auto;
  }

  .p-main-slider .slide[style*='opacity: 1'] {
    pointer-events: auto;
    z-index: 1;
  }

  /* ページャー(ドット): SP でも表示し、スワイプ以外の操作手段と現在位置を提供する */
  .custom-slider-pager {
    display: flex;
    bottom: 10px;
    gap: 8px;
  }

  .custom-slider-pager .pager-dot {
    width: 8px;
    height: 8px;
  }
}

/* デスクトップ用スタイル（>=1024px） */
@media screen and (min-width: 1024px) {
  .p-main-slider {
    max-width: none;
    height: 30vw;
  }

  .p-main-slider .slider {
    display: flex;
    position: relative;
    left: 27.5vw; /* センター配置のためのオフセット */
    width: auto;
    height: 30vw;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .p-main-slider .slider:active {
    cursor: grabbing;
  }

  .p-main-slider .slide {
    width: 45vw;
    height: 30vw;
    margin-right: 0;
    flex-shrink: 0;
  }

  .p-main-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ページャーの表示 */
  .custom-slider-pager {
    display: flex;
  }
}
/******************************/
/* NEWS */
/******************************/
.p-line-informaiton {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #f3f3f3;
  /* sitarama-news-feed は fetch 後に描画されるため高さを先に予約する
     (本番実測: content-box 高さ 790px @<=768px / 747px @>=769px、max-items=20 固定) */
  min-height: 790px;
}
@media screen and (min-width: 769px) {
  .p-line-informaiton {
    min-height: 747px;
  }
}
@media screen and (max-width: 767px) {
  .p-line-informaiton {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.p-line-informaiton__wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
}
@media only screen and (max-width: 1023px) {
  .p-line-informaiton__wrap {
    margin-left: 25px;
    margin-right: 25px;
    max-width: inherit;
  }
}
@media only screen and (max-width: 767px) {
  .p-line-informaiton__wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

/******************************/
/* CONCEPT */
/******************************/
.p-concept {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 120px;
  margin-bottom: 120px;
  background: #b3a37e;
}
@media screen and (max-width: 1023px) {
  .p-concept {
    margin-top: 60px;
    margin-bottom: 75px;
    margin-left: 25px;
    margin-right: 25px;
  }
}
@media screen and (max-width: 767px) {
  .p-concept {
    display: block;
    margin-bottom: 60px;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-concept__img {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  min-height: 380px;
  background-image: url(https://img02.shop-pro.jp/PA01008/381/etc_base64/Y29uY2VwdA.jpeg?cmsp_timestamp=20231224133823);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .p-concept__img {
    display: block;
    width: auto;
    min-height: 200px;
    height: 0;
    padding-bottom: 54.29%;
  }
}
.p-concept__txt {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 90px;
  width: 50%;
  color: #ffffff;
}
@media only screen and (max-width: 1023px) {
  .p-concept__txt {
    padding: 30px 30px;
  }
}
@media screen and (max-width: 767px) {
  .p-concept__txt {
    padding: 40px 20px;
    width: auto;
  }
}
.p-concept__ttl {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .p-concept__ttl {
    margin-bottom: 15px;
    font-size: 22px;
  }
}
.p-concept__body {
  line-height: 2;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .p-concept__body {
    font-size: 13px;
  }
}
/******************************/
/* RECOMMEND ITEMS */
/******************************/
.p-recommend {
  overflow: hidden;
  padding-bottom: 45px;
}
@media screen and (max-width: 1023px) {
  .p-recommend {
    padding-bottom: 45px;
  }
}
@media screen and (max-width: 767px) {
  .p-recommend {
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 767px) {
  .p-recommend-list {
    margin-left: 0;
    margin-right: 0;
  }
}
.p-recommend-item-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -27px;
  margin-right: -27px;
}
@media screen and (max-width: 1023px) {
  .p-recommend-item-list {
    margin-left: -17px;
    margin-right: -17px;
  }
}
@media screen and (max-width: 767px) {
  .p-recommend-item-list {
    margin-left: -8px;
    margin-right: -8px;
  }
}
.p-recommend-item-list__item {
  position: relative;
  box-sizing: border-box;
  margin-bottom: 50px;
  padding-left: 27px;
  padding-right: 27px;
  width: 25%;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-recommend-item-list__item {
    margin-bottom: 30px;
    padding-left: 17px;
    padding-right: 17px;
    width: 33.3333%;
  }
}
@media screen and (max-width: 767px) {
  .p-recommend-item-list__item {
    margin-bottom: 25px;
    padding-left: 8px;
    padding-right: 8px;
    width: 50%;
  }
}
.p-recommend-item-list__item.is-hidden {
  display: none;
}
/******************************/
/* TOP GALLERY */
/******************************/
.p-gallery {
  padding-top: 60px;
  padding-bottom: 45px;
  background: #f6f6f6;
}
@media screen and (max-width: 767px) {
  .p-gallery {
    padding-top: 50px;
  }
}
.p-gallery__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-gallery__wrap {
    display: block;
  }
}
.p-gallery__img {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .p-gallery__img {
    width: auto;
  }
}
.p-gallery__img img {
  width: 100%;
}
.p-gallery__img .slick-dots {
  bottom: -40px;
}
.p-gallery__img .slick-dots li {
  height: auto;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p-gallery__img .slick-dots li button {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2d2d2d;
}
.p-gallery__img .slick-dots li.slick-active button:before {
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  border: 1px solid #2d2d2d;
  border-radius: 50%;
}
.p-gallery__img .p-gallery-slider__item {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .p-gallery__img .p-gallery-slider__item {
    min-height: 250px;
    height: 0;
  }
}
.p-gallery__img .p-gallery-slider__item01 {
  background-image: url(https://img02.shop-pro.jp/PA01008/381/etc_base64/cnVkcmFrc2hhX3Jvc2FyeQ.jpeg?cmsp_timestamp=20231224134906);
}
.p-gallery__img .p-gallery-slider__item02 {
  background-image: url(https://img02.shop-pro.jp/PA01008/381/etc_base64/c3RhdHVlcw.jpeg?cmsp_timestamp=20231224134906);
}
.p-gallery__img .p-gallery-slider__item03 {
  background-image: url(https://img02.shop-pro.jp/PA01008/381/etc_base64/cHJheWVyX2l0ZW1z.jpeg?cmsp_timestamp=20231224134906);
}
.p-gallery__txt {
  box-sizing: border-box;
  padding: 30px 0px 30px 90px;
  width: 50%;
}
@media only screen and (max-width: 1023px) {
  .p-gallery__txt {
    padding: 30px 0px 30px 30px;
  }
}
@media screen and (max-width: 767px) {
  .p-gallery__txt {
    padding: 35px 0px 0px 0px;
    width: auto;
  }
}
.p-gallery__ttl {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .p-gallery__ttl {
    margin-bottom: 20px;
    font-size: 22px;
  }
}
.p-gallery__body {
  line-height: 2;
  font-size: 14px;
}
/******************************/
/* TOP RANKING */
/******************************/
.p-ranking {
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 130px;
}
@media screen and (max-width: 1023px) {
  .p-ranking {
    padding-top: 90px;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking {
    padding-top: 75px;
    padding-bottom: 0;
  }
}
.p-ranking-list {
  box-sizing: border-box;
  padding-left: 6%;
  padding-right: 6%;
}
@media screen and (max-width: 1050px) {
  .p-ranking-list {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (max-width: 1023px) {
  .p-ranking-list {
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking-list {
    padding-left: 12%;
    padding-right: 12%;
  }
}
.p-ranking-list .slick-list {
  overflow: visible;
}
.p-ranking-list .slick-prev {
  left: -5px;
  margin-top: -43px;
}
@media screen and (max-width: 1023px) {
  .p-ranking-list .slick-prev {
    left: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking-list .slick-prev {
    margin-top: -30px;
  }
}
.p-ranking-list .slick-next {
  right: -5px;
  margin-top: -43px;
}
@media screen and (max-width: 1023px) {
  .p-ranking-list .slick-next {
    right: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking-list .slick-next {
    margin-top: -30px;
  }
}
.p-ranking-list .slick-dotted.slick-slider {
  margin-bottom: 60px;
}
.p-ranking-list .slick-dots {
  bottom: -45px;
}
.p-ranking-list .slick-dots li {
  margin: 0 2px;
}
.p-ranking-list__item {
  position: relative;
  box-sizing: border-box;
  margin-right: 10px;
  margin-left: 10px;
  word-break: break-all;
}
@media screen and (max-width: 1023px) {
  .p-ranking-list__item {
    margin-right: 20px;
    margin-left: 20px;
  }
}
@media screen and (max-width: 767px) {
  .p-ranking-list__item {
    margin-right: 8px;
    margin-left: 8px;
  }
}
.p-ranking-list__img {
  margin-bottom: 20px;
  background: #ffffff;
}
@media screen and (max-width: 767px) {
  .p-ranking-list__img {
    margin-bottom: 10px;
    text-align: center;
  }
}

.p-ranking-list__txt {
  text-align: center;
}

.p-shop__img {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  min-height: 380px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .p-shop__img {
    display: block;
    width: auto;
    min-height: 200px;
    height: 0;
    padding-bottom: 54.29%;
  }
}

/* 下から上へスライド */

/* ズームアウト */

/* ズームイン */

/* フェードイン */

/* フェードアウト */

/* 右に移動 */

/* 左に移動 */

/* ポップアップ */

/* タッチデバイスでのスライド操作を改善
   slick.css は <body> 内でテンプレート CSS より後段に読まれるため、同じ (0,2,0) の
   .slick-list.dragging{cursor:pointer} に負ける。.slick-slider を足して (0,3,0) にする */
.slick-slider .slick-list.dragging {
  cursor: grab;
  cursor: -webkit-grab;
}

.slick-list.dragging * {
  pointer-events: none;
}

/* ヒーロースライダーの前後矢印(PC のみ・2026-08-09 追加) */
.custom-slider-arrow {
  display: none;
}
@media screen and (min-width: 1024px) {
  .custom-slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .custom-slider-arrow:hover,
  .custom-slider-arrow:focus-visible {
    background: rgba(0, 0, 0, 0.6);
  }
  .custom-slider-arrow.is-prev {
    left: calc(27.5vw - 60px);
  }
  .custom-slider-arrow.is-next {
    right: calc(27.5vw - 60px);
  }
}
