/* ==========================================================================
   1. 基本設定 & 変数定義 (SYOKUTSU Design System)
   ========================================================================== */
:root {
    --main-color: #FF9E8F;      /* コーラルピンク */
    --sub-color: #4DB6AC;       /* ミントグリーン */
    --bg-color: #FDFCFB;        /* 優しい白（背景用） */
    --accent-apricot: #FFDAC1;  /* アプリコット */
    --text-color: #4A4A4A;      /* メインテキスト */
    --white: #FFFFFF;
    
    /* グラデーション */
    --gradient-warm: linear-gradient(135deg, var(--main-color) 0%, var(--accent-apricot) 100%);
    --gradient-soft: linear-gradient(135deg, #ffffff 0%, var(--bg-color) 100%);
}

/* リセット & ベース */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    /*font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;*/
    line-height: 1.6;
    overflow-x: hidden;
}

/* 共通パーツ：バッジ */
.p-badge {
    display: inline-block;
    color: var(--main-color);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ==========================================================================
   2. ヒーローセクション
   ========================================================================== */
.new-p-hero {
    padding: 12rem 5% 10rem;
    background: var(--gradient-soft);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8%;
}

.hero-text {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    color: var(--sub-color);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--sub-color);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    background: #fff;
}

.hero-text h1 {
    font-size: 4.8rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.35;
    margin-bottom: 3.5rem;
}

.hero-text .highlight {
    color: var(--main-color);
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* マーカー装飾 */
.hero-text .highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--accent-apricot);
    opacity: 0.5;
    z-index: -1;
}

.hero-text p {
    font-size: 1.8rem;
    margin-bottom: 4.5rem;
    color: #666;
    line-height: 1.9;
}

/* --- ヒーロービジュアル（浮遊カード） --- */
.hero-visual {
    flex: 0.8;
    perspective: 1200px;
}

.sample-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--accent-apricot);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    transform: rotateY(-15deg) rotateX(8deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sample-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 35px 80px rgba(255, 158, 143, 0.15);
}

.item-img-wrap {
    height: 280px;
    position: relative;
}

.item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iine-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 1.3rem;
    backdrop-filter: blur(4px);
}

.item-info {
    padding: 3.5rem;
}

.item-info h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
}

.real-price-summary {
    background: rgba(255, 158, 143, 0.08);
    padding: 1.8rem;
    border-radius: 18px;
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
}

.real-price-summary span {
    font-size: 3rem;
    color: var(--main-color);
    margin-left: 8px;
}

/* ==========================================================================
   3. メリット・セクション (お悩み解決)
   ========================================================================== */
.p-section-v2 {
    padding: 12rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.p-section-v2 h2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 8rem;
    color: var(--text-color);
    position: relative;
}

.p-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
}

.p-card-v2 {
    background: var(--white);
    border-radius: 25px;
    padding: 5rem 3.5rem;
    border: 1px solid var(--accent-apricot);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 158, 143, 0.1);
}

.p-card-v2 .icon {
    font-size: 5.5rem;
    margin-bottom: 3rem;
    display: block;
}

.p-card-v2 h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.8rem;
}

.p-card-v2 h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background: var(--accent-apricot);
}

.p-card-v2 p {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #777;
}

/* ==========================================================================
   4. 導入ステップ・CTA
   ========================================================================== */
.p-cta-v2 {
    background: rgba(255, 218, 193, 0.15); /* 薄いアプリコット背景 */
    padding: 12rem 5%;
    margin: 5rem 0;
    text-align: center;
}

.p-cta-v2 h2 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 8rem;
}

.step-item {
    position: relative;
    padding: 4rem 3.5rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--accent-apricot);
    text-align: left;
    transition: 0.3s;
    overflow: hidden;
    z-index: 1;
}

.step-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 11rem;
    font-weight: 900;
    color: var(--sub-color);
    opacity: 0.08;
    z-index: -1;
    font-family: 'Arial Black', sans-serif;
}

