/* ========================================
   TOPページ - スタイリッシュアクセサリーショップ
   ======================================== */

/* ========================================
   メインビジュアル・スライドショー
   ======================================== */

#slider {
  background-color: transparent;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  max-width: 100%;
}

#slider.slick-initialized {
  opacity: 1;
}

#slider .slick-slide {
  position: relative;
  margin: 0 5px; 
  box-sizing: border-box;
  transform: scale(1.0); 
  transition: none;
}

#slider .slick-center {
  transform: scale(1.0); 
}

#slider .slick-slide > a {
  pointer-events: initial; 
  display: block;
  position: relative;
}

#slider .slick-slide a:hover {
  opacity: 1;
}

#slider .slick-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}

/* スライド上のテキスト */
.p-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 80%;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: opacity 0.5s ease;
}

#slider .slick-slide:not(.slick-center) .p-slide-content {
  opacity: 0; 
}

.p-slide-content__sub {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.p-slide-content__ttl {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
  line-height: 1.2;
}

.p-slide-content__btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgba(255,255,255,0.2);
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

#slider .slick-slide > a:hover .p-slide-content__btn {
  background-color: #fff;
  color: #333;
}

@media (max-width: 767px) {
  #slider .slick-slide img {
    min-height: 350px;
    max-height: 450px;
  }
  .p-slide-content__sub {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .p-slide-content__ttl {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .p-slide-content__btn {
    padding: 8px 20px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  #slider .slick-slide img {
    min-height: 500px;
    max-height: 700px;
  }
  .p-slide-content__ttl {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  #slider .slick-slide img {
    min-height: 600px;
    max-height: 800px;
  }
}

/* スライドショーボタン */
#slider .slick-prev,
#slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  padding: 0;
}

#slider .slick-prev:hover,
#slider .slick-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

#slider .slick-prev { left: 20px; }
#slider .slick-next { right: 20px; }

#slider .slick-prev::before,
#slider .slick-next::before {
  font-size: 24px;
  line-height: 1;
  color: #fff;
  opacity: 1;
  font-family: 'slick';
  -webkit-font-smoothing: antialiased;
}

#slider .slick-prev::before { content: '←'; }
#slider .slick-next::before { content: '→'; }

@media (max-width: 767px) {
  #slider .slick-prev,
  #slider .slick-next {
    display: none;
  }
}

/* ========================================
   ランキングセクション（タブ切り替え）
   ======================================== */

.c-ranking-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.c-ranking-tab {
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 30px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  font-family: var(--font-primary);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.c-ranking-tab:hover {
  border-color: #c0a062;
  color: #c0a062;
}

.c-ranking-tab.is-active {
  background-color: #c0a062;
  border-color: #c0a062;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(192, 160, 98, 0.3);
}

/* JSでの表示切り替え */
.c-ranking-content {
  display: none;
}

.c-ranking-content.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* ランキングリスト（スマホ用デフォルト設定） */
.c-ranking .u-container-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: -20px;
  margin-right: -20px;
  padding-bottom: 10px;
}

.c-ranking .c-ranking-list {
  display: flex; /* 横並び */
  flex-wrap: nowrap; /* 折り返しなし */
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0 20px;
  width: max-content;
}

.c-ranking-list__item {
  flex: 0 0 160px; /* 幅固定 */
  width: 160px;
}

/* 最後のアイテムの右余白をゼロにする（スクロール調整） */
.c-ranking-list__item:last-child {
  margin-right: 0 !important;
}

/* 画像スタイル */
.c-ranking-list__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 8px;
}

.c-ranking-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ランクバッジ */
.c-ranking-list__rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background-color: #c0a062;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-right-radius: 4px;
  z-index: 2;
}

.c-ranking-list__ttl {
  font-size: 12px;
  line-height: 1.4;
  height: 34px;
  overflow: hidden;
  margin-bottom: 4px;
  color: #333;
}

.c-ranking-list__price {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* ランキングリスト（PC用設定：768px以上） */
@media (min-width: 768px) {
  .c-ranking .u-container-scroll {
    overflow-x: visible;
    margin: 0;
    padding-bottom: 0;
  }

  .c-ranking .c-ranking-list {
    display: grid; /* Gridレイアウト */
    grid-template-columns: repeat(5, 1fr); /* 5列 */
    gap: 20px;
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
  }

  .c-ranking-list__item {
    flex: auto; /* 幅固定解除 */
    width: auto;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .c-ranking-tabs {
    gap: 8px;
  }
  .c-ranking-tab {
    padding: 8px 12px;
    font-size: 11px;
    min-width: auto;
    flex: 1 1 auto; 
  }
}

/* ========================================
   お知らせリスト（スタイリッシュなカードスタイル）
   ======================================== */
.c-info {
  padding: 80px 0;
  background-color: #FAFAFA; /* 背景を薄いグレーに */
}

.c-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr; /* スマホ: 1列 */
  gap: 20px;
}

@media (min-width: 768px) {
  .c-info-list {
    grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
    gap: 30px;
  }
}

.c-info-list__item {
  background-color: #fff;
  border-radius: 4px; /* 少し角を立ててシャープに */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* 柔らかく広がる影 */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* 上品な動き */
  border: 1px solid #f0f0f0; /* 薄い境界線 */
  border-bottom: 3px solid #c0a062; /* 下線アクセント（常時表示） */
  height: 100%;
  position: relative;
  overflow: hidden;
}

.c-info-list__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* 浮き上がり強調 */
}

