@charset "utf-8";
/* ===============================
main visual
=============================== */
.main_visual__photo {
    height: 38vh;
}
.main__visual {
    position: relative;
    width: 100%;
    height: 137vw;
    overflow-x: hidden;
    overflow-y: visible;
}

.main__visual::before {
    content: "";
    background: url(../img/sp/mv_terashimaru_sp.png);
    position: absolute;
    height: 88%;
    inset: 0;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}
.main__visual::after {
    content: "";
    background: url(../img/sp/saboten_back_sp.png);
    position: absolute;
    inset: 0;
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 0;
}
.main_visual__img {
    position: absolute;
    top: 0;
    left: 5%;
    width: 60%;
    height: 113vw;
    z-index: 5;
}
.main_photo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 6 / 15.3;
    object-fit: cover;
    object-position: top right;
}
.front {
    position: absolute;
    bottom: 0;
    z-index: 10;
    transform: translateY(38%);
    width: 100%;
}
.mv__text {
    position: absolute;
    bottom: 0%;
    padding: 0 calc((100vw / 375) * 26);
    color: #FFFFFF;
    z-index: 15;
    text-shadow: 1px 1px 8px #4F342C;
}
.title__white {
    font-size: 3.2rem;
    font-weight: bold;
    padding-bottom: 16px;
}
.main_text_bold {
    font-weight: bold;
}
.main__sub_text {
    padding-bottom: 12px;
}
.main_text {
    font-size: 1.4rem;
    position: relative;
    z-index: 15;
    line-height: 2;
}
.front_sp {
    display: block;
    width: 120%;
    bottom: 0%;
    left: -20%;
}
/* main visual 写真スライド */
.main_photo_slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
}
.main_photo {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 6 / 15.3;
    object-fit: cover;
    object-position: top right;
    opacity: 0;
    /* 修正 */
    transform: rotate(25deg);
    /* 修正 */
    transform-origin: center 200%;
    /* 修正 */
    animation: mainPhotoSlide 30s ease-in-out infinite;
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.main_photo:nth-child(2) {
    /* 修正 */
    animation-delay: 6s;
}
.main_photo:nth-child(3) {
    /* 修正 */
    animation-delay: 12s;
}
.main_photo:nth-child(4) {
    /* 修正 */
    animation-delay: 18s;
}
.main_photo:nth-child(5) {
    /* 修正 */
    animation-delay: 24s;
}
/* 修正 */
@keyframes mainPhotoSlide {
    0% {
        opacity: 0;
        transform: rotate(25deg);
    }
    5% {
        opacity: 1;
        transform: rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: rotate(0deg);
    }
    20% {
        opacity: 0;
        transform: rotate(-25deg);
    }
    100% {
        opacity: 0;
        transform: rotate(-25deg);
    }
}
/* main visual pc */
@media screen and (min-width: 769px) {
    .main__visual {
        height: auto;
        aspect-ratio: 1441 / 1384;
    }
    .main__visual::before {
        content: "";
        background: url(../img/pc/mv_terashimaru_pc.png);
        position: absolute;
        height: 83%;
        inset: 0;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 0;
    }
    .main__visual::after {
        content: "";
        background: url(../img/pc/mv_saboten_back_pc.png);
        position: absolute;
        inset: 0;
        background-size: 100% auto;
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        z-index: 0;
    }
    .main_visual__img {
        height: 75vw;
    }
    .front_pc {
        display: block;
        width: 120%;
        bottom: 0%;
        left: -20%;
    }
    .main__visual__img {
        position: absolute;
        width: 38%;
        height: 70%;
        top: 0;
        left: 5%;
        width: 60%;
        height: 75vw;
        z-index: 1;
    }
    .mv__text {
        bottom: 30%;
    }
    .title__white {
        font-size: 4rem;
    }
    .main_text {
        font-size: 2rem;
    }
    .main__sub_text {
        padding-bottom: 30px;
    }
}
/* main visual pc（ここまで） */
/* ===============================
introduction
=============================== */
.introduction {
    position: relative;
}

.introduction__text {
    text-align: center;
    padding: 265px 0 160px;
}

.introduction::before {
    content: "";
    position: absolute;
    background-image: url(../img/common/introduction_bubble2.png);
    height: 100%;
    width: 100px;
    top: 160px;
    left: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}

.introduction::after {
    content: "";
    position: absolute;
    background-image: url(../img/common/introduction_bubble1.png);
    height: 100%;
    width: 90px;
    top: 130px;
    right: 30px;
    background-repeat: no-repeat;
    background-size: contain;
}

.introduction__deco {
    position: relative;
    height: 200px;
}

.introduction__deco::before {
    content: "";
    position: absolute;
    background-image: url(../img/common/introduction_bubble4.png);
    height: 100%;
    width: 90px;
    bottom: 150px;
    left: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}

.introduction__deco::after {
    content: "";
    position: absolute;
    background-image: url(../img/common/introduction_bubble3.png);
    height: 100%;
    width: 100px;
    bottom: 115px;
    right: 25px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* introduction pc */
@media screen and (min-width: 769px) {
    .introduction::before {
    width: 150px;
    top: 160px;
    left: 15px;
}

.introduction::after {
    width: 130px;
    top: 110px;
    right: 50px;
}

.introduction__deco::before {
    width: 130px;
    bottom: 160px;
    left: 55px;
}

.introduction__deco::after {
    width: 150px;
    bottom: 95px;
    right: 90px;
}
}

@media screen and (min-width: 1100px) {
    .introduction::before {
    width: 200px;
    top: 200px;
    left: 110px;
}

.introduction::after {
    width: 180px;
    top: 200px;
    right: 135px;
}

.introduction__deco::before {
    width: 180px;
    bottom: 80px;
    left: 50px;
}

.introduction__deco::after {
    width: 200px;
    bottom: 95px;
    right: 50px;
}
}


/* introduction pc（ここまで） */
/* ===============================
about
=============================== */
.about__title {
    text-align: center;
}
.about__concept {
    text-align: center;
    margin-bottom: 90px;
}
.concept__text {
    margin-bottom: 60px;
}
/* about pc */
@media screen and (min-width: 769px) {
}
/* about pc（ここまで） */
/* ===============================
styling
=============================== */
.styling {
    background-image: url(../img/sp/styling_background.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 30vw;
    padding-bottom: 90vw;
    position: relative;
}
.styling__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.styling__img {
    margin-bottom: 5px;
}

.list__explanation {
    background-color: #FFFFFF;
    border-radius: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}
.styling::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    width: 280px;
    height: 100%;
    background-image: url(../img/common/haircut_anime.gif);
    background-size: contain;
    transform: scaleX(-1);
}

.reservationBtn__styling {
    margin-top: 30px;
}

/* styling pc */
@media screen and (min-width: 769px) {
        .reservationBtn.reservationBtn__styling {
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 100%;
    }
}


@media screen and (min-width: 849px) {
    .styling {
        background-image: url(../img/pc/background_styling_pc.png);
        padding-top: 250px;
        padding-bottom: 500px;
    }
    .styling__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        min-width: 250px;
    }
    .list__explanation {
        border-radius: 62px;
        min-height: 73px;
    }

    .styling__item {
        max-width: 550px;
    }

    .styling__img {
        display: block;
        width: 100%;
        transition: transform 0.5s ease;
    }

    .styling__img:hover {
    transform: scale(1.1);
    }

    .styling::after {
    width: 400px;
}
}
/* styling pc（ここまで） */
/* ===============================
activity
=============================== */
.activity {
    margin-top: 100px;
}

.activity__title {
    padding-bottom: 75px;
}
/* スマホ風デザイン */
.activity__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* align-items: stretch; */
}
.list {
    background-color: #FFFFFF;
    padding: 56px 30px 30px;
    margin-bottom: 10px;
    border-radius: 36px;
    border: 1px solid rgb(79, 52, 44, 0.5);
    box-shadow: 0 0 3px;
    width: 312px;
    display: flex;
    flex-direction: column;
}
.icon {
    width: 25px;
    height: auto;
}
.insta_img {
    display: block;
    margin: 0 auto;
    width: 100%;
}
.iconSet {
    display: block;
}
.insta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}
.list__nail {
    position: relative;
}
.list__nail::before {
    content: "";
    background: url(../img/common/kogitune.png);
    position: absolute;
    width: 106px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    top: -80px;
    left: 20px;
    animation: katakata 0.75s infinite alternate;
}