.step-item h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.step-item p {
    font-size: 1.45rem;
    color: #888;
}

/* 6ステップ用のグリッド設定 */
.p-step-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: left;
}

.p-step-intro {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

/* 特定のステップ（出品や還元）を強調する場合 */
.highlighted-step {
    border: 2px solid var(--sub-color) !important;
    background: rgba(77, 182, 172, 0.03) !important;
}

.success-step {
    border: 2px solid var(--main-color) !important;
    background: rgba(255, 158, 143, 0.05) !important;
}

/* 商流の補足テキスト */
.step-flow-summary {
    background: #f0f0f0;
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.4rem;
    color: #777;
}

/* モバイル対応：縦一列 */
@media screen and (max-width: 1025px) {
    .p-step-grid-6 {
        grid-template-columns: 1fr;
    }
    .step-item {
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   5. ボタン
   ========================================================================== */
.hero-cta-btn, .m-btn-gold {
    background: var(--gradient-warm);
    color: var(--white);
    padding: 2.2rem 6rem;
    border-radius: 60px;
    font-size: 2rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(255, 158, 143, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
}

.hero-cta-btn:hover, .m-btn-gold:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 45px rgba(255, 158, 143, 0.5);
}

/* ==========================================================================
   6. レスポンシブ (モバイル対応)
   ========================================================================== */
@media screen and (max-width: 1025px) {
    html { font-size: 55%; }
    
    .new-p-hero { padding: 10rem 5% 6rem; }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 6rem;
    }
    
    .hero-text h1 { font-size: 3.4rem; }
    
    .hero-visual {
        width: 100%;
        max-width: 450px;
    }
    
    .sample-card { transform: none !important; }

    .p-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .p-section-v2 h2, .p-cta-v2 h2 {
        font-size: 2.6rem;
    }
}


/* ==========================================================================
   5. 売上還元セクション (誇り継承金)
   ========================================================================== */
.p-rebate-section {
    padding: 12rem 5%;
    background: #fff;
    border-top: 1px solid var(--accent-apricot);
}
.rebate-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10%;
}
.rebate-visual {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
}
.rebate-circle {
    width: 220px;
    height: 220px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(255, 158, 143, 0.3);
    z-index: 2;
}
.rebate-num { font-size: 7rem; font-weight: 900; line-height: 1; }
.rebate-num span { font-size: 3rem; }
.rebate-label { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; }
.rebate-content { flex: 1.2; }
.rebate-content h2 { font-size: 3.2rem; font-weight: 900; margin-bottom: 2.5rem; color: var(--text-color); }
.rebate-content p { font-size: 1.7rem; color: #555; line-height: 1.8; margin-bottom: 2rem; }
.rebate-sub-text { font-size: 1.4rem !important; color: #888 !important; border-left: 3px solid var(--accent-apricot); padding-left: 1.5rem; }

/* ==========================================================================
   生産者の声：成功事例セクション
   ========================================================================== */
.p-success-section {
    padding: 10rem 0;
    background: #fff;
    overflow: hidden;
}

.p-section-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 5%;
}

.p-badge {
    display: inline-block;
    color: var(--main-color);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.p-success-slider {
    display: flex;
    gap: 3rem;
    padding: 2rem 0 5rem;
    overflow: hidden;
	 position: relative;
	 width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.slider-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: loop-slide 60s linear infinite; /* 60秒で一周。速度はここで調整 */
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes loop-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* 半分進んだら最初に戻る */
}

/* スクロールバーを隠す */
.p-success-slider::-webkit-scrollbar { display: none; }

.success-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--accent-apricot);
	 opacity: 0.9; /* わずかに透けさせて「イメージ」であることを演出 */
    transition: all 0.4s ease;
}

.success-card:hover {
	 opacity: 1;
    transform: translateY(-10px) scale(1.02);
    border-color: var(--sub-color) !important;
    box-shadow: 0 15px 35px rgba(255, 158, 143, 0.15);
}

.s-card-img {
    position: relative;
    height: fit-content;
}

.s-card-img img {
   display: block;
   height: 200px;
	margin: auto;
}

.s-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sub-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 900;
}

