@charset "UTF-8";

/*==========================
  1. Base & Reset
==========================*/
#sakura {
  font-family: "EB Garamond", "Noto Serif JP", serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fef9f9;
}

#sakura * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 画像が消えないための必須設定 */
#sakura img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 0;
  display: block; /* 隙間排除 */
}

#sakura a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

#sakura a:hover {
  opacity: 0.75;
}

#sakura ul {
  list-style: none;
}

/* PC/SP Display Toggle */
#sakura .pc { display: block; }
#sakura .sp, 
#sakura .sp_title { display: none; } /* .sp_title を追加 */

@media screen and (max-width: 768px) {
  #sakura .pc { display: none; }
  #sakura .sp, 
  #sakura .sp_title { display: block; } /* .sp_title を追加 */
}

/*==========================
  2. Key Visual (KV)
==========================*/
#sakura .kv {
  position: relative;
  width: 100%;
  height: auto;
}

#sakura .kv .kv_back {
  width: 100%;
  overflow: hidden;
}

/*==========================
  3. Introduction Section
==========================*/
#sakura .main-content {
  background-color: #fdf9f9;
  background-image: url("../img/bg_cherry_blossoms.jpg");
  background-repeat: repeat;
  background-size: 500px;
}

#sakura .sec_txt {
  padding: 50px 20px;
  text-align: center;
}

#sakura .sec_txt .inner {
  max-width: 680px;
  margin: 0 auto;
}

#sakura .sec_txt p {
  font-size: 1.6rem;
  line-height: 2.5;
  color: #5f5f5f;
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 500;
  letter-spacing: 0.09em;
}

@media screen and (max-width: 768px) {
  #sakura .sec_txt { padding: 30px 0; }
  #sakura .sec_txt .inner { max-width: 85.33vw; }
  #sakura .sec_txt p { font-size: 3.2vw; line-height: 2; }
}

/*==========================
  4. Product List (25 Items)
==========================*/
#sakura .items {
  padding: 0 10px 40px;
}

#sakura .items .inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* PC Grid */
#sakura .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 30px;
}

#sakura .product-list li {
  text-align: center;
}

#sakura .product-list .img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 7px;
  overflow: hidden;
  background-color: #f9f9f9;
}

#sakura .product-list .txt p {
    font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
    color: #505050;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6; /* 0.2 から 1.6 に修正 */
    letter-spacing: 0.05em;
}

/* オンライン限定バッジ */
#sakura .online-limited-badge {
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(224, 135, 149, 0.85);
  color: #fff;
  font-size: 11px;
  padding: 3px 7px;
  z-index: 5;
  pointer-events: none;
}

/* SP Swipe Slider */
@media screen and (max-width: 768px) {
  #sakura .swipe-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #sakura .swipe-container::-webkit-scrollbar { display: none; }

  #sakura .sp .product-list {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 20px 10px;
    padding: 0 15px;
    scroll-snap-align: start;
  }
  
  #sakura .sp_scroll_indicator { margin-top: 10px; text-align: center; }
  #sakura .dots-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
  #sakura .dot { width: 8px; height: 8px; border-radius: 50%; background: #e8d6d6; transition: 0.3s; }
  #sakura .dot.active { background: #e8b1ac; }

  #sakura .product-list .txt p {
    font-size: 1.1rem;
    line-height: 1.3;
}
}

/*==========================
  5. Package & Novelty (消えていた下部エリア)
==========================*/
#sakura .package {
  padding: 50px 10px;
}

#sakura .package .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 45px 20px;
  background-color: #f4e6e6; /* ケースセクションの背景 */
}

#sakura section.package + section.package .inner {
  background-color: #f4e6e6;
}

#sakura .package .inside {
  max-width: 710px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

#sakura .package .txt { flex: 1; color: #717070; }
#sakura .package .title { border-bottom: 1px solid #717070; padding-bottom: 20px; margin-bottom: 20px; }
#sakura .package .title h2 { font-family: "EB Garamond", serif; font-size: 4.4rem; font-weight: 400; }
#sakura .package .title p { font-size: 1.8rem; font-family: "Noto Serif JP", serif; margin-top: 5px; text-align: center;}
#sakura .package .explanation_txt {font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;font-size: 1.6rem; line-height: 2.0; font-weight: 500;
  color: #717070;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
