.sf-footer {
  display: none !important;
}
/* product modal */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  padding: 16px;
}
.product-modal.is-active {
  display: flex;
}
.product-modal__dialog {
  position: relative;
  width: 40%;
  height: min(80vh, 720px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
@media screen and (max-width: 768px) {
  .product-modal__dialog {
    width: 90%;
  }

}
.product-modal__frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #f5f5f5;
}
.product-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.product-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.product-modal__contents {
  padding-top: 60px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.product-modal__contents-img {
  width: 180px;
}
.product-modal__contents-img img{
  width: 100%;
  height: auto;
}
.product-modal__contents-links{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.product-modal__contents-links-link{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #D9D9D9;
  padding: 10px 20px;
  width: 250px;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  margin: 10px;
  border-radius: 40px;
  height: 62px;
}
.product-modal__contents-links-link:hover{
  background: #ffe066;
}
.product-modal__contents-links-link-logo{
  width: 72px;
}
.product-modal__contents-txt{
  color: #000;
  font-size: 24px;
  font-weight: 700;
  margin-top: 64px;
}
@media screen and (max-width: 768px) {
  .product-modal__contents-links{
  margin-top: 42px;
}
  .product-modal__contents-links-link{
    background: #ffe066;
    height: 56px;
  }
  .product-modal__contents-txt{
  font-size: 18px;
  margin-top: 72px;
}
}
.product-modal__contents-img img{
  transition: transform .3s ease;
  animation: topLine-list-item-img 1.8s ease-in-out infinite
        alternate-reverse;
}
.product-modal__contents-img::after{
  content: "";
      position: absolute;
      top: 172px;
      left: 50%;
      width: 20%;
      height: 8px;
      border-radius: 80px / 4px;
      background-color: transparent;
      box-shadow: 0 40px 15px rgba(0, 0, 0, .5);
      transform: translateX(-50%);
      animation: shadowWidth2 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes shadowWidth2 {
0% {
width: 25%;
}
100% {
width: 10%;
}
}
/* ===== PC版タブ（上部横並び・既存デザイン維持） ===== */
.tabs {
margin-top: 100px;
}

.tabs-content {
padding-top: 102px;
}

.tabs-content-item {
border-radius: 0 0 10px 10px;
}

.tabs li {
float: left;
position: relative;
margin-right: 1px;
}

.tabs a {
float: left;
padding: 10px 20px;
text-decoration: none;
color: black;
background: #f5f0e8;

border-bottom: none;
-webkit-border-top-left-radius: 15px;
-webkit-border-top-right-radius: 15px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
width: 160px;
box-sizing: border-box;
}

.tabs .active {
z-index: 3;
}

.tabs .active a {
color: white;
}

.tabs .active a.tagspani {
background: #E7262A;
border-color: #E7262A;
color: white;
}

.tabs .active a.tagscream {
background: #00BFF3;
border-color: #00BFF3;
color: white;
}

.tabs .active a.tagsvege {
background: #2E952A;
border-color: #2E952A;
color: white;
}

.tabs .active a.tagslab {
background: #204A7C;
border-color: #204A7C;
color: white;
}

.tabs .active a.tagsched {
background: #F6EA47;
border-color: #F6EA47;
color: white;
}

.tabs .active a.tagsgoud {
background: #F49600;
border-color: #F49600;
color: white;
}

.tabs .active a.tagscoomingsoon {
background: #D9D9D9;
border-color: #999;
color: white;
cursor: default;
}

.tabs li:before,
.tabs li:after,
.tabs li a:before,
.tabs li a:after {
position: absolute;
bottom: 0;
}

.tabs li:last-child:after,
.tabs li:last-child a:after,
.tabs li:first-child:before,
.tabs li:first-child a:before,
.tabs .active:after,
.tabs .active:before,
.tabs .active a:after,
.tabs .active a:before {
content: "";
}

.tabs .active:before,
.tabs .active:after {
z-index: 1;
}

.tabs .active:has(a.tagspani)::after  { background: #E7262A; }
.tabs .active:has(a.tagspani)::before { background: rgb(255, 224, 102); }
.tabs .active:has(a.tagscream):before,
.tabs .active:has(a.tagscream):after  { background: #00BFF3; }
.tabs .active:has(a.tagsvege):before,
.tabs .active:has(a.tagsvege):after   { background: #2E952A; }
.tabs .active:has(a.tagslab):before,
.tabs .active:has(a.tagslab):after    { background: #204A7C; }
.tabs .active:has(a.tagsched):before,
.tabs .active:has(a.tagsched):after   { background: #F6EA47; }
.tabs .active:has(a.tagsgoud):before,
.tabs .active:has(a.tagsgoud):after   { background: #F49600; }
.tabs .active:has(a.tagscoomingsoon):before,
.tabs .active:has(a.tagscoomingsoon):after { background: #D9D9D9; }

.tabs li:before,
.tabs li:after {
background: #ddc385;
width: 10px;
height: 10px;
}

.tabs li:after {
background: #D9D9D9;
}

.tabs li.litagspani:before {
background: rgb(255, 224, 102);
}

.tabs li:before { left: -10px; }
.tabs li:after  { right: -10px; }

.tabs li a:after,
.tabs li a:before {
width: 20px;
height: 20px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
background: rgb(255, 224, 102);
z-index: 2;
}

.tabs .active:has(a.tagspani) a:before,
.tabs .active:has(a.tagspani) a:after   { background: #f5f0e8; }
.tabs .active:has(a.tagscream) a:before,
.tabs .active:has(a.tagscream) a:after  { background: #f5f0e8; }
.tabs .active:has(a.tagsvege) a:before,
.tabs .active:has(a.tagsvege) a:after   { background: #f5f0e8; }
.tabs .active:has(a.tagslab) a:before,
.tabs .active:has(a.tagslab) a:after    { background: #f5f0e8; }
.tabs .active:has(a.tagsched) a:before,
.tabs .active:has(a.tagsched) a:after   { background: #f5f0e8; }
.tabs .active:has(a.tagsgoud) a:before{ background: #f5f0e8; }
.tabs .active:has(a.tagsgoud) a:after   { background: #D9D9D9;
}
.tabs .active:has(a.tagscoomingsoon) a:before,
.tabs .active:has(a.tagscoomingsoon) a:after { background: #ddc385; }

.tabs li:first-child.active a:before,
.tabs li:last-child.active a:after {
background: rgb(255, 224, 102);
}

.tabs li a:before { left: -20px; }
.tabs li a:after  { right: -20px; }

#tabpani  { background: #E7262A; padding: 10px; }
#tabcream { background: #00BFF3; padding: 10px; }
#tabvege  { background: #2E952A; padding: 10px; }
#tablab   { background: #204A7C; padding: 10px; }
#tabched  { background: #F6EA47; padding: 10px; }
#tabgoud  { background: #F49600; padding: 10px; }

.tabs-content-item-inner {
padding: 10px;
background: #fff;
}

.tagspani-img {
width: 80px;
}

.topSpecial-list-item {
width: calc(25% - 30px);
}

.topSpecial-list {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 30px;
list-style: none;
padding: 0;
flex-direction: row;
justify-content: flex-start;
}

.topSpecial-list-item-link {
display: block;
text-decoration: none;
border-radius: 10px;
overflow: hidden;
transition: transform 0.15s;
}

.topSpecial-list-item-link:hover {
transform: translateY(-2px);
}
.topSpecial-list-item-link-img {
  padding-top: 100%;
}
.topSpecial-list-item-link-img img {
  object-fit: cover;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.topSpecial-list-item-link-img-mask {
background: rgba(0,0,0,0.35);
padding: 6px 8px;
}

.topSpecial-list-item-link-img-mask-txt {
color: white;
font-size: 18px;
font-weight: 500;
text-align: center;
margin: 0;
line-height: 1.4;
}


/* ===== モバイル版（左縦並び・リデザイン） ===== */
@media (max-width: 768px) {

.tabs-wrapper {
  margin-top: 40px;
display: flex;
flex-direction: row-reverse;
align-items: flex-start;
}

.tabs {
margin-top: 0;
float: none;
}

.tabs.group {
display: flex;
flex-direction: column;
order: 1;
width: 80px;
flex-shrink: 0;
}

.tabs li {
float: none;
width: 100%;
margin-bottom: 1px;
}

.tabs a {
float: none;
width: 100% !important;
box-sizing: border-box;
padding: 8px 4px;
border-radius: 0 !important;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;

border-left: none !important;
border-bottom: none !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
background: #f5f0e8;
}

.tabs li:last-child a {
border-bottom: 1px solid #d4b87a !important;
border-bottom-right-radius: 10px !important;
}

.tabs li:first-child a {
border-top-right-radius: 10px !important;
}

/* 非アクティブタブの仕切り */
.tabs li + li a {
border-top: none !important;
}

.tabs li + li::before {
content: "";
display: block;
width: 65%;
height: 1px;
background: #d4b87a;
opacity: 0.6;
margin: 0 auto;
}

/* アクティブ時の枠線色 */
.tabs .active a.tagspani  { border-color: #E7262A !important; }
.tabs .active a.tagscream { border-color: #00BFF3 !important; }
.tabs .active a.tagsvege  { border-color: #2E952A !important; }
.tabs .active a.tagslab   { border-color: #204A7C !important; }
.tabs .active a.tagsched  { border-color: #F6EA47 !important; }
.tabs .active a.tagsgoud  { border-color: #F49600 !important; }

.tabs .active a span { color: white; }

.tabs li + li.active::before {
background: transparent;
}

/* 擬似要素を非表示 */
.tabs li:before,
.tabs li:after,
.tabs li a:before,
.tabs li a:after {
display: none !important;
content: none !important;
}

.tagspani-img {
width: 42px !important;
}

.tabs a span {
font-size: 9px;
color: #7a6030;
text-align: center;
display: block;
}

/* コンテンツを右側に */
.tabs-content {
padding-top: 0;
order: 2;
flex: 1;
min-height: 500px;
}

.tabs-content-item-inner {
border-radius: 0 10px 10px 0;
}

.topSpecial-list-item {
width: calc(50% - 10px) !important;
}

.topSpecial-list {
gap: 10px !important;
margin-top: 10px !important;
}
.tabs-content-item {
  border-radius: 10px 0 0px 10px;
  min-height: 530px;
}
.topSpecial-list-item-link-img-mask-txt{
  font-size: 9px;
}
/* ===== もっと見るボタン ===== */
.more-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.more-btn {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 8px 28px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.18s;
}

.more-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
}

    .sf-footer {
      display: none !important;
    }
    /* product modal */
    .product-modal {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.6);
      z-index: 9999;
      padding: 16px;
    }
    .product-modal.is-active {
      display: flex;
    }
    .product-modal__dialog {
      position: relative;
      width: 40%;
      height: min(80vh, 720px);
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }
    @media screen and (max-width: 768px) {
      .product-modal__dialog {
        width: 90%;
      }
    
    }
    .product-modal__frame {
      width: 100%;
      height: 100%;
      border: none;
      background: #f5f5f5;
    }
    .product-modal__close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.65);
      color: #fff;
      font-size: 20px;
      cursor: pointer;
      line-height: 1;
      display: grid;
      place-items: center;
      transition: background 0.2s ease;
    }
    .product-modal__close:hover {
      background: rgba(0, 0, 0, 0.8);
    }
    .product-modal__contents {
      padding-top: 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    }
    .product-modal__contents-img {
      width: 180px;
    }
    .product-modal__contents-img img{
      width: 100%;
      height: auto;
    }
    .product-modal__contents-links{
      margin-top: 20px;
      display: flex;
      flex-direction: column;
    }
 
    .product-modal__contents-links-link{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      background: #D9D9D9;
      padding: 10px 20px;
      width: 250px;
      border-radius: 5px;
      text-decoration: none;
      color: #000;
      font-size: 16px;
      font-weight: bold;
      margin: 10px;
      border-radius: 40px;
      height: 62px;
    }
    .product-modal__contents-links-link:hover{
      background: #ffe066;
    }
    .product-modal__contents-links-link-logo{
      width: 72px;
    }
    .product-modal__contents-txt{
      color: #000;
      font-size: 24px;
      font-weight: 700;
      margin-top: 64px;
    }
    @media screen and (max-width: 768px) {
      .product-modal__contents-links{
      margin-top: 42px;
    }
      .product-modal__contents-links-link{
        background: #ffe066;
        height: 56px;
      }
      .product-modal__contents-txt{
      font-size: 18px;
      margin-top: 72px;
    }
    }
    .product-modal__contents-img img{
      transition: transform .3s ease;
      animation: topLine-list-item-img 1.8s ease-in-out infinite
            alternate-reverse;
    }
    .product-modal__contents-img::after{
      content: "";
          position: absolute;
          top: 172px;
          left: 50%;
          width: 20%;
          height: 8px;
          border-radius: 80px / 4px;
          background-color: transparent;
          box-shadow: 0 40px 15px rgba(0, 0, 0, .5);
          transform: translateX(-50%);
          animation: shadowWidth2 1.8s ease-in-out infinite alternate-reverse;
    }
    @keyframes shadowWidth2 {
  0% {
    width: 25%;
  }
  100% {
    width: 10%;
  }
}