/* FREEZETECH共通ヘッダーを使うページでは既存ヘッダーを隠す */
.c-header {
  display: none !important;
}

html.ftLineup-menuOpen,
body.ftLineup-menuOpen {
  overflow: hidden;
}

/* ===== FREEZE TECH 共通ヘッダー ===== */
.ftLineup-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: #000;
}

.ftLineup-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, calc(30/1920*100vw), 30px);
  min-height: 80px;
  padding-inline: 115px 50px;
}

.ftLineup-header__logo {
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.ftLineup-header__logo img {
  display: block;
  width: 264px;
  width: clamp(160px, calc(264/1920*100vw), 264px);
  height: auto;
}

.ftLineup-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, calc(40/1920*100vw), 40px);
  flex: 1;
}

.ftLineup-header__navLink {
  font-family: "Geist", sans-serif;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  padding-top: 20px;
}

.ftLineup-header__navLink:visited,
.ftLineup-header__navLink:visited .-jp {
  color: #fff;
}

.ftLineup-header__navLink .-en,
.ftLineup-header__navLink .-jp {
  display: block;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.ftLineup-header__navLink .-jp {
  position: absolute;
  top: -1.5px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 10px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}

.ftLineup-header__navLink:hover .-en,
.ftLineup-header__navLink:focus-visible .-en {
  opacity: 1;
  transform: translateY(0);
}

.ftLineup-header__navLink:hover .-jp,
.ftLineup-header__navLink:focus-visible .-jp {
  opacity: 1;
  transform: translateX(-50%);
}

.ftLineup-header__tools {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
  padding-top: 18px;
}

.ftLineup-header__cartBtn,
.ftLineup-header__menuBtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #fff;
}

.ftLineup-header__lang.c-header_lang {
  display: flex;
  color: #fff;
  margin-left: 0;
}

.ftLineup-header__lang .c-header_lang_active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border-bottom: 0;
  background: none;
  color: #fff;
  font-family: "Geist", sans-serif;
}

