:root {
    /* Color Palette - Enhanced for WCAG AA compliance */
    --primary-color: #6C5E8B;
    --primary-dark: #5A4D73;
    --primary-light: #8A7BA3;
    --secondary-color: #F5F5F5;
    --text-color: #2C2C2C;
    --text-color-light: #444444;
    --text-color-muted: #666666;
    --accent-color: #8A6FB6;
    --accent-dark: #735A9A;
    --accent-light: #A68FC8;
    --header-bg: #E6E6EA;
    --hero-bg: #DEDCE3;
    --bg-light: #F8F9FA;
    --bg-gray: #F6F6F6;
    --border-color: #E6E6EA;
    --border-color-dark: #D0D0D4;
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    
    /* Typography Scale */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 28px;
    --font-size-4xl: 32px;
    
    /* Spacing Scale */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows - Enhanced */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Grid System */
    --container-max-width: 1200px;
    --content-max-width: 1000px;
    --grid-gap: 24px;
}

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

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.75;
    color: var(--text-color);
    background-color: white;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Focus styles for keyboard navigation - Enhanced Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline-offset: 4px;
    outline-width: 3px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 700;
}

.skip-to-main:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #4A3D6B;
        --text-color: #000000;
        --text-color-light: #1A1A1A;
        --border-color: #000000;
    }
    
    .course-detail-box {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* 非表示用クラス */
.hidden-section {
    display: none !important; /* 他のスタイルに上書きされないように!importantを追加 */
}

main {
    padding-top: 0; /* ヘッダーの高さ分のパディングは不要（ヒーローセクションはヘッダーと重なる） */
    margin-bottom: 0; /* フッターとの間の余白を削除 */
}

header {
    background-color: transparent;
    padding: 1rem 2rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: auto;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background-color: rgba(230, 230, 234, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        background-color: rgba(230, 230, 234, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    header.scrolled {
        background-color: rgba(230, 230, 234, 0.98);
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: relative;
}

@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
}

.logo {
    width: 100px;
    flex-shrink: 0; /* 縮小しない */
}

.logo img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        flex-shrink: 0;
    }
}

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

/* デスクトップ表示では通常のナビゲーションを表示 */
@media (min-width: 769px) {
    nav#main-navigation {
        position: static !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
    }

    nav#main-navigation ul {
        display: flex !important;
        flex-direction: row !important;
        transform: none !important;
        position: static !important;
        background-color: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

nav a {
    text-decoration: none;
    color: #483A65;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* 日本語部分のスタイル */
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    letter-spacing: 0.07em;
}

nav a span {
    /* 英語表記部分のスタイル */
    font-family: 'Economica';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #483A65;
    margin-top: 0.2rem;
}

nav a:hover {
    opacity: 0.8;
}

nav a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
    opacity: 1;
}

/* ハンバーガーメニューのアクセシビリティ向上 */
.hamburger-menu {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: none; /* PCでは非表示 */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    outline: none;
}

.hamburger-menu:focus {
    outline: 2px solid #6C5E8B;
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #483A65;
    transition: all 0.3s ease;
}

/* オーバーレイスタイル */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイル表示ではハンバーガーメニューを表示、ナビゲーションを非表示 */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important; /* モバイルでは表示 */
        z-index: 1001;
        position: relative;
        margin-left: auto; /* 右側に寄せる */
        flex-shrink: 0; /* 縮小しない */
        order: 2; /* 右側に配置 */
    }

    .logo {
        order: 1; /* 左側に配置 */
    }

    /* デスクトップナビを非表示、モバイルメニュー用に設定 */
    nav#main-navigation {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        z-index: 999;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    nav#main-navigation.active {
        pointer-events: auto;
        opacity: 1;
    }

    nav#main-navigation ul {
        display: flex;
        flex-direction: column;
        background-color: var(--header-bg);
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        margin: 0;
        list-style: none;
        width: 100%;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    nav#main-navigation.active ul {
        transform: translateX(0);
    }

    nav li {
        width: 100%;
        margin: 0;
        list-style: none;
    }

    nav a {
        padding: 1.2rem 2rem;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(72, 58, 101, 0.1);
        transition: background-color 0.2s ease;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    nav a:hover {
        background-color: rgba(108, 94, 139, 0.1);
        opacity: 1;
    }

    nav a span {
        margin-left: 0.5rem;
        font-size: 12px;
    }

    .login-button {
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        width: calc(100% - 4rem);
        text-align: center;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }

    .login-button span {
        margin-left: 0;
    }
}

