/* ========================================
   index.html 固有スタイル
   ======================================== */

/* Noto Serif JP を使用（Cormorant Garamond を上書き） */
.font-serif {
    font-family: "Noto Serif JP", serif !important;
}

/* フェードインアニメーション */
.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 矢印アイコン */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.group:hover .circle-icon {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
    color: #fff;
}

/* クラファンボタン */
.btn-crowdfunding {
    background: linear-gradient(135deg, #FF8C42 0%, #FF5F2E 100%);
    box-shadow: 0 8px 20px rgba(255, 95, 46, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-crowdfunding:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 25px rgba(255, 95, 46, 0.5);
}

/* プロダクトボタン */
.btn-product {
    background-color: #50a69f;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background-color: #3d8b85;
    box-shadow: 0 4px 12px rgba(80, 166, 159, 0.3);
}

/* 点滅アニメーション */
.pulse-text {
    animation: pulse-red 1.2s infinite ease-in-out;
    font-weight: bold;
}

@keyframes pulse-red {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ボタンのキラキラエフェクト */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@media screen and (max-width: 1023px) {
    #news {
        width: 100%;
    }

    #news .news-item {
        width: 100%;
        max-width: 100%;
    }
}