.s-card-body {
    padding: 0 3rem 3rem;
}

.s-voice {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
    min-height: 5em;
    position: relative;
}

/* 引用符の装飾 */
.s-voice::before {
    content: "“";
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 4rem;
    color: var(--accent-apricot);
    opacity: 0.6;
}

.s-name {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 1rem;
}

.s-result {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--sub-color) !important;
    border-color: var(--sub-color) !important;
    background: rgba(77, 182, 172, 0.05) !important;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
}

/* モバイル対応 */
@media screen and (max-width: 1025px) {
    .success-card {
        flex: 0 0 280px;
    }
    .p-section-header h2 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   オプションプラン・セクション
   ========================================================================== */
.p-option-section {
    padding: 10rem 5%;
    background: #fff;
}

.option-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.option-card {
    background: var(--bg-color);
    border: 1px solid var(--accent-apricot);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
}

/* セットプランの特別装飾 */
.recommend-set {
    border: 2px solid var(--main-color);
    background: #fff;
    box-shadow: 0 15px 35px rgba(255, 158, 143, 0.15);
}

.set-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-color);
    color: #fff;
    font-weight: 900;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 1.2rem;
}

.opt-label {
    font-size: 1.2rem;
    color: var(--sub-color);
    font-weight: 900;
    margin-bottom: 1rem;
    display: block;
}

.option-head h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.opt-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.old-price {
    font-size: 1.4rem;
    color: #bbb;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: normal;
}

.opt-desc {
    font-size: 1.4rem;
    color: #888;
    line-height: 1.6;
}

.option-note {
    max-width: 1200px;
    margin: 3rem auto 0;
    text-align: right;
    font-size: 1.2rem;
    color: #999;
}

