/**
 * ddy 短縮LP（Contents Shelf訴求）専用スタイル
 *
 * 概要:
 *   メインランディングページ（/）用CSS。
 *   映画×音楽の趣味プロフィール訴求に特化したレイアウトを提供する。
 *
 * 主な仕様:
 *   - モバイルファーストの1カラム構成
 *   - ヒーロー・悩み・3ステップ・実例・CTAの短い導線
 *   - 共通 style.css の変数・コンポーネントを補完する
 *
 * 制限事項:
 *   - / および旧 /lp/shelf/ で共通利用
 */

/* ===== ページ全体 ===== */
.lp-shelf-page {
  background: #09090b;
}

.lp-shelf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(12px);
}

.lp-shelf-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-shelf-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-shelf-header__logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.lp-shelf-header__logo-text {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.lp-shelf-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #7dd3fc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.lp-shelf-header__cta:hover {
  background: #bae6fd;
}

/* ===== ヒーロー ===== */
.lp-shelf-hero {
  position: relative;
  padding: 40px 20px 56px;
  overflow: hidden;
}

.lp-shelf-hero__bg-circle-1,
.lp-shelf-hero__bg-circle-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.lp-shelf-hero__bg-circle-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.14) 0%, transparent 70%);
}

.lp-shelf-hero__bg-circle-2 {
  width: 260px;
  height: 260px;
  bottom: 40px;
  left: -120px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
}

.lp-shelf-hero__container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.lp-shelf-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #dff7ff;
  font-size: 12px;
  font-weight: 700;
}

.lp-shelf-hero__title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  word-break: keep-all;
}

.lp-shelf-hero__title-line {
  display: block;
  white-space: nowrap;
}

.lp-shelf-hero__title-accent {
  color: #7dd3fc;
}

.lp-shelf-hero__lead {
  font-size: clamp(16px, 4vw, 20px);
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 10px;
}

.lp-shelf-hero__sub {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lp-shelf-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lp-shelf-hero__tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.lp-shelf-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lp-shelf-hero__note {
  font-size: 12px;
  color: #64748b;
}

.lp-shelf-hero__visual {
  text-align: center;
}

.lp-shelf-hero__screenshot-wrapper {
  position: relative;
  display: inline-block;
  max-width: 300px;
  margin: 0 auto;
}

.lp-shelf-hero__screenshot-wrapper::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(167, 139, 250, 0.14));
  filter: blur(18px);
  z-index: 0;
}

.lp-shelf-hero__screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

/* ===== セクション共通 ===== */
.lp-shelf-section {
  padding: 56px 20px;
}

.lp-shelf-section--alt {
  background: #0c0c0f;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.lp-shelf-section__container {
  max-width: 920px;
  margin: 0 auto;
}

.lp-shelf-section__title {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.lp-shelf-section__subtitle {
  font-size: 15px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ===== 悩み ===== */
.lp-shelf-pains {
  display: grid;
  gap: 12px;
}

.lp-shelf-pain {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.lp-shelf-pain__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 211, 252, 0.15);
  color: #7dd3fc;
  font-size: 14px;
  font-weight: 700;
}

.lp-shelf-pain__text {
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.65;
}

/* ===== 3ステップ ===== */
.lp-shelf-steps {
  display: grid;
  gap: 16px;
}

.lp-shelf-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.lp-shelf-step__number {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.18));
  color: #dff7ff;
  font-size: 22px;
  font-weight: 800;
}

.lp-shelf-step__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.lp-shelf-step__text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
}

/* ===== 実例 ===== */
.lp-shelf-example {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #111114;
}

.lp-shelf-example__header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.lp-shelf-example__label {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 6px;
}

.lp-shelf-example__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.lp-shelf-example__desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
}

.lp-shelf-example__preview {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #09090b;
}

.lp-shelf-example__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: top center;
}

.lp-shelf-example__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, #111114);
  pointer-events: none;
}

.lp-shelf-example__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px 20px;
}

.lp-shelf-example__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 9999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #dff7ff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.lp-shelf-example__link:hover {
  background: rgba(125, 211, 252, 0.2);
}

.lp-shelf-example__link--secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
}

.lp-shelf-example__link--secondary:hover {
  background: rgba(148, 163, 184, 0.08);
}

/* ===== 最終CTA ===== */
.lp-shelf-final {
  padding: 56px 20px 72px;
}

.lp-shelf-final__box {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.08), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.lp-shelf-final__title {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.lp-shelf-final__text {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.lp-shelf-final__badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

/* ===== フッター ===== */
.lp-shelf-footer {
  padding: 24px 20px 32px;
  border-top: 1px solid #1c1c1e;
  text-align: center;
}

.lp-shelf-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.lp-shelf-footer__links a {
  font-size: 13px;
  color: #94a3b8;
}

.lp-shelf-footer__links a:hover {
  color: #fff;
}

.lp-shelf-footer__copy {
  font-size: 12px;
  color: #64748b;
}

/* ===== レスポンシブ ===== */
@media (min-width: 768px) {
  .lp-shelf-hero {
    padding: 56px 24px 72px;
  }

  .lp-shelf-hero__container {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }

  .lp-shelf-hero__visual {
    order: 2;
  }

  .lp-shelf-pains {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-shelf-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-shelf-step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-shelf-step__number {
    margin: 0 auto 8px;
  }

  .lp-shelf-example__preview {
    height: 520px;
  }
}
