@charset "EUC-JP";

/* ========================================
   トップ・メインビジュアル（ファーストビュー）
======================================== */
.c-top-firstView{
  --firstViewSlideHeight:50vh;
}
.c-top-firstView.withNews{
  --firstViewSlideHeight:calc(50vh - 70px);
}
.c-top-firstView{
  width:100%;
  height:var(--firstViewSlideHeight);
  overflow:hidden;
}
.c-top-firstView a,
.c-top-firstView img,
.c-top-firstView picture{
  width:100%;
  height:var(--firstViewSlideHeight);
  display:block;
  outline:none;
}
.c-top-firstView img{
  object-fit:cover;
  object-position:center;
}
.c-top-firstView a:hover{
  opacity:1;
}

@media screen and (max-width:1024px){
  .c-top-firstView{
    --firstViewSlideHeight:calc(50vh - 60px);
    --firstViewSlideHeight:calc(50svh - 60px);
  }
  .c-top-firstView.withNews{
    --firstViewSlideHeight:calc(50vh - 60px - 100px);
    --firstViewSlideHeight:calc(50svh - 60px - 100px);
  }
}

/* ========================================
   お知らせ（NEWS）
======================================== */
.c-top-news{
  --topNewsHeight:70px;
  width:100%;
  height:var(--topNewsHeight);
  position:relative;
  z-index:2;
}
.c-top-news::before{
  content:"";
  width:calc(100% - 120px);
  height:100%;
  left:0;
  top:0;
  position:absolute;
  background:var(--defaultColor);
  opacity:0.05;
}
.c-top-news .l-content{
  height:var(--topNewsHeight);
  overflow:hidden;
  position:relative;
}

@media screen and (min-width:1025px){
  .c-top-news .l-content{
    padding-right:120px;
  }
}
.c-top-news a,
.c-top-news span{
  font-size:16px;
  height:var(--topNewsHeight);
  line-height:var(--topNewsHeight);
  white-space:nowrap;
  width:100%;
  text-overflow:ellipsis;
  display:block;
  color:var(--defaultColor);
  overflow:hidden;
}
.c-top-news a:hover{
  text-decoration:underline;
}
.c-top-newsListNext,
.c-top-newsListPrev{
  width:60px;
  height:var(--topNewsHeight);
  position:absolute;
  top:0;
  right:0;
  cursor:pointer;
  z-index:3;
}
.c-top-newsListPrev{
  right:60px;
}
.c-top-newsListNext::before,
.c-top-newsListPrev::before{
  content:"";
  width:100%;
  height:100%;
  position:absolute;
  left:0;
  top:0;
  background:var(--defaultColor);
  opacity:0.05;
}
.c-top-newsListNext::after,
.c-top-newsListPrev::after{
  content:"";
  width:10px;
  height:10px;
  position:absolute;
  top:calc(50% - 5px);
  transition:right 0.2s ease-out,left 0.2s ease-out;
}
.c-top-newsListPrev::after{
  right:5px;
  border-top:1px solid var(--defaultColor);
  border-left:1px solid var(--defaultColor);
  transform:rotate(-45deg);
}
.c-top-newsListNext::after{
  left:5px;
  border-top:1px solid var(--defaultColor);
  border-right:1px solid var(--defaultColor);
  transform:rotate(45deg);
}

@media screen and (max-width:1024px){
  .c-top-news{
    --topNewsHeight:100px;
    display:flex;
    align-items:center;
  }
  .c-top-news::before{
    width:100%;
  }
  .c-top-news a,
  .c-top-news span{
    font-size:14px;
    line-height:20px;
    height:60px;
    white-space:normal;
    width:100%;
    padding-right:0;
    margin-top:20px;
    display:-webkit-box;
    display:box;
    overflow:hidden;
    -webkit-line-clamp:3;
    line-clamp:3;
    -webkit-box-orient:vertical;
    box-orient:vertical;
  }
  .c-top-newsListNext,
  .c-top-newsListPrev{
    width:35px;
    height:35px;
  }
  .c-top-newsListPrev{
    right:37px;
  }
  .c-top-newsListNext::before,
  .c-top-newsListPrev::before{
    content:none;
  }
  .c-top-newsListNext::after,
  .c-top-newsListPrev::after{
    content:"";
    width:6px;
    height:6px;
    position:absolute;
    top:calc(50% - 3px);
    transition:right 0.2s ease-out,left 0.2s ease-out;
  }
  .c-top-newsListPrev::after{
    right:5px;
    border-top:1px solid var(--defaultColor);
    border-left:1px solid var(--defaultColor);
    transform:rotate(-45deg);
  }
  .c-top-newsListNext::after{
    left:5px;
    border-top:1px solid var(--defaultColor);
    border-right:1px solid var(--defaultColor);
    transform:rotate(45deg);
  }
}

