@charset "utf-8";

/* ==============================================
   ノベルティフェア LP - このLP専用CSS（単体完結・モバイルファースト）
   ============================================== */

/* ======================
   Variables
   ====================== */
:root {
  --color-primary:      #1B4FA0;
  --color-primary-dark: #123B7A;

  --color-text-main: #1A1A1A;
  --color-text-sub:  #777777;
  --color-white:     #FFFFFF;

  --color-bg-body: #0050A3;
  --color-bg-main: #FFFFFF;
  --color-bg-alt:  #F5F5F5;

  --font-base: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;

  --section-py: 56px;
  --section-px: 24px;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-pill: 60px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, .08);
}

/* ======================
   Reset（モバイルを基準に定義）
   ====================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1.4rem;
  color: var(--color-text-main);
  background: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  display: block;
  color: inherit;
  text-decoration: none;
}

li { list-style: none; }

/* W2カート組み込み時、デフォルトヘッダー等を非表示にする */
.global-header,
.l-header,
.p-header,
.p-product-list__category-title { display: none; }

.global-contents__inner {
  width: 100% !important;
  padding: 0 !important;
}

main + div { display: none; }

/* ======================
   Layout
   ====================== */
.lp-wrap {
  width: 100%;
  margin: 0 auto;
  background: var(--color-bg-main);
  overflow: hidden;
}

@media (min-width: 640px) {
  .lp-wrap {
    max-width: 480px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .18);
  }
}

/* ======================
   Section Base
   ====================== */
.lp-section {
  padding: var(--section-py) var(--section-px);
}
.lp-section--white { background: var(--color-bg-main); }
.lp-section--center { text-align: center; }

@media (min-width: 640px) {
  .lp-section {
    padding: 72px 48px;
  }
}

/* ======================
   Section Head
   ====================== */
.lp-section-head {
  text-align: center;
  margin-bottom: 32px;
}
.lp-section-head__en {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.lp-section-head__title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-text-main);
  letter-spacing: .1em;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.lp-section-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ======================
   Lead（訴求コピー）
   ====================== */
.lp-lead {
  background: var(--color-bg-main);
  text-align: center;
  padding: 52px var(--section-px) 56px;
}
.lp-lead__title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1.5;
  letter-spacing: .02em;
}

@media (min-width: 640px) {
  .lp-lead { padding-top: 96px; }
  .lp-lead__title { font-size: 2.8rem; }
}

/* ======================
   Button
   ====================== */
.lp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 28px;
  border-radius: var(--radius-pill);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .06em;
  max-width: 480px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  transition: opacity .3s, transform .2s;
}
.lp-btn::after {
  content: "→";
  font-size: 1.5rem;
  transition: transform .2s;
}
.lp-btn:hover::after { transform: translateX(4px); }
.lp-btn:active { transform: scale(.97); }

.lp-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 28px rgba(27, 79, 160, .35);
}
.lp-btn--primary:hover {
  opacity: .92;
  box-shadow: 0 10px 36px rgba(27, 79, 160, .45);
}

/* ======================
   CTA
   ====================== */
.lp-cta {
  background: var(--color-bg-alt);
  padding: var(--section-py) var(--section-px) 64px;
  text-align: center;
}

/* ======================
   Footer
   ====================== */
.lp-footer {
  background: #1A1A1A;
  color: rgba(255, 255, 255, .35);
  padding: 28px var(--section-px);
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: .04em;
}

/* ==============================================
   ここから ノベルティフェア専用パーツ
   ============================================== */

/* ==== スクロールアニメーション（novelty000〜007） ==== */
.anim-wrap {
  position: relative;
  height: 400vh;
}
.anim-pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-main);
}

/* スクロール進捗バー */
.anim-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(0, 0, 0, .08);
  transition: opacity .3s ease;
}
.anim-progress.is-complete {
  opacity: 0;
}
.anim-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
}
.frame-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 2100;
}
.frame-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  will-change: opacity;
}
.frame-stage img.is-first { opacity: 1; }

/* ==== 使用シーン 本文 ==== */
.novelty-body-text {
  font-size: 1.4rem;
  color: var(--color-text-main);
  line-height: 2;
  text-align: left;
}

/* ==== 使用シーン 写真コラージュ ==== */
.novelty-collage {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  height: 660px;
}

@media (min-width: 640px) {
  .novelty-collage {
    max-width: 450px;
    height: 825px;
  }
}
.novelty-collage__item {
  position: absolute;
  width: 55%;
  box-shadow: var(--shadow-card);
}
.novelty-collage__item--1 { top: 0;     left: 0;  z-index: 1; }
.novelty-collage__item--2 { top: 28.8%; right: 0; z-index: 2; }
.novelty-collage__item--3 { top: 57.6%; left: 0;  z-index: 3; }

/* ==== 詳細説明（サイズ図） ==== */
.novelty-spec-img {
  max-width: 400px;
  margin: 0 auto 32px;
}

.novelty-spec-list {
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}
.novelty-spec-list > div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E8E0D0;
  font-size: 1.4rem;
}
.novelty-spec-list dt { color: var(--color-text-sub); }
.novelty-spec-list dd { font-weight: 700; color: var(--color-text-main); }

/* ==== CTA 期間・限定バッジ ==== */
.novelty-period {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
}
.novelty-limited-badge {
  display: inline-block;
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.4rem;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

/* ==== CTA 注意事項 ==== */
.novelty-notes {
  max-width: 480px;
  margin: 32px auto 0;
  text-align: left;
}
.novelty-notes li {
  font-size: 1.2rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 10px;
}
.novelty-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #bbb;
}
