@charset "UTF-8";

/* 全体のベース設定 - 若々しいピンクとゴールドに更新 */
:root {
    --primary-pink: #ff4d8d; /* 鮮やかなマゼンタピンク */
    --light-pink: #fff3f7; /* 非常に薄いピンク */
    --text-brown: #6b585d; /* 少し濃くして視認性を確保 */
    --bg-color: #fffafb;
    --accent-gold: #e5b95c; /* そのまま */
    --bright-gold: #f7d794; /* より明るいゴールド */
    --lame-text: linear-gradient(to right, #ff4d8d, #f7d794, #ff4d8d); /* ラメテキスト用 */
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--text-brown);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* スマホ向けのコンテナ（PCで見てもスマホサイズに制限） */
.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* --- ヒーローセクション（トップ） --- */
.hero {
    background: linear-gradient(135deg, #fff3f7 0%, #ffe0e9 100%);
    text-align: center;
    padding: 60px 20px;
    position: relative;
}
.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-style: italic;
    /* ロゴに光沢感を */
    text-shadow: 0 0 5px rgba(255, 77, 141, 0.5), 0 0 10px rgba(255, 255, 255, 0.5);
    background: var(--lame-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 14px;
    margin: 0;
    color: var(--primary-pink);
}
.hero h1 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--text-brown);
}

/* 修正：高さの固定を解除し、画像に合わせて広がるようにしました */
.hero-image {
    width: 100%;
    /* height: 220px; ←これを削除しました */
    background: linear-gradient(135deg, #ffdce6 0%, #ffc1d6 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 143, 176, 0.2);
    position: relative;
    overflow: hidden;
}

/* 追加：ヒーロー画像自体のスタイル（抜け落ちていたため復活） */
.hero-img {
    width: 100%;
    height: auto; /* 元の比率を保ったまま横幅いっぱいに広げる */
    display: block;
    position: relative;
    z-index: 1; /* キラキラエフェクトの後ろに配置 */
}

/* キラキラ効果 */
.hero-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    animation: shine 5s infinite;
    z-index: 2;
    pointer-events: none;
}
@keyframes shine {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}
.hero-text {
    font-size: 15px;
    margin-bottom: 30px;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 35px;
    font-weight: bold;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(255, 143, 176, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 80%;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.btn.full-width {
    width: 100%;
}
.btn:active {
    transform: scale(0.95);
    box-shadow: 0 4px 10px rgba(255, 143, 176, 0.5);
}
/* ラメボタンのテクスチャ */
.hero-lame-btn {
    background: linear-gradient(45deg, #ff4d8d 0%, #f7d794 50%, #ff4d8d 100%);
    background-size: 200% auto;
    animation: lame-move 5s infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes lame-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ボタンにキラキラ感を */
.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 35px;
    z-index: 1;
}

/* --- セクション共通 --- */
.section {
    padding: 50px 20px;
    text-align: center;
}
.bg-light-pink {
    background-color: #fff9fa;
}
.section-title {
    font-size: 22px;
    color: var(--primary-pink);
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 77, 141, 0.3);
}
.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--primary-pink);
    margin: 8px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(255, 77, 141, 0.3);
}

/* --- 商品ラインナップ --- */
.product-gold-card {
    background-color: var(--light-pink);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    text-align: left;
    box-shadow: 0 8px 15px rgba(229, 185, 92, 0.1);
}
.product-icon {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-info h3 {
    margin: 0 0 5px 0;
    font-size: 17px;
    color: var(--text-brown);
}
.product-info p {
    margin: 0;
    font-size: 14px;
    color: #777;
}
.tags {
    margin-top: 8px;
}
.tag {
    background-color: white;
    color: var(--primary-pink);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-right: 6px;
    border: 1px solid var(--primary-pink);
}

/* --- レビュー --- */
.review-section {
    padding: 60px 20px;
}
.reviews {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
}
.review-card {
    min-width: 150px;
    background: white;
    border: 2px solid var(--primary-pink);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(255, 77, 141, 0.1);
}
.stars {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(229, 185, 92, 0.3);
}
.review-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    color: var(--text-brown);
}
.review-text {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}

/* --- 美容成分 --- */
.ingredients {
    display: flex;
    justify-content: space-around;
}
.ingredient-item {
    text-align: center;
}
.ingredient-gold-icon {
    font-size: 45px;
    background: linear-gradient(135deg, var(--light-pink) 0%, white 100%);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--bright-gold);
    box-shadow: 0 5px 15px rgba(247, 215, 148, 0.3), 0 0 10px rgba(255, 255, 255, 0.8);
}
.ingredient-item p {
    font-size: 13px;
    margin: 0;
    font-weight: bold;
    color: var(--text-brown);
}

/* --- オファー（購入）セクション --- */
.offer-section {
    padding: 60px 20px;
}
.offer-gold-box {
    border: 4px solid var(--primary-pink);
    border-radius: 25px;
    padding: 40px 25px;
    background-color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.2);
    position: relative;
}
/* オファーボックスの光沢 */
.offer-gold-box::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
}
.badge {
    background: var(--accent-gold);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.offer-title {
    margin: 20px 0 8px;
    color: var(--text-brown);
}
.discount {
    color: var(--primary-pink);
    font-size: 36px;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 0 0 8px rgba(255, 77, 141, 0.3);
}
.price {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-brown);
}
.price span {
    text-decoration: line-through;
    color: #aaa;
    font-size: 18px;
    margin-right: 12px;
}
.offer-note {
    font-size: 12px;
    color: #777;
}
.offer-lame-btn {
    background: linear-gradient(45deg, var(--accent-gold) 0%, #f7d794 50%, var(--accent-gold) 100%);
    animation: lame-move-gold 5s infinite;
    margin-top: 20px;
}
@keyframes lame-move-gold {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- フッター --- */
footer {
    background-color: var(--light-pink);
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
    color: var(--text-brown);
}
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 10px;
    font-style: italic;
    background: var(--lame-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* style.css の一番下にこれを追加します */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}