/* ========================================
   コンセプト（インフォメーション）
======================================== */
.c-top-information{
  margin-top:60px;
}
.c-top-informationImage{
  width:100%;
  position:relative;
  background-image: url(https://img07.shop-pro.jp/PA01383/323/etc_base64/pc-lpKW5pdSl0KXKobw.png?cmsp_timestamp=20240411092935);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.c-top-informationImage::before{
  content:"";
  padding-top:59.61%;
  display:block;
}
.c-top-informationMessage{
  width:680px;
  max-width:80%;
  padding:60px 60px 0 60px;
  line-height:200%;
  margin:-100px 0 0 auto;
  background:var(--defaultBackgroundColor);
  position:relative;
  z-index:3;
}

@media screen and (max-width:1024px){
  .c-top-informationMessage{
    width:calc(100% - 8vw);
    max-width:100%;
    padding:30px 4vw 0 4vw;
    line-height:180%;
    margin:-4vw auto 0 auto;
  }
}

/* ========================================
   間のビジュアル・ランキング・メッセージ共通マージン
======================================== */
.c-top-interval,
.c-top-ranking,
.c-top-message,
.c-top-freespace{
  margin-top:120px;
}

@media screen and (max-width:1024px){
  .c-top-interval,
  .c-top-ranking,
  .c-top-message,
  .c-top-freespace{
    margin-top:90px;
  }
}

/* ========================================
   インターバルイメージ
======================================== */
.c-top-intervalImage{
  width:100%;
  max-height:40vw;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.c-top-intervalImage img{
  position:static;
}

/* ========================================
   ランキングスライダー矢印
======================================== */
.c-top-ranking .c-sliderPrev{
  position:absolute;
  right:52px;
  top:50%;
  transform:translatey(-50%);
}
.c-top-ranking .c-sliderNext{
  position:absolute;
  right:0;
  top:50%;
  transform:translatey(-50%);
}

@media screen and (max-width:1024px){
  .c-top-ranking .c-sliderPrev{
    right:37px;
  }
}

/* ========================================
   店長メッセージ（店舗情報）
======================================== */
.c-top-messageImage{
  width:100%;
  position:relative;
}
.c-top-messageImage::before{
  content:"";
  padding-top:48.08%;
  display:block;
}
.c-top-message .l-content{
  width:100%;
  margin-top:40px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}
.c-top-messageManager{
  width:33%;
}
.c-top-messageComment{
  width:calc(100% - 33% - 40px);
  line-height:200%;
}
.c-top-messageManagerName{
  font-family:var(--boldfont);
  font-weight:bold;
  font-size:24px;
  line-height:150%;
}
.c-top-messageLink{
  display:inline-block;
  margin-top:1em;
  color:var(--defaultColor);
  font-size:16px;
  line-height:150%;
  position:relative;
}
.c-top-messageLink::before{
  content:"";
  position:absolute;
  width:100%;
  height:1px;
  left:0;
  bottom:0;
  background:var(--defaultColor);
  opacity:0.5;
}

@media screen and (max-width:1024px){
  .c-top-messageImage{
    width:100%;
    position:relative;
  }
  .c-top-message .l-content{
    display:block;
  }
  .c-top-messageManager{
    width:100%;
    text-align:center;
  }
  .c-top-messageComment{
    width:100%;
    line-height:180%;
    margin-top:40px;
  }
  .c-top-messageManagerName{
    font-size:20px;
  }
  .c-top-messageLink{
    display:inline-block;
    margin-top:1em;
    color:var(--defaultColor);
    font-size:16px;
    line-height:150%;
    position:relative;
  }
}

/* ========================================
   サポートリンク・バナー
======================================== */
.c-top-link-banners {
  margin-top: 120px;
}

.link-banners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.link-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
  padding: 15px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  color: var(--defaultColor);
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.link-banner:hover {
  background-color: #e9e9e9;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 1;
}

/* PC（1025px&#12316;）：5個を均等配置 */
@media screen and (min-width: 1025px) {
  .link-banner {
    width: calc(20% - 16px);
  }
}

/* タブレット（768&#12316;1024px）：2列 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .link-banner {
    width: calc(50% - 10px);
  }
}

/* スマホ（&#12316;767px）：高さ・文字を少し小さめに */
@media screen and (max-width: 767px) {
  .link-banners-container {
    gap: 15px;
  }
  .link-banner {
    min-height: 65px;
    font-size: 1.0em;
    padding: 10px;
  }
}

/* ========================================
   2連バナー（送料無料・10％OFF）
   └ スマホは2列・PC/タブは横並び
======================================== */
.two-banners-container {
  display: flex;
  flex-wrap: wrap;      /* スマホでも2列に対応 */
  gap: 20px;
}

.custom-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 25px;
  border-radius: 8px;
  min-height: 180px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}

.custom-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  opacity: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-text-content {
  text-align: center;
}

/* アイコンは使用しない */
.banner-icon {
  display: none;
}

/* テキスト共通 */
.banner-main-text {
  display: block;
  font-family: var(--boldfont);
  font-weight: bold;
  font-size: 2.0em;
  line-height: 1.2;
}

.banner-sub-text {
  display: block;
  font-size: 1.2em;
  margin-bottom: 8px;
  font-weight: 500;
}

/* 送料無料バナー */
.banner-shipping {
  background: #007bff;
  color: #ffffff;
  border: none;
}
.banner-shipping .banner-main-text,
.banner-shipping .banner-sub-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffffff;
}

