:root {
    --color-primary: #4B0082;
    --color-primary-hover: #3a0066;
    --color-primary-light: #ede0f7;
    --color-primary-subtle: #d9c2eb;
    --color-border: #d0d0d0;
    --color-muted: #4a4e52;
    --color-text: #1a1a1a;
    --color-bg: #f1f2f4;
    --color-surface: #fff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    --shadow-2: 0 2px 6px rgba(0,0,0,0.14), 0 4px 10px rgba(0,0,0,0.08);
    --shadow-3: 0 4px 16px rgba(0,0,0,0.16);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ===== ボタン共通 ===== */
.text-primary-custom { color: var(--color-primary) !important; }

.btn-primary-custom {
    background-color: var(--color-primary);
    border: none;
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}
.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--color-primary-hover);
    color: #fff;
    box-shadow: var(--shadow-2);
}
.btn-primary-custom:disabled {
    background-color: var(--color-primary);
    opacity: 0.4;
    color: #fff;
}

.btn-outline-custom {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-1);
}

/* アイコンボタン（丸い） */
.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--color-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-icon:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}
.btn-icon.btn-icon-danger:hover {
    background-color: #fce8e6;
    color: #d93025;
}

/* テキストボタン */
.btn-text {
    border: none;
    background: none;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-text:hover {
    background-color: var(--color-primary-light);
}

/* ===== ヘッダー ===== */
.meeting-header {
    background: var(--color-surface);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-1);
}

.meeting-header .title-bar {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-header .btn-icon {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ===== セクションカード ===== */
.section-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.section-card:hover {
    box-shadow: var(--shadow-2);
}

.section-card .section-header {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background-color: var(--color-primary-light);
    transition: background var(--transition);
}
.section-card .section-header:hover {
    background-color: var(--color-primary-subtle);
}
.section-card .section-header i {
    color: var(--color-primary);
    margin-right: 6px;
}

.section-card .section-header .toggle-icon {
    transition: transform var(--transition);
}
.section-card .section-header .toggle-icon::after {
    content: '\F235';
    font-family: 'bootstrap-icons';
    font-size: 0.75rem;
    color: var(--color-primary);
}
.section-card .section-header.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.section-card .section-body {
    padding: 4px 16px 16px;
}
.section-desc {
    font-size: 0.8rem;
    color: #9e9e9e;
    margin: 2px 0 4px;
}

/* カウントバッジ */
.count-badge {
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
}

/* ===== カイギをシェア ===== */
.share-grid {
    display: flex;
    gap: 20px;
    align-items: start;
}
.share-qr-block {
    flex-shrink: 0;
    text-align: center;
}
.share-qr-block #shareQrcode canvas,
.share-qr-block #shareQrcode img {
    max-width: 100px !important;
    max-height: 100px !important;
}
.share-info-block {
    flex: 1;
    min-width: 0;
}
.share-info-block .url-display {
    font-size: 0.8rem;
}
@media (max-width: 576px) {
    .share-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .share-qr-block {
        align-self: center;
    }
}

/* ===== 基本情報 ===== */
.basic-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
.basic-info-item {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
}
.basic-info-item:last-child {
    border-bottom: none;
}
.basic-info-item.full-width {
    grid-column: 1 / -1;
}
.basic-info-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.basic-info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    min-height: 1.4em;
}
.date-emphasis {
    font-size: 2em;
    font-weight: 700;
}
.basic-info-value.empty {
    color: #8c9196;
    font-style: italic;
    font-weight: 400;
}
.basic-info-notes {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    font-weight: 400;
    font-size: 0.93rem;
}
.basic-info-notes a {
    color: var(--color-primary);
    text-decoration: none;
}
.basic-info-notes a:hover {
    text-decoration: underline;
}

/* ===== アイテムリスト ===== */
.item-list .item-row:first-child {
    margin-top: 4px;
}
.item-list .item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
    transition: background var(--transition);
    cursor: pointer;
}
.item-list .item-row:hover {
    background-color: var(--color-primary-light);
}

