/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - ブルー系 */
    --primary-color: #4A90E2;
    --secondary-color: #7AB8E8;
    --accent-color: #5DADE2;
    --background-color: #fff4ec;
    --card-bg: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --border-color: #D6E9F8;
    
    /* タイプ別カラー */
    --type-a-color: #5DADE2;
    --type-b-color: #85C1E9;
    --type-c-color: #AED6F1;
    --type-d-color: #3498DB;
    --type-e-color: #2E86C1;
    --type-f-color: #1F618D;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* ========================================
   画面切り替え
======================================== */
.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    min-height: 100vh;
}

.screen.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

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

/* ========================================
   スタート画面
======================================== */
.hero {
    text-align: center;
    padding: 4rem 0 5rem;
    max-width: 700px;
    margin: 0 auto;
}

.logo-wrapper {
    margin: 0 auto 1.5rem;
    text-align: center;
}

.header-logo {
    width: 180px;
    max-width: 180px;
    height: auto;
    display: inline-block;
}

.icon-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.25);
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4fd 100%);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-color);
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.main-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.lead-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 3rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.info-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 32px;
    text-align: center;
    opacity: 0.9;
}

/* ========================================
   ボタン
======================================== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    font-family: 'Noto Sans JP', sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #5DADE2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(74, 144, 226, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-large {
    padding: 1.4rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

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

/* ========================================
   質問画面のロゴ
======================================== */
.quiz-logo-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.quiz-logo {
    width: 120px;
    max-width: 120px;
    height: auto;
    display: inline-block;
}

/* ========================================
   プログレスバー
======================================== */
.progress-wrapper {
    margin-bottom: 2.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-text {
    font-weight: 500;
}

.progress-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* ========================================
   質問カード
======================================== */
.quiz-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.question-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ========================================
   選択肢
======================================== */
.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}

.option-btn:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateX(5px);
}

.option-btn:hover:before {
    transform: scaleY(1);
}

.option-btn.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

.option-btn.selected:before {
    transform: scaleY(1);
}

/* ========================================
   ナビゲーション
======================================== */
.navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.navigation .btn {
    flex: 1;
}

/* ========================================
   結果画面：2ブロック構造
======================================== */

/* 外側のコンテナ */
.result-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   ① .result-block（読むゾーン）
======================================== */
.result-block {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    text-align: center;
}

.result-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.result-icon {
    width: 100%;
    height: auto;
    margin: 0 0 2.5rem 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: fadeInScale 0.6s ease;
}

.result-icon img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 診断タイプ名（h1） */
.result-type-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* 要約コピー（h2） */
.result-summary {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4A5568;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    padding: 0 1rem;
}

/* 説明本文（p） */
.result-description-text {
    font-size: 1.05rem;
    color: #2D3748;
    line-height: 1.9;
    margin: 0 0 2.5rem 0;
    text-align: left;
    padding: 0 0.5rem;
}

/* おすすめアクション（小カード） */
.advice-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    margin-top: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 2px solid #E2E8F0;
    text-align: left;
}

.advice-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2C5282;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.advice-card-title i {
    color: #FFB74D;
    font-size: 1.3em;
}

.advice-card-content {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.8;
}

/* ========================================
   ② .action-block（行動ゾーン）
======================================== */
.action-block {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.25);
    border: 3px solid #FFB74D;
    text-align: center;
    position: relative;
}

.action-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF9800, #FFB74D, #FFC107, #FFB74D, #FF9800);
    background-size: 200% 100%;
    border-radius: 24px 24px 0 0;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* 見出し（h3） */
.action-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 1.75rem 0;
    line-height: 1.5;
    padding: 0 1rem;
}

/* 説明文（p） */
.action-description {
    font-size: 1.05rem;
    color: #2D3748;
    line-height: 1.9;
    margin: 0 0 1.25rem 0;
}

.action-description strong {
    color: #C05621;
    font-weight: 700;
}

.action-highlight {
    color: #2C5282;
    font-weight: 600;
}

