@charset "UTF-8";

/* ==========================================
   インタビューページ 背景・重なり・マーキー
========================================== */

/* 1. 上部：白背景エリア */
.sec-hero-white {
  background-color: #ffffff;
  height: 80px;
  position: relative;
  z-index: 1;
}

/* 2. 下部：全コンテンツを包むグレー背景エリア */
.sec-main-gray {
  background-color: #f2f2f2;
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

/* ★ファーストビューの高さ調整（100svhを確保） */
.hero-view-wrapper {
  position: relative;
  min-height: calc(100svh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 商品サムネイルカード：一番最初のサイズ設定に完全準拠 */
.product-thumb-card {
  margin-top: -50px;
  background-color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid #eaeaea;
  position: relative;
  z-index: 5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.product-thumb-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.product-thumb-info .product-category {
  font-size: 0.75rem;
}

.product-thumb-info .product-title {
  font-size: 0.95rem;
  line-height: 1.3;
  color: #333333;
}

/* 右側メイン写真：境界線を大きくまたいで白背景側へ頭をはみ出させる */
.hero-overlap-photo-wrapper {
  margin-top: -90px;
  position: relative;
  z-index: 4;
}

/* 3. 背景マーキー (右から左へ無限スクロール・画面下部配置) */
.marquee-bg-wrapper {
  position: absolute;
  top: auto; 
  bottom: 30px;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.marquee-bg-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeRightToLeft 28s linear infinite;
}

.marquee-bg-track span {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.04);
  letter-spacing: 0.08em;
  padding-right: 20rem;
}

@keyframes marqueeRightToLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* 4. 見出し・リード文フォント */
.interview-main-heading {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
}

.lead-desc p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #555555;
}

/* ==========================================
   インタビュー各セクション（重なり＆文字隠れ解消）
========================================== */

/* ★各インタビューセクションの上部にゆとりある余白を設定 */
.sec-interview-block {
  margin-top: 5rem;
}

/* セクションタイトルのスタイリングと余白調整 */
.interview-section-title {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  font-weight: 500;
  color: var(--primary-color);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* 白背景コメントボックス基本設定 */
.comment-box.white-box {
  position: relative;
  background-color: #ffffff;
  padding: 3rem 2.5rem 3rem 2.5rem;
  border: 1px solid #eaeaea;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  z-index: 2; /* 写真(z-3)の下（背面）に潜り込ませるため低いz-indexを指定 */
}

/* ★PC表示時：通常パターンと逆パターンの重なり・パディング計算式 */
@media (min-width: 992px) {
  /* 通常パターン（左側の写真の下に潜り込む） */
  .comment-box.white-box.overlap-bottom-box {
    margin-top: -100px !important;
    padding: 5.5rem 4rem 4rem calc(12.5% + 3rem) !important;
  }
  
  /* 逆パターン（右側の写真の下に潜り込む） */
  .comment-box.white-box.overlap-bottom-box-reverse {
    margin-top: -100px !important;
    padding: 5.5rem calc(12.5% + 3rem) 4rem 4rem !important;
  }
}

/* コメント本文の行間と余白 */
.comment-box.white-box .comment-text {
  font-size: 0.9rem;
  line-height: 2.3;
  color: #333333;
  letter-spacing: 0.03em;
}

/* 回答者名バッジ（原田・阿部）の装飾と配置 */
.speaker-badge {
  position: absolute;
  top: -20px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 36px;
  letter-spacing: 0.15em;
  z-index: 6;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* 右側に配置する場合 */
.speaker-badge.pos-right {
  right: 40px;
  left: auto;
}

/* 左側に配置する場合 */
.speaker-badge.pos-left {
  left: 40px;
  right: auto;
}

/* ==========================================
   スマホ・タブレット表示時の重なり・余白リセット
========================================== */
@media (max-width: 991.98px) {
  .sec-hero-white {
    height: 40px;
  }
  .hero-view-wrapper {
    min-height: auto;
  }
  .product-thumb-card {
    margin-top: -30px;
  }
  .hero-overlap-photo-wrapper {
    margin-top: -40px;
  }
  .marquee-bg-wrapper {
    bottom: 10px;
  }
  .sec-interview-block {
    margin-top: 4rem;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .comment-box.white-box {
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-top: 2rem;
  }
  .speaker-badge.pos-right,
  .speaker-badge.pos-left {
    right: auto;
    left: 20px;
  }
}

/* ==========================================
   画像：斜め右上からの上品なフェードイン演出
========================================== */

/* 初期状態（透明 ＆ 斜め右上へずらした状態） */
.js-fade-img-hero,
.js-fade-img-scroll {
  opacity: 0;
  transform: translate(35px, -35px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* アニメーション発火時（元の位置・不透明へ戻る） */
.js-fade-img-hero.is-loaded,
.js-fade-img-scroll.is-inview {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================
   インタビュー一覧ページ (index.html) 専用スタイル
========================================== */

/* 一覧トップのヘッダーラッパー */
.index-header-wrapper {
  position: relative;
  overflow: hidden;
}

/* 記事カード共通スタイリング */
.interview-card {
  border-radius: 0;
  border: 1px solid #eaeaea;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.interview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* 画像ラッパーとホバー時の拡大演出 */
.interview-card .card-img-wrap {
  overflow: hidden;
  background-color: #eee;
}

.interview-card .card-img-wrap img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.interview-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

/* 記事ナンバーのウォーターマークバッジ */
.card-number-badge {
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

/* カテゴリーバッジ */
.badge-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

/* カードタイポグラフィ */
.interview-card .card-title {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.interview-card:hover .card-title {
  color: var(--primary-color);
}

.interview-card .card-excerpt {
  line-height: 1.8;
}

/* 「インタビューを読む」リンクのホバーアクション */
.read-more-link {
  color: var(--primary-color);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.interview-card:hover .read-more-link {
  opacity: 0.8;
  transform: translateX(4px);
}

/* ピックアップ記事（Featured Card）の特別調整 */
.featured-card .featured-img-wrap img {
  aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
  .featured-card .card-title {
    font-size: 1.5rem;
  }
}

/* ==========================================
   他インタビュー 横スライダースタイル
========================================== */
.sec-other-interviews {
  background-color: #f7f7f7; /* 本文のグレー(#f2f2f2)とABOUT USの間に自然な区切りをつける場合 */
  border-top: 1px solid #e5e5e5;
  overflow: hidden;
}

/* スライダーカード */
.other-card {
  border: 1px solid #eaeaea;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.other-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #eee;
}

.other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-card:hover .other-card-img img {
  transform: scale(1.05);
}

.other-card-title {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.other-card:hover .other-card-title {
  color: var(--primary-color);
}

/* Swiperドットのアクティブカラー */
.other-swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}