:target,
[id] {
  scroll-margin-top: 80px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-feature-settings: 'palt';
  color: #353f63;
}
a {
  -webkit-transition: all 0.3s !important;
  transition: all 0.3s !important;
}
img,
video {
  vertical-align: bottom;
}
picture {
  display: block;
}
picture img {
  width: 100%;
}

.pc {
  display: none;
}

main.fs-l-main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
section.fs-l-pageMain {
  max-width: unset;
}
.fs-c-productList {
  display: none;
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px 15px 15px;
}
header.glass {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
header h1 {
  width: 35%;
  min-width: 150px;
}
header .right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 15%;
  min-width: 150px;
}
header .right .logo {
  width: 67%;
  min-width: 100px;
}
header .right .cart {
  width: 16%;
  min-width: 24px;
}
header .right .menuBtn {
  position: relative;
  width: 23px;
  height: 23px;
}
header .right .menuBtn span {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.4s;
}
header .right .menuBtn span:nth-of-type(1) {
  top: 3px;
}
header .right .menuBtn span:nth-of-type(2) {
  top: 50%;
  transform: translate(0, calc(-50% + 1px));
  transition: all 0.1s;
}
header .right .menuBtn span:nth-of-type(3) {
  bottom: 0;
}
header .right .menuBtn.menu-open span {
  background-color: #353f63;
  filter: none;
}
header .right .menuBtn.menu-open span:nth-of-type(1) {
  transform: translateY(9px) rotate(-135deg);
}
header .right .menuBtn.menu-open span:nth-of-type(2) {
  visibility: hidden;
}
header .right .menuBtn.menu-open span:nth-of-type(3) {
  transform: translateY(-9px) rotate(135deg);
}
header .right .logo img,
header .right .cart img,
header .right .menuBtn span {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5));
}
header .right .menu {
  opacity: 0;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 3;
  width: 65%;
  max-width: 430px;
  height: 100vh;
  overflow-y: auto;
  background: #dedede;
  padding: 70px 30px 30px 30px;
  -webkit-transition:
    opacity 0.5s,
    right 0.5s;
  transition:
    opacity 0.5s,
    right 0.5s;
}
header .right .menuBtn.menu-open + .menu {
  opacity: 1;
  right: 0;
}
header .right .menu ul li a {
  display: block;
  font-family: myriad-variable, sans-serif;
  font-size: 5vw;
  font-variation-settings:
    'wdth' 100,
    'wght' 400;
  padding: 10px 0;
  color: #353f63;
}

/* 2026/10/08追加 header カート数値表示  */
header .cart a {
  display: block;
  position: relative;
}

header .fs-client-cart-count {
  position: absolute;
  right: -6px;
  top: -15%;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background-color: #b30000;
  font-family: 'Questrial', sans-serif;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  z-index: 1;
}
@media screen and (min-width: 451px) {
  header .fs-client-cart-count {
    position: absolute;
    right: -8px;
    top: -3%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    line-height: 1.3;
  }
}

.fs-client-cart-count.fs-client-cart-count--0 {
  display: none;
}

/* FVスライダー */
#FV-slider {
  position: relative;
}
#FV-slider .FV-fixed {
  position: absolute;
  top: 8%;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}
#FV-slider .FV-fixed img {
  width: 100%;
  display: block;
}
#FV-slider .swiper-container {
  position: relative;
}
#FV-slider .swiper-container .swiper-wrapper .swiper-slide a:hover {
  opacity: 1;
}
#FV-slider .swiper-container .swiper-pagination {
  bottom: 5px;
  z-index: 1;
}
#FV-slider .swiper-container .swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 10px;
  background-color: #fff;
  opacity: 0.5;
}
#FV-slider .swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}

