@charset "shift_jis";
/* --------------------------
    all
-------------------------- */
/* 全体要素・背景色・タイトル */
#contents {
  margin: 0 !important;
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}
/* h2光る帯 */
.glow-band {
background: #fff;
padding: 1rem 3rem;
box-shadow:
0 0 10px #b388ff,
0 0 20px #b388ff,
0 0 40px #c77dff;
animation: band-glow 4s ease-in-out infinite;
margin: 3em 0 5em;
}


@keyframes band-glow {
0%, 100% {
box-shadow:
0 0 8px #b388ff,
0 0 20px #b388ff,
0 0 40px #c77dff;
}
50% {
box-shadow:
0 0 16px #c77dff,
0 0 40px #c77dff,
0 0 80px #dbaaff;
}
}

#contents h2.sub-ttl {
    font-weight: 900;
    text-align: center;
    font-size: 3.5em;
    margin: 0;
    color: #000;
    padding: 0;
    
	}

#contents .contents-area {
    width: 100%;
    padding-bottom: 5em;
}

/* タイトル */
    
#contents .contents-area h3 {
    font-size: 2.5em !important;
}

/* ブロック内要素 */
#contents .contents-area .contents-box{
    padding: 3em 2em;
}

/* もっと見るボタン */
#contents .more-link-box .link-btn .icon-greater-right-b::before {
    color: #ec2a4c;
}

#contents .more-link-box {
	display: block;
	max-width: 800px;
	width: 90%;
	margin: 1em auto;
	text-align: center;
	font-size: 1.2em;
	border: none;
}

#contents .more-link-box .link-btn {
	transition: all 0.3s;
	width: 100%;
	display: block;
	border-radius: 100px;
}

#contents .more-link-box .link-btn .btn-inner {
	width: 100%;
	display: block;
	color: #fff;
	background-color: #FFF000;
	padding: 1.2em 0;
	font-size: 1.2em;
	font-weight: bold;
    border: 4px solid #fff;
}


#contents .more-link-box .link-btn .btn-inner.sale{
background-color: #ff2a48B3;
}
#contents .more-link-box .link-btn .btn-inner.coupon{
background-color: #ffde2aB3;
}
#contents .more-link-box .link-btn .btn-inner.fuku{
background-color: #66ff2aB3;
}
#contents .more-link-box .link-btn .btn-inner.sns{
background-color: #2ab1ffB3;
}
#contents .more-link-box .link-btn .btn-inner.outlet{
background-color: #9e40ffB3;
}


#contents .more-link-box .link-btn .icon-greater-right-b {
	display: inline-block;
	padding: 0 0 0 10px;
}

/* --------------------------
    メインビジュアル
-------------------------- */

#main-visual{
width: 100%;
}
#main-visual .main-visual-area {
  position: relative;
  width: 100%;
  height: 1100px;
  background-color: #000;
  background-image: url(//cdn.sanwadirect.jp/contents/campaign/blackfriday/img/2025/background.png);
  background-repeat: no-repeat;
  background-position: center center; 
  background-size: auto;             
  overflow: hidden;
}



/* コンテンツエリア */
#main-visual .content-area {
    position: relative;
    max-width: 1045px;
    min-width: 800px;
    top: 0px;
    height: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}


/* メインタイトル */
#main-visual .main-title {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 26;
    widows: 80%;
}

#main-visual .title-char {
    width: 85%;
    z-index: 26;

}

#main-visual .date-img {
    max-width: 100%;
    height: auto;
}

/* 商品 */
#main-visual .item1 {
    position: absolute;
    left: -9%;
    top: 0%;
    width: 400px;
    height: auto;
    z-index: 27;
}

#main-visual .item2 {
    position: absolute;
    left: -4%;
    top: 52%;
    width: 355px;
    height: auto;
    z-index: 27;
}

#main-visual .item3 {
    position: absolute;
    left: 65%;
    top: 4%;
    width: 410px;
    height: auto;
    z-index: 27;
}

#main-visual .item4 {
    position: absolute;
    left: 70%;
    top: 49%;
    width: 340px;
    height: auto;
    z-index: 27;
}

#main-visual .deco1 {
    position: absolute;
    right: 95%;
    top: 9%;
    width: 590px;
    height: auto;
    z-index: 25;
}

