@charset "utf-8";

.section {
    line-height: 2;
}

/*========= VISUAL ===============*/
.visual {
    background: url(../images/franchisevisual.webp) center / cover;
}

.visual .bgLRextend::before {
    background-color: var(--accent02);
}

.topic,.visual__topic .TextTyping {
    color: var(--font-black);
}

/*****  VISUAL SP *****/
@media screen and (max-width: 768px){
    .visual {
    background: url(../images/franchisevisual_sp.webp) center / cover;
    }

} /* VISUAL SP 768px */

/*========= CONCEPT ===============*/
.concept__topic {
    margin: 0 auto;
    text-align: center;
    line-height: 2.5;
}

.titleImg {
    width: 20%;
}

.concept__topic h3 {
    margin: 2rem auto 0;
    color: var(--accent02);
    font-size: 2rem;
}

.concept__topic h4 {
    margin: 1em auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.concept__topic h4 span {
    font-size: 2rem;
    width: fit-content;
    padding: 0 0.5em;
    line-height: 1.8;
    background: var(--gradient);
    margin: 0.5rem auto 0;
}

.concept__topic p {
    margin: 1em auto 0;
    display: inline-block;
    text-align: left;
}

.concept__list {
    display: flex;
    justify-content: center;
    margin: 4em auto 0;
    gap: 3em;
}

.concept__txt {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--accent02);
    background: var(--gradient);
    width: fit-content;
    padding: 0 .75rem;
}

.concept__img {
    width: 280px;
    height: 280px;
    background: var(--font-white);
    border: 0.5px solid rgba(var(--font-black-rgb), 0.5);
    box-shadow: 0 0 8px rgba(var(--accent02-rgb), 0.2);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.concept__img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.concept__item:nth-child(1) .concept__img::before {
    background: url('../images/img19.webp') center / cover;
}

.concept__item:nth-child(2) .concept__img::before {
    background: url('../images/img01.webp') center / cover;
}

.concept__item:nth-child(3) .concept__img::before {
    background: url('../images/img20.webp') center / cover;
}

.concept__contents p {
    width: 280px;
}

/***** CONCEPT SP *****/
@media screen and (max-width: 1024px){
    .concept__list {
        flex-wrap: wrap;
    }

    .concept__img {
        width: 244px;
        height: 244px;
    }

    .concept__contents p {
        width: 244px;
        font-size: 1.4rem;
    }

    .concept__txt {
        font-size: 1.8rem;
    }

} /* CONCEPT SP 1024px */

@media screen and (max-width: 768px){
    .concept__topic h3 {
        font-size: 1.6rem;
    }

    .concept__topic h4 span {
        font-size: 1.6rem;
    }

    .concept__txt {
        font-size: 1.4rem;
    }

    .concept__contents p {
        width: 280px;
        font-size: 1.2rem;
    }

} /* CONCEPT SP 768px */

@media screen and (max-width: 480px) {
    .titleImg {
        width: 35%;
    }

    .concept__topic h3 {
        font-size: 1.4rem;
    }

    .concept__topic h4 span {
        font-size: 1.2rem;
    }

    .concept__list {
        margin: 2em auto 0;
    }


    .concept__topic p {
        max-width: 91%;
    }
} /* CONCEPT SP 480px */

/*========= SHOP ===============*/
.shop__item {
    margin: 4em 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop__image {
    width: 50%;
}

.shop__contents {
    width: 45%;
}

.shopImg {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(var(--font-white-rgb), 0.1);
}

.shop__name {
    width: fit-content;
    font-size: 2rem;
    line-height: 0.75rem;
    letter-spacing: .15em;
    padding: .75rem;
    background: var(--gradient);
}

.shop__title {
    display: inline-block;
    margin-top: 1em;
    line-height: 1rem;
    letter-spacing: .1em;
    padding: .5rem;
    color: var(--accent02);
    background: rgba(var(--accent02-rgb), 0.1);
}

.shop__text {
    line-height: 2;
    letter-spacing: .1em;
}

.shop__contents .btn {
    margin-top: 2em;
    max-width: 240px;
    height: 56px;
    line-height: 54px;
    font-size: 1.4rem;
}

/***** SHOP SP *****/
@media screen and (max-width: 1024px) {
    .shop__name {
        font-size: 1.4rem;
    }

    .shop__title {
        margin-top: 0.5em;
        font-size: 1.2rem;
    }

    .shop__text {
        font-size: 1.2rem;
    }

    .shop__contents .btn {
        margin-top: 1em;
        max-width: 200px;
        height: 48px;
        line-height: 46px;
        font-size: 1.2rem;
    }

} /* SHOP SP 1024px */

@media screen and (max-width: 768px) {
    .shop__item {
        display: block;
    }
    
    .shop__image {
        margin: 0 auto;
        width: 70%;
    }
    
    .shop__contents {
        margin: 2em auto 0;
        width: 70%;
    }
} /* SHOP SP 768px */

@media screen and (max-width: 480px) {
    .shop__image,
    .shop__contents {
        width: 90%;
    }

    .shop__text {
        letter-spacing: .05em;
    }
} /* SHOP SP 480px */

/*========= btn===============*/
.btn span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent02);
    transform-style: preserve-3d;
    transition: 0.5s;
}

.rotatefront span:nth-child(1) {
    background-color: var(--font-white);
    color: var(--accent02);
    transform: rotateX(0deg);
    transform-origin: 0 50% -25px;
}

/* hover */
.rotatefront:hover span:nth-child(1) {
    transform: rotateX(-90deg);
}

/* 回転後 */
.rotatefront span:nth-child(2) {
    background: var(--accent02);
    color: var(--font-white);
    transform: rotateX(90deg);
    transform-origin: 0 50% -25px;
}

/*========= CONTACT ===============*/
.section--contact .topic {
    color: var(--main-blue); 
    line-height: 1;
}

.section--contact .btn span{
    border: 1px solid var(--main-blue);
}

.section--contact .rotatefront span:nth-child(1) {
    color: var(--main-blue);
}

.section--contact .rotatefront span:nth-child(2) {
    background: var(--main-blue);
}