@charset "utf-8";

/* ------------------------------
 lead
------------------------------ */

.lead-copy {
    margin-top: 4rem;
    color: var(--c-main);
    font-family: var(--ff-heading);
    font-size: 2.4rem;
    font-weight: 700;
}

/* ------------------------------
 coach（一覧）
------------------------------ */

.coach .section-title {
    margin-bottom: 8rem;
}

.coach-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 8rem 2rem;
}

.coach-card {
    position: relative;
    width: calc((100% - 4rem) / 3); /* 1025px まで3列を維持 */
    max-width: 306px;
    background-color: var(--c-white);
    border: 2px solid var(--c-main);
    border-radius: .6rem;
    -webkit-box-shadow: var(--shadow-default);
            box-shadow: var(--shadow-default);
}

.coach-card-link {
    display: block;
    padding: 2rem;
    text-align: center;
}

.coach-card-pht {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem;
}

.coach-card-name {
    position: relative; /* 写真の下端に重ねる */
    padding: .2rem 1rem;
    margin: -1.8rem 1rem 0;
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-size: 2.2rem;
    background-color: var(--c-main);
    border-radius: var(--radius-pill);
}

.coach-card-text {
    margin-top: 1rem;
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: left;
}

.coach-card-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--c-main);
    font-weight: 700;
}

.coach-card-more:after {
    display: inline-block;
    width: 11px;
    height: 7px;
    margin-left: .8rem;
    vertical-align: middle;
    content: "";
    background: url(../images/common/common_icon05.svg) no-repeat center / contain;
    -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
            transform: rotate(-90deg);
}

.coach-card-tag,
.coach-detail-tag {
    position: absolute;
    top: 0;
    right: 2rem;
    padding: .6rem 1.2rem 2.1rem; /* 下 15px はリボンの切り込み分 */
    color: var(--c-white);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    background-color: var(--c-gold-ribbon);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 15px), 0 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 15px), 0 100%);
}

.coach-card-rate,
.coach-detail-rate {
    display: block;
    margin-top: .2rem;
    font-family: var(--ff-num);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.coach-card-unit,
.coach-detail-unit {
    font-size: 1.4rem;
}

.coach-note {
    max-width: 960px;
    margin: 2rem auto 0;
    font-weight: 400;
    text-align: right;
}

.coach-empty {
    font-size: 1.8rem;
}

/* ------------------------------
 coach-detail（詳細）
------------------------------ */

.coach-detail {
    padding: 16rem 0 12rem;
    background-color: var(--c-main-pale);
}

.coach-detail-profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 4rem;
    text-align: left;
}

.coach-detail-pic {
    position: relative; /* リボンの基準 */
    flex-shrink: 0;
    width: 41%;
}

.coach-detail-pht {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem;
}

.coach-detail-tag {
    right: 3rem;
    padding: .6rem 1.3rem 2.3rem; /* 下 16px はリボンの切り込み分 */
    font-size: 1.6rem;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 16px), 0 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 16px), 0 100%);
}

.coach-detail-rate {
    font-size: 2.8rem;
}

.coach-detail-unit {
    font-size: 1.6rem;
}

.coach-detail-body {
    max-width: 460px;
    padding: 2rem 0;
}

.coach-detail-name {
    display: inline-block;
    width: 100%;
    max-width: 300px; /* Figma の名前枠の幅。名前が長くても枠の中で折り返す */
    padding: .4rem 1rem;
    text-align: center;
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-size: 2.8rem;
    background-color: var(--c-main);
    border-radius: var(--radius-pill);
}

