/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero-section {
    background: url('taiwan_hero_background02.png') center/cover no-repeat,
                linear-gradient(135deg, #1e3a8a 0%, #dc2626 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

.chevron-down {
    font-size: 2rem;
}

/* 統計セクション */
.stats-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* 学習者紹介セクション */
.learners-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

.white-title {
    color: white;
}

.learners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.profile-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #D7CB00;
    opacity: 1!important;
    transition: opacity 0.3s;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-department {
    background: #f8f9fa;
    color: #666;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.profile-content {
    text-align: left;
}

.profile-section {
    margin-bottom: 1.5rem;
}

.profile-section h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.profile-section p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.level-badge {
    background: #e8f4fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.progress-bar {
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 10px;
    transition: width 1s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.8rem;
    color: #666;
}

.quote-text {
    font-style: italic;
    color: #555;
    padding-left: 1rem;
    border-left: 4px solid #e74c3c;
    background: #fafafa;
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
}

.study-time, .goal-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 学習の様子セクション */
.learning-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #D7CB00 0%, #fff999 100%);
    position: relative;
}

.learning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chinese-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" font-family="serif" font-size="12" fill="white" opacity="0.05" text-anchor="middle">中</text></pattern></defs><rect width="100" height="100" fill="url(%23chinese-pattern)"/></svg>');
}

.learning-section > * {
    position: relative;
    z-index: 1;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.learning-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.learning-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
	opacity: 1!important;
}

.learning-image02 {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
	opacity: 1!important;
}

.learning-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.learning-list {
    list-style: none;
    padding: 0;
}

.learning-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 1rem;
}

/* 学習エピソードセクション */
.episodes-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.episodes-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.episode-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.episode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.episode-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e74c3c;
	opacity: 1!important;
}

.episode-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.episode-info span {
    color: #666;
    font-size: 0.9rem;
}

.episode-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievements h5 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: #e8f4fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 応援メッセージ・今後の展望セクション */
.future-section {
    padding: 4rem 0;
    background: white;
}

.messages-card, .future-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.messages-card h3, .future-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.message-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.message-text {
    font-style: italic;
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.message-author {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.goals-column h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.goals-list {
    list-style: none;
    padding: 0;
}

.goals-list li {
    padding: 0.5rem 0;
    color: #555;
}

.call-to-action {
    background: linear-gradient(135deg, #fff5f5, #fff8f0);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #e74c3c;
}

.call-to-action h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.call-to-action p {
    color: #555;
    line-height: 1.6;
}

/* フッター */
.footer {
    background: #FFE400;
    color: grey;
    padding: 2rem 0;
    text-align: center;
}

.footer h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .learners-grid {
        grid-template-columns: 1fr;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .episode-header {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}


/* 動画セクション */
.video-section {
    background: linear-gradient(135deg, #00008B 0%, #218FCC 100%);
    padding: 5rem 0;
    color: #218FCC;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.white-subtitle {
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.learning-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.video-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.video-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-cta p {
    font-size: 1.3rem;
    margin: 0;
    color: white;
    font-weight: 500;
}

/* 動画セクション用のレスポンシブスタイル */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        aspect-ratio: 9/16;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-cta {
        padding: 1.5rem;
    }
    
    .video-cta p {
        font-size: 1.1rem;
    }
}

