/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.school-logo {
    height: 50px;
    opacity: 0.9;
    border-radius: 8px;
}

.nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 200px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid #e8f2ff;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateX(3px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.hero-graphic i {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
}

/* 特色功能样式 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #764ba2;
}

/* 课程样式 */
.courses {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.course-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 450px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.course-info {
    padding: 2rem;
    text-align: left;
}

.course-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-details {
    margin-bottom: 1.5rem;
}

.course-details p {
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #f8f9fa;
    color: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* レスポンシブ対応 - 人気コース */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .course-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.about-graphic i {
    font-size: 6rem;
    color: white;
    opacity: 0.8;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Subsidy Page Styles */
.subsidy-content {
    padding: 120px 0 40px 0;
}

.subsidy-overview {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.subsidy-overview h2 {
    color: #1e40af;
    margin-bottom: 20px;
    font-size: 2rem;
}

.subsidy-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.subsidy-types {
    margin-bottom: 60px;
}

.subsidy-types h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 40px;
    font-size: 2rem;
}

.subsidy-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subsidy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.subsidy-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subsidy-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.subsidy-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.subsidy-body {
    padding: 30px;
}

.subsidy-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #475569;
}

.subsidy-body strong {
    color: #1e40af;
    font-weight: 600;
}

.subsidy-body ul {
    margin-top: 15px;
    padding-left: 20px;
}

.subsidy-body li {
    margin-bottom: 8px;
    color: #64748b;
    line-height: 1.5;
}

.application-flow {
    margin-bottom: 60px;
}

.application-flow h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 40px;
    font-size: 2rem;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.support-content {
    margin-bottom: 60px;
}

.support-content h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 40px;
    font-size: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.support-item i {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.support-item h4 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.support-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.subsidy-contact {
    background: #f8fafc;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.subsidy-contact h2 {
    color: #1e40af;
    margin-bottom: 20px;
    font-size: 2rem;
}

.subsidy-contact p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design for Subsidy Page */
@media (max-width: 768px) {
    .subsidy-overview {
        padding: 30px 20px;
    }
    
    .subsidy-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .subsidy-body {
        padding: 20px;
    }
    
    .step {
        padding: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .support-item {
        padding: 25px 20px;
    }
    
    .subsidy-contact {
        padding: 30px 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* コース探すセクション */
.course-search {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.course-search .section-header h2 {
    color: white;
}

.course-search .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.search-filters {
    max-width: 800px;
    margin: 50px auto 0;
}

.search-bar {
    position: relative;
    margin-bottom: 30px;
}

.search-bar input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.course-tab {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.course-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.course-tab.active {
    background: white;
    color: #667eea;
    border-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* コース一覧セクション */
.course-list {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.course-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-list-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f2ff;
    position: relative;
    overflow: hidden;
}

.course-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-list-item:hover::before {
    transform: scaleX(1);
}

.course-list-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-list-item h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-list-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.course-meta span {
    background: #f8f9ff;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e8f2ff;
}

.course-meta .duration {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}

.course-meta .level {
    background: #f0fff4;
    color: #38a169;
    border-color: #c6f6d5;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Course Grid Page Styles */
.course-grid-main {
    padding: 100px 0 50px;
    background: #f8f9fa;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 70px;
    padding: 3rem 20px;
    background-image: url('training-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.course-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    display: inline-block;
}

/* Course Section Header */
.section-header {
    background: #e3f2fd;
    color: #1565c0;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    text-align: center;
}

.section-header .section-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
}

/* 最新課程セクションのスタイル */
.latest-courses-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.latest-courses-section .section-title {
    color: #1e40af;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* NEWタグのスタイル */
.new-course-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Salesforce標签样式 */
.salesforce-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #1589ee, #0070d2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* ServiceNow標签样式 */
.servicenow-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #81c341, #62a73b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* Mulesoft標签样式 */
.mulesoft-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #00a0df, #0081c6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* OutSystems標签样式 */
.outsystems-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* AWS標签样式 */
.aws-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff9900, #ffb84d);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* 過去のコース標签样式 */
.past-course-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* フィーチャードコースカードのスタイル */
.course-card.featured {
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.course-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.25);
}

/* 全てのコース区切りセクション */
.all-courses-divider {
    margin: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.all-courses-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    z-index: 1;
}

.all-courses-divider .section-header {
    background: white;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: inline-block;
}

/* Course Card */
.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Course Image/Icon Area */
.course-image {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon {
    position: relative;
}

.ai-server-tag {
    background: #1976d2;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.ai-graphics {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.ai-graphics i {
    font-size: 2.5rem;
    color: #1976d2;
    opacity: 0.8;
}

.ai-graphics i:nth-child(1) {
    color: #42a5f5;
}

.ai-graphics i:nth-child(2) {
    color: #1976d2;
}

.ai-graphics i:nth-child(3) {
    color: #0d47a1;
}

.mulesoft-icon {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.8;
}

/* Course Content */
.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.course-period {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    background: #f8f9ff;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.course-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Course Time Info */
.course-time-info {
    margin-bottom: 20px;
}

.time-period-box {
    border: 3px solid #dc3545;
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    position: relative;
    overflow: hidden;
}

.time-period-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #e74c3c, #dc3545);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 为不同课程添加不同颜色的边框 */
.course-card:nth-child(2) .time-period-box {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.course-card:nth-child(2) .time-period-box::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb, #3b82f6);
}

.course-card:nth-child(3) .time-period-box {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.course-card:nth-child(3) .time-period-box::before {
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
}

.time-row, .study-duration-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.study-duration-row:last-of-type {
    margin-bottom: 12px;
}

.time-label, .duration-label {
    color: #2d3748;
    font-weight: 600;
}

.time-value, .duration-value {
    color: #1a202c;
    font-weight: 500;
    text-align: right;
    margin-left: auto;
}

.level-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.level-label {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.level-separator {
    color: #718096;
    font-weight: bold;
}

/* Time and Duration Tags */
.time-tag, .duration-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

.time-tag {
    background: #dbeafe;
    color: #1e40af;
}

.duration-tag {
    background: #dcfce7;
    color: #166534;
}

.period-tag {
    background: #fefce8;
    color: #a16207;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

.study-time-tag {
    background: #fefce8;
    color: #a16207;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

/* Course Actions */
.course-actions {
    text-align: center;
    margin-bottom: 15px;
}

.detail-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Course Price */
.course-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #f1f5f9;
    margin-top: 20px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1976d2;
    line-height: 1;
}

.price-tax {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1;
}

/* Course Period Info */
.course-period {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #1976d2;
}

.course-period strong {
    color: #1a202c;
    font-weight: 600;
}

/* Study Time Badge */
.study-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.study-time i {
    font-size: 0.8rem;
}

.course-info {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.course-info span {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-info .duration {
    background: #e3f2fd;
    color: #1976d2;
}

.course-info .level {
    background: #f3e5f5;
    color: #7b1fa2;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.course-tags .tag {
    background: #f0f4ff;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* E-Learning Course Styles */
.course-time, .course-duration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.course-time:last-child, .course-duration:last-child {
    border-bottom: none;
}

.time-label, .duration-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.time-value, .duration-value {
    color: #2d3748;
    font-size: 0.9rem;
}

.price-symbol {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

/* Different AI Graphics for E-Learning */
.course-card:nth-child(n+5) .ai-graphics i:nth-child(2) {
    color: #7c3aed;
}

.course-card:nth-child(n+5) .ai-graphics i:nth-child(3) {
    color: #db2777;
}

/* Course Detail Page Styles */
.breadcrumb {
    margin: 20px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #1976d2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 8px;
    color: #94a3b8;
}

.current {
    color: #1a202c;
    font-weight: 600;
}

.course-detail-section {
    margin: 40px 0;
}

.course-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.course-category {
    margin-bottom: 15px;
}

.category-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.course-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.course-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.course-image-large {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 60px 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.ai-server-tag-large {
    background: #1976d2;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.ai-graphics-large {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.ai-graphics-large i {
    font-size: 3.5rem;
    color: #1976d2;
    opacity: 0.8;
}

.course-details-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.course-details-box h3 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
}

.detail-value {
    color: #1a202c;
    font-weight: 500;
}

.course-description {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.course-description h3 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.course-description h4 {
    color: #2d3748;
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.course-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.course-description li {
    margin-bottom: 8px;
    color: #4a5568;
    line-height: 1.6;
}

.course-price-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.price-display {
    margin-bottom: 25px;
}

.price-amount-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976d2;
    display: block;
    margin-bottom: 5px;
}

.course-actions-large {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.apply-btn, .inquiry-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.inquiry-btn {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.inquiry-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.related-courses {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.related-courses h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a202c;
    font-size: 1.8rem;
}

.related-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-course-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.related-course-item h4 {
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.related-course-item p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.related-price {
    color: #1976d2;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 隐藏导航栏中的会社概要和お問い合わせ */
.nav-link[href="about.html"],
.nav-link[href="contact.html"] {
    display: none !important;
}

/* 课程时间表样式 */
.course-schedule {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.course-schedule h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.schedule-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table thead {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.schedule-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.schedule-table tbody tr:hover {
    background-color: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.schedule-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.schedule-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
}

.schedule-table td:nth-child(2) {
    color: #7f8c8d;
    font-weight: 500;
}

.schedule-table td:nth-child(3) {
    color: #e74c3c;
    font-weight: 600;
    background-color: #fdf2f2;
}

.schedule-table td:nth-child(4) {
    color: #2c3e50;
    line-height: 1.4;
}

.schedule-table td:last-child {
    color: #27ae60;
    font-weight: 500;
}

.schedule-notes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.schedule-notes h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.schedule-notes ul {
    list-style: none;
    padding: 0;
}

.schedule-notes li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.schedule-notes li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .course-schedule {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .schedule-table {
        font-size: 0.85rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
    }
    
    .course-schedule h2 {
        font-size: 1.5rem;
    }
}

/* 移动端响应式设计 */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .course-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    .course-actions-large {
        flex-direction: column;
    }
    
    .apply-btn, .inquiry-btn {
        width: 100%;
        justify-content: center;
    }
    
    .course-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-list-item {
        padding: 20px;
    }

    .course-meta {
        flex-direction: column;
        gap: 10px;
    }

    .course-meta span {
        text-align: center;
        width: fit-content;
    }

    .search-filters {
        margin: 30px auto 0;
        padding: 0 20px;
    }

    .search-bar input {
        padding: 12px 50px 12px 15px;
        font-size: 14px;
    }

    .search-bar button {
        width: 40px;
        height: 40px;
    }

    .filter-tabs {
        gap: 10px;
    }

    .course-tab {
        padding: 10px 16px;
        font-size: 12px;
    }

    /* 下拉菜单移动端适配 */
    .dropdown-menu {
        min-width: 300px;
        left: -100px;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .dropdown-section h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .course-info {
        padding: 1.5rem;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
    }
    
    .hero-graphic i {
        font-size: 5rem;
    }

    /* Course Grid Page Mobile Styles */
    .course-grid-main {
        padding: 70px 0 20px;
    }

    .page-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .course-item {
        padding: 15px;
        margin: 0;
    }

    .course-content h3 {
        font-size: 1.1rem;
    }

    .course-content p {
        font-size: 0.9rem;
    }

    .course-info {
        flex-direction: column;
        gap: 6px;
    }

    .course-info span {
        font-size: 0.75rem;
        text-align: center;
    }

    .course-tags {
        gap: 6px;
    }

    .course-tags .tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .course-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Course Search Page Mobile Styles */
    .course-search-main,
    .about-main,
    .contact-main {
        padding: 70px 0 20px;
    }

    .search-filter-section {
        padding: 15px;
        margin: 0 10px 20px;
    }

    .search-box {
        flex-direction: column;
        gap: 10px;
    }

    .filter-options {
        flex-direction: column;
        gap: 10px;
    }

    .filter-group select {
        min-width: 100%;
    }

    .overview-content {
        grid-template-columns: 1fr;
        padding: 15px;
        margin: 0 10px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .contact-form-section,
    .contact-info-section,
    .company-info,
    .team-section,
    .achievements {
        padding: 15px;
        margin: 0 10px 20px;
    }

    .team-grid,
    .stats-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .info-icon {
        align-self: center;
    }
}