.rental-service-mv {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 上下中央揃え */
    align-items: center;     /* 左右中央揃え（必要に応じて） */
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(to top, #F8FAFF 0%, #F8FAFF 60%, #ffffff 100%);
    overflow: hidden;
}

/* ▼ グラデーションの背景エリア（後方に配置） */
.blue-gradation-bg {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: url('images/A6800UA.png') no-repeat center bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

/* 機器画像sp用 */
.device-img-sp {
    display: none;
}

/* 機器画像左側（PC) */
.device-img-pc-left {
    position: absolute;
    bottom: 10%;
    left: 0;
    padding-left: 5%;
    z-index: 0;
}

.device-img-pc-left img {
    max-width: 400px;
    width: 100%;
    height: auto;
    opacity: 0.5;
}

/* 機器画像右側（PC) */
.device-img-pc-right {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: 5%;
    padding-bottom: 3%;
    z-index: 0;
}
.device-img-pc-right img {
    max-width: 400px;
    width: 100%;
    height: auto;
    opacity: 0.5;
}


.rental-service .features h3 {
    font-size: 2vw;
}

.rental-service {
    display: block;  /* ヘッダーに不具合でる */
}


/* 基本機能 */
.rental-service .label p:first-child, .rental-service
.label p:not(:first-child) {
    flex: initial;
}

.rental-service .basic-info {
    width: 80%;
    margin: 12rem auto 16rem;
    padding: 8rem 0;
    border-radius: 30px;
    text-align: center;
}

.rental-service .basic-info .heading-wrapper {
    margin-bottom: 4rem;
}

.rental-service .basic-info .label {
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 2.4rem 2%; /* 各要素の間隔 */
}

.rental-service .basic-info .label p {
    background-color: #E6E6E6;
    padding: 0.8rem 0;
    width: 18%;
    border-radius: 100px;
    font-size: 1.4rem;
    color: #000;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rental-service .basic-info .note {
    display: inline-block;
    width: 89%;
    font-size: 1.8rem;
    margin-top: 2.4rem;
    text-align: left;
    text-indent: -1em;       /* 1行目を左に出す */
    padding-left: 1em;   
}

/*機種*/
.rental-service .devices-list-inner {
    width: 80%;
}

/* UI SWIPER*/
.rental-service-ui .swiper {
    padding: 0 8rem 8rem;
    position: relative;
    overflow: hidden;
    
}
.rental-service-ui .swiper-wrapper {
    height: auto;
}

.rental-service-ui .swiper-slide {
    border-radius: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.rental-service-ui .swiper-slide-active {
  transform: none;
}

.rental-service-ui .swiper-slide .step-value {
    max-width: 100%;
    min-height: auto;
    border-radius: 3rem 3rem 0 0;
    display: flex;
    gap: 1.6rem;
    padding: 0.8rem 0;
    background-color: #6285fc;
    transition: background-color 0.3s;
    align-items: center;
    justify-content: center;
}

/* アクティブ時の背景をブルーに */
.rental-service-ui .swiper-slide.swiper-slide-active .step-value {
    background-color: #6285fc;
}

.rental-service-ui .ui-top {
    width: 100%;
    border-radius: 3rem 3rem 0 0;
}

/* Step＋数字 */
.rental-service-ui .step-value .step {
    font-size: 2rem;
}
.rental-service-ui .step-number {
    font-size: 3rem;
}

.rental-service-ui h3 {
    font-size: 3rem;
    margin-bottom: 2.4rem;
}


.rental-service-ui .ui-bottom {
    padding: 4rem 0;
    background-color: #ffffff;
    border-radius: 0 0 3rem 3rem;
}

.ui-bottom .ui-image {
    max-width: 350px;
    width: 80%;
    margin: 0 auto;
}
.ui-bottom .ui-image.kenbaiki {
    max-width: 170px;
    width: 90%;
    margin: 0 auto;
}
.ui-bottom .ui-image img {
    border: 7px solid #000000;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 0 auto;
}

/* ページネーションとナビボタンを横並びに */
.rental-service .swiper-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    margin-top: 8rem;
    width: 360px;               /* 幅を固定して余白確保 */
    justify-content: space-between; /* 左右に均等配置 */
}

.rental-service .swiper-pagination {
    position: static; /* 元の絶対位置指定を解除 */
    width: 3rem;
    text-align: center;
    flex-grow: 1; /* ページネーションを中央に広げる */
    }

.rental-service .swiper-button-prev,
.rental-service .swiper-button-next {
    color: #6285fc;
    cursor: pointer;
    flex-shrink: 0; /* ボタンの縮小を防止 */
}
.rental-service .swiper-button-next:after, .rental-service .swiper-button-prev:after {
    font-size: 3rem;
    font-weight: 700;
}

.rental-service-ui .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:last-child {
    margin-right: 0;
}

/*MV*/
@media (max-width: 1373px) {
    .device-img-pc-right{
        max-width: 250px;
    }
}

@media (max-width: 1300px) {
.device-img-pc-left{
    width: 250px;
}
}

@media (max-width: 900px) {
.device-img-pc-left{
    width: 200px;
}
}

@media (max-width: 768px) {
.rental-service-mv span {
    display: none;
}
.device-img-pc-left {
    display: none;
}
.device-img-pc-right {
    display: none;
}
.device-img-sp {
    display: block;
}
.device-img-sp {
    max-width: 150px;
    margin: 0 auto;
}
.device-img-sp.long {
    max-width: 100px;
}

.device-img-sp img {
    width: 100%;
    height: auto;
    margin-bottom: 2.4rem;
}
.rental-service-mv .contact-button {
    margin: 0 auto 2.4rem;
}
.rental-service .features h3 {
    font-size: 5vw;
}
}

/* 基本機能 */
@media screen and (max-width: 1120px) {
.rental-service .basic-info .label p {
    width: 23%;
}
}

@media screen and (max-width: 900px) {
.rental-service .basic-info .label {
    max-width: 90%;
}
.rental-service .basic-info .label p {
    width: 48%;
    font-size: 1.2rem;
    padding: 0.8rem 0;
}
.rental-service .basic-info .note {
    font-size: 1.2rem;
}
}

@media (max-width: 768px) {
.rental-service .basic-info {
    margin: 8rem auto;
    padding: 4rem 0;
    width: 90%;
}
.rental-service-ui .swiper-button-prev,
.rental-service-ui .swiper-button-next {
    display: none;
}
}

/* UI Swiper */
@media screen and (max-width: 768px) {
    .rental-service-ui .swiper {
        padding: 0 4rem 8rem;
}
.ui-bottom .ui-image.long-ui {
    max-width: 150px;
}
.ui-bottom .ui-image img {
    border-radius: 20px;
}
.rental-service-ui .ui-bottom {
    padding: 2.4rem 0;
}
.rental-service-ui h3 {
    font-size: 2.5rem;
}
}

@media screen and (max-width: 768px) {
.rental-service .devices-list-inner {
    width: 90%;
}
}