#main-visual .deco2 {
    position: absolute;
    right: 95%;
    top: 55%;
    width: 590px;
    height: auto;
    z-index: 25;
}

#main-visual .deco3 {
    position: absolute;
    right: -50%;
    top: 0%;
    width: 590px;
    height: auto;
    z-index: 25;
}

#main-visual .deco4 {
    position: absolute;
    right: -41%;
    top: 59%;
    width: 640px;
    height: auto;
    z-index: 25;
}

#main-visual .triangle1 {
    position: absolute;
    right: 85%;
    top: 26%;
    width: 480px;
    height: auto;
    z-index: 25;
}

#main-visual .triangle2 {
    position: absolute;
    right: -32%;
    top: 11%;
    width: 335px;
    height: auto;
    z-index: 25;
}

#main-visual .triangle3 {
    position: absolute;
    right: -24%;
    top: 40%;
    width: 335px;
    height: auto;
    z-index: 25;
}

#main-visual .circle-img {
    width: 100%;
    height: auto;
}

#main-visual h2{
position: relative;top: 0px; 
}

#menu .menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 87%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    z-index: 25;
    }

#menu .menu-list li {
  text-align: center;
  padding: 0 .5em;
  max-width: 350px;
}


/* PC幅狭用 */
@media screen and (max-width: 1600px) and (min-width: 500px) {
#main-visual .triangle1 {
    right: 77%;
    top: 30%;
    width: 415px;
}

#main-visual .triangle2 {
    right: -19%;
    top: 42%;
}

#main-visual .triangle3 {
    right: -17%;
    top: 15%;
}
    
    #menu .menu-list {
    flex-wrap: wrap;
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    }

#menu .menu-list li {
  flex: 1;
  text-align: center;
  padding: 0 .5em;
  max-width: 350px;
}

}

/* スマホ用 */
@media screen and (max-width: 499px) {
    #main-visual .main-visual-area {
        height: 67vh;
    background-size: 231% auto;
    background-position: top;
    background-position: center calc(0% - 91px);
}
    
    #main-visual .main-title{
    width: 95%;
    margin: 0 auto; 
    }
    
#main-visual .deco1 {
    right: 67%;
    top: 0%;
    width: 300px;
}

#main-visual .deco2 {
    right: 65%;
    top: 34%;
    width: 300px;
      }
#main-visual .deco3 {
    right: -52%;
    top: 9%;
    width: 300px;
    }
    
#main-visual .deco4 {
    right: -18%;
    top: 36%;
    width: 300px;
    }
 
#main-visual .triangle1 {
    right: 68%;
    top: 18%;
    width: 150px;
    }
      
#main-visual .triangle3 {
    right: -3%;
    top: -3%;
    width: 150px;
    z-index: 26;
}

    #main-visual .date-area {
    top: 52%;
    left: 43%;    
    }
    
    #main-visual .curtain-left .curtain-side-img,
    #main-visual .curtain-right .curtain-side-img {
        display: none;
    }
    
    #main-visual .curtain-top-img {
    height: 60px;
}

#main-visual .content-area {
min-width: 300px;
}

#main-visual h2{
position: relative;top: -160px; font-size: 1.2em !important;

}

#menu .menu-list {
top: 78%;
}


    #menu .spno {
    display: none;
  }
  
/* ====== スクロール時に出る固定フッターメニュー ====== */
.menu-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform .25s ease;
    background: #333333;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
    z-index: 99999;
    padding: 15px 10px;
    pointer-events: none;
}

.menu-sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* 追従バー内のレイアウト（元の .menu-list をそのまま流用） */
.menu-sticky .menu-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1.5vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 300px;
}

/* 画像サイズは追従バー用に控えめ */
.menu-sticky .menu-list img {
  height: clamp(36px, 6vw, 56px);
  width: auto;
  display: block;
  filter: drop-shadow(0px 6px 2px rgba(0,0,0,.08));
}

/* 追従バーが出るときの下余白（重なり防止） */
.has-sticky-menu {
  padding-bottom: calc(var(--sticky-menu-h, 72px) + env(safe-area-inset-bottom));
}

/* 小さい端末でFV高さ調整 */
@media (max-width: 380px) {

#main-visual .main-visual-area {
        height: 77vh;
        }  }
