/* ============================================================
   花以想 Hanaimo — /c/oiwai/oi-birthday ページ専用CSS
   ファイル名: hanaimo_birthday.css
   FTP格納先: /common/css/hanaimo_birthday.css
   読み込み:  <link rel="stylesheet" href="https://hanaimo.itembox.cloud/item/common/css/hanaimo_birthday.css">
   作成日:    2026-03-16
   対象ページ: https://www.hanaimo.com/c/oiwai/oi-birthday
   使用クラス: hni-bd- プレフィックス
============================================================ */


/* ============================================================
   共通ユーティリティ
============================================================ */

/* セクション見出し */
.hni-bd-heading {
  font-family: var(--hni-font) !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--hni-dark);
  letter-spacing: .06em;
  margin: 0 0 6px;
  padding: 0;
  border: none !important;
}

.hni-bd-heading__en {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--hni-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hni-bd-heading__sub {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--hni-text-sub);
  letter-spacing: .04em;
  margin-top: 6px;
  line-height: 1.8;
}

/* 区切り線 */
.hni-bd-divider {
  border: none;
  border-top: 1px solid var(--hni-border);
  max-width: 960px;
  margin: 0 auto 52px;
}

/* セクション間スペーサー */
.hni-bd-space {
  height: 52px;
}


/* ============================================================
   受取人別ナビ（hni-bd-for）
   6パターン・感情軸コピー・3列グリッド
============================================================ */
.hni-bd-for {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

.hni-bd-for__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 680px) {
  .hni-bd-for__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .hni-bd-for__grid {
    grid-template-columns: 1fr;
  }
}

.hni-bd-for__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--hni-white);
  border: 1px solid var(--hni-border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, border-color .2s;
  min-height: 44px;
}

.hni-bd-for__card:hover {
  border-color: var(--hni-primary);
  box-shadow: 0 3px 14px rgba(1,121,106,.10);
}

/* 画像エリア */
.hni-bd-for__img-wrap {
  overflow: hidden;
  position: relative;
}

.hni-bd-for__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.hni-bd-for__card:hover .hni-bd-for__img {
  transform: scale(1.04);
}

/* テキストエリア */
.hni-bd-for__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 14px;
  flex: 1;
}

.hni-bd-for__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--hni-primary);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hni-bd-for__feeling {
  font-size: 15px;
  font-weight: 700;
  color: var(--hni-dark);
  line-height: 1.6;
  letter-spacing: .02em;
  margin: 0;
  border: none !important;
  padding: 0 !important;
}

.hni-bd-for__desc {
  font-size: 13px;
  color: var(--hni-text-sub);
  line-height: 1.85;
  flex: 1;
  margin: 0;
}



/* ============================================================
   スタッフ編集ピックアップ（hni-bd-pick）
   3商品・一言コメント付きカード型
============================================================ */
.hni-bd-pick {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

.hni-bd-pick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 680px) {
  .hni-bd-pick__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hni-bd-pick__card {
  display: flex;
  flex-direction: column;
  background: var(--hni-white);
  border: 1px solid var(--hni-border);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}

.hni-bd-pick__card:hover {
  box-shadow: 0 4px 18px rgba(1,94,83,.13);
  transform: translateY(-2px);
}

.hni-bd-pick__img-wrap {
  position: relative;
  overflow: hidden;
}

.hni-bd-pick__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.hni-bd-pick__card:hover .hni-bd-pick__img {
  transform: scale(1.03);
}

.hni-bd-pick__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--hni-primary);
  color: var(--hni-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 2px;
}

.hni-bd-pick__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.hni-bd-pick__comment {
  font-size: 13px;
  color: var(--hni-text-sub);
  line-height: 1.85;
  font-style: italic;
  border-left: 2px solid var(--hni-border);
  padding-left: 10px;
  margin: 0;
}

.hni-bd-pick__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hni-dark);
  line-height: 1.6;
  margin: 0;
  border: none !important;
  padding: 0 !important;
}

.hni-bd-pick__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--hni-text);
  letter-spacing: .02em;
  margin-top: auto;
}

.hni-bd-pick__price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--hni-text-sub);
  margin-left: 3px;
}

.hni-bd-pick__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hni-primary);
  color: var(--hni-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 12px 0;
  border-radius: 2px;
  margin-top: 10px;
  transition: background .2s;
  min-height: 44px;
}

