: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 {
    height: 100%;
}

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

main {
    position: relative;
    background-image: url(assets/background.jpg);
    background-repeat: repeat;
    height: Calc(100vh - 60px);
}
.sp_scroll_section {
    position: fixed;
    top: 60px;
    width: 100%;
    max-width: 480px;
    height: Calc(100vh - 60px);
    right: 20%;
    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: fixed;
    top: 60px;
    width: Calc(100vw - 480px - 20%);
    height: Calc(100vh - 60px);
    min-height: 700px;
    left: 0;
    background-image: url(assets/pc_left_back.png);
    background-size: cover;
    background-position: center;
}
.pc_copy_text {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-height: 44%;
    object-fit: contain;
}
.car_bodys {
    display: flex;
    gap: 0px;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
}
.car_bodys .item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 33%;
    align-items: center;
}
@media screen and (max-width:1050px) {
    .car_bodys {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .car_bodys .item {
        gap: 6px;
    }
}
.car_bodys .item img {
    height: 20px;
    object-fit: contain;
}
.car_bodys .item .body_image {
    position: relative;
    width: 100%;
}
.car_bodys .item .body_image::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.car_bodys .item .body_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .3s;
}
.car_bodys .item .body_image:hover img {
    transition: .3s;
    transform: scale(1.2);
}
.car_bodys .item.roox .body_image img {
    transform: scale(1.2);
}
.car_bodys .item.roox .body_image:hover img {
    transform: scale(1.3);
}
.main_right_block {
    position: fixed;
    top: 60px;
    width: 20%;
    height: Calc(100vh - 60px);
    right: 0;
}
@media screen and (max-width:900px) {
    .sp_scroll_section {
        top: 60px;
        width: 100%;
        max-width: none;
        height: Calc(100vh - 60px);
        right: 0%;
        overflow-y: scroll;
        filter: none;
    }
}
.ancker_buttons {
    position: absolute;
    bottom: 60px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    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: center;
    color: white;
}
.block_wrapper {
    position: relative;
    width: 100%;
}
.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_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: 95%;
    height: auto;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    cursor: grab;
    border-radius: 16px;
    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: 12px;
    padding: 20px 0;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(1.1);
}

.dot.active {
    background: rgba(255,255,255,1);
    transform: scale(1.3);
}
.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 {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
.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;
    }
}