html {
    background-color: #F6F6F2;
    font-size: calc(100vw*(10/375));
    font-family: "Noto Sans JP", sans-serif;
    color: #121212;
}

@media screen and (min-width: 580px) {
    html { 
        font-size: calc(580px*(10/375));
    }
}

main {
    position: relative;
}

img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.p-main {
    position: relative;
    overflow: hidden;
    max-width: 580px;
    margin: 0 auto;
    height: calc(100vh - 80px);
}

.p-float {
    position: fixed;
    width: 100%;
    max-width: 580px;
    color: #fff;
    display: flex;
    justify-content: center;
    z-index: 99;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
}

.p-float--box {
    display: block;
    width: 50%;
    padding-top: 29px;
    padding-bottom: 9px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Noto Sans JP";
}

.p-float--box.--sp {
    display: none;
}

.p-float--box.--pc span {
    margin-top: 8px;
    display: inline-block;
    font-size: 20px;
}

.p-float--box.--tel {
    background-color: #E26B46;
    position: relative;
    border-bottom: #D45A33 solid 5px;
}

.p-float--box.--tel::before {
    position: absolute;
    content: '';
    background-image: url(../img/btn-tel-icon.webp);
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.p-float--box.--line {
    background-color: #178D80;
    border-bottom: #016E62 solid 5px;
    position: relative;
}

.p-float--box.--line::before {
    position: absolute;
    content: '';
    background-image: url(../img/btn-line-icon.webp);
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.p-main__sidebar--wrapper {
    position: absolute;
    width: 5px;
    background-color: #000;
    opacity: .5;
    border-radius: 100vh;
    right: 2px;
    top: 5px;
    height: calc(100vh - 91px);
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.p-main__sidebar--bar {
    width: 4px;
    position: relative;
    background-color: #fff;
    border-radius: 100vh;
    height: calc(100%*1/8);
}

.p-main__contents {
    position: relative;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
    height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.p-main__contents::-webkit-scrollbar {
    display: none;
}

.p-main__content {
    width: 100%;
    height: calc(100vh - 81px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-main__content--inner {
    aspect-ratio: 375/550;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

.p-main__mv--txt {
    position: absolute;
    bottom: calc(100%*(19.57/550));
    left: 0;
    width: calc(100%*(207/375));
    height: calc(100%*(88.43/550));
    z-index: 10;
}

.p-main__content--bg {
    max-height: 100%;
}

.p-main__content--bg img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.p-main__content--btns {
    position: absolute;
    width: calc(100%*(308/375));
    bottom: calc(100%*(52/550));
    left: 50%;
    transform: translate(-50%, 0);
    aspect-ratio: 308/110;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.p-main__content--btns a span {
    color: #FFF;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.45;
    padding-left: 2.3rem;
    position: relative;
}

.p-main__btn-tel,
.p-main__btn-line {
    display: block;
    aspect-ratio: 308/52;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-main__btn-tel.--sp {
    display: none;
}

.p-main__btn-tel {
    background-color: #F07A54;
    border-radius: .55rem;
    padding-right: calc(100%*(22/308));
    overflow: hidden;
    position: relative;
}

.p-main__btn-tel::after {
    position: absolute;
    content: '';
    width: calc(100%*(22/308));
    height: 100%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../img/ver2-btn-arrow01.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.p-main__btn-teltxt::before {
    position: absolute;
    content: '';
    width: 1.9rem;
    height: 1.9rem;
    top: .5rem;
    left: 0;
    background-image: url(../img/btn-tel-icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.p-main__btn-line {
    background-color: #178D80;
    border-radius: .55rem;
    padding-right: calc(100%*(22/308));
    overflow: hidden;
    position: relative;
}

.p-main__btn-line::after {
    position: absolute;
    content: '';
    width: calc(100%*(22/308));
    height: 100%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../img/ver2-btn-arrow02.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.p-main__btn-linetxt::before {
    position: absolute;
    content: '';
    width: 1.9rem;
    height: 1.9rem;
    top: .5rem;
    left: 0;
    background-image: url(../img/btn-line-icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.p-main__mv--slide {
    position: absolute;
    width: calc(100%*(184/375));
    right: calc(100%*(12/375));
    bottom: calc(100%*(11/550));
    aspect-ratio: 184/240;
    overflow: hidden;
}

.p-main__mv--slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#mv-slide img.active {
    opacity: 1;
}

.p-main__slider--wrapper {
    position: absolute;
    aspect-ratio: 290/371;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: calc(100%*(59/550));
    width: calc(100%*(290/375));
}

.p-main__slider--inner {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.p-main__content--video {
    position: absolute;
    top: calc(100%*(164/550));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100%*(270/375));
}

.p-main__content--video video{
    width: 100%;
}

.p-main__slider--prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: calc(100%*(34/305));
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.25);
    border-radius: 100vh;
}
.p-main__slider--next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    cursor: pointer;
    width: calc(100%*(34/305));
    border-radius: 34px;
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.25);
    border-radius: 100vh;
}

.p-main__slider {
    width: 400%;
    height: 100%;
    overflow: hidden;
    display: flex;
    transition: transform .4s;
}

.p-main__slider li {
    flex-shrink: 0;
    width: 25%;
    height: 100%;
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 580px) {
    .p-main {
        height: calc(100vh - 170px);
    }

    .p-main__sidebar--wrapper {
        height: calc(100vh - 170px - 10px);
    }

    .p-main__content {
        height: calc(100vh - 170px);
    }

    .p-float--box.--sp {
        display: block;
    }
    
    .p-float--box.--pc {
        display: none;
    }

    .p-main__btn-tel.--sp {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .p-main__btn-tel.--pc {
        display: none;
    }

    .p-main__btn-tel.--sp .p-main__btn-teltxt::before {
        position: absolute;
        content: '';
        width: 1.9rem;
        height: 1.9rem;
        top: .5rem;
        left: 0rem;
        background-image: url(../img/btn-tel-icon.webp);
        background-size: contain;
        background-repeat: no-repeat;
    }
}