.item-number {
    flex-shrink: 0;
    width: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-muted);
    text-align: center;
}
.item-row .item-content {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
}

.item-row .item-actions {
    flex-shrink: 0;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity var(--transition);
}
.item-row:hover .item-actions {
    opacity: 1;
}
/* モバイルでは常時表示 */
@media (hover: none) {
    .item-row .item-actions { opacity: 1; }
}

/* 出欠カードグリッド */
#participantList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 4px;
}
@media (min-width: 768px) {
    #participantList { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
    #participantList { grid-template-columns: repeat(3, 1fr); }
}
.participant-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    transition: background var(--transition);
    cursor: pointer;
}
.participant-card:hover {
    background-color: var(--color-primary-light);
}
.participant-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.participant-card-name {
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.participant-card-actions {
    flex-shrink: 0;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity var(--transition);
}
.participant-card:hover .participant-card-actions {
    opacity: 1;
}
@media (hover: none) {
    .participant-card-actions { opacity: 1; }
}
.participant-card-note {
    font-size: 0.78rem;
    margin-top: 4px;
    padding-left: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 参加者チップ */
.participant-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #616161;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.participant-avatar.attend {
    background: #c8e6c9;
    color: #1b7a33;
}
.participant-avatar.absent {
    background: #f5c6c2;
    color: #c62828;
}
.participant-avatar.pending {
    background: #e0e0e0;
    color: #616161;
}

/* 出欠ステータスタグ */
.status-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 10px;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0.3px;
}
.status-tag.attend {
    background: #c8e6c9;
    color: #1b7a33;
}
.status-tag.absent {
    background: #f5c6c2;
    color: #c62828;
}
.status-tag.pending {
    background: #e8e8e8;
    color: #616161;
}

/* ネタ行 */
.agenda-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    border: 1px solid var(--color-border);
    margin-bottom: 8px;
    cursor: pointer;
}
.agenda-item:first-child {
    margin-top: 4px;
}
.agenda-item:last-child {
    margin-bottom: 0;
}
.agenda-item.sortable-ghost {
    opacity: 0.4;
    background: var(--color-primary-light);
}
.agenda-item:hover {
    background-color: var(--color-primary-light);
}
.agenda-item .item-actions {
    flex-shrink: 0;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity var(--transition);
}
.agenda-item:hover .item-actions {
    opacity: 1;
}
@media (hover: none) {
    .agenda-item .item-actions { opacity: 1; }
}

.agenda-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drag-handle {
    cursor: grab;
    color: #b0b0b0;
    font-size: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 2px 0;
    transition: color var(--transition);
}
.drag-handle:active {
    cursor: grabbing;
}
.agenda-item:hover .drag-handle {
    color: var(--color-muted);
}

.agenda-presenter-tag {
    font-size: 0.76rem;
    color: var(--color-muted);
    padding: 0;
    flex-shrink: 0;
    white-space: nowrap;
}
.agenda-presenter-tag::before {
    content: '—';
    margin-right: 4px;
    color: #9aa0a6;
}

