/* KUMIKI 共通の追加要素：クリスマス締切の帯・残り枠・Instagram DM 導線 */
:root { --kmk-band-h: 34px; }

/* クリスマス締切の帯（html.kmk-band のときだけ出す。判定は <head> 内のインラインスクリプト） */
.kmk-xmas { display: none; }
html.kmk-band .kmk-xmas {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  height: var(--kmk-band-h);
  padding: 0 16px;
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  transition: transform 0.4s ease;
}
html.kmk-band .kmk-xmas::before {
  content: '';
  width: 5px; height: 5px;
  margin-right: 12px;
  flex: none;
  background: #C9A86C;
  transform: rotate(45deg);
}
html.kmk-band body { padding-top: var(--kmk-band-h); }
html.kmk-band .nav { top: var(--kmk-band-h) !important; transition: top 0.4s ease, background 0.6s ease, padding 0.6s ease; }
html.kmk-band.kmk-band-off .kmk-xmas { transform: translateY(-100%); }
html.kmk-band.kmk-band-off .nav { top: 0 !important; }
@media (max-width: 620px) {
  :root { --kmk-band-h: 40px; }
  html.kmk-band .kmk-xmas { font-size: 10.5px; letter-spacing: 0; padding: 0 10px; }
  html.kmk-band .kmk-xmas::before { margin-right: 8px; }
}

/* 注文ボタン付近の締切の一行 */
.kmk-deadline-note { display: none; }
html.kmk-band .kmk-deadline-note {
  display: block;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #A68B5B;
}

html.kmk-band .kmk-deadline-note + form { margin-top: 32px; }
form + .kmk-ig { margin-top: 36px; text-align: center; }

/* 今月の残り枠（取得できたときだけ表示） */
.kmk-slots {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #1A1A1A;
}
.kmk-slots[hidden] { display: none; }
.kmk-slots strong { font-weight: 500; color: #A68B5B; }

/* Instagram DM 導線 */
.kmk-ig {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #555555;
}
.kmk-ig a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #C9A86C;
  padding-bottom: 1px;
}
.kmk-ig a:hover { color: #1A1A1A; }

/* はじめての KUMIKI に（¥39,800 の入口の作品。一覧の先頭に並べる） */
.product .kmk-first {
  margin: 18px 0 -10px;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  color: #A68B5B;
}

/* ギフトページ：予算で選ぶ */
.kmk-budget { padding: 96px 0 72px; text-align: center; }
.kmk-budget .heading-md { margin-top: 12px; }
.kmk-budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 48px auto 0; text-align: left; }
.kmk-budget-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.kmk-budget-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }
.kmk-budget-tier { font-size: 10.5px; letter-spacing: .22em; color: #A68B5B; }
.kmk-budget-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; letter-spacing: .06em; }
.kmk-budget-price { font-size: .9rem; letter-spacing: .06em; }
.kmk-budget-price small { font-size: .75rem; opacity: .6; margin-left: 6px; }
.kmk-budget-card:hover .kmk-budget-name { text-decoration: underline; text-underline-offset: 4px; }
.kmk-budget-note { margin-top: 40px; font-size: 12px; line-height: 2; letter-spacing: .06em; opacity: .8; }
.kmk-budget-note a { color: #A68B5B; text-decoration: none; border-bottom: 1px solid currentColor; }
.kmk-scene-link { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: #A68B5B; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 720px) { .kmk-budget { padding: 64px 0 48px; } .kmk-budget-grid { grid-template-columns: 1fr; gap: 40px; max-width: 360px; } }
