/*
 * ── LP共通CSS ──────────────────────────────────
 * 複数のLPページで共通利用するスタイル
 *
 * フォントサイズ換算表（html: 10px 基準）
 * 1.2rem = 12px | 1.3rem = 13px | 1.4rem = 14px
 * 1.5rem = 15px | 1.6rem = 16px | 1.8rem = 18px
 * 2.0rem = 20px | 2.4rem = 24px | 3.2rem = 32px
 */

/* ── 全体リセット ────────────────────────── */
.lp-page .ec-layoutRole__contents {
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: none;
}
.lp-wrap {
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    font-size: 1.6rem; /* 16px ベース本文 */
}

/* ── ヒーロー ────────────────────────────── */
.lp-hero {
    position: relative;
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    background: linear-gradient(135deg, var(--lp-dark) 0%, #333 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px 60px;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.25;
}
.lp-hero > * {
    position: relative;
    z-index: 1;
}
.lp-hero__title {
    font-size: clamp(3.2rem, 7vw, 4.8rem); /* 32-48px */
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    line-height: 1.2;
}
.lp-hero__subtitle {
    font-size: clamp(1.6rem, 3vw, 2.0rem); /* 16-20px */
    opacity: 0.9;
    margin-bottom: 16px;
}
.lp-hero__period {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 1.4rem; /* 14px */
    margin-bottom: 24px;
}
.lp-hero__shop-note {
    display: block;
    font-size: 1.3rem; /* 13px */
    opacity: 0.7;
    margin-top: 16px;
}

/* ── CTAボタン ───────────────────────────── */
.lp-cta {
    display: inline-block;
    background: var(--lp-accent);
    color: #fff;
    font-size: 1.8rem; /* 18px */
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}

/* ── セクション共通 ──────────────────────── */
.lp-section {
    padding: 60px 20px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--lp-radius);
}
.lp-section--gray {
    background: rgb(1 0 37 / 8%);
}
@media (max-width: 991px) {
    .lp-section--gray {
        padding-left: 16px;
        padding-right: 16px;
    }
}
.lp-section__heading {
    text-align: center;
    margin-bottom: 32px;
}
.lp-section__title {
    font-size: clamp(2.0rem, 4vw, 2.8rem); /* 20-28px */
    font-weight: 800;
    color: var(--lp-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
.lp-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--lp-primary);
    border-radius: 2px;
}
.lp-section__lead {
    color: #666;
    margin-top: 12px;
    font-size: 1.6rem; /* 16px */
}

/* ── クーポンカード共通 ──────────────────── */
.lp-coupon {
    position: relative;
    border-radius: var(--lp-radius);
    padding: 24px 16px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s;
}
.lp-coupon:hover {
    transform: translateY(-6px);
}
.lp-coupon__icon {
    font-size: 2.4rem; /* 24px */
    margin-bottom: 8px;
    opacity: 0.9;
}
.lp-coupon__condition {
    font-size: 1.5rem; /* 15px */
    opacity: 0.9;
    margin-bottom: 6px;
    line-height: 1.5;
}
.lp-coupon__discount {
    font-size: clamp(3.6rem, 8vw, 4.8rem); /* 36-48px */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}
.lp-coupon__discount small {
    font-size: 0.5em;
    font-weight: 700;
}
.lp-coupon__label {
    font-size: 1.4rem; /* 14px */
    font-weight: 600;
    opacity: 0.85;
}
.lp-coupon__items {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 1.3rem; /* 13px */
    margin-top: 8px;
}
.lp-coupon__btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: #fff;
    color: var(--lp-dark);
    font-size: 1.4rem; /* 14px */
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.lp-coupon__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    color: var(--lp-dark);
}

/* ── 特徴カード ──────────────────────────── */
.lp-feature {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    transition: transform 0.25s;
}
.lp-feature:hover {
    transform: translateY(-4px);
}
.lp-feature__icon {
    font-size: 2.4rem; /* 24px */
    color: var(--lp-primary);
    margin-bottom: 12px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: rgba(192, 39, 45, 0.08);
    display: inline-block;
}
.lp-feature__title {
    font-weight: 700;
    font-size: 1.8rem; /* 18px */
    margin-bottom: 8px;
}
.lp-feature__text {
    font-size: 1.5rem; /* 15px */
    color: #555;
    line-height: 1.7;
}

/* ── 商品カード ──────────────────────────── */
a.lp-product {
    text-decoration: none;
    color: inherit;
}
.lp-product {
    background: #fff;
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.lp-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.lp-product__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
}
.lp-product__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.lp-product:hover .lp-product__img-wrap img {
    transform: scale(1.05);
}
.lp-product__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lp-product__catchcopy {
    font-size: 1.3rem; /* 13px */
    color: #888;
}
.lp-product__name {
    font-weight: 700;
    font-size: 1.5rem; /* 15px */
    margin: 4px 0 8px;
    color: var(--lp-dark);
}
.lp-product__prices {
    margin-top: auto;
}
.lp-product__price {
    font-size: 2.0rem; /* 20px */
    font-weight: 800;
    color: var(--lp-dark);
}
.lp-product__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e65100;
    color: #fff;
    font-size: 1.1rem; /* 11px */
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.3;
    z-index: 1;
}

