/* 共通体験デモページ専用。既存ページへ影響させない。 */
.ts-ad-exp {
    --ts-ad-exp-orange: var(--orange, #f15a24);
    --ts-ad-exp-ink: var(--ink, #252525);
    --ts-ad-exp-cream: var(--cream, #fff8f2);
    --ts-ad-exp-header-clearance: 90px;
    --ts-ad-exp-section-space: clamp(76px, 7.5vw, 104px);
    --ts-ad-exp-late-space: clamp(58px, 5.5vw, 76px);
    --ts-ad-exp-answer-space: max(var(--ts-ad-exp-section-space), calc(var(--ts-ad-exp-header-clearance) + 16px));
    color: var(--ts-ad-exp-ink);
    background: #fff;
    overflow: hidden;
}

.ts-ad-exp__wrap {
    width: min(100% - 36px, 900px);
    margin-inline: auto;
}

.ts-ad-exp__hero,
.ts-ad-exp__section {
    text-align: center;
}

.ts-ad-exp__hero {
    box-sizing: border-box;
    min-height: 100svh;
    padding: var(--ts-ad-exp-header-clearance) 0 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(241, 90, 36, .16), transparent 34%),
        linear-gradient(155deg, #fff 0 46%, var(--ts-ad-exp-cream) 100%);
}

.ts-ad-exp__hero .ts-ad-exp__kicker,
.ts-ad-exp__hero h1,
.ts-ad-exp__hero .ts-ad-exp__question {
    animation: ts-ad-exp-hero-step-in .3s ease-out both;
}

.ts-ad-exp__hero h1 {
    animation-delay: 1s;
}

.ts-ad-exp__hero .ts-ad-exp__question {
    animation-delay: 2.5s;
}

.ts-ad-exp__hero h1,
.ts-ad-exp__hero .ts-ad-exp__question {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: break-all !important;
}

.ts-ad-exp__section {
    padding: var(--ts-ad-exp-section-space) 0;
}

.ts-ad-exp__direct {
    padding-top: var(--ts-ad-exp-answer-space);
}

.ts-ad-exp__imagine,
.ts-ad-exp__cta {
    padding-block: var(--ts-ad-exp-late-space);
}

/* JavaScriptが動かない場合は常時表示し、利用可能な時だけ見出し→本文の順に一度表示する。 */
.ts-ad-exp__section.is-story-ready .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__section.is-story-ready .ts-ad-exp__heading h2 {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity .42s ease-out,
        transform .42s cubic-bezier(.22, .75, .25, 1);
}

.ts-ad-exp__section.is-story-ready .ts-ad-exp__heading h2 {
    transition-delay: .08s;
}

.ts-ad-exp__section.is-story-ready.is-story-heading-visible .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__section.is-story-ready.is-story-heading-visible .ts-ad-exp__heading h2 {
    opacity: 1;
    transform: translateY(0);
}

.ts-ad-exp__section.is-story-ready .ts-ad-exp__content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition:
        visibility 0s linear .26s,
        opacity .26s ease-out,
        transform .26s ease-out;
}

.ts-ad-exp__section.is-story-ready.is-story-content-visible .ts-ad-exp__content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.ts-ad-exp__imagine.is-story-ready .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__imagine.is-story-ready .ts-ad-exp__heading h2,
.ts-ad-exp__cta.is-story-ready .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__cta.is-story-ready .ts-ad-exp__heading h2 {
    transform: translateY(8px);
    transition-duration: .28s;
}

.ts-ad-exp__imagine.is-story-ready.is-story-heading-visible .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__imagine.is-story-ready.is-story-heading-visible .ts-ad-exp__heading h2,
.ts-ad-exp__cta.is-story-ready.is-story-heading-visible .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__cta.is-story-ready.is-story-heading-visible .ts-ad-exp__heading h2 {
    transform: translateY(0);
}

@keyframes ts-ad-exp-hero-step-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ts-ad-exp__kicker,
.ts-ad-exp__step {
    margin: 0 0 18px;
    color: var(--ts-ad-exp-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
}

.ts-ad-exp h1,
.ts-ad-exp h2,
.ts-ad-exp p {
    margin-top: 0;
}

.ts-ad-exp h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 8vw, 76px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
    word-break: normal;
}

.ts-ad-exp h2 {
    margin-bottom: 34px;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .025em;
}

.ts-ad-exp__question {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: normal;
}

.ts-ad-exp__section:nth-of-type(even) {
    background: var(--ts-ad-exp-cream);
}

.ts-ad-exp__copy {
    display: grid;
    gap: 16px;
    width: min(100%, 720px);
    margin-inline: auto;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.85;
}

.ts-ad-exp__copy p {
    margin-bottom: 0;
}

.ts-ad-exp__copy span,
.ts-ad-exp__copy strong {
    display: block;
    width: fit-content;
    margin-inline: auto;
    word-break: keep-all;
}

.ts-ad-exp__copy strong {
    color: var(--ts-ad-exp-orange);
}

.ts-ad-exp[data-entry-mode="link"] .ts-ad-exp__copy span,
.ts-ad-exp[data-entry-mode="link"] .ts-ad-exp__copy strong,
.ts-ad-exp[data-entry-mode="unknown"] .ts-ad-exp__copy span,
.ts-ad-exp[data-entry-mode="unknown"] .ts-ad-exp__copy strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-all !important;
}

.ts-ad-exp__report {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(241, 90, 36, .24);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(72, 45, 28, .1);
    text-align: left;
}

.ts-ad-exp__report.is-animation-ready .ts-ad-exp__bar-item i {
    transform: scaleY(0);
}

.ts-ad-exp__report.is-animation-ready.is-animated .ts-ad-exp__bar-item i {
    transform: scaleY(1);
}

.ts-ad-exp__report-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.ts-ad-exp__report-head div {
    display: grid;
    gap: 3px;
}

.ts-ad-exp__report-head span {
    color: var(--ts-ad-exp-orange);
    font-size: 20px;
    font-weight: 900;
}

.ts-ad-exp__report-head strong {
    font-size: 13px;
}

.ts-ad-exp__report-head p {
    margin-bottom: 0;
    font-weight: 900;
}

.ts-ad-exp__report-head p b {
    color: var(--ts-ad-exp-orange);
    font-size: clamp(46px, 8vw, 68px);
    line-height: 1;
}

.ts-ad-exp__bars {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    height: 190px;
    margin-top: 34px;
    padding-top: 24px;
    border-bottom: 1px solid #ddd4ce;
    gap: clamp(5px, 1.5vw, 14px);
}

.ts-ad-exp__bar-item {
    display: grid;
    height: 100%;
    grid-template-rows: 24px 1fr 28px;
    align-items: end;
    text-align: center;
}

.ts-ad-exp__bar-item span,
.ts-ad-exp__bar-item small {
    color: #706760;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.ts-ad-exp__bar-item i {
    width: min(100%, 34px);
    height: var(--ts-ad-exp-bar);
    min-height: 5px;
    margin-inline: auto;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(#ff875e, var(--ts-ad-exp-orange));
    transform-origin: bottom;
    transition: transform .9s cubic-bezier(.22, .75, .25, 1);
}

.ts-ad-exp__bar-item:nth-child(2) i { transition-delay: 45ms; }
.ts-ad-exp__bar-item:nth-child(3) i { transition-delay: 90ms; }
.ts-ad-exp__bar-item:nth-child(4) i { transition-delay: 135ms; }
.ts-ad-exp__bar-item:nth-child(5) i { transition-delay: 180ms; }
.ts-ad-exp__bar-item:nth-child(6) i { transition-delay: 225ms; }
.ts-ad-exp__bar-item:nth-child(7) i { transition-delay: 270ms; }

.ts-ad-exp__updated,
.ts-ad-exp__return-message,
.ts-ad-exp__note {
    color: #756d67;
    font-size: 12px;
    line-height: 1.7;
}

.ts-ad-exp__return-message {
    margin: 20px auto 0;
    color: #4e4844;
    font-size: 14px;
    font-weight: 700;
}

.ts-ad-exp__updated {
    margin: 16px 0 0;
}

.ts-ad-exp__note {
    width: min(100%, 680px);
    margin: 16px auto 0;
}

.ts-ad-exp__use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 46px auto;
}

.ts-ad-exp__use-card {
    display: grid;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 12px;
    border: 1px solid rgba(241, 90, 36, .22);
    border-radius: 22px;
    grid-template-rows: 1fr auto;
    gap: 9px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(60, 34, 20, .07);
    overflow: hidden;
}

.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity .38s ease-out,
        transform .38s cubic-bezier(.22, .75, .25, 1);
}

