@charset "UTF-8";
/* ==========================================================================
   クリスマスコフレ 2026 LP
   --------------------------------------------------------------------------
   目次
     1. 変数
     2. ベース
     3. 共通パーツ・ユーティリティ
     4. PC専用パーツ（SPでは非表示）
     5. メインコンテンツ
     6. スクロールフェードイン
     7. 手提げ袋フロートボタン
     8. 手提げ袋ボトムシート
     9. メディアクエリ（768px〜 / 1024px〜 / 動きを減らす設定）
   ========================================================================== */
/* ==========================================================================
   1. 変数
   ========================================================================== */
:root {
  --pc-col: 450px;
  /* PC時のメインカラム幅（デザイン値） */
  --anchor-offset: 30px;
  /* アンカー着地時の上余白（固定ヘッダーがある場合はその高さを加算） */
}

/* ==========================================================================
   2. ベース
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #efe6d6;
}
body.no-scroll {
  overflow: hidden;
}

main {
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   3. 共通パーツ・ユーティリティ
   ========================================================================== */
/* 共通フッターの上余白を打ち消す */
.p-footer {
  margin-top: 0 !important;
}

/* 終了モーダルのオーバーレイ */
.articles-fin_overlay {
  z-index: 999;
}

.clickable:hover {
  cursor: pointer;
  opacity: 0.8;
}

/* ページ内アンカーの着地位置 */
.anchor-target {
  scroll-margin-top: var(--anchor-offset);
}

/* 余白ユーティリティ（数値＝750px幅デザインでのpx。--u は #christmas2026 .inner 内で有効） */
.mb10 {
  margin-bottom: calc(var(--u) * 10);
}

.mb20 {
  margin-bottom: calc(var(--u) * 20);
}

.mb30 {
  margin-bottom: calc(var(--u) * 30);
}

.mb40 {
  margin-bottom: calc(var(--u) * 40);
}

.mb50 {
  margin-bottom: calc(var(--u) * 50);
}

.mb60 {
  margin-bottom: calc(var(--u) * 60);
}

.mb70 {
  margin-bottom: calc(var(--u) * 70);
}

.mb80 {
  margin-bottom: calc(var(--u) * 80);
}

.mb90 {
  margin-bottom: calc(var(--u) * 90);
}

.mb100 {
  margin-bottom: calc(var(--u) * 100);
}

.mb110 {
  margin-bottom: calc(var(--u) * 110);
}

.mb120 {
  margin-bottom: calc(var(--u) * 120);
}

/* ==========================================================================
   4. PC専用パーツ（SPでは非表示）
   ========================================================================== */
.pc-bg,
.pc-side {
  display: none;
}

/* ==========================================================================
   5. メインコンテンツ
   ========================================================================== */
.main {
  position: relative;
  z-index: 2;
}

#christmas2026 {
  container-type: inline-size;
  /* 子要素の cqi の基準 */
  max-width: 750px;
  margin: 0 auto;
  /* 750px幅デザインの 1px（カラム幅に連動して伸縮） */
}
#christmas2026 .inner,
#christmas2026 .sec_dummy {
  --u: calc(100cqi / 750);
}
#christmas2026 .inner {
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: calc(var(--u) * 10);
  background: url(../img/bg.jpg) center top/100% auto no-repeat;
}
#christmas2026 section > div {
  line-height: 0;
}
#christmas2026 section img {
  display: block;
  width: 100%;
  height: auto;
}
#christmas2026 {
  /* ---- 各セクション（PC値は 768px〜 の中） ---- */
}
#christmas2026 .sec_fv {
  margin-bottom: 44vw;
}
#christmas2026 .sec_cv .cv_ttl02 {
  margin-bottom: 76vw;
}
#christmas2026 .sec_cv .btn_cv {
  width: 96vw;
  max-width: 420px;
  margin: 0 auto 2.666vw;
}
#christmas2026 .sec_cv.sec_cv01 {
  margin-bottom: 22%;
}
#christmas2026 .sec_cv.sec_cv02 {
  margin-bottom: 10vw;
}
#christmas2026 .sec_giftBox {
  margin-bottom: 20.67vw;
}
#christmas2026 .sec_giftBox .giftBox_txt {
  margin-bottom: 16vw;
}
#christmas2026 .sec_giftBox .item02_img {
  margin-bottom: -4vw;
}

