@charset "utf-8";

/* ==================================================================

    trainerDetails.css

=================================================================== */


.contents main .nStyle.more a {
    width: 458px;
    max-width: 100%;

    @media only screen and
    (max-width : 767px) {
        width: 100%;
    }
}

/* --------------------------------
profileBox
-------------------------------- */ 

.profileBox{
    .class{
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    .sideImageBox{
        .image{
            img{
                border-radius: 20px;
            }
        }

        .explain{
            .status{
                margin-bottom: 8px;
                font-size: 1.5rem;
            }
            .ruby{
                margin-top: 8px;
            }

            .incharge{
                font-size: 1.3rem;
                @media only screen and
                (max-width : 767px) {
                    font-size: 1.2rem;
                }

                dt{
                    margin-bottom: 8px;
                }

                dd{
                    ul.list{
                        gap: 8px;

                        @media only screen and
                        (max-width : 767px) {
                            gap: 5px;
                        }

                        li{
                            padding: 3px 12px;
                            border-radius: 24px;
                            line-height: 1.1;
                            background: #E2E2E2;
                            color: #fff;
                            min-width: 4em;
                            text-align: center;

                            @media only screen and
                            (max-width : 767px) {
                                padding: 3px 8px;
                                min-width: 3em;
                            }

                            &.active{
                                background: #110284;
                            }
                        }
                    }
                }

                & + .incharge{
                    margin-top: 16px;
                }
            }

            .medalList{
                margin-top: 24px;
                li{
                    padding-left: 24px;
                    background: url(../../images/common/icon/medal.svg) no-repeat 0 0;
                    background-size: 1.2em auto;

                    & + li{
                        margin-top: 8px;
                    }
                }
            }
        }

            
        & + .text{
            margin-top: 60px;
        }
    }

    .message{
        margin-top: 60px;
    }

}

/* --------------------------------
affiliation
-------------------------------- */ 
.affiliation{
    border-top: 1px solid #989898;
    padding-top: 48px;
    padding-bottom: 48px;
    margin-top: 60px;

    .affiliationBox{
        position: relative;
        overflow: hidden;
        display: block;
        max-width: 450px;
        margin-inline:auto;
        transition: .3s;
        text-decoration: none;
        border-radius: 8px;
        figure{
            img{
                border-radius: 8px;
                transition: .5s;
            }
            figcaption{
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                background: #110184;
                color: #fff;
                font-size: 1.8rem;
                font-weight: 700;
                padding: 8px;
                text-align: center;
                border-radius: 0 0 8px 8px;

                &::before{
                    position: absolute;
                    content: "";
                    top: 50%;
                    right: 6%;
                    width: 6px;
                    height: 6px;
                    margin-top: -3px;
                    border-top: 1px solid #fff;
                    border-right: 1px solid #fff;
                    -webkit-transform: rotate(45deg);
                    transform: rotate(45deg);
                    transition: 0.5s;
                }
            }
        }

        &:hover{
            figure{
                img{
                    transform: scale(1.1);
                }
                figcaption{
                    &::before{
                        right: 4%;
                    }
                }
            }
        }
    }
}


/* --------------------------------
navigation
-------------------------------- */ 
main .navigation{
    border-top: 1px solid #989898;
    padding-top: 48px;
    margin-bottom: 40px;

    @media only screen and
    (max-width : 767px) {
        margin-bottom: 12vw;
    }

    .grid_box{
        margin-inline:auto;
        max-width: 600px;
        margin-bottom: 45px;

        @media only screen and
        (max-width : 767px) {
            gap: 20px;
        }

        .buttonStyle{
            a{
                width: 200px;

                @media only screen and
                (max-width : 767px) {
                    width: 100%;
                }
            }

            &.disabled{
                a{
                    pointer-events: none;
                    cursor: default;
                    opacity: 0.2;
                }
            }
        }
    }
}
