@charset "utf-8";
/* CSS Document */

/* ------------------------------------------
   全体ラッパー
------------------------------------------ */
.white-feature-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}

.white-feature-wrapper *,
.white-feature-wrapper *::before,
.white-feature-wrapper *::after {
  box-sizing: border-box;
}

.white-feature-wrapper img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
  margin: 0 auto;
  border: 0;
}

.white-feature-wrapper a {
  text-decoration: none;
  color: inherit;
}

/* フォント指定 */
.white-feature-wrapper .font-sans {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
}

.white-feature-wrapper .font-serif {
  font-family: "Yu Mincho", "游明朝", "YuMincho", "Hiragino Mincho ProN", serif;
}

/* 共通見出し */
.white-feature-wrapper .section-subtitle {
  color: #958f8f;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  text-align: center;
}

.white-feature-wrapper .section-title {
  font-size: 1.6rem;
  font-weight: normal;
  margin: 0 0 24px 0;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.4;
  color: #000000;
  /* ③ 不自然な位置での改行を防止 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 1. メインビジュアル（② 正方形2枚並び） */
.white-feature-wrapper .main-visual {
  width: 100%;
}

.white-feature-wrapper .main-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

.white-feature-wrapper .main-visual-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.white-feature-wrapper .intro-section {
  padding: 50px 15px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.white-feature-wrapper .intro-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #000000;
  margin: 0;
}

/* 2. カテゴリーエリア (#efe7e3) */
.white-feature-wrapper .bg-beige-area {
  background-color: #efe7e3;
  padding: 50px 15px;
  width: 100%;
}

.white-feature-wrapper .category-container {
  width: 100%;
  margin: 0 auto 30px;
}

.white-feature-wrapper .category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.white-feature-wrapper .category-card {
  background: #ffffff;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.white-feature-wrapper .category-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 12px;
}

.white-feature-wrapper .category-card .cat-en {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.white-feature-wrapper .category-card .cat-jp {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.white-feature-wrapper .category-card .cat-desc {
  font-size: 0.75rem;
  padding: 0 10px;
  line-height: 1.5;
  text-align: left;
  margin: 0;
}

/* 3. スタイリングエリア */
.white-feature-wrapper .styling-container {
  width: 100%;
  /* ① STYLINGの上に確実な空白を設置 */
  padding-top: 60px;
  margin: 0 auto;
}

.white-feature-wrapper .styling-grid-wrapper {
  width: 100%;
}

.white-feature-wrapper .styling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.white-feature-wrapper .styling-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.white-feature-wrapper .styling-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 10;
  object-fit: cover;
}

.white-feature-wrapper .styling-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 0 0;
  margin-top: 0;
}

.white-feature-wrapper .styling-btn {
  background-color: #ffffff;
  color: #000000;
  font-size: 0.75rem;
  padding: 8px 0;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: background-color 0.2s, border-color 0.2s;
  display: block;
}

.white-feature-wrapper .styling-btn:hover {
  background-color: #f5f5f5;
  border-color: #cccccc;
}

/* PC表示では複製カードを非表示 */
.white-feature-wrapper .styling-card.duplicate {
  display: none !important;
}

/* 4. 下部バナーエリア */
.white-feature-wrapper .bottom-banner {
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

/* ==========================================
   レスポンシブ (768px以下 - スマホ表示)
========================================== */
@media (max-width: 768px) {
  /* ② スマホは正方形画像を縦並びに */
  .white-feature-wrapper .main-visual-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ③ スマホのタイトルサイズ・折り返し微調整 */
  .white-feature-wrapper .section-title {
    font-size: 1.35rem;
  }

  .white-feature-wrapper .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .white-feature-wrapper .styling-container {
    overflow: hidden;
    padding-top: 40px;
  }

  .white-feature-wrapper .styling-grid-wrapper {
    width: 100%;
    overflow: hidden;
  }

  /* ④ 各画像で約2秒間静止するステップアニメーション */
  .white-feature-wrapper .styling-grid {
    display: flex;
    width: max-content;
    gap: 12px;
    margin-top: 15px;
    animation: step-slide 15s ease-in-out infinite;
    will-change: transform;
  }

  .white-feature-wrapper .styling-card {
    width: 220px;
    flex-shrink: 0;
  }

  .white-feature-wrapper .styling-card.duplicate {
    display: flex !important;
  }

  .white-feature-wrapper .styling-card img {
    height: auto;
    aspect-ratio: 4 / 10;
  }

  /* ④ 6コマ分それぞれ「静止→スライド」を繰り返すキーフレーム (1コマ232px移動) */
  @keyframes step-slide {
    0%, 13.33%   { transform: translate3d(0, 0, 0); }
    16.66%, 30%   { transform: translate3d(-232px, 0, 0); }
    33.33%, 46.66% { transform: translate3d(-464px, 0, 0); }
    50%, 63.33%   { transform: translate3d(-696px, 0, 0); }
    66.66%, 80%   { transform: translate3d(-928px, 0, 0); }
    83.33%, 96.66% { transform: translate3d(-1160px, 0, 0); }
    100%          { transform: translate3d(-1392px, 0, 0); }
  }
}