/* 共通ユーティリティクラス */
.text-center {
    text-align: center;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

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

.deadline-closed {
    color: #FF0000;
    font-weight: bold;
    margin-left: 10px;
}

.link-primary {
    color: #6C5E8B;
    font-weight: bold;
}

.link-primary:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.link-primary:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
    text-decoration: underline;
}

.login-button {
  background-color: #dc3545; /* 赤系の背景色 */
  color: white !important; /* 文字色を白に、他のスタイルに上書きされないように!importantを追加 */
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-left: 10px; /* 他のメニュー項目との間隔 */
  font-weight: bold;
  display: inline-block; /* ボタンとして表示 */
  line-height: normal; /* nav a からの継承をリセット */
}

.login-button span { /* ボタン内のspanタグのスタイルをリセット */
    font-family: 'Noto Sans JP', sans-serif; /* ボタン専用のフォント指定 */
    font-style: normal;
    font-weight: bold; /* nav a span からの継承を上書き */
    font-size: 12px; /* nav a と同じサイズに */
    line-height: normal; /* nav a span からの継承をリセット */
    text-align: center;
    letter-spacing: 0.07em; /* nav a と同じ文字間隔に */
    color: white !important; /* 文字色を白に */
    margin-top: 0; /* nav a span からの継承をリセット */
    display: inline; /* spanなのでinline */
}

.login-button:hover {
  background-color: #c82333; /* ホバー時の濃い赤 */
  opacity: 1; /* nav a:hover の opacity を上書き */
}

.points {
    padding: 4rem 1rem;
    background-color: white;
}

.point {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}
.course-apply-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 12px 40px 12px 18px !important;
    width: 240px !important;
    background: var(--primary-color) !important;
    border-radius: 32px !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ホバー効果 */
.course-apply-button:hover {
    background-color: var(--accent-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* ボタン内の共通spanスタイル */
.course-apply-button span {
    color: #FFFFFF !important;
    font-family: 'Noto Sans JP';
    font-weight: 700;
    font-size: 14px;
    /* text-align: center; Removed */
}

/* ボタン内のテキスト用スタイル */
.course-apply-button span:first-child {
    flex-grow: 1; /* Added */
    text-align: center; /* Added */
    /* margin-right: 5px; */ /* Removed */
}

/* ボタン内の矢印用スタイル */
.course-apply-button span:last-child {
    position: absolute; /* Added */
    right: 20px; /* Added */
    top: 50%; /* Added */
    transform: translateY(-50%); /* Added */
}

@media (max-width: 768px) {
    /* タブレットでのボタンレイアウト調整 */
     .course-apply-button {
        /* Inherits most styles, ensure padding is appropriate if needed */
    }
}

/* --- Flowchart Image Modal --- */
.flowchart-container {
    position: relative; /* ガイドテキストの位置調整のため */
}

.flowchart-guide {
    display: none; /* デフォルトでは非表示 */
    font-size: 0.8em;
    color: #555;
    margin-top: 5px;
}

/* スマホ表示時 (例: 768px以下) */
@media (max-width: 768px) {
    .flowchart-guide {
        display: block; /* スマホでは表示 */
    }
    #flowchart-image {
        cursor: pointer; /* タップ可能を示すカーソル */
    }
}

/* Image Modal Styles */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Contact page button text line-height adjustment */
.contact-page-section .course-apply-button span:first-child {
    line-height: 1.3 !important;
}

/* Center contact page button */
.contact-page-section .course-apply-button {
    margin-left: auto;
    margin-right: auto;
}

/* FAQ もっと見るボタンコンテナ */
.faq-button-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px 0px;
    gap: 100px;
    width: auto;
    height: auto;
    background: #FFFFFF;
}

.faq-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 50px;
    width: 100%;
    max-width: 1440px;
    height: auto;
    margin-top: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 50px;
    width: 900px;
    height: auto;
}

.faq-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 5px;
    width: 900px;
    height: auto;
}

.faq-question-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 15px;
    width: 900px;
    height: auto;
    background: var(--bg-gray);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.faq-question-box:hover {
    background: rgba(108, 94, 139, 0.05);
}

.faq-answer-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 15px;
    width: 900px;
    height: auto;
    background: var(--bg-gray);
    border-radius: 8px;
}

.faq-q-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 4px 20px 6px;
    width: 80px;
    height: 80px;
    background: #6C5E8B;
}

.faq-a-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 4px 20px 6px;
    width: 80px;
    height: 80px;
    background: #DEDCE3;
}

