/**
 * Valentine LP Styles
 * バレンタインLP専用スタイル
 */

/* ===== CSS Custom Properties ===== */
:root {
    --valentine-pink: #ec4899;
    --valentine-pink-dark: #db2777;
    --valentine-rose: #f43f5e;
    --valentine-gold: #d4af37;
    --valentine-gold-dark: #c9a227;
}

/* ===== Remixicon Fix ===== */
:where([class^="ri-"])::before { content: "\f3c2"; }

/* ===== Base Styles ===== */
.valentine_lp {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
}

.valentine_lp h1,
.valentine_lp h2,
.valentine_lp h3,
.valentine_lp h4,
.valentine_lp h5,
.valentine_lp h6 {
    font-family: 'Noto Serif JP', serif;
}

/* ===== Hero Section ===== */
.hero-valentine {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-title-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-subtitle-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards;
    animation-delay: 0.9s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.valentine-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #fce7f3;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
}

/* ===== Valentine CTA Buttons ===== */
.valentine-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.valentine-cta-btn.primary {
    background: linear-gradient(135deg, var(--valentine-pink) 0%, var(--valentine-rose) 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.valentine-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.5);
}

.valentine-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.valentine-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(236, 72, 153, 0.8);
        transform: scale(1.05);
    }
}

/* ===== Reason Cards with Background Image ===== */
.reason-card-bg {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.reason-card-bg:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.reason-card-bg .bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.reason-card-bg .bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reason-card-bg:hover .bg-image img {
    transform: scale(1.1);
}

.reason-card-bg .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.reason-card-bg .reason-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--valentine-pink) 0%, var(--valentine-rose) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
}

.reason-card-bg .reason-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.reason-card-bg .reason-content h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--valentine-gold) 0%, var(--valentine-gold-dark) 100%);
    padding: 12px 24px;
    border-radius: 12px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

.reason-card-bg .reason-content h3 .highlight-text {
    color: #fff8dc;
    font-size: 1.6rem;
    font-weight: 800;
}

.reason-card-bg .reason-content p {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: white;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 16px;
    border-radius: 8px;
}

.reason-card-bg .reason-content strong {
    color: #fcd34d;
}

/* ===== Target Cards ===== */
.target-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.target-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.target-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.target-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.target-card:hover .target-image img {
    transform: scale(1.08);
}

.target-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--valentine-pink) 0%, var(--valentine-rose) 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
    letter-spacing: 0.05em;
    animation: tag-pulse 2s ease-in-out infinite;
}

@keyframes tag-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(236, 72, 153, 0.7);
        transform: scale(1.05);
    }
}

.target-recommend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* ===== Product Cards ===== */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-popular, .badge-new, .badge-rental, .badge-sale {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
}

.badge-popular {
    background: linear-gradient(135deg, var(--valentine-pink) 0%, var(--valentine-rose) 100%);
    color: white;
}

.badge-new {
    background: #10b981;
    color: white;
}

.badge-rental {
    background: var(--valentine-gold);
    color: white;
}

.badge-sale {
    background: #3b82f6;
    color: white;
}

.product-quick-view {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-quick-view {
    opacity: 1;
}

.product-quick-view button,
.product-quick-view span {
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-quick-view button:hover,
.product-quick-view span:hover {
    background: var(--valentine-pink);
    color: white;
}

.product-prices {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.price-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.price-item.rental {
    background: linear-gradient(135deg, #fef9e7 0%, #fff8e1 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-note {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--valentine-pink);
    background: rgba(236, 72, 153, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--valentine-gold) 0%, var(--valentine-gold-dark) 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    color: white;
}

.btn-cart-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--valentine-gold) 0%, var(--valentine-gold-dark) 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cart-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    color: white;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: var(--valentine-pink);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--valentine-pink);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--valentine-pink);
    color: white;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 768px) {
    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    background: var(--valentine-pink);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: auto;
}

.gallery-overlay .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay .zoom-icon {
    opacity: 1;
}

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.faq-item:hover {
    border-color: var(--valentine-gold);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question i {
    color: var(--valentine-gold);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.faq-answer.show {
    display: block;
}

.faq-answer strong {
    color: var(--valentine-gold);
}

.faq-cta {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #fef9e7 0%, #fff8e1 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--valentine-gold);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--valentine-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    color: white;
}

/* ===== Final CTA ===== */
.final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.final-cta-btn.primary {
    background: white;
    color: var(--valentine-pink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.final-cta-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.final-cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.final-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ===== Scroll Animations ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ===== Gallery Modal ===== */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-modal-close:hover {
    transform: scale(1.2);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 28px;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 8px;
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-prev { left: -80px; }
.gallery-modal-next { right: -80px; }

@media (max-width: 768px) {
    .gallery-modal-prev { left: 10px; }
    .gallery-modal-next { right: 10px; }
}

/* ===== Section Title ===== */
.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}

/* ===== Heart Pattern Background ===== */
.heart-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 50 L15 35 Q5 25 15 15 Q25 5 30 15 Q35 5 45 15 Q55 25 45 35 Z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* ===== Tailwind Color Utilities (Custom) ===== */
.text-valentine-pink { color: var(--valentine-pink); }
.text-valentine-pink-dark { color: var(--valentine-pink-dark); }
.text-valentine-rose { color: var(--valentine-rose); }
.text-valentine-gold { color: var(--valentine-gold); }
.text-valentine-gold-dark { color: var(--valentine-gold-dark); }

.bg-valentine-pink { background-color: var(--valentine-pink); }
.bg-valentine-rose { background-color: var(--valentine-rose); }
.bg-valentine-gold { background-color: var(--valentine-gold); }

.border-valentine-pink { border-color: var(--valentine-pink); }
.border-valentine-gold { border-color: var(--valentine-gold); }
