/*
Theme Name: Uresalo LP Custom
Description: レスポンシブ対応のLP用スタイル
*/

/* =========================================
   ベーススタイル (PC・共通)
   ========================================= */

/* LPエリア全体のベース */
/* ブラウザのデフォルト余白をリセット */
body {
    margin: 0 !important;
    padding: 0 !important;
}
.lp-wrapper {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    width: 100%;
    overflow-x: hidden; /* 横揺れ防止 */
    box-sizing: border-box;
}

/* 画像のレスポンシブ化 */
.lp-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* コンテナ (幅制限と中央寄せ) */
.lp-container {
    max-width: 1000px; /* PCでの最大幅 */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

/* セクション共通 */
.lp-section {
    padding: 80px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* 見出しのデザイン */
.lp-headline {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    line-height: 1.4;
    position: relative;
}

.lp-headline::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d4af37; /* ゴールド */
    margin: 20px auto 0;
}

/* -----------------------------------------
   各セクションの詳細
   ----------------------------------------- */

/* 1. ヒーローセクション */
.lp-hero {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.lp-hero-tag {
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.lp-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.lp-hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* CTAボタン */
.lp-btn {
    display: inline-block;
    background-color: #c0392b; /* 赤系 */
    color: #fff !important;
    padding: 20px 60px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    border-bottom: 4px solid #922b21; /* 立体感 */
}

.lp-btn:hover {
    background-color: #a93226;
    transform: translateY(2px);
    border-bottom: 2px solid #922b21;
    opacity: 1;
}

/* 2. 問題提起エリア */
.lp-problem {
    background-color: #f9f9f9;
}

.lp-problem-box {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 1.1rem;
}

/* 3. 事例 (Before/After) */
.lp-case-wrap {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.lp-case-item {
    flex: 1;
    position: relative;
    background: #eee;
    min-height: 250px;
}

.lp-case-label {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.9rem;
    z-index: 2;
}

/* 4. オファーエリア */
.lp-offer {
    border: 3px solid #d4af37;
    background-color: #fffaf0;
    padding: 60px 40px;
    text-align: center;
    border-radius: 4px;
}

.lp-offer-list {
    text-align: left;
    display: inline-block;
    font-size: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
}

.lp-offer-list li {
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.lp-price {
    font-size: 4rem;
    color: #c0392b;
    font-weight: bold;
    margin: 20px 0;
    line-height: 1;
}

.lp-price span {
    font-size: 1.2rem;
    color: #333;
    font-weight: normal;
}

/* 5. アコーディオン (footer.phpのJS対応) */
.accordion_one {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ccc;
}

.accordion_one .ac_header {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: background 0.3s;
    border-bottom: 1px solid #ccc;
}

.accordion_one .ac_header:hover {
    background-color: #f7f7f7;
}

/* 開いたときの色（ゴールド） */
.accordion_one .ac_header.open {
    background-color: #d4af37;
    color: #fff;
    border-bottom: none;
}

/* 矢印アイコンの作成 (CSSのみで実装) */
.accordion_one .ac_header::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: normal;
}

.accordion_one .ac_header.open::after {
    content: "-";
}

.accordion_one .ac_inner {
    display: none;
    padding: 30px;
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    line-height: 1.8;
}


/* =========================================
   レスポンシブ (スマホ・タブレット)
   ========================================= */

@media screen and (max-width: 768px) {

    /* 全体の余白を詰める */
    .lp-section {
        padding: 50px 0;
    }

    .lp-container {
        padding: 0 15px; /* 横の余白を少し狭く */
    }

    /* 見出しのサイズダウン */
    .lp-headline {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .lp-headline::after {
        margin-top: 15px;
    }

    /* ヒーローエリア */
    .lp-hero {
        padding: 60px 0;
    }

    .lp-hero-title {
        font-size: 1.8rem; /* 大きすぎないように */
        margin-bottom: 20px;
    }

    .lp-hero-desc {
        font-size: 1rem;
        text-align: left; /* スマホでは左寄せの方が読みやすい場合が多い */
    }

    /* 問題提起ボックス */
    .lp-problem-box {
        padding: 30px 20px;
        font-size: 1rem;
    }

    /* 画像レイアウト (縦積みに変更) */
    .lp-case-wrap {
        flex-direction: column; /* 縦並び */
        gap: 15px;
    }

    .lp-case-item {
        width: 100%; /* 横幅いっぱい */
        min-height: 200px;
    }

    /* オファーエリア */
    .lp-offer {
        padding: 40px 15px;
    }

    .lp-offer-list {
        font-size: 1rem;
        width: 100%;
    }

    .lp-price {
        font-size: 2.8rem; /* 価格文字サイズ調整 */
    }
    
    .lp-price span {
        display: block; /* 税表記を改行 */
        margin-top: 5px;
        font-size: 1rem;
    }

    /* ボタン (タップしやすく最大化) */
    .lp-btn {
        width: 100%; /* 横幅いっぱい */
        box-sizing: border-box; /* パディングを含めて100%にする */
        padding: 18px;
        font-size: 1.2rem;
        text-align: center;
    }

    /* アコーディオン */
    .accordion_one .ac_header {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .accordion_one .ac_inner {
        padding: 20px 15px;
    }
}
.l_fixed {
    position: fixed;
    z-index: 70;
}
@media screen and (min-width:768px) {
.l_fixed {
right: 10px;
    bottom: 20px;
    width: 90px;
    height: 90px;
}
}
@media screen and (max-width: 480px) {
    .l_fixed {
        right: 10px;
        bottom: 30px;
        width: 90px;
        height: 90px;
    }
}