.action-next-step {
    font-size: 1.1rem;
    color: #1A1A1A;
    line-height: 1.8;
    margin: 1.5rem 0 2.5rem 0;
    font-weight: 600;
}

.action-next-step strong {
    color: #D97706;
}

/* メインボタンコンテナ */
.action-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* メインボタン */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 500px;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: buttonPulse 2.5s ease-in-out infinite;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.6);
}

.cta-button i {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(8px);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 152, 0, 0.7);
    }
}

/* メインボタン */
.action-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    width: 100%;
    max-width: 500px;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: buttonPulse 2.5s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.6);
}

.cta-button i {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(8px);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 152, 0, 0.7);
    }
}

/* 補足 */
.action-note {
    font-size: 0.95rem;
    color: #8B7355;
    margin: 1rem 0 0 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.action-note i {
    color: #FF9800;
}

.action-note .divider {
    color: #D4A574;
}

/* ========================================
   2ブロック構成: ①診断概要 / ②メールフォーム遷移
======================================== */
.info-block {
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-block:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* ①診断概要ブロック */
.block-summary {
    background: linear-gradient(135deg, #F0F8FF 0%, #E3F2FD 100%);
    border: 2px solid #B3D9FF;
}

/* ②メールフォーム遷移ブロック */
.block-form {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE5B4 100%);
    border: 3px solid #FFB74D;
}

/* ブロックヘッダー */
.block-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.block-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid rgba(74, 144, 226, 0.3);
    display: inline-block;
}

.block-form .block-title {
    border-bottom-color: #FFB74D;
}

/* ブロック内のコンテンツ */
.block-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 文字のメリハリ */
.emphasis-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C3E50;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.emphasis-text strong {
    color: #E67E22;
    font-weight: 700;
    font-size: 1.1em;
}

.normal-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5A6C7D;
    margin-bottom: 1rem;
}

.highlight {
    color: #4A90E2;
    font-weight: 600;
}

.detail-request-note {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    background: #FFF9E6;
    border-left: 3px solid #F39C12;
    border-radius: 4px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
    width: 20px;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: var(--transition);
    background: #FFFFFF;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 180, 162, 0.1);
}

.form-input::placeholder {
    color: #BDBDBD;
}

.form-input-disabled {
    background: #F5F5F5;
    color: #999;
    cursor: not-allowed;
}

.registration-success {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    animation: fadeIn 0.5s ease;
}


.btn-helper-text {
    text-align: center;
    color: #FF8C00;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}

.btn-helper-text i {
    margin-right: 0.25rem;
}

.hubspot-redirect-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #F0F8FF;
    border-radius: 8px;
    border-left: 3px solid #4A90E2;
}

.hubspot-redirect-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.hubspot-url-display {
    margin-top: 0.75rem;
    word-break: break-all;
}

.hubspot-url-display small {
    font-size: 0.85rem;
    color: #666;
}

.registration-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.registration-success h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.registration-success p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.result-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ========================================
   SNSシェアセクション
