@charset "utf-8";

/* -------------------- */
/* PCSP共通 */
/* -------------------- */

.gooad_close {
    display: none !important;
}

/* オーバーレイ共通 */
#gooad-pc_overlay,
#gooad-spbadge320_3 {
    position: fixed;
    z-index: 1010;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    background: #FFF;
    text-align: center;
}

/* -------------------- */
/* PC */
/* -------------------- */

#gooad-long {
    min-height: 90px;
    margin: 0 0 1em;
    text-align: center;
}

#gooad-badge300_1,
#gooad-badge300_2 {
    min-height: 250px;
    margin: 0 auto;
    text-align: center;
}

#gooad-badge300_3 {
    min-height: 250px;
    margin: 0 auto 2px;
    text-align: center;
}

#gooad-badge320_1,
#gooad-badge320_2 {
    width: 320px;
    height: 100px;
    margin: 0 auto 2px;
    text-align: center;
}

#gooad-badge320_3 {
    width: 320px;
    height: 300px;
    margin: 0 auto 2px;
    text-align: center;
}

#gooad-badge670_2,
#gooad-badge670_3 {
    width: 670px;
    height: 50px;
    margin: 0 auto 2px;
    text-align: center;
}

#gooad-badge670_4 {
    width: 670px;
    height: 240px;
    margin: 0 auto 2px;
    text-align: center;
}

/* ダブレク親要素 */
#gooad-wrec1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    margin: 0 auto 2px;
    text-align: center;
}

/* ダブレク */
#gooad-mbadge300_1,
#gooad-mbadge300_2 {
    min-height: 250px;
    width: 300px;
    margin: 0;
}

/* オーバーレイ */
#gooad-pc_overlay {
    height: 90px;
}

/* フッター調整 */
/* gam_event_listenersで追加 */
.gooad_footer_bottom_pc {
    padding-bottom: 90px;
}

/* オーバーレイが閉じられたときフッターの余白をデフォルトにする */
.gooad_footer_default_pc {
    padding-bottom: 24px;
}


/* -------------------- */
/* SP */
/* -------------------- */

#gooad-spbadge320_1 {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

#gooad-spbadge320_2 {
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

#gooad-spbadge320_4 {
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

/* レクタングル共通 sp300_1～8 */
[id^="gooad-spbadge300_"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    line-height: 0;
    text-align: center;
}

#gooad-spbadge300_1 {
    min-height: 280px;
}

/* iPhone safe-area */
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
    #gooad-spbadge320_3 {
        padding-bottom: constant(safe-area-inset-bottom)
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    #gooad-spbadge320_3 {
        padding-bottom: env(safe-area-inset-bottom)
    }
}

/* フッター調整 */
/* gam_event_listenersで追加 */
.gooad_footer_bottom_sp {
    height: 275px;
}

/* オーバーレイが閉じられたときフッターの余白をデフォルトにする */
.gooad_footer_default_sp {
    height: 0;
}

/* トップへ戻るボタン（SPオーバーレイ存在時のみ） */
body:has(#gooad-spbadge320_3) .top-btn.top-btn-fix {
    bottom: 120px;
}

/* アプリリンク（SPオーバーレイ存在時のみ） */
body:has(#gooad-spbadge320_3) .theAppLink.sb-slid {
    bottom: 102px;
}