.faq-q {
    width: 38px;
    height: 60px;
    font-family: 'Economica';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

.faq-a {
    width: 37px;
    height: 60px;
    font-family: 'Economica';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #6C5E8B;
}

.faq-question {
    width: 805px;
    height: auto;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.05em;
    color: var(--text-color-light);
    padding-right: 15px;
    margin-top: 28px;
    margin-bottom: 28px;
}

.faq-answer {
    width: 805px;
    height: auto;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-color-light);
    padding-right: 15px;
    margin-top: 28px;
    margin-bottom: 28px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .faq-list {
        width: 90%;
    }

    .faq-question-box,
    .faq-answer-box,
    .faq-group {
        width: 100%;
    }

    .faq-question,
    .faq-answer {
        width: calc(100% - 95px);
    }
}

/* 代表者挨拶セクションのレイアウト */
.representative-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

/* 代表者挨拶セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .representative-layout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .representative-layout img {
        margin-bottom: 20px;
    }

    .representative-layout div[style*="flex-grow: 1"] {
        width: 100%;
        text-align: center;
    }

     .representative-layout div[style*="flex-grow: 1"] p {
        text-align: left;
     }
     .representative-layout div[style*="flex-grow: 1"] p:first-of-type,
     .representative-layout div[style*="flex-grow: 1"] p:nth-of-type(2) {
        text-align: center;
     }
}

/* プロジェクト概要ページのデフォルトスタイル */
#project-details .course-content {
    padding: 30px;
}

#project-details .course-content p,
#project-details .course-content h4 {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#project-details .course-content p {
    line-height: 1.7;
}

#project-details .course-content h4:first-of-type,
#project-details .course-content p:nth-of-type(1),
#project-details .course-content p:nth-of-type(2),
#project-details .course-content div:nth-of-type(1) > p {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#project-details .course-content div:nth-of-type(1) > p {
    line-height: 1.8;
}

#project-details .course-content h4 {
    margin-bottom: 0;
}
#project-details .course-content div[style*="margin-bottom: 30px"] p {
    margin-top: 0;
}

@media (max-width: 768px) {
    .faq {
        padding: 100px 0px;
        gap: 50px;
    }

    .faq-question-box,
    .faq-answer-box {
        height: auto;
        min-height: auto;
        padding: 0;
    }

    .faq-question,
    .faq-answer {
        margin-top: 28px;
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 80px 15px;
        gap: 0px;
    }

    .faq-q-box,
    .faq-a-box {
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    .faq-q,
    .faq-a {
        font-size: 25px;
        height: 40px;
        width: 25px;
    }

    .faq-question,
    .faq-answer {
        flex: 1;
        font-size: 14px;
        padding-right: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
        line-height: 1.8;
    }
}

.contact {
    padding: 4rem 1rem;
    background: url('images/contact-bg.png') no-repeat center center;
    background-size: 100% auto;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.contact-content {
    position: relative;
    max-width: 600px;
    margin-left: 10%;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 8px;
    z-index: 2;
}

.contact h2 {
    font-family: 'Economica', sans-serif;
    font-size: 64px;
    color: var(--primary-color);
    line-height: 70px;
    height: 70px;
    width: 100%;
    text-align: center;
    margin: 0;
    position: relative;
}

.contact h2 span {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    line-height: 30px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.contact-text {
    width: 288px;
    height: auto;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 170%;
    text-align: center;
    letter-spacing: 0.07em;
    color: #444444;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 40px auto;
}

.contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 56px;
    border: 1px solid var(--primary-color);
    border-radius: 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 auto;
}

.contact-button-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: var(--primary-color);
    text-align: center;
    margin-right: 10px;
    white-space: nowrap;
}

.arrow {
    font-size: 14px;
    color: var(--primary-color);
    position: absolute;
    right: 20px;
}

.contact-button:hover {
    background-color: var(--primary-color);
}

.contact-button:hover .contact-button-text,
.contact-button:hover .arrow {
    color: white;
}

/* Event Briefing Page Styles */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.announcement-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.announcement-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.announcement-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #2c3e50;
}

.event-details h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.detail-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.detail-section h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-section h4 {
    font-size: 1.2rem;
    color: #34495e;
    margin: 20px 0 10px;
    font-weight: 600;
}

.main-datetime {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e74c3c;
}

.session-details {
    margin: 25px 0;
}

.session {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 6px;
}

.session ul {
    margin: 15px 0 0 20px;
    padding: 0;
}

