/**
 * #.# トレーナー一覧
 *
 * 
 */
.page-main {
	margin-top: 40px !important;
	margin-bottom: 50px !important;
}

/* -------------------- 所属トレーナー -------------------- */
/* タイトル ----- 文字下青、他グレーのアンダーライン */
.location-trainer-title-wrap{
	padding: 0 0 5px 10px;
	position: relative;
	margin-bottom: 30px !important;
}
.location-trainer-title {
	font-size: 18px !important;
	font-weight: 700 !important;
}
.location-trainer-subtitle{
	font-size: 14px !important;
	font-weight: 500 !important;
}
.location-trainer-title-wrap::after {
	content: "";
	width: 4px;
	height: 60px;
	position: absolute;
	bottom: -2px;
	left: -2px;
	background: #17C1B0;
}
.location-trainers h3 {
	margin-bottom: 30px;
	text-align: center;
}
.location-trainers > ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	justify-content: flex-start;
	gap: 50px;
}

.location-trainers-card {
	width: 270px;
	margin: 0 auto;
	padding: 10px;
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 10px;
    box-shadow: 0px 3px 6px #00000029;
	justify-content: center;
}

.location-trainers-thumbnail > img {
	width: 246px;
	height: 246px;
	margin: 0 auto;
	border-radius: 8px;
}

.location-trainers-card p {
	margin-top: 10px;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
}
.location-trainers-card p span {
	display: block;
	font-size: 20px;
}
.trainer-categories {
	position: absolute;
	bottom: 90px;
	right: 20px;
}
.trainer-category {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	color: #fff;
	font-size: 14px !important;
	margin: 3px;
	font-weight: 700 !important;
	background: #05C3C3;
}

@media screen and (max-width:768px){
	.location-trainers > ul {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		justify-content: flex-start;
		gap: 35px;
	}
	.location-trainers {
		padding: 40px 0;
	}
	.location-trainers-card {
		max-width: 270px;
		width: 100%;
		margin: 0 auto;
		padding: 10px;
		position: relative;
		display: flex;
		align-items: center;
		background: #fff;
		border-radius: 10px;
	    box-shadow: 0px 3px 6px #00000029;
	}
	.location-trainers-thumbnail > img {
		width: auto;
		height: auto;
		margin: 0 auto;
		border-radius: 8px;
	}
	.location-trainers-card p {
		margin-top: 10px;
		text-align: center;
		font-size: 16px;
		font-weight: 500;
	}
	.location-trainers-card p span {
		display: block;
		font-size: 16px;
	}
	.trainer-categories {
		bottom: 75px;
		right: 15px;
	}
	.trainer-category {
		font-size: 12px !important;
	}
}
@media screen and (max-width:500px){
	.location-trainer-title {
	    font-size: 16px !important;
	}
	.location-trainer-subtitle {
    	font-size: 12px !important;
	}
	.location-trainer-title-wrap::after {
    	width: 3px;
    	height: 45px;
    	bottom: 3px;
    	left: -3px;
	}
	.location-trainers > ul {
        gap: 8px;
    }
	.location-trainers {
        padding: 0;
    }
    .location-trainers-thumbnail > img {
        border-radius: 4px;
    }
	.location-trainers .wrapper {
        width: 100%;
    }
	.location-trainers-card {
        padding: 7px;
        border-radius: 4px;
        box-shadow: 0px 2px 5px #00000029;
    }
	.trainer-categories {
        bottom: 72px;
        right: 8px;
    }
	.trainer-category {
	    padding: 2px 8px;
	    border-radius: 4px;
   	 	font-size: 14px !important;
    	margin: 1px;
	}
	.trainer-category {
		font-size: 10px !important;
	}
}


/* ---------- ページネーション ---------- */
ul.page-numbers {
	margin-bottom:50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
ul.page-numbers > li {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D9FDF9;
    border-radius: 50%;
    font-weight: 500;
    transition: opacity 0.2s;
}
ul.page-numbers > li:hover {
    opacity: 0.6;
}
ul.page-numbers > li:has(.current) {
    background: #17C1B0;
    color: #FFF;
    opacity: 1 !important;
}
ul.page-numbers > li:has(.next),
ul.page-numbers > li:has(.prev) {
    background: transparent;
}
ul.page-numbers > li > a {
    padding: 10px 12px;
}

.page-numbers.next,
.page-numbers.prev {
    position: relative;
}
.page-numbers.next::after,
.page-numbers.prev::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: calc(50% - 6px);
    right: calc(50% - 6px);
    border-top: 2px solid #17C1B0;
    border-right: 2px solid #17C1B0;
}
.page-numbers.next::after {
    transform: rotate(45deg);
}
.page-numbers.prev::after {
    transform: rotate(-135deg);
}

@media screen and (max-width:959px){
    .news-list {
        justify-content: center;
    }
    ul.page-numbers {
        gap: 10px;
    }
}


