@charset "utf-8";
/* ========================================
   アクアピラティス
   ======================================== */

/* ベース */
.aqp {
    /* Colors */
    --color-base: #000000;
    --color-bg-frost: rgba(255, 255, 255, 0.8);
    --color-gray: #999999;
    --color-primary: #0097ce;
    --color-secondary: #83caf1;

    /* Typography */
    --font-base: YakuHanMP, "Zen Old Mincho", serif;
    --lh-base: 1.7;
    --lh-desc: 2.3;
    --lh-heading: 1.9;
    --size-base: clamp(14px, 3.73vw, 16.8px);
    --size-heading: clamp(21px, 5.6vw, 25.2px);
    --size-lg: clamp(16px, 4.27vw, 19.2px);
    --size-subheading: clamp(18.7px, 4.98vw, 22.4px);

    /* Spacing & Layout */
    --radius: 5px;
    --space-x: min(10vw, 45px);
    --space-y: min(10.66vw, 48px);
    --width-container: 450px;

    color: var(--color-base);
    font-family: var(--font-base);
    font-size: var(--size-base);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-break: strict;
    line-height: var(--lh-base);
    margin-inline: auto;
    max-width: var(--width-container);
}

/* セクション */
.aqp-section {
    background-color: #ffffff;
    padding-bottom: var(--space-y);
    position: relative;
    z-index: 1;
}

.aqp-section-header {
    padding-bottom: min(8vw, 36px);
    padding-top: var(--space-y);
}

.aqp-section-heading {
    margin-inline: auto;
    width: 86%;
}

.aqp-section-lead {
    font-size: var(--size-heading);
    font-weight: 500;
    letter-spacing: 0;
    line-height: var(--lh-heading);
    text-align: center;
}

/* 動画 */
.aqp-video {
    aspect-ratio: 1 / 1;
    position: relative;
    width: 100%;
    z-index: 1;
}