.session li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.note {
    margin-top: 25px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.note p {
    margin: 5px 0;
    color: #856404;
}

.method {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.venue-details {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.address {
    margin-top: 15px;
}

.address p {
    margin: 8px 0;
    line-height: 1.6;
}

.access {
    color: #27ae60;
    font-weight: 600;
}

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

.registration-link {
    margin: 25px 0;
}

.course-apply-button.large {
    font-size: 1.2rem;
    padding: 15px 30px;
}

.url-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 15px;
    word-break: break-all;
}

.other-info ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.other-info li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-section {
    margin-top: 50px;
    padding: 30px;
    background: #e8f4f8;
    border-radius: 8px;
    text-align: center;
}

.contact-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-section a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive Design for Event Briefing Page */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .announcement-content {
        padding: 25px;
    }
    
    .detail-section {
        padding: 20px;
    }
    
    .main-datetime {
        font-size: 1.1rem;
    }
    
    .session {
        padding: 15px;
    }
}

footer {
    background-color: var(--header-bg);
    padding: 3rem 1rem 3rem;
    color: white;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-logo-link {
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    width: 130px;
    height: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

footer p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    text-align: center;
    color: #483A65;
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 2rem;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-logo-container {
        gap: 1.5rem;
    }

    .footer-logo-img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .footer-logo-container {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo-img {
        width: 120px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.hero {
    background-color: #DEDCE3;
    width: 100%;
    min-height: calc(100vh - 75px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    box-sizing: border-box;
}

.hero-illustration {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero-image {
    flex-basis: 50%;
    max-width: 50%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
}

.hero-text {
    flex-basis: 50%;
    max-width: 50%;
    text-align: left;
    z-index: 2;
    box-sizing: border-box;
    color: #483A65;
}

.hero-subtitle {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.4;
    letter-spacing: 0.07em;
    color: #483A65;
    margin-top: 16px;
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
}

.hero h1 {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.3;
    letter-spacing: 0.07em;
    color: #483A65;
    margin-bottom: clamp(0.8rem, 2vh, 1rem);
}

.hero-english {
    font-family: 'Economica';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(18px, 2.5vw, 30px);
    line-height: 1.5;
    color: #483A65;
}

/* ヒーローセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-illustration {
        flex-direction: column;
        gap: 30px;
        padding: 0 1.5rem;
    }

    .hero-image {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
    }

    .hero-text {
        flex-basis: auto;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0;
    }

    .hero-illustration {
        gap: 20px;
        padding: 0 1rem;
    }
}

.mission {
    background-color: #F0F0F0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 1rem 80px;
    gap: 80px;
    width: 100%;
    margin: 0 auto;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: none;
}

.mission h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin: 0;
    word-wrap: break-word;
    text-align: left;
    width: 100%;
    max-width: 600px;
    margin-bottom: 80px;
}

.title-line {
    background-color: var(--primary-color);
    color: white;
    padding: 0 10px;
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(28px, 4.5vw, 50px);
    margin-bottom: 0.2em;
}

.title-line:last-child {
    margin-bottom: 0;
}


.mission-text {
    width: 100%;
    max-width: 600px;
    height: auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-color-light);
    text-align: left;
}

.mission-text > div:last-of-type {
    margin-top: 80px;
    width: 100%;
    text-align: left;
}

.mission-text p {
    margin: 0 0 10px 0;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-text div[style*="text-align: center"] {
}


.mission-illustration {
    width: 100%;
    max-width: 700px;
    margin: 50px auto 0;
}

.mission-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    width: 100%;
}

.section-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.section-title-en {
    font-family: 'Economica', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 64px;
    line-height: 74px;
    text-align: center;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    margin: 0;
}

.section-title-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.07em;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.section-divider {
    width: 65px;
    height: 3px;
    background: var(--primary-color);
    border: none;
    margin: 10px 0 0 0;
}

.news .section-header {
}

.news .section-title-en,
.news .section-title-ja {
    color: #FFFFFF;
}

.news .section-divider {
    background: #FFFFFF;
}

.news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 30px;
    gap: 30px;
    width: 100%;
    max-width: 1201px;
    height: auto;
    background: #6C5E8B;
    margin: 0 auto;
}

.news-carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 10px;
}

.news-carousel {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 350px;
}

.news-slide {
    flex: 0 0 100%;
    width: 100%;
    transition: all 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.news-slide.active {
    opacity: 1;
    position: relative;
    z-index: 1;
    transform: scale(1);
}

.news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
    width: 100%;
    max-width: 625px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(108, 94, 139, 0.1);
}

.news-slide.active .news-content {
    transform: translateY(0);
}

.news-event-title {
    width: 100%;
    max-width: 625px;
    height: auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 180%;
    letter-spacing: 0.04em;
    color: #6C5E8B;
    margin: 0;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(108, 94, 139, 0.2);
}

.news-event-details {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 96px;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-color-light);
    margin: 10px 0;
    text-align: left;
    flex: none;
    flex-grow: 0;
}

.news-button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.news-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 18px;
    gap: 20px;
    width: 241px;
    height: 48px;
    background: #6C5E8B;
    border-radius: 32px;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 200%;
    text-align: center;
    letter-spacing: 0.07em;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-button:hover {
    background: #8A6FB6;
    transform: translateY(-2px);
}

.news-button-arrow {
    width: 16px;
    height: 32px;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 200%;
    letter-spacing: 0.07em;
    color: #FFFFFF;
}

.news-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.news-nav {
    background: none;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-nav:hover {
    background: #FFFFFF;
    color: #6C5E8B;
    transform: scale(1.1);
}

/* ニュースフィードのローディング状態 */
.news-carousel #news-feed {
    min-height: 350px;
}

.news-slide .news-content {
    transition: opacity 0.3s ease;
}

/* 空の状態やエラー状態のスタイル */
.news-slide .news-event-details {
    color: var(--text-color-light);
}

.news-indicators {
    display: flex;
    gap: 10px;
}

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

.news-indicator.active {
    background: #FFFFFF;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.arrow {
    margin-left: 0.5rem;
}

.courses {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px 0;
    gap: 80px;
    width: 100%;
    max-width: 90%;
    background: #FFFFFF;
    margin: 0 auto;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

.course-item {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2rem;
    text-align: left;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.course-header {
    background-color: #E6E6EA;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.course-deadline {
    background-color: #D84315;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    padding: 4px 8px;
    margin-top: 8px;
    border-radius: 3px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.course-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #483A65;
    margin: 0;
    line-height: 1.5;
}

.course-item p {
    margin: 0 auto;
    width: 100%;
    max-width: 90%;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-color-light);
    padding: 2rem 1rem;
    background-color: #FFFFFF;
}

.course-details-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
    background: var(--bg-gray);
}

.course-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    align-items: center;
}

.course-detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.detail-label {
    width: 120px;
    padding: 0.5rem 0;
    background-color: #FFFFFF;
    border: 1px solid #6C5E8B;
    border-radius: 4px;
    color: #6C5E8B;
    font-family: 'Noto Sans JP';
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.detail-value {
    flex: 1;
    font-family: 'Noto Sans JP';
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: #6C5E8B;
}

.courses-01,
.courses-02,
.courses-03 {
    font-family: 'Economica';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #6C5E8B;
}

.course-title {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #6C5E8B;
}

@media (max-width: 768px) {
    .courses {
        padding: 4rem 1rem;
        gap: 40px;
    }

    .course-item {
        padding: 0;
    }

    .course-item p {
        padding: 2rem 1.5rem;
        font-size: 14px;
    }

    .course-header {
        padding: 1.5rem 1rem;
    }

    .course-title {
        font-size: 24px;
        line-height: 1.5;
    }

    .course-detail {
        flex-direction: row;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .course-details-wrapper {
        width: 100%;
        padding: 0 1rem;
    }

    .course-detail dt {
        min-width: 120px;
        width: auto;
    }

    .course-detail dd {
        width: auto;
        flex: 1;
        padding: 0;
    }

    .course-apply-button{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        padding: 8px 18px;
        gap: 20px;
        width: 240px;
        height: 48px;
        background: #6C5E8B;
        border-radius: 32px;
    }
}

@media (max-width: 480px) {
    .courses {
        padding: 3rem 1rem;
        gap: 30px;
    }

    .course-item {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        margin-bottom: 2rem;
    }

    .course-title {
        font-size: 20px;
        line-height: 1.6;
        display: block;
        margin-top: 0.5rem;
        letter-spacing: 0.05em;
    }

    .course-content {
        padding: 0;
    }

    .course-item p {
        border-radius: 0;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.8;
        padding: 1.5rem 1rem;
    }

    .course-details-container {
        margin-top: 0;
        padding: 1.5rem 1rem;
    }

    .course-details-wrapper {
        width: 100%;
        padding: 0;
    }

    .course-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .course-detail dt {
        width: 100%;
        min-width: auto;
        margin-bottom: 0.5rem;
    }

    .course-detail dd {
        width: 100%;
        padding-left: 0;
    }

    .course-apply-button {
        width: 100%;
        margin: 1rem 0;
    }
}

.webinar-video {
    background-color: var(--bg-gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    margin-bottom: 0;
    padding: 150px 0px;
    gap: 100px;
    overflow: hidden;
}

.webinar-content {
    max-width: 900px;
    width: 90%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

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

.webinar-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
}

.webinar-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    max-width: 700px;
    margin: 0 auto 40px;
}

.webinar-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .webinar-video {
        padding: 100px 20px;
        gap: 50px;
    }
    
    .webinar-title {
        font-size: 16px;
    }
    
    .webinar-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .webinar-video {
        padding: 80px 15px;
        gap: 15px;
    }
    
    .webinar-title {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .webinar-description {
        font-size: 13px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .video-container {
        margin-bottom: 25px;
    }
}

.seminar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px 0px;
    gap: 100px;
    width: 100%;
    height: auto;
    background: var(--bg-gray);
}

.seminar-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    max-width: 900px;
    width: 90%;
    height: auto;
}

.seminar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 100%;
    max-width: 650px;
    height: auto;
    align-items: center;
}

.seminar-item .month {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 18px;
    gap: 10px;

    min-width: 160px;
    width: auto;
    height: auto;
    white-space: nowrap;

    border: 1px solid #6C5E8B;

    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 200%;
    text-align: center;
    color: #6C5E8B;

    flex: none;
    order: 0;
    flex-grow: 0;
}

.seminar-item .title {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    flex: 1;
    padding-left: 20px;
}

@media (max-width: 1200px) {
    .seminar-list {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .seminar {
        padding: 100px 20px;
        gap: 50px;
    }

    .seminar-item {
        height: auto;
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .seminar {
        padding: 80px 15px;
        gap: 20px;
        margin-bottom: 20px;
    }

    .seminar-item {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 12px;
    }

    .seminar-item .month {
        order: 1;
        width: auto;
        min-width: 160px;
        height: auto;
        padding: 8px 15px;
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        margin-top: 0;
        flex-shrink: 0;
        flex-grow: 0;
        letter-spacing: 0.05em;
    }

    .seminar-item .title {
        order: 2;
        font-size: 14px;
        border: none;
        width: 100%;
        text-align: center;
        padding: 0 10px;
        flex: none;
        line-height: 1.75;
        letter-spacing: 0.03em;
    }
}

.voice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px 0px;
    gap: 100px;
    background: var(--bg-gray);
}

.voice-card-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.voice-card {
    flex: 0 1 380px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.voice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.voice-card-image {
    width: 100%;
    height: 200px;
}

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

.voice-card-text-content {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.voice-card-category {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #6C5E8B;
    margin-bottom: 10px;
}

.voice-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
    letter-spacing: 0.03em;
}

.voice-card-info {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: var(--text-color-light);
    line-height: 1.75;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.03em;
}

.voice-name {
    font-weight: 700;
    margin-top: 5px;
}

@media (max-width: 960px) {
    .voice-card-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .voice {
        padding: 80px 15px;
        gap: 40px;
    }
    .voice-card-title {
        font-size: 16px;
        line-height: 1.7;
    }
    .voice-card-text-content {
        padding: 18px;
    }
}

@media (max-width: 1024px) {
    .news {
        padding: 50px 20px;
    }

    .news-carousel-container {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .news-carousel-container {
        max-width: 95%;
    }

    .news-event-title {
        font-size: 22px;
        line-height: 1.5;
    }

    .news-event-details {
        font-size: 15px;
    }

    .news-button {
        width: 220px;
    }

    .news-content {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .news {
        padding: 50px 15px;
        gap: 0px;
    }

    .news-carousel {
        min-height: 430px;
    }

    .news-event-title {
        font-size: 18px;
        line-height: 1.6;
        white-space: pre-wrap !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        width: 100% !important;
        display: block !important;
        padding-bottom: 10px;
        letter-spacing: 0.05em;
    }

    .news-event-details {
        font-size: 14px;
        line-height: 1.75;
        height: auto;
        letter-spacing: 0.03em;
    }

    .news-button {
        width: 200px;
        height: 44px;
        font-size: 13px;
    }

    .news-controls {
        margin-top: 20px;
    }

    .news-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .news-content {
        padding: 20px 15px;
    }
    
    .section-title-en {
        font-size: 40px;
        line-height: 46px;
    }
    .section-title-ja {
        font-size: 18px;
        line-height: 22px;
    }
    .section-divider {
        width: 50px;
    }

    #project-details .course-content {
        padding: 30px 15px;
        gap: 0;
    }

    #project-details .course-content div[style*="margin-bottom: 30px"] {
        margin-bottom: 0;
    }

    #project-details .course-content hr {
        display: block;
        margin: 20px 0;
    }
}

/* ============================================
   詳細ページ共通スタイル (Course Details Pages)
   ============================================ */

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hero Section */
.course-detail-hero {
    background: linear-gradient(135deg, rgba(108, 94, 139, 0.05) 0%, rgba(138, 111, 182, 0.05) 100%);
    padding: 120px 20px 80px;
    margin-top: 75px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.course-detail-hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.course-detail-container {
    max-width: 1000px;
    margin: 60px auto 180px;
    padding: 0 20px;
}

/* Table of Contents */
.course-detail-toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    z-index: 10;
}

.course-detail-toc-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.05em;
}

.course-detail-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.course-detail-toc-list li {
    margin: 0;
}

.course-detail-toc-list a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
}

.course-detail-toc-list a:hover,
.course-detail-toc-list a:focus {
    background-color: rgba(108, 94, 139, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.course-detail-toc-list a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

.course-detail-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #483A65;
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.course-detail-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #483A65;
    margin-bottom: 40px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.course-detail-section {
    margin-bottom: 50px;
}

.course-detail-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #483A65;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    letter-spacing: 0.05em;
}

.course-detail-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.course-detail-section-title:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.course-detail-box {
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.course-detail-box:hover {
    box-shadow: var(--shadow-md);
}

.course-detail-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-color-light);
    letter-spacing: 0.03em;
}

.course-detail-content h4 {
    font-weight: 700;
    color: #483A65;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.course-detail-content h5 {
    font-weight: 700;
    color: #483A65;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.course-detail-content p {
    margin-bottom: 20px;
}

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

.course-detail-content ul,
.course-detail-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 1.2em;
}

.course-detail-content ul li,
.course-detail-content ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.course-detail-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    table-layout: fixed;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.course-detail-table th,
.course-detail-table td {
    border: 1px solid #E0E0E0;
    padding: 18px;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    vertical-align: top;
    letter-spacing: 0.03em;
}

.course-detail-table th {
    background-color: var(--header-bg);
    color: #483A65;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
}

.course-detail-table tbody tr:nth-child(even) {
    background-color: rgba(246, 246, 246, 0.5);
}

.course-detail-table tbody tr:hover {
    background-color: rgba(108, 94, 139, 0.05);
    transition: background-color 0.2s ease;
}

.course-detail-table caption {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
    letter-spacing: 0.05em;
}

.course-detail-table th:focus,
.course-detail-table td:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    background-color: rgba(108, 94, 139, 0.1);
}

.info-box {
    background-color: #f0e6ff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #d9c3ff;
    box-shadow: var(--shadow-sm);
}

.info-box p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: #483A65;
}

.info-box a {
    color: var(--primary-color);
    word-break: break-all;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.info-box a:hover {
    color: var(--accent-color);
}

.info-box a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
    color: var(--accent-color);
}

.course-detail-back {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 32px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 15px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.05em;
}

.back-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    background-color: var(--accent-color);
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 240px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 32px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 25px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.05em;
}