.sec_cv .btn_cv a {
  display: block;
  transition: opacity 0.3s;
}
.sec_cv .btn_cv a:hover {
  opacity: 0.8;
}

.sec_setItems {
  margin-bottom: calc(var(--u) * 155);
}
.sec_setItems .item02_img {
  margin-bottom: calc(var(--u) * -30);
}

/* ==========================================================================
   6. スクロールフェードイン（JS有効時のみ）
   ========================================================================== */
.is-fade-ready .js-fade {
  opacity: 0;
  transform: translateY(30px);
  /* 下から少し浮き上がる */
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
.is-fade-ready .js-fade.is-show {
  opacity: 1;
  transform: none;
}
.is-fade-ready .js-fade.zoom-pop {
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 弾むような動き */
}
.is-fade-ready .js-fade.zoom-pop.is-show.zoom-pop {
  transform: none;
}

/* アンカー移動時：着地点の要素は位置移動なし・フェードのみ（着地点の上下揺れ防止） */
.is-fade-ready .js-fade.is-quick {
  transform: none;
  transition: opacity 0.6s ease;
}

/* ==========================================================================
   7. 手提げ袋フロートボタン
   ========================================================================== */
.link-cart {
  position: fixed;
  right: 3%;
  bottom: 120px;
  z-index: 21;
  display: none;
  width: 70px;
  height: 80px;
}

.link-cart-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  /* 六角形の背景 */
}
.link-cart-btn::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2237px%22%20height%3D%2243px%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22rgb(203%2C%20172%2C%20144)%22%20d%3D%22M18.502%2C42.995%20L0.005%2C32.247%20L0.005%2C10.758%20L18.502%2C0.010%20L36.998%2C10.758%20L36.998%2C32.247%20L18.502%2C42.995%20Z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.8;
  transition: opacity 0.3s;
  content: "";
}
.link-cart-btn {
  /* 手提げ袋アイコン */
}
.link-cart-btn::after {
  position: absolute;
  right: 0;
  bottom: 52%;
  left: 0;
  display: inline-block;
  width: 32px;
  height: 46px;
  margin: auto;
  background-image: url(../img/bag_icon.png);
  background-size: cover;
  content: "";
}
.link-cart-btn span {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 100%;
  height: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.2;
}

/* ==========================================================================
   8. 手提げ袋ボトムシート
   ========================================================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  z-index: 99;
  box-sizing: border-box;
  width: 100%;
  max-height: 85vh;
  padding: 20px;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  transition: bottom 0.4s ease-in-out;
}
.bottom-sheet.is-open {
  bottom: 0;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #9f9f9f;
}
.sheet-header h2 {
  margin: 0;
  font-size: 18px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.bag-options-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.bag-item {
  padding: 16px;
  border: 1px solid #9f9f9f;
  border-radius: 8px;
}
.bag-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 140px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.image-square {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
  aspect-ratio: 1/1;
  background-color: #fff;
}
.image-square img {
  max-width: 100%;
  max-height: 100%;
}

.purchase-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px dashed #9f9f9f;
}

.price {
  font-size: 16px;
  font-weight: bold;
}

.cart-form-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-quantity-label {
  margin-bottom: 0;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.2;
}

.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  text-align: center;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #4d4d4d;
  border-radius: 4.8rem;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
}

.btn-cart {
  margin-top: 8px;
  font-size: 1.4rem;
  color: #fff;
  background-color: #70b5b0;
  border: none;
}

.btn-bag {
  margin-top: 16px;
}

.bottom-close-btn {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  font-weight: bold;
  color: #333;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 80px;
  cursor: pointer;
}

/* ==========================================================================
   9-1. タブレット・PC（768px〜）
   ========================================================================== */
