@charset "UTF-8";

/* ==========================================
   トップページのヘッダー（初期状態：絶対配置・白背景・緑文字）
========================================== */
.main-header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  padding: 0.6rem 0.5rem;
  background-color: rgba(255, 255, 255, 1);
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 100;
}
@media (min-width: 768px) {
  .main-header { padding: 0.6rem 0rem; }
}

/* 左上ロゴの共通サイズ設定 */
.main-header .logo-text svg {
  width: 80px;
  fill: var(--primary-color) !important;
}

/* 初期状態（スクロール前）の左上ロゴ：表示演出（フェードイン）を適用 */
.main-header:not(.is-sticky) .logo-text {
  opacity: 0;
  display: inline-block;
  animation: heroLogoFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.main-header .ticker-swiper a {
  color: var(--text-color);
}
.main-header .header-icon-link {
  color: var(--primary-color);
}
.main-header .menu-toggle-btn {
  color: var(--primary-color);
}

/* ==========================================
   トップページのヘッダー（スクロール時：にょッと戻ってくる固定ヘッダー）
========================================== */
.main-header.is-sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0.5rem;
  animation: headerSmoothSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (min-width: 768px) {
  .main-header.is-sticky { padding: 0.4rem 0rem; }
}

@keyframes headerSmoothSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* にょッと戻ってきた時の左上ロゴ（アニメーションなしで表示） */
.main-header.is-sticky .logo-text {
  opacity: 1;
  visibility: visible;
  color: var(--primary-color);
  transition: opacity 0.3s ease;
}

/* ===================================
   HERO SECTION (完全な全画面表示)
   =================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin-top: 0;      /* 余白を削除 */
  background-color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-section {
    height: 100vh;
    height: 100svh;
    margin-top: 0;    /* 余白を削除 */
  }
}

/* 中央のロゴは非表示にする */
.hero-center-logo {
  display: none;
}

@keyframes heroLogoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* スライダーを全画面の背景として配置 */
.hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

/* スライド内の画像に対して直接スタイルを適用 */
.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 余白をなくし、画面全体を埋め尽くす */
  object-position: center center; /* 画像の中心を基準に配置 */
  display: block;
}

/* ページネーション（ドット）位置と形状 */
.hero-swiper .swiper-pagination {
  bottom: 30px !important; /* 画面下部からの距離 */
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #ffffff; /* ドットの色を白に変更して視認性を高める */
  opacity: 0.6;
  margin: 0 4px !important;
  display: inline-block !important;
  vertical-align: middle;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3); /* 画像と同化しないように薄い影を追加 */
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color, #3aa088);
}

/* ===================================
   HERO SECTION スライド内リンク設定
   =================================== */
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

/* aタグで囲んだ後の画像サイズ・フィット維持 */
.hero-swiper .swiper-slide .hero-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ==========================================
   CAMPAIGN (NEWS) セクション
