/* -------------------- */
/* PCSP共通 */
/* -------------------- */

.gooad_rectangle {
    margin: 0 auto;
    text-align: center;
}

.gooad_banner {
    margin: 0 auto;
    text-align: center;
}

.gooad_close {
    display: none !important;
}
/* オーバーレイ共通 */
#gooad-pc_overlay,
#gooad-sp_overlay {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    background: #FFF;
    text-align: center;
}

/* オーバーレイ閉じるボタン pc or sp */
[class^="gooad_close_button_"] {
    position: absolute;
    right: 0px;
    top: -25px;
    cursor: pointer;
    height: 25px;
    width: 30px;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 5px 5px 0;
    z-index: -1;
    opacity: 0.8;
}

[class^="gooad_close_button_"]::before,
[class^="gooad_close_button_"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 21px;
    background: #999;
}

[class^="gooad_close_button_"]::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

[class^="gooad_close_button_"]::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* -------------------- */
/* PC */
/* -------------------- */

#gooad-badge300_1,
#gooad-badge300_2,
#gooad-badge300_3 {
    min-height: 250px;
}

#gooad-long {
    min-height: 110px;
    padding:10px;
}


/* ダブレク親要素1～2 */
[id^="gooad-wrec"] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:10px 0;
    line-height: 0;
    text-align: center;
}

/* ダブレク1～4 */
[id^="gooad-mbadge300_"] {
    margin:0 30px;
}

/* -------------------- */
/* SP */
/* -------------------- */

#gooad-spbadge320_1 {
    display:grid;
    min-height: 120px;
    place-content:center;
    min-width:320px;
    padding:10px 0;
}

#gooad-spbadge300_1,
#gooad-spbadge300_2,
#gooad-spbadge300_3,
#gooad-spbadge300_4 {
    display:grid;
    min-height: 250px;
    place-content:center;
    margin: 8px auto;
}