/* mv */
.plus-service-page {
    margin: 0 auto;
}

.plus-service-page-mv .sp {
    display: none;
}
.plus-service-page-mv {
    margin: 0 auto;
    display: block;
    align-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* eventのmv背景指定 */
.plus-service-page-mv.event {
    background-image: url(../images/event-mv.jpeg);
}

/* cashier-ecのmv背景指定 */
.plus-service-page-mv.ec {
    background-image: url(../images/ec-mv.jpg);
}

/* cashier-orderのmv背景指定 */
.plus-service-page-mv.order {
    background-image: url(../images/order-mv.jpg);
}

/* キャッシュレス決済 */
.plus-service-page-mv.cashless {
    background-image: url(../images/cashless-mv.jpg);
}

.plus-service-page-mv .text-wrapper {
    background-color: rgba(255, 255, 255, 0.933);
    display: inline-block;
    padding: 8rem;
}

.plus-service-page .features .flex-container {
    justify-content: center;
    flex-wrap: wrap;
}

.plus-service-page .features .flex-container .features-box {
    max-width: 26%;
    width: 100%;
}
.plus-service-page-mv .text-wrapper a {
    margin: 0;
}

/* メリット */
.plus-merit-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 auto;
    background-color: #6285FC;
    width: fit-content;
    color: #ffffff;
    padding: 1.6rem 2.4rem;
    border-radius: 10px;
}
.plus-service-page .step {
    font-size: 2.5rem;
    border-bottom: 1px solid #ffffff;
}
.plus-service-page .plus-merit-number .step-number {
    font-size: 6rem;
    line-height: 0;
}
.plus-merit-container.bg-white {
    margin: 8rem 0;
    padding: 8rem 10%;
    background-color: #fff;
}
.plus-merit-container {
    padding: 0 10%;
}
.plus-merit-container h3 {
    margin-top: 3.2rem;
}
.plus-merit-container .plus-merit-img {
    aspect-ratio: 700 / 250;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 5.6rem;
    overflow: hidden;
}
.plus-merit-container .plus-merit-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.plus-merit-container .plus-merit-text{
    line-height: 2.0;
}
.plus-merit-container .plus-merit-text.sp {
    display: none;
}


.plus-merit-container h4:last-of-type {
    margin-top: 4rem;
}


/* ケース */
.plus-case .reason .tab-content img {
    max-height: 450px;
    width: auto;
    box-shadow: none;
}
.puls-case-head-container {
    width: 80%;
    margin: 0 auto;
}
.plus-case-head-wrapper {
    margin: 4rem 0 8rem;
}
.reason .sp-container {
    display: none;
}
.reason .container {
    display: flex;
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
}
.reason .tab-list {
    position: relative;
    flex: 1.5;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.reason .tab-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: #F4F4F2;
    border-radius: 4px;
    z-index: 0;
}
.reason .tab {
    padding: 24px 24px 24px 40px;
    position: relative;
    text-align: left;
    transition: background 0.3s;
    cursor: pointer;
}
.reason .tab h3, .reason .tab h4 {
    font-size: 3.5rem;
    color: #93938E;
}
.reason .tab.active h3,
.reason .tab.active h4 {
    color: #000;
}
.reason .tab.active {
    font-weight: bold;
    color: #000;
}
.reason .tab p {
    margin-top: 32px;
    font-size: 20px;
    color: #555;
    display: none;
}
.reason .tab.active p {
    display: block;
    color: #000;
}

