@charset "UTF-8";
/* =========================================================
  福助 ギフト特集LP（SP基準 390px）
  ・既存サイトのCSSと競合しないよう、すべて .gift-wrap 配下に限定
  ・.gift-wrap … 全体の外枠（PCでは背景写真＋左右パネルのレイアウト）
  ・.gift-lp   … 390px のLP本体
========================================================= */
.fs-l-main{
  margin: 0 auto;
}
.gift-wrap {
  --gl-bg: #f7f3ec;
  --gl-bg-sub: #efe8dd;
  --gl-text: #443d36;
  --gl-text-sub: #7a6f66;
  --gl-text-mute: #aba299;
  --gl-accent: #9c4146;
  --gl-line: #d9cfc2;
  --gl-rule: #cdbfae;
  --gl-white: #fff;
  --gl-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --gl-font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gl-font-en: "Cormorant Garamond", "Times New Roman", serif;

  /* 文字サイズの基準単位：390px以上は1px、390px未満は画面幅に合わせて縮小
     （例：320px幅なら 1px × 320/390 ≒ 0.82px → 15pxの文字は約12.3px） */
  --u: min(1px, calc(100vw / 390));

  background: var(--gl-bg);
  color: var(--gl-text);
  font-family: var(--gl-font-sans);
  font-size: calc(15 * var(--u));
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.gift-wrap a,
.gift-wrap a:hover,
.gift-wrap a:visited{
  text-decoration: none;
  color: #443d36 !important;
}
/* LP本体：SP 390px固定（広い画面では中央寄せ、左右は .gift-wrap の米白） */
.gift-lp {
  position: relative;
  max-width: 390px;
  margin: 0 auto !important;
  background: var(--gl-bg);
  overflow: hidden;
}
@media screen and (max-width:420px){
  .gift-lp{
    max-width: 100%;
  }
}

/* ---------- reset（LP内のみ） ---------- */
/* :where() で詳細度を0にし、下のコンポーネント指定が必ず勝つようにする */
.gift-wrap *,
.gift-wrap *::before,
.gift-wrap *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 }
:where(.gift-wrap) :where(h1, h2, h3, p, ul, li, figure, figcaption) {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}
:where(.gift-wrap) :where(ul) { list-style: none; }
:where(.gift-wrap) :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
:where(.gift-wrap) :where(a) { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:where(.gift-wrap) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.gift-wrap .gl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 共通：セクション・見出し ---------- */
.gl-sec { scroll-margin-top: 70px; }

.gl-heading { text-align: center; }
.gl-heading__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gl-accent);
  font-family: var(--gl-font-en);
  font-style: italic;
  font-size: calc(20 * var(--u));
  line-height: 1.2;
  letter-spacing: .04em;
}
.gl-ribbon {
  width: 32px;
  height: 18px;
  color: var(--gl-accent);
  flex-shrink: 0;
}
.gl-heading__title {
  margin-top: 8px;
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(26 * var(--u));
  line-height: 1.45;
}
.gl-heading__lead {
  margin-top: 8px;
  color: var(--gl-text-sub);
  font-size: calc(15 * var(--u));
  line-height: 1.6;
}