========================================== */
.campaign-section { 
  position: relative;
  padding: 20rem 0; 
  /* 背景画像の設定（元のパスに戻しました） */
  background-image: url('../img/index/news/bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden; 
}

/* タイトルとサブタイトルを白抜きに強制変更 */
.campaign-section h2,
.campaign-section p.text-muted {
  color: #ffffff !important;
}

.campaign-title-wrap { position: relative; display: inline-block; margin-bottom: 2rem; }

/* キャンペーンスライダー (横幅を狭めて角丸・影を強調) */
.campaign-swiper { 
  width: 100%; 
  padding: 2.5rem 0; 
}
.campaign-swiper .swiper-slide { 
  width: 72%; 
  height: auto; 
  transition: transform 0.4s ease, opacity 0.4s ease; 
  opacity: 0.45; 
  border-radius: 8px; 
  overflow: hidden; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
}
.campaign-banner-link { 
  display: block; 
  width: 100%; 
  height: 100%; 
  text-decoration: none; 
}

/* PCサイズ時の横幅調整 */
@media (min-width: 768px) { 
  .campaign-swiper .swiper-slide { 
    width: 42%; 
    max-width: 600px; 
    height: auto; 
  } 
}

/* 中央のアクティブスライドを拡大して強調 */
.campaign-swiper .swiper-slide-active { 
  transform: scale(1.15); 
  opacity: 1; 
  z-index: 2; 
}
.campaign-slide-img { 
  width: 100%; 
  height: auto; 
  display: block; 
}


/* 背景透過にして文字だけを配置 */
.campaign-news-box { 
  max-width: 700px; 
  margin: 3rem auto 0 auto; 
  text-align: left; 
  padding: 0 1.5rem; 
}

/* 文字色と区切り線を白色ベースに変更 */
.news-row { 
  display: flex; 
  align-items: baseline; 
  gap: 1.2rem; 
  margin-bottom: 0.8rem; 
  font-size: 0.9rem; 
  color: #ffffff; 
  line-height: 1.6; 
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4); 
  padding-bottom: 0.6rem; 
}
.news-date { font-weight: bold; color: #ffffff; flex-shrink: 0; font-family: monospace; font-size: 0.95rem; }
.news-text { flex-grow: 1; }

.campaign-news-box .news-text a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.campaign-news-box .news-text a:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

.past-news-link {
  display: inline-block;
  color: #ffffff !important;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition: opacity 0.3s;
}

.past-news-link:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

/* ==========================================
   ITEM CATEGORY セクション
========================================== */
.category-section { padding: 8rem 0 8rem 0; background-color: var(--bg-grey);}
.category-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 40px 1.5rem 5rem 1.5rem; }
.category-col { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
@media (min-width: 768px) {
  .category-row { flex-wrap: nowrap; gap: 18px; padding: 40px 0 3.5rem 0; }
  .category-col { flex: 0 0 calc(100% / 6 - 15px); max-width: calc(100% / 6 - 15px); }
}
.category-item-card { opacity: 0; transform: translate3d(0, 60px, 0); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); text-decoration: none; display: block; }
.category-item-card.is-animated { opacity: 1; transform: translate3d(0, 0, 0); }
.category-col:nth-child(odd) .category-item-card.is-shifted { transform: translate3d(0, -25px, 0); }
.category-col:nth-child(even) .category-item-card.is-shifted { transform: translate3d(0, 50px, 0); }
.category-item-card:hover { opacity: 0.85; }
.category-img-wrap { width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); margin-bottom: 1rem; transform: translate3d(0, 0, 0); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.category-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; transition: transform 0.5s; }
.category-item-card:hover .category-img-wrap img { transform: scale(1.05) translateZ(0); }
.category-name { font-size: 0.95rem; font-weight: bold; color: var(--text-color); text-align: center; margin: 0; letter-spacing: 0.1em; }

/* ==========================================
   CONCEPT INTRO セクション（ファーストビュー下部）
========================================== */
.concept-intro-section {
  height:100svh;
  background-color: var(--bg-grey);
}
.concept-card-wrap {
  border: none;
}