/* 小さい端末での詰まり防止と帯アニメーション */
@media (max-width: 480px) {
  .menu-sticky .menu-list img {
    height: 40px;
  }
}

  #menu .menu-list li {
    width: 25%;
    flex-basis: 25%;
    padding: 0;
  }
  
  #menu .menu-area .menu-list img {
    display: block;
    font-size: 1.2em;
    max-width: 150px;
    font-weight: 900;
    line-height: 1.5;
    filter: drop-shadow(0px 10px 2px rgba(0, 0, 0, 0.1));
    margin: 0;
  }
  
@keyframes band-glow {
    0%, 100% {
      box-shadow:
        0 0 5px  #b388ff,  /* 8px → 5px */
        0 0 12px #b388ff,  /* 20px → 12px */
        0 0 24px #c77dff;  /* 40px → 24px */
    }
    50% {
      box-shadow:
        0 0 10px #c77dff,  /* 16px → 10px */
        0 0 24px #c77dff,  /* 40px → 24px */
        0 0 48px #dbaaff;  /* 80px → 48px */
    }
  }
  
}

/* --------------------------
    小さいスマホ用スタイル
-------------------------- */
@media screen and (max-width: 480px) {
  #menu.menu-area {
    top: 240px;
  }
  
  #menu .menu-list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  
  #menu .menu-list li {
    width: 30%;
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%;
    padding: 0;
  }
  
  #menu.menu-area .menu-list img {
    max-width: 95%;
    margin: 0;
  }
}

/* PC用 */
@media screen and (min-width: 500px) {
    #main-visual .curtain-left .curtain-side-img,
    #main-visual .curtain-right .curtain-side-img {
        width: 200px;
        height: 100%;
    }
    
    #top #menu .fixed-menu {
    position: fixed;
    right: 20px;
    margin-bottom: 70px;
    width: 210px;
    z-index: 99;
  }
  
  #menu .fixed-menu ul {
    border: 5px solid #FF4D83;
    border-radius: 10px;
    text-align: left;
    margin: .5em 0;
    border-right: 10px solid #FF4D83;
    border-bottom: 13px solid #FF4D83;
  }
  
  #menu .sanwaday-fixed-menu.menu-area li {
    width: 100%;
    flex-basis: 100%;
    padding: 1em 0.5em;
    font-size: 1.5em;
    flex-direction: row;
    background-color: #ffffff !important;
    color: #fff;
    position: relative;
  }
  
  #menu .sanwaday-fixed-menu.menu-area li:not(:first-child) {
    border-top: 1px dashed;
  }
}

/* 背景ロゴの流れるレイヤー */
#main-visual .main-visual-area::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;                 /* コンテンツの背面に配置 */
  pointer-events: none;

  /* ====== ここを調整してください ====== */
  --logo-tile-w: 2600px;       /* ロゴ画像の1枚ぶんの横幅(px)に合わせる */
  --logo-opacity: 0.6;       /* 背景の濃さ。視認性に応じて微調整 */
  --scroll-duration: 60s;     /* 流れる速さ（長いほどゆっくり） */
  /* ================================== */

  background-image: url("//cdn.sanwadirect.jp/contents/campaign/blackfriday/img/2025/back-text.png");
  background-repeat: repeat;          /* x,y 両方向にタイリング */
  background-size: var(--logo-tile-w) auto; /* 1タイルの幅を固定 */
  background-position: 0 0;
  opacity: var(--logo-opacity);

  animation: logo-scroll var(--scroll-duration) linear infinite;
  will-change: background-position;   /* パフォーマンスヒント */
  transform: translateZ(0);           /* レイヤー促進（モバイル対策） */
  background-repeat: repeat-x;
  top: 80%;
}



/* コンテンツを前面に */
#main-visual .content-area{
  position: relative;
  z-index: 1;
}

/* 右→左に流す。1タイル分だけ動かすと継ぎ目なくループします */
@keyframes logo-scroll{
  to{
    background-position: calc(-1 * var(--logo-tile-w)) 0;
  }
}

/* アニメを弱める：ユーザー設定に追随 */
@media (prefers-reduced-motion: reduce){
  #main-visual .main-visual-area::before{
    animation-duration: calc(var(--scroll-duration) * 2);
  }
}

/* スマホは少し薄く・ゆっくりに（任意） */
@media (max-width: 768px){
  #main-visual .main-visual-area::before{
        --logo-opacity: 0.7;
        --logo-tile-w: clamp(800px, 40vw, 320px);  }
}

