@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #f4f4f5; /* bg-zinc-100 */
}

/* フェードインアニメーション用の初期状態 */
.reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* アニメーション実行時の状態 */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}
.animate-pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ヘッダー・フッター用カスタムクラス */
.back-color--bk {
    background-color: #000000;
    color: #ffffff;
}

.ly-header {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央揃え */
}

.header__img img {
    height: 24px; /* 指定のサイズ */
    width: auto;
}

.footer__container {
    padding: 4rem 2rem;
}

.footer-flex {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* テキスト中央揃え */
    gap: 2rem;
}

.footer-img {
    height: 60px; /* 3倍に変更 */
    width: auto;
    opacity: 0.8;
}

.footer-company-logo img {
    height: 28px; /* バランスを考えたサイズ */
    width: auto;
}

.footer-copylight {
    font-size: 0.7rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* モバイル・デスクトップ共通で中央揃えを維持 */
@media (min-width: 768px) {
    .footer-flex {
        gap: 2.5rem;
    }
}

/* カテゴリナビゲーションの開閉状態 */
#category-nav.is-open {
    max-height: 1000px; /* 十分な高さ */
    margin-top: 1rem;
}

#toggle-icon.is-open {
    transform: rotate(180deg);
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}
