/* ボタンエリアPC版ここから */

.pc-item.area_btn {
    position: relative;
    padding: 0;
    text-align: center;
    width: 100%;
    margin: 0;
}



.pc-item.area_btn a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none; 
    outline: none;
}

/* ボタン画像の設定 */
.pc-item.area_btn a img {
    width: 100%;
    height: auto;
    display: block;
    border: none; 
}

.pc-item.cta-bg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.area_btn.cta1 {
   
    margin-bottom: -4px;
}

.area_btn.cta1 .cta-bg {
    object-position: center 30%;
    top: 55%;
}

/* 2つ目と3つ目のCTA特別設定 */
.pc-item.area_btn.cta2,
.pc-item.area_btn.cta3 {
    margin-top: -4px;
    margin-bottom: -4px;
}



/* ボタンのホバーエフェクト */


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

    50% {
        transform: scale(1.05);
    }

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

.btn {
    animation: pulse 2s infinite ease-in-out;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    animation: none;
    transform: scale(1.1);
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}


/* ボタンエリアSP版 */
@media screen and (max-width: 640px) {
    .sp-item.area_btn {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .sp-item .cta-bg {
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    /* スマホ版のボタン配置を修正 */
    .sp-item.area_btn a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        z-index: 2;
        margin: 0;
        padding: 0;
    }

    /* ボタン内の画像設定 */
    .sp-item.area_btn a img {
        width: 90%;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .sp-item .btn {
        margin: 0;
        padding: 0;
    }

}
/* メディアクエリ */
@media screen and (min-width: 1280px) {
    .pc-item.area_btn a {
        width: 35%; 
    }
    .pc-item.area_btn.cta1 a {  
        top: 45%;
    }

    .pc-item.area_btn.cta2 a {
        top: 60%; 
    }
    
    .pc-item.area_btn.cta3 a {
        top: 40%; 
    }
}

/* 超大画面（1920px～） */
@media screen and (min-width: 1920px) {
    .pc-item.area_btn.cta1 a {
        top: 46%; 
    }

    .pc-item.area_btn.cta2 a {
        top: 57%; 
    }
    
    .pc-item.area_btn.cta3 a {
        top: 43%; 
    }
}






/* ボタンエリアここまで */