/* --------------------------
    レコメンド
-------------------------- */
#recommend h2{
    text-align: center;
    font-size: 3em;
    margin: 0 auto;
}

#contents #recommend.contents-area {
    padding-bottom: 1em;
    border-top: none;
    margin-bottom: 3em;
}

#contents #recommend.contents-area .sub-ttl {
font-size: 2.5em;
}


#contents * {
    box-sizing: border-box;
    letter-spacing: normal;
}
#contents, #contents *, #contents *:before, #contents *:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#recommend .img-figure {
background-color: #fff;
max-width: 294px;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    border: 2px solid #fff;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    /* スライドのスタイリング */
}

/* 必要に応じてナビゲーションボタンの色なども調整 */
.swiper-button-next,
.swiper-button-prev {
    color: #2976C6;/* お好みの色に */
    font-weight: bold; 
}
.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-slide {
  transition-property: transform;
}

.swiper-slide {
  opacity: 0.5;
  transform: scale(0.9) !important;
  transition: all 0.3s ease;
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1.05) !important;
}

/* レコメンド調整 */
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 0px) !important;
}

@media screen and (max-width: 499px)
{

#contents #recommend.contents-area .sub-ttl {
    font-size: 1.5em;
}


}

/* --------------------------
    セール
-------------------------- */
#sale h3{
display: block;
max-width: 1800px;
padding: .5em 0;
margin: 0 auto;
text-align: center;
font-size: 1.2em;
font-weight: bold;
color: #fff;
border-radius: 5px;
}

#sale h3:nth-of-type(n+2) {
margin: 3em auto .5em;
}

h3.bk-r{
background-color: #DB070A !important;

}

#sale .sale-item-area {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em .5em;
  justify-items: center;
  align-items: start;
  max-width: 1800px;
  margin: 0 auto;
  padding: 1em 0;
}

#sale .sale-item-area.item6 {
grid-template-columns: repeat(6, 1fr);}

#sale .item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#sale .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

#sale .item-group {
  padding: 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#sale .sale-txt {
  padding: 0 .5em .5em;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  min-height: 135px; 
}

#sale .item-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
#sale .sale-item-area .item .itemst {
  color: #fff;
  position: absolute;
  left: -9999px;
  top: -9999px;
}
#sale .name {
  font-size: 1em;
  font-weight: 500;
  margin: 12px 0 4px;
  color: #333;
  text-align: left;
}
#sale .review {
  font-size: 1.2em;
  color: #666;
  gap: 4px;
  margin-bottom: 3px;
  text-align: left;
}

#sale .price {
  font-family: Arial, sans-serif;
  font-size: 2em;
  color: #000;
  text-align: left;
}
#sale .original-price {
  font-size: .8em;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 4px;
  text-align: left;
}
#sale .discount-rate {
  color: #cc0c39;
  font-weight: 100;
  font-size: 0.9em;
  padding: 0 5px 0 0;
}
#sale .percent {
  font-weight: 700;
  font-size: .8em;
}
#sale .yen {
  color: #000;
  font-size: .7em;
  padding: 0 3px 0 0;
}
#sale .sale-btn {
  background: #fb7b20;
  color: #fff;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}
#sale .sale-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#sale .csdf-right-dtl-txt-greater {
  margin-left: 6px;
}
#sale .itemlink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#sale .sale-item-area.scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: .5em;
  -webkit-overflow-scrolling: touch;
  padding: 1em 0;
  max-width: 1800px;
  margin: 0 auto 1em;
}

#sale .sale-item-area.scroll .item {
  flex: 0 0 calc((100% - 5.5em) / 5.5); 
  scroll-snap-align: start;
}

#sale .carousel-wrapper {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  width: 90%;
}

#sale .carousel-btn {
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 135px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ccc;
    border-radius: 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #555;
    cursor: pointer;
    user-select: none;
    padding: 0;
    transition: background 0.3s, box-shadow 0.3s;
}

#sale .carousel-btn.left {
  left: 5px;
}

#sale .carousel-btn.right {
  right: 5px;
}

#sale .carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* ===== Grid ===== */
#sale .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1500px;
    margin: 3em auto 5em;
    width: 90%;
}

#sale .sale-item-area{
  width: 90%;
}
@media (max-width: 1600px) {
#sale .sale-item-area.scroll .item {
    flex: 0 0 calc((100% - 4.5em) / 4.5);
}
}

