/* --- LP基本設定 --- */
.app100-lp-wrap {
    font-family: "A P-OTF A1Gothic Std", "A1Gothic Std", sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    background-color: #f9f9f9;
}

.app100-lp-wrap * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.app100-lp-wrap .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.app100-lp-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.pc-only { display: block; }
.sp-only { display: none; }

/* --- ヘッダー --- */
.app100-lp-wrap .main-header {
    background-color: #c34180;
    color: #fff;
    padding-bottom: 20px;
    text-align: center;
}

.app100-lp-wrap .header-img {
    width: 100%;
    max-width: 920px;
}

.app100-lp-wrap .overlap-text-container {
    margin-top: -35px; 
    position: relative;
    z-index: 10;
}

.app100-lp-wrap .intro-text {
    font-size: 18px; 
    font-weight: bold;
    text-align: center;
    line-height: 1.8; 
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* --- コンテンツエリア --- */
.app100-lp-wrap .content-area {
    background-color: #f5bbc8;
    padding: 10px 0 20px; 
}

.app100-lp-wrap .dual-banners {
    display: flex;
    gap: 5px;
    margin-top: 10px;    
    margin-bottom: 45px; 
}

.app100-lp-wrap .banner-item { flex: 1; }

.app100-lp-wrap .campaign-box {
    background-color: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: visible !important;
    border: 2px solid transparent;
}

.app100-lp-wrap .pink-border { border-color: #c34180; }
.app100-lp-wrap .green-border { border-color: #009da4; }

/* --- リボンタイトル --- */
.app100-lp-wrap .campaign-title-wrapper {
    position: relative;
    width: calc(100% + 24px);
    margin: -30px -12px 10px -12px; 
    line-height: 0;
    z-index: 100;
}

.app100-lp-wrap .ribbon-bg {
    width: 100%;
    height: auto;
}

.app100-lp-wrap .campaign-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 30px; 
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    pointer-events: none;
}

.app100-lp-wrap .campaign-title-overlay span {
    color: #e6f281;
    font-style: italic;
    font-size: 1.1em;
    margin: 0 4px;
}

.app100-lp-wrap .campaign-inner {
    padding: 15px 20px 30px; 
    text-align: center;
}

.app100-lp-wrap .section-divider {
    color: #009da4;
    font-size: 44px; 
    font-weight: bold;
    text-align: center;
    margin: 10px 0 10px;
    letter-spacing: 0.1em;
}

.app100-lp-wrap .sub-text {
    font-weight: bold;
    color: #c34180;
    font-size: 24px; 
    margin-bottom: 20px;
    text-align: center;
}

.app100-lp-wrap .instruction {
    font-size: 18px; 
    margin: 20px 0;
   /*font-weight: bold; */
    font-family: "A P-OTF 中ゴシックBBB Pr6N", sans-serif;
    text-align: center;
}

/* -----------------------------------------------------------
   エントリーボタン関連
----------------------------------------------------------- */
.app100-lp-wrap .test.entry-form {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto 35px !important;
    box-shadow: none !important;
    text-align: center !important;
    position: relative !important;
}

.app100-lp-wrap .test.entry-form ul,
.app100-lp-wrap .test.entry-form li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.app100-lp-wrap .test .btn {
    display: block !important;
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    border: none !important;
    padding: 0 0 20px 0 !important;
    background: transparent !important;
}

.app100-lp-wrap .test .btn button {
    width: 100% !important;
    padding: 18px 60px 18px 35px !important; 
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    background: #c34180 !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 0 #9b2d62 !important; 
    transition: 0.1s !important;
    cursor: pointer !important;
    display: block !important;
    position: relative !important;
    text-align: center !important;
    outline: none !important;
    -webkit-appearance: none;
}

/* 装飾：白丸 */
.app100-lp-wrap .test .btn button::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
}

/* 装飾：矢印 */
.app100-lp-wrap .test .btn button::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 29px !important;
    z-index: 2 !important;
    width: 9px !important;
    height: 9px !important;
    border-top: 3px solid #c34180 !important;
    border-right: 3px solid #c34180 !important;
    transform: translateY(-50%) rotate(45deg) !important;
}

/* クリック時（沈み込み） */
.app100-lp-wrap .test .btn button:active {
    transform: translateY(3px) !important; 
    box-shadow: 0 3px 0 #9b2d62 !important; 
}

