section{
    padding: 100px 5%;
}
section h2{
    letter-spacing: 0.2em;
    line-height: 1.7em;
    font-weight: 400;
    font-size: 1.5rem;
}
section h2 span{
    display: block;
}
/*bubble*/
.bubble{
    position: relative;
    display: inline-block;
    padding: 9px 14px;
    border-radius: 19px;
    overflow-wrap: break-word;
    clear: both;
    box-sizing: content-box;
    background: rgb(211, 230, 236);
    color: rgb(0, 0, 0);
    letter-spacing: 0.1em;
}
.bubble::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 36px;
    top: -21px;
    box-shadow: -3px -15px 0 -5px rgb(211, 230, 236) inset;
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    section h2{
        font-size: 2.2rem;
    }
    section h2 span{
        display: inline-block;
    }
}
/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    section{
        padding: 5% calc((100% - 1080px) / 2);
    }
}

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

firstview

--------------------------------------------*/
#firstview{
    background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 1) 100%),
    url(../images/pilates/first_view.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60% bottom;
    width: 100vw;
    width: 100lvw;
    height: 100vh;
    height: 100svh;
    position: relative;
}
#firstview h1 {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    font-size: 7vw;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.6em;
    width: 95%;
    padding: 0 5%;
}
#firstview h1::before {
    content: "";
    background: linear-gradient(90deg, rgba(217, 243, 254, 0.8), rgba(217, 248, 234, 0.8), rgba(255, 255, 224, 0.6));
    width: 90%;
    height: 100px;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: skewY(-0.025turn);
    z-index: -1;
    position: absolute;
    left: 0;
    bottom: 0;
}
.firstview-top {
    position: absolute;
    left: 5%;
    top: 30%;
    text-shadow: 0px 0px 5px rgb(255, 255, 255);
}
.firstview-bottom {
    position: absolute;
    right: 5%;
    bottom: 30%;
    text-shadow: 0px 0px 5px rgb(255, 255, 255);
}
#firstview h2 {
    font-size: 2rem;
    font-weight: 800;
}
#firstview hgroup p {
    font-size: 1rem;
}
#firstview .title-menu{
    position: absolute;
    bottom: 5%;
    left: 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#firstview .title-menu p{
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    width: fit-content;
    letter-spacing: 0.1em;
}
#firstview .title-menu ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#firstview .title-menu ul li a{
    color: rgb(0, 0, 0);
    position: relative;
    padding-left: 20px;
}
#firstview .title-menu ul li a::before{
    content: "";
    background: rgb(0, 0, 0);
    height: 1px;
    width: 15px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    #firstview{
        background-position: 60%;
    }
    #firstview h1 {
        font-size: 3rem;
        width: fit-content;
    }
    #firstview h1::before {
        width: 95%;
    }
    #firstview .title-menu{
        gap: 40px;
    }
    #firstview .title-menu ul{
        gap: 20px;
    }
}
/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    #firstview{
        background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%),
        url(../images/pilates/first_view_pc.webp);
    }
    #firstview h1 {
        font-size: 4rem;
    }
    #firstview h1::before {
        height: 150px;
    }
}
/*--------------------------------------------
min-width 1500
--------------------------------------------*/
@media (min-width: 1500px) {
    #firstview h1 {
        left: 20%;
        padding: 0 2.5%;
    }
    .firstview-top {
        left: 20%;
        top: 15%;
    }
    .firstview-bottom {
        right: 20%;
        bottom: 15%;
    }
    #firstview h2 {
        font-size: 2.5rem;
    }
    #firstview hgroup p {
        font-size: 1.2rem;
    }
    #firstview .title-menu{
        left: 20%;
        bottom: 10%;
    }
}

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

secondview

--------------------------------------------*/
#secondview{
    padding: 100px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
#secondview h2 {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    font-size: 5vw;
}
#secondview h2::before {
    content: "";
    background: rgb(0, 0, 0);
    width: 40px;
    height: 1px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#secondview ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2rem;
}
#secondview ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    letter-spacing: 0.1em;
}

