@charset "UTF-8";
/*
.c-top-firstView{
  --firstViewSlideHeight:50vh;
}
.c-top-firstView.withNews{
  --firstViewSlideHeight:calc(100vh - 70px);
}
*/
.c-top-firstView{
  width: 100%;
  overflow: hidden;
  padding: 0 40px;
  box-sizing: border-box;
  margin: 0;
}
.c-top-firstView a,
.c-top-firstView picture{
  width:100%;
  height:var(--firstViewSlideHeight);
  display:block;
  outline:none;
}
.c-top-firstView img{
  object-fit:cover;
  object-position:center;
  width: 100%;
  height: 100%;
  display: block;
}
.c-top-firstView a:hover{
  opacity:1;
}

.c-top-news{
  --topNewsHeight:60px;
  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:0px;
}
.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);
}

/* ========== トップページ情報スライダーのレイアウト調整 ========== */
.c-top-information {
  margin-top: 24px;
}
.c-top-informationImage .slick-slide {
  width: 360px;
  margin: 0 8px;
  transition: transform 0.4s ease;
}
.c-top-informationImage .slick-center {
  transform: scale(1);
}
.c-top-informationImage img {
  width: 100%;
  height: auto;
}
.c-top-informationImage .slick-dots {
  bottom: -16px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  justify-content: center;
}
.c-top-informationImage .slick-dots li {
  margin: 0 5px;
}
.c-top-informationImage .slick-dots button {
  font-size: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #DADAE7;
  border: none;
  padding: 0;
  cursor: pointer;
}
.c-top-informationImage .slick-dots li.slick-active button {
  background-color: #0B0B61;
}

.c-top-interval,
.c-top-ranking,
.c-top-message,
.c-top-freespace,
.c-freepage-list {
  margin-top: 56px;
}

.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-freepage-list .c-sectionTitle,
.c-top-ranking .c-sectionTitle {
  position: relative;
}
.c-freepage-list .c-sliderPrev,
.c-top-ranking .c-sliderPrev {
  position:absolute;
  right:52px;
  top:50%;
  transform:translatey(-50%);
}
.c-freepage-list .c-sliderNext,
.c-top-ranking .c-sliderNext {
  position:absolute;
  right:0;
  top:50%;
  transform:translatey(-50%);
}

.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;
}

.c-top-firstView {
  position: relative;
}

/* ドット全体のコンテナ */
.c-top-firstView .slick-dots {
  position: relative; /* 絶対配置を解除 */
  /* bottom, left, transform の指定は不要になるため削除 */
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 8px; /* スライド画像との間に余白を追加 */
  display: flex;
  justify-content: center; /* ドットを中央揃えに */
}
.c-top-firstView .slick-dots li button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #DADAE7;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0px 4px;
}
.c-top-firstView .slick-dots li.slick-active button {
  background-color: #0b0b61;
  border-color: #0b0b61;
}

.l-content > .c-top-informationImage,
.l-content > .c-top-informationMessage {
  width: 100%;
}

/* 商品リストの親要素 */
.c-recommend .c-items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

/* 各商品（aタグ） */
.c-recommend .c-items > a {
  /* PCでは幅20%で5列表示 */
  width: 20%;
  padding: 0 12px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

/* Slickスライダーが生成するスライド要素に直接幅を指定します */
.c-top-ranking .c-items.isSlider .slick-slide {
  width: 270px;
  margin: 0 16px !important;
}
.c-top-ranking .c-items.isSlider .slick-slide a {
  display: block;
}

.c-recommend {
  margin-top: 56px;
}

/* フリーページ一覧  */
.c-freepage-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.c-freepage-item {
  display: block;
  padding: 16px;
  border: 1px solid #eee;
  text-align: left;
  color: var(--defaultColor, #333);
  text-decoration: none;
  transition: all 0.3s ease;
}
.c-freepage-item:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.c-sliderPrev.disabled,
.c-sliderNext.disabled {
  opacity: 0.4;
  cursor: default;
}

/* =========================================================
   タブレット以下のスタイル (1024px以下)
========================================================= */
@media screen and (max-width: 1024px) {
  .l-horizontal-nav {
    display: none !important;
  }
  
  /* スライドショー */
  .c-top-firstView {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
  }
  .c-top-firstView a,
  .c-top-firstView picture {
    height: auto;
  }
  .c-top-firstView .slick-dots {
    position: static;         
    transform: none; 
    justify-content: center; 
    padding: 10px 0;
    margin: 0;
  }

  /* お知らせ */
  .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);
  }
  .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-informationImage .slick-slide {
    width: 280px !important;
    margin: 0 6px;
  }

  /* インフォメーションメッセージ */
  .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,
  .c-freepage-list {
    margin-top: 40px;
  }
  
  .c-freepage-list .c-sliderPrev,
  .c-top-ranking .c-sliderPrev {
    right: 37px;
  }
  
  /* 店舗情報 */
  .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;
  }
  
  /* おすすめ商品を4列で表示 */
  .c-recommend .c-items > a {
    width: 25%;
  }
}

/* =========================================================
   スマートフォン用のスタイル (767px以下)
========================================================= */
@media screen and (max-width: 767px) {
  /* フリーページ一覧 */
  .c-freepage-items {
    grid-template-columns: 1fr; 
    gap: 8px;
  }
  .c-freepage-item {
    padding:16px;
  }
  .l-content {
    padding:0 12px;
  }
  .c-top-ranking .c-items.isSlider .slick-slide {
    width: 200px; /* スライド1枚の幅を小さくする */
    margin: 0 8px !important; /* スライド間の余白を調整 */
  }
  
  /* スマートフォンではおすすめ商品を3列で表示 */
  .c-recommend .c-items > a {
    width: 33.333%; 
  }

  /* インフォメーションスライダー全体の上余白を調整 */
  .c-top-information {
	margin: 0;
  }
  .c-freepage-item {
    font-size: 15px;
  }
  /* スライドする各画像のサイズと間隔を調整 */
  .c-top-informationImage .slick-slide {
    width: 200px !important;
    margin: 0 4px;
  }

  /* ドットナビゲーションの位置を調整 */
  .c-top-informationImage .slick-dots {
    bottom: -12px; /* ドットの位置を少し上げる */
  }
  .c-top-firstView .slick-dots {
    padding: 0px 0 10px 0;
    margin: 0;
  }
}

/* ========== コンテンツ一覧 シンプルアニメーション ========== */

/* フェードインアニメーションの定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); /* 少し下から表示 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 表示されるアイテムにアニメーションを適用 */
.c-freepage-item {
  animation: fadeIn 0.4s ease-out forwards;
}

@media screen and (max-width: 480px) {
  /* スマートフォンではおすすめ商品を2列で表示 */
  .c-recommend .c-items > a {
    width: 50%; 
  }
}