/* カスタムスタイル */

/* フォント一覧のスクロール可能エリア */
.font-list {
    max-height: 600px;
    overflow-y: auto;
    margin-top: 1rem;
}

/* フォントアイテムのホバー効果 */
.font-item {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.font-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.font-item.selected {
    background-color: #e8f4fd;
    border-color: #3273dc;
}

/* フォント価格表示 */
.font-price {
    font-size: 0.875rem;
    color: #666;
}

.font-price .tag {
    margin-left: 0.25rem;
}

/* サイト設定カード */
.site-card {
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #fafafa;
}

.site-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* フォント設定テーブル */
.font-settings-table {
    width: 100%;
    margin-top: 1rem;
}

.font-settings-table td {
    padding: 0.5rem;
    vertical-align: middle;
}

/* 料金比較テーブル */
.price-comparison-table {
    width: 100%;
    margin-top: 1rem;
}

.price-comparison-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.price-comparison-table td {
    text-align: right;
}

.price-comparison-table .has-text-left {
    text-align: left;
}

/* 推奨表示 */
.recommended {
    background-color: #fffbeb;
    font-weight: bold;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
    .font-list {
        max-height: 400px;
    }
    
    .columns {
        flex-direction: column-reverse;
    }
    
    .site-card {
        padding: 1rem;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

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

.font-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.font-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.font-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 削除ボタン */
.delete-site-btn {
    transition: all 0.2s ease;
}

.delete-site-btn:hover {
    transform: scale(1.1);
}

/* 価格ハイライト */
.price-highlight {
    background-color: #ffdd57;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* ローディング表示 */
.is-loading::after {
    animation: spinAround 500ms infinite linear;
    border: 2px solid #dbdbdb;
    border-radius: 290486px;
    border-right-color: transparent;
    border-top-color: transparent;
    content: "";
    display: block;
    height: 1em;
    position: relative;
    width: 1em;
}

/* フッターの注意事項スタイル */
.footer small {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.footer small br {
    margin-bottom: 0.2rem;
}
