/* フェードアップ（PC時のみ）、共通CSSに置くと一部動作しない */
@media screen and (min-width: 768px) {
  .u-fade {
    opacity: 0;
    transition: all 2s;
  }
  .u-fade.is-scroll {
    opacity: 1;    
  }
  .u-fade-4item {
    opacity: 0;
    transform: translate(0, 40px);
    transition: all 2s ease;
  }
  .u-fade-4item:nth-of-type(4n+1) {
    transition: all 500ms;
  }
  .u-fade-4item:nth-of-type(4n+2) {
    transition: all 1000ms;
  }
  .u-fade-4item:nth-of-type(4n+3) {
    transition: all 1500ms;
  }
  .u-fade-4item:nth-of-type(4n+4) {
    transition: all 2000ms;
  }
  .u-fade-4item.is-scroll {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* slickアニメーション用（PC時のみ） */
@media screen and (min-width: 768px) {
  #slider div img {
    margin: 0 auto;
    transform: scale(1.1);
    transition: 9s ease-out;
  }
  #slider div.is-animation img{
    transform: scale(1);
  }
}
/* スライドショー */
#slider {
  background-color: #fff;
  margin: 0 auto 40px;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}
@media screen and (min-width: 768px) {
  #slider {
    margin: 0 auto 70px;
    max-width: 1920px;
  }
}
#slider.slick-initialized {
  opacity: 1;
}
#slider .slick-slide {
  position: relative;
  transition: opacity 2s ease 0s !important;
}
#slider .slick-slide > a {
  pointer-events: none;
}
#slider .slick-slide a:hover {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  #slider .slick-slide img {
    max-width: 100%;
    height: auto;
  }
}
/* スライドショーのドットのサイズ */
#slider .slick-dots {
  position: static;
  margin-top: 5px;
}
@media screen and (min-width: 768px) {
  #slider .slick-dots {
    position: absolute;
    bottom: 10px;
    margin-top: 0;
  }
}
#slider .slick-dots li {
  margin: 0 2px;
}
#slider .slick-dots li button::before {
  color: var(--mv-dot-button-color);
  content: "●";
  font-size: 16px;
  opacity: 0.8;
}
#slider .slick-dots li.slick-active button::before {
  color: var(--mv-dot-button-color-active);
  content: "●";
  font-size: 16px;
}