/* モバイル対応 */
@media screen and (max-width: 1025px) {
    .option-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SNS運用代行サービス（独立セクション）
   ========================================================================== */
.p-sns-service-section {
    padding: 12rem 5%;
    background: linear-gradient(135deg, var(--white) 0%, #E0F2F1 100%); /* ミントグリーンの薄いグラデーション */
}

.sns-service-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8%;
}

.sns-service-content {
    flex: 1.2;
    text-align: left;
}

.sns-service-content h2 {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.sns-feature-list {
    list-style: none;
    margin: 3rem 0;
}

.sns-feature-list li {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sns-feature-list li span {
    color: var(--sub-color);
    font-weight: 900;
}

.sns-price-box {
    display: inline-block;
    background: var(--white);
    padding: 2.5rem 4rem;
    border-radius: 20px;
    border: 2px solid var(--sub-color);
    box-shadow: 0 10px 30px rgba(77, 182, 172, 0.1);
}

.sns-price-label {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.sns-price-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--sub-color);
}

/* ビジュアルエリア（スマホアイコンの演出） */
.sns-service-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.sns-mock-circle {
    width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-apricot);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.sns-mock-circle::after {
    content: "";
    position: absolute;
    inset: -15px;
    border: 2px dashed var(--sub-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sns-icon {
    font-size: 10rem;
}

/* スマホ対応 */
@media screen and (max-width: 1025px) {
    .sns-service-container {
        flex-direction: column;
        text-align: center;
    }
    .sns-service-content {
        text-align: center;
        margin-bottom: 5rem;
    }
    .sns-feature-list li {
        justify-content: center;
    }
}

/* アイコンの浮遊アニメーション */
.p-card-v2 .icon-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 2.5rem;
    animation: float-icon 4s infinite ease-in-out;
}

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

/* SNSモックアップの特別装飾 */
.sns-mockup-wrapper {
    position: relative;
    padding: 20px;
}

.mockup-frame {
    width: 200px;
    height: 400px;
    background: #fff;
    border: 8px solid #333;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.floating-heart {
    position: absolute;
    font-size: 2.4rem;
    color: var(--main-color);
    animation: heart-up 3s infinite ease-out;
    opacity: 0;
}

@keyframes heart-up {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* ==========================================================================
   スマホ・SNSモックアップ：高精細版
   ========================================================================== */

/* スマホ本体の形状をリアルに */
.mockup-frame {
    width: 250px; /* 少し幅を広げてバランスを調整 */
    height: 500px;
    background: #000;
    border: 12px solid #333;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 5;
}

/* ノッチ（Dynamic Island風） */
.mockup-pill {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

/* SNS内部UI：密度を上げてリアルに */
.instagram-ui {
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding-top: 35px; /* ノッチ分避ける */
}

.ui-app-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    align-items: center;
}
.ui-logo { font-family: 'Billabong', cursive, sans-serif; font-size: 1.8rem; font-weight: bold; }
.ui-header-icons { display: flex; gap: 10px; font-size: 1.2rem; }

/* ストーリーバー */
.ui-stories {
    display: flex;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.story-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 2px solid #fff;
    outline: 2px solid #eee;
    flex-shrink: 0;
}
.story-circle.active { outline-color: var(--main-color); } /* コーラルピンクでアクティブ演出 */

/* プロフィール */
.ui-profile-mini {
    display: flex;
    padding: 15px;
    gap: 10px;
    align-items: center;
}
.ui-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-warm); }
.ui-name { font-size: 1.2rem; font-weight: bold; color: var(--text-color); }
.ui-sub { font-size: 1rem; color: var(--sub-color); }

.ui-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #fff;
    flex-grow: 1;
}
.ui-post { background: #f9f9f9; aspect-ratio: 1/1; }
.active-post { 
    background: var(--sub-color) !important; 
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem;
}

/* ==========================================================================
   SNSモックアップ：タブバー & 吹き出し修正
   ========================================================================== */

/* タブバー全体のレイアウト */
.ui-tabbar {
    height: 50px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    padding-bottom: 10px; /* iPhoneの下部バー風 */
}

/* 各アイコンの共通設定 */
.ui-tab-icon {
    font-size: 1.8rem; /* サイズを統一 */
    line-height: 1;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ユーザーアイコン（右端の円形） */
.ui-user-icon {
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 50%;
}

/* プロフィールロゴのフォント（よりInstagramらしく） */
.ui-logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #262626;
    letter-spacing: -0.5px;
}

/* 吹き出しの最終調整 */
.p-bubble {
    position: absolute;
    background: #fff;
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--accent-apricot);
    z-index: 10;
    white-space: nowrap;
    animation: bubble-float 4s infinite ease-in-out;
}
.p-bubble span { color: var(--main-color); display: block; font-size: 1.4rem; }

/* 配置の微調整（スマホと重なりすぎないよう） */
.bubble-1 { top: 15%; left: -150px; }
.bubble-2 { top: 40%; right: -150px; }
.bubble-3 { bottom: 20%; left: -150px; }

@keyframes bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 吹き出しのデザイン */
.p-bubble {
    position: absolute;
    background: #fff;
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--accent-apricot);
    z-index: 10;
    white-space: nowrap;
    animation: bubble-float 4s infinite ease-in-out;
}
.p-bubble span { color: var(--main-color); display: block; font-size: 1.4rem; }

/* 吹き出しの配置 */
.bubble-1 { top: 15%; left: -140px; animation-delay: 0s; }
.bubble-2 { top: 45%; right: -140px; animation-delay: 1s; }
.bubble-3 { bottom: 15%; left: -140px; animation-delay: 2s; }

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

.floating-heart {
    position: absolute;
    z-index: 15;
    font-size: 2.5rem;
    opacity: 0;
    animation: heart-fly 3s infinite linear;
}
.h-1 { left: 20%; animation-delay: 0s; }
.h-2 { left: 50%; animation-delay: 1s; }
.h-3 { left: 80%; animation-delay: 2s; }