.reason .tab .reason-note {
    margin-top: 0.8rem;
    font-size: 1.6rem;
    color: #555;
    display: none;
}
.reason .tab.active .reason-note {
    display: block;
    color: #000;
}
.reason .bar {
    position: absolute;
    left: 0;
    width: 10px;
    background: #6285FC;
    transition: top 0.3s ease;
    border-radius: 4px;
    height: auto;
}
.reason .tab-content {
    flex: 1;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reason .tab-content img {
    max-width: 100%;
    width: 750px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* UI */

/* UI SWIPER*/
.plus-service-page .plus-service-ui {
    padding: 8rem 0;
}
.rental-service-ui .swiper {
    padding: 4rem 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 .step-value {
    max-width: 100%;
    min-height: auto;
    border-radius: 3rem 3rem 0 0;
    display: flex;
    gap: 1.6rem;
    padding: 0.8rem 0;
    transition: background-color 0.3s;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* アクティブ時の背景をブルーに */
.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 .swiper-slide-active h3 {
    color: #2253E6;
}

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

.ui-bottom .ui-image {
    max-width: 170px;
    width: 90%;
    margin: 0 auto;
}

/* ページネーションとナビボタンを横並びに */
.plus-service-ui .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: 250px;               /* 幅を固定して余白確保 */
    justify-content: space-between; /* 左右に均等配置 */
}

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

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

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

/* キャッシュレス導入ステップの脚注 */
.cashless-page .step-container .note {
    color: #2253E6;
    font-size: 1.6rem;
}
/* キャッシュレスステップのh3 */
.cashless-page .step-container h3 {
    margin: 0;
    margin-bottom: 1.6rem;
}

/* オリジナルサポート */
.plus-service-page .support .support-2 .contact-button {
    margin-top: auto;
}

/* UI Swiper */
@media screen and (max-width: 768px) {

.plus-service-ui .swiper-button-prev,
.plus-service-ui .swiper-button-next {
    display: none;
}
.ui-bottom .ui-image.long-ui {
    max-width: 150px;
}
.ui-bottom .ui-image img {
    border-radius: 20px;
}
.rental-service-ui .swiper {
        padding: 4rem 4rem 8rem;
}
.rental-service-ui .ui-bottom {
    padding: 2.4rem 0;
}
.rental-service-ui h3 {
    font-size: 2.5rem;
}
}



/* MV */
@media screen and (max-width: 768px) {
    .plus-service-page-mv {
         align-content: start;
}
    .plus-service-page-mv .sp {
        display: block;
        width: 100%;
    }
    .plus-service-page-mv.event, .plus-service-page-mv.ec,  .plus-service-page-mv.order, .plus-service-page-mv.cashless{
        background: none;
        height: auto;
    }
    
    .plus-service-page-mv .sp img {
        width: 100%;
        aspect-ratio: 2 / 1;
        display: block;
    }

    .plus-service-page-mv .text-wrapper {
        padding: 0;
        background: none;
    }
    .text-wrapper {
        margin-top: 2.4rem;
    }
    .plus-service-page-mv .text-wrapper a {
        margin-top: 1.6rem;
    }
    }

    /* サポート内容 */
@media screen and (max-width: 1523px) {
.plus-service-page .features .flex-container p {
    font-size: 1.6rem;
}
}
@media screen and (max-width: 1265px) {
.plus-service-page .features .flex-container p {
    font-size: 1.4rem;
}
}
@media screen and (max-width: 1000px) {
.plus-service-page .features .flex-container .features-box {
    max-width: 40%;
}
}
@media screen and (max-width: 768px) {
.plus-service-page .features {
    margin-top: 4rem;
}
.plus-service-page .features .flex-container .features-box  {
        max-width: 90%;
    }
}

    /* 3つのメリット */
@media screen and (max-width: 768px) {
    .plus-merit-container .plus-merit-text.pc {
        display: none;
    }
    .plus-merit-container .plus-merit-text.sp {
        display: block;
    }
    .plus-service-page .step {
        font-size: 1.4rem;
    }
    .plus-service-page .plus-merit-number .step-number {
        font-size: 3rem;
    }
    .plus-merit-container h3 {
        font-size: 2rem;
        margin-top: 1.6rem;
    }
.plus-merit-container.bg-white {
    padding: 4rem 5%;
}
.plus-merit-container {
    padding: 0 5%;
}
    }

/* ケース */
@media screen and (max-width: 768px) {
    .plus-case .reason .sp-inner-img img {
        object-fit: contain;
    }
    .puls-case-head-container {
        width: 90%;
    }
    .plus-case-head-wrapper {
        margin: 4rem 0;
    }
    .plus-case.sp-none {
        display: none;
    }
    .plus-case-head-wrapper .subtitle-blue {
        padding-bottom: 1.6rem;
    }
    }
@media screen and (max-width: 768px) {
.reason .sp-none {
    display: none;
}
.reason .sp-container {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.reason .sp-container h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.reason .sp-inner {
    padding: 40px 0;
    border-bottom: 1px solid #000;
}
.reason .sp-inner:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.reason .sp-inner:first-of-type {
    padding-top: 0;
}
.reason .sp-inner-img {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}
.reason .sp-inner-img img {
    width: 100%;
    border-radius: 30px;
    height: 200px;
    margin: 24px auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.reason .sp-inner p {
}
.reason .sp-inner span {
    font-size: 1.3rem;
    padding-top: 0.8rem;
}
}

/* キャッシュレス導入ステップの脚注 */
@media screen and (max-width: 768px) {
.cashless-page .step-container .note {
    font-size: 1.2rem;
}
}