/* FITS セミナー申込システム スタイルシート */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ヘッダー */
.header {
    background-color: #003d7a;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.header h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    font-weight: normal;
}

/* パンくずリスト */
.breadcrumb {
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
}

.breadcrumb li {
    position: relative;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 10px;
    color: #999;
}

/* 情報セクション */
.info-section {
    padding: 30px 20px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h2 {
    font-size: 20px;
    color: #003d7a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003d7a;
}

.info-block p {
    margin-bottom: 10px;
}

.info-block ol {
    margin-left: 20px;
}

/* カリキュラムテーブル */
.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.curriculum-table th,
.curriculum-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.curriculum-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    width: 100px;
    vertical-align: top;
}

/* 月別タブ */
.month-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
}

.month-tab {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.month-tab:hover {
    background-color: #e8f4ff;
    text-decoration: none;
}

.month-tab.active {
    background-color: #003d7a;
    color: #fff;
    border-color: #003d7a;
}

/* セミナーリスト */
.seminar-list {
    padding: 30px 20px;
}

.seminar-list h3 {
    font-size: 22px;
    color: #003d7a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003d7a;
}

/* セミナーテーブル */
.seminar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.seminar-table thead {
    background-color: #003d7a;
    color: #fff;
}

.seminar-table th,
.seminar-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.seminar-table tbody tr:nth-child(even) {
    background-color: #f8f8f8;
}

.seminar-table tbody tr:hover {
    background-color: #e8f4ff;
}

/* ボタン */
.btn-apply,
.btn-closed,
.btn-full {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    min-width: 100px;
}

.btn-apply {
    background-color: #ff6600;
    color: #fff;
    transition: background-color 0.3s;
}

.btn-apply:hover {
    background-color: #ff8533;
    text-decoration: none;
}

.btn-closed {
    background-color: #999 !important;
    color: #fff !important;
    cursor: not-allowed;
}

.btn-full {
    background-color: #ffc107 !important;
    color: #333 !important;
    cursor: not-allowed;
    font-weight: bold;
    border: 2px solid #ff9800;
}

/* データなしメッセージ */
.no-data {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 18px;
}

/* フッター */
.footer {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
}

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

.footer-links a {
    margin: 0 15px;
    color: #0066cc;
}

.copyright {
    font-size: 14px;
    color: #666;
}

/* フラッシュメッセージ */
.flash-message {
    padding: 15px 20px;
    margin: 20px;
    border-radius: 4px;
    font-weight: bold;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.flash-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header h1 {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .seminar-table {
        font-size: 14px;
    }
    
    .seminar-table th,
    .seminar-table td {
        padding: 8px;
    }
    
    .month-tabs {
        gap: 5px;
    }
    
    .month-tab {
        padding: 8px 12px;
        font-size: 14px;
    }
}