#sakura .package .asterisk { font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif; margin-top: 15px; }

#sakura .package .img { flex: 1; max-width: 330px; }

@media screen and (max-width: 768px) {
  #sakura .package .inner { max-width: 85.33vw; padding: 40px 0; }
  #sakura .package .inside { flex-direction: column; text-align: center; }
  #sakura .package .sp_title { border-bottom: 1px solid #717070; width: 80%; margin: 0 auto 10px; padding-bottom: 5px; }
  #sakura .package .sp_title h2 { font-size: 8.2vw; color: #717070; }
  #sakura .package .img { order: 1; max-width: 45vw; margin-bottom: 10px; }
  #sakura .package .txt { order: 2; padding: 0 15px; }
  #sakura .package .explanation_txt {
    font-size: 3.2vw;
    line-height: 1.8;
    text-align: center;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
  }
  #sakura .package .inside {
  gap: 10px; /* 要素間の隙間を一括で10pxにする */
}
}

/*==========================
  6. Animations (JS連携用)
==========================*/
/* 全体のフェードイン */
#sakura .fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.6s ease;
}

#sakura .fade.on, #sakura .fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* 商品画像のぼかしアニメーション (blur-fade) */
#sakura .blur-fade img {
  filter: blur(1.5rem);
  transform: scale(1.1);
  transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#sakura .blur-fade.on img, #sakura .blur-fade.active img {
  filter: blur(0);
  transform: scale(1);
}

/*==========================
  7. Footer Elements
==========================*/
#sakura .back_link {
  display: block;
  width: 86px;
  margin: 80px auto;
}

#sakura .top {
  position: fixed;
  right: 50px;
  bottom: 100px;
  width: 40px;
  z-index: 50;
}

@media screen and (max-width: 768px) {
  #sakura .top { right: 4vw; bottom: 7vw; width: 10vw; }
  .sp_scroll_indicator {
    margin-top: 1.6rem;
    padding: 0 1rem;
  }

  /* アイコンとドットを包むエリア */
  .indicator_icons {
    position: relative; /* 矢印を絶対配置するための基準 */
    display: flex;
    align-items: center;
    justify-content: center; /* ドットを中央に */
    min-height: 4rem;
  }

  /* 矢印共通設定 */
  .indicator_icons .arrow {
    position: absolute; /* 左右に飛ばす */
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    cursor: pointer;
  }

  /* 左矢印の位置とアイコン */
  .indicator_icons .arrow.left {
    left: 0;
  }
  .indicator_icons .arrow.left img {
    content: url("../img/icon-arrow-slide02.svg"); /* 以前のパスを流用 */
    width: 2rem;
    height: 2rem;
  }

  /* 右矢印の位置とアイコン */
  .indicator_icons .arrow.right {
    right: 0;
  }
  .indicator_icons .arrow.right img {
    content: url("../img/icon-arrow-slide01.svg"); /* 以前のパスを流用 */
    width: 2rem;
    height: 2rem;
  }

  /* ドット（インジケーター）の並び */
  .dots-container {
    display: flex;
    gap: 8px;
  }

  /* 下の "scroll" テキスト */
  .indicator_text {
    text-align: center;
    font-size: 1.2rem;
    font-family: "Helvetica Neue", sans-serif;
    margin-top: 0.5rem;
    text-transform: uppercase;
  }
}

/* --- Package 共通設定 --- */
#sakura .main-content .package,
#sakura .main-content .package2 {
  padding: 0 10px;
  margin-bottom: 50px;
}

/* packageとpackage2の背景色を共通化 */
#sakura .main-content .package .inner,
#sakura .main-content .package2 .inner {
  background-color: #f4e6e6; /* ここで統一 */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 0;
}