@keyframes heart-fly {
    0% { bottom: 100px; opacity: 0; transform: scale(0.5) translateX(0); }
    20% { opacity: 1; }
    100% { bottom: 400px; opacity: 0; transform: scale(1.2) translateX(30px); }
}

/* レスポンシブ対応 */
@media screen and (max-width: 1025px) {
    .sns-mockup-wrapper { transform: scale(0.8); margin-top: -50px; }
    .p-bubble { display: none; } /* スマホでは吹き出しを消してスッキリさせる */
}

/* ==========================================================================
   固定フッターコンバージョン
   ========================================================================== */
.p-fixed-footer-cta {
    position: fixed;
    bottom: -120px; /* 初期状態は隠しておく（JSで表示） */
    left: 0;
    width: 100%;
    background: rgba(255, 252, 251, 0.95); /* var(--bg-color)ベース */
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-apricot);
    padding: 1.5rem 5%;
    z-index: 10000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.p-fixed-footer-cta.is-visible {
    bottom: 0;
}

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

.f-cta-main {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-color);
}

.f-cta-sub {
    font-size: 1.2rem;
    color: var(--sub-color);
    font-weight: 700;
}

.f-cta-btns {
    display: flex;
    gap: 1.5rem;
}

/* 各ボタンのスタイル */
.f-btn-download, .f-btn-consult {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
}

.f-btn-download {
    background: #fff;
    color: var(--sub-color);
    border: 1px solid var(--sub-color);
}

.f-btn-consult {
    background: var(--gradient-warm);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 158, 143, 0.3);
}

.f-btn-consult:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 158, 143, 0.4);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .p-fixed-footer-cta {
        padding: 1rem 2%;
    }
    .f-cta-btns {
        width: 100%;
        gap: 0.5rem;
    }
    .f-btn-download, .f-btn-consult {
        flex: 1;
        padding: 1.2rem 1rem;
        font-size: 1.2rem;
        justify-content: center;
    }
}


/* ==========================================================================
   FAQセクション
   ========================================================================== */
.p-faq-section {
    padding: 10rem 5%;
    background: var(--bg-color); /* 薄いベージュ背景 */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid var(--accent-apricot);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
    border-color: var(--sub-color);
}

.faq-question {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.q-icon {
    color: var(--main-color);
    font-size: 2.2rem;
    font-family: serif;
    font-weight: bold;
}

.faq-answer {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
    padding-left: 3.2rem;
    position: relative;
}

.faq-answer::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sub-color);
    font-weight: 900;
    font-size: 1.8rem;
}

/* モバイル対応 */
@media screen and (max-width: 1025px) {
    .faq-item {
        padding: 2rem;
    }
    .faq-question {
        font-size: 1.6rem;
    }
}


/* ==========================================================================
   メッセージセクション：想いを伝える
   ========================================================================== */
.p-message-section {
    padding: 12rem 5%;
    background: #fff;
    position: relative;
}

/* 柔らかな和紙のような質感の背景演出 */
.message-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem;
    background: var(--bg-color); /* #FDFCFB */
    border-radius: 40px;
    position: relative;
    border: 1px solid rgba(255, 158, 143, 0.2);
}

.message-inner {
    text-align: center;
}

.message-inner h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.message-body {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.message-body p {
    font-size: 1.7rem;
    line-height: 2;
    margin-bottom: 2.5rem;
    color: #555;
}

.message-body p span{
	display: inline-block;
}

.message-signature {
    margin-top: 5rem;
    text-align: right;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--main-color);
}