.hni-bd-pick__card:hover .hni-bd-pick__cta {
  background: var(--hni-dark);
  color: var(--hni-white);
}


/* ============================================================
   アイテム選び方 2択フロー（hni-bd-flow）
   問いかけ→答え形式・2列グリッド
============================================================ */
.hni-bd-flow {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

.hni-bd-flow__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 560px) {
  .hni-bd-flow__grid {
    grid-template-columns: 1fr;
  }
}

.hni-bd-flow__card {
  background: var(--hni-white);
  border: 1px solid var(--hni-border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.hni-bd-flow__card:hover {
  box-shadow: 0 3px 14px rgba(1,121,106,.10);
}

/* 画像エリア */
.hni-bd-flow__img-wrap {
  overflow: hidden;
  position: relative;
}

.hni-bd-flow__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.hni-bd-flow__card:hover .hni-bd-flow__img {
  transform: scale(1.04);
}

/* テキストエリア */
.hni-bd-flow__body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hni-bd-flow__q {
  font-size: 14px;
  font-weight: 700;
  color: var(--hni-text-sub);
  letter-spacing: .04em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hni-bd-flow__q::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--hni-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.hni-bd-flow__answer {
  font-family: var(--hni-font) !important;
  font-size: 18px;
  font-weight: 700;
  color: var(--hni-dark);
  margin: 0 0 10px;
  line-height: 1.5;
  letter-spacing: .04em;
  border: none !important;
  padding: 0 !important;
}

.hni-bd-flow__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--hni-primary);
  background: var(--hni-bg);
  border: 1px solid var(--hni-border);
  padding: 2px 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 6px;
}

.hni-bd-flow__desc {
  font-size: 14px;
  color: var(--hni-text-sub);
  line-height: 1.9;
  margin: 0 0 14px;
}

.hni-bd-flow__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hni-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--hni-border);
  padding-bottom: 2px;
  transition: border-color .2s;
}

.hni-bd-flow__link:hover {
  border-color: var(--hni-primary);
}

.hni-bd-flow__link::after {
  content: '\2192';
  font-size: 13px;
}


/* ============================================================
   予算別ナビ（hni-bd-budget）
   4レンジ・4列グリッド
============================================================ */
.hni-bd-budget {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

.hni-bd-budget__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 680px) {
  .hni-bd-budget__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hni-bd-budget__card {
  display: flex;
  flex-direction: column;
  background: var(--hni-white);
  border: 1px solid var(--hni-border);
  border-top: 3px solid var(--hni-border);
  border-radius: 3px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-top-color .2s, box-shadow .2s;
}

.hni-bd-budget__card:hover {
  border-top-color: var(--hni-primary);
  box-shadow: 0 3px 12px rgba(1,121,106,.10);
}

.hni-bd-budget__range {
  font-size: 17px;
  font-weight: 700;
  color: var(--hni-dark);
  letter-spacing: .02em;
  margin: 0 0 6px;
}

.hni-bd-budget__feeling {
  font-size: 12px;
  font-weight: 700;
  color: var(--hni-primary);
  margin: 0 0 6px;
  letter-spacing: .04em;
}

.hni-bd-budget__label {
  font-size: 12px;
  color: var(--hni-text-sub);
  line-height: 1.75;
  flex: 1;
  margin: 0 0 12px;
}

.hni-bd-budget__cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--hni-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  border-top: 1px solid var(--hni-border);
  padding-top: 10px;
  margin-top: auto;
}

.hni-bd-budget__cta::after {
  content: '\2192';
  transition: transform .2s;
}

.hni-bd-budget__card:hover .hni-bd-budget__cta::after {
  transform: translateX(3px);
}


/* ============================================================
   LINE相談CTA（hni-bd-line）
============================================================ */
.hni-bd-line {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

.hni-bd-line__inner {
  background: var(--hni-bg);
  border: 1px solid var(--hni-border);
  border-left: 4px solid var(--hni-primary);
  border-radius: 3px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hni-bd-line__text {
  flex: 1;
  min-width: 200px;
}

.hni-bd-line__heading {
  font-family: var(--hni-font) !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--hni-dark);
  margin: 0 0 6px;
  line-height: 1.6;
  border: none !important;
  padding: 0 !important;
}

.hni-bd-line__sub {
  font-size: 13px;
  color: var(--hni-text-sub);
  line-height: 1.85;
  margin: 0;
}

.hni-bd-line__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--hni-line);
  color: var(--hni-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: opacity .2s;
  flex-shrink: 0;
}

