/**
 * Wine Serenity Journal - Home Page Styles
 * TOPページ各セクションのスタイル
 */

/* ========================================
   ヒーローセクション
   ======================================== */

.wsj-hero {
  position: relative;
  color: #ffffff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wsj-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 背景画像パス（後で .webp を配置） */
.wsj-hero__bg--desktop {
  background-image: url('../img/hero/hero-wsj-snowy-river-evening-desktop.webp');
  display: block;
}

.wsj-hero__bg--mobile {
  background-image: url('../img/hero/hero-wsj-snowy-river-evening-mobile.webp');
  display: none;
}

.wsj-hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.2)
  );
}

.wsj-hero__inner {
  padding: 100px 20px;
}

.wsj-hero__kicker {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.wsj-hero__title {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.wsj-hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
  max-width: 520px;
  margin-bottom: 32px;
}

.wsj-hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================================
   About セクション
   ======================================== */

.wsj-about {
  background: #ffffff;
}

.wsj-about__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.wsj-about__point {
  text-align: center;
}

.wsj-about__icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.wsj-about__point-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #6b2d5c;
}

.wsj-about__point-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
}

/* ========================================
   コンテンツガイド
   ======================================== */

.wsj-content-guide {
  background: #fafafa;
}

/* ========================================
   最新投稿
   ======================================== */

.wsj-latest-posts {
  background: #ffffff;
}

.wsj-card__image-wrapper {
  position: relative;
  overflow: hidden;
}

.wsj-card__category {
  padding: 4px 10px;
  background: #6b2d5c;
  color: #ffffff;
  font-size: 11px;
  border-radius: 3px;
}

/* ========================================
   カテゴリ別トピック
   ======================================== */

.wsj-topic-by-category {
  background: #fafafa;
}

.wsj-category-section {
  margin-bottom: 80px;
}

.wsj-category-section:last-child {
  margin-bottom: 0;
}

.wsj-category-section__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #2c2c2c;
}

.wsj-category-section__title a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wsj-category-section__title a:hover {
  color: #6b2d5c;
}

/* ========================================
   ワインの知識セクション
   ======================================== */

.wsj-knowledge-section {
  background: #ffffff;
}

.wsj-knowledge-card__icon {
  font-size: 60px;
  text-align: center;
  margin-bottom: 20px;
}

/* ========================================
   ワインアイテムセクション
   ======================================== */

.wsj-items-section {
  background: #2c2c2c;
  color: #fafafa;
}

.wsj-items-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wsj-items-section__content {
  padding: 40px 0;
}

.wsj-items-section__image {
  height: 400px;
  background-image: url('../img/sections/section-wsj-wine-items-stilllife.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
  background-color: #3c3c3c;
}

/* ========================================
   初心者ガイド（ティザー）
   ======================================== */

.wsj-beginner-guide {
  background: #fafafa;
}

.wsj-beginner-guide__card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.wsj-beginner-guide__card .wsj-badge {
  position: absolute;
  top: 30px;
  right: 30px;
}

.wsj-beginner-guide__title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.wsj-beginner-guide__text {
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
}

/* ========================================
   おすすめワインまとめ
   ======================================== */

.wsj-pickup-posts {
  background: #ffffff;
}

.wsj-pickup-posts .wsj-badge {
  margin-bottom: 12px;
}

/* おすすめワインまとめ：準備中カード用 */
.wsj-card--pickup-empty {
  text-align: center;
  padding: 32px 24px;
}

.wsj-card--pickup-empty .wsj-badge {
  margin-bottom: 12px;
}

.wsj-card-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #c0a78a;
  margin-bottom: 8px;
}

.wsj-card-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #6b5b4a;
  margin-bottom: 8px;
}

.wsj-card-coming {
  font-size: 0.85rem;
  color: #b3a79a;
}

/* ========================================
   プロフィール・理念セクション
   ======================================== */

.wsj-profile-section {
  background: #fafafa;
}

.wsj-profile-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wsj-profile-section__image {
  height: 400px;
  background-image: url('../img/sections/section-wsj-cozy-evening-livingroom.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
  background-color: #e0e0e0;
}

.wsj-profile-section__content {
  padding: 40px 0;
}

/* ========================================
   レスポンシブ調整（タブレット以下）
   ======================================== */

@media (max-width: 1023px) {
  .wsj-items-section__inner,
  .wsj-profile-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .wsj-items-section__image,
  .wsj-profile-section__image {
    height: 300px;
  }
}

/* ========================================
   レスポンシブ調整（モバイル）
   ======================================== */

@media (max-width: 767px) {
  /* ヒーロー */
  .wsj-hero {
    min-height: 60vh;
  }
  
  .wsj-hero__bg--desktop {
    display: none;
  }
  
  .wsj-hero__bg--mobile {
    display: block;
  }
  
  .wsj-hero__inner {
    padding: 60px 20px;
  }
  
  .wsj-hero__kicker {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .wsj-hero__title {
    font-size: 36px;
  }
  
  .wsj-hero__subtitle {
    font-size: 16px;
    line-height: 1.8;
  }
  
  .wsj-hero__actions {
    flex-direction: column;
    gap: 16px;
  }
  
  .wsj-hero__actions .wsj-btn {
    width: 100%;
    text-align: center;
  }
  
  /* About */
  .wsj-about__points {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .wsj-about__icon {
    font-size: 48px;
  }
  
  /* カテゴリセクション */
  .wsj-category-section {
    margin-bottom: 60px;
  }
  
  .wsj-category-section__title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  
  /* ナレッジカード */
  .wsj-knowledge-card__icon {
    font-size: 48px;
  }
  
  /* アイテム・プロフィール */
  .wsj-items-section__inner,
  .wsj-profile-section__inner {
    gap: 30px;
  }
  
  .wsj-items-section__content,
  .wsj-profile-section__content {
    padding: 20px 0;
  }
  
  .wsj-items-section__image,
  .wsj-profile-section__image {
    height: 250px;
  }
  
  /* 初心者ガイドカード */
  .wsj-beginner-guide__card {
    padding: 40px 24px;
  }
  
  .wsj-beginner-guide__title {
    font-size: 26px;
  }
  
  .wsj-beginner-guide__card .wsj-badge {
    top: 20px;
    right: 20px;
  }
}