/* ★完了メッセージの表示位置修正：ボタンの外側へ強制的に出す★ */
.app100-lp-wrap .test.entry-form .add-complete-msg {
    display: block !important;
    margin-top: 20px !important; /* ボタンとの隙間 */
    font-weight: bold !important;
    font-size: 18px !important;
    text-align: center !important;
    color: #c34180 !important;
    line-height: 1.4 !important;
    /* ボタンの内部に入り込まないよう、標準的な配置に戻す */
    position: relative !important;
    z-index: 1 !important;
}

/* --- お申し込みボタン --- */
.app100-lp-wrap .orange-button-area { margin: 20px 0 40px; text-align: center; }
.app100-lp-wrap .btn-orange {
    display: inline-block;
    width: 90%;
    max-width: 400px;
    background-color: #00afa6;
    color: #fff !important;
    padding: 18px 60px 18px 35px;
    border-radius: 50px;
    box-shadow: 0 6px 0 #008780;
    position: relative;
    font-size: 22px; 
    transition: 0.1s;
    text-decoration: none !important;
}
.app100-lp-wrap .btn-orange:active { transform: translateY(3px); box-shadow: 0 3px 0 #008780; }
.app100-lp-wrap .btn-orange::after { content: ''; position: absolute; top: 50%; right: 18px; transform: translateY(-50%); width: 32px; height: 32px; background-color: #fff; border-radius: 50%; }
.app100-lp-wrap .btn-orange::before { content: ''; position: absolute; top: 50%; right: 29px; z-index: 2; width: 9px; height: 9px; border-top: 3px solid #00afa6; border-right: 3px solid #00afa6; transform: translateY(-50%) rotate(45deg); }

/* --- 注意事項 --- */
.app100-lp-wrap .notes { text-align: left; font-size: 15px; padding-top: 20px; margin-top: 10px; font-family: "A P-OTF 中ゴシックBBB Pr6N", sans-serif; }
.app100-lp-wrap .notes h3 { font-size: 18px; margin-bottom: 12px; color: #c34180; font-weight: bold; }
.app100-lp-wrap .notes.green-text h3 { color: #00afa6; }
.app100-lp-wrap .notes ul li { margin-bottom: 5px; list-style-type: none !important; }

.app100-lp-wrap .extra-campaign { text-align: center; margin: 40px 0; }
.app100-lp-wrap .extra-title { color: #333; font-size: 32px; font-weight: bold; margin-bottom: 20px; }

/* -----------------------------------------------------------
   アプリ紹介エリア
----------------------------------------------------------- */
.app100-lp-wrap .app-intro-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px 40px;
    margin: 40px auto;
    position: relative;
    max-width: 800px;
}

/* ↓ここから修正箇所↓ */
.app100-lp-wrap .app-intro-header-img {
    width: calc(100% + 50px);
    margin: -10px -25px 25px -25px; 
    position: relative; /* テキストを重ねるために追加 */
}

/* pictureタグにも幅100%を適用してレイアウト崩れを防ぐ */
.app100-lp-wrap .app-intro-header-img picture,
.app100-lp-wrap .app-intro-header-img img {
    width: 100%;
    height: auto;
    display: block; /* 余分な余白を消すため追加 */
}

/* 画像の上に重ねるテキスト用のスタイル */
.app100-lp-wrap .app-intro-header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 上下左右中央寄せ */
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff; /* 文字色（リボンに合わせて調整してください） */
    font-size: 22px; /* ★ PCでの文字サイズ ★ */
    font-weight: bold;
    text-align: center;
    pointer-events: none; /* テキストが画像のタップ・保存を邪魔しないようにする */
}
/* ↑ここまで修正箇所↑ */

.app100-lp-wrap .app-intro-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.app100-lp-wrap .app-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.app100-lp-wrap .app-icon-yellow-bg {
    background-color: #fff352;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.app100-lp-wrap .app-icon-yellow-bg img {
    width: 100px !important;
    box-shadow: none; 
}

.app100-lp-wrap .app-info-side {
    flex: 1;
    display: flex;
    align-items: center; /* 修正箇所：flex-startからcenterに変更（PC表示用の中央揃え） */
    gap: 12px;
}

.app100-lp-wrap .app-recommend-label {
    background-color: #c34180;
    color: #fff;
    writing-mode: vertical-rl;
    padding: 12px 8px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    font-size: 15px;
    flex-shrink: 0;
}

.app100-lp-wrap .app-point-list {
    list-style: none !important;
    padding-left: 0 !important;
    flex: 1;
    counter-reset: point-counter;
}

.app100-lp-wrap .app-point-list li {
    color: #c34180 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
    display: flex !important;
    align-items: flex-start;
}

.app100-lp-wrap .app-point-list li::before {
    counter-increment: point-counter;
    content: counter(point-counter) ".";
    margin-right: 4px;
    flex-shrink: 0;
}

.app100-lp-wrap .app-download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.app100-lp-wrap .store-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app100-lp-wrap .store-badge {
    width: 170px !important;
}

.app100-lp-wrap .qr-code {
    width: 75px !important;
    height: 75px !important;
}

/* --- レスポンシブ：768px以下 --- */
@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block; }

    /* ★ここで画像とテキストを近づけます★ */
    .app100-lp-wrap .overlap-text-container { 
        margin-top: -15px; /* 元の0からマイナスに変更しました */
    }

    /* 下部の重なり解消（リボン周りの余白をスマホ向けに最適化） */
    .app100-lp-wrap .campaign-title-wrapper {
        margin: -20px -12px 15px -12px; /* 下のテキストと重ならないよう下余白(15px)を確保 */
        width: calc(100% + 24px); 
    }

    /* テキストをリボンに乗せつつ、はみ出さないようにサイズを縮小 */
    .app100-lp-wrap .campaign-title-overlay {
        position: absolute; /* 絶対配置（リボンに乗せる設定）に戻す */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        margin: 0;
        padding: 0;
        color: #fff; /* 文字色を白に戻す */
        font-size: 22px; /* ★スマホのリボン高さに収まるサイズに縮小★ */
        line-height: 1.1;
        pointer-events: none;
    }

    /* 文字サイズ調整 */
    .app100-lp-wrap .intro-text { font-size: 14px; }
    .app100-lp-wrap .section-divider { font-size: 26px; }
    .app100-lp-wrap .sub-text { font-size: 17px; } 
    .app100-lp-wrap .instruction { font-size: 14px; } 

    /* スマホ：ボタン・完了メッセージの調整 */
    .app100-lp-wrap .test .btn button { font-size: 18px !important; }
    .app100-lp-wrap .test.entry-form .add-complete-msg { font-size: 14px !important; margin-top: 15px !important; }

    .app100-lp-wrap .btn-orange { font-size: 18px; }
    .app100-lp-wrap .notes { font-size: 14px; }
    .app100-lp-wrap .notes h3 { font-size: 16px; }
    .app100-lp-wrap .extra-title { font-size: 18px; } 
    .app100-lp-wrap .app-recommend-label { font-size: 12.5px; }
    .app100-lp-wrap .app-point-list li { font-size: 12.5px !important; }

    .app100-lp-wrap .app-intro-box { padding: 20px 10px; }
    .app100-lp-wrap .app-intro-header-img { width: 100%; margin: 0 0 20px 0; }
    
    /* ↓ここから修正箇所（スマホ用テキストサイズ）↓ */
    .app100-lp-wrap .app-intro-header-text { 
        font-size: 16px; /* ★ スマホでの文字サイズ ★ */
    } 
    /* ↑ここまで修正箇所↑ */

    .app100-lp-wrap .app-intro-flex { flex-direction: column; align-items: center; gap: 15px; }
    .app100-lp-wrap .app-icon-yellow-bg { width: 110px; height: 110px; }
    .app100-lp-wrap .app-icon-yellow-bg img { width: 70px !important; }
    .app100-lp-wrap .app-info-side { width: 100%; align-items: center; } 
    
    /* ↓今回修正した箇所（ストアアイコンを横並びに）↓ */
    .app100-lp-wrap .app-download-grid { 
        flex-direction: row; /* rowに変更して横並びに */
        justify-content: center; 
        gap: 10px; 
        padding: 0 5px; 
    }
    .app100-lp-wrap .store-item { 
        width: 48%; /* 横幅の半分弱ずつ割り当てて2つ並べる */
        max-width: none;
        justify-content: center;
        margin-bottom: 0;
    }
    .app100-lp-wrap .store-badge { 
        width: 100% !important; 
        max-width: 160px; 
    }
}