.ts-ad-exp__uses.is-story-ready.is-use-visible .ts-ad-exp__use-card {
    opacity: 1;
    transform: translateY(0);
}

.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card:nth-child(2) { transition-delay: 40ms; }
.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card:nth-child(3) { transition-delay: 80ms; }
.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card:nth-child(4) { transition-delay: 120ms; }
.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card:nth-child(5) { transition-delay: 160ms; }
.ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card:nth-child(6) { transition-delay: 200ms; }

.ts-ad-exp__use-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
}

.ts-ad-exp__visual {
    position: relative;
    display: grid;
    min-height: 0;
    border-radius: 14px;
    place-items: center;
    overflow: hidden;
}

.ts-ad-exp__visual span {
    position: relative;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 8px;
    color: #fff;
    background: var(--ts-ad-exp-orange);
    box-shadow: 0 4px 14px rgba(70, 35, 20, .2);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.ts-ad-exp__visual b {
    position: relative;
    z-index: 2;
    font-size: 12px;
}

.ts-ad-exp__visual--sign {
    border: 8px solid #75543c;
    background: linear-gradient(145deg, #dce9d4, #95b58e);
}

.ts-ad-exp__visual--sign::before,
.ts-ad-exp__visual--sign::after {
    position: absolute;
    bottom: -18px;
    width: 7px;
    height: 42px;
    background: #75543c;
    content: "";
}

.ts-ad-exp__visual--sign::before { left: 28px; }
.ts-ad-exp__visual--sign::after { right: 28px; }

.ts-ad-exp__visual--car {
    margin: 12px 6px 18px;
    border-radius: 24px 12px 9px 9px;
    background: linear-gradient(90deg, #f3f1ed 0 72%, #c7dceb 72%);
    box-shadow: inset 0 -12px #ded8d1;
}

.ts-ad-exp__visual--car i {
    position: absolute;
    bottom: -12px;
    width: 28px;
    height: 28px;
    border: 7px solid #383838;
    border-radius: 50%;
    background: #aaa;
}

.ts-ad-exp__visual--car i:first-of-type { left: 32px; }
.ts-ad-exp__visual--car i:last-of-type { right: 26px; }

.ts-ad-exp__visual--flyer {
    margin: 5px 24px;
    padding: 18px 10px;
    background: repeating-linear-gradient(#fff 0 15px, #f1ebe5 16px 17px);
    box-shadow: 0 7px 18px rgba(50, 35, 25, .16);
    align-content: space-around;
}

.ts-ad-exp__visual--web {
    background: linear-gradient(135deg, #373149, #655880);
    align-content: center;
    gap: 16px;
}

.ts-ad-exp__visual--web b,
.ts-ad-exp__visual--signage b,
.ts-ad-exp__visual--video b {
    color: #fff;
    font-size: 14px;
}

.ts-ad-exp__visual--signage {
    margin: 3px 20px 10px;
    border: 8px solid #333;
    border-bottom-width: 14px;
    border-radius: 8px;
    background: linear-gradient(155deg, #143c5d, #2c7692);
    align-content: center;
    gap: 13px;
}

.ts-ad-exp__visual--video {
    background: linear-gradient(160deg, rgba(20, 25, 40, .1), rgba(20, 25, 40, .65)),
        linear-gradient(135deg, #8db9c8, #e8b67f);
    align-content: center;
    gap: 10px;
}

.ts-ad-exp__visual--video i {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

.ts-ad-exp__slide-button,
.ts-ad-exp__slide-dots {
    display: none;
}

.ts-ad-exp__statement {
    margin-bottom: 12px;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
}

.ts-ad-exp__tagline {
    margin-bottom: 0;
    color: var(--ts-ad-exp-orange);
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 900;
    letter-spacing: .05em;
}

.ts-ad-exp__imagine > .ts-ad-exp__wrap > p:not(.ts-ad-exp__step),
.ts-ad-exp__cta > .ts-ad-exp__wrap > p:not(.ts-ad-exp__step) {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    line-height: 1.9;
}

.ts-ad-exp__blank {
    display: flex;
    width: min(100%, 620px);
    margin: 46px auto 0;
    padding: 28px 24px;
    border: 3px solid var(--ts-ad-exp-orange);
    border-radius: 24px;
    align-items: baseline;
    justify-content: center;
    background: #fff;
    box-shadow: 0 18px 45px rgba(241, 90, 36, .13);
}

.ts-ad-exp__blank span {
    color: #9f958f;
    font-size: clamp(28px, 6vw, 54px);
    letter-spacing: -.08em;
}

.ts-ad-exp__blank strong {
    color: var(--ts-ad-exp-orange);
    font-size: clamp(34px, 7vw, 62px);
}

.ts-ad-exp__actions {
    display: grid;
    width: min(100%, 620px);
    margin: 44px auto 0;
    gap: 20px;
}

.ts-ad-exp__primary,
.ts-ad-exp__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ts-ad-exp__primary {
    min-height: 68px;
    padding: 18px 24px;
    border-radius: 999px;
    color: #fff;
    background: var(--ts-ad-exp-orange);
    box-shadow: 0 16px 36px rgba(241, 90, 36, .3);
    font-size: clamp(17px, 2.4vw, 22px);
    font-weight: 900;
}

.ts-ad-exp__primary:hover,
.ts-ad-exp__primary:focus-visible {
    color: #fff;
    opacity: .88;
}

.ts-ad-exp__cta.is-cta-pulsing .ts-ad-exp__primary {
    animation: ts-ad-exp-cta-pulse 3.2s ease-in-out infinite;
}

@keyframes ts-ad-exp-cta-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 16px 36px rgba(241, 90, 36, .3);
    }
    50% {
        transform: scale(1.012);
        box-shadow: 0 18px 42px rgba(241, 90, 36, .4);
    }
}

.ts-ad-exp__secondary {
    width: fit-content;
    margin-inline: auto;
    color: #665e59;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .ts-ad-exp {
        --ts-ad-exp-header-clearance: 86px;
        --ts-ad-exp-section-space: 64px;
        --ts-ad-exp-late-space: 52px;
    }

    .ts-ad-exp__wrap {
        width: min(100% - 28px, 900px);
    }

    .ts-ad-exp__hero {
        min-height: 100svh;
        padding-top: var(--ts-ad-exp-header-clearance);
    }

    .ts-ad-exp__copy {
        font-size: clamp(17px, 4.7vw, 19px);
        line-height: 1.75;
    }

    .ts-ad-exp__use-carousel {
        position: relative;
        width: calc(100% + 28px);
        margin-left: -14px;
    }

    .ts-ad-exp__use-grid {
        display: flex;
        gap: 14px;
        margin: 34px 0 10px;
        padding: 4px 36px 18px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 36px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ts-ad-exp__use-grid::-webkit-scrollbar {
        display: none;
    }

    .ts-ad-exp__use-card {
        flex: 0 0 min(78vw, 304px);
        scroll-snap-align: start;
    }

    .ts-ad-exp__slide-button {
        position: absolute;
        top: calc(50% - 14px);
        z-index: 4;
        display: grid;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 2px solid #fff;
        border-radius: 50%;
        color: #fff;
        background: var(--ts-ad-exp-orange);
        box-shadow: 0 5px 16px rgba(40, 30, 20, .22);
        font-size: 21px;
        font-weight: 900;
        line-height: 1;
        place-items: center;
        transform: translateY(-50%);
    }

    .ts-ad-exp__slide-button--prev { left: 2px; }
    .ts-ad-exp__slide-button--next { right: 2px; }

    .ts-ad-exp__slide-button:disabled {
        opacity: .28;
    }

    .ts-ad-exp__slide-dots {
        display: flex;
        min-height: 8px;
        justify-content: center;
        gap: 7px;
    }

    .ts-ad-exp__slide-dots i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d7b7a8;
    }

    .ts-ad-exp__slide-dots i.is-current {
        width: 18px;
        border-radius: 999px;
        background: var(--ts-ad-exp-orange);
    }

    .ts-ad-exp__report-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ts-ad-exp__report-head p {
        align-self: flex-end;
    }

    .ts-ad-exp__bars {
        height: 165px;
        gap: 5px;
    }

    .ts-ad-exp__blank {
        padding-inline: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-ad-exp *,
    .ts-ad-exp *::before,
    .ts-ad-exp *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .ts-ad-exp__report.is-animation-ready .ts-ad-exp__bar-item i {
        transform: scaleY(1);
    }

    .ts-ad-exp__hero .ts-ad-exp__kicker,
    .ts-ad-exp__hero h1,
    .ts-ad-exp__hero .ts-ad-exp__question {
        animation: none;
    }

    .ts-ad-exp__section.is-story-ready .ts-ad-exp__heading .ts-ad-exp__step,
    .ts-ad-exp__section.is-story-ready .ts-ad-exp__heading h2,
    .ts-ad-exp__section.is-story-ready .ts-ad-exp__content,
    .ts-ad-exp__uses.is-story-ready .ts-ad-exp__use-card {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .ts-ad-exp__cta.is-cta-pulsing .ts-ad-exp__primary {
        animation: none;
    }
}


/* 正式サンプル画像カード */
.ts-ad-exp__use-card {
    aspect-ratio: auto;
}

.ts-ad-exp__visual--image {
    margin: 0;
    aspect-ratio: 3 / 2;
    background: #f5f5f5;
}

.ts-ad-exp__visual--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* セクション表示タイミング: 冒頭語0秒・見出し1秒・本文1.5秒 */
.ts-ad-exp__section.is-story-ready.is-story-lead-visible .ts-ad-exp__heading .ts-ad-exp__step {
    opacity: 1;
    transform: translateY(0);
}

.ts-ad-exp__section.is-story-ready.is-story-heading-visible .ts-ad-exp__heading h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.ts-ad-exp__imagine.is-story-ready.is-story-lead-visible .ts-ad-exp__heading .ts-ad-exp__step,
.ts-ad-exp__cta.is-story-ready.is-story-lead-visible .ts-ad-exp__heading .ts-ad-exp__step {
    transform: translateY(0);
}