.hni-bd-line__btn:hover {
  opacity: .85;
  color: var(--hni-white);
}

.hni-bd-line__btn-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: .8;
}

@media (max-width: 560px) {
  .hni-bd-line__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .hni-bd-line__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ボトムシート（hni-bd-sheet）
   受取人別おすすめ商品 モーダル
============================================================ */

/* おすすめを見るボタン（カード内） */
.hni-bd-for__open-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hni-primary);
  margin-top: 10px;
  border-top: 1px solid var(--hni-border);
  padding-top: 10px;
  letter-spacing: .04em;
}

.hni-bd-for__open-btn::after {
  content: '\203A';
  font-size: 15px;
  line-height: 1;
}

/* カードのカーソル */
.hni-bd-for__card[role="button"] {
  cursor: pointer;
}

.hni-bd-for__card[role="button"]:focus-visible {
  outline: 2px solid var(--hni-primary);
  outline-offset: 2px;
}

/* 背景オーバーレイ */
.hni-bd-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.hni-bd-sheet-backdrop--show {
  opacity: 1;
  pointer-events: all;
}

/* シート本体 */
.hni-bd-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 901;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.32, .72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

.hni-bd-sheet--show {
  transform: translateY(0);
}

/* ハンドル */
.hni-bd-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--hni-border);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ヘッダー */
.hni-bd-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px 12px;
  gap: 12px;
}

.hni-bd-sheet__header-text {
  flex: 1;
  min-width: 0;
}

.hni-bd-sheet__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hni-dark);
  margin: 0;
  line-height: 1.5;
}

.hni-bd-sheet__budget {
  font-size: 13px;
  color: var(--hni-text-sub);
  margin: 5px 0 0;
}

.hni-bd-sheet__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-height: 36px;
  background: var(--hni-bg);
  border: 1px solid var(--hni-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--hni-text-sub);
  transition: background .15s;
}

.hni-bd-sheet__close:hover {
  background: var(--hni-border);
}

/* 区切り線 */
.hni-bd-sheet__divider {
  height: 1px;
  background: var(--hni-border);
  margin: 0;
}

/* 商品グリッド */
.hni-bd-sheet__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 16px 12px;
}

/* 商品カード */
.hni-bd-sheet__prod {
  display: flex;
  flex-direction: column;
  background: var(--hni-bg);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}

.hni-bd-sheet__prod:hover {
  opacity: .82;
}

.hni-bd-sheet__prod-img-wrap {
  overflow: hidden;
}

.hni-bd-sheet__prod-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.hni-bd-sheet__prod:hover .hni-bd-sheet__prod-img {
  transform: scale(1.04);
}

.hni-bd-sheet__prod-body {
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hni-bd-sheet__prod-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--hni-primary);
  background: #fff;
  border: 1px solid var(--hni-border);
  padding: 2px 7px;
  border-radius: 2px;
  align-self: flex-start;
}

.hni-bd-sheet__prod-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hni-dark);
  line-height: 1.55;
  margin: 0;
}

.hni-bd-sheet__prod-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--hni-text);
  margin: 0;
}

.hni-bd-sheet__prod-price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--hni-text-sub);
}

.hni-bd-sheet__prod-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--hni-primary);
  margin-top: 4px;
}

/* LINE CTA */
.hni-bd-sheet__line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 16px 16px;
  padding: 14px 16px;
  background: var(--hni-bg);
  border: 1px solid var(--hni-border);
  border-left: 3px solid var(--hni-primary);
  border-radius: 4px;
  flex-wrap: wrap;
}

.hni-bd-sheet__line-text {
  flex: 1;
  min-width: 160px;
}

.hni-bd-sheet__line-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--hni-dark);
  margin: 0 0 3px;
}

.hni-bd-sheet__line-sub {
  font-size: 11px;
  color: var(--hni-text-sub);
  line-height: 1.7;
  margin: 0;
}

.hni-bd-sheet__line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hni-line);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 10px 16px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: opacity .2s;
  flex-shrink: 0;
}

