/*======================================

	Custom CSS
	Copyright (c) 2025, PROACTIVE Inc. All rights reserved.

=======================================*/

/*  HOME  */

.main-img div{
	text-align: center;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 2.15rem 0 1.5rem 0;
}

.top-lecture{
	position: absolute;
	top: 500px;
}

@media screen and (min-width: 1025px) {
	.main-img{
		/*height: calc(50% + 26rem);*/
		height: 1086px;
	}
	.main-img div img{		
		width: 850px;
	}
	
}
@media screen and (max-width: 1024px) {
	.main-img{
		aspect-ratio: 12 / 10.25;
		height: auto;
	}
	.main-img div {
		padding: .25rem 1rem 0.75rem;
	}
	.chair img{
		width: 100%;
	}	
	.top-lecture{
		top: calc(30% - 5rem);
}
}
	
@media screen and (max-width: 599px) {
	.main-img{
		aspect-ratio: 12 / 10;
		height: auto;
	}
}


/* --- English --- */
@media screen and (min-width: 1025px){
	.en-menu{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap:2.5rem;
	}	
	.en-menu::after{
		display: block;
		content: "";
		width: 310px;
	}
}
.en-menu li {
	margin-bottom: 1.5rem;
}

.en-menu li a{
	padding: 1rem 1.5rem;
	background-color: rgba(247, 243, 243, 1);
	display: inline-block;
	width: 310px;
	border-radius: 10px;
	color: #111;
	text-decoration: none;
	border: 1px solid #A24F4F;
}
.en-menu li a:not([href]){
	color: #ccc;
}

.en-menu li a[href]:hover{
	background-color: #fff;
	color: #A24F4F;
}

@media screen and (max-width: 375px){
	.en-menu li a{
		width: 300px;
	}
}

/* --- 大会長挨拶 --- */
.greeting button {
	padding: .5rem 1rem;
	background-color: #F7F3F3;
	border-radius: 30px;
	color: var(--text--color);
	text-decoration: none;
	border: 1px solid #A24F4F;
	margin-right: .5rem;
	box-shadow: 1px 1px 3px #888;
}

.greeting button:hover{
	color: #A24F4F;
	background-color: #fff;
}

.greeting button.selected{
	color: #fff;
	background-color: #A24F4F;
	box-shadow: none;
}
.greeting-en{
	display: none;
}

.greeting-jp,.greeting-en{
	margin-bottom: 5rem;
}

.greeting dl{
	margin-top: 2rem;
}

.greeting dl dt{
	font-weight: bold;
	margin-top: 1rem;
}

.greeting dl dd{
	margin: 0;
}

@media screen and (min-width:1025px) {
	.greeting-prof {
		display: flex;
		align-items: flex-end;
		column-gap: 2rem;
	}
}

@media screen and (max-width:1024px){
	.greeting-prof{
		text-align: center;
	}
	.greeting-prof img{
		margin-bottom: 2rem;
	}
}

/* --- 大会組織 --- */
.org-chair-name dd{
	margin: 0.5rem 0 2rem;
}

.name-list li {
	margin-bottom: .25rem;
}

@media screen and (max-width:599px){
	.name-list li {
		margin-bottom: .5rem;
	}
	
	.name-list li span::after{
		content: "\A";
		white-space: pre;
	}
}

/* --- 開催概要 --- */
