@charset "UTF-8";

/* ==========================================================================
   プレミアスタートキャンペーン専用スタイル (レスポンシブ最適化版)
   ========================================================================== */

/* 全体テキストの改行・溢れ防止設定 */
body {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ページメインタイトル装飾 */
.section-title {
    position: relative;
    padding-left: 15px;
    border-left: 6px solid var(--accent);
    line-height: 1.2;
}

/* ベースカード */
.campaign-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
    width: 100%;
}

/* セクションカードタイトルの装飾（改行・はみ出し修正版） */
.card-title {
    color: var(--accent);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff2f4;
    
    /* 以下が改行を有効にするポイントや！ */
    display: block;               /* flexからblockに変更して改行を許可 */
    white-space: normal;          /* 自動改行を有効化 */
    word-break: break-word;       /* 長い単語や日本語を枠内で折り返す */
    overflow-wrap: anywhere;      /* 万が一の枠外はみ出しを防止 */
    position: relative;
    padding-left: 15px;           /* 左側の線用の余白 */
}

/* タイトル左側の縦線アクセント */
.card-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 6px;
    height: 1.1em;
    background-color: var(--accent);
    border-radius: 3px;
}
.card-lead {
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.6;
}

.sub-text {
    color: var(--sub);
    font-size: 0.9em;
    line-height: 1.6;
}

/* 1. チェックリスト */
.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1em;
}

/* 警告・注釈ボックス */
.alert-box {
    background: #fff0f2;
    border-left: 4px solid var(--accent);
    padding: 15px;
    border-radius: 8px;
    color: var(--accent-dark);
    font-weight: bold;
    font-size: 0.88em;
    line-height: 1.6;
}

/* ハイライトカード */
.highlight-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff6f7 100%);
    border: 2px solid var(--accent);
}

/* グリッドレイアウト（スマホ時は自動で1列） */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 達成報酬ボックス（はみ出し防止改修） */
.reward-box {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 15px;
    box-sizing: border-box;
    width: 100%;
}

.reward-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap; /* スマホで文字が溢れたら折り返し */
}

.reward-title {
    font-weight: bold;
    color: var(--text);
    font-size: 0.95em;
    line-height: 1.4;
}

.reward-price {
    font-size: 1.15em;
    font-weight: bold;
    color: var(--accent);
    white-space: nowrap; /* 金額は途中で改行させない */
}

.mini-list {
    padding-left: 18px;
    margin: 0;
    font-size: 0.88em;
    color: #444;
    line-height: 1.6;
}

.mini-list li {
    margin-bottom: 6px;
}

/* サブセクション */
.sub-section {
    background: #fdfdfd;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 15px;
    margin-top: 20px;
    box-sizing: border-box;
}

.sub-title {
    font-size: 17px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sub-title::before {
    content: "●";
    font-size: 0.6em;
    color: var(--accent);
}

.cond-block {
    margin-top: 12px;
    font-size: 0.88em;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed var(--border);
    line-height: 1.6;
}

.dot-list {
    padding-left: 18px;
    margin-top: 6px;
    line-height: 1.6;
}

/* テーブル（保証額） */
.table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 450px; /* 横スクロールを機能させるための最低幅 */
    border-collapse: collapse;
    font-size: 0.85em;
    text-align: center;
}

.data-table th, .data-table td {
    padding: 10px 8px;
    border: 1px solid var(--border);
}

.data-table th {
    background: #fff2f4;
    color: var(--accent-dark);
    font-weight: bold;
}

.data-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* 5. 情報ブロック */
.info-block {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 15px;
    box-sizing: border-box;
}

.block-label {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 0.95em;
}

/* 6. 特典ボックス */
.gift-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.gift-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff6f7;
    padding: 15px;
    border-radius: 12px;
    box-sizing: border-box;
}

.gift-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.gift-item p {
    margin: 0;
    font-size: 0.88em;
    line-height: 1.6;
}

/* 7. 2倍増額スペシャルカード */
.special-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #3a3a3a 100%);
    color: #ffffff;
    border: none;
}

.special-card .card-title::before {
    background-color: #ff5a79;
}

.special-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.special-badge {
    background: #ff5a79;
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.text-white {
    color: #ffffff !important;
    border: none !important;
}

.highlight-text {
    color: #ff859c;
    font-size: 1.1em;
    font-weight: bold;
    margin: 15px 0;
    line-height: 1.5;
}

.double-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.double-title {
    font-size: 0.95em;
    color: #ff859c;
    margin-bottom: 10px;
}

.double-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.double-grid div {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    line-height: 1.5;
}

.double-grid span {
    display: block;
    font-size: 0.8em;
    color: #ccc;
}

.double-grid strong {
    color: #fff;
    font-size: 1.05em;
}

/* ==========================================================================
   スマホ専用の微調整 (画面幅 600px 以下)
   ========================================================================== */
@media (max-width: 600px) {
    .campaign-card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .card-title {
        font-size: 18px;
    }

    .grid-2col {
        grid-template-columns: 1fr; /* 1列に固定 */
    }

    .reward-header {
        flex-direction: row;
        align-items: baseline;
    }

    .gift-item {
        flex-direction: column;
        gap: 8px;
    }

    .double-grid {
        grid-template-columns: 1fr; /* 1列に固定 */
    }
}

/* テーブル上の注意書き */
.table-notice {
    font-size: 0.75em;
    color: #888;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: right;
}

/* テーブルデザイン微調整 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    min-width: 480px; /* スクロールさせるため最低幅を確保 */
    border-collapse: collapse;
    white-space: nowrap; /* 表内の意図しない改行を防ぐ */
}

.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

@charset "UTF-8";

/* ==========================================================================
   画像LP用レイアウト設定
   ========================================================================== */

.main-campaign-lp {
    width: 100%;
    background-color: #fcf8f2; /* 画像の背景色に合わせたトーン（違和感防止） */
    padding-top: 20px;
    padding-bottom: 40px;
}

.lp-container {
    max-width: 800px; /* 画像の可読性を保つ最大幅設定 */
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-item {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0; /* 画像上下の不要な隙間（白線）を徹底排除 */
}

.lp-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* お問い合わせバナーのアニメーションと装飾 */
.lp-cta-link {
    display: block;
    width: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-cta-link:hover {
    transform: scale(0.98);
    opacity: 0.9;
}

/* イメージマップ用のリンク表示設定 */
.map-link {
    cursor: pointer;
    outline: none;
}