.download-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.download-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    background-color: var(--accent-color);
}

.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-radius: 8px;
}

.table-responsive-wrapper .course-detail-table {
    margin-bottom: 0;
}

/* Timeline Style for Schedule Table */
.course-detail-table.timeline-table {
    position: relative;
    border: none;
    background: transparent;
    box-shadow: none;
}

.course-detail-table.timeline-table tbody {
    position: relative;
}

.course-detail-table.timeline-table tbody::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: 0;
}

.course-detail-table.timeline-table tbody tr {
    position: relative;
    background-color: white;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    z-index: 1;
}

.course-detail-table.timeline-table tbody tr:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

.course-detail-table.timeline-table tbody tr::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 2px white, 0 2px 8px rgba(108, 94, 139, 0.3);
    z-index: 2;
    transition: all var(--transition-base);
}

.course-detail-table.timeline-table tbody tr:hover::before {
    width: 20px;
    height: 20px;
    border-width: 4px;
    box-shadow: 0 0 0 3px white, 0 4px 12px rgba(108, 94, 139, 0.4);
}

.course-detail-table.timeline-table th[scope="row"],
.course-detail-table.timeline-table td {
    padding-left: 50px;
    border: none;
    background-color: transparent;
}

.course-detail-table.timeline-table th[scope="row"] {
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    padding-top: 20px;
    padding-bottom: 8px;
}

