/* qp-split.css — 製品紹介 2カラムセクション */

/* ── ラッパー ── */
.qp-split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(34, 50, 77, 0.18);
  position: relative;
}

/* 3カラム(テキスト＋写真×2) */
.qp-split-wrap.qp-split-3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ── 左テキスト列 ── */
.qp-text-col {
  background: linear-gradient(145deg, #1a2a40 0%, #22324D 60%, #2a3d5c 100%);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

/* 装飾的な背景パターン */
.qp-text-col::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 161, 238, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.qp-text-col::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 161, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.qp-eyebrow {
  font-family: 'Archivo', 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent, #72a1ee);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.qp-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--color-accent, #72a1ee);
  flex-shrink: 0;
}

.qp-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.04em;
}

/* section-title の ::after 装飾線を打ち消す */
.qp-title::after { display: none !important; }

/* 区切り線 */
.qp-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent, #72a1ee), transparent);
  margin: 0;
  flex-shrink: 0;
}

.qp-body {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.95;
  margin: 0;
}

/* 特徴リスト */
.qp-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.qp-features li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.5;
}
.qp-feat-icon {
  color: var(--color-accent, #72a1ee);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* MORE ボタン */
.qp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  background: transparent;
  border: 1.5px solid rgba(114, 161, 238, 0.6);
  color: var(--color-accent, #72a1ee);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.2s ease;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}
.qp-btn:hover {
  background: var(--color-accent, #72a1ee);
  border-color: var(--color-accent, #72a1ee);
  color: #1a2a40;
  opacity: 1;
  transform: translateX(3px);
}
.qp-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}
.qp-btn:hover .qp-arrow {
  transform: translateX(4px);
}

/* ── 右画像列 ── */
.qp-image-col {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.qp-image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qp-image-col:hover img {
  transform: scale(1.05);
}

/* 画像上のグラデーションオーバーレイ */
.qp-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 42, 64, 0.35) 0%,
    transparent 50%,
    rgba(26, 42, 64, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* バッジ */
.qp-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(26, 42, 64, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(114, 161, 238, 0.35);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.qp-badge-num {
  font-family: 'Archivo', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent, #72a1ee);
  letter-spacing: 0.08em;
  line-height: 1;
}
.qp-badge-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── フェードインアニメーション ── */
.qp-fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.qp-fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s ease 0.2s, transform 0.75s ease 0.2s;
}
.qp-fade-left.qp-visible,
.qp-fade-right.qp-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 2枚目写真列の微調整(明るさを少し落として統一感) */
.qp-image-col--right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 42, 64, 0.25) 0%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .qp-split-wrap.qp-split-3col {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .qp-split-wrap.qp-split-3col .qp-text-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .qp-split-wrap {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .qp-split-wrap.qp-split-3col {
    grid-template-columns: 1fr;
  }
  .qp-image-col {
    order: -1;
    min-height: 260px;
  }
  .qp-image-col img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    object-fit: cover;
  }
  .qp-text-col {
    padding: 2.5rem 1.75rem;
  }
  .qp-image-badge {
    bottom: 1rem;
    right: 1rem;
  }
}