@media (max-width: 499px) {
  #sale .grid-container { grid-template-columns: repeat(2, 1fr); }
  
  #sale .sale-item-area {
    gap: 1em .5em;
}
  
  #sale .sale-item-area {
    grid-template-columns: repeat(2, 1fr); /* PC: 5列 */
    padding: .5em;
  }
  #sale .item-group {
    padding: 6px;
  }
  #sale .sale-txt {
    padding: 0 .4em .5em;
    font-size: .7em;
    min-height: 120px;

  }
  #sale .original-price {
    font-size: 1em;
  }
  #contents .fes-area-ctr .contents-area .sub-ttl {
    font-size: 1.8em;
}

#sale .sale-item-area.scroll .item {
    flex: 0 0 calc((100% - 2.5em) / 2.5);
}

#sale .sale-item-area.scroll .price {
    font-size: 1.7em;
}

#sale .carousel-btn {
    display: none;
  }
  
#sale .prime-menu-item {
font-size: 0.7em;
}
#sale .prime-menu {
padding: .5em;
}
}

/* ===== Item & Image ===== */
#sale .grid-item {
  position: relative;
  display: block;
}
#sale .grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}

/* ===== 赤い吹き出し ===== */
#sale .badge {
    position: absolute;
    top: -21px;
    right: 5px;
    padding: .8em 1.5em;
    background: #e6002d;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    z-index: 99;
    animation: floaty 3.6s ease-in-out infinite;
}

/* 数字部分だけ拡大 */
#sale .badge .num {
  font-size: 1.6em; /* 親の文字サイズ基準 */
  margin: 0 2px;
}

/* 吹き出しの“しっぽ” */
#sale .badge::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -17px;
  border-width: 9px;
  border-style: solid;
  border-color: #e6002d transparent transparent transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}

/* ふわふわアニメーション */
@keyframes floaty {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-3px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.grid-item:nth-child(2n) .badge { animation-delay: .6s; }
.grid-item:nth-child(3n) .badge { animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .badge { animation: none; }
}

 
#sale .mini-ttl{
font-size: 2.5em;
    font-weight: bold;
    color: #333333;
    text-align: center;
    font-family: 'M PLUS 1p', sans-serif;
    margin: 2em auto 1em;
    background-color: #FAF9D9;
    padding: .3em 0;}


@media screen and (max-width: 1430px) {
#sale .price {
    font-size: 1.7em;
}}
@media screen and (min-width: 1599px) and (max-width: 1840px) {
#sale .sale-txt {
    min-height: 150px;
}

}
@media screen and (min-width: 500px) and (max-width: 1600px) {
#sale .item6 .discount-rate{
display: block;

}

#sale .sale-txt {
    min-height: 147px;
}
#sale .item6 .sale-txt {
    min-height: 186px;
}

}

/* スマホ用 */
@media screen and (max-width: 499px) {
#sale .sale-item-area{
    width: 100%;
}

#sale .mini-ttl {
    font-size: 2em;
    margin: 1em auto .5em;
}

#sale .price {
    font-size: 1.9em;
}

#sale h3:nth-of-type(n+2) {
    margin: 2em auto .5em;
}

#sale .sale-btn {
    padding: 2px 0;
}

#contents #sale .more-link-box .link-btn .btn-inner {
        padding: 1em .5em;
        font-size: .8em;
        width: 90%;
        margin: 0 auto;
    }

#sale .sale-item-area .item .discount-rate {
    width: 60%;
}

#sale .sale-item-area .item .sale-in {
    padding: .6em 0;
    font-size: .9em;

}


#sale .sale-item-area,#sale .sale-item-area.item5,#sale .sale-item-area.item6 {
    grid-template-columns: repeat(2, 1fr); 
    font-size: 1.3em;

    }
    
  #sale .contents-box .button-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
    gap: .5rem;
  }
  #sale .contents-box .container {
    padding: 2rem;
  }
  #sale .contents-box h1 {
    font-size: 2rem;
  }
  #sale .contents-box .btn-animated-outline {
    padding: 1em .5em;
    min-height: 50px;
    font-size: 0.9rem;
  }

  #sale .contents-box .btn-animated-outline {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  #sale .contents-box .btn-icon {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }
  
  #sale .sale-item-area .item {
    padding: 0;
}
#sale .sale-item-area .item .name {