/* ---------- MV ---------- */
.gl-mv { position: relative; }
.gl-mv__photo {
  position: relative;
  aspect-ratio: 390 / 440;
  overflow: hidden;
}
.gl-mv__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
/* 写真下部を背景色へなじませる */
.gl-mv__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to bottom,
    rgba(247, 243, 236, 0) 0%,
    rgba(247, 243, 236, .10) 21%,
    rgba(247, 243, 236, .32) 42%,
    rgba(247, 243, 236, .62) 63%,
    rgba(247, 243, 236, .86) 81%,
    rgba(247, 243, 236, .97) 93%,
    var(--gl-bg) 100%);
}
.gl-mv__text {
  position: relative;
  margin-top: calc(-30 * var(--u));
  padding: 0 calc(28 * var(--u)) calc(36 * var(--u));
}
.gl-mv__en {
  position: relative;
  z-index: 1;
  color: var(--gl-accent);
  font-family: var(--gl-font-en);
  font-style: italic;
  font-size: calc(24 * var(--u));
  line-height: 1.2;
  letter-spacing: .02em;
}
.gl-mv__title {
  position: relative;
  z-index: 1;
  margin-top: calc(5 * var(--u));
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(32 * var(--u));
  line-height: 1.5;
  letter-spacing: .06em;
}
.gl-mv__sub {
  position: relative;
  z-index: 1;
  margin-top: calc(14 * var(--u));
  color: var(--gl-text-sub);
  font-weight: 500;
  font-size: calc(13 * var(--u));
  line-height: 1.3;
  letter-spacing: .08em;
}
.gl-mv__heart {
  position: absolute;
  top: calc(8 * var(--u));
  right: 0;
  width: calc(229 * var(--u));
  height: calc(131 * var(--u));
  fill: #e60012;
  pointer-events: none;
}

/* ---------- 目次 ---------- */
.gl-nav { padding: 20px 20px 24px; }
.gl-nav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gl-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 12px;
  background: var(--gl-white);
  border: 1px solid var(--gl-accent);
  border-radius: 4px;
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(15 * var(--u));
  line-height: 1.6;
  text-align: center;
  transition: background-color .2s;
}

/* ---------- 商品カード（共通） ---------- */
.gl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  row-gap: 28px;
}
.gl-card a {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gl-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--gl-white);
}
.gl-card__hook {
  font-weight: 700;
  font-size: calc(15 * var(--u));
  letter-spacing: -.03em;
  line-height: 1.5;
}
.gl-card__name {
  font-weight: 500;
  font-size: calc(15 * var(--u));
  line-height: 1.45;
}
.gl-card__hook + .gl-card__name {
  color: var(--gl-text-sub);
  font-weight: 400;
  font-size: calc(13 * var(--u));
}
.gl-card__price {
  color: var(--gl-accent);
  font-weight: 700;
  font-size: calc(15 * var(--u));
  line-height: 1.6;
}

/* ---------- 01 季節のおすすめギフト ---------- */
.gl-seasonal { padding: 36px 20px 48px; }
.gl-tabs { margin-top: 24px; }
/* レディス／メンズ：胶囊ボタン（選択中＝暗赤の塗り、未選択＝白地＋暗赤の枠） */
.gl-tabs__list {
  display: flex;
  gap: 12px;
}
.gl-tabs__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--gl-accent);
  border-radius: 22px;
  background: var(--gl-white);
  color: var(--gl-accent);
  font-family: var(--gl-font-sans);
  font-weight: 700;
  font-size: calc(15 * var(--u));
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  transition: background-color .2s, color .2s;
}
.gl-tabs__tab[aria-selected="true"] {
  background: var(--gl-accent);
  color: var(--gl-white);
}
@media (hover: hover) {
  .gl-tabs__tab[aria-selected="false"]:hover { background: #fbf6f1; }
}
.gl-tabs__panel { margin-top: 24px; }
.gl-tabs__panel[hidden] { display: none; }

/* ---------- 02 ご予算から選ぶ ---------- */
.gl-budget {
  padding: 36px 20px 48px;
  background: var(--gl-bg-sub);
}
.gl-price-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 32px;
}
.gift-wrap .gl-price-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: var(--gl-white);
  border: 1px solid var(--gl-accent);
  border-radius: 30px;
  color: var(--gl-accent) !important;
  font-weight: 700;
  font-size: calc(14 * var(--u));
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.gl-price {
  margin-top: 32px;
  scroll-margin-top: 70px;
}
.gl-price__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(17 * var(--u));
  line-height: 1.45;
  letter-spacing: .02em;
  white-space: nowrap;
}
/* 罫線＋ひし形 */
.gl-price__head::before,
.gl-price__head::after {
  content: "";
  flex: 1;
  height: 7px;
  background-repeat: no-repeat;
}
.gl-price__head::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cpath d='M3.5 0 7 3.5 3.5 7 0 3.5Z' fill='%239c4146'/%3E%3C/svg%3E"),
    linear-gradient(var(--gl-rule), var(--gl-rule));
  background-position: right center, left center;
  background-size: 7px 7px, calc(100% - 13px) 1px;
}
.gl-price__head::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cpath d='M3.5 0 7 3.5 3.5 7 0 3.5Z' fill='%239c4146'/%3E%3C/svg%3E"),
    linear-gradient(var(--gl-rule), var(--gl-rule));
  background-position: left center, right center;
  background-size: 7px 7px, calc(100% - 13px) 1px;
}
.gl-price__num { color: var(--gl-accent); }