.agenda-item-title {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.agenda-attach-badge {
    font-size: 0.8rem;
    color: var(--color-muted);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.agenda-attach-badge i {
    font-size: 0.72rem;
}

.agenda-desc-line {
    font-size: 0.84rem;
    color: var(--color-muted);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 詳細モーダル内の説明文 */
.agenda-desc {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-top: 4px;
    padding-left: 2px;
}
.agenda-desc a {
    color: var(--color-primary);
    text-decoration: none;
}
.agenda-desc a:hover {
    text-decoration: underline;
}

/* 詳細モーダル内の発表者 */
.agenda-presenter {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

/* 議事録 */
.priority-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.priority-dot.high { background: #d93025; }
.priority-dot.medium { background: #f9ab00; }
.priority-dot.low { background: #9aa0a6; }

.action-deadline {
    font-size: 0.8rem;
    color: var(--color-muted);
    background: var(--color-bg);
    padding: 1px 8px;
    border-radius: 4px;
}

/* 優先度テキスト（互換性維持） */
.priority-high { color: #d93025; font-weight: 600; }
.priority-medium { color: #f9ab00; font-weight: 500; }
.priority-low { color: #8c9196; }

/* ===== 写真グリッド ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.photo-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.photo-card:hover img {
    transform: scale(1.05);
}
.photo-card .photo-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.photo-card:hover .photo-delete {
    opacity: 1;
}
.photo-card .photo-download {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    text-decoration: none;
}
.photo-card:hover .photo-download {
    opacity: 1;
}
@media (hover: none) {
    .photo-card .photo-delete, .photo-card .photo-download { opacity: 1; }
}

/* ===== 画像プレビュー閉じるボタン ===== */
.photo-preview-close {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 10;
    opacity: 0.8;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
    transition: opacity var(--transition);
}
.photo-preview-close:hover {
    opacity: 1;
}

/* ===== QRコード ===== */
#qrcode {
    display: inline-block;
}
#qrcode canvas,
#qrcode img {
    max-width: 120px !important;
    max-height: 120px !important;
}

/* URL表示 */
.url-display {
    font-size: 0.78rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    word-break: break-all;
    font-family: 'Roboto Mono', monospace;
}

/* パスワード表示 */
.password-display {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ===== フォーム ===== */
.form-control-sm, .form-select-sm {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1.5px solid #d0d0d0;
    background: #fafafa;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-control-sm:hover, .form-select-sm:hover {
    border-color: #aaa;
    background: #fff;
}
.form-control-sm:focus, .form-select-sm:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.12);
    outline: none;
}
.form-control-sm::placeholder {
    color: #aaa;
    font-weight: 400;
}
textarea.form-control-sm {
    resize: vertical;
    min-height: 72px;
}

.compact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.3px;
}

/* ステータストグルボタン */
.status-toggle-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid #d0d0d0;
}
.status-toggle-group input[type="radio"] {
    display: none;
}
.status-toggle {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    background: #fafafa;
    color: #666;
    transition: background 0.2s, color 0.2s;
    border-right: 1px solid #d0d0d0;
    user-select: none;
}
.status-toggle:last-of-type {
    border-right: none;
}
.status-toggle:hover {
    background: #f0f0f0;
}
input[type="radio"]#statusAttend:checked + .status-toggle.attend {
    background: #c8e6c9;
    color: #1b7a33;
    font-weight: 600;
}
input[type="radio"]#statusAbsent:checked + .status-toggle.absent {
    background: #f5c6c2;
    color: #c62828;
    font-weight: 600;
}
input[type="radio"]#statusPending:checked + .status-toggle.pending {
    background: #e0e0e0;
    color: #444;
    font-weight: 600;
}

/* ===== モーダル ===== */
.modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-3);
}
.modal-header {
    border-bottom: 1px solid var(--color-border);
}
.modal-header .modal-title {
    font-size: 0.95rem;
}

/* ===== 添付ファイル ===== */
.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.attachment-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 0.88rem;
    border-radius: 6px;
    transition: background var(--transition);
}
.attachment-list li:hover {
    background: var(--color-bg);
}
.attachment-list li a:not(.btn-icon) {
    color: var(--color-primary);
    text-decoration: none;
    flex: 1;
    min-width: 0;
}
.attachment-list li a:hover {
    text-decoration: underline;
}