/* 商品ラインナップ */
#lineup {
  padding-top: 45px;
}
#lineup h2 {
  font-family: myriad-variable, sans-serif;
  font-size: 5.25vw;
  font-variation-settings:
    'wdth' 100,
    'wght' 400;
  text-align: center;
  letter-spacing: 0.2em;
}
#lineup .lineup-section {
  padding-top: 5%;
}
#lineup .lineup-section:nth-of-type(even) {
  background-color: #edebe8;
}
#lineup h2.lineup-title {
  font-weight: normal;
  color: #fff;
  background-color: #353f63;
  padding: 3% 0%;
  font-size: 4.5vw;
  margin: 0 4%;
}
#lineup ul.product-wrap {
  padding: 4% 4% 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; /* カードの高さを揃えてカート操作を下端に */
  row-gap: 30px;
}
#lineup ul.product-wrap > li {
  width: calc((100% / 2) - 8px);
  display: flex;
  flex-direction: column;
}
#lineup ul.product-wrap > li > a.product-url {
  display: block;
}
#lineup ul.product-wrap > li ul.product-images {
  display: grid;
  grid-template-areas: 'stack';
}
#lineup ul.product-wrap > li ul.product-images li {
  grid-area: stack;
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
}
#lineup ul.product-wrap > li ul.product-images li.is-active {
  opacity: 1;
  visibility: visible;
}
#lineup ul.product-wrap > li .textArea {
  margin-top: 15px;
  margin-bottom: 14px;
}
#lineup ul.product-wrap > li .textArea p.product-name {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-size: 3.25vw;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-decoration: underline;
}
#lineup ul.product-wrap > li .textArea p.product-price {
  margin-top: 8px;
}
#lineup ul.product-wrap > li .textArea p.product-price span.price {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-size: 3.25vw;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.05em;
}
#lineup ul.product-wrap > li .textArea p.product-price span.tax {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-size: 1.8vw;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-left: 3px;
}

/* ==========================================================
   ラインナップ：バリエーション選択＋カートに入れる
   ========================================================== */
/* ---------- カート操作エリア ---------- */
.lineup-cart {
  /* 残りの高さを埋め、チップは上（価格の下）、ボタンは下端に配置 */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: noto-sans-cjk-jp, sans-serif;
  color: #353f63;
}

.lineup-cart p {
  margin: 0;
}

/* 読み込み中（スケルトン） */
.lineup-cart.is-loading::before {
  content: '';
  display: block;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(53, 63, 99, 0.06) 25%, rgba(53, 63, 99, 0.13) 37%, rgba(53, 63, 99, 0.06) 63%);
  background-size: 400% 100%;
  animation: lineup-cart-shimmer 1.4s ease infinite;
}

