/* ========================================
   Reset & Base Styles
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ========================================
   Container & Layout
======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ========================================
   Typography
======================================== */

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
    color: #0066cc;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* ========================================
   Buttons & CTAs
======================================== */

.cta-primary, .cta-secondary, .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    gap: 8px;
    text-align: center;
}

.cta-primary, .submit-btn {
    background: linear-gradient(135deg, #0066cc 0%, #4da6ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-primary:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.cta-secondary {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #20b358;
}

.cta-primary:active, .cta-secondary:active, .submit-btn:active {
    transform: translateY(0);
}

/* ========================================
   Hero Section
======================================== */

.hero {
    /* フォールバック背景 */
    background-color: #e6f3ff;
    
    /* メイン背景（画像+オーバーレイ） */
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.87) 0%, rgba(230,243,255,0.87) 100%),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=85') center/cover no-repeat,
        linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 100%);
    
    color: #333;
    padding: 60px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(0,102,204,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.title-main {
    color: #0066cc;
    font-size: 1.1em;
    font-weight: 900;
    text-shadow: 0 3px 6px rgba(255,255,255,0.95), 0 1px 3px rgba(0,102,204,0.3);
}

.title-sub {
    color: #333;
    font-size: 0.9em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255,255,255,0.95);
}

.hero-subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #333;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(255,255,255,0.9);
}

.hero-subtitle .main-copy {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 102, 204, 0.4);
    gap: 1rem;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
}

.badge i {
    font-size: 1.5rem;
    color: #0066cc;
    min-width: 40px;
}

.badge strong {
    display: block;
    color: #0066cc;
    margin-bottom: 0.25rem;
}

.badge span {
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 0 120px;
    }
    
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .badge {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-ctas {
        flex-direction: row;
        max-width: 600px;
        justify-content: center;
    }
}

/* ========================================
   Problems Section
======================================== */

.problems {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.problems-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.problems-subtitle h3 {
    color: #0066cc;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.problems-subtitle h3::before,
.problems-subtitle h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0066cc);
}

.problems-subtitle h3::before {
    left: -40px;
}

.problems-subtitle h3::after {
    right: -40px;
    background: linear-gradient(90deg, #0066cc, transparent);
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,102,204,0.08);
    gap: 1.25rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.problem-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.12);
    border-left-color: #0066cc;
}

.problem-item i {
    font-size: 2rem;
    color: #0066cc;
    min-width: 50px;
    margin-top: 0.5rem;
}

.problem-icon {
    position: relative;
    min-width: 50px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    margin: 0;
    min-width: auto;
}

.problem-icon .fas.fa-chart-bar {
    font-size: 2rem;
    color: #0066cc;
}

.decline-arrow {
    position: absolute;
    font-size: 1rem !important;
    color: #dc3545 !important;
    top: -5px;
    right: -8px;
    background: white;
    border-radius: 50%;
    padding: 2px;
}

.problem-content {
    flex: 1;
}

.problem-content h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.problem-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cost-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.warning-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-content i {
    font-size: 1.5rem;
    color: #856404;
    min-width: 40px;
    margin-top: 0.25rem;
}

.warning-content strong {
    display: block;
    color: #856404;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Solutions Section
======================================== */

.solutions {
    padding: 80px 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.solution-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #4da6ff);
    transition: left 0.3s ease;
}

.solution-card:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(214, 51, 132, 0.15);
}

.solution-card:hover::before {
    left: 0;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.solution-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.solution-card ul {
    list-style: none;
    text-align: left;
}

.solution-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Results Section
======================================== */

.results {
    padding: 80px 0;
    background: #f8f9fa;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,102,204,0.1);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.result-header h3 {
    color: #333;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.result-tag {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.result-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.result-info strong {
    color: #333;
}

.placeholder-image {
    background: #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
    transition: transform 0.3s ease;
}

.result-img:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .result-img {
        height: 180px;
    }
}

/* ========================================
   Flow Section
======================================== */

.flow {
    padding: 80px 0;
    background: white;
}

.flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: #0066cc;
}

@media (min-width: 768px) {
    .flow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   FAQ Section
======================================== */

.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,102,204,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    flex: 1;
}

.faq-question i {
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* ========================================
   Closing Section
======================================== */

.closing {
    padding: 80px 0;
    background: linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 100%);
    color: white;
    text-align: center;
}

.closing h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #333;
}

.closing-main {
    color: #0066cc;
    font-weight: 700;
}

.closing-sub {
    color: #333;
    font-weight: 600;
}

.closing-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .closing h2 {
        font-size: 2.2rem;
    }
    
    .closing-ctas {
        flex-direction: row;
        max-width: 600px;
        justify-content: center;
    }
}