/* ---------- トレーナーポップアップ ---------- */
.location-popup-trainer {
	display: none;
}
.location-popup-scrollwrap {
	width: 95%;
	margin: 0 auto;
	background: #fff;
}
.location-popup-trainer-content {
	width: 100%;
	padding: 30px 0;
	display: flex;
	justify-content: space-around;
	overflow-y: auto;
}
.location-popup-bg {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	background: #222;
	opacity: 0.7;
	transition: transform .5s;
	z-index: 9999;
}
.location-popup-slide-wrapper {
	max-width: 100%;
	min-height: 400px;
	padding: 30px;
	background: #FFF;
	border-radius: 20px;
	border: 2px solid #ECECEC;
	box-shadow: 0px 3px 6px #00000029;
	width: 960px;
	height: fit-content;
	margin: auto;
	position: fixed;
	inset: 0;
	transition: transform .5s;
	z-index: 10000;
}


@media screen and (max-width:1000px){
	.location-popup-scrollwrap {
		max-height: 60vh;
		overflow-y: auto;
	}
	.location-popup-trainer-content {
		padding: 10px 0;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		overflow-y: auto;
	}
	.location-popup-trainer-content img {
		width: 90%;
		max-width: 350px;
		height: 90%;
		max-height: 350px;
	}
	.location-popup-trainer-text {
		gap: 20px;
	}
	.location-popup-slide-wrapper {
		max-width: 100%;
		max-height: 90%;
		overflow: scroll; /* スクロール設定 */
	}
	
}
/* -------------------- ポップアップ閉じるボタン -------------------- */
.location-popup-close {
	width: 45px;
	height: 45px;
	margin-right: 0;
	margin-left: auto;
	position: relative;
}
.location-popup-close::before,
.location-popup-close::after {
	content: "";
	width: 2px;
	height: 28px;
	position: absolute;
	top: 50%;
	left: 50%;
	background: #222;
}
.location-popup-close::before {
	transform: translate(-50%,-50%) rotate(45deg);
}
.location-popup-close::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

/* ---------- 名前 役職 ---------- */
.trainer-title {
	margin-bottom: 20px;
	padding: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 3px #999 solid;
}
.trainer-title > h3 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 20px;
	font-size: 24px;
	font-weight: 500;
}
.trainer-title > h3 > span {
    display: inline-block;
}

@media screen and (max-width:428px){
	.trainer-position {
		font-size: 12px;
	}
}

/* ---------- プロフィール本文 ---------- */
.trainer-content {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	position: relative;
}
/* サムネイル */
.trainer-content > img {
	width: 100%;
	max-width: 285px;
	height: auto;
	max-height: 285px;
	margin: 0 auto;
	object-fit: cover;
}

/* プロフィールテキスト */
.trainer-about {
	max-width: 650px;
	padding: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	letter-spacing: 0.1rem;
}

/* タグ */
.trainer-tag {
	max-width: 400px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.trainer-tag li {
	max-width: 350px;
	padding: 3px 10px 4px;
	font-size: 12px;
	color: #FFF;
	background: #17C1B0;
	border-radius: 7px;
}

/* トレーナーコメント */
.trainer-comment {
	line-height: 1.6rem;
	letter-spacing: 0.1rem;
}

/* トレーナー大会経験 */
.tournament-title{
	margin-bottom: 10px ;
	padding: 0 0 0 5px;
	position: relative;
	font-weight: 500 ;
	border-bottom: 2px solid #EBEBEB;
}
.tournament-title::after {
	content: "";
	width: 82px;
	height: 2px;
	position: absolute;
	bottom: -2px;
	left: 0;
	background: #17C1B0;
}
.trainer-tournament  {
	background:#fBFBFB;
	border:1px solid #EFEFEF;
	padding:10px 15px 20px 15px;
	margin-top:10px;
}

@media screen and (max-width:768px){
	.tournament-title::after {
		width: 75px;
	}
}

/* SNSリンク */
.trainer-sns {
	margin: 10px 10px 0 0;
	display: flex;
	gap: 14px;
	position: absolute;
	top: 0;
	right: 0;
}

/* 在籍店舗へのリンク */
.trainer-location-link {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}
.trainer-location-link > li > a {
	margin: 0 auto;
	font-weight: 500;
}


/* -------------------- 1000px以下 -------------------- */
@media screen and (max-width:959px){
	/* -------------------- トレーナーリスト -------------------- */
	.trainer-title {
		flex-wrap: wrap;
	}
	.trainer-content {
		width: 100%;
		margin: 0 auto;
		flex-direction: column;
	}

	.trainer-image {
		margin: 0 auto;
	}
	.trainer-about {
		width: 100%;
		max-width: initial;
	}
	.trainer-sns {
		margin: 0;
		justify-content: end;
		gap: 15px;
		position: static;
	}
}

@media screen and (max-width:768px){
	/* ---------- 名前 役職 ---------- */
	.trainer-title > h3 {
		gap: 0 10px;
	}

	.trainer-content {
		gap: 10px;
	}
	/* トレーナー大会経験 */
	.trainer-tournament  {
		padding:10px;
	}
}

@media screen and (max-width:428px){
	/* ---------- 名前 役職 ---------- */
	.trainer-title > h3 {
		margin-bottom: 0;
		font-size: 16px;
	}

	.trainer-location-link {
		margin-top: 0;
	}

}