.course-detail-table.timeline-table th[scope="row"]:empty {
    padding-top: 8px;
    padding-bottom: 8px;
}

.course-detail-table.timeline-table td {
    padding-top: 8px;
    padding-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.8;
}

/* Enhanced Info Box Styles */
.info-box {
    background: linear-gradient(135deg, rgba(240, 230, 255, 0.6) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-left: 4px solid var(--primary-color);
    position: relative;
    padding-left: 35px;
}

.info-box::before {
    content: 'ℹ';
    position: absolute;
    left: 8px;
    top: 25px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    box-shadow: 0 2px 8px rgba(108, 94, 139, 0.3);
}

/* Enhanced Card Styles */
.course-detail-box {
    position: relative;
    overflow: hidden;
}

.course-detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.course-detail-box:hover::before {
    opacity: 1;
}

/* Enhanced Section Title */
.course-detail-section-title {
    position: relative;
    display: inline-block;
    width: 100%;
}

.course-detail-section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: width var(--transition-base);
}

.course-detail-section:hover .course-detail-section-title::before {
    width: 100px;
}

/* 詳細ページのレスポンシブ */
@media (max-width: 768px) {
    .course-detail-hero {
        padding: 100px 20px 60px;
        margin-top: 75px;
    }

    .course-detail-toc {
        position: static;
        padding: 25px 20px;
        margin-bottom: 40px;
    }

    .course-detail-toc-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .course-detail-toc-list a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .course-detail-container {
        margin: 40px auto 160px;
    }

    .course-detail-title {
        font-size: 24px;
    }

    .course-detail-subtitle {
        font-size: 18px;
    }

    .course-detail-box {
        padding: 25px;
    }

    .table-responsive-wrapper {
        margin-bottom: 30px;
    }

    .course-detail-table {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .course-detail-hero {
        padding: 80px 15px 50px;
    }

    .course-detail-toc {
        padding: 20px 15px;
        margin-bottom: 30px;
        position: static;
    }

    .course-detail-toc-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .course-detail-container {
        margin: 30px auto 140px;
        padding: 0 15px;
    }

    .course-detail-title {
        font-size: 20px;
    }

    .course-detail-subtitle {
        font-size: 16px;
    }

    .course-detail-box {
        padding: 20px;
    }

    .course-detail-table th,
    .course-detail-table td {
        padding: 12px;
        font-size: 14px;
        width: auto;
        box-sizing: border-box;
    }

    .course-detail-table.timeline-table tbody::before {
        left: 8px;
    }

    .course-detail-table.timeline-table tbody tr::before {
        left: 0;
        width: 14px;
        height: 14px;
    }

    .course-detail-table.timeline-table th[scope="row"],
    .course-detail-table.timeline-table td {
        padding-left: 35px;
    }

    .back-button {
        width: 200px;
        font-size: 13px;
    }

    .download-button {
        min-width: 200px;
        font-size: 13px;
        padding: 0 20px;
    }
}

/* ============================================
   お問い合わせページ (Contact Page)
   ============================================ */

.contact-page-section {
    padding: 150px 20px 100px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-page-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-color-light);
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
}