/* スライドショーのキャプション */
.p-mv-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--general-background-color-gray);
  margin-right: 20px;
  padding: 5px;
  width: 100%;
  transition: all 0.3s ease;
}
@media screen and (min-width: 768px) {
  .p-mv-caption {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: transparent;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
  }
}
@media screen and (min-width: 1200px) {
  .p-mv-caption {
    padding: 0;
  }
}
@media screen and (min-width: 768px) {
  .slick-active .p-mv-caption {
    animation: fadeCaption 1.5s ease-in 0.5s normal both;
  }
  @keyframes fadeCaption {
    0% { opacity: 0; transform: translateY(-40%);}
    100% { opacity: 1; transform: translateY(-50%);}
  }
}
.p-mv-caption__ttl {
  color: var(--general-text-color);
  font-size: var(--mv-caption-font-size-sp);
  font-weight: var(--mv-caption-font-weight-sp);
  margin-right: 10px;
}
@media screen and (min-width: 768px) {
  .p-mv-caption__ttl {
    color: var(--mv-caption-text-color);
    font-family: var(--mv-caption-font-family);
    font-size: var(--mv-caption-font-size-pc);
    font-weight: var(--mv-caption-font-weight-pc);
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.3));
    margin-right: 0;
  }
}
.p-mv-caption__link {
  display: inline-block;
  line-height: 1;
  margin-top: 0;
}
@media screen and (min-width: 768px) {
  .p-mv-caption__link {
    margin-top: 30px;
  }
}
@media screen and (min-width: 768px) {
  .slick-active .p-mv-caption__link {
    animation: fadeLink 0.3s ease-in 2s normal both;
  }
  @keyframes fadeLink {
    0% { opacity: 0; }
    100% { opacity: 1;}
  }
}
.p-mv-caption__link a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 4px;
  color: var(--general-text-color);
  font-size: 12px;
  padding: 8px 12px;
}
@media screen and (min-width: 768px) {
  .p-mv-caption__link a {
    background: var(--mv-button-background-color);
    color: var(--mv-button-text-color);
    font-size: 16px;
    padding: 8px 20px;
  }
}
.p-mv-caption__link a:hover {
  background: var(--mv-button-background-color-hover);
  color: var(--mv-button-text-color-hover);
}
/* お知らせ */
.p-info h2 {
  font-weight: 500;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
  text-align: center;
}
.p-info ul {
  list-style: square;
  padding-left: 16px;
}
.p-info .c-bg-gray {
  background: #eee;
  border-radius: var(--item-border-radius);
  margin-top: 30px;
  padding: 20px;
}
li.infolist {
    margin: 5px;
}
p.infomore {
    font-weight: bold;
    text-align: right;
    padding: 10px;
}
.attention_sale a {
    border-bottom: 1px dotted;
}
/* カテゴリーの電球 */
.c-category-list .c-bulb {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* 店長エリア */
.p-manager {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  /*filter: grayscale(0.7);*/
  padding: 30px 0 50px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-manager {
    padding: 60px 0 100px;  
  }
}
.p-manager-in {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  height: 100%;
}
.p-manager h2 {
  font-family: var(--manager-name-font-family);
  font-size: var(--manager-name-font-size-sp);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  .p-manager h2 {
    font-size: var(--manager-name-font-size-pc);
  }
}
.p-manager-in__memo {
  margin: 30px 0 40px; 
}
/* 店長エリアのボタン */
.c-btn-view {
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  padding: 10px 30px;
}
.c-btn-view:hover {
  background: var(--general-background-color);
  border: 1px solid var(--general-background-color);
  color: #fff;
  opacity: 1;
}

/* フリースペース */
.p-freespace.c-section {
    display: none;
}
.p-freespace .c-heading__right {
  display: flex;
}
.p-freespace .c-heading__right-txt {
  border-bottom: 1px solid var(--general-text-color);
  margin-top: 3px;
}
.p-freespace .c-col-3 {
  background: #eee;
  border-radius: var(--item-border-radius);
  height: 240px;
  padding: 20px;
}
.p-freespace .c-col-3 p {
  font-size: 40px;
  font-family: var(--manager-name-font-family);
  font-weight: 700;
  color: #fff;
}
/* スライダー下 */
.three-image-block {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.image-item {
  flex: 0 0 auto;
  width: 80%;
  max-width: 300px;
  scroll-snap-align: start;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}

/* PCでは4列に切り替え */
@media screen and (min-width: 768px) {
  .three-image-block {
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-x: visible;
  }

  .image-item {
    flex: 1 1 calc(25% - 16px);
    max-width: none;
  }
}
/* ==============================================
     3. カルーセル共通CSS
============================================== */
/* カルーセル全体のコンテナ */
.note-carousel {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 見出し */
.note-carousel h2 {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #333333;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

/* Swiperコンテナ */
.aroma-columns-swiper {
  position: relative;
  padding-bottom: 2em; 
  overflow: hidden;
}
.aroma-columns-swiper .swiper-wrapper {
  align-items: stretch;
}
/* スライドカード全体の調整 */
.note-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時の動き */
.note-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.note-slide a {
  text-decoration: none;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 画像比率の統一とトリミング */
.note-img-wrap {
  width: 100%;
  aspect-ratio: 1.91 / 1; 
  overflow: hidden;
  background-color: #f7f7f7;
}

.note-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ホバー時に画像をわずかに拡大 */
.note-slide:hover img {
  transform: scale(1.05);
}

/* テキストコンテンツエリア */
.note-content {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-grow: 1; 
}

/* 投稿日 & 《Information》 */
.note-slide-date {
  font-size: 11px;
  color: #888888;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* 記事タイトル（全文表示・左寄せ・太字なし） */
.note-slide-title {
  display: block;
  font-size: 0.95rem;
  font-weight: normal;
  color: #333333;
  line-height: 1.4;
  text-align: left; 
  margin: 0;
  width: 100%;
  min-height: 2.8em; 
  word-break: break-all;
  white-space: normal;
}

@media screen and (max-width: 767px) {
  .note-slide-title {
    font-size: 0.8rem;
    padding: 0.3em 0.4em;
    min-height: 2.6em;
  }
}

/* スライドナビゲーションボタン（手動操作用） */
.aroma-columns-prev,
.aroma-columns-next {
  color: #333 !important;
  width: 30px !important;
  height: 30px !important;
  margin-top: -15px !important;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aroma-columns-prev {
  left: 10px;
  right: auto;
}
.aroma-columns-next {
  right: 10px;
  left: auto;
}

.aroma-columns-prev::after,
.aroma-columns-next::after {
  font-size: 14px !important;
  font-weight: 300 !important;
}

.aroma-columns-prev:hover,
.aroma-columns-next:hover {
  background: rgba(255, 255, 255, 1) !important;
}
/* カルーセルの高さを強制的に揃える追加コード */
.aroma-columns-swiper .swiper-wrapper {
  align-items: stretch !important;
}

.aroma-columns-swiper .note-slide {
  height: auto !important; 
}

.aroma-columns-swiper .note-slide a {
  flex-grow: 1 !important;
}
/* スマホ表示時に「おすすめ商品」が消えてしまう問題の対策 */
@media screen and (max-width: 767px) {
  .u-fade-4item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}