======================================== */
.social-share-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.social-share-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.social-share-section h3 i {
    color: var(--primary-color);
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.btn-instagram {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
    color: white;
    border: none;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #DD2A7B, #8134AF, #515BD4);
}

.btn-facebook {
    background: #1877F2;
    color: white;
    border: none;
}

.btn-facebook:hover {
    background: #0C63D4;
}

.btn-twitter {
    background: #000000;
    color: white;
    border: none;
}

.btn-twitter:hover {
    background: #333333;
}

/* ========================================
   ページ下部の戻るボタン
======================================== */
.back-to-start {
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.btn-text-link {
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    box-shadow: none;
    border: none;
    text-decoration: none;
    transition: var(--transition);
}

.btn-text-link:hover {
    color: var(--primary-color);
    transform: translateY(0);
    box-shadow: none;
}

.btn-text-link i {
    font-size: 0.85rem;
}

/* ========================================
   タイプ別カラー
======================================== */
.type-a .result-icon {
    background: linear-gradient(135deg, var(--type-a-color), #7AB8E8);
}

.type-b .result-icon {
    background: linear-gradient(135deg, var(--type-b-color), #AED6F1);
}

.type-c .result-icon {
    background: linear-gradient(135deg, var(--type-c-color), #D6EAF8);
}

.type-d .result-icon {
    background: linear-gradient(135deg, var(--type-d-color), #5DADE2);
}

.type-e .result-icon {
    background: linear-gradient(135deg, var(--type-e-color), #3498DB);
}

.type-f .result-icon {
    background: linear-gradient(135deg, var(--type-f-color), #2874A6);
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .icon-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .info-box {
        padding: 2rem 1.5rem;
    }
    
    .quiz-logo {
        width: 100px;
        max-width: 100px;
    }
    
    .quiz-card {
        padding: 2.5rem 2rem;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    .result-card {
        padding: 2.5rem 2rem;
    }
    
    .result-type {
        font-size: 1.6rem;
    }
    
    /* 2ブロック構成のレスポンシブ対応 */
    .info-block {
        padding: 1.5rem 1.75rem;
        margin: 1rem 0;
    }
    
    .block-title {
        font-size: 1.15rem;
    }
    
    .block-content {
        padding: 1.5rem;
    }
    
    .emphasis-text {
        font-size: 1rem;
    }
    
    .normal-text {
        font-size: 0.9rem;
    }
    
    .btn-next-page {
        font-size: 1.15rem !important;
        padding: 1.5rem 2rem !important;
        gap: 0.75rem;
    }
    
    .btn-next-page i {
        font-size: 1.1em;
    }
    
    .btn-helper-text {
        font-size: 0.85rem;
    }
    }
    
    .navigation {
        flex-direction: column-reverse;
    }
    
    .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.05rem;
    }
    
    /* 2ブロック構造のレスポンシブ */
    .result-container {
        max-width: 100%;
    }
    
    .result-block,
    .action-block {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .result-type-name {
        font-size: 1.9rem;
    }
    
    .result-summary {
        font-size: 1.15rem;
    }
    
    .result-description-text {
        font-size: 1rem;
    }
    
    .advice-card {
        padding: 1.5rem 1.75rem;
    }
    
    .action-title {
        font-size: 1.4rem;
    }
    
    .action-description {
        font-size: 1rem;
    }
    
    .action-next-step {
        font-size: 1.05rem;
    }
    
    .cta-button {
        font-size: 1.25rem;
        padding: 1.75rem 2.5rem;
        gap: 1rem;
    }
    
    .cta-button {
        font-size: 1.25rem;
        padding: 1.75rem 2.5rem;
        gap: 1rem;
    }
    
    .action-note {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .main-subtitle {
        font-size: 1.05rem;
    }
    
    .lead-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .header-logo {
        width: 130px;
    }
    
    .icon-wrapper {
        width: 130px;
        height: 130px;
        margin-bottom: 1.5rem;
    }
    
    .quiz-logo {
        width: 80px;
        max-width: 80px;
    }
    
    .info-box {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    /* 2ブロック構造の最小画面対応 */
    .result-block,
    .action-block {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .result-type-name {
        font-size: 1.6rem;
    }
    
    .result-summary {
        font-size: 1.05rem;
        padding: 0 0.5rem;
    }
    
    .result-description-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .advice-card {
        padding: 1.25rem 1.5rem;
    }
    
    .advice-card-title {
        font-size: 1.05rem;
    }
    
    .advice-card-content {
        font-size: 0.95rem;
    }
    
    .action-title {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .action-description {
        font-size: 0.95rem;
    }
    
    .action-next-step {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1.15rem;
        padding: 1.5rem 2rem;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .cta-button i {
        font-size: 1.1em;
    }
}
        font-size: 1.15rem;
        padding: 1.5rem 2rem;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .cta-button i {
        font-size: 1.1em;
    }
    
    .action-note {
        font-size: 0.85rem;
    }
    }
    
    .btn-large {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
    
    .result-icon {
        font-size: 3rem;
    }
}