/* SDカードバナー */
.banner-sdcard {
  background-color: #1c1c1e;
  color: #ffffff;
}
.banner-sdcard .banner-sub-text {
  color: rgba(255,255,255,0.8);
}
.banner-sdcard .banner-main-text {
  color: #ff9500;
}

/* PC（1025px&#12316;）：横並び・大きめ */
@media screen and (min-width: 1025px) {
  .custom-banner {
    flex: 1;
    min-height: 180px;
    padding: 25px;
  }
  .banner-main-text {
    font-size: 2.0em;
  }
  .banner-sub-text {
    font-size: 1.2em;
  }
}

/* タブレット（768&#12316;1024px）：横並びで少しコンパクト */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .two-banners-container {
    flex-wrap: nowrap;
  }
  .custom-banner {
    flex: 1;
    min-height: 160px;
    padding: 20px;
  }
  .banner-main-text {
    font-size: 1.7em;
  }
  .banner-sub-text {
    font-size: 1.0em;
  }
}

/* スマホ（&#12316;767px）：2列表示＋小さめ */
@media screen and (max-width: 767px) {
  .two-banners-container {
    gap: 12px;
  }
  .custom-banner {
    width: calc(50% - 6px);  /* ★スマホで2列★ */
    min-height: 120px;
    padding: 12px;
  }
  .banner-main-text {
    font-size: 1.3em;
  }
  .banner-sub-text {
    font-size: 0.9em;
  }
}

/* ========================================
   CSSフェードスライドショー
======================================== */
.css-fade-slideshow-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slides-inner {
  display: grid;
}

.slide-item {
  grid-row-start: 1;
  grid-column-start: 1;
  opacity: 0;
  position: relative; /* z-index有効化 */
}

.slide-item img {
  display: block;
  width: 100%;
  height: auto;
  animation: kenburns 25s ease-in-out infinite alternate;
}

/* 5枚×5秒＝25秒 */
.slide-item:nth-child(1) { animation: slide1-anim-5 25s infinite; }
.slide-item:nth-child(2) { animation: slide2-anim-5 25s infinite; }
.slide-item:nth-child(3) { animation: slide3-anim-5 25s infinite; }
.slide-item:nth-child(4) { animation: slide4-anim-5 25s infinite; }
.slide-item:nth-child(5) { animation: slide5-anim-5 25s infinite; }

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* 各スライドのフェード制御 */
@keyframes slide1-anim-5 {
  0% { opacity: 1; z-index: 5; }
  16% { opacity: 1; z-index: 5; }
  20% { opacity: 0; z-index: 0; }
  96% { opacity: 0; z-index: 0; }
  100% { opacity: 1; z-index: 5; }
}
@keyframes slide2-anim-5 {
  16% { opacity: 0; z-index: 0; }
  20% { opacity: 1; z-index: 5; }
  36% { opacity: 1; z-index: 5; }
  40% { opacity: 0; z-index: 0; }
}
@keyframes slide3-anim-5 {
  36% { opacity: 0; z-index: 0; }
  40% { opacity: 1; z-index: 5; }
  56% { opacity: 1; z-index: 5; }
  60% { opacity: 0; z-index: 0; }
}
@keyframes slide4-anim-5 {
  56% { opacity: 0; z-index: 0; }
  60% { opacity: 1; z-index: 5; }
  76% { opacity: 1; z-index: 5; }
  80% { opacity: 0; z-index: 0; }
}
@keyframes slide5-anim-5 {
  76% { opacity: 0; z-index: 0; }
  80% { opacity: 1; z-index: 5; }
  96% { opacity: 1; z-index: 5; }
  100% { opacity: 0; z-index: 0; }
}

/* ========================================
   カテゴリーバナー（カテゴリー）
   └ PC3列／スマホ2列
======================================== */
.c-category-banners {
  margin-top: 60px;
  margin-bottom: 60px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCでは3列 */
  gap: 20px;
}

.category-banner-item {
  --banner-height: 250px;
  display: flex;
  position: relative;
  height: var(--banner-height);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-banner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 1;
}

/* 下部にシルバーグレーグラデーション */
.category-banner-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(230, 230, 235, 0.90) 0%,
    rgba(230, 230, 235, 0.00) 70%
  );
  border-radius: inherit;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.category-banner-text {
  position: relative;
  z-index: 2;
  font-family: var(--boldfont);
  font-weight: bold;
  font-size: 1.6em;
  padding: 20px;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

/* タブレット（768&#12316;1024px）も3列のまま */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ（&#12316;767px）：2列＋コンパクト */
@media screen and (max-width: 767px) {
  .c-category-banners {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr); /* ★スマホは2列★ */
    gap: 12px;
  }
  .category-banner-item {
    --banner-height: 160px;
  }
  .category-banner-text {
    font-size: 1.1em;
    padding: 10px;
  }
}
