/* ============================================
   ラブタイプ16診断 - メインスタイル
   カラー: ピンク & グリーン / 白背景

   カラーパレット:
   - ピンク: #FB64B6
   - グリーン: #00D5BE
   - 背景: 白
   ============================================ */

/* コンテナ */
.lt16-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* タブ切り替え */
.lt16-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #FB64B6;
}

.lt16-tab {
    flex: 1;
    padding: 12px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #FB64B6;
    transition: all 0.3s ease;
}

.lt16-tab:first-child {
    border-right: 1px solid #FB64B6;
}

.lt16-tab:hover {
    background: rgba(251, 100, 182, 0.1);
}

.lt16-tab.active {
    background: #FB64B6;
    color: #fff;
}

/* ヘッダー */
.lt16-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(251, 100, 182, 0.3);
}

.lt16-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #FB64B6;
}

.lt16-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* プログレスバー */
.lt16-progress-wrapper {
    margin-bottom: 30px;
}

.lt16-progress-bar {
    height: 8px;
    background: rgba(251, 100, 182, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.lt16-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FB64B6 0%, #ff8ac9 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.lt16-progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.lt16-progress-text .lt16-current {
    color: #FB64B6;
    font-weight: 700;
    font-size: 18px;
}

.lt16-progress-text .lt16-total {
    color: #999;
}

/* 質問エリア */
.lt16-questions {
    min-height: 280px;
}

.lt16-question {
    animation: lt16FadeIn 0.4s ease;
}

@keyframes lt16FadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lt16-question-number {
    display: inline-block;
    background: #FB64B6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.lt16-question-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* 回答ボタン */
.lt16-answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lt16-answer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

/* はい/肯定ボタン - ピンク */
.lt16-btn-yes {
    background: #FB64B6;
    color: #fff;
}

.lt16-btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 100, 182, 0.4);
}

.lt16-btn-yes:active {
    transform: translateY(-3px) scale(0.98);
}

/* いいえ/否定ボタン - グリーン */
.lt16-btn-no {
    background: #00D5BE;
    color: #fff;
}

.lt16-btn-no:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 213, 190, 0.4);
}

.lt16-btn-no:active {
    transform: translateY(-3px) scale(0.98);
}

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

/* 選択済み状態 */
.lt16-btn-yes.selected {
    box-shadow: 0 0 0 3px rgba(251, 100, 182, 0.5), 0 8px 25px rgba(251, 100, 182, 0.4);
}

.lt16-btn-no.selected {
    box-shadow: 0 0 0 3px rgba(0, 213, 190, 0.5), 0 8px 25px rgba(0, 213, 190, 0.4);
}

/* 計算中表示 */
.lt16-calculating {
    text-align: center;
    padding: 60px 20px;
}

.lt16-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(251, 100, 182, 0.3);
    border-top-color: #FB64B6;
    border-radius: 50%;
    animation: lt16Spin 1s linear infinite;
}

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

.lt16-calculating p {
    font-size: 16px;
    color: #FB64B6;
    margin: 0;
}

/* 結果表示 */
.lt16-result {
    text-align: center;
    padding: 40px 20px;
}

.lt16-result-inner {
    animation: lt16FadeIn 0.5s ease;
}

.lt16-result-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.lt16-result-type {
    font-size: 42px;
    font-weight: 700;
    color: #FB64B6;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.lt16-result-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.lt16-result-subtype {
    font-size: 16px;
    color: #00D5BE;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(0, 213, 190, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.lt16-retry-btn {
    padding: 15px 40px;
    background: #FB64B6;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.lt16-retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 100, 182, 0.4);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .lt16-container {
        padding: 20px 15px;
        border-radius: 15px;
        margin: 10px;
    }

    .lt16-title {
        font-size: 22px;
    }

    .lt16-question-text {
        font-size: 16px;
        padding: 15px;
    }

    .lt16-answer-btn {
        padding: 15px 18px;
    }

    .lt16-answer-text {
        font-size: 14px;
    }

    .lt16-tabs {
        flex-direction: column;
    }

    .lt16-tab:first-child {
        border-right: none;
        border-bottom: 1px solid #FB64B6;
    }

    .lt16-result-type {
        font-size: 32px;
    }

    .lt16-result-name {
        font-size: 22px;
    }
}
