/* --- LP基本設定 (PC向けベース) --- */
.merryupto5x-lp-wrap {
    font-family: "Yu Gothic", "YuGothic", "游ゴシック", "游ゴシック体", sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    background-color: #e25275; /* 指定背景カラー */
    padding-bottom: 20px;
}

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

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

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

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

/* --- ヘッダー --- */
.merryupto5x-lp-wrap .main-header {
    background-color: transparent;
    color: #333;
    text-align: center;
}

.merryupto5x-lp-wrap .title-banner {
    width: 100%;
    background: transparent;
    padding: 0;
}

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

/* --- イントロエリア (メリポくんとテキスト) --- */
.intro-area {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
}
.intro-left {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}
.intro-left img {
    width: 100%;
    max-width: 140px;
    margin-top: 5px;
}
.intro-text-right {
    width: 75%;
    padding: 25px 20px;
    color: #fff;
    font-weight: bold;
    line-height: 1.8;
    font-size: 24px;
    /* タイプスクエア指定 */
    font-family: "Koburina Gothic W6 JIS2004", sans-serif;
    /* 中央配置のための追記 */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* テキストを左揃えにするためのインナー要素 */
.intro-text-inner {
    text-align: left;
}

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

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

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

.merryupto5x-lp-wrap .campaign-image {
    margin-bottom: 20px;
}

.merryupto5x-lp-wrap .instruction {
    font-size: 22px;
    font-weight: bold;
    margin: 30px 0 20px;
    text-align: center;
}

/* --- エントリーボタン関連 --- */
/* サイズ選択プルダウンを非表示 */
.merryupto5x-lp-wrap .test.entry-form .size {
    display: none !important;
}

.merryupto5x-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;
}

.merryupto5x-lp-wrap .test.entry-form ul,
.merryupto5x-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;
}

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

.merryupto5x-lp-wrap .test .btn button {
    width: 100% !important;
    padding: 18px 20px !important; 
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    background: #e25275 !important; /* 指定カラー */
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 0 #b33956 !important; 
    transition: 0.1s !important;
    cursor: pointer !important;
    display: block !important;
    position: relative !important;
    text-align: center !important;
    outline: none !important;
    -webkit-appearance: none;
}

/* ★修正部分：文字（機種依存文字）を使わず、CSSのborderで三角形を描画します (エントリーボタンの▶︎は削除しました) */

.merryupto5x-lp-wrap .test .btn button:active {
    transform: translateY(3px) !important; 
    box-shadow: 0 3px 0 #b33956 !important; 
}

/* エントリークリック後のメッセージ（成功・エラー共通） */
.merryupto5x-lp-wrap .test.entry-form .txt,
.merryupto5x-lp-wrap .test.entry-form .txt_error,
.merryupto5x-lp-wrap .test.entry-form p[class*="tfxInfomationMessage"],
.merryupto5x-lp-wrap .test.entry-form p[class*="tfxErrorMessage"] {
    color: #e25275 !important;
    font-weight: bold !important;
    margin-top: 15px !important;
    font-size: 16px;
}

.merryupto5x-lp-wrap .entry-status-note {
    font-size: 16px;
    text-align: center;
    margin-top: 12px;
    color: #333;
    font-weight: bold;
}

/* ショッピングバッグリンクのアンダーバー＆ホバー対応追加 */
.merryupto5x-lp-wrap .entry-status-note a {
    color: #333;
    text-decoration: underline;
    transition: color 0.2s ease;
}

/* ★青系のカラーに変更しました */
.merryupto5x-lp-wrap .entry-status-note a:hover {
    color: #0066cc;
}