/* 個別の背景色 */
#sakura .main-content .package .inner { background-color: #f4e6e6; }
#sakura .main-content .package2 .inner { background-color: #fff; }

#sakura .main-content .package .inner .inside,
#sakura .main-content .package2 .inner .inside {
  max-width: 710px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* 画像とテキストの下揃え */
}

/* タイトル設定 */
#sakura .main-content .package .inner .txt .title,
#sakura .main-content .package2 .inner .txt .title {
  padding-bottom: 42px;
  margin-bottom: 32px;
  border-bottom: 1px solid #717070;
  display: block;
  width: 328px;
}

#sakura .main-content .package .inner .txt .title h2,
#sakura .main-content .package2 .inner .txt .title h2 {
  font-family: "EB Garamond", serif;
  font-size: 4.4rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.035em;
  color: #717070;
  text-align: center;
}

/* --- レスポンシブ (SP) --- */
@media screen and (max-width: 768px) {
  #sakura .main-content .package,
  #sakura .main-content .package2 {
    padding: 0;
    margin-bottom: 10.33333vw;
  }

  #sakura .main-content .package .inner,
  #sakura .main-content .package2 .inner {
    max-width: 85.33333vw;
    padding: 7.26667vw 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #sakura .main-content .package .inner .inside,
  #sakura .main-content .package2 .inner .inside {
    max-width: 72vw;
    flex-direction: column;
    align-items: center;
  }

  /* SPでの順序入れ替え: タイトル(0) -> 画像(1) -> テキスト(2) */
  #sakura .main-content .package .inner .img,
  #sakura .main-content .package2 .inner .img {
    order: 1;
    max-width: 45.33333vw;
    margin: 0 auto 4.26667vw;
  }

  #sakura .main-content .package .inner .txt,
  #sakura .main-content .package2 .inner .txt {
    order: 2;
    padding-right: 0;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #sakura .pc,
  #sakura .main-content .package .inner .txt .title.pc {
    display: none ;
  }

  #sakura .sp_title.sp {
    display: block ;
    text-align: center;
    margin-bottom: 20px;
  }
}
/* --- PC版では矢印関連をすべて非表示 --- */
.sp-large-arrow, 
.sp_scroll_indicator {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-large-arrow {
    cursor: pointer;
    pointer-events: auto ; /
}
  .swiper-inner {
    position: relative;
    padding: 0 50px;
  }

  .sp-large-arrow {
    display: block;
    width: 6rem;
    height: 6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
  }
  .swiper-button-prev.sp-large-arrow {
    left: -16px;
    background: url(../img/icon-arrow02_prev.svg) center/contain no-repeat;
  }

  .swiper-button-next.sp-large-arrow {
    right: -16px;
    background: url(../img/icon-arrow02_next.svg) center/contain no-repeat;
  }
}

  .sp_scroll_indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 矢印とドットを横並びにする */
  .indicator_icons {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  /* 下部の小さなテキスト◀▶ */
  .small-arrow {
    font-size: 10px;
    color: #3b3b3b;
;
  }

  /* ドット */
  .dots-container {
    display: flex;
    gap: 8px;
  }

  .dots-container .dot {
    width: 6px;
    height: 6px;
    background-color: #d2a4a4;
    border-radius: 50%;
    opacity: 0.3;
    transition: opacity 0.3s ease;
  }

  .dots-container .dot.active {
    opacity: 1;
  }

  /* scrollテキスト */
  .indicator_text {
    font-size: 10px;
    color: #3b3b3b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: serif;
  }
}

/* インジケーターの文字と矢印を横並びに */
.indicator_text {
    display: flex;
    align-items: center;
    gap: 15px; /* 矢印と文字の間の隙間 */
    font-size: 14px;

}

/* 矢印をクリック可能にする設定 */
.small-arrow {
    cursor: pointer;
    padding: 5px 15px; /* クリックできる範囲を広げる */
    display: inline-block;
    user-select: none; /* テキスト選択を防ぐ */
    transition: opacity 0.2s;
}

.small-arrow:active {
    opacity: 0.5; /* 押したときに少し薄くする */
}