/*
Theme Name: WhiteningBAR Paste Peach LP (Official v3)
Theme URI: https://wb-paste.com
Author: WhiteningBAR
Author URI: https://whiteningbar.jp
Description: WhiteningBAR Paste Peach公式ランディングページテーマ v3。年間8万人の実績、実際の商品画像使用、最新住所対応。レスポンシブ対応、アニメーション効果付き。
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whitening-bar-peach
Tags: landing-page, responsive, one-page, product, whitening
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFB6C1;
    --secondary-color: #FF69B4;
    --accent-color: #FFC0CB;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FFF5F7;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* =============== ヘッダー =============== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-cta {
    background: var(--white);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* =============== ファーストビュー =============== */
.hero {
    background: linear-gradient(135deg, #FFE4E9 0%, #FFF5F7 50%, #FFFFFF 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,182,193,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,192,203,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.4;
    animation: fadeInUp 1s ease;
}

.hero h1 .highlight {
    color: var(--secondary-color);
    font-size: 50px;
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.product-image-container {
    margin: 50px 0;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.product-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05) rotate(-2deg);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,105,180,0.4);
    animation: fadeInUp 1s ease 0.6s backwards, pulse 2s ease infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,105,180,0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============== セクション共通スタイル =============== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

/* =============== 悩みセクション =============== */
.problems {
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.problem-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* =============== 比較セクション =============== */
.comparison {
    background: var(--white);
}

.comparison-image {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.comparison-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.comparison-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comparison-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.comparison-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== トリプルアクション =============== */
.triple-action {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.action-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.action-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.action-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255,105,180,0.4);
}

.action-step h3 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.action-step p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.action-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* =============== 6つのポイント =============== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.feature-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* =============== 商品情報 =============== */
.product-info {
    background: var(--bg-light);
    text-align: center;
}

.product-main-image {
    max-width: 500px;
    width: 100%;
    margin: 40px auto;
}

.product-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.benefit-tag {
    background: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.ingredients {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.ingredients h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.ingredients p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== Q&A =============== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.faq-question::before {
    content: 'Q';
    background: var(--secondary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    font-size: 30px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 25px 30px 25px 80px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* =============== 最終CTA =============== */
.final-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.final-cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.price-box {
    background: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.price-label {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.price-current {
    font-size: 56px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.price-current .yen {
    font-size: 32px;
}

.price-note {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 20px;
}

.final-cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--secondary-color);
    padding: 25px 70px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.final-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* =============== フッター =============== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
}

/* =============== フローティングCTA =============== */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-cta a {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(255,105,180,0.5);
    transition: all 0.3s ease;
}

.floating-cta a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255,105,180,0.7);
}

/* =============== レスポンシブ対応 =============== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero h1 .highlight {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 18px;
    }

    .header-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    .logo {
        font-size: 18px;
    }

    .problems-grid,
    .action-steps,
    .features-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .final-cta p {
        font-size: 16px;
    }

    .price-current {
        font-size: 42px;
    }

    .floating-cta {
        bottom: 10px;
        right: 10px;
    }

    .floating-cta a {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* =============== スクロールアニメーション =============== */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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