@keyframes lineup-cart-shimmer {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

/* バリエーションのラベル（カラー） */
.lineup-cart .lineup-cart__label {
  font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* 2軸（カラー×サイズ）のときのグループ間隔 */
.lineup-cart .lineup-cart__group + .lineup-cart__group {
  margin-top: 0; /* 間隔は .lineup-cart の gap で取る */
}

/* バリエーション選択チップ */
.lineup-cart__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lineup-cart__chip {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid #c9ccd6;
  border-radius: 999px;
  background-color: #fff;
  color: #353f63;
  font-family: inherit;
  font-size: clamp(11px, 2.9vw, 13px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.lineup-cart__chip:hover {
  border-color: #353f63;
}

.lineup-cart__chip[aria-pressed='true'] {
  background-color: #353f63;
  border-color: #353f63;
  color: #fff;
}

.lineup-cart__chip:disabled {
  background-color: #f2f2f2;
  border-color: #e0e0e0;
  color: #b5b8c2;
  text-decoration: line-through;
  cursor: default;
}

/* 予約・発送日などの注記 */
.lineup-cart .lineup-cart__note {
  margin-top: 0;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1.4;
  color: #b3584a;
}

.lineup-cart__note[hidden] {
  display: none;
}

/* カートに入れるボタン */
.lineup-cart__button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: auto 0 0; /* ボタンだけ下端に寄せる */
  padding: 10px 8px;
  border: none;
  border-radius: 4px;
  background-color: #dc7c48;
  color: #fff;
  font-family: inherit;
  font-size: clamp(12px, 3.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.lineup-cart__button svg {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.lineup-cart__button:hover {
  background-color: #db7122;
}

.lineup-cart__button:active {
  transform: scale(0.98);
}

.lineup-cart__button:disabled {
  background-color: #c3c6cf;
  cursor: default;
  transform: none;
}

/* 送信中スピナー */
.lineup-cart__button.is-loading svg {
  display: none;
}

.lineup-cart__button.is-loading::before {
  content: '';
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lineup-cart-spin 0.7s linear infinite;
}

.lineup-cart__button.is-loading:disabled {
  background-color: #f37d26;
  opacity: 0.85;
}

@keyframes lineup-cart-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 750px) {
  .lineup-cart {
    gap: 24px;
  }

  .lineup-cart .lineup-cart__label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .lineup-cart__chips {
    gap: 8px;
  }

  .lineup-cart__chip {
    padding: 6px 14px;
    font-size: 14px;
  }

  .lineup-cart .lineup-cart__note {
    font-size: 13px;
  }

  .lineup-cart__button {
    padding: 13px 10px;
    font-size: 15px;
  }
}

/* ==========================================================
   カート追加ダイアログ
   ========================================================== */
html:has(.cart-dialog[open]) {
  overflow: hidden;
}

.cart-dialog {
  width: min(92vw, 420px);
  max-height: 90vh;
  padding: 0;
  border: none;
  border-radius: 14px;
  background-color: #fff;
  color: #353f63;
  font-family: noto-sans-cjk-jp, sans-serif;
  box-shadow: 0 20px 60px rgba(20, 24, 45, 0.25);
  overflow: auto;
}

.cart-dialog::backdrop {
  background-color: rgba(26, 30, 50, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.cart-dialog[open] {
  animation: cart-dialog-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-dialog[open]::backdrop {
  animation: cart-dialog-fade 0.3s ease;
}

@keyframes cart-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cart-dialog-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cart-dialog p {
  margin: 0;
}

.cart-dialog__inner {
  position: relative;
  padding: 36px 24px 24px;
  text-align: center;
}

/* 閉じるボタン */
.cart-dialog__close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.cart-dialog__close::before,
.cart-dialog__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background-color: #353f63;
}

.cart-dialog__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cart-dialog__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cart-dialog__close:hover {
  background-color: rgba(53, 63, 99, 0.08);
}

/* アイコン */
.cart-dialog__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: #353f63;
}

.cart-dialog__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-dialog__iconSuccess path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

.cart-dialog[open] .cart-dialog__iconSuccess path {
  animation: cart-dialog-check 0.45s 0.2s ease forwards;
}

@keyframes cart-dialog-check {
  to {
    stroke-dashoffset: 0;
  }
}

.cart-dialog__iconError {
  display: none;
}

/* テキスト */
.cart-dialog__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.cart-dialog .cart-dialog__message {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}

.cart-dialog__message:empty {
  display: none;
}

/* 追加した商品 */
.cart-dialog__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 22px;
  padding: 12px;
  border-radius: 10px;
  background-color: #f5f4f1;
  text-align: left;
}

.cart-dialog__image {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  background-color: #fff;
  flex-shrink: 0;
}

.cart-dialog__image[src=''] {
  display: none;
}

.cart-dialog__itemText {
  min-width: 0;
}

.cart-dialog__name {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.cart-dialog .cart-dialog__variation {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
}

.cart-dialog__variation:empty {
  display: none;
}

.cart-dialog .cart-dialog__price {
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ボタン */
.cart-dialog__actions {
  display: grid;
  gap: 10px;
}

.cart-dialog__btn {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 14px 10px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.cart-dialog__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-dialog__btn--primary,
.cart-dialog__btn--primary:visited {
  border: 1px solid #353f63;
  background-color: #353f63;
  color: #fff;
}

.cart-dialog__btn--primary:hover {
  background-color: #252c49;
  color: #fff;
  text-decoration: none;
}

.cart-dialog__btn--secondary {
  border: 1px solid #c9ccd6;
  background-color: #fff;
  color: #353f63;
  transition: border-color 0.2s;
}

.cart-dialog__btn--secondary:hover {
  border-color: #353f63;
}

/* エラー時 */
.cart-dialog.is-error .cart-dialog__icon {
  background-color: #b3584a;
}

.cart-dialog.is-error .cart-dialog__iconSuccess {
  display: none;
}

.cart-dialog.is-error .cart-dialog__iconError {
  display: block;
}

.cart-dialog.is-error .cart-dialog__item,
.cart-dialog.is-error .cart-dialog__btn--primary {
  display: none;
}

.cart-dialog.is-error .cart-dialog__actions {
  margin-top: 22px;
}

/* SP：下からのシート表示 */
@media screen and (max-width: 450px) {
  .cart-dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }

  .cart-dialog[open] {
    animation: cart-dialog-sheet 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .cart-dialog__inner {
    padding: 32px 20px calc(20px + env(safe-area-inset-bottom));
  }

  @keyframes cart-dialog-sheet {
    from {
      transform: translateY(100%);
    }

    to {
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .lineup-cart.is-loading::before,
  .cart-dialog[open],
  .cart-dialog[open]::backdrop,
  .cart-dialog[open] .cart-dialog__iconSuccess path {
    animation: none;
  }

  .cart-dialog__iconSuccess path {
    stroke-dashoffset: 0;
  }
}

@media screen and (min-width: 451px) {
  /* FVスライダー */
  #FV-slider {
    display: flex;
  }
  #FV-slider .FV-main {
    width: 70%;
    min-width: 0;
    flex-shrink: 0;
  }
  #FV-slider .FV-fixed {
    top: 0%;
    left: 50%;
    width: 50%;
  }
  #FV-slider .FV-fixed img {
    width: 40%;
  }

  #FV-slider .FV-sab {
    width: 30%;
    flex-shrink: 0;
    flex: 1 0 auto; /* 端数分の余白も埋める */
  }
  #FV-slider .FV-sab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  #FV-slider .swiper-container .swiper-pagination {
    bottom: 4%;
    left: 100%; /* .FV-sab の左端 */
    right: auto;
    width: 42.857%; /* .FV-sab の幅（30% ÷ 70%） */
    text-align: center;
    z-index: 1;
  }
  #FV-slider .swiper-container .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 10px;
  }
  #FV-slider .swiper-slide img {
    width: 100%;
    display: block;
  }
}

/* footer */
@media screen and (min-width: 750px) {
  :target,
  [id] {
    scroll-margin-top: 140px;
  }
  a:hover {
    text-decoration: none;
    opacity: 0.8;
  }

  .sp {
    display: none;
  }
  .pc {
    display: block;
  }

  main.fs-l-main {
    display: block;
    max-width: unset;
  }

  /* header */
  header {
    padding: 20px 60px 20px 40px;
  }
  header h1 {
    max-width: 290px;
  }
  header .right {
    width: 15%;
  }
  header .right .logo {
    max-width: 180px;
  }
  header .right .cart {
    max-width: 40px;
  }
  header .right .menuBtn {
    width: 38px;
    height: 38px;
    cursor: pointer;
  }
  header .right .menuBtn span:nth-of-type(1) {
    top: 8px;
  }
  header .right .menuBtn span:nth-of-type(2) {
    transform: translate(0, calc(-50% + 3px));
  }
  header .right .menuBtn span:nth-of-type(3) {
    bottom: 2px;
  }
  header .right .menuBtn.menu-open span:nth-of-type(1) {
    transform: translateY(13px) rotate(-135deg);
  }
  header .right .menuBtn.menu-open span:nth-of-type(3) {
    transform: translateY(-13px) rotate(135deg);
  }
  header .right .menu {
    padding: 100px 60px 60px 60px;
  }
  header .right .menu ul li a {
    font-size: 35px;
  }
  /* 商品ラインナップ */
  #lineup h2.lineup-title {
    font-size: 2.5vw;
    padding: 1% 0;
    margin: 0 10%;
  }
  #lineup {
    padding-top: 100px;
  }
  #lineup h2 {
    font-size: 45px;
  }
  #lineup ul.product-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 80px;
    margin: 0;
    max-width: none;
    padding: 4% 10% 10%;
    list-style: none;
  }
  #lineup ul.product-wrap > li {
    width: auto;
  }
  #lineup ul.product-wrap > li .textArea {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #lineup ul.product-wrap > li .textArea p.product-name {
    font-size: 28px;
  }
  #lineup ul.product-wrap > li .textArea p.product-price {
    margin-top: 20px;
  }
  #lineup ul.product-wrap > li .textArea p.product-price span.price {
    font-size: 28px;
  }
  #lineup ul.product-wrap > li .textArea p.product-price span.tax {
    font-size: 14px;
  }
}