/* スマホ対応 */
@media screen and (max-width: 1025px) {
    .message-container {
        padding: 4rem 2rem;
    }
    .message-inner h2 {
        font-size: 2.4rem;
    }
    .message-body p {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   生産者LPフッター
   ========================================================================== */
.p-footer {
    background-color: #f8f9fa; /* 非常に薄いグレー */
    padding: 8rem 5% 15rem; /* 固定バナー分、下部を広めに空ける */
    border-top: 1px solid var(--accent-apricot);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.f-logo img {
    width: 32px;
    height: 32px;
}

.f-logo span {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 1px;
}

.f-tagline {
    font-size: 1.4rem;
    color: #888;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 6rem;
    flex: 1.5;
    justify-content: flex-end;
}

.nav-group h4 {
    font-size: 1.2rem;
    color: var(--sub-color);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.nav-group ul {
    list-style: none;
}

.nav-group ul li {
    margin-bottom: 1.2rem;
}

.nav-group ul li a {
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-group ul li a:hover {
    color: var(--main-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 6rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.copyright {
    font-size: 1.2rem;
    color: #bbb;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        justify-content: center;
        gap: 4rem;
    }
    .f-logo {
        justify-content: center;
    }
    .p-footer {
        padding: 6rem 5% 18rem;
    }
}

/* ==========================================================================
   登録モーダル
   ========================================================================== */
.p-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none; /* JSで control */
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.p-modal.is-active { display: flex; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-color);
    width: 100%;
    max-width: 500px;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modal-up 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.modal-header { text-align: center; margin-bottom: 3rem; }
.modal-header h3 { font-size: 2.4rem; font-weight: 900; color: var(--text-color); }

.form-item { margin-bottom: 2rem; }
.form-item label { display: block; font-size: 1.4rem; font-weight: 900; margin-bottom: 0.8rem; }
.form-item label span { color: var(--main-color); font-size: 1rem; margin-left: 0.5rem; }

.form-item input, .form-item select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--accent-apricot);
    font-size: 1.6rem;
}

.form-note { font-size: 1.1rem; color: #888; margin-top: 0.5rem; }
.form-submit { text-align: center; margin-top: 3rem; }
.form-submit .m-btn-gold { width: 100%; padding: 1.8rem; font-size: 1.8rem; }

.modal-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 3rem; color: #ccc; cursor: pointer;
}

/* ダウンロードボタンの非活性状態 */
.m-btn-gold.is-disabled {
    background: #ccc !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* フォーム注釈 */
.form-note {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--main-color);
    font-weight: bold;
}

/* ==========================================================================
   6. モバイルレスポンシブ (徹底改修版)
   ========================================================================== */
@media screen and (max-width: 1025px) {
    html { font-size: 55%; } /* 全体的に少し小さくして収める */

    .hero-container, .sns-service-container, .rebate-container, .footer-container { 
        flex-direction: column; text-align: center; gap: 6rem; 
    }

    /* 6ステップ：1列に */
    .p-step-grid-6 { grid-template-columns: 1fr; max-width: 500px; }
    .step-item { padding: 3rem 2.5rem; }
    .step-num { font-size: 7rem; top: -5px; }

    /* 売上還元セクション */
    .rebate-visual { order: 2; width: 100%; }
    .rebate-content { order: 1; }
    .rebate-circle { width: 180px; height: 180px; }
    .rebate-num { font-size: 5rem; }

    /* メッセージセクション */
    .message-container { padding: 4rem 2.5rem; border-radius: 30px; }
    .message-inner h2 { font-size: 2.2rem; margin-bottom: 3rem; }
    .message-body p { font-size: 1.5rem; margin-bottom: 2rem; line-height: 1.8; }

    /* 固定CTA */
    .f-cta-container { flex-direction: column; gap: 1rem; }
    .f-cta-btns { width: 100%; gap: 1rem; }
    .f-btn-download, .f-btn-consult { flex: 1; font-size: 1.2rem; padding: 1.5rem 0.5rem; justify-content: center; }
}

/* モーダル：画面からはみ出さない設定 */
@media screen and (max-height: 600px) {
    .modal-content { height: 90vh; overflow-y: auto; padding: 2rem; }
}