@media (min-width: 768px) {
  #christmas2026 .p-header_contents {
    height: 70px;
  }
  #christmas2026 .sec_fv {
    margin-bottom: 200px;
  }
  #christmas2026 .sec_cv .cv_ttl02 {
    margin-bottom: 340px;
  }
  #christmas2026 .sec_cv .btn_cv {
    margin-bottom: 10px;
  }
  #christmas2026 .sec_cv.sec_cv02 {
    margin-bottom: 30px;
  }
  #christmas2026 .sec_giftBox {
    margin-bottom: 95px;
  }
  #christmas2026 .sec_giftBox .giftBox_txt {
    margin-bottom: 80px;
  }
  #christmas2026 .sec_giftBox .item02_img {
    margin-bottom: -30px;
  }
  .link-cart-btn span {
    font-size: 1.4rem;
    line-height: inherit;
  }
}
/* ==========================================================================
   9-2. PC（1024px〜）
   ========================================================================== */
@media (min-width: 1024px) {
  /* 固定背景：background-attachment: fixed ではなく固定要素で実装（描画が安定） */
  .pc-bg {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
  }
  /* 左右エリア：メインカラムを除いた残り幅を半分ずつ使い、中身を上下左右中央に */
  .pc-side {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    /* top・高さはJS（initSideCenter）がメインの表示範囲に合わせて更新 */
    top: var(--pc-side-top, 0px);
    height: var(--pc-side-height, 100vh);
    z-index: 3;
    /* メインより前面（クリック可能に） */
    width: calc((100% - var(--pc-col)) / 2);
  }
  .pc-side--left {
    left: 0;
  }
  .pc-side--right {
    right: 0;
  }
  /* メインカラム（main自体も幅を絞り、左右エリアに被らないように） */
  .main {
    width: var(--pc-col);
    margin: 0 auto;
  }
  #christmas2026 {
    max-width: var(--pc-col);
  }
  /* 左：ロゴ（325px／狭い画面では縮小） */
  .pc-logo {
    width: min(325px, 76%);
    margin: 0;
  }
  /* 右：メニュー（290×340px／狭い画面では比率を保って縮小） */
  .pc-menu {
    position: relative;
    width: min(290px, 80%);
    aspect-ratio: 290/340;
    background: url(../img/pc/menu_bg.png) center/100% 100% no-repeat;
  }
  .pc-menu__list {
    position: absolute;
    inset: 7.6% 0 6.5%;
    /* 内枠の上下端（デザインから算出） */
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pc-menu__item {
    display: flex;
  }
  .pc-menu__item a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
  }
  .pc-menu__item a:hover, .pc-menu__item a.is-current {
    opacity: 0.55;
  }
  .pc-menu__item a:focus-visible {
    outline: 2px solid #8a6a2f;
    outline-offset: -6px;
  }
  /* 文字画像の幅＝画像幅 ÷ メニュー幅290px */
  .pc-menu__item--01 img {
    width: 40%;
  }
  .pc-menu__item--02 img {
    width: 74.1379310345%;
  }
  .pc-menu__item--03 img {
    width: 77.9310344828%;
  }
  .pc-menu__item--04 img {
    width: 28.275862069%;
  }
  /* 手提げ袋 */
  .link-cart {
    bottom: 160px;
    width: 100px;
    height: 115px;
  }
  .overlay {
    display: none !important;
  }
  .bottom-sheet {
    right: 20px;
    left: auto;
    width: 400px;
    height: 70vh;
    max-height: 570px;
  }
}
/* ==========================================================================
   9-3. 動きを減らす設定
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .is-fade-ready .js-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}/*# sourceMappingURL=style.css.map */