@charset "utf-8";

/* お知らせ
============================================== */

.news-list {
	list-style: none outside;
	margin: 0;
	padding: 0;
}

.news-list .item a {
	display: flex;
	flex-wrap: wrap;
	flex-wrap: nowrap;
	text-decoration: none;
	color: #333;
	border-bottom: 1px solid #CCC;
	padding: 20px 20px;
}

.news-list .item:first-child a {
	border-top: 1px solid #CCC;
}

.news-list .item .date {
	margin: 0;
	min-width: 140px;
	font-size: 1.8vmin;
	color: #999;
	padding: 0 20px 0 0;
}

.news-list .item .category {
	margin: 0;
	min-width: 140px;
	padding: 0 20px 0 0;
}

.news-list .item .category span {
	background: #999;
	color: #FFF;
	text-align: center;
	display: inline-block;
	padding: 5px 0;
	font-size: 1.6vmin;
	line-height: 1;
	width: 80px;
	min-width: max-content;
}

.news-list .item .title {
	margin: 0;
	width: 100%;
}

.news-list .item a:hover .title {
	color: #00F;
}

.item-content {
	display: flex;
	align-items: center;
}

.item-meta {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.date,
.category {
	margin: 0;
}

.title {
	flex: 1;
}


@media screen and (max-width: 767px) {
	.news-list .item a {
		flex-wrap: wrap;
	}

	.item-meta {
		display: flex;
		flex-direction: row;
		width: 100%;
		align-items: center;
		margin-bottom: 10px;
		justify-content: flex-start;
	}

	.news-list .item .date {
		min-width: auto;
		margin-right: 0px;
		padding-right: 15px;
		font-size: 3vmin;
	}

	.news-list .item .category span {
		font-size: 3vmin;
	}

	.news-list .item .category {
		min-width: auto;
	}

	.news-list .item .title {
		width: 100%;
		margin-top: 0;
		font-size: 3vmin;
	}

	.announce-link {
		font-size: 3vmin !important;
	}
}

/* このような方へ
============================================== */

@media (max-width: 767px) {
	.message pre {
		font-size: 10px;
		white-space: pre-wrap;
		word-wrap: break-word;
	}

	.w-md-100 {
		width: 100% !important;
	}

}

/* ギャラリー
============================================== */
/* モーダル全体 */
.image-modal {
	display: none;
	/* 非表示 */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	/* 背景を暗く */
}

/* モーダル内の画像 */
.modal-content {
	display: block;
	margin: auto;
	max-width: 80%;
	max-height: 80%;
	animation: zoomIn 0.3s ease-in-out;
}

/* アニメーション */
@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* 閉じるボタン */
.close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
}

/* キャプション */
#caption {
	text-align: center;
	color: #ccc;
	font-size: 16px;
	margin-top: 10px;
}

/* ホバー時にカーソルをポインターに */
.gallery-img {
	cursor: pointer;
	transition: transform 0.3s ease;
	/* 画像のアニメーション */
}

/* ホバー時に少し拡大 */
.gallery-img:hover {
	transform: scale(1.05);
}


/* スタッフ
============================================== */

.staff-card {
	transition: transform 0.3s ease;
}

.staff-card:hover {
	transform: translateY(-5px);
}

.avatar-circle {
	width: 60px;
	height: 60px;
	background: linear-gradient(45deg, #4e73df, #36b9cc);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 1.2rem;
}

.badge {
	font-weight: normal;
	font-size: 0.8rem;
}

.list-unstyled li {
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
}

.btn-outline-primary {
	border-width: 2px;
}

.btn-outline-primary:hover {
	background-color: transparent;
	color: #4e73df;
	border-color: currentColor;
}


/* アクセス
============================================== */

.fixed-height-table tr {
	height: 60px;
	/* 固定の高さを設定 */
}

.fixed-height-table td,
.fixed-height-table th {
	vertical-align: middle;
	/* セル内の垂直方向の配置を中央に */
	line-height: 1.5;
	padding: 10px;
}

/* 大デバイス（デスクトップ, 992px 未満）
============================================== */
@media screen and (max-width: 991.98px) {
	.footer-logo {
		width: 100%;
	}
}

/* END */

/* 中デバイス（タブレット, 768px 未満）
============================================== */
@media screen and (max-width: 767.98px) {
	.gnav-item {
		display: block;
		width: 100%;
		border: none;
	}

	.gnav-item+.gnav-item {
		border: none;
	}

	table th,
	table td {
		padding: .25rem !important;
	}

	table th:first-child {
		width: 25%;
	}
}

/* END */

/* 小デバイス（縦向きモバイル, 576px 以上 デスクトップ, 992px 未満）
============================================== */
@media screen and (min-width: 576px) and (max-width: 991.98px) {
	#sec2 {
		height: 500px;
	}
}

/* END */

/* 小デバイス（縦向きモバイル, 576px 以上）
============================================== */
@media screen and (min-width: 576px) {
	#sec2 .message {
		position: absolute;
		left: 0;
	}
}

/* END */