/* --- 注意事項 --- */
.merryupto5x-lp-wrap .notes { 
    text-align: left; 
    font-size: 16px; 
    padding-top: 20px; 
    margin-top: 20px; 
    /* タイプスクエア指定 */
    font-family: "Gothic Medium BBB JIS2004", sans-serif;
}
.merryupto5x-lp-wrap .notes-title { 
    font-size: 16px; 
    margin-bottom: 12px; 
    color: #e25275; 
    font-weight: bold; 
}
.merryupto5x-lp-wrap .notes-list li { 
    margin-bottom: 5px; 
    list-style-type: none !important; 
    line-height: 1.5;
    padding-left: 1em; /* ぶら下がりインデント用：1文字分あける */
    text-indent: -1em; /* ぶら下がりインデント用：1行目を1文字分戻す */
}
.merryupto5x-lp-wrap .code-right {
    text-align: right;
    font-size: 12px;
    margin-top: 10px;
}

/* --- 秋割エリア --- */
.merryupto5x-lp-wrap .akiwari-box {
    background-color: #d8d200; /* 指定カラー */
    border-radius: 15px;
    margin: 60px auto 40px;
    position: relative;
    max-width: 800px;
    /* タイプスクエア指定 */
    font-family: "UD Shin Go Conde70 DB", sans-serif;
}

.merryupto5x-lp-wrap .akiwari-tab {
    background-color: #2b2322;
    color: #fff;
    text-align: center;
    padding: 6px 30px;
    width: 85%;
    max-width: 500px;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 48px;
    letter-spacing: 0.1em;
    clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}

.merryupto5x-lp-wrap .akiwari-inner {
    padding: 50px 20px 30px;
    position: relative;
}

.merryupto5x-lp-wrap .akiwari-header {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin: 30px 0px 10px;
    letter-spacing: 0.1em; /* 行間指定を削除し、文字間隔(letter-spacing)を追加 */
}

.merryupto5x-lp-wrap .akiwari-header-text {
    position: relative;
    display: inline-block;
}

.merryupto5x-lp-wrap .meripo-2-img {
    position: absolute;
    bottom: -5px;
    left: 100%;
    width: 120px;
    margin-left: 15px;
}

.merryupto5x-lp-wrap .btn-black-wrap {
    text-align: center;
    margin: 30px 0;
}

.merryupto5x-lp-wrap .btn-black {
    display: inline-block;
    width: 90%;
    max-width: 450px;
    background-color: #000000; /* 指定カラー */
    color: #fff !important;
    padding: 18px 60px 18px 35px;
    border-radius: 50px;
    box-shadow: 0 6px 0 #333333;
    position: relative;
    font-size: 22px; 
    font-weight: bold;
    transition: 0.1s;
    text-decoration: none !important;
    font-family: "Koburina Gothic W6 JIS2004", sans-serif;
}

.merryupto5x-lp-wrap .btn-black:active { 
    transform: translateY(3px); 
    box-shadow: 0 3px 0 #333333; 
}

/* ★修正部分：文字（機種依存文字）を使わず、CSSのborderで三角形を描画します */
.merryupto5x-lp-wrap .btn-black::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    right: 25px; 
    transform: translateY(-50%); 
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
}

.merryupto5x-lp-wrap .akiwari-box .notes-title,
.merryupto5x-lp-wrap .akiwari-box .notes-list li {
    color: #333; /* 秋割エリアの注意書きは視認性のため黒ベース */
}

/* --- 下部キャンペーンエリア --- */
.merryupto5x-lp-wrap .extra-campaign { 
    text-align: center; 
    margin: 50px 0; 
}

.merryupto5x-lp-wrap .extra-header-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.merryupto5x-lp-wrap .merry-icon {
    width: 100px;
    height: auto;
    margin: 0; 
}

