@charset "UTF-8";
.a8-btn-wrap {
    text-align: center;
    margin: 2.5em 0;
}
.a8-btn-wrap a {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.5;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.2s ease;
    width: 90%;
    max-width: 450px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.a8-btn-wrap a:hover {
    transform: translateY(2px);
    opacity: 0.95;
}

/* 光るアニメーション */
.a8-btn-wrap a::after {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 30px;
    height: 200px;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: shiny-effect 3s infinite;
}
@keyframes shiny-effect {
    0% { left: -50px; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* A8の計測用1px画像が隙間を作らないための処理 */
.a8-btn-wrap img {
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

/* ==================================
   A8.net対応ボタン：カラー設定（5色）
================================== */

/* --- 緑色（アクティブグリーン） --- */
.a8-btn-green a {
    background: #28A745;
    box-shadow: 0 4px 0 #1E7E34, 0 5px 10px rgba(0,0,0,0.2);
}
.a8-btn-green a:hover {
    box-shadow: 0 2px 0 #1E7E34, 0 3px 6px rgba(0,0,0,0.2);
}

/* --- 赤色（パッションレッド） --- */
.a8-btn-red a {
    background: #E63946;
    box-shadow: 0 4px 0 #B3212E, 0 5px 10px rgba(0,0,0,0.2);
}
.a8-btn-red a:hover {
    box-shadow: 0 2px 0 #B3212E, 0 3px 6px rgba(0,0,0,0.2);
}

/* --- 青色（クリアブルー） --- */
.a8-btn-blue a {
    background: #007BFF;
    box-shadow: 0 4px 0 #0056B3, 0 5px 10px rgba(0,0,0,0.2);
}
.a8-btn-blue a:hover {
    box-shadow: 0 2px 0 #0056B3, 0 3px 6px rgba(0,0,0,0.2);
}

/* --- オレンジ（ビビッドオレンジ） --- */
.a8-btn-orange a {
    background: #FF8C00;
    box-shadow: 0 4px 0 #CC7000, 0 5px 10px rgba(0,0,0,0.2);
}
.a8-btn-orange a:hover {
    box-shadow: 0 2px 0 #CC7000, 0 3px 6px rgba(0,0,0,0.2);
}

/* --- 金色（リッチゴールド） --- */
.a8-btn-gold a {
    background: #F39C12;
    box-shadow: 0 4px 0 #C87F0A, 0 5px 10px rgba(0,0,0,0.2);
}
.a8-btn-gold a:hover {
    box-shadow: 0 2px 0 #C87F0A, 0 3px 6px rgba(0,0,0,0.2);
}