.coach-detail-catch {
    margin-top: 2rem;
    font-family: var(--ff-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.8;
}

.coach-detail-career {
    margin-top: 2rem;
    font-size: 1.8rem;
}

.coach-detail-career-label {
    margin-right: 1.4rem;
    color: var(--c-main);
    font-weight: 700;
}

.coach-detail-career-label:after {
    display: inline-block;
    width: 16px;
    margin-left: 1.4rem;
    vertical-align: middle;
    content: "";
    border-top: 3px dotted var(--c-main);
}

.coach-detail-note {
    margin-top: 8rem;
    font-weight: 400;
    text-align: left;
}

.coach-detail-list {
    margin-top: 8rem;
    text-align: left;
}

.coach-detail-note + .coach-detail-list {
    margin-top: 2rem;
}

.coach-detail-q {
    padding: 1rem 4rem 1rem 7.4rem;
    color: var(--c-main);
    font-family: var(--ff-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--c-white) url(../images/coach/coach_icon01.svg) no-repeat 4rem center / 24px auto;
    border-radius: .4rem;
}

.coach-detail-a {
    padding: 2rem 4rem;
    font-weight: 400;
}

.coach-detail-a + .coach-detail-q {
    margin-top: 4rem;
}

/* ------------------------------
 recommend（他のコーチ：PC は横並び、SP は横スライド）
------------------------------ */

.coach-slider .swiper-wrapper {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 2rem;
}

.coach-slider .swiper-slide {
    width: 306px;
}

.coach-slider .slider-prev,
.coach-slider .slider-next {
    display: none; /* PC は横並び（スライダーにしない）ので矢印も出さない */
}

/* ------ max-width:1024px ------ */
@media (max-width:1024px) {
    /* coach */
    .coach-card {
        width: calc(50% - 1rem);
        max-width: none;
    }
}

/* ------ max-width:767px ------ */
@media (max-width:767px) {
    /* lead */
    .lead-copy {
        display: none; /* SP のデザインには無い */
    }

    /* coach */
    .coach .section-title {
        margin-bottom: 4rem;
    }

    .coach-list {
        gap: 2rem 1rem;
        max-width: 480px;
        margin: 0 auto;
    }

    .coach-card {
        width: calc(50% - .5rem);
    }

    .coach-card-link {
        padding: 0 0 1rem;
    }

    .coach-card-pht {
        border-radius: .4rem .4rem 0 0;
    }

    .coach-card-name {
        padding: .2rem 1rem;
        margin: -.8rem .6rem 0;
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .coach-card-text {
        padding: 0 .6rem;
        font-size: 1.4rem;
    }

    .coach-card-more {
        font-size: 1.2rem;
    }

    .coach-card-more:after {
        width: 8px;
        height: 5px;
        margin-left: .6rem;
    }

    .coach-card-tag,
    .coach-detail-tag {
        top: -.9rem;
        right: auto;
        left: 50%;
        padding: .4rem 1.6rem;
        font-size: 1rem;
        line-height: 1.15;
        white-space: nowrap;
        -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%, 6px 50%); /* 両端を切り込んだリボン */
                clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%, 6px 50%);
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
    }

    .coach-card-tag br,
    .coach-detail-tag br {
        display: none;
    }

    .coach-card-rate,
    .coach-detail-rate {
        display: inline;
        margin: 0 0 0 .2rem;
        font-size: 1.4rem;
    }

    .coach-card-unit,
    .coach-detail-unit {
        font-size: .8rem;
    }

    .coach-note {
        font-size: 1.4rem;
        text-align: left;
    }

    /* coach-detail */
    .coach-detail {
        padding: 13rem 0 8rem; /* デザインは 100px だが、パンくずを入れる分 30px 下げる */
    }

    .coach-detail-profile {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 1rem;
    }

    .coach-detail-pic {
        width: 100%;
        max-width: 480px;
    }

    .coach-detail-tag {
        position: static;
        display: table; /* 中身の幅で中央に置く */
        margin: 1rem auto 0;
        padding: .6rem 2.2rem;
        font-size: 1.6rem;
        line-height: 1.2;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
    }

    .coach-detail-rate {
        font-size: 2.4rem;
    }

    .coach-detail-unit {
        font-size: 1.6rem;
    }

    .coach-detail-body {
        display: contents; /* 名前を写真の上に出すため、中身をそのまま親の縦並びに参加させる */
    }

    .coach-detail-name {
        order: -1;
        max-width: 270px;
        font-size: 2.2rem;
    }

    .coach-detail-catch {
        width: 100%;
        margin-top: 0;
        font-size: 1.8rem;
    }

    .coach-detail-career {
        width: 100%;
        margin-top: 0;
        font-size: 1.6rem;
    }

    .coach-detail-note {
        margin-top: 4rem;
        font-size: 1.4rem;
    }

    .coach-detail-list {
        margin-top: 4rem;
    }

    .coach-detail-q {
        padding: 1rem 1rem 1rem 3.6rem;
        font-size: 1.6rem;
        background-position: 1rem 1.3rem;
        background-size: 18px auto;
    }

    .coach-detail-a {
        padding: 1rem;
        font-size: 1.4rem;
    }

    .coach-detail-a + .coach-detail-q {
        margin-top: 2rem;
    }

    /* recommend */
    .coach-slider {
        margin: -2rem 0; /* .swiper の上下 padding（影の逃げ）を打ち消す */
    }

    .coach-slider .swiper-wrapper {
        -webkit-box-pack: start; /* PC の中央寄せを解除（Swiper は左端起点で位置計算するため、残すとスライドがずれて右側が空く） */
            -ms-flex-pack: start;
                justify-content: flex-start;
        gap: 0;
    }

    .coach-slider .swiper-slide {
        width: 42%;
    }

    .coach-slider .slider-prev {
        top: 13.2rem;
        left: calc(50% - 17.5rem);
    }

    .coach-slider .slider-next {
        top: 13.2rem;
        right: calc(50% - 17.5rem);
    }

    .coach-slider .slider-prev,
    .coach-slider .slider-next {
        display: block;
    }
}