.merryupto5x-lp-wrap .extra-title-multi {
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

.merryupto5x-lp-wrap .extra-title-multi .text-white { color: #ffffff; }

.merryupto5x-lp-wrap .extra-title { 
    color: #ffffff; 
    font-size: 24px; 
    font-weight: bold; 
    margin-bottom: 20px; 
}

.merryupto5x-lp-wrap .extra-banner img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

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

    /* 全体のフォントサイズと余白 */
    .merryupto5x-lp-wrap { font-size: 14px; padding-bottom: 20px; }
    .merryupto5x-lp-wrap .container { padding: 0 10px; }

    /* イントロエリア */
    .intro-area { flex-direction: row; margin: 0 auto; }
    .intro-left { width: 35%; padding: 10px 5px 10px 30px; }
    .intro-left img { max-width: 90px; margin-top: 5px; }
    .intro-text-right { width: 70%; padding: 15px; font-size: 16px; line-height: 1.6; }

    /* コンテンツエリア全体 */
    .merryupto5x-lp-wrap .content-area { padding: 10px 0 20px; }
    
    /* キャンペーンエリア */
    .merryupto5x-lp-wrap .campaign-box { margin-bottom: 20px; }
    .merryupto5x-lp-wrap .campaign-inner { padding: 20px 15px 20px; }
    .merryupto5x-lp-wrap .campaign-image { margin-bottom: 15px; }
    .merryupto5x-lp-wrap .instruction { font-size: 18px; margin: 20px 0 15px; }
    
    /* エントリーボタン関連 */
    .merryupto5x-lp-wrap .test.entry-form { margin: 0 auto 25px !important; }
    .merryupto5x-lp-wrap .test .btn button { 
        font-size: 18px !important; 
        padding: 15px 20px !important; 
    }

    /* エントリークリック後のメッセージ（成功・エラー共通）スマホ用サイズ調整 */
    .merryupto5x-lp-wrap .test.entry-form .txt,
    .merryupto5x-lp-wrap .test.entry-form .txt_error,
    .merryupto5x-lp-wrap .test.entry-form p[class*="tfxInfomationMessage"],
    .merryupto5x-lp-wrap .test.entry-form p[class*="tfxErrorMessage"] {
        font-size: 14px !important;
        margin-top: 10px !important;
    }

    .merryupto5x-lp-wrap .entry-status-note { font-size: 14px; margin-top: 10px; }
    
    /* 注意事項 */
    .merryupto5x-lp-wrap .notes { font-size: 14px; padding-top: 15px; margin-top: 15px; }
    .merryupto5x-lp-wrap .notes-title { font-size: 14px; margin-bottom: 10px; }
    .merryupto5x-lp-wrap .code-right { font-size: 10px; margin-top: 8px; }

    /* 秋割エリア */
    .merryupto5x-lp-wrap .akiwari-box { margin: 40px auto 30px; }
    .merryupto5x-lp-wrap .akiwari-tab {
        font-size: 30px;
        padding: 10px 20px;
        width: 90%;
        top: -20px;
        clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    }
    .merryupto5x-lp-wrap .akiwari-inner { padding: 40px 15px 20px; }
    
    .merryupto5x-lp-wrap .akiwari-header { 
        font-size: 24px; 
        text-align: center; 
        margin-right: 0px; 
        margin: 20px 25px 10px;
    }
    
    .merryupto5x-lp-wrap .meripo-2-img { 
        width: 90px;
        margin-left: 10px;
        bottom: 5px; 
    }
    
    .merryupto5x-lp-wrap .btn-black-wrap { margin: 20px 0; }
    .merryupto5x-lp-wrap .btn-black { 
        font-size: 18px !important; 
        padding: 15px 40px 15px 20px !important;
    }

    /* 下部キャンペーンエリア */
    .merryupto5x-lp-wrap .extra-campaign { margin: 40px 0; }
    .merryupto5x-lp-wrap .extra-header-with-icon { gap: 10px; margin-bottom: 20px; }
    .merryupto5x-lp-wrap .merry-icon { width: 80px; }
    .merryupto5x-lp-wrap .extra-title-multi { font-size: 18px; }
    .merryupto5x-lp-wrap .extra-title { font-size: 16px; margin-bottom: 15px; }
}