@keyframes katakata {
    0% {
        transform: translateX(-5px) rotate(-3deg);
    }

    100% {
        transform: translateX(5px) rotate(3deg);
    }
}

/* activity pc */
@media screen and (min-width: 1080px) {
    .activity__list {
        gap: 60px;
        flex-direction: row;
        justify-content: center;
    }
    .list {
        display: flex;
        align-items: stretch;
        min-height: 590px;
    }

    .insta_img {
        min-width: 252px;
    }

}
/* activity pc（ここまで） */
/* ===============================
access
=============================== */
.access {
    padding-bottom: 59vw;
    background-image: url(../img/sp/access_background.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 40vw;
}
.building {
    width: 100%;
}
.address__title {
    font-size: 2.4rem;
}
.access__address {
    padding: 20px 0;
}
.address__text {
    padding-bottom: 20px;
}
.map {
    width: 100%;
    aspect-ratio: 323 / 415;
    border-radius: 50px;
    overflow: hidden;
}
.map iframe {
    width: 100%;
    height: 100%;
}
.transportation {
    background-color: #FFFFFF;
    border-radius: 30px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.8;
    padding: 20px;
}
.way {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.way__text {
    margin-top: 15px;
}

.access__way {
    display: grid;
}
.transportation__img {
    text-align: center;
    margin: 0 auto;
}
.transportation:first-of-type {
    margin-top: 20px;
}

.car {
    width: 100px;
    height: auto;
}
.train {
    width: 65px;
    height: auto;
}
.bicycle {
    width: 90px;
    height: auto;
}
.walk {
    width: 50px;
    height: auto;
}
.maigo {
    width: 130px;
    height: auto;
}
/* access pc */
@media screen and (min-width: 769px) {
    .access {
        padding-top: 250px;
        padding-bottom: 300px;
        background-image: url(../img/pc/background_access_pc.png);
    }
    .access__addressPC {
        display: flex;
        padding-bottom: 40px;
        gap: 50px;
        align-items: flex-start;
    }
    .building {
        width: 50%;
        flex-shrink: 0;
        /* flex-direction: column; */
        max-width: 623px;
    }
    .map {
        aspect-ratio: 1240 / 1440;
        height: 415px;
        margin-bottom: 40px;
    }
    .transportation:first-of-type {
        margin-top: 0;
    }
    .access__way {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
        max-width: 900px;
        margin: 0 auto;
    }
    .transportation {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
        gap: 30px;
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
}
/* access pc（ここまで） */

/* footer */
.footer__index_deco1 {
    position: relative;
    height: 300px;
}
.footer__index_deco1::before {
    content: "";
    background-image: url(../img/common/cleaning_gohst_wood.png);
    position: absolute;
    width: 160px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 20;
    top: 130px;
    right: 80px;
}

@media screen and (min-width: 769px){
    .footer__index_deco1::before {
    width: 250px;
    top: -70px;
    right: 210px;
    }
}

@media screen and (min-width: 1100px){
    .footer__index_deco1::before {
    top: -30px;
    right: 300px;
    }
}