/* ── FAQ ─────────────────────────────────── */
.lp-faq {
    border: 1px solid #e0e0e0;
    border-radius: var(--lp-radius);
    margin-bottom: 8px;
    overflow: hidden;
}
.lp-faq__q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.5rem; /* 15px */
    background: #fff;
    transition: background 0.2s;
    list-style: none;
}
.lp-faq__q:hover {
    background: var(--lp-light);
}
.lp-faq__q::before {
    content: 'Q';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: var(--lp-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem; /* 13px */
    font-weight: 700;
}
.lp-faq__q::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: #bbb;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.lp-faq[open] .lp-faq__q::after {
    transform: rotate(180deg);
    color: var(--lp-primary);
}
.lp-faq__q::marker {
    content: '';
}
.lp-faq__a {
    padding: 0 16px 14px 48px;
    font-size: 1.5rem; /* 15px */
    color: #555;
    line-height: 1.8;
}

/* ── CTA帯 ───────────────────────────────── */
.lp-cta-bar {
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    background: linear-gradient(135deg, var(--lp-primary) 0%, #e03030 100%);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}
.lp-cta-bar__title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem); /* 18-24px */
    font-weight: 800;
    margin-bottom: 16px;
}
.lp-cta-bar .lp-cta {
    background: #fff;
    color: var(--lp-primary);
    padding: 15px;
    border-radius: 10px;
}
.lp-cta-bar .lp-cta:hover {
    color: var(--lp-primary);
}

/* ── 注意事項 ────────────────────────────── */
.lp-notes {
    font-size: 1.3rem; /* 13px */
    color: #888;
    line-height: 1.8;
}
.lp-notes li::marker {
    color: #ccc;
}

/* ── もっと見るボタン ────────────────────── */
@keyframes lp-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.07); }
}
.lp-more {
    display: inline-block;
    margin-top: 24px;
    margin-bottom: 32px;
    padding: 10px 32px;
    background: var(--lp-dark);
    color: #fff;
    font-size: 1.5rem; /* 15px */
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.lp-more:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    color: #fff;
    animation: none !important;
}

/* ── バナーリスト（縦積み） ─────────────── */
.lp-banner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 950px;
    margin: 0 auto;
}
.lp-banner-list a {
    display: block;
    border-radius: var(--lp-radius);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.lp-banner-list a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.lp-banner-list img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── レスポンシブ ────────────────────────── */
@media (max-width: 767px) {
    .lp-wrap {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 1.5rem; /* SP本文 15px */
    }
    .lp-hero {
        padding: 50px 20px 40px;
    }
    .lp-hero__title {
        font-size: 2.8rem; /* 28px */
    }
    .lp-section {
        padding: 40px 0;
    }
    .lp-coupon {
        padding: 20px 12px;
    }
    .lp-coupon__discount {
        font-size: 3.2rem; /* 32px */
    }
    .lp-cta-bar {
        padding: 40px 20px;
    }
    .lp-banner-list {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ── スクロールアニメーション ───────────────── */
@keyframes lp-fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 見出し：スクロールで現れる */
.lp-anim .lp-section__heading {
    opacity: 0;
}
.lp-anim.is-visible .lp-section__heading {
    animation: lp-fadeUp 0.5s ease forwards;
}

/* 子要素：順番にディレイ付きで現れる */
.lp-anim [class*="col-"],
.lp-anim .lp-banner-list > li,
.lp-anim details {
    opacity: 0;
}
.lp-anim.is-visible [class*="col-"],
.lp-anim.is-visible .lp-banner-list > li,
.lp-anim.is-visible details {
    animation: lp-fadeUp 0.5s ease forwards;
}
.lp-anim.is-visible [class*="col-"]:nth-child(1),
.lp-anim.is-visible .lp-banner-list > li:nth-child(1),
.lp-anim.is-visible details:nth-child(1) { animation-delay: 0.1s; }
.lp-anim.is-visible [class*="col-"]:nth-child(2),
.lp-anim.is-visible .lp-banner-list > li:nth-child(2),
.lp-anim.is-visible details:nth-child(2) { animation-delay: 0.15s; }
.lp-anim.is-visible [class*="col-"]:nth-child(3),
.lp-anim.is-visible .lp-banner-list > li:nth-child(3),
.lp-anim.is-visible details:nth-child(3) { animation-delay: 0.2s; }
.lp-anim.is-visible [class*="col-"]:nth-child(4),
.lp-anim.is-visible .lp-banner-list > li:nth-child(4),
.lp-anim.is-visible details:nth-child(4) { animation-delay: 0.25s; }
.lp-anim.is-visible [class*="col-"]:nth-child(5),
.lp-anim.is-visible .lp-banner-list > li:nth-child(5),
.lp-anim.is-visible details:nth-child(5) { animation-delay: 0.3s; }
.lp-anim.is-visible [class*="col-"]:nth-child(6),
.lp-anim.is-visible .lp-banner-list > li:nth-child(6),
.lp-anim.is-visible details:nth-child(6) { animation-delay: 0.35s; }
.lp-anim.is-visible [class*="col-"]:nth-child(n+7) { animation-delay: 0.4s; }

/* もっと見るボタン：初期非表示 → フェードイン → ピカピカ */
.lp-anim .lp-more {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.lp-anim.is-visible .lp-more {
    opacity: 1;
    transform: translateY(0);
}
.lp-anim.is-visible .lp-more.is-pulsing {
    animation: lp-pulse 2s ease-in-out infinite;
}
.lp-anim.is-visible .lp-more.is-pulsing:hover {
    animation: none;
}

/* アニメーション不要ユーザー対応 */
@media (prefers-reduced-motion: reduce) {
    .lp-anim .lp-section__heading,
    .lp-anim [class*="col-"],
    .lp-anim .lp-banner-list > li,
    .lp-anim details,
    .lp-anim .lp-more {
        opacity: 1 !important;
        animation: none !important;
    }
}