.secondview-top, .secondview-bottom {
    width: 90%;
    display: flex;
    gap: 20px;
}
.secondview-top {
    flex-direction: column;
}
.secondview-bottom {
    flex-direction: column-reverse;
}
.secondview-bottom h3 {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    font-size: 4vw;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    font-weight: 500;
}
.secondview-bottom p {
    width: fit-content;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 2em;
}

/*scroll-item*/
#secondview .scroll-item {
    width: 90%;
    height: fit-content;
    position: relative;
    display: flex;
    align-items: center;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
#secondview .scroll-item span {
    display: inline-block;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 13px;
    padding: 10px 10px 110px;
    color: rgb(0, 0, 0);
    font-size: 14px;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
    margin: auto;
    line-height: 1em;
}
#secondview .scroll-item span:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: rgb(240, 240, 240);
}
#secondview .scroll-item span:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: rgb(0, 0, 0);
}
#secondview .scroll-item span:after {
    animation: scrollItem 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
#secondview .scroll-item span:hover {
    opacity: .5;
}
@keyframes scrollItem {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}
/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    #secondview h2 {
        font-size: 1.5rem;
    }
    .secondview-bottom h3 {
        font-size: 1.2rem;
    }
}
/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    #secondview .scroll-item{
        width: 100%;
    }
    .secondview-bottom h3 {
        font-size: 2rem;
    }
    .secondview-bottom p {
        font-size: 1.5rem;
    }
}
/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {

}
/*--------------------------------------------
min-width 1200
--------------------------------------------*/
@media (min-width: 1200px) {
    #secondview {
        padding: 5% calc((100% - 1200px) / 2);
    }
    .secondview-top, .secondview-bottom {
        width: calc(50% - 35px);
    }
    .secondview-bottom h3 {
        font-size: 1.6rem;
    }
    .secondview-bottom p {
        font-size: 1.3rem;
    }
}


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

effect

--------------------------------------------*/
#effect {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 70px;
    padding: 100px 0 0 0;
}
.effect-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.effect-top hgroup {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    padding: 0 5%;
}
.effect-top hgroup::before {
    content: "";
    background: linear-gradient(90deg, rgb(217, 243, 254), rgb(217, 248, 234), rgb(255, 255, 224));
    width: 90%;
    height: 100px;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: skewY(-0.025turn);
    z-index: -1;
    position: absolute;
    left: 0;
    bottom: 0;
}
.effect-top hgroup p {
    font-size: 1rem;
}

