/* styles.css */

/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8fafc;
    font-size: 16px;
}

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

/* ヘッダー - 全幅対応 */
.header {
    background: #074099;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: none; /* コンテナ幅制限を削除 */
    width: 100%;
    padding: 0 2rem; /* 左右に余白を追加 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.header-logo {
    flex: 0 0 auto; /* 左端に固定 */
}

.header-nav {
    flex: 0 0 auto; /* 右端に固定 */
    margin-left: auto; /* 右端に寄せる */
}

.header-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap; /* タイトルの改行を防ぐ */
    min-width: 0; /* フレックスアイテムの最小幅を設定 */
    flex-shrink: 1; /* 必要に応じて縮小可能 */
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* ギャップを調整 */
    flex-wrap: nowrap; /* 改行を防ぐ */
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
    padding: 0.5rem 0;
    font-size: 1rem; /* フォントサイズを少し小さく */
    white-space: nowrap; /* テキストの改行を防ぐ */
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* ヒーローセクション - スマホ対応改善 */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(7, 64, 153, 0.85), rgba(7, 64, 153, 0.7));
    z-index: -1;
}

.hero-content-fullwidth {
    position: relative;
    z-index: 1;
    color: white;
    width: 100%;
    height: 100%;
    animation: fadeInUp 1.5s ease-out;
}

.hero-two-pane-fullwidth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
}

/* 左側ペイン */
.hero-left-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    background: rgba(7, 64, 153, 0.1);
    text-align: center;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.organizer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.organizer-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    justify-content: center;
}

