@charset "UTF-8";
/* =========================================================
   DOG LUCK 全ページ共通。ヘッダー、メニュー、フッター、ボタン、カートの通知。
   世界観は「北の山の記録」。地紋は地形図の等高線、差し色は朱の一色だけ。
   ========================================================= */

:root {
  --k-ink: #12160f;
  --k-ink-2: #3e443a;
  --k-ink-3: #62685d;
  --k-snow: #eef0ea;
  --k-paper: #f7f8f4;
  --k-moss: #161d17;
  --k-moss-2: #232e25;
  --k-bone: #e7eae2;
  --k-bone-2: #b4bbad;
  --k-line: rgba(18, 22, 15, .16);
  --k-line-d: rgba(231, 234, 226, .2);
  --k-rust: #b7371b;
  --k-rust-d: #932a12;
  --k-mincho: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --k-gothic: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;
  --k-en: "Didot", "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --k-label: "Helvetica Neue", Helvetica, "Hiragino Sans", sans-serif;
  --k-gutter: 20px;
  --k-ease: cubic-bezier(.16, 1, .3, 1);
  --k-contour: url("../img/renew/contour.svg");
}

/* ---- ボタン ---- */
.k-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--k-gothic);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.k-btn:active { transform: scale(.98); }
.k-btn:focus-visible { outline: 2px solid var(--k-rust); outline-offset: 3px; }
.k-btn--buy { background: var(--k-rust); color: var(--k-paper); }
.k-btn--buy:hover { background: var(--k-rust-d); color: var(--k-paper); }
.k-btn--ghost { background: transparent; border-color: var(--k-ink); color: var(--k-ink); }
.k-btn--ghost:hover { background: var(--k-ink); color: var(--k-paper); }
.k-btn.is-busy { opacity: .6; pointer-events: none; }

/* ---- 上の帯（トップ以外） ---- */
.dl-note {
  margin: 0;
  padding: 6px var(--k-gutter);
  background: var(--k-moss);
  color: var(--k-bone);
  font-family: var(--k-gothic);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: center;
}

/* ---- ヘッダー ---- */
.dl-head {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 58px;
  padding: 0 6px;
  border-bottom: 1px solid var(--k-line);
  color: var(--k-ink);
  font-family: var(--k-gothic);
  transition: border-color .35s ease, color .35s ease;
}
/* ぼかしはここに置く。.dl-head に付けると全画面メニューの基準がヘッダーの枠に縮む */
.dl-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 248, 244, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .35s ease;
  pointer-events: none;
}
.has-fv .dl-head.is-over::before, .dl-head.is-open::before { opacity: 0; }
body.admin-bar .dl-head { top: 32px; }
.dl-head__logo { position: relative; z-index: 3; display: block; justify-self: center; width: 140px; height: 22px; }
.dl-head .dl-head__logo img { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; transition: opacity .3s ease; }
.dl-head__logo .is-light { opacity: 0; }
.dl-head__menu {
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dl-head__menu span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--k-ease), top .35s var(--k-ease);
}
.dl-head__menu span:nth-child(1) { top: 19px; }
.dl-head__menu span:nth-child(2) { top: 27px; }
.dl-head__menu[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.dl-head__menu[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.dl-head__cart {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  color: inherit;
}
.dl-cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--k-rust);
  border-radius: 9px;
  color: var(--k-paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.dl-cart-count[hidden] { display: none; }
.dl-cart-count.is-pop { animation: k-pop .45s var(--k-ease); }
@keyframes k-pop { 0% { transform: scale(.4); } 55% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* 動画の上では透明にする */
.has-fv .dl-head { position: fixed; left: 0; right: 0; }
.has-fv .dl-head.is-over { border-color: transparent; color: var(--k-bone); }
.dl-head.is-over .dl-head__logo .is-light, .dl-head.is-open .dl-head__logo .is-light { opacity: 1; }
.dl-head.is-over .dl-head__logo .is-dark, .dl-head.is-open .dl-head__logo .is-dark { opacity: 0; }
.dl-head.is-open { color: var(--k-bone); border-color: transparent; }
.dl-head__back { justify-self: end; padding: 12px; color: var(--k-ink-2); font-size: 14px; }
.dl-head--flow { grid-template-columns: 1fr auto; padding: 0 var(--k-gutter); }
.dl-head--flow .dl-head__logo { justify-self: start; }

/* ---- 全画面メニュー ---- */
.dl-nav {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 40px;
  overflow-y: auto;
  background: var(--k-moss);
  color: var(--k-bone);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s cubic-bezier(.77, 0, .175, 1), visibility 0s linear .6s;
}
.dl-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background: currentColor;
  -webkit-mask: var(--k-contour) center / cover no-repeat;
  mask: var(--k-contour) center / cover no-repeat;
}
.dl-nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .6s cubic-bezier(.77, 0, .175, 1), visibility 0s; }
.dl-nav ul { margin: 0 0 32px; padding: 0; list-style: none; }
.dl-nav li {
  margin: 0;
  border-top: 1px solid var(--k-line-d);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .6s var(--k-ease);
}
.dl-nav.is-open li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.dl-nav li:last-child { border-bottom: 1px solid var(--k-line-d); }
.dl-nav a { color: inherit; text-decoration: none; }
.dl-nav li a { display: block; padding: 16px 0; font-family: var(--k-mincho); font-size: 22px; letter-spacing: .06em; }
.dl-nav__info { margin: 0; color: var(--k-bone-2); font-size: 13px; line-height: 1.8; }
.dl-nav__info a { text-decoration: underline; }

/* ---- フッター ---- */
.dl-foot {
  position: relative;
  padding: 64px 0 calc(40px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--k-moss);
  color: var(--k-bone);
  font-family: var(--k-gothic);
  font-size: 14px;
  line-height: 1.8;
}
.dl-foot__map {
  position: absolute;
  top: 0;
  right: -20%;
  width: 90%;
  height: 100%;
  opacity: .1;
  background: currentColor;
  -webkit-mask: var(--k-contour) center / cover no-repeat;
  mask: var(--k-contour) center / cover no-repeat;
}
.dl-foot__inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 var(--k-gutter); }
.dl-foot__copy { margin: 0 0 32px; font-family: var(--k-mincho); font-size: clamp(30px, 9vw, 56px); letter-spacing: .1em; line-height: 1.4; }
.dl-foot__logo { display: block; width: 180px; height: auto; margin-bottom: 12px; }
.dl-foot__desc { margin: 0 0 32px; color: var(--k-bone-2); }
.dl-foot__cols ul { margin: 0 0 24px; padding: 0; list-style: none; }
.dl-foot__cols li { margin: 0; border-top: 1px solid var(--k-line-d); }
.dl-foot__cols a { display: block; padding: 13px 0; color: inherit; text-decoration: none; }
.dl-foot__legal { margin: 0 0 12px; color: var(--k-bone-2); font-size: 13px; }
.dl-foot__legal a { color: inherit; }
.dl-foot__c { margin: 0; color: var(--k-bone-2); font-family: var(--k-label); font-size: 12px; letter-spacing: .08em; }

