:root {
    --primary-color: #00d1b2;
    --secondary-color: #3273dc;
    --accent-color: #48c774;
    --warning-color: #ffdd57;
    --danger-color: #f14668;
}

html {
    background-color: #f5f6fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.navbar-item img {
    max-height: 2.5rem;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.industry-tree {
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.industry-name {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-block;
}

.industry-name:hover {
    transform: translateX(2px);
}

.industry-name.selected {
    background-color: var(--primary-color);
    color: white;
}

.idea-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: white;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.idea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tag:not(body) {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5em 1em;
    border-radius: 4px;
    font-size: 0.85rem;
}

.favorite-icon {
    cursor: pointer;
    color: #dbdbdb;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.favorite-icon:hover {
    transform: scale(1.1);
}

.favorite-icon.active {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* モーダル関連 */
.modal-card {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

.modal-card-head {
    background-color: var(--primary-color);
    color: white;
}

.modal-card-title {
    color: white;
}

/* アニメーション */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .columns {
        margin: 0;
    }
    .column {
        padding: 0.75rem;
    }
}

.industry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-list.nested {
    margin-left: 1rem;
    border-left: 1px solid rgba(219, 219, 219, 0.5);
    padding-left: 0.5rem;
}

.industry-item {
    margin: 0.25rem 0;
}

.industry-block {
    background: white;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid #dbdbdb;
    font-size: 0.95rem;
}

.industry-block:hover {
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.industry-header {
    padding: 0.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industry-header:hover {
    background-color: rgba(0, 209, 178, 0.1);
}

.industry-header .icon {
    width: 1.25rem;
    margin-right: 0.5rem;
}

.industry-name {
    font-size: 0.95rem;
    font-weight: 500;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.industry-actions {
    padding: 0.4rem;
    background-color: #f5f5f5;
    border-radius: 0 0 4px 4px;
    display: none;
}

.industry-actions .button {
    height: 1.75rem;
    padding: 0 0.5rem;
    font-size: 0.8rem;
}

.industry-block.is-selected .industry-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 3px 3px 0 0;
}

.industry-block.is-selected .industry-actions {
    display: block;
}

@media (max-width: 768px) {
    .industry-list.nested {
        margin-left: 0.75rem;
    }

    .industry-actions {
        display: block;
    }

    .industry-actions .button {
        padding: 0 0.25rem;
    }
}

/* アニメーション */
.fade-enter-active, .fade-leave-active {
    transition: all 0.3s ease;
    max-height: 1000px;
    opacity: 1;
}
.fade-enter, .fade-leave-to {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* スクロールバーのスタイリング */
.industry-tree::-webkit-scrollbar {
    width: 6px;
}

.industry-tree::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.industry-tree::-webkit-scrollbar-thumb {
    background: #dbdbdb;
    border-radius: 3px;
}

.industry-tree::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5;
}

.industry-name-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.idea-count {
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    min-width: 1.5rem;
    text-align: center;
}

.industry-block.is-selected .idea-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 業種選択用スタイル */
.industry-selector-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.industry-selector-list.nested {
    margin-left: 1.2rem;
    border-left: 1px solid rgba(219, 219, 219, 0.3);
    padding-left: 0.3rem;
}

.industry-selector-item {
    margin: 0.1rem 0;
}

.industry-selector-block {
    background: transparent;
    transition: all 0.2s ease;
}

.industry-selector-header {
    padding: 0.2rem 0.4rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
}

.industry-selector-header:hover {
    background-color: rgba(0, 209, 178, 0.1);
}

.industry-selector-name {
    flex-grow: 1;
    margin: 0 0.5rem;
}

.industry-selector-header .checkbox {
    margin: 0;
}

.industry-selector-header .icon {
    width: 1rem;
}

/* モーダルヘッダーのお気に入りアイコン用スタイル */
.modal-card-head .favorite-icon {
    opacity: 0.9;
}

.modal-card-head .favorite-icon:hover {
    opacity: 1;
}

/* カテゴリーフィルターのスタイル */
.category-filter {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-btn {
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    background: white;
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(0, 209, 178, 0.1);
}

.category-btn.is-selected {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 209, 178, 0.2);
}

/* アイデア件数表示のスタイル調整 */
.card-header-title .idea-count {
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

/* フィルター情報の表示スタイル */
.active-filters {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    color: #4a4a4a;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

/* プライベートとお気に入りのフィルタータグを強調 */
.filter-tag .fa-lock,
.filter-tag .fa-star {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.filter-tag .fa-lock {
    color: #ff9800;
}

.filter-tag .fa-star {
    color: #ffc107;
}

.filter-tag .fa-industry,
.filter-tag .fa-tags,
.filter-tag .fa-search {
    margin-right: 0.5rem;
}

.filtered-count {
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
}

/* キャッチフレーズのスタイル */
.catchphrase {
    font-family: 'Yusei Magic', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FF6B6B;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    position: relative;
    background: linear-gradient(transparent 60%, rgba(255, 220, 100, 0.4) 40%);
    display: inline-block;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
    transform-origin: left center;
}

.modal-catchphrase {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 1.5rem 0;
    color: #FF6B6B;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 220, 100, 0.2), rgba(255, 107, 107, 0.1));
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-catchphrase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.modal-catchphrase:hover::before {
    transform: translateX(100%);
}

/* アニメーション効果 */
.catchphrase {
    transition: all 0.3s ease;
}

.idea-card:hover .catchphrase {
    transform: translateY(-2px) rotate(-1deg);
    color: #FF4757;
}

/* おすすめ業種タグのスタイル */
.recommended-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.industry-tag {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.9rem;
    color: #4a4a4a;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: #efefef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ユースケースのスタイル */
.use-cases {
    margin-top: 1rem;
}

.use-case-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.use-case-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case-title .icon {
    color: var(--primary-color);
}

/* 課題と解決策のスタイル */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.problem {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.problem::before {
    content: "課題";
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    background: #e74c3c;
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.solution {
    color: #27ae60;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 発展的なアイデアのスタイル */
.extra-ideas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extra-idea-item {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.extra-idea-item:hover {
    transform: translateX(4px);
    background: #fff0c0;
}

/* PDF用スタイル */
.pdf-container {
    padding: 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #333;
    max-width: 210mm;
    margin: 0 auto;
    background-color: white;
    position: relative;
    top: 0;
    left: 0;
    box-sizing: border-box;
    page-break-inside: avoid;
}

/* サイトタイトル */
.pdf-site-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 15px 0;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    page-break-after: avoid;
    overflow: hidden;
}

.pdf-site-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.pdf-site-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="50" height="50" fill="rgba(255,255,255,0.05)"/><rect x="50" y="50" width="50" height="50" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.pdf-site-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    z-index: 3;
}

/* アイデアタイトル */
.pdf-idea-title {
    font-size: 24px;
    font-weight: bold;
    margin: 25px 0 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    page-break-after: avoid;
    position: relative;
    display: inline-block;
}

.pdf-idea-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, transparent);
}

.pdf-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    page-break-after: avoid;
}

.pdf-tags {
    margin-bottom: 15px;
    page-break-inside: avoid;
}

.pdf-tag {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 12px;
}

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

.pdf-catchphrase {
    font-size: 18px;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: bold;
}

.pdf-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 8px;
}

.pdf-industries {
    margin-top: 5px;
}

.pdf-industry {
    display: inline-block;
    background-color: #e8f4fc;
    padding: 3px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
}

.pdf-use-case {
    margin-bottom: 15px;
}

.pdf-use-case-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pdf-problem-list, .pdf-extra-ideas-list {
    padding-left: 20px;
    margin-top: 5px;
}

.pdf-problem-item, .pdf-extra-idea-item {
    margin-bottom: 10px;
}

.pdf-problem {
    font-weight: bold;
    margin-bottom: 5px;
}

.pdf-solution {
    margin-left: 15px;
    color: #27ae60;
}

.pdf-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
    border-top: 1px solid #ecf0f1;
    padding-top: 10px;
}

.idea-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
}

.idea-meta .icon-text {
    margin-right: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.idea-meta .icon {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.idea-meta .fa-lock {
    color: var(--warning-color);
}

/* プライベートアイデアの表示強調 */
.idea-card .idea-meta .fa-lock {
    color: #ff9800;
    font-size: 1.1em;
}

.modal-card-body .idea-meta .fa-lock {
    color: #ff9800;
    font-size: 1.1em;
}

.filter-tag .fa-lock {
    margin-right: 0.25rem;
}

.idea-meta .fa-user,
.idea-meta .fa-edit {
    color: var(--secondary-color);
}

/* AI生成プレビュー用スタイル */
.preview-text {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #3298dc;
}

.preview-content {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #3298dc;
}

/* AI生成モーダルのスタイル調整 */
.modal-card-body .use-cases {
    margin-top: 1rem;
}

.modal-card-body .use-case-section {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.modal-card-body .use-case-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #363636;
}

.modal-card-body .problem-list,
.modal-card-body .extra-ideas-list {
    list-style: none;
    padding-left: 0;
}

.modal-card-body .problem-item,
.modal-card-body .extra-idea-item {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.modal-card-body .problem {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.modal-card-body .solution {
    color: #3298dc;
    padding-left: 1rem;
} 