.organizer-details .white {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.organizer-details .text .en {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

.organizer-details .text .ja {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
}

/* 右側ペイン */
.hero-right-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(7, 64, 153, 0.05);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.4;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #f6ad55;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

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

/* CTAボタンの横幅を2倍に */
.hero-cta .btn {
    min-width: 600px;
    padding: 1.5rem 6rem;
    font-size: 1.3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 300;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

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

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.5);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

/* セクションタイトル */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #074099;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #074099;
    border-radius: 2px;
}

/* イベント紹介セクション - 改善版 */
.event-intro {
    padding: 6rem 0;
    background: white;
}

.intro-hero {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.intro-hero h3 {
    font-size: 2.2rem;
    color: #074099;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-hero p {
    font-size: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.intro-hero strong {
    color: #074099;
    font-weight: 700;
}

/* プログラム紹介 - カード式レイアウト */
.programs-section {
    margin-bottom: 4rem;
}

.programs-section h4 {
    font-size: 2rem;
    color: #074099;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

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

.program-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
}

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

.program-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.program-title {
    font-size: 1.6rem;
    color: #074099;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-description {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-details {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid #074099;
}

.program-details p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #4a5568;
}

.program-details p:last-child {
    margin-bottom: 0;
}

.program-details strong {
    color: #074099;
}

/* メッセージボックス - 改善版 */
.message-box {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid #e2e8f0;
    position: relative;
}

.message-box::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message-content h4 {
    font-size: 1.5rem;
    color: #074099;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.message-content p {
    color: #4a5568;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.benefits {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid #38a169;
}

.benefit-item {
    color: #38a169;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.cta-text {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #074099;
    margin-top: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

/* スケジュールセクション - 改善版 */
.schedule {
    padding: 6rem 0;
    background: #f8fafc;
}

.schedule-phases {
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-phase {
    margin-bottom: 4rem;
}

.phase-header {
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
    position: relative;
}

.phase-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 10px solid #074099;
}

.phase-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.phase-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.timeline-container {
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    border-top: none;
}

.timeline-item {
    padding: 2rem;
    border-bottom: 1px solid #f7fafc;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

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

.timeline-date {
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.timeline-content h5 {
    font-size: 1.4rem;
    color: #074099;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* 任意項目のスタイリング */
.timeline-item.optional {
    opacity: 0.85;
    background: #f8fafc;
    border-left: 3px solid #94a3b8;
    position: relative;
}

.timeline-item.optional:hover {
    background: #f1f5f9;
}

.timeline-item.optional .timeline-date {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.timeline-item.optional h5 {
    color: #64748b;
}

.timeline-item.optional p {
    color: #64748b;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.item-title {
    font-size: 1.2rem;
    color: #074099;
    margin: 0;
    font-weight: 600;
}

.timeline-item.optional .item-title {
    color: #64748b;
}

.optional-badge {
    background: #94a3b8;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
}

/* イベント概要セクション - 改善版 */
.event-details {
    padding: 6rem 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.detail-header {
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.detail-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.detail-content {
    padding: 2rem;
}

.detail-content p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
}

.detail-content ul {
    list-style: none;
    padding-left: 0;
}

.detail-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #4a5568;
    font-size: 1.05rem;
}

.detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #38a169;
    font-weight: bold;
    font-size: 1.1rem;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: #e53e3e;
    margin-bottom: 1rem;
    text-align: center;
}

.price-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #e2e8f0;
}

/* 参加の流れセクション - 改善版 */
.steps {
    padding: 6rem 0;
    background: #f8fafc;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    border-radius: 15px 15px 0 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.7rem;
    color: #074099;
    margin: 0;
    font-weight: 600;
}

.step-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
}

.step-description strong {
    color: #074099;
}

/* 申込フォーム */
.application {
    padding: 6rem 0;
    background: linear-gradient(135deg, #074099 0%, #3182ce 100%);
    color: white;
}

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

.application .section-title::after {
    background: rgba(255, 255, 255, 0.8);
}

.application-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.application-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.required {
    color: #feb2b2;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* 講師・メンター */
.instructors {
    padding: 5rem 0;
    background: white;
}

.instructor-category {
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    font-size: 1.8rem;
    color: #074099;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #074099;
    border-radius: 2px;
}

.instructors-grid {
    display: grid;
    gap: 2rem;
}

.instructor-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    transition: transform 0.3s ease;
}

.instructor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.instructor-image {
    width: 200px;
    height: 200px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.instructor-info {
    padding: 1.5rem;
}

.instructor-name {
    font-size: 1.4rem;
    color: #074099;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.instructor-title {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.instructor-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 過去イベント */
.past-events {
    padding: 5rem 0;
    background: #f8fafc;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-container iframe {
    width: 100%;
    height: 450px;
}

/* お問い合わせ */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-item h4 {
    font-size: 1.6rem;
    color: #074099;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: #074099;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* フッター */
.footer {
    background: #074099;
    color: #e2e8f0;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-logo .logo {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.footer-logo .text .en {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    font-weight: 300;
}

.footer-logo .text .ja {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* レスポンシブデザイン - 大幅改善 */
@media (max-width: 1024px) {
    /* タブレット表示の調整 */
    .header-content {
        padding: 0 1.5rem;
    }
    
    .header-title {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .hero-cta .btn {
        min-width: 450px;
        padding: 1.3rem 4rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* ヘッダー - モバイル */
    .header-content {
        padding: 0 1rem;
    }
    
    .header-title {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #074099;
        flex-direction: column;
        width: 250px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        gap: 0;
    }
    
    .nav-menu.active {
        max-height: 400px;
        padding: 1rem 0;
    }
    
    .nav-menu li {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1rem;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    /* ヒーロー - モバイル */
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-two-pane-fullwidth {
        grid-template-columns: 1fr;
        gap: 0;
        height: auto;
    }
    
    .hero-left-pane {
        padding: 2rem 1rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-right-pane {
        padding: 2rem 1rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .highlight-label {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    /* モバイルでCTAボタンのサイズ調整 */
    .hero-cta .btn {
        min-width: 90%;
        max-width: 350px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .organizer-details {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1.2rem;
    }
    
    .organizer-details .white {
        width: 50px;
        height: 50px;
    }
    
    .organizer-details .text .en {
        font-size: 0.9rem;
    }
    
    .organizer-details .text .ja {
        font-size: 1.1rem;
    }
    
    /* セクション全般 */
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    /* イベント紹介 - モバイル */
    .event-intro {
        padding: 4rem 0;
    }
    
    .intro-hero {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .intro-hero h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .intro-hero p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .program-title {
        font-size: 1.4rem;
    }
    
    .program-description {
        font-size: 1rem;
    }
    
    .message-box {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .message-content h4 {
        font-size: 1.3rem;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
    
    /* スケジュール - モバイル */
    .schedule {
        padding: 4rem 0;
    }
    
    .phase-header {
        padding: 1.5rem;
    }
    
    .phase-title {
        font-size: 1.4rem;
    }
    
    .phase-subtitle {
        font-size: 1rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .timeline-date {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .timeline-content h5 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    /* イベント概要 - モバイル */
    .event-details {
        padding: 4rem 0;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .detail-card {
        margin-bottom: 1rem;
    }
    
    .detail-header h4 {
        font-size: 1.3rem;
    }
    
    .detail-content {
        padding: 1.5rem;
    }
    
    .detail-content p {
        font-size: 1rem;
    }
    
    .detail-content li {
        font-size: 1rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    /* 参加の流れ - モバイル */
    .steps {
        padding: 4rem 0;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-description {
        font-size: 1rem;
        text-align: left;
    }
    
    /* 申込フォーム - モバイル */
    .application {
        padding: 4rem 0;
    }
    
    .application-form {
        padding: 2rem;
        margin: 0 1rem;
        max-width: none;
    }
    
    .form-input {
        font-size: 16px; /* iOSでズームインを防ぐ */
        padding: 1rem;
    }
    
    .form-label {
        font-size: 1rem;
    }
    
    /* 講師・メンター - モバイル */
    .instructors {
        padding: 4rem 0;
    }
    
    .instructor-item {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 0 0.5rem;
    }
    
    .instructor-image {
        justify-self: center;
        width: 150px;
        height: 150px;
    }
    
    .instructor-info {
        padding: 1.5rem;
    }
    
    .instructor-name {
        font-size: 1.2rem;
    }
    
    .instructor-title {
        font-size: 0.9rem;
    }
    
    .instructor-description {
        font-size: 0.9rem;
        text-align: left;
    }
    
    /* 過去イベント - モバイル */
    .past-events {
        padding: 4rem 0;
    }
    
    .video-container {
        margin: 0 1rem;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    /* お問い合わせ - モバイル */
    .contact {
        padding: 4rem 0;
    }
    
    .contact-item {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-item h4 {
        font-size: 1.4rem;
    }
    
    .contact-item p {
        font-size: 1.1rem;
    }
    
    /* フッター - モバイル */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo .logo {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo .text .en {
        font-size: 0.8rem;
    }
    
    .footer-logo .text .ja {
        font-size: 1rem;
    }
    
    /* ボタン - モバイル */
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* 超小画面用の調整 */
    .header-title {
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-left-pane,
    .hero-right-pane {
        padding: 1.5rem 1rem;
    }
    
    .hero-cta .btn {
        min-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .organizer-details .white {
        width: 40px;
        height: 40px;
    }
    
    .organizer-details .text .en {
        font-size: 0.8rem;
    }
    
    .organizer-details .text .ja {
        font-size: 1rem;
    }
    
    .intro-hero {
        padding: 1.5rem 1rem;
    }
    
    .intro-hero h3 {
        font-size: 1.5rem;
    }
    
    .intro-hero p {
        font-size: 1.1rem;
    }
    
    .program-card {
        padding: 1.2rem;
        margin: 0 0.2rem;
    }
    
    .message-box {
        padding: 1.5rem 1rem;
        margin: 0 0.2rem;
    }
    
    .timeline-item {
        padding: 1.2rem;
    }
    
    .detail-card {
        margin: 0 0.2rem 1rem;
    }
    
    .step-card {
        padding: 1.5rem 1rem;
        margin: 0 0.2rem 1rem;
    }
    
    .application-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .instructor-image {
        width: 120px;
        height: 120px;
    }
    
    .instructor-item {
        margin: 0 0.2rem;
    }
    
    .video-container {
        margin: 0 0.5rem;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .hero-cta .btn {
        min-width: 250px;
        max-width: 280px;
    }
}

/* 超小画面（iPhone SE等）用の追加調整 */
@media (max-width: 375px) {
    .header-title {
        font-size: 0.8rem;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta .btn {
        min-width: 220px;
        max-width: 250px;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .program-card,
    .detail-card,
    .step-card {
        margin: 0;
    }
    
    .message-box {
        margin: 0;
    }
    
    .application-form,
    .contact-item {
        margin: 0 0.2rem;
    }
    
    .instructor-item,
    .video-container {
        margin: 0 0.2rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content-fullwidth {
    animation: fadeInUp 1.5s ease-out;
}

/* スクロールアニメーション用のクラス（JavaScriptで制御） */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ヒーローインジケーターのモバイル対応 */
@media (max-width: 768px) {
    .hero-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

.program-details p strong:contains("期間："),
.program-details p strong:contains("開催："),
.program-details p strong:contains("回数："),
.program-details p strong:contains("時間：") {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e53e3e;
}

.timeline-date strong {
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

