/* ========================================
   リセット & 基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   メインコンテナ（スクロールは全体で1箇所のみ）
======================================== */
.main {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========================================
   チャットコンテナ
======================================== */
.chat-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   進捗バー
======================================== */
.progress-container {
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-text {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

#currentStep {
    color: #667eea;
    font-size: 16px;
}

.progress-reward {
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

/* ========================================
   チャットメッセージエリア
======================================== */
.chat-messages {
    flex: 1;
    padding: 20px;
    padding-top: 100px; /* 進捗バーの高さ分 */
    overflow: visible;
}

/* ========================================
   メッセージ
======================================== */
.message {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0;
    animation: popIn 0.4s ease forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    60% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ボットメッセージ（左寄せ） */
.bot-message {
    align-items: flex-start;
    justify-content: flex-start;
}

/* ユーザーメッセージ（右寄せ） */
.user-message {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
}

.user-message .message-content {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ========================================
   アバター
======================================== */
.avatar {
    flex-shrink: 0;
}

.avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.avatar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-message .avatar-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
}

/* ========================================
   YouTube風バナー
======================================== */
.youtube-banner {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: popIn 0.4s ease forwards;
}

.youtube-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.youtube-banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid #667eea;
}

.youtube-banner-content {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.youtube-banner-title {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 12px;
    line-height: 1.5;
}

.youtube-banner-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.7;
}

.youtube-banner-subtitle strong {
    color: #764ba2;
    font-weight: 900;
}

/* モバイル最適化 */
@media (max-width: 480px) {
    .youtube-banner {
        border-radius: 12px;
    }
    
    .youtube-banner-content {
        padding: 16px;
    }
    
    .youtube-banner-title {
        font-size: 14px;
    }
    
    .youtube-banner-subtitle {
        font-size: 13px;
    }
}

/* ========================================
   アバターなしメッセージ
======================================== */
.message-content-no-avatar {
    margin-left: 62px; /* アバター幅(50px) + gap(12px) */
    max-width: calc(75% - 62px);
}

@media (max-width: 480px) {
    .message-content-no-avatar {
        margin-left: 52px; /* モバイル用調整 */
        max-width: calc(80% - 52px);
    }
}

/* ========================================
   メッセージコンテンツ
======================================== */

.youtube-banner-subtitle strong {
    color: #764ba2;
    font-weight: 900;
}

/* モバイル最適化 */
@media (max-width: 480px) {
    .youtube-banner {
        border-radius: 12px;
    }
    
    .youtube-banner-content {
        padding: 16px;
    }
    
    .youtube-banner-title {
        font-size: 14px;
    }
    
    .youtube-banner-subtitle {
        font-size: 13px;
    }
}

/* ========================================
   メッセージコンテンツ
======================================== */
.message-content {
    max-width: 75%;
}

.message-header {
    margin-bottom: 6px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sender-name {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

/* 「回答をやり直す」ボタン */
.undo-answer-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
.undo-answer-btn:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #999;
}
.undo-answer-btn:active {
    background: #eaeaea;
    transform: scale(0.97);
}
.undo-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.undo-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}
@media (max-width: 480px) {
    .undo-answer-btn {
        font-size: 10px;
        padding: 3px 8px;
    }
    .undo-icon {
        width: 11px;
        height: 11px;
    }
}

.message-text {
    background: #f8f8f8;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.bot-message .message-text {
    border-top-left-radius: 4px;
    text-align: left;
}

.bot-message .message-text p {
    text-align: left;
}

.user-message .message-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-top-right-radius: 4px;
    text-align: right;
}

.message-text p {
    margin-bottom: 12px;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text strong {
    font-weight: 700;
}

/* ========================================
   選択肢エリア
======================================== */
.chat-options {
    background: white;
    padding: 16px 20px 24px;
    border-top: 1px solid #e5e5e5;
}

.options-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* 質問2と4は1列表示 */
.options-group[data-question="2"],
.options-group[data-question="4"] {
    grid-template-columns: 1fr;
}

/* ========================================
   選択肢ボタン
======================================== */
.option-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.option-btn strong {
    display: block;
    width: 100%;
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: center;
}

.option-btn span {
    display: block;
    width: 100%;
    font-weight: 400;
    color: #666;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.option-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* モバイルでのhover状態を無効化 */
@media (hover: none) and (pointer: coarse) {
    .option-btn:hover {
        background: white;
        color: #333;
        border-color: #e0e0e0;
        transform: none;
        box-shadow: none;
    }
}

.option-btn:active {
    transform: translateY(0);
}

.option-btn:focus {
    outline: none;
}

/* モバイルでのタップハイライトを無効化 */
.option-btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* 選択後のボタン状態をクリア */
.option-btn.clicked {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 複数選択モード */
.option-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.option-btn.selected strong {
    color: white;
}

.option-btn.selected span {
    color: rgba(255, 255, 255, 0.9);
}

/* 複数選択の確定ボタン */
.confirm-multi-select {
    width: 100%;
    background: #06C755;
    border: none;
    border-radius: 50px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.confirm-multi-select:hover {
    background: #05b34c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
}

.confirm-multi-select:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.confirm-multi-select:active {
    transform: translateY(0);
}

/* ========================================
   テキスト入力フォーム
======================================== */
.text-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    width: 100%;
}

.text-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.text-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.text-input::placeholder {
    color: #999;
}

.text-submit-btn {
    width: 100%;
    background: #667eea;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.text-submit-btn:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.text-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.text-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.text-skip-btn {
    width: 100%;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.text-skip-btn:hover {
    border-color: #999;
    color: #333;
}

.text-skip-btn:active {
    transform: translateY(0);
}

/* モバイル対応 */
@media (max-width: 600px) {
    .text-input {
        font-size: 16px; /* iOS のズーム防止 */
    }
}

/* ========================================
   ローディングオーバーレイ
======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.loading-text {
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   最終結果（LINE誘導）
======================================== */
.result-container {
    text-align: center;
    padding: 20px 0;
}

.result-title {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 600;
}

/* ========================================
   最終画面バナー
======================================== */
.final-banner {
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.final-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   特典リスト
======================================== */
.benefits-list {
    margin: 24px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.benefit-item {
    display: flex;
    align-items: center; /* flex-start から center に変更 */
    gap: 12px;
    margin-bottom: 16px;
    animation: slideInLeft 0.5s ease forwards;
    opacity: 0;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.5s;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-check {
    font-size: 22px; /* 20px から 22px に拡大 */
    flex-shrink: 0;
    line-height: 1; /* 行高を1に設定 */
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.benefit-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    flex: 1; /* テキストが残りスペースを占める */
}

/* ========================================
   LINEボタン（最適化版エフェクト）
======================================== */
.line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #06C755 0%, #05b04b 100%);
    color: white;
    font-size: 19px;
    font-weight: 800;
    padding: 20px 45px;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* グラデーション背景アニメーション（控えめ） */
.line-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    animation: shine 4s infinite; /* 3s → 4s に変更 */
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* リップルエフェクト（控えめ） */
.line-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.line-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ホバーエフェクト（シンプル） */
.line-btn:hover {
    background: linear-gradient(135deg, #05b04b 0%, #049940 100%);
    transform: translateY(-2px) scale(1.03); /* 控えめに変更 */
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* クリックエフェクト */
.line-btn:active {
    transform: translateY(0) scale(1.01);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

/* パルスアニメーション（控えめ） */
.line-btn-pulse {
    animation: pulse-gentle 2.5s infinite; /* 2s → 2.5s、名前変更 */
}

@keyframes pulse-gentle {
    0% {
        box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4), 0 0 0 0 rgba(6, 199, 85, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4), 0 0 0 12px rgba(6, 199, 85, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4), 0 0 0 0 rgba(6, 199, 85, 0);
    }
}

/* アイコンの控えめなアニメーション */
.line-btn:hover .line-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.line-icon {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* ボタンテキスト */
.line-btn-text {
    position: relative;
    z-index: 1;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    .chat-container {
        max-width: 100%;
    }
    
    .progress-container {
        padding: 12px 16px;
    }
    
    .progress-header {
        margin-bottom: 10px;
    }
    
    .progress-text {
        font-size: 13px;
    }
    
    .progress-reward {
        font-size: 11px;
    }
    
    .chat-messages {
        padding: 16px;
        padding-top: 90px; /* モバイルでは進捗バーが少し小さい */
    }
    
    .message-content {
        max-width: 80%;
    }
    
    .avatar-icon {
        width: 44px;
        height: 44px;
    }
    
    .message-text {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .options-group {
        gap: 8px;
    }
    
    .option-btn {
        padding: 14px 10px;
        font-size: 13px;
    }
    
    .result-title {
        font-size: 15px;
        white-space: nowrap;
    }
    
    .final-banner {
        margin: 16px 0;
        border-radius: 8px;
    }
    
    .benefits-list {
        padding: 16px;
        margin: 20px 0;
    }
    
    .benefit-item {
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .benefit-check {
        font-size: 18px;
    }
    
    .benefit-text {
        font-size: 14px;
    }
    
    .line-btn {
        font-size: 16px;
        padding: 16px 32px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .options-group {
        grid-template-columns: 1fr;
    }
    
    .option-btn {
        padding: 14px 12px;
        font-size: 12px;
        min-height: 50px;
    }
}

/* ========================================
   ユーティリティ
======================================== */
.hidden {
    display: none !important;
}

/* ========================================
   追加特典セクション（v4.1.0）
======================================== */
.additional-benefits-section {
    width: 100%;
    background: #fff;
    margin-top: -12px;
    padding: 0;
}

/* スワイプ誘導 */
.swipe-indicator {
    text-align: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FF9A3C 0%, #FF6B35 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    animation: bounce-gentle 2s ease-in-out infinite;
}

.swipe-badge {
    background: #fff;
    color: #FF6B35;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.25);
}

.swipe-text {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 0;
}

.swipe-arrow {
    font-size: 22px;
    color: #fff;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes bounce-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

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

/* 追加特典コンテンツ */
.additional-benefits-content {
    padding: 32px 20px;
    background: #f8f9fa;
}

.additional-benefits-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    position: relative;
    white-space: nowrap;
}

.additional-benefits-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 特典カード */
.benefit-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-card-image {
    width: 100%;
    height: auto;
    display: block;
}

.benefit-card-text {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

/* モザイク風カード */
.benefit-card-mosaic {
    position: relative;
}

.mosaic-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
    border-bottom: 1px solid #ddd;
}

/* モザイク効果を追加 */
.mosaic-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(200, 200, 200, 0.1) 0px,
            rgba(200, 200, 200, 0.1) 8px,
            transparent 8px,
            transparent 16px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(200, 200, 200, 0.1) 0px,
            rgba(200, 200, 200, 0.1) 8px,
            transparent 8px,
            transparent 16px
        );
    pointer-events: none;
}

.line-register-btn {
    background: #2c3e50;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
}

.line-register-btn:hover {
    background: #34495e;
}

.benefit-card-content {
    padding: 24px 20px;
    background: #fff;
    text-align: center;
}

.mosaic-label {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 12px;
}

.mosaic-description {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.highlight-text {
    color: #764ba2;
    font-weight: 700;
}

/* 最下部CTA */
.final-cta-container {
    margin-top: 32px;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .additional-benefits-content {
        padding: 24px 16px;
    }
    
    .additional-benefits-title {
        font-size: 14px;
    }
    
    .swipe-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .swipe-text {
        font-size: 10px;
    }
    
    .benefit-card-text {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .mosaic-label {
        font-size: 16px;
    }
    
    .mosaic-features li {
        font-size: 13px;
        padding: 10px 0;
        padding-left: 24px;
    }
}

/* ========================================
   美容師タイプ別 診断カード
   ======================================== */
.benefit-card-diagnosis {
    background: linear-gradient(135deg, #fff5f7 0%, #fef0e6 100%);
    border: 2px solid #f48fb1;
    padding: 0;
    overflow: hidden;
}
.diagnosis-header {
    background: linear-gradient(135deg, #ec407a 0%, #ab47bc 100%);
    padding: 18px 20px;
    text-align: center;
    color: white;
}
.diagnosis-title {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.benefit-card-diagnosis .benefit-card-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}
.diagnosis-description {
    padding: 16px 20px 20px;
    background: white;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    text-align: center;
    margin: 0;
}
.diagnosis-description strong {
    color: #ec407a;
    font-weight: 700;
}
@media (max-width: 480px) {
    .diagnosis-title {
        font-size: 16px;
    }
    .diagnosis-description {
        font-size: 13px;
        padding: 14px 16px 18px;
    }
}

/* ========================================
   漫画形式マガジンカード
   ======================================== */
.benefit-card-magazine {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    border: 2px solid #ffa726;
    padding: 0;
    overflow: hidden;
}

.magazine-header {
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    padding: 20px;
    text-align: center;
    color: white;
    position: relative;
}

.magazine-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.magazine-title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.manga-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: white;
}

.manga-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.manga-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
}

.manga-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.manga-item:hover .manga-image {
    transform: scale(1.05);
}

.magazine-description {
    text-align: center;
    padding: 20px;
    background: white;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
    border-top: 2px dashed #ffa726;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .magazine-title {
        font-size: 17px;
    }
    
    .manga-gallery {
        gap: 10px;
        padding: 15px;
    }
    
    .magazine-description {
        font-size: 13px;
        padding: 16px;
    }
}

