:root {
    --primary: #BC002D;
    --secondary: #FFFFFF;
    --accent: #06C755;
    --dark: #0F1C2D;
    --light: #F5F7FA;
    --gray: #6C757D;
    --success: #28A745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60px;
    font-size: 16px;
}

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

header {
    color: white;
    padding: 20px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3a5f 100%);
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.japan-flag {
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 2px;
    position: relative;
    margin-right: 10px;
}

.japan-flag::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

.expert-profile {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    margin: 0 auto 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    flex: 1;
}

.expert-info h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.expert-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.expert-line-btn {
    display: flex;
    justify-content: center;
    margin: 15px 0 20px;
}

.line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--accent) 0%, #05a347 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.35);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-size: 1.1rem;
}

.line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.5);
}

.line-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(6, 199, 85, 0.4);
}

.line-btn i {
    font-size: 1.8rem;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

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

.line-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    transition: transform 0.5s ease;
    z-index: -1;
}

.line-btn:hover::after {
    transform: rotate(30deg) translate(20px, 20px);
}

.hero {
    text-align: center;
    padding: 25px 20px;
    background: white;
    margin: -20px 0 10px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--gray);
    padding: 0 10px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 25px 0 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.features {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.features h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.features h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 18px;
    background: var(--light);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.performance-chart {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.performance-chart h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.chart-container {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6fa5 100%);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.chart-bar {
    height: 45px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: width 1.2s ease-out;
    transform: translateX(-100%);
    animation: slideIn 1.2s forwards;
}

.chart-bar.our-fund {
    background: linear-gradient(to right, var(--primary), #e00034);
    animation-delay: 0.2s;
}

.chart-bar:nth-child(2) {
    background: #4a6fa5;
    animation-delay: 0.4s;
}

.chart-bar:nth-child(3) {
    background: #6C757D;
    animation-delay: 0.6s;
}

.chart-bar span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    z-index: 2;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

.success-cases {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.success-cases h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.case-card {
    background: var(--light);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

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

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.case-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--primary);
}

.case-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.case-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.case-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
    padding-left: 5px;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(188, 0, 45, 0.05);
    padding: 12px;
    border-radius: 12px;
    margin-top: 15px;
}

.case-stat {
    text-align: center;
    flex: 1;
}

.case-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.case-stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.line-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #05a347 100%);
    color: white;
    border-radius: 20px;
    padding: 30px 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.line-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.line-content {
    position: relative;
    z-index: 2;
}

.line-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.line-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.line-qr {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 15px;
    margin: 0 auto 25px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.line-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-block;
    padding: 17px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.15rem;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.btn-line {
    background-color: white;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-line i {
    margin-right: 12px;
    font-size: 1.8rem;
}

.btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

footer {
    text-align: center;
    padding: 25px 0 40px;
    color: var(--gray);
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 400px) {
    .expert-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .case-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .line-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}