.swiper.main-visual-swiper {
    height: 100vh;
    position: relative;
}

@media (max-width: 820px) {
    .swiper.main-visual-swiper {
        height: 88vh;
    }
}

.swiper-one-point {
    z-index: 10;
    position: absolute;
    top: 10rem;
    right: 10rem;
    width: 11rem;
    height: auto;
    text-align: center;
}

@media (max-width: 820px) {
    .swiper-one-point {
        top: 5rem;
        right: 1rem;
        width: 7em;
    }
}

.swiper-one-point p {
    font-weight: 700;
    color: #000;
    text-shadow:
        -0.5px -0.5px 0 #fff,
        0 -0.5px 0 #fff,
        0.5px -0.5px 0 #fff,
        -0.5px 0 0 #fff,
        0.5px 0 0 #fff,
        -0.5px 0.5px 0 #fff,
        0 0.5px 0 #fff,
        0.5px 0.5px 0 #fff;
}

@media (max-width: 820px) {
    .swiper-one-point p {
        font-size: 0.6rem;
    }
}

.swiper-slide {
    overflow: hidden;
    position: relative;
    /* ← テキストの絶対配置用にも */
}

.swiper-img {
    width: 100%;
    height: 100%;
    position: absolute;
    /* 必要なら */
    top: 0;
    left: 0;
    overflow: hidden;
}

.swiper-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    display: block;
    /* 画像下余白対策 */
}

.swiper-text {
    color: #fff;
    left: 3%;
    position: absolute;
    text-shadow: 1px 1px 2px #333;
    bottom: 10%;
    width: 80%;
}

@media (max-width: 820px) {
    .swiper-text {
        width: 100%;

    }

}


.swiper-title {
    font-size: clamp(3rem, 3vw, 50px);
    font-weight: 700;
}

.swiper-desc {
    background: rgba(0, 0, 0, 0.6);
    /* 白・70%不透明（30%透過） */
    color: #fff;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 30px);
    line-height: 1.5;
    padding: 0.2em 0.2em;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    display: inline-block;
}

/* ベース */
.swiper-text h2 {
    font-size: 2.6rem;
    display: inline-block;
    margin-bottom: 0;
    color: #fff;
    text-shadow:
        -0.5px -0.5px 0 #000,
        0 -0.5px 0 #000,
        0.5px -0.5px 0 #000,
        -0.5px 0 0 #000,
        0.5px 0 0 #000,
        -0.5px 0.5px 0 #000,
        0 0.5px 0 #000,
        0.5px 0.5px 0 #000;
    -webkit-text-stroke: 0 transparent;
}


@media (max-width: 820px) {
    .swiper-text h2 {
        font-size: 1.6rem;
    }
}


/* 画像の拡大アニメーション */
.swiper-img img {
    transition: transform 3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.swiper-slide-active .swiper-img img {
    transform: scale(1.05);
    /* お好みで */
}

/* ───── お客様の声スライダー ───── */
.swiper-postListWrap .p-postList {
    flex-wrap: nowrap;
    margin: 0;
}

.swiper-postListWrap .-type-card .p-postList__item,
.swiper-postListWrap .-type-thumb .p-postList__item {
    padding: 0;
}

.swiper-postListWrap {
    position: relative;
    text-align: center;
}

/* カバーフロー投稿スライダー用ナビゲーションボタン */
.post-button-prev,
.post-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.post-button-prev:hover,
.post-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 左右の位置 */
.post-button-prev {
    left: 10px;
}

.post-button-next {
    right: 10px;
}

/* 矢印マーク（シンプルな三角） */
.post-button-prev::before,
.post-button-next::before {
    content: '';
    display: inline-block;
    border: solid white;
    border-width: 0 3px 3px 0;
    padding: 6px;
}

/* ← 向き */
.post-button-prev::before {
    transform: rotate(135deg);
}

/* → 向き */
.post-button-next::before {
    transform: rotate(-45deg);
}