.akira-qv-lock { overflow: hidden; }
.akira-qv-image-wrap { position: relative; }

.akira-qv-trigger {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 150px;
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: rgba(40,40,40,.75);
  color: #fff;
  font: 700 13px/1 Arial, "Noto Sans JP", sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.akira-qv-image-wrap:hover .akira-qv-trigger,
.akira-qv-trigger:focus-visible { opacity: 1; transform: none; }
.akira-qv-trigger:hover {/* background: rgb(0 0 0 / 82%); */}
.akira-qv-trigger img { width: 16px; height: 16px; object-fit: contain; }

.akira-qv {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  opacity: 0;
  font-family: 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  transition: opacity .22s ease;
}
.akira-qv.is-visible { display: block; }
.akira-qv.is-open { opacity: 1; }
.akira-qv__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.akira-qv__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(800px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: visible;
  border-radius: 5px;
  background: #fff;
  color: #242424;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  transform: translate(-50%, calc(-50% + 8px));
  transition: transform .22s ease;
}
.akira-qv.is-open .akira-qv__dialog { transform: translate(-50%, -50%); }
.akira-qv__scroll { max-height: calc(100vh - 40px); overflow: auto; border-radius: 5px; background: #fff; }
.akira-qv__dialog *, .akira-qv__dialog *::before, .akira-qv__dialog *::after { box-sizing: border-box; }
.akira-qv__close {
  position: absolute;
  z-index: 5;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,.24);
  cursor: pointer;
}
.akira-qv__close::before, .akira-qv__close::after { content: ""; position: absolute; top: 19px; left: 10px; width: 20px; height: 2px; background: #fff; }
.akira-qv__close::before { transform: rotate(45deg); }
.akira-qv__close::after { transform: rotate(-45deg); }

.akira-qv__body { display: grid; grid-template-columns: 350px 1fr; gap: 38px; min-height: 520px; padding: 45px 50px 36px; }
.akira-qv__loading, .akira-qv__error { grid-column: 1/-1; min-height: 300px; display: grid; place-items: center; gap: 12px; text-align: center; }
.akira-qv__spinner { width: 30px; height: 30px; border: 3px solid #ddd; border-top-color: #58638f; border-radius: 50%; animation: akira-qv-spin .8s linear infinite; }
@keyframes akira-qv-spin { to { transform: rotate(360deg); } }

.akira-qv__media { min-width: 0; }
.akira-qv__slider { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; border: 1px solid #ddd; background: #fff; }
.akira-qv__track { display: flex; width: 100%; height: 100%; transition: transform .28s ease; }
.akira-qv__slide { flex: 0 0 100%; display: grid; place-items: center; width: 100%; height: 100%; }
.akira-qv__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.akira-qv__counter {position: absolute;right: 9px;bottom: 9px;min-width: 42px;padding: 2px 8px;border-radius: 15px;background: rgba(55,55,55,.6);color: #fff;font-size: 11px;text-align: center;letter-spacing: 0.05em;line-height: 160%;}
.akira-qv__nav { position: absolute; z-index: 2; top: 50%; width: 36px; height: 36px; margin: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px rgba(0,0,0,.15); transform: translateY(-50%); cursor: pointer; }
.akira-qv__nav--prev { left: 18px; }
.akira-qv__nav--next { right: 18px; }
.akira-qv__nav::before { content: ""; position: absolute; top: 13px; left: 14px; width: 8px; height: 8px; border-top: 2px solid #333; border-left: 2px solid #333; }
.akira-qv__nav--prev::before { transform: rotate(-45deg); }
.akira-qv__nav--next::before { left: 12px; transform: rotate(135deg); }
.akira-qv__thumbs { display: flex; gap: 5px; margin-top: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; cursor: grab; user-select: none; touch-action: pan-y; }
.akira-qv__thumbs.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.akira-qv__thumb { flex: 0 0 calc((100% - 25px) / 6); width: calc((100% - 25px) / 6); aspect-ratio: 1/1; padding: 0; border: 1px solid #ddd; background: #fff; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.akira-qv__thumb.is-active { border: 2px solid #58638f; }
.akira-qv__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }

.akira-qv__info { min-width: 0; display: flex; flex-direction: column; }
.akira-qv__title {margin: -3px 0 10px;font-size: 20px;line-height: 1.45;letter-spacing: .02em;font-weight: 400;}
.akira-qv__price {margin: 0;color: #FC0000;font-size: 21px;line-height: 1.4;font-weight: 700;}
.akira-qv__price small { margin-left: 2px; font-size: 12px; font-weight: 700; }
.akira-qv__price-separator { white-space: nowrap; }
.akira-qv__point {margin: 10px 0 10px;color: #aaa;font-size: 14px;font-weight: 700;}
.akira-qv__purchase {margin-top: 3px;}
.akira-qv__purchase:has(.akira-qv__variation){
    margin-top: 10px;
}
.akira-qv__row {display: grid;grid-template-columns: 56px 1fr;align-items: center;gap: 11px;min-height: 42px;margin: 0 0 12px;}
.akira-qv__label { color: #333; font-size: 13px; font-weight: 400; }
.akira-qv__variation { width: 100%; height: 40px; padding: 0 36px 0 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; font-size: 14px; }
.akira-qv__stock { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1px solid #555; border-radius: 50%; color: transparent; }
.akira-qv__stock.is-symbol,
.akira-qv__stock.is-out { border: 0; color: #111; font-size: 17px; }
.akira-qv__quantity { display: grid; grid-template-columns: 36px 44px 36px; width: 116px; height: 36px; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.akira-qv__quantity button { padding: 0; border: 0; background: #fff; color: #999; font-size: 16px; cursor: pointer; }
.akira-qv__quantity input { width: 44px; height: 34px; padding: 0; border: 0; color: #333; text-align: center; appearance: textfield; }
.akira-qv__quantity input::-webkit-inner-spin-button { display: none; }
.akira-qv__message {min-height: 0;margin: 30px 0 0;color: #d00;font-size: 12px;}
.akira-qv__cart {display: flex;align-items: center;justify-content: center;gap: 12px;width: 100%;min-height: 60px;margin: 8px 0 14px;padding: 0 20px;border: 0;border-radius: 3px;background: #FFA000;color: #fff;font-size: 18px;font-weight: 700;cursor: pointer;transition: opacity .2s;}
.akira-qv__cart:hover { opacity: .85; }
.akira-qv__cart:disabled { opacity: .45; cursor: not-allowed; }
.akira-qv__cart img { width: 20px; height: 20px; }
.akira-qv__contact {display: flex;align-items: center;justify-content: center;width: 100%;min-height: 40px;margin-bottom: 0;background: #e5e5e5;color: #333 !important;font-size: 13px;text-decoration: none !important;border-radius: 3px;}
.akira-qv__description { margin: 13px 0 8px; overflow: hidden; color: #333; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.akira-qv__media > .akira-qv__description { margin-top: 14px; }
.akira-qv__detail { display: table; align-self: flex-end; margin: 0 0 0 auto; padding-bottom: 2px; border-bottom: 1px solid #111; color: #111 !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.akira-qv__info > .akira-qv__detail { margin-top: auto; }
.akira-qv__media > .akira-qv__detail {margin-top: 0;transition: .2s;}
.akira-qv__media > .akira-qv__detail:hover{
    opacity: 0.7;
}

@media (max-width: 767px) {
  .akira-qv-trigger { right: 7px; bottom: 7px; min-width: 0; width: 34px; height: 34px; padding: 0; opacity: 1; transform: none; }
  .akira-qv-trigger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .akira-qv__dialog { top: 14px; bottom: 14px; left: 14px; width: calc(100vw - 28px); max-height: none; transform: translateY(8px); }
  .akira-qv.is-open .akira-qv__dialog { transform: none; }
  .akira-qv__scroll { height: 100%; max-height: none; }
  .akira-qv__close { top: -8px; right: -8px; width: 32px; height: 32px; }
  .akira-qv__close::before, .akira-qv__close::after { top: 15px; left: 8px; width: 16px; }
  .akira-qv__body { display: block; min-height: 0; padding: 28px 24px 24px; }
  .akira-qv__media { margin-bottom: 18px; }
  .akira-qv__title { font-size: 17px; }
  .akira-qv__price { font-size: 20px; }
  .akira-qv__cart { min-height: 52px; font-size: 16px; }
  .akira-qv__detail { display: table; margin: 18px 0 0 auto; }
}
