@charset "UTF-8";

/* ======================
reset css (ローカル開発用)
========================*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  line-height: 1.7;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
li {
  list-style: none;
}
a {
  display: block;
  color: #333;
  text-decoration: none;
}

/* ==========================
Reset and base styles
========================== */
.global-header {
  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;
}
.sp_only {
  display: block;
}
.pc_only {
  display: none;
}
@media screen and (min-width: 768px) {
    .sp_only {
        display: none;
    }
    .pc_only {
        display: black;
    }
}


/* --- ベース設定 --- */
:root {
    --main-bg: #FFFDF5; /* クリーム色背景 */
    --text-color: #594A42; /* 優しいこげ茶 */
    --accent-red: #D32F2F; /* キャンペーンレッド */
    --accent-gold: #C5A059; /* 上品なゴールド */
    --white: #FFFFFF;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}


/* --- メインビジュアル --- */
.main-visual {
    width: 100%;
    text-align: center;
}
.mv-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- セクション共通 --- */
.section {
    padding: 30px 0;
    text-align: center;
}
.section-title {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 10px;
}
.section-lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

/* --- VOL.1 キャンペーン --- */
.campaign-vol1 {
    background-image: radial-gradient(#ffe082 1px, transparent 1px);
    background-size: 20px 20px; /* ドット柄背景 */
}
.section-badge {
    background: var(--accent-red);
    color: white;
    display: inline-block;
    padding: 5px 40px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.benefit-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}
.benefit-box {
    background: var(--white);
    border: 3px solid var(--accent-gold);
    border-radius: 12px;
    padding: 30px 20px 20px 20px; /* 上の余白を少し広げてバランス調整 */
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);

    /* フレックスボックス設定（中身を中央寄せ） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* 内部の absolute 要素の基準点にするため追加 */
    position: relative; 
}
/* 左上のラベル（特典1, 特典2） */
.benefit-label {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    background-color: var(--accent-gold);
    padding: 0.5em 0.6em;
    border-radius: 0.4em;
}
/* メインの赤文字タイトル（以前の .benefit-title span 相当） */
.benefit-name {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: bold;
    margin: 5px 0 10px 0; /* 上下の余白調整 */
    line-height: 1.2;
}
.benefit-title {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-top: 0;
}
.benefit-title span {
    display: block;
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: bold;
}
.benefit-desc {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CTAボタン */
.cta-area { margin-top: 30px; }
.cta-button {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 0 #9f1c1c; /* 立体的なボタン */
    transform: translateY(0);
}
.cta-button:active {
    box-shadow: 0 0 0 #9f1c1c;
    transform: translateY(4px);
}
.cta-button.secondary {
    background: var(--accent-gold);
    box-shadow: 0 4px 0 #9e7d3e;
}

/* --- 次回クーポン --- */
.next-coupon {
    background: #fff8e1;
}
.coupon-frame {
    border: 2px dashed var(--accent-gold);
    border-radius: 16px;
    padding: 40px 20px;
    background: var(--white);
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}
.ribbon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: white;
    padding: 5px 30px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem;
}
.coupon-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-color);
}
.highlight {
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.2em;
}
.coupon-info dt {
    background: #eee;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.coupon-info dd {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    font-weight: bold;
}
.coupon-gift {
    background: #fff0f0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffd0d0;
    margin: 20px 0;
}
.gift-text {
    font-size: 1.2rem;
}
.gift-text strong {
    color: var(--accent-red);
    font-size: 2rem;
}
.coupon-notes {
    text-align: left;
    font-size: 1rem;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}
.note-small {
    margin-top: -10px;
    margin-bottom: 16px;
    color: var(--accent-red);
}
.coupon-notes ul {
    padding-left: 10px;
    margin: 5px 0;
}
.coupon-notes ul li {
    font-size: 1rem;
}
/* --- VOL.2 予告 --- */
.teaser-vol2 {
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}
.coming-soon {
    font-family: sans-serif;
    letter-spacing: 2px;
    color: #999;
    font-weight: bold;
}
.teaser-title span {
    font-size: 1.8rem;
    color: var(--accent-red);
}
.fukubukuro-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: 20px auto;
}
.price-main {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 0;
    padding: 15px;
    background: #fdf5e6;
    border-radius: 8px;
}
.price-highlight {
    font-size: 1.8rem;
    color: var(--accent-red);
}
.price-sub {
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
}
.bulk-buy-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 1.2rem;
}
.bulk-buy-info ul {
    list-style: none;
    padding: 0;
}

