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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Global Navigation */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4ECDC4;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.header::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="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-title {
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: #FFE066;
}

.title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.header-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.header-logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 3;
}

.nippon-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2C3E50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-radius: 2px;
}

/* About Section - 強制的に白背景 */
.about-section {
    padding: 5rem 0;
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    position: relative;
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white !important;
    z-index: -1;
}

.about-section .container {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    position: relative;
    z-index: 2;
}

.about-section .about-content {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
}

.about-section .section-title {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
}

.about-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #2C3E50;
    line-height: 1.8;
    opacity: 0.95;
    background: white !important;
    background-color: white !important;
    background-image: none !important;
}

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

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

.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, #4ECDC4, #44A08D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.schedule .section-title {
    color: white;
}

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

.schedule-card, .pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-header, .pricing-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.date {
    font-weight: 600;
    font-size: 1.1rem;
}

.time {
    opacity: 0.9;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.price-item.student {
    background: rgba(255, 230, 102, 0.2);
    margin: 0.5rem -1rem;
    padding: 1rem;
    border-radius: 10px;
    border: none;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFE066;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Program Section */
.program {
    padding: 5rem 0;
    background: #f8f9fa;
}

.program-day {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.day-header {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.day-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.lecture-item {
    padding: 2.5rem;
    border-bottom: 1px solid #eee;
}

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

.lecture-header {
    margin-bottom: 2rem;
}

.lecture-header h4 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.lecture-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.lecture-time {
    display: inline-block;
    background: linear-gradient(135deg, #FFE066, #FF8E53);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lecturer-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.lecturer-photo {
    flex-shrink: 0;
}

.lecturer-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.lecturer-details h5 {
    font-size: 1.3rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.lecturer-title {
    color: #4ECDC4;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lecturer-bio {
    color: #555;
    line-height: 1.7;
}

.dual-bio {
    margin-top: 1rem;
}

.bio-section {
    margin-bottom: 1.5rem;
}

.bio-section:last-child {
    margin-bottom: 0;
}

.bio-section strong {
    color: #2C3E50;
    display: block;
    margin-bottom: 0.5rem;
}

.bio-section p {
    margin-left: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Apply Section */
.apply {
    padding: 5rem 0;
    background: white;
}

.apply-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.apply-info {
    text-align: center;
}

.apply-info h3 {
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.apply-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
}

.form-section h3 {
    font-size: 1.8rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.form-section p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-container iframe {
    border-radius: 10px;
    width: 100%;
    min-height: 800px;
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 3rem 0;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4ECDC4;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.support-text {
    text-align: right;
    font-style: italic;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .nippon-logo {
        height: 50px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .lecturer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .lecturer-photo img {
        width: 100px;
        height: 100px;
    }
    
    .apply-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .support-text {
        text-align: center;
    }
    
    .form-container iframe {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lecturer-photo img {
        width: 80px;
        height: 80px;
    }
    
    .lecture-item {
        padding: 1.5rem;
    }
    
    .program-day {
        margin-bottom: 2rem;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #4ECDC4, #44A08D);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(78, 205, 196, 0.3);
    border-radius: 50%;
    border-top-color: #4ECDC4;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}


/* 講師写真の複数表示用 */
.lecturer-photos {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.lecturer-photos .lecturer-photo {
    flex: 0 0 auto;
}

/* スケジュールノート */
.schedule-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #4ecdc4;
}

/* CTAセクション */
.cta-section {
    text-align: center;
    margin-top: 20px;
}


/* スケジュールノート修正 */
.schedule-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4ecdc4;
}

/* 講演7の写真配置修正 */
.bio-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.bio-content .lecturer-photo {
    flex: 0 0 120px;
}

.bio-text {
    flex: 1;
}

.bio-text strong {
    display: block;
    margin-bottom: 10px;
    color: #4ecdc4;
    font-size: 1.1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ナビゲーション */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        color: #333;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    /* ヘッダー */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* 講座について */
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 開催情報 */
    .schedule-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .schedule-card, .pricing-card {
        margin: 0;
    }
    
    /* プログラム詳細 */
    .lecture-item {
        padding: 20px;
    }
    
    .lecturer-info {
        flex-direction: column;
    }
    
    .lecturer-photo {
        width: 80px;
        height: 80px;
    }
    
    .bio-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .bio-content .lecturer-photo {
        flex: none;
        align-self: center;
    }
    
    /* 申込セクション */
    .apply-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-container iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .lecturer-photo {
        width: 60px;
        height: 60px;
    }
    
    .form-container iframe {
        height: 500px;
    }
}


/* 日本財団ロゴ */
.header-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.nippon-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