.hni-bd-sheet__line-btn:hover {
  opacity: .85;
  color: #fff;
}

/* SP対応 */
@media (max-width: 480px) {
  .hni-bd-sheet__products {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 12px 10px;
  }
  .hni-bd-sheet__prod-name { font-size: 10px; }
  .hni-bd-sheet__prod-price { font-size: 12px; }
  .hni-bd-sheet__line { flex-direction: column; align-items: flex-start; }
  .hni-bd-sheet__line-btn { width: 100%; justify-content: center; }
}


/* ============================================================
   BLOCK 2 v2 — 受取人別ナビ カード構造改修
   改修日: 2026-03-22
   変更: 感情コピー先頭 / 画像→52px円形サムネイル / 礼法→マナー
   以下のルールは既存定義を末尾上書きで差し替えます
============================================================ */

/* グリッド: SP 2列固定に変更 */
.hni-bd-for__grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .hni-bd-for__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
/* 旧 380px 以下 1列ルールを無効化 */
@media (max-width: 380px) {
  .hni-bd-for__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* カード: overflow: hidden を解除し padding レイアウトに変更 */
.hni-bd-for__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--hni-white);
  border: 1px solid var(--hni-border);
  border-radius: 10px;
  overflow: visible;
  padding: 16px 14px 14px;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 88px;
}
.hni-bd-for__card:hover {
  box-shadow: 0 4px 16px rgba(1,121,106,.12);
  transform: translateY(-2px);
  border-color: var(--hni-border); /* 旧 primary 色変化を抑制 */
}

/* 旧フル幅画像エリアを非表示 */
.hni-bd-for__img-wrap {
  display: none !important;
}
.hni-bd-for__img {
  display: none !important;
}

/* 旧 body ラッパーをリセット（padding が card 側に移動済み） */
.hni-bd-for__body {
  display: contents; /* フラット化 */
}

/* ---- 新要素: ヘッダー行（サムネイル + En ラベル） ---- */
.hni-bd-for__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* サムネイル: グローバル CSS の img リセットを全て上書き */
.hni-bd-for__thumb {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--hni-border) !important;
  object-fit: cover;
  flex-shrink: 0;
  display: block !important;
}

/* ラベル: 既存スタイルを継承しつつ line-height を補正 */
.hni-bd-for__header .hni-bd-for__label {
  line-height: 1.2;
  margin-bottom: 0;
}

/* 感情コピー: 15px・テキスト先頭配置を明確化 */
.hni-bd-for__feeling {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  color: #222;
  margin: 0 0 8px;
  border: none !important;
  padding: 0 !important;
}

/* 説明文 */
.hni-bd-for__desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--hni-text-sub);
  margin: 0 0 12px;
  flex: 1;
}

/* おすすめボタン: 既存のテキストリンク風から枠線ボタンへ変更 */
.hni-bd-for__open-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hni-primary);
  padding: 8px 12px;
  border: 1.5px solid var(--hni-primary);
  border-top: 1.5px solid var(--hni-primary); /* 旧 border-top:1px solid border を上書き */
  border-radius: 6px;
  margin-top: 0;
  letter-spacing: .04em;
  align-self: flex-start;
  min-height: 36px;
  transition: background .15s, color .15s;
}
.hni-bd-for__open-btn::after {
  content: '\2192';
  font-size: 11px;
}
.hni-bd-for__card:hover .hni-bd-for__open-btn,
.hni-bd-for__card:focus-visible .hni-bd-for__open-btn {
  background: var(--hni-primary);
  color: #fff;
}


