@charset "utf-8";

/* ======================
   CSS Variables（半額祭テーマ）
   ====================== */
:root {
  --hangaku-red:      #D2232A;
  --hangaku-red-dark: #A81B21;
  --hangaku-black:    #1A1A1A;

  --lp-text-main:   #1A1A1A;
  --lp-text-sub:    #777777;
  --lp-white:       #FFFFFF;
  --lp-black:       #1A1A1A;
  --lp-bg-body:     #1A1A1A;
  --lp-bg-main:     #FFFFFF;

  --lp-font-base:   'Zen Maru Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

  --lp-section-px:  24px;
  --lp-max-width:    650px;
  --lp-max-width-pc: 650px;

  --lp-shadow-wrap:  0 0 40px rgba(0,0,0,.18);
  --lp-ease: cubic-bezier(.25, 1, .5, 1);
}

/* ======================
   Reset
   ====================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

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

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

li { list-style: none; }

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

/* W2 Vendor Overrides */
.global-header,
.l-header,
.p-header,
.p-product-list__category-title { display: none; }

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

#tblLayout { width: 100% !important; }

table { border-collapse: collapse; margin: 0; padding: 0; }
td, th { padding: 0; margin: 0; }

main + div { display: none; }

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

@media (min-width: 640px) {
  .lp-wrap {
    max-width: var(--lp-max-width-pc);
  }
}

/* ======================
   Hero + Title Overlay（パララックス）
   ====================== */
.lp-hero {
  position: relative;
}

.lp-hero__kv img {
  display: block;
  width: 100%;
}

/* 位置レイヤー：is-pinned = 画面中央に固定 / 非付与時 = KV基準の絶対配置（JSでtop値を設定） */
.hangaku-title-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(84vw, 460px);
  z-index: 2;
  pointer-events: none;
}

.hangaku-title-stage.is-pinned {
  position: fixed;
  top: 50%;
}

/* 回転レイヤー：位置とは独立して傾きアニメーションのみ担当 */
@keyframes hangaku-tilt {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

.hangaku-title {
  display: block;
  width: 100%;
  transform-origin: center center;
  animation: hangaku-tilt 2.6s ease-in-out infinite;
}

/* ======================
   Fade In（ボタン登場）
   ====================== */
.lp-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--lp-ease), transform .8s var(--lp-ease);
}

.lp-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-fadein:nth-child(2) { transition-delay: .1s; }
.lp-fadein:nth-child(3) { transition-delay: .2s; }

/* ======================
   CTA分岐セクション
   ====================== */
.hangaku-cta {
  padding: 40px var(--lp-section-px) 48px;
  text-align: center;
}

.hangaku-cta__lead {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lp-text-main);
  margin-bottom: 24px;
}

.hangaku-btn {
  display: block;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  border-radius: 999px;
  text-align: center;
  transition: transform .15s, border-bottom-width .15s;
}

.hangaku-btn:last-child { margin-bottom: 0; }

.hangaku-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hangaku-btn:active {
  transform: translateY(3px) scale(.99);
  border-bottom-width: 3px;
}

.hangaku-btn__sub {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 4px;
  opacity: .9;
}

.hangaku-btn__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(1.3rem, 4.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hangaku-btn__main::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  font-size: .85em;
  flex-shrink: 0;
}

.hangaku-btn--red {
  background: var(--hangaku-red);
  color: var(--lp-white);
  border-bottom: 6px solid var(--hangaku-red-dark);
}

.hangaku-btn--red:hover {
  background: var(--hangaku-red-dark);
}

.hangaku-btn--black {
  background: var(--hangaku-black);
  color: var(--lp-white);
  border-bottom: 6px solid #555555;
}

.hangaku-btn--black:hover {
  background: #000;
}

/* ======================
   注意事項
   ====================== */
.lp-notes {
  background: var(--lp-white);
  padding: 40px var(--lp-section-px) 48px;
  border-top: 1px solid #E8E0D0;
}

.lp-notes__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--lp-text-main);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #E8E0D0;
  letter-spacing: .06em;
}

.lp-notes__list li {
  font-size: 1.25rem;
  color: #888;
  line-height: 1.9;
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 6px;
}

.lp-notes__list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #bbb;
}

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