/* 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: #1e293b;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(59, 130, 246, 0.8) 50%, rgba(6, 182, 212, 0.9) 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.98);
}

.hero-description strong {
    color: #ffffff;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.line-icon {
    width: 28px;
    height: 28px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
}

.hero-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-avatar:hover {
    transform: scale(1.05);
}

.avatar-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #ef4444;
}

.icon-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #3b82f6;
}

.icon-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #f59e0b;
}

.icon-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #10b981;
}

.feature-icon {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 60px 50px;
    border-radius: 32px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 15s ease-in-out infinite;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.cta-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cta-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.step-content h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    opacity: 0.9;
}

.step-arrow {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    padding: 22px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 19px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

/* Banner Section */
.banner-section {
    padding: 60px 0;
    background: white;
}

.banner-box {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.banner-box img {
    width: 100%;
    display: block;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.banner-box:hover img {
    transform: scale(1.05);
}

/* Anime-style image filter */
.animefy {
    filter: url(#animeFilter);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: white;
}

.disclaimer-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 24px;
    padding: 40px;
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.disclaimer-icon {
    font-size: 32px;
}

.disclaimer-title {
    font-size: 28px;
    font-weight: 900;
    color: #92400e;
}

.disclaimer-list {
    list-style: none;
}

.disclaimer-list li {
    font-size: 16px;
    color: #92400e;
    line-height: 2;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.disclaimer-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    font-weight: 900;
    font-size: 20px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 100px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* Floating LINE Button */
.floating-btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #06C755 0%, #05a647 100%);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 10px 40px rgba(6, 199, 85, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatBtn 3s ease-in-out infinite;
    max-width: 90%;
    white-space: nowrap;
}

.floating-btn:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 14px 50px rgba(6, 199, 85, 0.5);
}

.floating-line-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.floating-btn-text {
    display: inline-block;
}

@keyframes floatBtn {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* 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: 24px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    padding: 32px;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 32px;
}

.policy-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 24px 0 12px 0;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 16px;
}

.policy-content small {
    font-size: 13px;
    color: #94a3b8;
}

/* LINE Confirm Modal */
.confirm-modal-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 20% auto;
    padding: 40px 30px;
    border-radius: 25px;
    width: 85%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    animation: confirmModalIn 0.3s ease-out;
    position: relative;
}

@keyframes confirmModalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

.confirm-modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirm-modal-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    padding: 0 10px;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.confirm-cancel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.confirm-cancel:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.confirm-ok {
    background: linear-gradient(135deg, #06c755 0%, #05a844 100%);
    color: #fff;
    border: 2px solid #05a844;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

.confirm-ok:hover {
    background: linear-gradient(135deg, #05a844 0%, #048c3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(6, 199, 85, 0.4);
}

.confirm-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: left 0.5s;
}

.confirm-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-avatar {
        width: 240px;
        height: 240px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-steps {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .hero-avatar {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .feature-card {
        padding: 28px;
    }
    
    .cta-content {
        padding: 40px 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .disclaimer-card {
        padding: 28px;
    }
    
    .floating-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}

/* Accessibility */
a:focus, button:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.desktop-br {
    display: none;
}

@media (min-width: 769px) {
    .desktop-br {
        display: block;
    }
}