font-size: .9em;
}

#sale .grid-container{
gap: 20px;
padding: 2em 0 0;
}

#sale .badge {
    top: -15px;
    right: -5px;
    font-size: 9px;
    line-height: 1;
}
#sale .carousel-wrapper .discount-rate {
    display: block;
}
#sale .grid-container {
    margin: 1em auto 0;
}
#sale h3 {
    border-radius: 0;
}
}

/* --------------------------
    クーポン
-------------------------- */

#coupon{
position: relative;
}

#coupon .comment-box{
color: #ffffff;

}
#coupon .hidden {
    display: none;
}

#coupon .timer-area{
display: none;
}

#coupon .image-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    cursor: pointer;
}
#coupon .image-container img {
    width: 100%;
    height: auto;
}
#coupon .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

#coupon .coupon-1,.coupon-2,.coupon-3{
position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    transform: translate(-50%, -50%);
}

#coupon .bg-box{
position: relative;
}

#coupon .coupon-number-copy-area .coupon-dtl-box {
    font-size: 1.5em;
}

#coupon .coupon-number-copy-area .discount {
    font-size: 2em;
}

#coupon .comment-box{
text-align: center;
}

#coupon .comment{
background-color: transparent;
}
/* スマホ用 */
@media screen and (max-width: 499px) {

#contents #coupon .more-link-box {
        margin: 0 auto;
}

#coupon .coupon-1, .coupon-2, .coupon-3 {
   top: 40%;
        left: 50%;
        width: 90%;
}

#coupon .coupon-number-copy-area .coupon-box {
    padding: 0 1em .5em;
}

#coupon .coupon-copy-btn-area {
    margin: 0 auto .5em;
}



#coupon .btn-copy {
        padding: .3em 1.5em;
    }

#coupon .coupon-number-copy-area .coupon-dtl-box {
padding: 0; }

#coupon .comment-box {
    margin: 0 auto;
}
#coupon .comment {
    margin: 0 auto;
}

}
/* PC用 */
@media screen and (min-width: 500px) {
    #coupon .coupon-number-copy-area.coupon-1 .coupon-box {
        flex-basis: 87%;
        margin: 0 auto;
    }
    #coupon .coupon-number-copy-area.coupon-1 .coupon-box {
        padding: .5em 1em 1.5em;
    }
}
/* --------------------------
    福袋
-------------------------- */

#fuku .block-column-area {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* 追加：オーバーレイの基準 */
}



#fuku .comment-box{
    color: #fff;
    font-size: 1.5rem;
}

#fuku .img-box img{
    border: 2px solid #fff;
}

#fuku .comment.ttl{
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0;
}

#fuku .comment.sub-text{
    font-size: 1.2rem;
    color: #d4d4d4;
    padding: 0;
}

#fuku .item-data-box{
font-family: "Century Gothic", "Franklin Gothic Medium", "Arial Black", "Avenir Next", Arial;
display: block;
align-items: baseline;
color: #d4d4d4;
font-size: 1.2rem;
}



#fuku .yen,#fuku .itempr{
color: #fff;

}

#fuku .item-data-box .bold{
font-weight: bold;
font-size: 1.5rem;
color: #fff;
padding: 0 .1em 0 0;
}

#fuku .item-data-box .main-price{
font-size: 2.3rem;
padding: 0 .5em 0 0;
display: block;

}

#fuku .item-data-box .main-price .bold
{
font-size: 3.3rem;
padding: 0 .1em 0 0;

}

#fuku .icon-stock{
    padding: 0 0 .4em;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px solid #fff;
    margin: 0 0 0 .5em;
    font-size: 1.2rem;

}

#contents .more-link-box.item-link .link-btn .btn-inner {
padding: .5em;
background-color: #333;
font-weight: 400;
border: 3px solid #fff;
}

#contents #fuku .more-link-box{
margin: 0 auto;

}
/* 完売 */
/* soldout時だけオーバーレイを表示 */
#fuku .block-column-area .soldout-overlay {
    display: none;
}

#fuku .block-column-area.soldout .soldout-overlay {
    display: flex;
    position: absolute;
    inset: 0; /* top, right, bottom, left: 0 */
    background: rgba(51, 51, 51, 0.9); /* 半透明グレー */
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* 中身のレイアウト（縦並びで中央） */
#fuku .soldout-overlay-inner {
    text-align: center;
}

