@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* メインコンテナ */
.game-ads-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ヘッダータイトル */
.ads-header {
    text-align: center;
    margin-bottom: 30px;
}

.ads-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ゲーム広告アイテム */
.game-ad-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(240, 147, 251, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-ad-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(240, 147, 251, 0.4);
}

.game-ad-item:nth-child(2) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 6px 25px rgba(79, 172, 254, 0.3);
}

.game-ad-item:nth-child(2):hover {
    box-shadow: 0 10px 35px rgba(79, 172, 254, 0.4);
}

.game-ad-item:nth-child(3) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 6px 25px rgba(250, 112, 154, 0.3);
}

.game-ad-item:nth-child(3):hover {
    box-shadow: 0 10px 35px rgba(250, 112, 154, 0.4);
}

.game-ad-item:nth-child(4) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 6px 25px rgba(168, 237, 234, 0.3);
}

.game-ad-item:nth-child(4):hover {
    box-shadow: 0 10px 35px rgba(168, 237, 234, 0.4);
}

/* 装飾要素 */
.game-ad-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.game-ad-item:hover::before {
    transform: scale(1.5);
}

/* ゲーム画像 */
.game-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    position: relative;
    z-index: 2;
}

/* ゲーム情報 */
.game-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.game-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ボタン */
.play-button {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.play-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .game-ads-container {
        margin: 10px;
        padding: 15px;
    }

    .game-ad-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .game-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .ads-title {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* アニメーション */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-ad-item {
    animation: slideInUp 0.6s ease forwards;
}

.game-ad-item:nth-child(2) {
    animation-delay: 0.1s;
}

.game-ad-item:nth-child(3) {
    animation-delay: 0.2s;
}

.game-ad-item:nth-child(4) {
    animation-delay: 0.3s;
}