/* ===== 編集履歴 ===== */
.history-item {
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    margin: 0 -8px;
    cursor: pointer;
    transition: background var(--transition);
}
.history-item:hover {
    background-color: var(--color-primary-light);
}
.history-item .history-summary {
    font-size: 0.9rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.history-item .history-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.history-icon.add { background: #c8e6c9; color: #1b7a33; }
.history-icon.update { background: #c5d9f2; color: #1565c0; }
.history-icon.delete { background: #f5c6c2; color: #c62828; }

.history-item .history-time {
    font-size: 0.78rem;
    color: #8c9196;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}
.history-item .history-detail {
    display: none;
    margin-top: 8px;
    margin-left: 32px;
    font-size: 0.86rem;
    color: var(--color-muted);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
    background: var(--color-bg);
    padding: 8px 12px;
    border-radius: 6px;
}
.history-item.open .history-detail {
    display: block;
}

/* ===== ネタ詳細モーダル ===== */
.agenda-item {
    cursor: pointer;
}
.detail-image-item {
    margin-bottom: 12px;
}
.detail-image-item img {
    width: 100%;
    border-radius: var(--radius-sm);
    display: block;
}
.detail-image-name {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-top: 4px;
    text-align: center;
}

/* ===== 空リスト ===== */
.empty-state {
    text-align: center;
    padding: 16px 0;
    color: #8c9196;
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

/* ===== 2カラムレイアウト (PC) ===== */
.two-column-layout {
    display: block;
}
.two-column-layout > .full-width {
    grid-column: 1 / -1;
}

@media (min-width: 992px) {
    .two-column-layout {
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: 0 16px;
        align-items: start;
    }
    .col-side {
        position: sticky;
        top: 60px;
    }
}

@media (min-width: 1200px) {
    .two-column-layout {
        grid-template-columns: 1fr 380px;
    }
}

/* ===== リロードFAB ===== */
.fab-reload {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    transition: background var(--transition), transform 0.3s;
    z-index: 1000;
}
.fab-reload:hover {
    background: var(--color-primary-light);
}
.fab-reload.spinning i {
    animation: fab-spin 0.6s ease;
}
@keyframes fab-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 広告バナー ===== */
.ad-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--color-text);
    background: linear-gradient(135deg, #ede0ff 0%, #f5eeff 100%);
    transition: box-shadow var(--transition), background var(--transition);
}
.ad-banner:hover {
    box-shadow: 0 2px 12px rgba(75, 0, 130, 0.2);
    background: linear-gradient(135deg, #e0cfff 0%, #f0e5ff 100%);
}
.ad-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.ad-banner-body {
    flex: 1;
    min-width: 0;
}
.ad-banner-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
}
.ad-banner-desc {
    display: block;
    font-size: 0.75rem;
    color: #555;
}
.ad-banner-arrow {
    flex-shrink: 0;
    color: var(--color-muted);
    font-size: 0.8rem;
}

/* ===== アップロード進捗 ===== */
.upload-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.upload-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--color-bg);
    border-radius: 3px;
    overflow: hidden;
}
.upload-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.15s ease;
}
.upload-progress-text {
    font-size: 0.78rem;
    color: var(--color-muted);
    min-width: 32px;
    text-align: right;
}

/* ===== TOPページ: 最近のカイギ ===== */
.recent-meetings-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.meeting-link-card {
    display: block;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: background var(--transition), box-shadow var(--transition);
    cursor: pointer;
}
.meeting-link-card:hover {
    background: var(--color-primary-light);
    box-shadow: var(--shadow-1);
    color: var(--color-text);
    text-decoration: none;
}
.meeting-link-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}
.meeting-link-card-meta {
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--color-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.meeting-link-card-meta i {
    font-size: 0.78rem;
    margin-right: 2px;
}

/* ===== 利用規約 ===== */
.terms-link {
    font-size: 0.75rem;
    color: var(--color-muted);
    text-decoration: none;
}
.terms-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.terms-body {
    font-size: 0.85rem;
    line-height: 1.7;
}
.terms-body h6 {
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-border);
}
.terms-body h6:first-child {
    margin-top: 0;
}
.terms-body ul {
    padding-left: 1.2em;
    margin-bottom: 8px;
}
.terms-body p {
    margin-bottom: 8px;
}
.terms-body .table {
    font-size: 0.82rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 576px) {
    body { font-size: 13px; }
    .section-card .section-body { padding: 4px 12px 12px; }
    .basic-info-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}