/* --- フッター --- */
.site-footer {
    background: #594A42;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

/* --- 特典2：送料無料の強調デザイン --- */
.shipping-benefit {
    margin-top: 10px;
    background: #fffef5; /* 少し明るい背景で囲む */
    padding: 10px;
    border-radius: 8px;
}

.shipping-usual {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

.shipping-usual .strike {
    text-decoration: line-through;
    font-weight: bold;
}

.shipping-arrow {
    font-size: 1rem;
    color: var(--accent-red);
    font-weight: bold;
    margin: 8px 0 0;
    line-height: 1;
}

.shipping-campaign {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.3;
}

.shipping-campaign .price-large {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: 700;
    letter-spacing: -1px; /* 数字を引き締める */
}

.shipping-campaign small {
    font-size: 0.8rem;
    color: var(--text-color);
}

.shipping-campaign .free-text {
    background: linear-gradient(transparent 60%, #ffeb3b 60%); /* マーカー風の下線 */
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 5px;
}

/* --- 追従CTAボタン --- */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 12px;
    width: 90px;
    height: 90px;
    background: var(--accent-red);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%; /* 丸い形にする */
    text-align: center;
    display: flex; /* 文字を上下中央に */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000; /* 他の要素より上に表示 */
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.fixed-cta .small {
    font-size: 0.7rem;
    font-weight: normal;
}
.fixed-cta:hover {
    transform: scale(1.05); /* ホバー時に少し拡大 */
    opacity: 1; /* hover時もopacity1を維持 */
}
/* 表示用のクラス */
.fixed-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================
   アニメーション追加
========================================= */

/* --- 1. 汎用フェードイン・アップ --- */
/* JavaScriptで is-show クラスが付くと実行されます */
.js-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-fade-in.is-show {
    opacity: 1;
    transform: translateY(0);
}


/* --- 2. キーフレーム定義 --- */

/* ふわふわ浮遊 */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* プルンと揺れる（注目ボタン用） */
@keyframes pulse-wobble {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10%, 20% { transform: scale(0.95) rotate(-2deg); }
    30%, 50%, 70% { transform: scale(1.05) rotate(2deg); }
    40%, 60% { transform: scale(1.05) rotate(-2deg); }
    80% { transform: scale(0.98) rotate(1deg); }
}

/* 背景のスクロール移動 */
@keyframes bg-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* バッジの登場バウンス */
@keyframes badge-bounce {
    0% { transform: scale(0) translateX(-50%); opacity: 0; }
    60% { transform: scale(1.1) translateX(-50%); opacity: 1; }
    100% { transform: scale(1) translateX(-50%); opacity: 1; }
}

/* --- 3. 各要素へのアニメーション適用 --- */

/* メインビジュアルの浮遊 */
.floating-item {
    animation: floating 3s ease-in-out infinite;
}

/* VOL.1セクション背景のスクロール */
.campaign-vol1 {
    /* 既存の背景設定は維持し、アニメーションを追加 */
    animation: bg-scroll 10s linear infinite;
}

/* CTAボタンの強調揺れ */
.pulse-btn {
    /* ホバー時の既存動作と衝突しないよう設定 */
    animation: pulse-wobble 2.5s ease-in-out infinite;
    transform-origin: center center;
}
/* ホバー時はアニメーションを止めて既存のホバー効果を優先 */
.pulse-btn:hover {
    animation: none;
}

/* 特典ボックスのホバー効果強化 */
.benefit-box {
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* バッジ・リボンの登場アニメーション */
/* js-fade-inと一緒に使うため、is-showがついた後に実行 */
.js-fade-in.is-show .section-badge,
.js-fade-in.is-show .ribbon {
    animation: badge-bounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
/* 初期状態は非表示にしておく */
.section-badge,
.ribbon {
    opacity: 0; 
}

/* ...前略... */

/* --- クーポンコードコピーボタン --- */
.coupon-copy-btn {
    margin-top: 15px;
    background: #fff0f0;
    border: 1px dashed var(--accent-red);
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit; /* フォント継承 */
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.coupon-copy-btn:hover {
    background: #ffebeb;
    transform: scale(1.02);
}

.coupon-copy-btn:active {
    transform: scale(0.98);
}

.coupon-label {
    font-size: 1rem;
    color: #888;
}

.coupon-code {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--accent-red);
    letter-spacing: 2px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.coupon-action {
    font-size: 1.2rem;
    background: var(--accent-red);
    color: white;
    padding: 2px 10px;
    border-radius: 3rem;
    margin-top: 4px;
    line-height: 1.5;
}

/* コピー完了時のスタイル（JSでクラス付与） */
.coupon-copy-btn.is-copied {
    background: #e8f5e9;
    border-color: #4caf50;
}
.coupon-copy-btn.is-copied .coupon-code {
    color: #2e7d32;
}
.coupon-copy-btn.is-copied .coupon-action {
    background: #4caf50;
}

/* --- SP用微調整 --- */
@media screen and (min-width: 768px) {
    .section-title {
        font-size: 2.4rem;
    }
    .section-lead {
        font-size: 1.6rem;
    }
    .gift-text {
        font-size: 1.2rem;
    }
    .gift-text strong {
        font-size: 2.4rem;
    }
    .fixed-cta {
        width: 120px;
        height: 120px;
        font-size: 1.6rem;
    }
}