.aqp-video video {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* メインビジュアル */
.aqp-mv {
    /* 最初はグラデーションを表示 */
    background: linear-gradient(
        to bottom,
        #77cffe 0%,
        #91dafd 15%,
        #c3effe 35%,
        #d6f6fe 60%,
        #d3f6fe 85%
    );
    margin: 0;
    padding: 18.26% 0 16.53%;
    position: relative;
    transition: opacity 0.4s ease;
    z-index: 3;
}

/* 画像を疑似要素で重ねる */
.aqp-mv::before {
    background-image: url(../images/bg_mv_01.jpg);
    background-position: center top;
    background-size: cover;
    content: "";
    inset: 0;
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.aqp-mv.is-loaded::before {
    opacity: 1;
}

.aqp-mv-heading {
    margin-bottom: 9.6%;
    margin-inline: auto;
    width: 78.66%;
}

.aqp-mv-catch {
    margin-inline: auto;
    margin-top: -7.33%;
    width: 56%;
}

/* メインビジュアル アニメーション */
.aqp-mv-image,
.aqp-mv-heading,
.aqp-mv-catch {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes aqp-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aqp-mv.is-loaded .aqp-mv-image {
    animation: aqp-fade-up 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s both;
}

.aqp-mv.is-loaded .aqp-mv-heading {
    animation: aqp-fade-up 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both;
}

.aqp-mv.is-loaded .aqp-mv-catch {
    animation: aqp-fade-up 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both;
}

/* アクアピラティスとは */
.aqp-about .aqp-section-header {
    background-color: #ffffff;
}

.aqp-about-bg {
    top: 0;
    left: 0;
    right: 0;
    height: 100lvh;
    margin-inline: auto;
    max-width: var(--width-container);
    opacity: 0;
    position: fixed;
    transition: opacity 0.4s ease;
    will-change: opacity;
    z-index: -1;
}

.aqp-about-bg.is-active {
    opacity: 1;
}

.aqp-about-bg-image {
    height: 100%;
    object-fit: cover;
    max-width: var(--width-container);
    width: 100%;
}

.aqp-about-box {
    background-color: var(--color-bg-frost);
    margin-bottom: var(--space-y);
    margin-inline: var(--space-x);
    margin-top: calc(var(--space-y) * 2);
    padding-block: 9.06%;
    padding-inline: calc(var(--space-x) * 0.65);
    position: relative;
    z-index: 1;
}

.aqp-about-deco {
    margin-bottom: 7.96%;
    margin-inline: auto;
    width: 54.98%;
}

.aqp-about-box-heading {
    font-size: var(--size-heading);
    line-height: var(--lh-heading);
    margin-bottom: 0.66em;
}

.aqp-section-desc {
    line-height: 2.6;
    text-align: justify;
}

.aqp-section-desc:not(:last-of-type) {
    margin-bottom: 1.5em;
}

/* アクアピラティスの特徴 */
.aqp-features-diagram {
    margin-top: 4.26%;
    margin-bottom: 11.2%;
    margin-inline: auto;
    width: 85.33%;
}

.aqp-features-slider {
    --swiper-navigation-color: var(--color-base);
    --swiper-navigation-size: min(5.33vw, 24px);
    position: relative;
}

.aqp-features-slider .swiper {
    margin-inline: var(--space-x);
    padding-bottom: 42px;
}

.aqp-features-slide {
    background-color: #e4f2f2;
    border-radius: var(--radius);
    height: auto;
    overflow: hidden;
}

.aqp-features-slide-body {
    padding: 6.66% calc(var(--space-x) / 2) 5%;
}

.aqp-features-slide-heading {
    font-size: var(--size-subheading);
    margin-bottom: 0.9375em;
    text-align: center;
}

.aqp-features-slide-catch {
    margin-bottom: 4%;
    margin-inline: auto;
    width: 100%;
}

.aqp-features-slide-desc {
    line-height: var(--lh-desc);
}

.aqp-features-slider .swiper-button-prev {
    left: 4.26%;
}

.aqp-features-slider .swiper-button-next {
    right: 4.26%;
}

.aqp-features-slider .swiper-pagination {
    display: flex;
    justify-content: center;
    bottom: 0;
}

.aqp-features-slider .swiper-pagination-bullets {
    bottom: 0;
}

.aqp-features-slider .swiper-pagination-bullet {
    background: #b3b3b3;
    border-radius: 15px;
    color: #ffffff;
    display: block;
    flex: 1;
    height: 27px;
    line-height: 26px;
    opacity: 1;
    margin: 0;
    transition: opacity 0.2s;
}

.aqp-features-slider .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

/* ピラティスの効果 */
.aqp-effect {
    background: url(../images/bg_effect_01.jpg) no-repeat center top;
    background-size: cover;
}

.aqp-effect-image {
    margin-top: min(6.66vw, 30px);
    margin-bottom: max(-25vw, -112px);
    position: relative;
}

.aqp-effect-image-deco {
    position: absolute;
    bottom: min(13.86vw, 62px);
    left: min(4.8vw, 22px);
    width: 27.46%;
    z-index: 2;
}

.aqp-effect-box {
    background-color: var(--color-bg-frost);
    display: flex;
    flex-direction: column;
    gap: min(8vw, 36px) 0;
    margin-inline: var(--space-x);
    padding: var(--space-y) calc(var(--space-x) * 1.2);
    position: relative;
    z-index: 1;
}

.aqp-effect-item-heading {
    margin-bottom: 6.66%;
    width: 81.9%;
}

.aqp-effect-item-desc {
    line-height: var(--lh-desc);
}

/* こんな方におすすめ */
.aqp-reco {
    background: url(../images/bg_recommended_02.jpg) no-repeat center top
        min(107.73vw, 484px);
    background-size: 100% 100%;
    padding-bottom: min(18.66vw, 84px);
}

.aqp-reco-deco {
    position: absolute;
}

.aqp-reco .aqp-section-header {
    background: url(../images/bg_recommended_01.jpg) no-repeat center top;
    background-size: 100%;
    padding-top: min(88vw, 396px);
    position: relative;
}

.aqp-reco .aqp-section-header .aqp-reco-deco {
    bottom: min(5.33vw, 24px);
    right: 5.86%;
    width: 84%;
}

.aqp-reco-list {
    display: flex;
    flex-direction: column;
    gap: min(3.73vw, 17px) 0;
    margin-inline: calc(var(--space-x) / 2);
}

.aqp-reco-item {
    align-items: center;
    display: flex;
    gap: 0 min(3.2vw, 14px);
}

.aqp-reco-item-image {
    aspect-ratio: 1;
    flex-shrink: 0;
    width: 32.58%;
}

.aqp-reco-item-text {
    font-size: var(--size-lg);
    letter-spacing: 0.05em;
}

.aqp-reco > .aqp-reco-deco {
    bottom: min(2.66vw, 12px);
    right: 8%;
    width: 23.46%;
}

/* よくある質問 */
.aqp-faq-list {
    --gap-faq: 0.83em;
    margin-inline: var(--space-x);
}

.aqp-faq-item {
    border-bottom: 1px solid var(--color-gray);
}

.aqp-faq-trigger,
.aqp-faq-body {
    align-items: flex-start;
    display: flex;
    gap: 0 var(--gap-faq);
}

.aqp-faq-label {
    flex-shrink: 0;
    margin-top: 0.25em;
    width: 1.833em;
}

.aqp-faq-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 9% 0;
    text-align: left;
    width: 100%;
}

.aqp-faq-icon {
    flex-shrink: 0;
    height: 2.5em;
    margin-top: -0.16em;
    margin-left: auto;
    position: relative;
    width: 2.5em;
}

.aqp-faq-icon::before,
.aqp-faq-icon::after {
    background-color: #888;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.5em;
}

.aqp-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.aqp-faq-item.is-open .aqp-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.aqp-faq-q {
    flex: 1;
    font-size: var(--size-subheading);
}

.aqp-faq-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.35s ease,
        padding-bottom 0.4s ease;
}

.aqp-faq-item.is-open .aqp-faq-body {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 9%;
}

.aqp-faq-a {
    flex: 1;
    margin: 0;
    padding-right: 4.16em;
}

/* スクロールアニメーション */
[data-fade] {
    opacity: 0;
    transform: translateY(20px);
    transition-property: opacity, transform;
    transition-duration: 0.9s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
}

[data-fade][data-fade-delay="100"] {
    transition-delay: 0.1s;
}
[data-fade][data-fade-delay="200"] {
    transition-delay: 0.2s;
}
[data-fade][data-fade-delay="500"] {
    transition-delay: 0.5s;
}
[data-fade][data-fade-duration="1200"] {
    transition-duration: 1.2s;
}

[data-fade].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.common-footer {
    position: relative;
    z-index: 2;
}