.effect-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
}
.effect-content div {
    width: 100%;
    margin: 0 auto;
}
.effect-content h3 {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 500;
    font-size: 4vw;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
.effect-content img {
    width: 50%;
}
.effect-content ul {
    width: 100%;
    margin: 0 auto;
    background-image: url(/homepage/images/pilates/effect_bubble.webp);
    background-size: 60%;
    background-position: -30%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    padding: 30px 0;
}
.effect-content ul li {
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border-radius: 100px;
    position: relative;
    width: 65%;
    text-align: center;
    padding: 5px;
    margin-right: 5%;
}
.effect-content ul li::before{
    content: "";
    position: absolute;
    width: 20px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    background: rgb(0, 0, 0);
    left: -14px;
    top: 9px;
}


.effect-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding-bottom: 40px;
}
.effect-bottom::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(90deg, rgb(217, 243, 254), rgb(217, 248, 234), rgb(255, 255, 224));
    z-index: -1;
}
.effect-bottom h3 {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0 5%;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
}
.effect-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 5%;
}
.effect-image li {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.effect-image li small {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border-radius: 100px;
    padding: 5px;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.effect-image li small::before {
    content: "";
    background: rgb(0, 0, 0);
    height: 10px;
    width: 15px;
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.effect-image li span {
    width: 100%;
    aspect-ratio: 3 / 4;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-shadow: 2px 2px 2px rgb(50, 50, 50);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    background-position: center;
    text-align: center;
}
.effect-image li.effect-1 span {background-image: url(/homepage/images/pilates/effect_1.webp);}
.effect-image li.effect-2 span {background-image: url(/homepage/images/pilates/effect_2.webp);}
.effect-image li.effect-3 span {background-image: url(/homepage/images/pilates/effect_3.webp);}
.effect-image li.effect-4 span {background-image: url(/homepage/images/pilates/effect_4.webp);}

/*--------------------------------------------
min-width 650
--------------------------------------------*/
@media (min-width: 650px) {
    .effect-content h3 {
        font-size: 1.2rem;
    }
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    .effect-content {
        align-items: center;
        padding: 0 5%;
    }
    .effect-content h3 {
        margin-bottom: -50px;
    }
    .effect-content ul {
        background: none;
        width: 50%;
    }
    .effect-content ul li {
        width: 100%;
    }
}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    .effect-top {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: 0 auto;
    }
    .effect-top hgroup {
        padding: 0;
    }
    .effect-content {
        padding: 0;
        width: 50%;
    }

    .effect-image {
        width: 100%;
    }
    .effect-image li {
        width: calc(25% - 15px);
        margin: 0;
    }
}

/*--------------------------------------------
min-width 1200
--------------------------------------------*/
@media (min-width: 1200px) {
    .effect-top ,.effect-bottom {
        padding: 5% calc((100% - 1200px) / 2);
    }
}


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

popularity

--------------------------------------------*/
#popularity {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 0;
}
.popularity-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popularity-top h2 {
    font-size: 1.2rem;
}
.popularity-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    line-height: 1.8em;
}
.popularity-text figure {
    margin: 0 2.5%;
}
.popularity-text img {
    width: 100%;
}