.c-info-list__item a {
  display: flex;
  flex-direction: column;
  padding: 30px;
  text-decoration: none;
  color: #333;
  height: 100%;
  position: relative;
}

/* 矢印アイコンなし */
.c-info-list__item a::after {
  content: none;
}

/* 日付は非表示 */
.c-info-list__date {
  display: none;
}

.c-info-list__message {
  font-size: 14px;
  line-height: 2; /* 行間を広げて読みやすく */
  font-weight: 400;
  color: #555; /* 真っ黒より少しグレーに */
  /* 長文を4行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  /* スタイリッシュさを出すため明朝体へ */
  font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'MS PMincho', serif;
}

/* ▼▼▼ 追加：お知らせバッジ・日付・本文のスタイル ▼▼▼ */
.c-info-badge {
  display: inline-block;
  background-color: #c0a062;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  margin-right: 10px;
  margin-bottom: 0; /* 下余白なし（横並びにするため） */
  vertical-align: middle;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  transform: translateY(-1px);
}

/* 日付スタイル */
.c-info-date {
  display: inline-block; /* 横並び */
  font-size: 13px;
  font-weight: 600;
  color: #333;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* 本文スタイル（改行後） */
.c-info-text {
  display: block;
  margin-top: 12px; /* 上部に余白 */
  font-size: 15px;
  color: #333;
}

/* 注釈テキスト */
.c-info-note {
  text-align: right;
  font-size: 11px;
  color: #888;
  margin-top: 15px;
  font-family: var(--font-primary);
}

/* ========================================
   1アイテム特集セクション
   ======================================== */
.c-feature {
  padding: 100px 0;
  background-color: #FAFAFA;
  overflow: hidden;
  width: 100%;
}

.c-feature__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px; 
  flex-direction: column;
}

.c-feature__images {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-bottom: 40px;
}

.c-feature__img-main {
  width: 85%;
  position: relative;
  z-index: 1;
}

.c-feature__img-main img,
.c-feature__img-sub img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); 
}

.c-feature__img-sub {
  position: absolute;
  bottom: -40px; 
  right: -20px; 
  width: 55%; 
  z-index: 2; 
  border: 5px solid #FAFAFA; 
}

.c-feature__content {
  width: 100%;
  max-width: 500px;
  text-align: center; 
}

.c-feature__catch {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #c0a062;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.c-feature__ttl {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #333;
}

.c-feature__desc {
  font-size: 0.95rem;
  line-height: 2;
  color: #666;
  margin-bottom: 40px;
}

.c-feature__btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.c-feature__btn:hover {
  background-color: transparent;
  color: #333;
}

@media (min-width: 992px) {
  .c-feature__inner {
    flex-direction: row; 
    gap: 100px; 
    justify-content: space-between;
  }
  .c-feature__images {
    margin-bottom: 0;
    max-width: none;
    flex: 1.5; 
  }
  .c-feature__content {
    text-align: left; 
    flex: 1; 
  }
}

@media (max-width: 767px) {
  .c-feature {
    padding: 60px 0;
  }
  .c-feature__ttl {
    font-size: 2rem;
  }
  .c-feature__images {
    padding-right: 20px; 
    max-width: 100%; 
  }
}

/* ========================================
   HIT ITEMS セクション
   ======================================== */
.c-hit-items {
  padding: 60px 0;
  background-color: #fff;
}

.c-hit-items .c-heading {
  margin-top: 60px;
  margin-bottom: 40px;
}

/* グリッド設定 */
.c-hit-items .c-item-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .c-hit-items .c-item-list {
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
  }
}

.c-hit-items .c-item-list__item {
  width: 100%;
  margin-bottom: 0;
  position: relative;
}

.c-hit-items .c-item-list__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.c-hit-items .c-item-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-item-list__link-img,
.c-item-list__link-txt {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.c-hit-items .c-btn-favorite,
.c-recommend .c-btn-favorite {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 10;
  pointer-events: auto;
}

.c-hit-items .c-item-list__txt,
.c-recommend .c-item-list__txt {
  position: relative;
}


/* ========================================
   BRAND STORYセクション
   ======================================== */
.c-story {
  padding: 80px 0;
  background-color: #FAFAFA;
}

.c-story__inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
}

.c-story__img {
  width: 100%;
  max-width: 600px;
}

.c-story__img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.c-story__txt {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.c-story__ttl {
  font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'MS PMincho', serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
}

.c-story__desc {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 2;
  color: #666;
  margin-bottom: 40px;
  text-align: left;
}

.c-story__btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.c-story__btn:hover {
  background-color: #333;
  color: #fff;
}

@media (min-width: 768px) {
  .c-story__inner {
    flex-direction: row;
    justify-content: center;
    gap: 80px;
  }
  
  .c-story__txt,
  .c-story__img {
    flex: 1;
  }
  
  .c-story__txt {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .c-story__ttl {
    font-size: 1.5rem; 
  }
}

.l-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}