/*bubble*/
.bubble {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    position: relative;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
}
.bubble::before {
    width: 10px;
    height: 10px;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.bubble.right::before {
    right: -9px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bubble.left::before {
    left: -9px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.bubble.purple, .bubble.purple::before {
    background: rgb(126, 79, 120);
}
.bubble.blue, .bubble.blue::before {
    background: rgb(58, 85, 152);
}

/*slider allow*/
.arrow-button-prev, .arrow-button-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index: 2;
}
.arrow-button-prev::before, .arrow-button-next::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px rgb(255, 255, 255);
    border-right: solid 2px rgb(255, 255, 255);
    position: absolute;
    top: 50%;
    left: 50%;
}
.arrow-button-prev {
    left: 5%;
}
.arrow-button-prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
    -webkit-transform: translate(-50%, -50%) rotate(-135deg);
    -ms-transform: translate(-50%, -50%) rotate(-135deg);
}
.arrow-button-next {
    right: 5%;
}
.arrow-button-next::before {
    transform: translate(-50%, -50%) rotate(45deg);
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
}
/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    /*slider allow*/
    .arrow-button-prev, .arrow-button-next {
        width: 70px;
        height: 70px;
    }
    .arrow-button-prev::before, .arrow-button-next::before {
        width: 20px;
        height: 20px;
    }
}

/*--------------------------------------------

first-view

--------------------------------------------*/
#first-view {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding-top: 100px;
    padding-bottom: 100px;
}
#first-view::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: -5px;
    left: 0;
    background: rgb(254, 234, 252);
    z-index: -2;
}
/*first-slider*/
.first-slider {
    width: 100%;
}
.first-slide {
    border-radius: 20px;
    overflow: hidden;
}
.first-slide .pc-only {
    display: none;
}
.first-slider .arrow-button-prev {
    left: 2.5%;
}
.first-slider .arrow-button-next {
    right: 2.5%;
}


/*first-info*/
.first-info {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 20px;
    padding: 20px;
}
.first-info .link-box div span {
    line-height: 1.2em;
    padding: 5px 10px;
}
.first-info .web-link div span {
    padding: 5px 20px;
}
.first-info .line-link div {
    font-size: 130%;
}
.first-info .web-link div {
    max-width: 400px;
    width: 100%;
}

/*first-wave*/
.first-wave {
    width: 100vw;
    width: 100svw;
    height: fit-content;
    margin-left: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100svw - 100%) / 2) * -1);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}
.first-wave path {
    fill: rgb(255, 255, 255);
}

/*--------------------------------------------
min-width 600
--------------------------------------------*/
@media (min-width: 600px) {
    /*first-slider*/
    .first-slide .pc-only {
        display: block;
    }
    .first-slide .sp-only {
        display: none;
    }

    /*first-info*/
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {

}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    #first-view {
        flex-direction: unset;
        flex-wrap: wrap;
        padding: 120px 2.5%;
    }

    /*first-slider*/
    .first-slider {
        width: calc(70% - 15px);
        border-radius: 20px;
        overflow: hidden;
    }
    .first-slider .arrow-button-prev {
        left: 0;
    }
    .first-slider .arrow-button-next {
        right: 0;
    }

    /*first-info*/
    .first-info {
        width: calc(30% - 15px);
    }
    .first-info .tel-link {
        font-size: 200%;
    }
    .first-info .line-link img {
        width: 50px;
    }
    .first-info .line-link div {
        font-size: 110%;
    }
    .first-info .web-link div {
        font-size: 150%;
    }

    /*first-wave*/
    .first-wave {
        bottom: -8vw;
        bottom: -8svw;
    }
}
/*--------------------------------------------
min-width 1400
--------------------------------------------*/
@media (min-width: 1400px) {
    #first-view {
        padding: 120px calc((100% - 1400px) / 2);
    }
    /*first-info*/
    .first-info .tel-link {
        font-size: 250%;
    }
    .first-info .line-link img {
        width: 60px;
    }
    .first-info .line-link div {
        font-size: 150%;
    }
    .first-info .web-link div {
        font-size: 200%;
    }
}

/*--------------------------------------------

category

--------------------------------------------*/
#category {
    padding: 50px 5%;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
#category hgroup h2 {
    font-size: 150%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px 5px;
    padding-bottom: 20px;
    line-height: 1.6em;
}
#category hgroup h2 svg {
    height: 2.5em;
}
#category hgroup h2 svg path {
    fill: rgb(150, 150, 150);
}
#category hgroup p {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 100px;
    line-height: 1.3em;
    position: relative;
    margin: 0 auto;
    margin-bottom: 0.7em;
}
#category hgroup p::before {
    content: "";
    width: 1.25em;
    height: 0.75em;
    background: rgb(240, 240, 240);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    bottom: -0.7em;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
