/* メンバー一覧・詳細。SPは2列／詳細は1列の補完レイアウト。 */
.member-categories{
	display:flex;
	flex-wrap:wrap;
	gap:16px 30px;
}

.member-categories a{
	display:block;
	position:relative;
	padding-bottom:5px;
	font-weight:500;
	border-bottom:3px solid transparent;
}

.member-categories a::after{
	position:absolute;
	right:0;
	bottom:-3px;
	left:0;
	height:3px;
	background:linear-gradient(90deg,#2aaadd,#63359b);
	content:"";
	transform:scaleX(0);
	transform-origin:left;
	transition:.5s;
}

.member-categories li:first-child a::after,
.member-categories a:hover::after,
.member-categories a:focus-visible::after{
	transform:scaleX(1);
}

.member-note{
	margin-top:24px;
	font-size:13px;
}

#members{
	margin-top:80px;
	scroll-margin-top:190px;
}

#members section + section{
	margin-top:80px;
}

#members h2{
	padding-left:14px;
	font-size:24px;
	font-weight:500;
	border-left:5px solid;
	border-image:linear-gradient(#2aaadd,#103884) 1;
}

.member-grid{
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:40px 35px;
	margin-top:30px;
}

.member-card{
	display:block;
	position:relative;
	height:100%;
	padding-bottom:32px;
	font-size:13px;
	line-height:1.7;
	border-bottom:1px solid #aaa;
	overflow-wrap:anywhere;
}

.member-photo{
	display:block;
	width:160px;
	max-width:100%;
	margin:0 auto 22px;
	overflow:hidden;
}

.member-card img{
	display:block;
	width:160px;
	max-width:100%;
	height:auto;
	margin:0;
	transition:transform .5s;
}

.member-card h3{
	margin-bottom:12px;
	font-size:18px;
	font-weight:500;
}

.member-card p + p{
	margin-top:0;
}

.member-card .member-area{
	font-size:calc(1em + 1px);
	font-weight:600;
}

a.member-card{
	overflow:hidden;
}

a.member-card::before{
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	height:3px;
	background:linear-gradient(90deg,#63359b,#2aaadd);
	content:"";
	transform:scaleX(0);
	transform-origin:left;
	transition:.5s;
}

a.member-card::after{
	position:absolute;
	right:3px;
	bottom:12px;
	width:16px;
	height:12px;
	background:currentColor;
	content:"";
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 6H15M10 1l5 5-5 5' fill='none' stroke='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (hover:hover) and (pointer:fine){
	.member-card:hover .member-photo img{
	transform:scale(1.1);
}
}

a.member-card:hover::before,
a.member-card:focus-visible::before{
	transform:scaleX(1);
}

a.member-card:hover::after,
a.member-card:focus-visible::after{
	animation:link-arrow .5s;
}

.member-profile{
	display:grid;
	grid-template-columns:300px minmax(0,700px);
	gap:135px;
	align-items:start;
}

.profile-photo{
	display:block;
	width:300px;
	max-width:100%;
	height:auto;
}

.profile-aside section{
	margin-top:48px;
}

.profile-aside h3{
	margin-bottom:12px;
	font-weight:700;
}

.profile-content{
	min-width:0;
	overflow-wrap:anywhere;
}

.profile-summary{
	padding-bottom:48px;
	border-bottom:1px solid #aaa;
}

.profile-summary h2{
	margin-top:16px;
	font-size:48px;
	font-weight:500;
	line-height:1.4;
}

.profile-name-en{
	color:#2aaadd;
}

.profile-facts{
	display:grid;
	grid-template-columns:90px minmax(0,1fr);
	gap:14px 10px;
	margin-top:72px;
}

.profile-content section{
	margin-top:80px;
}

.profile-content h3{
	margin-bottom:20px;
	font-size:18px;
}

.profile-content section > p + p{
	margin-top:0;
}

.profile-links a{
	display:block;
	position:relative;
	padding-left:26px;
	font-weight:500;
	color:#254c9c;
}

.profile-links a::before{
	position:absolute;
	top:calc(.95em - 8px);
	left:0;
	width:16px;
	height:16px;
	background:url("../../image/base/try_circle.png") center / contain no-repeat;
	content:"";
}

.external-link::after{
	display:inline-block;
	width:12px;
	height:12px;
	margin-left:16px;
	background:url("../../image/base/outlink.png") center / contain no-repeat;
	content:"";
}

.profile-links a:hover{
	opacity:.6;
}

.profile-aside .profile-links li + li{
	margin-top:8px;
}

.profile-content .profile-links{
	border-top:1px solid #777;
}

.profile-content .profile-links li{
	padding:24px 0;
	border-bottom:1px solid #aaa;
}

.related-list{
	border-top:1px solid #777;
}

.related-list li{
	border-bottom:1px solid #aaa;
}

.related-list a{
	display:grid;
	grid-template-columns:84px 96px minmax(0,1fr);
	gap:16px;
	align-items:start;
	padding:26px 0;
}

.related-list a > span:last-child{
	grid-column:3;
}

.related-list time{
	font-size:14px;
}

.related-category{
	margin-top:3px;
	padding:2px 5px;
	font-size:11px;
	text-align:center;
	background:#f7f7f7;
}

.related-list a:hover{
	opacity:.6;
}

.member-back{
	margin-top:72px;
	text-align:right;
}

@media (min-width:1001px) and (max-width:1360px){
	.member-profile{
	grid-template-columns:300px minmax(0,1fr);
	gap:calc(135 * var(--layout-unit));
}

.member-grid{
	gap:40px 24px;
}
}

@media (max-width:1000px){
	.member-categories{
	gap:12px 20px;
	font-size:13px;
}

.member-note{
	font-size:12px;
}

#members{
	margin-top:48px;
	scroll-margin-top:80px;
}

#members h2{
	font-size:20px;
}

.member-grid{
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:30px 20px;
}

.member-card{
	font-size:12px;
}

.member-card h3{
	font-size:16px;
}

.member-profile{
	display:flex;
	flex-direction:column;
	gap:0;
}

.profile-photo{
	margin:0 auto;
}

.profile-aside section{
	order:3;
	width:100%;
	margin-top:30px;
}

.profile-aside,
.profile-content{
	display:contents;
}

.profile-summary{
	order:2;
	width:100%;
	margin-top:36px;
}

.profile-summary h2{
	font-size:34px;
}

.profile-facts{
	grid-template-columns:70px minmax(0,1fr);
	margin-top:36px;
}

.profile-content section{
	order:4;
	width:100%;
	margin-top:48px;
}

.member-back{
	order:5;
	width:100%;
}

.related-list a{
	grid-template-columns:84px minmax(0,1fr);
	gap:10px;
	padding:20px 0;
}

.related-category{
	justify-self:start;
	margin:0;
}

.related-list a > span:last-child{
	grid-column:1 / -1;
}
}

@media (prefers-reduced-motion:reduce){
	.member-card img,
.member-categories a::after,
a.member-card::before{
	transition:none;
}

a.member-card:hover::after,
a.member-card:focus-visible::after{
	animation:none;
}
}

.member-back .arrow-link,
.member-back .arrow-link:hover,
.member-back .arrow-link:focus-visible{
	color:#000;
}

@media (min-width:1001px) and (max-width:1200px){
	.member-grid{
		grid-template-columns:repeat(4,minmax(0,1fr));
	}
}

@media (min-width:768px) and (max-width:1000px){
	.member-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}
