/* ============================================================
    フッター：キャラクターウィジェット（センター配置修正版）
   ============================================================ */

/* カード全体のコンテナ */
.footer-widgets .widget.footer-character-widget {
    background-color: #2c313d !important;
    border-radius: 12px;
    padding: 25px !important;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex !important;
    flex-direction: column !important;
    align-items: center; /* これで子要素を中央に集める */
    min-height: 550px; 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-widgets .widget.footer-character-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* サムネイル画像 */
.footer-character-thumb {
    margin-bottom: 15px;
    line-height: 0;
    width: 100%;
}

.footer-character-img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 名前・テキスト */
.character-name {
    color: #ff8c69 !important; /* サーモンピンク */
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 12px !important;
    display: block;
    width: 100%;
    text-align: center; /* 明示的に中央揃え */
}

.character-desc {
    color: #d1d5db;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left; /* 説明文は左寄せを維持 */
    width: 100%;
}

/* 著作権表記 */
.copyright {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px !important;
    width: 100%;
    text-align: center;
}

/* ボタンエリア */
.footer-character-action {
    margin-top: auto;
    padding-top: 20px;
    width: 100%;
    text-align: center; /* ボタンコンテナを中央揃えに */
}

.footer-btn-pink {
    display: inline-block;
    background-color: #1a1d23;
    color: #ff8c69 !important;
    text-decoration: none !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    border: 1px solid rgba(255,140,105,0.3);
    transition: all 0.3s ease;
    width: 80%;
}

.footer-btn-pink:hover {
    background-color: #ff8c69;
    color: #ffffff !important;
    border-color: #ff8c69;
}