.concept-main-swiper {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.concept-sub-swiper-1,
.concept-sub-swiper-2,
.concept-sub-swiper-3 {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.concept-main-swiper,
.concept-sub-swiper-1,
.concept-sub-swiper-2,
.concept-sub-swiper-3 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-intro-section.is-inview .concept-main-swiper { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.concept-intro-section.is-inview .concept-sub-swiper-1 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.concept-intro-section.is-inview .concept-sub-swiper-2 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.concept-intro-section.is-inview .concept-sub-swiper-3 { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

.concept-large-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-small-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-viewmore {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}
.btn-viewmore:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ==========================================
   BY CONCERNS セクション
========================================== */
.skincare-section { padding: 8rem 0 10rem 0; background-color: var(--bg-light); }

.concern-block {
  padding: 5rem 0;
  background-color: var(--bg-grey);
}

.concern-card {
  border: 1px solid #e8e8e8;
  border-radius: 16px !important;
  padding: 1.75rem 1rem !important;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.concern-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(35%, -35%) scale(0);
  background-color: var(--primary-color);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  font-family: Poppins, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.concern-block.is-inview .row > div:nth-child(1) .concern-card { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.concern-block.is-inview .row > div:nth-child(2) .concern-card { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.concern-block.is-inview .row > div:nth-child(3) .concern-card { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

.concern-block.is-inview .row > div:nth-child(1) .concern-badge { opacity: 1; transform: translate(35%, -35%) scale(1); transition-delay: 0.5s; }
.concern-block.is-inview .row > div:nth-child(2) .concern-badge { opacity: 1; transform: translate(35%, -35%) scale(1); transition-delay: 0.65s; }
.concern-block.is-inview .row > div:nth-child(3) .concern-badge { opacity: 1; transform: translate(35%, -35%) scale(1); transition-delay: 0.8s; }

.concern-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}

.concern-icon-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 0.85rem auto;
}
.concern-card h6 {
  font-size: 0.85rem;
  color: var(--text-color);
  letter-spacing: 0.03em;
}

/* ==========================================
   SEASONALLY PICKS セクション
========================================== */
.season-section {
  background-image: url('../img/index/season/bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 0 10rem 0;
  color: #1a1a1a;
}
.season-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
}
.z-1 {
  z-index: 1;
}

.picks-card {
  border: none;
  text-align: left;
  border-radius: 16px !important;
  max-width: 290px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  background-color: #ffffff;
  color: #1a1a1a !important;
}

.picks-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  opacity: 0.95;
  cursor: pointer;
}

.picks-img-wrap {
  aspect-ratio: 1 / 1;
}
.picks-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.picks-title {
  font-size: 0.85rem;
  color: #1a1a1a;
}
.picks-price {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* ==========================================
   その他・共通演出
========================================== */
.lineup-section { position: relative; padding: 6rem 0; background-image: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; color: #fff; }
.lineup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(62, 142, 126, 0.88); }
.lineup-content { position: relative; z-index: 2; }
.bottle-item img { height: 200px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,0.15)); transition: transform 0.3s; }

.info-section { padding: 6rem 0; }
.info-col { border-bottom: 2px solid var(--primary-color); padding-bottom: 1.5rem; margin-bottom: 2rem; text-align: left; }
.info-date { font-size: 0.85rem; color: var(--primary-color); font-weight: bold; margin-bottom: 0.3rem; }
.info-title { font-size: 1rem; font-weight: 500; line-height: 1.5; }

.pre-footer-nav { padding: 5rem 0 3rem 0; background-color: #fff; }
.pre-footer-col { border-bottom: 2px solid var(--primary-color); padding-bottom: 1.5rem; margin-bottom: 2rem; text-align: left; }
.pre-nav-title { font-size: 1.1rem; font-weight: bold; color: var(--primary-color); margin-bottom: 0.5rem; letter-spacing: 0.1em; }
.pre-nav-desc { font-size: 0.85rem; color: #777; margin: 0; }

.js-fade-target { opacity: 0; transform: translateY(30px); transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.js-fade-target.is-inview { opacity: 1; transform: translateY(0); }

/* ==========================================
   SEASONALLY PICKS スプラッシュ（輝き）演出
========================================== */
.picks-card {
  position: relative;
  overflow: hidden;
}

.picks-card .splash-effect {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}

.season-section.is-inview .picks-card .splash-effect {
  animation: shineSplash 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.season-section.is-inview .row > div:nth-child(1) .splash-effect {
  animation-delay: 0.2s;
}
.season-section.is-inview .row > div:nth-child(2) .splash-effect {
  animation-delay: 0.4s;
}

@keyframes shineSplash {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.campaign-news-box .news-text a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.campaign-news-box .news-text a:hover {
  color: #f2f2f2 !important;
  text-decoration: underline !important;
}

.past-news-link {
  display: inline-block;
  color: #ffffff !important;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition: opacity 0.3s;
}

.past-news-link:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}