/*category-list*/
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    padding: 50px 20px;
    border-radius: 20px;
}
.category-list a {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    padding-top: 30px;
    border-radius: 10px;
    position: relative;
}
.category-list a h2 {
    line-height: 1.25em;
}
/*number*/
.category-list .number {
    font-size: 150%;
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -0.875em;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
/*check-text*/
.category-list .check-text {
    width: fit-content;
    height: 2em;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 100px;
    padding: 5px;
    padding-left: 15px;
    transition: all 0.3s;
}
.category-list a:hover .check-text {
    transform: scale(1.05);
}
.category-list .check-text svg {
    height: 100%;
    fill: rgb(58, 85, 152);
}
#chiropractic.category-list .check-text svg { fill: rgb(58, 85, 152);}
#gym.category-list .check-text svg { fill: rgb(126, 79, 120);}
#lesson.category-list .check-text svg { fill: rgb(188, 73, 90);}

/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    /*category-list*/
    .category-list a {
        width: calc(100% / 2 - 20px / 2);
    }
}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    #category {
        padding: 100px 5%;
        padding-top: 15px;
    }
    #category hgroup h2 {
        font-size: 200%;
        flex-direction: row;
    }
    #category hgroup h2 svg {
        height: 1.25em;
    }
    /*category-list*/
    .category-list a {
        width: calc(100% / 3 - 40px / 3);
    }
}
/*--------------------------------------------
min-width 1400
--------------------------------------------*/
@media (min-width: 1400px) {
    #category {
        padding: 100px calc((100% - 1400px) / 2);
        padding-top: 15px;
    }
}

/*--------------------------------------------

machine

--------------------------------------------*/
#machine {
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
#machine > h2 {
    font-size: 150%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 5%;
}
#machine > h2 svg {
    height: 1.25em;
}
#machine > h2 svg path {
    fill: rgb(150, 150, 150);
}
#machine hgroup {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 1.5em;
    margin-bottom: 40px;
}
#machine hgroup h3 {
    font-size: 125%;
}
#machine hgroup p {
    width: 4em;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: calc(-4em - 10px);
    bottom: 0;
}
#machine hgroup p::before {
    content: "";
    width: 10px;
    height: 10px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    position: absolute;
    top: 50%;
    left: -9px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
#machine .purple hgroup p::before {
    background: rgb(126, 79, 120);
}
#machine .blue hgroup p::before {
    background: rgb(58, 85, 152);
}
#machine hgroup p strong {
    font-size: 150%;
    display: block;
    padding-bottom: 0.2em;
}

/*machine-readmore*/
.machine-readmore {
    height: fit-content;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}
.machine-readmore.active {
    height: fit-content;
}
.machine-readmore::before {
    content: "";
    width: 100%;
    height: 70px;
    background-image: linear-gradient(transparent, rgb(217, 224, 241));
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s;
    pointer-events: none;
}
.machine-readmore.active::before {
    opacity: 0;
}

.machine-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.machine-img {
    font-size: 110%;
    width: calc(100% / 2 - 30px / 2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.readmore-toggle {
    font-size: 115%;
    font-family: "zen-maru-gothic", sans-serif;
    max-width: 300px;
    width: 60%;
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transition: all 0.3s;
    display: none;
}

/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    /*machine-readmore*/
    .machine-readmore {
        height: fit-content;
    }
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    /*machine-readmore*/
    .machine-img {
        font-size: 125%;
        width: calc(100% / 3 - 30px / 3);
        padding: 50px 30px;
    }
}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    #machine {
        padding: 100px 5%;
    }
    #machine > h2 {
        font-size: 200%;
    }
    #machine hgroup h3 {
        font-size: 150%;
    }
    /*machine-readmore*/
    .machine-readmore {
        height: fit-content;
    }
    .machine-img {
        width: calc(100% / 4 - 90px / 4);
    }
}

/*--------------------------------------------
min-width 1400
--------------------------------------------*/
@media (min-width: 1400px) {
    #machine {
        padding: 100px calc((100% - 1400px) / 2);
    }
}


/*--------------------------------------------

news

--------------------------------------------*/
#news {
    padding: 50px 0;
}
#news > h2 {
    font-size: 150%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 5%;
    padding-bottom: 30px;
}
#news > h2 svg {
    height: 1.25em;
}
#news > h2 svg path {
    fill: rgb(150, 150, 150);
}
/*news-slider*/
.news-slider .swiper-wrapper {
    height: fit-content;
    margin-bottom: 100px;
}
.news-slide {
    padding: 20px 40px;
    border-radius: 20px;
    opacity: 0.6;
}
.news-slide.swiper-slide-active {
    opacity: 1;
}
.news-slide .date {
    color: rgb(150, 150, 150);
    padding-bottom: 10px;
}
.news-slide h3 {
    font-size: 150%;
}
.news-slide p {
    border-top: dotted 2px rgb(150, 150, 150);
    margin-top: 10px;
    padding-top: 10px;
}
/*news-slider allow*/
.news-slider .arrow-button-prev, .news-slider .arrow-button-next {
    top: auto;
    bottom: 0;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
}
.news-slider .arrow-button-prev {
    left: auto;
    right: calc(5% + 70px);
}

/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {

}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    #news {
        padding: 100px 5%;
    }
    #news > h2 {
        font-size: 200%;
        padding: 0;
        padding-bottom: 50px;
    }
    /*news-slider*/
    .news-slide {
        opacity: 1;
    }
    /*news-slider allow*/
    .news-slider .arrow-button-prev {
        right: 90px;
    }
    .news-slider .arrow-button-next {
        right: 0;
    }
}

/*--------------------------------------------
min-width 1400
--------------------------------------------*/
@media (min-width: 1400px) {
    #news {
        padding: 100px calc((100% - 1400px) / 2);
    }
}



/*--------------------------------------------



--------------------------------------------*/


/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {

}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
}

