/* assets/css/style.css - mogumore（モグモア） ふんわり柔らかく洗練されたスタイル */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800;900&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

/* フォントと基本設定 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #443838;
    background-color: #fdfbf7;
    letter-spacing: 0.025em;
    -webkit-font-smoothing: antialiased;
}

/* 欧文ロゴ・英字用フォント */
.font-brand {
    font-family: 'Montserrat', "Zen Maru Gothic", sans-serif;
}

/* なめらかで柔らかなカードスタイル（縁が硬くないふんわり設計） */
.article-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid rgba(254, 235, 235, 0.65);
    border-radius: 28px;
    box-shadow: 0 8px 24px -4px rgba(255, 154, 162, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.02);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px -8px rgba(244, 114, 182, 0.16), 0 8px 16px -4px rgba(251, 146, 60, 0.08);
    border-color: rgba(251, 113, 133, 0.35);
}

/* 画像用のソフトな角丸とアスペクト比 */
.card-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff5f5;
}

.card-img-wrapper img {
    border-radius: 20px;
    transition: transform 0.5s ease-out;
}

.article-card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

/* なめらかグラデーションテキスト */
.text-gradient-coral {
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 45%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-berry {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* スクロールバーの非表示 */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* やさしい点滅アニメーション */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.02); }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s infinite ease-in-out;
}

/* クリップ（お気に入り）ボタン用スタイル */
.clip-btn {
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 9999px;
}

.clip-btn.active {
    background: linear-gradient(135deg, #f43f5e, #fb7185) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3) !important;
}

/* ふんわりトースト通知 */
#toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(120px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    border-radius: 9999px;
    background: rgba(45, 36, 36, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

#toast-notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* ガラスモーフィズム */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
