@import url("destyle.css");
@import url("loader.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;800&display=swap');

html {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2em;
    line-height: 2;
    font-size: 15px;
    font-feature-settings: "palt";
    text-size-adjust: 100%;
    text-align: justify;
    text-justify: inter-ideograph;
    position: relative;
}

body {
    background-color: #FFF;
    color: #333;
    transition: all 0.5s;
}

/* ドラッグ・右クリック禁止 */
img {
    pointer-events: none;
}

/* フォント */
.en {
    font-family: "Roboto";
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.1em;
}

.bold {
    font-weight: 800;
}


/* 幅100% */
.w100 {
    width: 100%;
}

/* メディアクエリ */
.sp,
.tb,
.sp-moji {
    display: none;
}

@media screen and (max-width: 920px) {
    .tb {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    .pctb {
        display: none;
    }

    .sp {
        display: block;
    }

    .sp-moji {
        display: inline-block;
    }
}



/* ----------------------メインスライド----------------------- */
.main {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background-color: #FFF;
    position: relative;
    clip-path: inset(0);
}

/* 背景スライド */
.main-slide {
    width: 100%;
    height: 100%;
    height: 100svh;
    position: fixed;
}

::-webkit-full-page-media,
:future,
:root .main-slide {
    position: relative;
}

@media screen and (max-width: 590px) {
    .main-slide {
        position: relative;
    }
}

.slide-wrapper {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.slide-wrapper>div>div>div {
    background-size: auto 100vh;
    background-size: auto 100svh;
    background-position: bottom;
}

/* 背景画像 */
.top-slide-bg1 {
    background-image: url(../images/top-bg1.jpg);
}

.top-slide-bg2 {
    background-image: url(../images/top-bg2.jpg);
}
.top-slide-bg3 {
    background-image: url(../images/top-bg3.jpg);
}



@media (min-aspect-ratio: 12/8) {
    .slide-wrapper>div>div>div {
        background-size: 100vw auto;
    }
}

.main .swiper-slide>div {
    height: 100%;
}

.slide1 {
    width: 100%;
    height: 100%;
}

.slide2 {
    width: 80vw;
    height: calc(100% - 10vw);
}

.slide3 {
    width: 60vw;
    height: calc(100% - 20vw);
}

.slide4 {
    width: 40vw;
    height: calc(100% - 30vw);
}

.slide5 {
    width: 20vw;
    height: calc(100% - 40vw);
}


@media (min-aspect-ratio: 12/8) {
    .slide1 {
        width: 100%;
        height: 100%;
    }

    .slide2 {
        width: calc(100% - 20vh);
        height: 90vh;
        width: calc(100% - 20svh);
        height: 90svh;
    }

    .slide3 {
        width: calc(100% - 40vh);
        height: 80vh;
        width: calc(100% - 40svh);
        height: 80svh;
    }

    .slide4 {
        width: calc(100% - 60vh);
        height: 70vh;
        width: calc(100% - 60svh);
        height: 70svh;
    }

    .slide5 {
        width: calc(100% - 80vh);
        height: 60vh;
        width: calc(100% - 80svh);
        height: 60svh;
    }
}

/* ----------------------トップ（没）----------------------- */
.top {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
    background-color: #FFF;
}

/* 背景スライド */
.top-slide {
    width: 100%;
    height: 100%;
    display: flex;
}

.top-slide>div {
    width: 50%;
}

.swiper-slide {
    overflow: hidden;
}

.top .swiper-slide>div {
    background-size: cover;
    height: 100vh;
}






/* ------------------------タイトル--------------------- */
.title-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-wrapper img {
    width: 40%;
    max-width: 450px;
}

/* カーサロゴ */
.casa-wrapper {
    position: absolute;
    top: 62%;
    width: 100%;
    height: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.casa-wrapper img {
    width: 30%;
    max-width: 300px;
}



/* ------------------------コンセプト--------------------- */
.concept {
    width: 100%;
    padding: 8rem 0 0;
    display: flex;
    justify-content: center;
    background-color: #FFF;
}

.concept-wrapper {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.concept .bold {
    font-size: 2rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 590px) {
    .concept {
        padding: 20vw 0 0;
    }

    .concept .bold {
        font-size: 1.4rem;
    }
}


/* ------------------------サムネ--------------------- */
.thumbnail {
    overflow: hidden;
    padding: 6rem 0 8rem;
    background-color: #FFF;
}

.thumbnail .swiper-wrapper {
    transition-timing-function: linear;
    display: flex;
    align-items: flex-end;
}

.thumbnail .swiper-slide {
    text-align: center;
}

.thumbnail img {
    width: 75%;
    max-width: 400px;
}

@media screen and (max-width: 590px) {
    .thumbnail {
        padding: 10vw 0 20vw;
    }
}




/* ----------------------墓共通----------------------- */
.haka {
    display: flex;
}

.haka>div {
    width: 50%;
}

.haka-container {
    padding: 20vh 0;
    display: flex;
    justify-content: center;
    background-color: #FFF;
    z-index: 10;
}

.haka-wrapper {
    width: 80%;
    max-width: 600px;
}

.haka-wrapper .en {
    font-size: 2rem;
    margin-bottom: -0.7rem;
}

.haka-wrapper .midashi {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

/* 墓斜めの大きいやつ */
.haka-naname {
    width: 66vw;
    max-width: 950px;
    margin-top: 5rem;
}

/* Kai2、斜めが右側のやつ */
.haka-naname-right {
    display: flex;
    justify-content: flex-end;
}


/* 墓の詳細 */
.haka-inner {
    padding-top: 20vh;
}

.haka-inner img {
    width: 100%;
    margin-top: 5rem;
}

.haka-inner .sara {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* スマホ */
@media screen and (max-width: 590px) {
    .haka-container {
        padding: 0 0 20vw;
    }

    .haka>div {
        width: 100%;
    }

    .haka-naname-wrapper {
        padding: 10vw 0;
    }

    .haka-naname {
        width: 100%;
        margin-top: 10vw;
    }

    .haka-inner {
        padding: 10vw 0;
    }

    .haka-inner img {
        margin-top: 10vw;
    }

    .haka-bg-wrapper {
        display: none;
    }
}

.bg-sp {
    width: 100vw;
    height: 66vw;
    margin-left: -10vw;
    position: relative;
    background-size: cover;
    background-position: center;
}

.bg-sp>div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-sp>div>div {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
}

.bg-sp p {
    writing-mode: vertical-rl;
    position: absolute;
    z-index: 10;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 800;
    color: #FFF;
}





/* 背景の表示域 */
.haka-bg-wrapper {
    position: relative;
    clip-path: inset(0);
}

.haka-bg-inner {
    width: 50%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.haka-bg-wrapper p {
    writing-mode: vertical-lr;
    display: block;
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    font-weight: 800;
    color: #FFF;
    position: sticky;
    top: 5vw;
    margin: 5vw 3vw 5vw auto;
}

.haka-l>.haka-bg-wrapper p {
    margin: 5vw auto 5vw 3vw;
}


/* 背景 */
.kai1-bg1 {
    background-image: url(../images/1-7.jpg);
}

.kai1-bg2 {
    background-image: url(../images/1-16.jpg);
}

.kai1-bg3 {
    background-image: url(../images/1-21.jpg);
}

.kai1-bg4 {
    background-image: url(../images/1-8.jpg);
}

.kai2-bg1 {
    background-image: url(../images/2-1.jpg);
}

.kai2-bg2 {
    background-image: url(../images/2-7.jpg);
}

.kai2-bg3 {
    background-image: url(../images/2-13.jpg);
}

.kai2-bg4 {
    background-image: url(../images/2-14.jpg);
}

.kai3-bg1 {
    background-image: url(../images/3-12.jpg);
}

.kai3-bg2 {
    background-image: url(../images/3-8.jpg);
}

.kai3-bg3 {
    background-image: url(../images/3-6.jpg);
}

.kai3-bg4 {
    background-image: url(../images/3-11.jpg);
}

/* スマホのみの背景 */
.kai1-bg-sp{
    background-image: url(../images/top-bg1.jpg);
}
.kai2-bg-sp{
    background-image: url(../images/top-bg2.jpg);
}
.kai3-bg-sp{
    background-image: url(../images/top-bg3.jpg);
}


/*-------------------取扱店----------------------*/
footer {
    width: 100%;
    height: 100vh;
    min-height: 900px;
    /* padding: 10rem 0 2rem; */
    text-align: center;
    background-color: #FFF;
    display: flex;
    align-items: center;
    position: relative;
}

footer>div {
    width: 100%;
    margin-top: -2rem;
}

.shoptext {
    font-size: 36px;
    margin-bottom: 1.2rem;
    line-height: normal;
}

footer .thumbnail {
    padding: 5rem 0;
}

footer .thumbnail img {
    width: 75%;
    max-width: 260px;
}

@media screen and (max-width: 590px) {
    footer {
        min-height: auto;
    }

    .shoptext {
        font-size: 30px;
        letter-spacing: 0.1em;
    }

    footer .thumbnail {
        padding: 10vw 0;
    }
}





.button {
    display: block;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #333;
    color: #FFF;
    padding: 1rem 0;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.5em;
    transition: all 0.5s;
}

@media screen and (max-width: 590px) {
    .button {
        font-size: 15px;
        letter-spacing: 0.3em;
        padding: 0.6rem 0;
    }
}

.button:hover {
    background-color: #ddd;
    color: #333;
}

.button::before,
.button::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}

.button,
.button::before,
.button::after {
    box-sizing: border-box;
    transition: all 0.3s;
}



.copyright {
    width: 100%;
    display: flex;
    justify-content: center;
    /* align-items: flex-end; */
    font-size: 0.7rem;
    line-height: 1.8;
    letter-spacing: 0.05rem;
    position: absolute;
    bottom: 2rem;
}






/*フェードイン効果拡大*/
.move {
    opacity: 0;
    filter: blur(1rem);
    transform: translate(0, 5vh);
    transition: 1s;
}

.moved {
    opacity: 1;
    filter: none;
    transform: translate(0, 0);
}