/* ============================================================
   ボトムシート PC対応 — 2026-03-22 追記
   768px 以上: 全幅底面シート → 中央寄せモーダルに変更
============================================================ */
@media (min-width: 768px) {

  .hni-bd-sheet {
    left: 50%;
    right: auto;
    bottom: 50%;
    width: 480px;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;            /* 全角丸 */
    transform: translate(-50%, 60%) scale(.96);
    opacity: 0;
    transition: transform .28s cubic-bezier(.32,.72,0,1), opacity .22s ease;
    box-shadow: 0 12px 48px rgba(0,0,0,.22);
  }

  .hni-bd-sheet--show {
    transform: translate(-50%, 50%) scale(1);
    opacity: 1;
  }

  /* ハンドルは SP 専用なので非表示 */
  .hni-bd-sheet__handle {
    display: none;
  }

  /* 商品を縦1列に（幅が狭いため） */
  .hni-bd-sheet__products {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }

  /* 商品カードを横並びに変更 */
  .hni-bd-sheet__prod {
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
  }

  .hni-bd-sheet__prod-img-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
  }

  .hni-bd-sheet__prod-img {
    width: 72px !important;
    height: 72px !important;
    aspect-ratio: 1 / 1 !important;
  }

  .hni-bd-sheet__prod-body {
    padding: 10px 12px;
    gap: 3px;
  }

  .hni-bd-sheet__prod-name {
    font-size: 13px;
  }

  .hni-bd-sheet__prod-price {
    font-size: 14px;
  }
}


/* ============================================================
   長寿ナビ（hni-bd-choju）— 2026-03-22 追記
   /c/oiwai の長寿・年齢別セクションを /c/oiwai/oi-birthday に移植
============================================================ */
.hni-bd-choju {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}

/* セクションラベル */
.hni-bd-choju__label {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #9a7c3f;
  letter-spacing: .06em;
  border-left: 3px solid #c9a84c;
  padding-left: 10px;
  margin-bottom: 16px;
}

/* グリッド: 横スクロール可 / PC は折り返し */
.hni-bd-choju__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 640px) {
  .hni-bd-choju__grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hni-bd-choju__grid::-webkit-scrollbar { display: none; }
}

/* カード */
.hni-bd-choju__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-width: 84px;
  padding: 12px 6px;
  background: #fff;
  border: 1px solid #d4b86a;
  border-top: 3px solid #c9a84c;
  border-radius: 3px;
  text-decoration: none;
  color: #5a4010;
  text-align: center;
  transition: background .15s, box-shadow .15s;
  line-height: 1.4;
}
.hni-bd-choju__card:hover {
  background: #fdf8ee;
  box-shadow: 0 3px 10px rgba(180,140,40,.15);
  color: #5a4010;
}

/* 最後の「すべて見る」カードだけ幅を少し広く */
.hni-bd-choju__card--all {
  width: 90px;
  min-width: 90px;
  background: #fdf8ee;
}

.hni-bd-choju__age {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #9a7c3f;
  display: block;
}

.hni-bd-choju__name {
  font-size: 13px;
  font-weight: 600;
  color: #5a4010;
  display: block;
  margin-top: 2px;
}


/* ============================================================
   BLOCK 6 マナーセクション背景 上書き — 2026-03-22
   グローバルCSS の hni-manner 背景色を白に変更
============================================================ */
.hni-manner {
  background: #fff !important;
}

.hni-manner__inner {
  background: #fff !important;
}


/* ============================================================
   BLOCK 5 予算別ナビ — セクション背景 追記 2026-03-22
============================================================ */
.hni-bd-budget {
  background: #f0f6f5;
  max-width: 100%;         /* 全幅背景のため親幅をリセット */
  padding: 52px 0 52px;
  margin: 0;
}

/* 内側のグリッドを max-width で中央寄せ */
.hni-bd-budget > div,
.hni-bd-budget__grid {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* カードを白に（背景色との対比） */
.hni-bd-budget__card {
  background: #fff;
}


/* ============================================================
   還暦（oi-kanreki）ページ専用CSS — 2026-03-22
   対象: /c/oiwai/oi-kanreki
   プレフィックス: hni-kanreki-
   共有クラス: hni-cta-banner / hni-bd-for / hni-bd-flow /
               hni-manner / hni-bd-line / hni-qa
               （hni-bd- 系は誕生日ページと共通定義を流用）
============================================================ */

/* ---- CTAバナー 還暦（oiwai共通クラス使用）カラー上書き ---- */
/* 還暦ページでは hni-cta-banner--oiwai を使用するため
   背景・オーバーレイはグローバルの --oiwai 定義を継承
   ラベルのみ還暦らしいピンク系に調整 */
.hni-kanreki-section .hni-cta-banner--oiwai .hni-cta-banner__label {
  color: #f9d0c4;
  border-color: #f9d0c4;
}

/* ---- 還暦ページ内セクション共通ラッパー ---- */
.hni-kanreki-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 16px 0;
  box-sizing: border-box;
}
