:root {
    --primary-color: #EC407A;
    --secondary-color: #F48FB1;
    --accent-color: #F8BBD0;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: YakuHanMP, "Noto Serif JP", serif, "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

body {
    background-color: #f0f2f5;
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 0 auto;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px 0px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    display: none;
}

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

.header-content {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.header-icon {
    margin-bottom: 8px;
}

.header-icon i {
    font-size: 36px;
    color: #ffeaa7;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffeaa7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

.header-benefits {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.header-benefits .benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 10px;
    border-radius: 10px;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-benefits .benefit-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.header-benefits .benefit-item i {
    font-size: 24px;
    color: #ffeaa7;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-benefits .benefit-item span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.form-container {
    padding: 30px 25px;
}

/* ページングヘッダーのスタイル */
.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.progress-indicator {
    margin-bottom: 20px;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px auto;
    max-width: 300px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* ページングコントロールのスタイル */
.paging-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: nowrap;
}

/* 最終ページ（診断ボタンがある時）のみ縦並びにする */
.paging-controls:has(.submit-btn) {
    flex-direction: column;
    align-items: center;
}

.paging-controls:has(.submit-btn) .paging-btn,
.paging-controls:has(.submit-btn) .submit-btn {
    width: 100%;
    max-width: 300px;
}

.paging-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.paging-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
    background: linear-gradient(135deg, #495057, #343a40);
}

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

/* フォーム部分の導入テキスト */
.intro-text {
    margin-bottom: 20px;
    text-align: center;
}

.intro-cta {
    background: linear-gradient(135deg, #fff5f8, #ffe8f0);
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid rgba(236, 64, 122, 0.1);
    margin-bottom: 35px;
}

.intro-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.intro-time {
    display: inline-flex;
    align-items: center;
    background: rgba(236, 64, 122, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.intro-time i {
    margin-right: 8px;
    font-size: 16px;
}

.category-header {
    background-color: #f0f2f5;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.question-text {
    font-weight: bold;
}

.question-container {
    background-color: #f9f9fb;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.question-header {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.question-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-size: 16px;
    font-weight: 700;
}

/* 横並びラジオボタンのスタイル */
.radio-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 20px;
}

.radio-option {
    text-align: center;
}

.radio-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin-top: 5px;
    font-size: 14px;
}

.radio-option input[type="radio"] {
    margin-bottom: 8px;
}

.submit-container {
    text-align: center;
    margin-top: 35px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 23px 0px !important;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(236, 64, 122, 0.4);
}

.results-container {
    display: none;
    padding: 20px 15px;
}

/* 結果表示のスタイル */
.result-section {
    background-color: #f9f9fb;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-bar {
    background-color: #f0f8ff;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.result-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.result-score {
    text-align: right;
    margin-top: 5px;
    font-weight: 600;
}

.result-advice ul {
    padding-left: 20px;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.score-table tr {
    border-bottom: 1px solid #eee;
}

.score-table td {
    padding: 8px 0;
}

.score-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.retry-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.3);
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(236, 64, 122, 0.4);
}

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

.accordion-header {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.accordion-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 18px;
}

.accordion-content {
    overflow: hidden;
    transition: height 0.3s ease;
}

.personality-type-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
}

.personality-type-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    text-align: center;
    padding: 10px;
    background-color: rgba(236, 64, 122, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.personality-type-name i {
    font-size: 28px;
    color: var(--primary-color);
    background-color: rgba(236, 64, 122, 0.1);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.personality-code {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin-left: 10px;
}

.personality-type-description {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 15px;
}

/*
.personality-icon {
    text-align: center;
    margin: 20px 0;
}

.personality-icon i {
    font-size: 64px;
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.personality-icon i:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
*/

/* AIアドバイスセクションのスタイル */
.ai-advice-section {
    background: linear-gradient(135deg, #C2185B 0%, #E91E63 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.3);
}

.ai-advice-header {
    display: flex;
    align-items: center;
}

.ai-advice-header h3 {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-advice-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.ai-advice-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ai-advice-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 1.7;
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.ai-advice-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(236, 64, 122, 0.9));
}

.ai-advice-full {
    display: none;
}

.ai-advice-full.show {
    display: block;
}

.ai-advice-section h3 {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.ai-advice-section h3 i {
    font-size: 24px;
}

.ai-advice-placeholder {
    text-align: center;
    padding: 20px;
    color: #666;
}

.ai-advice-placeholder i {
    font-size: 24px;
    color: #28a745;
    margin-bottom: 10px;
}

.ai-advice-placeholder p {
    font-style: italic;
    margin: 0;
}

.ai-disclaimer {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
    text-align: center;
}

.ai-disclaimer small {
    color: #666;
    font-size: 12px;
}

.dating-method-section {
    background: linear-gradient(135deg, #fff5f8, #ffe8f0);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dating-method-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.method-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 15px;
    background-color: rgba(236, 64, 122, 0.1);
    border-radius: 8px;
    margin: 15px 0;
}

.method-cta {
    margin-top: 20px;
}

/* 注意書き部分のスタイル */
.disclaimer-section {
    margin-top: 30px;
    padding: 20px 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    background-color: #f9f9fb;
    border-radius: 8px;
}

.disclaimer-toggle {
    cursor: pointer;
    color: #666;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    position: relative;
}

.disclaimer-toggle:hover {
    color: var(--primary-color);
}

.toggle-icon {
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
}

.disclaimer-title {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.disclaimer-content {
    color: #666;
    line-height: 1.5;
}

.disclaimer-content p {
    margin-bottom: 10px;
    font-size: 13px;
}

.disclaimer-content small {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #999;
}

/* 相性の良いパートナータイプのスタイル */
.compatible-partners-section {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border-left: 5px solid #f72585;
}

.partner-types {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.partner-type {
    text-align: center;
    padding: 15px;
    background-color: rgba(247, 37, 133, 0.05);
    border-radius: 10px;
    flex: 1;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.partner-icon {
    margin-bottom: 0;
}

.partner-icon i {
    font-size: 41px;
    color: #f72585;
    background-color: rgba(247, 37, 133, 0.1);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.compatible-partners-section .partner-type > i {
    font-size: 25px;
    color: #f72585;
    background-color: rgba(247, 37, 133, 0.1);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.partner-name {
    font-weight: 600;
    color: #f72585;
    font-size: 16px;
    text-align: left;
}

.partner-code {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    display: block;
    margin-top: 5px;
}

/* 婚活スタイルのスタイル */
.dating-style-section {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border-left: 5px solid var(--secondary-color);
}

.style-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    padding: 15px;
    background-color: rgba(114, 9, 183, 0.1);
    border-radius: 8px;
    margin: 15px 0;
}

.style-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0;
    font-style: italic;
    color: #555;
}

/* 理想の結婚生活のスタイル */
.ideal-marriage-section {
    background: linear-gradient(135deg, #fff8f0, #ffefd5);
    border-left: 5px solid #ff6b35;
}

.marriage-highlight {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 107, 53, 0.05);
    border-radius: 10px;
    margin-top: 15px;
}

.marriage-icon {
    font-size: 32px;
    color: #ff6b35;
    margin-right: 20px;
    flex-shrink: 0;
}

.marriage-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #555;
    font-weight: 500;
}

/* CTAセクションのスタイル */
.cta-section {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 48px;
    color: #ffe0e0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-text {
    flex: 1;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.benefit-item i {
    color: #90EE90;
    margin-right: 10px;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-button {
    flex: 1;
    padding: 15px 120px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 25px;
}

.cta-button i {
    font-size: 35px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #ff6b6b;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
}

.cta-note {
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* 導入セクションのスタイル */
.intro-section {
    margin-bottom: 30px;
    text-align: center;
}

.intro-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.intro-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.intro-icon {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.intro-icon i {
    font-size: 48px;
    color: #ffeaa7;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: heartbeat 2s ease-in-out infinite;
}

.intro-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.intro-subtitle {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.intro-benefits {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    gap: 15px;
}

.benefit-box {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.benefit-box i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-box span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .container {
        border-radius: 8px;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    .question-container {
        padding: 20px;
    }
    
    .radio-option label {
        font-size: 12px;
    }
    
    .submit-btn, .paging-btn {
        padding: 12px 25px;
        font-size: 16px;
    }    
    
    .partner-types {
        flex-direction: column;
    }
    
    .partner-type {
        margin: 10px 0;
    }
    
    .marriage-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .marriage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-section {
        padding: 20px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        padding: 12px 16px;        
        font-size: 14px;
    }
    
    .benefit-item {
        justify-content: center;
    }
    
    .intro-hero {
        padding: 25px 15px;
    }
    
    .intro-title {
        font-size: 24px;
    }
    
    .intro-subtitle {
        font-size: 14px;
    }
    
    .intro-benefits {
        flex-direction: column;
        gap: 10px;
    }
    
    .benefit-box {
        padding: 15px 10px;
    }
    
    .benefit-box i {
        font-size: 24px;
    }
    
    .benefit-box span {
        font-size: 12px;
    }
    
    .intro-description {
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .header-subtitle {
        font-size: 18px;
    }
    
    .header-description {
        font-size: 14px;
    }
    
    .header-benefits {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-benefits .benefit-item {
        padding: 12px 8px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .progress-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .intro-hero {
        padding: 20px 10px;
    }
    
    .intro-title {
        font-size: 20px;
    }
    
    .intro-icon i {
        font-size: 36px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .header-icon i {
        font-size: 36px;
    }
    
    .header-subtitle {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .personality-type-name {
        font-size: 20px;
    }
    
    .radio-group {
        flex-wrap: wrap;
    }
    
    .radio-option {
        flex: 1;
        min-width: 80px;
    }
}

/* シンプル版シェアボタンのスタイル */
.share-section {
    margin: 25px 0;
    text-align: center;
    padding: 0;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.share-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.share-btn i {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 各SNSの個別スタイル */
.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 50%, #0a7bc4 100%);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #0a7bc4 50%, #087bb8 100%);
    box-shadow: 0 15px 35px rgba(29, 161, 242, 0.6);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2 0%, #365899 50%, #2d4373 100%);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #365899 0%, #2d4373 50%, #24395f 100%);
    box-shadow: 0 15px 35px rgba(66, 103, 178, 0.6);
}

.share-btn.line {
    background: linear-gradient(135deg, #00B900 0%, #009900 50%, #007700 100%);
    box-shadow: 0 8px 25px rgba(0, 185, 0, 0.4);
}

.share-btn.line:hover {
    background: linear-gradient(135deg, #009900 0%, #007700 50%, #006600 100%);
    box-shadow: 0 15px 35px rgba(0, 185, 0, 0.6);
}

/* モバイル対応（シェアボタン） */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .share-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 15px;
        min-width: auto;
    }
    
    .share-btn i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        padding: 12px 18px;
        font-size: 14px;
        max-width: 250px;
    }
}

.share-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* AIアドバイスセクション用スタイル - styles.cssに追加 */

.ai-advice-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(236, 64, 122, 0.3);
}

.ai-advice-section h3 {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-advice-section h3 i {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 50%;
    font-size: 1.2em;
}

.ai-advice-placeholder {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.ai-advice-placeholder i {
    font-size: 2em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.ai-advice-placeholder p {
    margin: 0;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

.ai-advice-text {
    animation: fadeInUp 0.8s ease-out;
}

.advice-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.advice-section:last-child {
    margin-bottom: 0;
}

.advice-section h4 {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advice-section h4 i {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.9em;
}

.advice-section p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.ai-disclaimer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.ai-disclaimer small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
}

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

/* 婚活スタイル別の特徴セクション */
.dating-methods-section {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    padding: 20px 0px;
    border-radius: 10px;
    box-shadow: none;
}

.dating-methods-section h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
    padding-left: 15px;
}

.method-box {
    background: #efecec;
    padding: 20px;
    border-radius: 10px;  
    margin: 15px;  
}

.methods-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
    padding-left: 15px;
}

.method-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.method-icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.method-icon-box i {
    font-size: 28px;
    color: var(--primary-color);
}

.method-text-box {
    flex: 1;
}

.method-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.method-target {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.method-target-child-p {
    margin-bottom: 3px;
    font-weight: bold;
}

/* 結婚相談所内のボタンは既存の.cta-buttonスタイルを使用 */
.method-text-box .cta-button {
    margin-top: 20px;
}

.method-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 18px;
    color: #6f6c6c;
    line-height: 1.6;
    background: white;
    border-radius: 5px;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;       
}

.method-content i {
    line-height: 2;
    font-size: 24px;    
}

.advisor-image {
    width: 100px;
    height: 100px;
    padding: 5px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
}

.intro-main {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.intro-main strong {
    color: #eb446b;
    font-size: 21px;
    margin-right: 5px;
}

.intro-results-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0px 10px 0px;
}

.preview-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: white;
    border-radius: 8px;
}

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

.preview-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #eb446b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.preview-content {
    text-align: start;
}

.preview-content h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-weight: bold;
}

.preview-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* イントロ画面 */
.intro-screen {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 80vh;
}

.intro-hero {
    text-align: center;
    margin-bottom: 40px;
}

.intro-lead {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.intro-lead strong {
    color: #eb446b;
    font-size: 28px;
}

.intro-sublead {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.highlight {
    color: #e74c3c;
    font-size: 20px;
}

.intro-what-you-get {
    margin: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.scroll-indicator {
    position: fixed;
    bottom: -3px;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 -3px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    color: #eb446b;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.scroll-indicator i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.intro-trust {
    text-align: center;
    margin-top: 30px;
}

.trust-badge {
    display: inline-block;
    padding: 12px 25px;
    background: #f8f9fa;
    border-radius: 25px;
    color: #666;
    font-size: 14px;
}

.trust-badge i {
    color: #eb446b;
    margin-right: 8px;
}

/* フェードインアニメーション */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .method-content {
        align-items: center;
    }
    .advisor-image {
        display: none;
    }    
}