.ftLineup-header__lang .c-header_lang_active img {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ftLineup-header__langLabel {
  display: inline-flex;
  align-items: center;
  font-size: clamp(12px, 0.68vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.ftLineup-header__lang .c-header_lang_list {
  left: auto;
  right: 0;
  bottom: auto;
  text-align: center;
  top: calc(100% + 14px);
  min-width: 56px;
  padding: 6px 0;
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ftLineup-header__lang .c-header_lang_list li {
  padding: 0;
}

.ftLineup-header__lang .c-header_lang_list a {
  display: block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 0.68vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

.ftLineup-header__lang .c-header_lang_list a:hover {
  opacity: 0.7;
}

.ftLineup-header__cartIcon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  left: -1px;
}

.ftLineup-header__cartBtn {
  flex-direction: column;
  gap: 2px;
  align-self: flex-end;
  position: relative;
  left: -2px;
}

.ftLineup-header__cartBtn img {
  display: block;
  width: 20px;
  height: 20px;
}

.ftLineup-header__cartText {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.ftLineup-header__menuBtn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 30px;
  height: 18px;
}

.ftLineup-header__menuBtn span {
  display: block;
  width: 30px;
  height: 1px;
  background: #fff;
  transition: top 0.24s ease, transform 0.24s ease, opacity 0.2s ease;
}

.ftLineup-spMenu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.ftLineup-spMenu.-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ftLineup-spMenu__close {
  position: absolute;
  top: 19px;
  right: 15px;
  width: 30px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.ftLineup-spMenu__close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 1px;
  background: #fff;
  transform-origin: center;
}

.ftLineup-spMenu__close span:first-child {
  transform: translateY(-50%) rotate(14deg);
}

.ftLineup-spMenu__close span:last-child {
  transform: translateY(-50%) rotate(-14deg);
}

.ftLineup-spMenu__nav {
  height: 100%;
  padding-top: 39px;
}

.ftLineup-spMenu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftLineup-spMenu__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.ftLineup-spMenu__item:last-child {
  border-bottom: 0;
}

.ftLineup-spMenu__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

.ftLineup-spMenu__link:visited {
  color: #fff;
}

.ftLineup-spMenu__link::after {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6L15 12L9 18' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
}

.ftLineup-cartBadge {
  position: absolute;
  top: -18px;
  right: -9px;
  background: #ff3e3e;
  color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP";
  font-size: 9.13px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.913px;
  display: none;
}

/* ===== カートドロワー ===== */
.ftLineup-cartOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
}

.ftLineup-cartOverlay.-open {
  display: block;
}

.ftLineup-cartDrawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 460px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.ftLineup-cartDrawer.-open {
  right: 0;
}

.ftLineup-cartDrawer__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}

.ftLineup-cartDrawer__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.ftLineup-cartDrawer__close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #333;
  padding: 4px;
}

.ftLineup-cartDrawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.ftLineup-cartEmpty {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 40px 0;
}

.ftLineup-cartItem {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ftLineup-cartItem__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.ftLineup-cartItem__info {
  flex: 1;
}

.ftLineup-cartItem__name {
  font-size: 13px;
  color: #222;
  line-height: 1.5;
  margin-bottom: 8px;
}

.ftLineup-cartItem__variant {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
}

.ftLineup-qtyControl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.ftLineup-qtyBtn {
  background: none;
  border: 1px solid #ccc;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #333;
  border-radius: 2px;
}

.ftLineup-qtyBtn:hover {
  background: #f5f5f5;
}

.ftLineup-qtyNum {
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.ftLineup-cartItem__price {
  font-size: 15px;
  color: #333;
  text-align: right;
  align-self: flex-end;
  font-weight: 600;
  white-space: nowrap;
}

.ftLineup-cartItem__soldout {
  font-size: 11px;
  color: #ca2222;
  font-weight: 600;
  margin: 0 0 4px;
}

.ftLineup-qtyBtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.ftLineup-cartDrawer__footer {
  border-top: 1px solid #e8e8e8;
  padding: 20px 24px;
}

.ftLineup-cartTotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
}

.ftLineup-cartTotal__label {
  color: #444;
}

.ftLineup-cartTotal__amount {
  font-weight: 700;
  font-size: 18px;
}

.ftLineup-checkoutBtn {
  display: block;
  width: 100%;
  background: #d0d0d0;
  color: #333;
  border: none;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  text-decoration: none;
}

.ftLineup-checkoutBtn:hover {
  background: #494747;
  color: #fff;
}

.ftLineup-checkoutBtn[aria-disabled="true"] {
  background: #d0d0d0;
  color: #999;
  cursor: not-allowed;
}

.ftLineup-cartSoldoutMsg {
  margin: 8px 0 0;
  font-size: 12px;
  color: #ca2222;
  text-align: center;
}

/* ===== バリアント選択モーダル ===== */
.ftLineup-variantModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ftLineup-variantModal.-open {
  display: flex;
}

.ftLineup-variantModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ftLineup-variantModal__box {
  z-index: 1;
  background: #fff;
  width: min(326px, calc(100vw - 32px));
  padding: 25px 20px;
}

.ftLineup-variantModal__content {
  width: 100%;
  display: block;
}

.ftLineup-variantModal__head {
  width: 100%;
  min-height: 53px;
  display: block;
}

.ftLineup-variantModal__head > * + * {
  margin-top: 8px;
}

.ftLineup-variantModal__body {
  width: 100%;
  display: block;
  margin-top: 20px;
}

.ftLineup-variantModal__body > * + * {
  margin-top: 20px;
}

.ftLineup-variantModal__field {
  width: 100%;
  display: block;
}

.ftLineup-variantModal__field > * + * {
  margin-top: 8px;
}

.ftLineup-variantModal__title {
  margin: 12px 0 0;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2666666667;
}

.ftLineup-variantModal__sub {
  margin-top: 8px;
  line-height: 1.5;
}

.ftLineup-variantModal__priceSymbol {
  display: inline-block;
  margin-right: 1px;
  vertical-align: baseline;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.ftLineup-variantModal__priceValue {
  display: inline-block;
  vertical-align: baseline;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.ftLineup-variantModal__priceTax {
  display: inline-block;
  margin-left: 3px;
  vertical-align: baseline;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.ftLineup-variantModal__label {
  margin: 0 0 8px;
  color: #372e2e;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.ftLineup-variantModal__select {
  width: 100%;
  margin: 0;
  padding: 5px 30px 5px 11px;
  border: 1px solid #372e2e;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6' fill='none'%3E%3Cpath d='M1 1L4.5 4.5L8 1' stroke='%23372E2E' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: calc(100% - 12px) 50%;
  background-size: 8px 5px;
  background-repeat: no-repeat;
}

.ftLineup-variantModal__addBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #222;
  color: #fff;
  border: 1.238px solid #372e2e;
  padding: 16px 12px;
  cursor: pointer;
  letter-spacing: 0;
}

.ftLineup-variantModal__addBtn:hover {
  background: #444;
}

.ftLineup-variantModal__addText {
  display: block;
  font-family: "Geist", "Noto Sans JP", sans-serif;
  font-size: 14.854px;
  font-weight: 600;
  line-height: 1;
}

.ftLineup-variantModal__addArrow {
  display: inline-flex;
  width: 8px;
  height: 7px;
  align-items: center;
  justify-content: center;
}

.ftLineup-variantModal__addArrow img {
  display: block;
  width: 100%;
  height: 100%;
}

.ftLineup-variantModal__close {
  position: relative;
  display: block;
  margin-left: auto;
  width: 14.158px;
  height: 14.144px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.ftLineup-variantModal__close::before,
.ftLineup-variantModal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: #000;
  transform-origin: center;
}

.ftLineup-variantModal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ftLineup-variantModal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 1025px) {
  .ftLineup-spMenu {
    display: none;
  }
}

@media (max-width: 1280px) {
  .ftLineup-header__inner {
    padding: 0 32px;
    gap: 28px;
  }

  .ftLineup-header__nav {
    gap: 24px;
  }
}

@media screen and (max-width: 1024px) {
  .ftLineup-header {
    z-index: 1300;
  }

  .ftLineup-header__inner {
    min-height: 60px;
    padding: 0 calc(16/390*100vw);
    gap: 12px;
    justify-content: space-between;
  }

  .ftLineup-header__logo img {
    width: 128px;
    width: clamp(64px, calc(128/390*100vw), 128px);
  }

  .ftLineup-header__nav {
    display: none;
  }

  .ftLineup-header__tools {
    margin-left: auto;
    gap: calc(24/390*100vw);
    padding-top: 0;
    align-items: center;
  }

  .ftLineup-header__lang.c-header_lang {
    align-self: center;
  }

  .ftLineup-header__lang .c-header_lang_active {
    gap: 7px;
  }

  .ftLineup-header__langLabel {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .ftLineup-header__cartBtn {
    width: 30px;
    gap: 0;
    justify-content: center;
  }

  .ftLineup-header__cartText {
    font-size: 10px;
    letter-spacing: 0;
  }

  .ftLineup-header__menuBtn {
    position: relative;
    display: flex;
    width: 30px;
    height: 20px;
    gap: 0;
  }

  .ftLineup-header__menuBtn span {
    position: absolute;
    left: 0;
  }

  .ftLineup-header__menuBtn span:nth-child(1) {
    top: 6px;
  }

  .ftLineup-header__menuBtn span:nth-child(2) {
    top: 10px;
  }

  .ftLineup-header__menuBtn span:nth-child(3) {
    top: 14px;
  }

  .ftLineup-header__menuBtn[aria-expanded="true"] span:nth-child(1) {
    top: 10px;
    transform: rotate(17deg);
  }

  .ftLineup-header__menuBtn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .ftLineup-header__menuBtn[aria-expanded="true"] span:nth-child(3) {
    top: 10px;
    transform: rotate(-17deg);
  }

  .ftLineup-spMenu {
    top: 60px;
    z-index: 1200;
  }

  .ftLineup-spMenu__close {
    display: none;
  }

  .ftLineup-spMenu__nav {
    height: 100%;
    padding: 20px 0 0 16px;
  }

  .ftLineup-cartBadge {
    top: -6px;
    right: -8px;
  }
}

@media screen and (max-width: 767px) {
  .ftLineup-variantModal {
    padding: 12px;
  }

  .ftLineup-variantModal__box {
    width: min(326px, calc(100vw - 24px));
  }
}