/* 「完売しました」テキスト */
#fuku .soldout-text {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
}


#fuku .item-ranking .item-list .box-1 {
    text-align: center;
}

.item-img.item1 {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

#fuku .item-ranking .item-list .item .item-img {
    display: inline-block;
    vertical-align: middle;
    border-radius: 10px;
}

/* --------------------------
    スマホ用スタイル
-------------------------- */
@media screen and (max-width:480px) {
    
    #fuku .fuku-box {
        display: block;
    }
    #fuku .soldout-text {
        font-size: 1.5rem;
}
    
}

/* --------------------------
    PC用スタイル
-------------------------- */
@media screen and (min-width:768px) {
    #fuku .item-ranking .item-list .item .item-img {
        overflow: hidden;
        position: relative;
    }
        
    #fuku .item-ranking .item-list.box-1 .item {
        max-width: 650px;
    }
    
    #fuku .item-ranking .item-list.box-1 .item .item-img {
        max-width: 650px;
        display: block;
        margin: 0 auto;
    }    
    
    #fuku .fuku-area .item-list {
        width: 100%;
    }    
}

/* --------------------------
    SNS/キャンペーン/アンケ
-------------------------- */

#sns p.comment,#campaign p.comment,#questionnaire p.comment {
    font-size: 1.2em;
    color: #ffffff;
    }
    
    
#sns .block-column-area,#campaign .block-column-area,#questionnaire .block-column-area {
    max-width: 1200px;
    margin: 0 auto;
}

#contents #sns .block-column-area .more-link-box,#contents #campaign .block-column-area .more-link-box,#contents #questionnaire .block-column-area .more-link-box {
    margin: 1em .5em;
}

#contents #sns .block-column-area .more-link-box .link-btn .btn-inner,#contents #campaign .block-column-area .more-link-box .link-btn .btn-inner,#contents #questionnaire .block-column-area .more-link-box .link-btn .btn-inner {
    color: #333;
}
#sns .checkpoint-ttl,#campaign .checkpoint-ttl,#questionnaire .checkpoint-ttl {
  padding: .5em .8em;
  font-size: 1.8em;
  margin: 1rem auto .8rem;
  border: none;
  text-align: left;
  line-height: 1.5;
  background-color: #ED2A4B;
  border-radius: 5px;
  color: #ffffff !important;
}

#sns p.comment,#campaign p.comment,#questionnaire p.comment {
color: #d4d4d4;

}

#sns .comment.ttl,#campaign .comment.ttl,#questionnaire .comment.ttl{
font-size: 1.7rem;
font-weight: bold;
color: #ffffff;
padding: 0;
}

@media screen and (max-width: 499px) {
#sns p.comment,#campaign p.comment,#questionnaire p.comment {
padding: 0 .5em;
    }
    
#sns .block-column-area,#campaign .block-column-area,#questionnaire .block-column-area{
padding: 0 1em;
}
#sns .checkpoint-ttl,#campaign .checkpoint-ttl,#questionnaire .checkpoint-ttl {
    font-size: 1.5em;
    border-radius: 0;
    
}
}
/* --------------------------
    アンケモーダル
-------------------------- */
/* ダイアログ自体は背景のみ担当 */
#img-modal {
  padding: 0;
  border: none;
  background: transparent;
}

/* 暗幕 */
#img-modal::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

/* 中身のフレーム：画面に収まる箱を用意して、箱の中でスクロール */
#img-modal .modal-frame {
  position: relative;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow: auto;                /* ← 画像が大きいときはここでスクロール */
  background: transparent;
  display: inline-block;         /* 画像サイズに合わせる */
  border-radius: 8px;
}

/* モーダルを中央に配置 */
#img-modal[open] {
  display: grid;
  place-items: center;
}

/* 画像は元サイズのまま表示（拡大縮小しない） */
#modal-image {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* 閉じるボタン */
#img-modal .modal-close {
  position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 9999px;
    background: #fff;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

#img-modal .modal-close:hover { opacity: .9; }

/* PC用 */
@media screen and (min-width: 500px) {
#questionnaire .img-box img {
  cursor: zoom-in; /* 好みで pointer か zoom-in を選択 */
}}

/* --------------------------
    お悩み解決
-------------------------- */

