@charset "utf-8";
/* CSS Document */

/**********************************************
     Colorbox カスタマイズ
***********************************************/

#cboxPrevious, #cboxNext, #cboxClose {
    background: none;
    font-size: 0;
    text-indent: 0;
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 10;
}

#cboxClose {
    top: -13px;
    right: -13px;
}

#cboxPrevious, #cboxNext {
    top: 50%;
}

#cboxPrevious {
    left: -13px;
}
#cboxNext {
    right: -13px;
    left: auto;
}

#cboxPrevious::before,
#cboxNext::before,
#cboxClose::before {
    background: #01A15E;
    clip-path: circle(50% at 50% 50%);
    color: #FFF;
    font-family: Material Symbols Outlined;
    font-size: 30px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#cboxNext::before {
    content: "\e315";
}

#cboxPrevious::before {
    content: "\e314";
}

#cboxClose::before {
    content: "\e5cd";
}

#cboxCurrent {
    display: none!important;
}

/***********************************************
　　　　　　　ジムトレーニング
***********************************************/

#gymtore .intro {    
    max-width: 1200px;
    margin: 0 auto;
	padding: 1em;
}

@media screen and (min-width: 768px) {
	#gymtore .intro {
		position: relative;
	}
}

#gymtore .intro .img-block {
	border-radius: 20px;
	overflow: hidden;
}

@media screen and (min-width: 960px) {
    #gymtore .intro {
        
    }
}

#gymtore .intro .txt-block {
	padding-top: 1em;
}

@media screen and (min-width: 768px) {
    #gymtore .intro .txt-block {
        background: rgba(255,255,255,.7);
        width: 60%;
		padding: 1em;
		position: absolute;
		top: 50%;
		right: 2.5em;
		transform: translateY(-50%);
    }
}

@media screen and (min-width: 960px) {
    #gymtore .intro .txt-block {
        padding: 2em;
    }
}

#training h3 {
    background: #01A15E;
    color: #FFF;
    padding: 5px 1em;
}

@media screen and (min-width: 768px) {    
    #training h3 {
        text-align: center;
        padding: 5px;
    }
}

.training-head {
    padding: 1em 0;
    position: relative;
}

@media screen and (min-width: 768px) {
    .training-head {
        min-height: 170px;
        padding: 1em 0;
    }
}

@media screen and (min-width: 960px) {
    .training-head {
        min-height: 170px;
    }
}

.training-head::before {
    content: "";
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    display: block;
    width: 25%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media screen and (min-width: 768px) {
    .training-head::before {
        background-position: right bottom;
        background-size: contain;
        right: 1em;
    }
}

.training-head.swing01::before {
    background-image: url("../images/training/swing_img_01.png");
}

.training-head.swing02::before {
    background-image: url("../images/training/swing_img_02.png");
}

.training-head.swing03::before {
    background-image: url("../images/training/swing_img_03.png");
}

.training-head.swing04::before {
    background-image: url("../images/training/swing_img_04.png");
}

.training-head p {
    padding: 0 1em;
}

@media screen and (min-width: 768px) {
    .training-head p {
        padding: 0 20% 0 1em;
    }
}


@media screen and (min-width: 768px) {
    .training-list {
        display: flex;
        flex-wrap: wrap;
    }
}

.training-list li {
    margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
    .training-list li {
        width: 50%;
        padding: 10px;
    }
}

@media screen and (min-width: 960px) {
    .training-list li {
        width: 33.3333%;
        padding: 1em;
    }
}

.training-item {
    position: relative;
}

.mov .training-item {
    background: rgba(0,0,0,.1);
    border: 1px solid #CCC;
}

@media screen and (max-width: 767px) {
    .training-item .mc-img  {
        object-fit: contain;
        height: 30vh;
        width: 100%;
    }
    
    .training-item .mc-img {
        object-position: center right;
    }
     .mov .training-item .mc-img {
        object-position: center center;
    }
}
    
.training-item .bg-wrap {
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width: 768px) {
    .training-item .bg-wrap {
        flex-direction: column;
    }
}

.parts,
.parts img {
    width: 100px;
    height: 100px;
}

.training-item .parts {
    position: relative;
     
}

@media screen and (min-width: 768px) {
    .training-item .parts,
    .training-item .parts img {
        width: 120px;
        height: 120px;
        
    }
    
    .training-item .parts {
        margin: 0 auto 0 0;
    }
}

.parts-name {
    color: #991B1B;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 1px 1px 1px #FFF, 1px -1px 1px #FFF, -1px 1px 1px #FFF, -1px -1px 1px #FFF;
}

.training-item .parts-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

.training-item h4 {
    color: #FFF;    
    padding-left: 1em; 
    text-align: center;
}

@media screen and (max-width: 767px) {
    .training-item h4 {
        max-width: 60%;
    }
}

@media screen and (min-width: 768px) {
    .training-item h4 {   
        padding: 2em 0;  
    }
}

.training-detail {
    padding: 1em;
}

.training-detail h4,
.training-detail-mov h4 {
    background: #4BD27D;
    color: #FFF;
    text-align: center;
    padding: 5px 10px;
}

.training-detail h4 span {
    background: #FFF;
    border-radius: 20px;
    color: #23C35F;
    font-size: .8em;
    display: inline-block;
    padding: 0 10px;
    margin-right: 1em;
}

@media screen and (max-width: 767px) {
    .training-detail h4 span {
        display: block;
        margin: auto;
    }
}

.detail-wrap {
    display: flex;
}

.mov .detail-wrap {
    display: block;
}


@media screen and (max-width: 767px) {
    .detail-wrap {
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) {
    .detail-wrap {
        justify-content: space-between;
    }
}

.training-detail .img-block {
    position: relative;
    height: auto;
}

.training-detail .img-block::before {
    content: "";
    display: block;
    padding-top: 100%;
}

@media screen and (min-width: 768px) {
    .training-detail .img-block {
        width: 48%;
    }
}

.training-detail .img-block img {
    position: absolute;
    top: 0;
    left: 0;
}

.rotate01,
.rotate02 {
    animation: anime01 3s 0s infinite;
    opacity: 0;
}

.rotate02 {
    animation-delay: 1.5s;
}

@keyframes anime01 {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity: 0;
        z-index: 1;
}
    100% {
        opacity: 0;
    }
}

.training-detail .txt-block {
    padding-top: 1em;
}

@media screen and (min-width: 768px) {
    .training-detail .txt-block {
        width: 50%;
        padding-top: 0 1em;
    }
}

.training-detail .txt-block h5 {
    color: #23C35F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5em;
}

.training-detail .txt-block h5::after {
    content: "";
    background: #23C35F;
    display: block;
    width: 100%;
    height: 1px;
    margin-left: 10px;
}

.training-detail .txt-block ol {
    margin-left: 1em;
}

.training-detail .txt-block li {
    list-style: decimal;
    padding-bottom: .5em;
}

.training-detail .parts-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.training-detail .parts-wrap .parts-name {
    padding-left: 1em;
    font-size: 1.2em;
    width: auto;
}

@media screen and (min-width: 768px) {
    .training-detail-mov .detail-wrap .img-block {
        width: 50%;
        margin: auto;
    }
}

.training-detail-mov iframe {
    width: 100%;
    height: 100%;
}


