@charset "UTF-8";

/* =========================================
   training.css - 評価者養成講習募集ページ専用
   ========================================= */

.application-container {
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

p, h3 {
    text-align: center;
}

h3 {
    text-align: center;
}

.app-section {
    margin: 10px 0 50px 0;
}

/* --- ヘッダーサブタイトル --- */
.header-sub {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 500;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-dark);
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

/* --- 定員バッジ --- */
.capacity-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    background-color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 16px 32px;
    margin: 0 auto 24px;
    width: fit-content;
    box-shadow: var(--shadow);
}

.capacity-label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 16px;
}

.capacity-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color-dark);
    line-height: 1;
}

.capacity-note {
    font-size: 14px;
    color: var(--text-color);
}

/* --- Anchor Navigation --- */
.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.anchor-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #f1f3f4;
    color: var(--text-color-dark);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

.anchor-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.anchor-btn i {
    font-size: 16px;
}

/* --- 日程テーブル --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    min-width: 600px;
}

.schedule-table th,
.schedule-table td {
    padding: 16px 12px;
    border: 1px solid var(--light-gray);
    text-align: center;
    vertical-align: middle;
}

.schedule-table th {
    background-color: #f1f3f4;
    color: var(--text-color-dark);
    font-weight: 700;
    white-space: nowrap;
}

.schedule-table th.course-col {
    width: 100px;
    background-color: var(--secondary-color);
    color: var(--white);
}

.course-name {
    font-weight: 700;
    font-size: 18px;
}

.course-a { color: #e67c73; }
.course-b { color: #f9ab00; }
.course-c { color: #188038; }

/* --- 会場グリッド --- */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 50px 0 50px 0;
}

.venue-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.venue-card:hover {
    transform: translateY(-4px);
}

.venue-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f0fe;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.venue-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color-dark);
    margin: 0 0 12px;
}

.venue-place {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.venue-floor {
    font-size: 14px;
    display: block;
    margin-top: 4px;
    color: var(--text-color);
}

.map-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- 重要アラートボックス (修正) --- */
.alert-box {
    border-left: 6px solid #d93025;
    background-color: #fce8e6;
    padding: 24px; /* 余白を追加 */
    margin-bottom: 32px; /* 下に余白を追加 */
    border-radius: 4px;
}

.box-title {
    color: #d93025;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.section-sub-heading {
    font-size: 20px;
    color: var(--text-color-dark);
    margin: 40px 0 20px;
}


/* --- 期間表示の強調 --- */
.period-text {
    font-size: 18px;
    color: var(--text-color-dark);
    margin-bottom: 8px;
}

.period-big {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 4px;
}

.period-small {
    font-size: 14px;
}

.badge-postmark {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #c5221f;
    border: 1px solid #c5221f;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    background-color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    top: -2px;
}

/* --- ダウンロードカード --- */
.dl-card-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.dl-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.dl-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dl-icon {
    font-size: 32px;
    color: var(--text-color);
    flex-shrink: 0;
}

.dl-content {
    flex-grow: 1;
    text-align: left; /* 左揃えにする（元のpタグセンタリングを上書き） */
}

.dl-content h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--text-color-dark);
    text-align: left;
}

.dl-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    text-align: left;
}

/* メイン（一括ダウンロード）カードの特別スタイル */
.dl-card.main-dl {
    background-color: #f0f7ff;
    border-color: var(--primary-color);
}

.dl-card.main-dl .dl-icon {
    color: var(--primary-color);
}

/* アウトラインボタン */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    /* btnクラスのスタイルを継承しつつ上書き */
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* 一括ダウンロードボタン (追加) */
.btn-zip-dl {
    background-color: #1a73e8; /* 濃いめの青 */
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-zip-dl:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* =========================================
   以下を追加：PDFカード用のスタイル
   ========================================= */

/* PDFダウンロードカードの特別スタイル（赤色基調） */
.dl-card.pdf-dl {
    background-color: #fce8e6; /* 薄い赤色（アラートボックスと共通の背景色） */
    border-color: #d93025;     /* 濃い赤色 */
}

.dl-card.pdf-dl .dl-icon {
    color: #d93025;            /* アイコンも濃い赤色に */
}

/* PDFダウンロードボタン */
.btn-pdf-dl {
    background-color: #d93025; /* 濃い赤色 */
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-pdf-dl:hover {
    background-color: #b31412; /* ホバー時は少し暗く */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- モバイル対応 --- */
@media screen and (min-width: 768px) {
    .dl-card-container {
        flex-direction: row;
    }
    
    .dl-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        align-items: center; /* 中央揃え */
    }
    
    .dl-content {
        margin-bottom: 24px;
        text-align: center;
        width: 100%;
    }
    
    .dl-content h3, 
    .dl-content p {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .capacity-badge {
        flex-direction: column;
        align-items: center;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* アラートボックスの調整 */
    .alert-box {
        padding: 16px;
    }
    .box-title {
        font-size: 16px;
        flex-direction: column;
        text-align: center;
    }
}