/* ================================ */
/* Seminar Management System CSS    */
/* 統一された共通スタイル            */
/* ================================ */

/* リセットとベーススタイル */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #495057;
    background-color: #f8f9fa;
}

/* ================================ */
/* レイアウト共通スタイル           */
/* ================================ */

.container {
    width: 100% ;
    padding: 0 ;
    box-sizing: border-box ;
    min-height: 100vh ;
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    justify-content: center ;
    text-align: center ;
}

/* ページヘッダー */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.page-header h3 {
    margin: 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon, .section-icon {
    font-size: 1.5em;
}

.section-icon {
    font-size: 1.2em;
}

/* ================================ */
/* ボタンスタイル                  */
/* ================================ */

.button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.button.primary {
    background: #007bff;
    color: white;
}

.button.primary:hover {
    background: #0056b3;
}

.button.secondary {
    background: #6c757d;
    color: white;
}

.button.secondary:hover {
    background: #545b62;
}

.button.small {
    padding: 6px 12px;
    font-size: 12px;
}

.profile-page-form-actions .button,
.profile-page-form-actions .button-primary {
    margin: 5px 10px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.button-primary {
    background-color: #007bff;
    color: white;
}
.button-primary:hover {
    background-color: #0056b3;
}

.button-edit {
    background: linear-gradient(90deg, #007bff 60%, #0056b3 100%);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,123,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.button-edit:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
    box-shadow: 0 4px 16px rgba(0,123,255,0.15);
}

.button-danger {
    background: linear-gradient(90deg, #dc3545 60%, #a71d2a 100%);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220,53,69,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.button-danger:hover {
    background: linear-gradient(90deg, #a71d2a 60%, #dc3545 100%);
    box-shadow: 0 4px 16px rgba(220,53,69,0.15);
}

.button-small {
    padding: 4px 8px;
    font-size: 0.875em;
}

/* ================================ */
/* フォームスタイル                */
/* ================================ */

.search-form-container, .form-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.search-grid, .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.search-field, .form-field {
    display: flex;
    flex-direction: column;
}

.search-field label, .form-field label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

.search-input, .search-select, .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

/* .search-actions, .form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
} */
 .search-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}


.search-info {
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #495057;
}

.error-messages {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* ================================ */
/* フォーム追加スタイル            */
/* ================================ */

.contacts.form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.info-text {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.form-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background-color: white;
}

.form-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.help-text {
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 5px;
}

textarea.form-control {
    height: 80px;
    resize: vertical;
}

.enrollment-history_c {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.enrollment-history_c h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    font-size: 1.0em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* ================================ */
/* セミナー・フォーム専用スタイル   */
/* ================================ */

.seminars.form {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

#next-number-preview {
    color: #28a745;
    font-weight: bold;
}

.time-fields {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.time-field {
    flex: 1;
}

.price-section {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.price-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.price-fields {
    display: grid;
    gap: 15px;
}

/* ================================ */
/* Articles Index Dashboard        */
/* ================================ */

.articles.index {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.user-info h3 {
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.user-info p {
    margin: 8px 0;
    opacity: 0.9;
}

.dashboard-stats {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid #007bff;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-actions, .admin-section {
    margin-bottom: 30px;
}

.action-buttons, .admin-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.button.success {
    background-color: #28a745;
    color: white;
}

.button.info {
    background-color: #17a2b8;
    color: white;
}

.button.admin {
    background-color: #dc3545;
    color: white;
}

.button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ================================ */
/* テーブルスタイル（統一デザイン）  */
/* ================================ */

.table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table, .participants-table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .participants-table th {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    border: none;
    font-size: 13px;
}

.table td, .participants-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
    font-size: 13px;
}

.table tr:hover, .participants-table tr:hover {
    background-color: #f8f9fa;
}

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

/* ================================ */
/* 情報表示エリア                  */
/* ================================ */

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

.info-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.info-section h4 {
    margin: 0 0 20px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left;
}

.info-item .value {
    color: #495057;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ================================ */
/* バッジとラベル                  */
/* ================================ */

.gender-badge {
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.gender-badge.male {
    background: #cce5ff;
    color: #0066cc;
}

.gender-badge.female {
    background: #ffcce5;
    color: #cc0066;
}

.seminar-category {
    padding: 2px 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
}

.seminar-title {
    font-weight: 600;
    color: #495057;
}

.seminar-number {
    background: #17a2b8;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.number-badge {
    background: #6f42c1;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
}

.count-badge {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge {
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    min-width: 80px;
}

.status-badge.paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.unpaid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ================================ */
/* コンテンツ表示エリア            */
/* ================================ */

.name-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-info {
    font-size: 14px;
    line-height: 1.4;
}

.contact-info .email {
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.contact-info .phone,
.contact-info .company,
.contact-info .department,
.contact-info .address {
    color: #6c757d;
    font-size: 12px;
}

.enrollment-history {
    max-width: 250px;
}

.history-list {
    font-size: 12px;
    line-height: 1.3;
}

.history-item {
    margin-bottom: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.history-item .seminar-title {
    font-weight: 600;
    color: #495057;
    display: block;
}

.history-item .seminar-details {
    color: #6c757d;
    font-size: 11px;
}

.history-item .paid {
    color: #28a745;
    font-weight: 600;
}

.history-item .unpaid {
    color: #dc3545;
    font-weight: 600;
}

.more-history {
    color: #007bff;
    font-style: italic;
    margin-top: 8px;
    display: block;
}

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

.latest-info .student-number {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

.latest-info .enrollment-date {
    color: #6c757d;
    font-size: 11px;
}

.birth-date {
    color: #6c757d;
    font-size: 11px;
}

.price {
    font-weight: 600;
    color: #28a745;
    font-size: 16px;
}

.text-muted {
    color: #6c757d;
    font-style: italic;
}

.description, .notes {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    line-height: 1.5;
}

/* ================================ */
/* アクション・ドロップダウン        */
/* ================================ */

.actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.action-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.dropdown-toggle {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-toggle:hover {
    background: #e9ecef;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 200px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

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

/* ================================ */
/* リンクスタイル                  */
/* ================================ */

.participant-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.participant-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.participant-link:visited {
    color: #6f42c1;
}

/* ================================ */
/* 空状態表示                     */
/* ================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

/* ================================ */
/* ページネーション                */
/* ================================ */

.paginator {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 5px;
}

.pagination li {
    display: inline;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #007bff;
    background: white;
}

.pagination a:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.pagination .current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* ================================ */
/* ログイン・プロフィール関連       */
/* ================================ */

.harf-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 70vh !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    flex-direction: column !important;
}

.harf-page-card {
    background: #fff !important;
    padding: 2rem 2.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(60,66,87,0.12) !important;
    max-width: 400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

.harf-page-card h3 {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

.harf-page-links {
    margin-top: 15px !important;
    text-align: center !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee !important;
}

.harf-page-links a {
    margin: 0 5px !important;
    color: #337ab7 !important;
    text-decoration: none !important;
}

.harf-page-links a:hover {
    text-decoration: underline !important;
}

/* .profile-page-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-page-column {
    max-width: 600px;
    margin: 0 auto;
}

.profile-page-form {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.profile-page-info-text {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.profile-page-current-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.profile-page-current-info h4 {
    margin-top: 0;
    color: #495057;
    font-size: 0.5rem !important;
    font-weight: bold;
}

.profile-page-current-info ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.profile-page-current-info li {
    margin: 8px 0;
    padding: 5px 0;
}

.profile-page-form-actions {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.profile-page-form-control {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.profile-page-label {
    font-size: 1rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.profile-page-help-text {
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 5px;
} */

/* ================================ */
/* タイトルスタイル                */
/* ================================ */

.birthday-science-title {
    color: #1a237e !important;
}

.seminar-system-title {
    background: linear-gradient(90deg, #ff0000, #ff9900, #e6d87a, #33cc33, #3399ff, #6600cc, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    font-weight: bold;
}

/* ================================ */
/* Articles Welcome Page           */
/* ================================ */

.articles-welcome-message {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.articles-welcome-user-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.articles-welcome-user-info ul {
    list-style: none;
    padding: 0;
}

.articles-welcome-user-info li {
    margin: 5px 0;
}

.articles-welcome-actions {
    text-align: center;
    margin-top: 20px;
}

.articles-welcome-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
}


.articles-welcome-button:hover {
    background-color: #0056b3;
}

.articles-welcome-profile-button {
    background-color: #28a745;
}

.articles-welcome-profile-button:hover {
    background-color: #1e7e34;
}

.articles-welcome-contacts-button {
    background-color: #17a2b8;
}

.articles-welcome-contacts-button:hover {
    background-color: #117a8b;
}

.articles-welcome-seminars-button {
    background-color: #ffc107;
    color: #212529;
}

.articles-welcome-seminars-button:hover {
    background-color: #e0a800;
}

.articles-welcome-enrollments-button {
    background-color: #17a2b8;
    color: white;
}

.articles-welcome-enrollments-button:hover {
    background-color: #5a32a3;
}

.articles-welcome-csv-import-button {
    background-color: #fd7e14;
    color: white;
}

.articles-welcome-csv-import-button:hover {
    background-color: #e8630e;
}

.articles-welcome-birthday-algorithm-button {
    background-color: #6f42c1;
    color: white;
}

.articles-welcome-birthday-algorithm-button:hover {
    background-color: #5a32a3;
}

.articles-welcome-mail-logs-button {
    background-color: #007bff;
    color: white;
}

.articles-welcome-mail-logs-button:hover {
    background-color: #0056b3;
}

/* ================================ */
/* プロフィールテーブル            */
/* ================================ */

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
    background: #fff;
}

.profile-table th, .profile-table td {
    border: 1px solid #ccc;
    padding: 4px 8px;
    font-size: 14px;
    text-align: left;
    background: #fff;
}

.profile-table .header {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
}

.profile-table .subheader {
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    font-weight: normal;
    border-bottom: 1px solid #ccc;
}

.profile-table .data-row td {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.profile-table tr:last-child td {
    border-bottom: 1px solid #ccc;
}

.profile-table td[colspan="2"] {
    text-align: left;
}

.profile-table b {
    font-size: 1em;
}

.profile-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
}

.profile {
    width: 100%;
    max-width: 500px;
}

/* ================================ */
/* 追加のユーティリティクラス       */
/* ================================ */

.page-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.seminar-date {
    color: #28a745;
}

/* ================================ */
/* レスポンシブデザイン            */
/* ================================ */

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .search-grid, .form-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .participants-table, .table {
        min-width: 800px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .search-grid, .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .page-header h3 {
        font-size: 1.2em;
    }
    
    .participants-table th,
    .participants-table td,
    .table th,
    .table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .button {
        padding: 6px 12px;
        font-size: 12px;
    }
}


/* ================================ */
/* セミナー管理表専用コンテナ（他ビューでも利用可）            */
/* ================================ */
.seminar_management {
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
}