/* レイアウト：PCは4列×2行、ギャップは任意で調整 */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1500px;
    margin: 0 auto;
}

/* 画像をブロック化して枠内で綺麗に表示 */
.advice-grid a {
  display: block;
  border-radius: 8px;  
  overflow: hidden;
  transform: translateY(0);
  transition: transform .2s ease,;
}
.advice-grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* ホバーで少し上に持ち上げる */
.advice-grid a:hover,
.advice-grid a:focus-visible {
  transform: translateY(-4px);
}


@media (max-width: 499px) {
  .advice-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    padding: 0 .8em;
  }
}

/* モーション配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .advice-grid a { transition: none; }
}

/* タッチ端末での軽い押下表現（任意） */
@media (hover: none) {
  .advice-grid a:active { transform: translateY(-2px); }
}


/* スマホ用 */
@media screen and (max-width: 499px) {
 #quiz .wid60 {
    width: 100% !important;
    flex-basis: 100% !important;
    margin: 0 auto;
}


}
/* PC用 */
@media screen and (min-width: 500px) {

}

.delete{display: none !important;}

/* --------------------------
    フッター
-------------------------- */
#footer .sq-bnr-area.bnr-4 {
        background-color: #000;
        max-width: 1200px;
        margin: 0 auto;
    }

/* --------------------------
    予告会場
-------------------------- */
.before #main-visual .main-visual-area {
  height: 1005px;
}

.before #main-visual .main-visual-area::before{
  background-image: url("//cdn.sanwadirect.jp/contents/campaign/blackfriday/img/2025/back-text-before.png");
}

#before .img-block
{
    max-width: 2000px;
}

#before .img-block img
{
    border: 3px solid #7634bd;
}

@media screen and (max-width: 1450px)
{
#before .img3 .img-box{
    width: 50%;
}
}
/* --------------------------
    スマホ用スタイル
-------------------------- */
@media screen and (max-width: 499px)
{

#contents .fes-area-ctr{
width:100%;
}

#contents .fes-area-ctr .contents-area {
    width: 100%;
    margin: 0 auto;
    box-shadow: none;
}

.glow-band {
margin: 2em 0;
padding: 0;
}


#contents .fes-area-ctr .contents-area .sub-ttl,#contents .sub-ttl {
        font-size: 1.8em;
        font-weight: 900;
        font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif;
        padding: .5em;
}

#contents .fes-area-ctr .contents-area .sub-ttl{
    border-radius:0;
}

#contents .contents-area .contents-box {
    border-radius: 0 0 10px 10px;
    padding: 2em 1em;

}

#contents .more-link-box .link-btn .btn-inner {
    padding: 1em 0;
}

#contents .more-link-box,#contents #sns .block-column-area .more-link-box, #contents #campaign .block-column-area .more-link-box ,#contents #questionnaire .block-column-area .more-link-box {
    margin: 0 auto 1em;
}

#sns .img-box,#campaign .img-box{
margin: 0;
}

.before #main-visual .main-visual-area {
    height: 50vh;
}
#before .img3 .img-box{
    width: 90%;
    margin: 1em auto;
}
#sns .comment.ttl, #campaign .comment.ttl {
    font-size: 1.5rem;
    padding: 0 .5em;
}

#fuku .block-column-area {
padding: 1em;
}

#fuku .comment.ttl {
    font-size: 2rem;
}

#fuku .comment.sub-text {
    font-size: 1rem;
}



#contents #fuku .more-link-box {
    margin: 0 auto;
    width: 100%;
}
}

/* --------------------------
    PC用スタイル
-------------------------- */

@media screen and (min-width: 500px) {
	#contents h1 {
		font-family: 'M PLUS 1p', sans-serif;
	}
	#contents h2.sub-ttl {
		font-family: 'M PLUS 1p', sans-serif;
	}
}
/* ブチ抜き */
@media screen and (min-width: 500px) {
	#m_col_center_wrap {
		margin-left: 0;
	}
	#clsd_contents .contents-center-area {
		max-width: 100%;
		margin: 0 auto;
	}
	#col_center {
		margin: 0 0 0 0 !important;
	}
	#clsd_contents {
		max-width: 100%;
		margin: 0 auto;
		padding: 0;
	}
}

@media screen and (min-width: 481px) {
	.fes-area-ctr {
		width: 100%;
		margin: 0 auto;
	}
}