/* PC専用：Pixioのテキスト＋300×250固定広告。SPではDOMを展開しない。 */
.tt-pc-a8-ad[hidden] {
    display: none !important;
}

@media (min-width: 768px) {
    .tt-pc-a8-ad {
        position: fixed;
        right: clamp(24px, 2.5vw, 48px);
        bottom: 24px;
        z-index: 90;
        width: 300px;
        max-width: 300px;
        margin: 0;
    }

    .tt-pc-a8-ad__panel,
    .tt-pc-a8-ad__text-row,
    .tt-pc-a8-ad__creative {
        width: 300px;
        max-width: 300px;
    }

    .tt-pc-a8-ad__panel,
    .tt-pc-a8-ad__text,
    .tt-pc-a8-ad__creative {
        position: relative;
    }

    .tt-pc-a8-ad__text-row {
        min-height: 36px;
    }

    .tt-pc-a8-ad__text {
        min-width: 0;
        padding: 8px 10px;
        border: 1px solid var(--border-color, var(--border, #dde3ea));
        border-radius: 8px;
        background: var(--card-bg, var(--surface, #fff));
        box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    }

    .tt-pc-a8-ad__text > a {
        display: block;
        color: var(--link, var(--primary, #087d83));
        font-size: .78rem;
        font-weight: 600;
        line-height: 1.45;
        text-decoration: none;
    }

    .tt-pc-a8-ad__text > a:hover {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .tt-pc-a8-ad__text > img,
    .tt-pc-a8-ad__creative > img {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        box-shadow: none;
    }

    .tt-pc-a8-ad__creative {
        height: 250px;
        margin-top: 12px;
        overflow: hidden;
    }

    .tt-pc-a8-ad__creative > a,
    .tt-pc-a8-ad__creative > a > img {
        display: block;
        width: 300px;
        height: 250px;
        max-width: none;
    }

    .tt-pc-a8-ad__close {
        position: absolute;
        top: -12px;
        right: -12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        min-height: 32px;
        height: 32px;
        padding: 0;
        border: 1px solid var(--border-color, var(--border, #dde3ea));
        border-radius: 50%;
        background: var(--card-bg, var(--surface, #fff));
        color: var(--text-color, var(--text, #1e293b));
        box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
        font: inherit;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
    }

    .tt-pc-a8-ad__close:hover {
        background: var(--hover-bg, var(--surface-2, #e2e9ed));
    }
}