.contact-info {
    background-color: var(--bg-gray);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: left;
    display: inline-block;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.05em;
}

.contact-info p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color-light);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 280px;
    padding: 0 30px;
    height: 56px;
    border: 1px solid var(--primary-color);
    border-radius: 32px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-form-button-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: var(--primary-color);
    text-align: center;
    margin-right: 10px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.contact-form-button .arrow {
    font-size: 14px;
    color: var(--primary-color);
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.contact-form-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-form-button:hover .contact-form-button-text,
.contact-form-button:hover .arrow {
    color: white;
}

.contact-form-button:hover .arrow {
    transform: translateX(4px);
}

/* お問い合わせページのレスポンシブ */
@media (max-width: 768px) {
    .contact-page-section {
        padding: 120px 20px 80px;
    }

    .contact-page-text {
        font-size: 15px;
    }

    .contact-info {
        padding: 25px;
    }

    .contact-info h3 {
        font-size: 17px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .contact-form-button {
        min-width: 250px;
        height: 50px;
    }

    .contact-form-button-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-page-section {
        padding: 100px 15px 60px;
    }

    .contact-page-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-info {
        padding: 20px;
        margin-bottom: 30px;
        display: block;
        text-align: center;
    }

    .contact-info p {
        text-align: left;
    }

    .contact-info h3 {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 13px;
    }

    .contact-form-button {
        width: 100%;
        max-width: 300px;
        min-width: 0;
        height: 48px;
        padding: 0 20px;
    }

    .contact-form-button-text {
        font-size: 14px;
    }
}
