﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.btn-line {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #06C755;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-line:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

.line-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Banner Section with Profile */
.banner {
    background: white;
    padding: 30px 0;
}

.profile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e8f0 100%);
    padding: 30px;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

.profile-content {
    padding: 24px;
    text-align: center;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 500;
}

.profile-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

/* Content Sections */
.content-section {
    padding: 40px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

/* Problem Section */
.problem-section {
    background: white;
}

.problem-list {
    margin-bottom: 24px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff5f5;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
}

.problem-icon {
    font-size: 24px;
    color: #dc3545;
    margin-right: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.problem-text strong {
    display: block;
    font-size: 16px;
    color: #dc3545;
    margin-bottom: 4px;
}

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

.highlight-box {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.highlight-box p {
    font-size: 15px;
    line-height: 1.8;
}

.highlight-box strong {
    font-size: 17px;
}

/* Solution Section */
.solution-section {
    background: #f8f9fa;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #0066cc;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

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

/* CTA Section */
.cta-section {
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #0066cc;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.cta-text {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 20px;
}

.benefit-list {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.benefit-list li {
    font-size: 15px;
    padding: 10px 0;
    color: #333;
    font-weight: 500;
}

.urgency-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06C755 0%, #05a647 100%);
    color: white;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    margin: 0 auto;
    max-width: 320px;
}

.btn-cta:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.4);
}

/* Footer */
.footer {
    background: #222;
    color: #aaa;
    padding: 32px 0 20px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-note {
    margin-bottom: 16px;
    line-height: 1.7;
    padding: 0 10px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #777;
}

/* Responsive Improvements */
@media (max-width: 375px) {
    .header-title {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .btn-line, .btn-cta {
        font-size: 15px;
        padding: 14px 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
a:focus, button:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
}

.compliance-notice,
.service-description {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.compliance-notice {
    border-left: 4px solid #dc3545;
    background-color: #fff5f5;
}

.service-description {
    border-left: 4px solid #0066cc;
    background-color: #f0f7ff;
}

.user-agreement {
    border-left: 4px solid #28a745;
    background-color: #f0fff4;
}

.compliance-notice h4,
.service-description h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.compliance-notice ul {
    margin: 8px 0;
    padding-left: 16px;
}

.compliance-notice li {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.compliance-notice li strong {
    color: #dc3545;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-disagree,
.btn-agree {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-disagree {
    background-color: #6c757d;
    color: white;
}

.btn-disagree:hover {
    background-color: #5a6268;
}

.btn-agree {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-agree:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-1px);
}

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

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

/* Mobile Responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 16px;
        flex-direction: column;
    }
    
    .btn-disagree,
    .btn-agree {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Print styles for compliance */
@media print {
    .header, .cta-section, .modal {
        display: none;
    }
}