/* ========================================
   Contact Form Section
======================================== */

.contact-form {
    padding: 80px 0;
    background: white;
}

.form {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,102,204,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.required-mark {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    padding: 0.5rem 0;
    flex-direction: row;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 0;
    margin-top: 2px;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #0066cc;
    border-color: #0066cc;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-item:hover .checkmark {
    border-color: #0066cc;
    background-color: rgba(214, 51, 132, 0.1);
}

.checkbox-item input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.2);
}

.checkbox-item {
    text-align: left;
}

.checkbox-text {
    flex: 1;
    line-height: 1.5;
    margin-top: 0;
    padding-top: 0;
}

.char-count {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 18px;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .form {
        padding: 3rem;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ========================================
   Footer
======================================== */

.footer {
    background: #f0f8ff;
    color: #333;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-info p {
    color: #333;
    font-weight: 500;
}

.footer-info h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-nda {
    font-size: 0.9rem;
    color: #555;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,102,204,0.2);
    font-size: 0.9rem;
    color: #666;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========================================
   Sticky CTA
======================================== */

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.sticky-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,102,204,0.15);
    position: relative;
    overflow: hidden;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-btn.primary {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
}

.sticky-btn.secondary {
    background: #25D366;
}

.sticky-btn i {
    font-size: 1.5rem;
}

.sticky-btn span {
    position: absolute;
    right: 70px;
    background: rgba(0,102,204,0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-btn:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Bottom Bar for Sticky CTA */
@media (max-width: 767px) {
    .sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -4px 20px rgba(0,102,204,0.1);
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-around;
        border-radius: 0;
        gap: 0;
        transform: translateY(100%);
    }
    
    .sticky-cta.show {
        transform: translateY(0);
    }
    
    .sticky-btn {
        width: auto;
        height: 50px;
        padding: 0 20px;
        border-radius: 25px;
        flex: 1;
        margin: 0 5px;
        gap: 8px;
    }
    
    .sticky-btn span {
        position: static;
        background: transparent;
        opacity: 1;
        transform: none;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .sticky-btn i {
        font-size: 1.2rem;
    }
}

/* ========================================
   Animations & Utilities
======================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   Responsive Adjustments
======================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        gap: 0.75rem;
    }
    
    .badge {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .form {
        padding: 1.5rem;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-tag {
        align-self: flex-start;
    }
    
    .problems-subtitle h3 {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .problems-subtitle h3::before,
    .problems-subtitle h3::after {
        width: 20px;
    }
    
    .problems-subtitle h3::before {
        left: -20px;
    }
    
    .problems-subtitle h3::after {
        right: -20px;
    }
    
    .problem-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .problem-item i {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .problem-icon {
        min-width: 40px;
    }
    
    .problem-icon .fas.fa-chart-bar {
        font-size: 1.5rem;
    }
    
    .decline-arrow {
        font-size: 0.8rem !important;
        top: -3px;
        right: -5px;
    }
    
    .problem-content h4 {
        font-size: 1rem;
    }
    
    .problem-content p {
        font-size: 0.9rem;
    }
    
    .result-img {
        height: 150px;
    }
    
    .image-caption {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
}

/* ========================================
   Print Styles
======================================== */

@media print {
    .sticky-cta,
    .hero-ctas,
    .closing-ctas {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .result-card,
    .solution-card,
    .problem-item {
        page-break-inside: avoid;
    }
}

/* ========================================
   モーダル（送信完了・エラー表示）
======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

.modal-header {
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.modal-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
}

.modal-icon.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: #fff;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-message {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.modal-info {
    background: #f8f9fa;
    border-left: 4px solid #FF6B35;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.modal-info p {
    margin: 10px 0;
    line-height: 1.8;
}

.modal-info strong {
    color: #FF6B35;
}

.modal-note {
    font-size: 0.875rem;
    color: #777;
    margin-top: 10px;
}

.modal-next-steps {
    margin-top: 30px;
}

.modal-next-steps h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B35;
}

.modal-next-steps ol {
    padding-left: 20px;
    margin: 0;
}

.modal-next-steps li {
    margin: 10px 0;
    line-height: 1.6;
    color: #555;
}

.modal-contact-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.modal-contact-list li {
    padding: 10px 0;
    color: #333;
    font-weight: 500;
}

.modal-contact-list i {
    color: #FF6B35;
    margin-right: 10px;
    width: 20px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #FF6B35, #ff8c42);
    color: #fff;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.modal-btn.secondary {
    background: #f0f0f0;
    color: #333;
}

.modal-btn.secondary:hover {
    background: #e0e0e0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 30px 20px 15px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}