.popularity-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popularity-bottom dl {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popularity-bottom dl dt {
    width: fit-content;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 1rem;
}
.popularity-bottom dl dd {
    font-size: 1.5rem;
    line-height: 2em;
    letter-spacing: 0.1em;
}
.popularity-bottom dl dd span {
    display: block;
}
.popularity-bottom p {
    line-height: 1.8em;
}

/*--------------------------------------------
min-width 600
--------------------------------------------*/
@media (min-width: 600px) {
    .popularity-text img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    .popularity-text {
        background-image: url(/homepage/images/pilates/popularity.webp);
        background-repeat: no-repeat;
        background-size: 40%;
        background-position: right;
    }
    .popularity-text p {
        width: 55%;
    }
    .popularity-bottom dl dd span {
        display: inline;
    }
}

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

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


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

reason

--------------------------------------------*/
#reason {
    padding-bottom: 0;
}
.reason-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reason-content hgroup {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.reason-content h2 {
    background: rgb(216, 242, 253);
    position: relative;
    padding: 10px 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
    border-radius: 200px;
    font-size: 1.2rem;
    text-align: center;
}
.reason-content h2::before {
    content: "";
    clip-path: polygon(0 0, 100% 0, 0 100%);
    width: 20px;
    height: 20px;
    background: rgb(216, 242, 253);
    position: absolute;
    bottom: -19px;
    left: 20%;
}
.reason-content hgroup p {
    width: fit-content;
    margin: 0 auto;
    font-size: 3.5vw;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
.reason-image {
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    background-image: url(/homepage/images/pilates/reason_image.webp);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 9 / 6;
}
.reason-image li {
    font-weight: 700;
    font-size: 3.5vw;
    white-space: nowrap;
    padding: 0 5px;
}
.reason-image li small{
    display: block;
}

.reason-point {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 80px;
}
.reason-item dl {
    position: relative;
}
.reason-item dl::before {
    content: "";
    background: linear-gradient(90deg, rgba(217, 243, 254, 0.8), rgba(217, 248, 234, 0.8), rgba(255, 255, 224, 0.6));
    width: 90%;
    height: 100px;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: skewY(-0.025turn);
    z-index: -1;
    position: absolute;
    left: 0;
    bottom: 0;
}
.reason-item dl dt {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding-bottom: 10px;
}
.reason-item dl dd {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    padding-bottom: 20px;
}
.reason-item img {
    width: 100%;
    position: relative;
    z-index: -2;
}
.reason-item p {
    padding-top: 20px;
    line-height: 1.8em;
}

.reason-answer h3 {
    font-size: 4vw;
    letter-spacing: 0.1em;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-indent: 0.1em;
}
.reason-answer-content .dialog {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
    width: fit-content;
}
.reason-answer-content .dialog.myself {
    flex-direction: row-reverse;
    margin: 30px 0 0 auto;
}
.reason-answer-content .dialog img {
    width: 100px;
    margin: 0;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.reason-answer-content .dialog > p {
    border-radius: 10px;
    border: solid 2px rgb(0, 0, 0);
    position: relative;
    padding: 20px;
}
.reason-answer-content .dialog.partner > p {
    background: rgb(240, 240, 240);
    margin-left: 15px;
}
.reason-answer-content .dialog.myself > p {
    background: rgb(255, 255, 255);
    margin-right: 15px;
}
.reason-answer-content .dialog > p::before, .reason-answer-content .dialog > p::after {
    content: "";
    width: 15px;
    height: 20px;
    position: absolute;
    top: 20px;
}
.reason-answer-content .dialog.partner > p::before, .reason-answer-content .dialog.partner > p::after {
    clip-path: polygon(0 0, 100% 100%, 100% 20%);
}
.reason-answer-content .dialog.partner > p::before {
    background: rgb(0, 0, 0);
    left: -15px;
}
.reason-answer-content .dialog.partner > p::after {
    background: rgb(240, 240, 240);
    left: -10px;
    top: 23px;
}
.reason-answer-content .dialog.myself > p::before, .reason-answer-content .dialog.myself > p::after {
    clip-path: polygon(0 20%, 0 100%, 100% 0);
}
.reason-answer-content .dialog.myself > p::before {
    background: rgb(0, 0, 0);
    right: -15px;
}
.reason-answer-content .dialog.myself > p::after {
    background: rgb(255, 255, 255);
    right: -10px;
    top: 23px;
}

/*--------------------------------------------
min-width 500
--------------------------------------------*/
@media (min-width: 500px) {
    .reason-content hgroup p {
        font-size: 1rem;
    }
    .reason-answer h3 {
        font-size: 1.2rem;
    }
}

/*--------------------------------------------
min-width 810
--------------------------------------------*/
@media (min-width: 810px) {
    .reason-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    .reason-image {
        width: 50%;
    }
    .reason-image li {
        font-size: 1rem;
    }

    .reason-point {
        gap: 80px;
    }
    .reason-item {
        background-size: 45%;
        background-repeat: no-repeat;
        background-position: right;
        padding: 50px 0;
    }
    .reason-item dl dd {
        font-size: 1.5rem;
    }
    .reason-item.reason-1 {
        background-image:
        linear-gradient(to left, rgba(255, 255, 255, 0) ,rgba(255, 255, 255, 1)),
        url(/homepage/images/pilates/reason_1.webp);}
    .reason-item.reason-2 {
        background-image:
        linear-gradient(to left, rgba(255, 255, 255, 0) ,rgba(255, 255, 255, 1)),
        url(/homepage/images/pilates/reason_2.webp);}
    .reason-item.reason-3 {
        background-image:
        linear-gradient(to left, rgba(255, 255, 255, 0) ,rgba(255, 255, 255, 1)),
        url(/homepage/images/pilates/reason_3.webp);}
    .reason-item.reason-4 {
        background-image:
        linear-gradient(to left, rgba(255, 255, 255, 0) ,rgba(255, 255, 255, 1)),
        url(/homepage/images/pilates/reason_4.webp);}
    .reason-item dl {
        width: 60%;
        z-index: 1;
    }
    .reason-item p {
        width: 60%;
        z-index: 1;
        position: relative;
    }

    .reason-answer h3 {
        margin: 80px auto 50px auto;
    }
}

/*--------------------------------------------
min-width 1080
--------------------------------------------*/
@media (min-width: 1080px) {
    .reason-image li {
        font-size: 1.2rem;
    }
}

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