/* ---------- 03 福助のイチオシ ---------- */
.gl-recommend { padding-top: 36px; }
.gl-series {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
}
.gift-wrap a.gl-series__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  aspect-ratio: 390 / 225;
  padding: 0 20px 22px;
  overflow: hidden;
  color: var(--gl-white) !important;
}
.gl-series__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  z-index: 0;
}
/* 写真の上に重ねる黒のグラデーション（写真 → グラデ → 文字 の順に重ねる） */
.gl-series__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(58, 50, 43, 0) 0%,
    rgba(58, 50, 43, .05) 35%,
    rgba(58, 50, 43, .78) 100%);
}
.gl-series__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.gl-series__copy {
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(20 * var(--u));
  line-height: 1.45;
  letter-spacing: .02em;
}
.gl-series__name {
  font-weight: 500;
  font-size: calc(12 * var(--u));
  line-height: 1.5;
  letter-spacing: .02em;
}
.gl-series__arrow {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gl-accent);
}
.gl-series__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--gl-white);
  border-right: 2px solid var(--gl-white);
  transform: translate(-65%, -50%) rotate(45deg);
}

/* ---------- 04 ギフトラッピング ---------- */
.gl-wrapping { padding: 48px 20px 36px; }
.gl-wrapping__fig { margin-top: 24px; }
.gl-wrapping__fig img {
  width: 100%;
  aspect-ratio: 350 / 180;
  object-fit: cover;
  border-radius: 4px;
}
.gl-wrapping__fig figcaption {
  margin-top: 8px;
  color: var(--gl-text-sub);
  font-size: calc(12 * var(--u));
  line-height: 1.7;
  text-align: center;
}
.gl-wrapping__title {
  margin-top: 24px;
  font-family: var(--gl-font-mincho);
  font-weight: 600;
  font-size: calc(20 * var(--u));
  line-height: 1.7;
  text-align: center;
}
.gl-wrapping__text {
  margin-top: 24px;
  font-size: calc(15 * var(--u));
  line-height: 1.7;
}

/* ---------- ボタン ---------- */
.gl-btns {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}
.gl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  padding: 15px 12px;
  border: 1px solid var(--gl-accent);
  border-radius: 30px;
  font-weight: 700;
  font-size: calc(16 * var(--u));
  line-height: 1.6;
  text-align: center;
  transition: opacity .2s, background-color .2s, color .2s;
}
.gl-btn__arrow { margin-left: 1em; }
.gift-wrap a.gl-btn--primary {
  background: var(--gl-accent);
  color: var(--gl-white) !important;
}
.gift-wrap a.gl-btn--secondary {
  background: var(--gl-white);
  color: var(--gl-accent) !important;
}