/* ---- カートに入れた後の通知 ---- */
.dl-toast {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 18px var(--k-gutter) calc(18px + env(safe-area-inset-bottom));
  background: var(--k-paper);
  box-shadow: 0 -14px 40px rgba(18, 22, 15, .22);
  color: var(--k-ink);
  font-family: var(--k-gothic);
  animation: k-rise .5s var(--k-ease);
}
.dl-toast[hidden] { display: none; }
.dl-toast__title { margin: 0 0 2px; font-family: var(--k-mincho); font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.dl-toast__ship { margin: 0 0 14px; color: var(--k-ink-2); font-size: 14px; line-height: 1.6; }
.dl-toast__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-toast__actions .k-btn { min-height: 50px; padding: 0 6px; font-size: 15px; }
@keyframes k-rise { from { transform: translateY(100%); } to { transform: none; } }

/* 写真がカートへ飛ぶ */
.k-fly { position: fixed; z-index: 210; display: block; object-fit: cover; border-radius: 2px; pointer-events: none; }

@media (min-width: 960px) {
  :root { --k-gutter: 40px; }
  .dl-head {
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    height: 72px;
    padding: 0 max(32px, calc((100vw - 1200px) / 2));
  }
  .dl-head__menu { display: none; }
  .dl-head__logo { justify-self: start; }
  .dl-nav {
    position: static;
    display: block;
    padding: 0;
    overflow: visible;
    background: none;
    color: inherit;
    clip-path: none;
    visibility: visible;
    transition: none;
  }
  .dl-nav::before, .dl-nav__info { display: none; }
  .dl-nav ul { display: flex; gap: 8px; margin: 0; }
  .dl-nav li, .dl-nav li:last-child { border: 0; opacity: 1; transform: none; }
  .dl-nav li a { padding: 10px 12px; font-family: var(--k-gothic); font-size: 14px; letter-spacing: .06em; }
  .dl-nav li a:hover { color: var(--k-rust); }
  .dl-foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; }
  .dl-toast { left: auto; right: 24px; bottom: 24px; width: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-toast, .k-btn, .dl-nav, .dl-nav li, .dl-head__menu span, .dl-cart-count.is-pop { animation: none; transition: none; }
}

/* ---- 追従バー ---- */
.dl-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px var(--k-gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--k-moss);
  color: var(--k-bone);
  transform: translateY(110%);
  transition: transform .6s var(--k-ease);
}
.dl-bar.is-on { transform: none; }
.dl-bar__price { margin: 0 !important; font-size: 18px; font-weight: 700; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-bar__price small { color: var(--k-bone-2); }
.dl-bar__name { display: block; color: var(--k-bone-2); font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.dl-bar .k-btn { width: 100%; min-height: 48px; font-size: 15px; }
.dl-bar form { margin: 0; }
.dl-bar .k-btn { font-family: var(--k-gothic); }
@media (max-width: 959px) {
  body.has-bar .dl-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) {
  .dl-bar { left: auto; right: 24px; bottom: 24px; width: 380px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-bar { transition: none; }
}
