/* 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: 100vw;
    max-width: none;
    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: auto;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 250px;
}

.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: auto;
    }

    .instructor-image img {
        max-height: 180px;
    }
    
    .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: auto;
    }

    .instructor-image img {
        max-height: 150px;
    }
    
    .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);
}


/* 第5回更新用 */
.recruiting-notice {
    color: #ffd166;
    font-weight: 700;
}
.highlight-unit {
    font-size: 0.45em;
    vertical-align: middle;
}
.date-tbd {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    font-size: 0.8em;
    font-weight: 600;
}

/* ===== 第5回 ビジュアルリニューアル 2026 ===== */
:root {
    --primary: #0f766e;
    --primary-dark: #073b3a;
    --primary-light: #ccfbf1;
    --accent: #ff6b4a;
    --accent-dark: #dd4b2d;
    --sun: #f7c948;
    --ink: #173b3f;
    --muted: #5d7477;
    --surface: #f5fbfa;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(7, 59, 58, 0.13);
}
body { color: var(--ink); background: var(--surface); }
.header { background: rgba(7,59,58,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.12); }
.header.is-scrolled { background: rgba(7,59,58,.97); backdrop-filter: blur(18px); box-shadow: 0 8px 28px rgba(7,59,58,.2); }
.header-title { font-weight: 700; letter-spacing: .02em; font-size: clamp(1rem, 1.12vw, 1.32rem); }
.header-edition { display:inline-grid; place-items:center; min-width:58px; height:30px; margin-right:.35rem; padding:0 .65rem; border-radius:999px; color:var(--primary-dark); background:var(--sun); font-size:.82rem; font-weight:900; text-transform:uppercase; }
.nav-menu a { position:relative; font-weight:500; }
.nav-menu a::after { content:''; position:absolute; left:0; right:100%; bottom:2px; height:2px; background:var(--sun); transition:right .25s ease; }
.nav-menu a:hover::after { right:0; }
.hero { min-height:720px; height:88vh; }
.hero-overlay { background: linear-gradient(110deg, rgba(4,45,45,.94) 0%, rgba(8,93,86,.84) 52%, rgba(255,107,74,.43) 100%); }
.hero-image { filter:saturate(.82) contrast(1.04); }
.hero-two-pane-fullwidth {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: minmax(0, 50vw) minmax(0, 50vw);
}
.hero-left-pane, .hero-right-pane {
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    background: transparent;
}
.hero-left-pane {
    align-items: center;
    text-align: center;
    padding: 4.4rem clamp(2rem, 4.6vw, 5.5rem);
}
.hero-right-pane {
    padding: 4.4rem clamp(2rem, 4.2vw, 5.2rem);
}
.hero-kicker { margin-bottom:1.3rem; color:#b9fff4; font-size:.82rem; font-weight:700; letter-spacing:.2em; }
.hero-main-title {
    width: 100%;
    max-width: none;
    margin: 0 0 2rem;
    font-size: clamp(2.7rem, 4.05vw, 4.65rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: normal;
    text-shadow: 0 8px 30px rgba(0,0,0,.24);
}
.hero-title-line {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    white-space: nowrap;
}
.edition-badge { display:block; width:max-content; margin:0 auto 1.1rem; padding:.48rem 1.05rem; border-radius:999px; color:var(--primary-dark); background:var(--sun); font-size:clamp(.95rem,1.4vw,1.25rem); line-height:1; letter-spacing:.08em; box-shadow:0 10px 30px rgba(247,201,72,.24); }
.organizer-details { justify-content:center; font-size:1rem; opacity:.92; }
.hero-subtitle { max-width:760px; font-size:clamp(1.35rem,2vw,2.05rem); line-height:1.42; text-align:left; }
.hero-subcopy { display:inline-block; margin-top:.8rem; color:#d8fffa; font-size:.54em; font-weight:500; line-height:1.8; }
.recruiting-notice { display:inline-flex; margin-top:1.35rem; padding:.72rem 1.15rem; border:1px solid rgba(255,255,255,.5); border-radius:999px; color:var(--primary-dark); background:var(--sun); font-size:.56em; font-weight:900; letter-spacing:.05em; box-shadow:0 10px 30px rgba(0,0,0,.12); }
.hero-highlights { gap:1rem; margin:0 0 2.1rem; }
.highlight-item { position:relative; padding:1.25rem 1rem; background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.23); border-radius:18px; box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
.highlight-en { display:block; margin-bottom:.5rem; color:#b9fff4; font-size:.68rem; font-weight:800; letter-spacing:.17em; }
.highlight-number { color:var(--sun); font-size:clamp(2rem,3vw,3.1rem); }
.highlight-label { font-weight:600; }
.hero-cta { width:100%; align-items:flex-start; }
.hero-cta .btn { min-width:0; width:100%; max-width:620px; border-radius:14px; background:linear-gradient(135deg,var(--accent),#ff8f5c); box-shadow:0 16px 35px rgba(255,107,74,.34); }
.hero-cta .btn:hover { background:linear-gradient(135deg,var(--accent-dark),var(--accent)); transform:translateY(-3px) scale(1.01); }
.hero-indicators { left:auto; right:3rem; transform:none; }
.key-dates { position:relative; z-index:5; margin-top:-42px; padding:0 0 3rem; }
.key-dates-grid { display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden; border-radius:22px; background:#fff; box-shadow:var(--shadow); }
.key-date-card { position:relative; display:flex; flex-direction:column; min-height:176px; padding:1.7rem 1.6rem; border-right:1px solid #dcebea; }
.key-date-card:last-child { border-right:none; }
.key-date-number { position:absolute; top:1rem; right:1rem; color:#d6e8e6; font-size:2.7rem; font-weight:900; line-height:1; }
.key-date-en { color:var(--accent); font-size:.68rem; font-weight:900; letter-spacing:.16em; }
.key-date-card strong { margin:auto 0 .25rem; color:var(--primary-dark); font-size:1.12rem; }
.key-date-value { color:var(--muted); font-size:.94rem; }
.section-eyebrow { margin-bottom:.65rem; color:var(--accent); text-align:center; font-size:.76rem; font-weight:900; letter-spacing:.2em; }
.section-title { color:var(--primary-dark); font-size:clamp(2rem,4vw,3.15rem); letter-spacing:-.03em; }
.section-title::after { width:54px; height:5px; background:linear-gradient(90deg,var(--accent),var(--sun)); }
.event-intro,.event-details,.instructors,.contact { background:#fff; }
.schedule,.steps,.past-events { background:var(--surface); }
.intro-hero { background:linear-gradient(135deg,#eafffb,#fff6ed); border:1px solid #cce7e3; box-shadow:0 16px 50px rgba(15,118,110,.08); }
.intro-hero h3,.program-title,.program-details strong,.timeline-content h5,.detail-content strong,.step-title,.instructor-name,.contact-item h4 { color:var(--primary); }
.program-card,.detail-card,.step-card,.instructor-item,.contact-item { border-color:#dcebea; box-shadow:0 10px 32px rgba(7,59,58,.08); }
.program-card::before,.step-card::before { height:6px; background:linear-gradient(90deg,var(--primary),#2dd4bf,var(--sun),var(--accent)); }
.program-number,.timeline-date,.step-number,.detail-header,.phase-header { background:linear-gradient(135deg,var(--primary-dark),var(--primary)); }
.program-number { width:auto; height:auto; padding:.65rem 1.15rem; border-radius:999px; }
.program-details { border-left-color:var(--accent); background:#f5fbfa; }
.message-box { border-color:#dcebea; background:linear-gradient(135deg,#fff,#f1fbf9); }
.message-box::before { content:'↗'; color:#fff; background:var(--accent); }
.cta-text { color:var(--primary-dark); border:1px solid #dcebea; }
.phase-header { border-radius:20px 20px 0 0; }
.phase-header::after { border-top-color:var(--primary-dark); }
.timeline-container { border-color:#dcebea; }
.timeline-item.is-tbd { background:linear-gradient(90deg,#fffaf0,#fff); border-left:5px solid var(--sun); }
.detail-header { text-align:left; }
.detail-content li::before { color:var(--accent); }
.price { color:var(--accent); }
.application { position:relative; overflow:hidden; background:linear-gradient(135deg,#073b3a 0%,#0f766e 58%,#149c8d 100%); }
.application::before,.application::after { content:''; position:absolute; border-radius:50%; background:rgba(247,201,72,.15); }
.application::before { width:380px; height:380px; top:-190px; right:-100px; }
.application::after { width:280px; height:280px; bottom:-160px; left:-80px; }
.application .container { position:relative; z-index:1; }
.deadline-panel { max-width:680px; margin:0 auto 2rem; padding:1.6rem 2rem; border:1px solid rgba(255,255,255,.25); border-radius:18px; background:rgba(255,255,255,.1); backdrop-filter:blur(12px); }
.deadline-panel span { display:block; color:#b9fff4; font-size:.72rem; font-weight:900; letter-spacing:.18em; }
.deadline-panel strong { display:block; margin:.25rem 0 .4rem; color:var(--sun); font-size:clamp(1.75rem,4.3vw,3.1rem); line-height:1.2; }
.deadline-panel p { margin:0; font-size:1rem; }
.application-form { max-width:620px; border-radius:22px; background:rgba(255,255,255,.12); }
.form-input { border-radius:10px; }
.form-submit .btn { background:linear-gradient(135deg,var(--accent),#ff8f5c); box-shadow:0 14px 32px rgba(0,0,0,.2); }
.category-title { color:var(--primary); }
.category-title::after { background:var(--accent); }
.footer { background:#052f2e; }
.contact-item a { color:var(--primary); }
@media (max-width: 1024px) {
  .hero { height:auto; min-height:0; }
  .hero-two-pane-fullwidth { width:100%; grid-template-columns:1fr; }
  .hero-left-pane { padding:6rem 2rem 2rem; align-items:center; text-align:center; }
  .hero-main-title,.hero-subtitle { text-align:center; }
  .hero-main-title { max-width:none; }
  .hero-title-line { width:auto; white-space:normal; }
  .organizer-details { justify-content:center; }
  .hero-right-pane { padding:1rem 2rem 6rem; }
  .hero-cta { align-items:center; }
  .key-dates-grid { grid-template-columns:repeat(2,1fr); }
  .key-date-card:nth-child(2) { border-right:none; }
  .key-date-card:nth-child(-n+2) { border-bottom:1px solid #dcebea; }
}
@media (max-width: 768px) {
  .header-title { font-size:.95rem; }
  .header-edition { min-width:52px; height:26px; padding:0 .55rem; font-size:.72rem; }
  .hero-left-pane { padding:5rem 1.2rem 1.25rem; }
  .hero-right-pane { padding:1rem 1.2rem 5rem; }
  .hero-main-title { max-width:none; font-size:clamp(2.05rem,9.8vw,3rem); text-align:center; }
  .hero-title-line { width:auto; white-space:normal; }
  .hero-subtitle { font-size:1.45rem; }
  .hero-subcopy { font-size:.62em; }
  .hero-highlights { grid-template-columns:repeat(3,1fr); gap:.5rem; }
  .highlight-item { padding:.9rem .35rem; }
  .highlight-label { font-size:.72rem; }
  .highlight-number { font-size:1.65rem; }
  .highlight-en { font-size:.52rem; }
  .key-dates { margin-top:-28px; }
  .key-dates-grid { grid-template-columns:1fr; border-radius:16px; }
  .key-date-card { min-height:118px; border-right:none; border-bottom:1px solid #dcebea; }
  .key-date-card:last-child { border-bottom:none; }
  .key-date-card:nth-child(2) { border-right:none; }
  .hero-indicators { right:1.5rem; }
  .deadline-panel { padding:1.35rem 1rem; }
}
@media (max-width: 480px) {
  .hero-kicker { font-size:.6rem; letter-spacing:.12em; }
  .hero-highlights { grid-template-columns:1fr; width:100%; }
  .highlight-item { display:grid; grid-template-columns:1fr auto; align-items:center; text-align:left; padding:.9rem 1rem; }
  .highlight-en { grid-column:1; }
  .highlight-label { grid-column:1; }
  .highlight-number { grid-column:2; grid-row:1 / span 2; }
  .organizer-details { font-size:.85rem; }
  .hero-cta .btn { min-width:0; width:100%; }
}


/* ===== 第5回補足表示 ===== */

@media (max-width: 900px) {
    }

@media (max-width: 768px) {
}


/* 追加ナビゲーション・未定表示の微調整 */
.tbd-heading::before {
    content: "調整中";
    display: inline-block;
    margin-right: .55rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: .72rem;
    vertical-align: .12em;
}
@media (max-width: 768px) {
    .nav-menu.active { max-height: 520px; }
}

/* 第5回調整：メッセージボックス上部の装飾アイコンを非表示 */
.message-box::before { display: none !important; content: none !important; }