/* ---------- hover（マウス操作の端末のみ） ---------- */
@media (hover: hover) {
  .gl-nav__btn:hover { background: #fbf6f1; }
  .gl-card a:hover .gl-card__img { opacity: .85; }
  .gift-wrap .gl-price-nav a:hover { background: var(--gl-accent); color: var(--gl-white) !important; }
  .gl-series__item:hover .gl-series__img { transform: scale(1.04); }
  .gift-wrap a.gl-btn--primary:hover { opacity: .85; }
  .gift-wrap a.gl-btn--secondary:hover { background: var(--gl-accent); color: var(--gl-white) !important; }
}

/* キーボード操作時のフォーカス */
.gift-wrap a:focus-visible,
.gift-wrap button:focus-visible {
  outline: 2px solid var(--gl-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .gift-wrap * { transition: none !important; }
}

/* =========================================================
  PC（1080px以上）
  ・背景：ぼかしたMV写真を固定表示
  ・左：タイトル／右：メニュー（スクロールしても画面中央に固定）
========================================================= */
.gift-side { display: none; }

@media (min-width: 1080px) {
  .gift-wrap {
    display: grid;
    grid-template-columns: 1fr 390px 1fr;
    background: var(--gl-bg) url("../img/pc_bg.jpg") center / cover no-repeat fixed;
  }
  .gift-lp {
    grid-column: 2;
    grid-row: 1;
    width: 390px;
    box-shadow: 0 0 40px rgba(68, 61, 54, .14);
  }
  .gift-side {
    display: block;
    grid-row: 1;
    min-width: 0;
  }
  .gift-side--left { grid-column: 1; }
  .gift-side--right { grid-column: 3; }

  /* 画面の高さいっぱいで中央揃え → sticky で固定 */
  .gift-side__inner {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 24px;
    text-align: center;
  }

  /* 左：タイトル */
  .gift-side__ribbon {
    width: 45px;
    height: 25px;
    color: var(--gl-accent);
  }
  .gift-side__en {
    margin-top: 14px;
    color: var(--gl-accent);
    font-family: var(--gl-font-en);
    font-style: italic;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: .01em;
    white-space: nowrap;
  }
  .gift-side__title {
    margin-top: 16px;
    font-family: var(--gl-font-mincho);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.6;
    letter-spacing: .08em;
  }
  .gift-side__line {
    display: block;
    width: 40px;
    height: 1px;
    margin: 20px auto;
    background: var(--gl-accent);
  }
  .gift-side__sub {
    color: var(--gl-text-sub);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .1em;
  }

  /* 右：メニュー */
  .gift-side__menu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gl-accent);
    font-family: var(--gl-font-en);
    font-style: italic;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: .04em;
  }
  .gift-side__menu {
    width: 280px;
    margin-top: 28px;
    border-top: 1px solid var(--gl-rule);
    text-align: left;
  }
  .gift-side__menu li { border-bottom: 1px solid var(--gl-rule); }
  .gift-side__menu a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
    padding: 0 28px 0 4px;
    font-family: var(--gl-font-mincho);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .04em;
    transition: color .2s;
  }
  .gift-side__menu a::after {
    content: "↓";
    position: absolute;
    right: 4px;
    color: var(--gl-accent);
    font-family: var(--gl-font-sans);
    font-weight: 500;
    font-size: 14px;
  }
  .gift-side__num {
    color: var(--gl-accent);
    font-family: var(--gl-font-en);
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
  }
}

@media (min-width: 1080px) and (hover: hover) {
  .gift-side__menu a:hover { color: var(--gl-accent) !important; }
}

/* =========================================================
  ギフトラッピングのポップアップ（画面右下）
  ※ルームウェアLP（/f/roomwear）と同じ仕様。
   PCはサイト共通のLINEバナー（右端・画面の縦中央・高さ266px）の下に収まるよう、
   画面の高さに合わせて小さくする（最大240px）
========================================================= */
.gift-wrap .gift-popup {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 100;
  width: min(240px, calc(50vh - 198px));
  max-width: calc(100% - 40px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .15);
}
.gift-wrap .gift-popup.is-hidden {
  display: none;
}
.gift-wrap .gift-popup-link {
  display: block;
  background: #fff;
}
.gift-wrap .gift-popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid #e4dfd8;
  border-radius: 50%;
  background: #fff;
  color: #16204a;
  font-family: "Jost", var(--gl-font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .gift-wrap .gift-popup {
    right: 20px;
    bottom: 20px;
    width: 54%;
  }
}
