:root {
    --main: #FF1F1F;
    --sub: #D10000;
    --bg: #ffffff;
    --lightgray: #F5F6F8;
    --black: #160C1C;
    --bg_black: #1F1F1F;
    --grad1: linear-gradient(47deg, rgba(255, 40, 40, 1) 20%, rgba(215, 0, 0, 1) 100%);
    --bordergray: #E9EBF2;
    --borderGrad: linear-gradient(to right, #7f7fff, #7fff7f);
}

* {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 1.5em;
}
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.inline {
    display: inline-block;
}
body {
    height: 100vh;
}
header {
    position: relative;
    background: var(--bg);
    height: 60px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}
header .logo {
    height: 80%;
}
header .logo img {
    width: auto;
    height: 100%;
}
@media screen and (min-width:901px) {
    header .logo .sp_appear {
        display: none;
    }
}
@media screen and (max-width:900px) {
    header {
        height: 54px;
    }
    header .logo .pc_appear {
        display: none;
    }
    header .logo {
        height: auto;
        line-height: 0;
    }
    header .logo img {
        width: 120px;
        height: auto;
    }
}

header .text_logo {
    height: 40%;
}
header .text_logo img {
    height: 100%;
}

main {
    position: relative;
    background-image: url(assets/background.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    height: Calc(100vh - 60px);
}
.sp_scroll_section {
    position: fixed;
    top: 60px;
    width: 45%;
    max-width: 750px;
    height: Calc(100vh - 60px);
    right: 0;
    left: 0;
    margin-inline: auto;
    overflow-y: scroll;
    filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.08));
}
.sp_scroll_section img {
    width: 100%;
}
.main_left_block {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc((100% - min(750px, 45%)) / 2);
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_left_inner {
    max-width: 345px;
    width: 24vw;
}
.main_left_inner img {
    display: block;
    width: 100%;
}
.main_left_inner .cta {
    width: 100%;
}
@media screen and (max-width:1050px) {
}
.main_right_block {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: calc((100% - min(750px, 45%)) / 2);
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 60px;
}
@media screen and (max-width:900px) {
    .sp_scroll_section {
        top: 54px;
        width: 100%;
        max-width: none;
        height: Calc(100vh - 54px);
        right: 0%;
        overflow-y: scroll;
        filter: none;
    }
    header .text_logo {
        height: 26%;
        line-height: 0;
    }
}
.ancker_buttons {
    max-width: 270px;
    max-width: 18.7vw;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ancker_buttons .ancker_button {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    height: 80px;
    justify-content: space-between;
    padding: 0px 42px 0px 24px;
    border: 2px solid #3F3F3F;
    border-radius: 12px;
    font-size: 1.1vw;
    background: var(--bg);
    transition: .3s;
}
.ancker_buttons .ancker_button:hover {
    transition: .3s;
    transform: translateY(-6px);
}
.ancker_buttons .ancker_button p {
    line-height: 120%;;
}
.ancker_buttons .ancker_button::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(assets/under_arrow.svg);
    background-size: contain;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}
footer {
    background: var(--bg_black);
    padding: 20px 6%;
    text-align: left;
    color: #C1C1C1;
}
.block_wrapper {
    position: relative;
    width: 100%;
}

.campaign_block_bottom {
    padding-bottom: 55px;
    background: linear-gradient(180deg, #aa8980 0%, #b6b6a4 100%);
}


.cta {
    position: relative;
    width: calc(690 / 750 * 100%);
    margin-inline: auto;
    animation: cta-shake 3s infinite;
    overflow: hidden;
    transition: .2s;

    mask-image: url("assets/cta.png");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.cta_01 {
    position: absolute;
    top: 24%;
    left: 0px;
    width: 100%;
    filter: drop-shadow(0px 8px 6px rgba(0, 0, 0, 0.2));
    animation: cta-shake 3s infinite;
    overflow: hidden;
    transition: .2s;
}
.cta_01:hover{
    opacity: 0.7;
    transition: .5s;
}
/* 光る帯のエフェクト */
.cta::before,
.cta_01::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

/* CTAボタンの横揺れアニメーション */
@keyframes cta-shake {
    0%, 90%, 100% {
        transform: translateX(0);
    }

    /* 横揺れアニメーション */
    5% {
        transform: translateX(3px);
    }
    10% {
        transform: translateX(-3px);
    }
    15% {
        transform: translateX(2px);
    }
    20% {
        transform: translateX(-1px);
    }
    25% {
        transform: translateX(0);
    }
}

/* 光が通り過ぎるアニメーション */
@keyframes shine {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.3;
    }
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}
.cta_02 {
    position: absolute;
    top: 73%;
    left: 0px;
    width: 100%;
    filter: drop-shadow(0px 8px 6px rgba(0, 0, 0, 0.2));
}
.cta_03 {
    position: absolute;
    bottom: 0%;
    left: 0px;
    width: 100%;
}
.tab {
    display: flex;
    gap: 0px;
}
.tab .back-img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.tab div {
    flex: 1;
}
.tab_off,
.tab_on {
    display: none;
}
.tab_off {
    cursor: pointer;
}
.tab_off.active,
.tab_on.active {
    display: block;
}
.recommend_block {
    display: none;
}
.recommend_block.active {
    display: block;
}

/* スライダーのスタイル */
.slider-container {
    position: absolute;
    width: calc(335 / 375 * 100%);
    height: auto;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}
.slider-container.roox-slider2 {
    top: 16%;
}
.slider-container.roox-slider3 {
    top: 29%;
}
.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    cursor: grab;
    overflow: hidden;
}
.slider-wrapper:active {
    cursor: grabbing;
}
.slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: auto;
}

.slide {
    width: 100%;
    height: auto;
    position: relative;
    flex-shrink: 0;
    flex-basis: 100%;
}
.slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    vertical-align: top;
    max-width: 100%;
    object-fit: contain;
}
.comment_img {
    position: absolute;
    top: 18%;
    left: -1%;
    width: 26%;
    object-fit: contain;
}
.comment_img img {
    opacity: 0;
    transform: translateY(10%);
    position: absolute;
    top: 0px;
    left: 0px;
}
.comment_img img.active {
    opacity: 1;
    transform: translateY(0%);
    transition: .3s;
}

/* ページネーション */
.slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    position: relative;
}

.dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot:hover {
    background: #6D8ECD;
}
.dot.active {
    background: #6D8ECD;
}
.xtrial-slider1 .dot:hover {
    background: #DEBA83;
}
.xtrial-slider1 .dot.active {
    background: #DEBA83;
}
.area_buttons {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 95%;
}
.area_buttons .button {
    width: Calc(100% / 2 - 8px);
    cursor: pointer;
}
.area_list .area {
    display: none;
}
.area_list .area.active {
    display: block;
}

@media screen and (max-width:1200px) {
    .main_left_block,
    .main_right_block {
        display: none;
    }
    .sp_scroll_section {
        width: 100%;
    }
}
.floating_cta {
    display: none;
    width: 100%;
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 20;
    padding: 16px 0px;
    background: rgba(0,0,0,0.3);
}
.floating_cta img {
    width: 100%;
}
@media screen and (max-width:900px) {
    .floating_cta {
        display: block;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    .floating_cta.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}