/**
 * KFBパンフェス2026 - ページ専用スタイル
 * index.html から外だししたスタイル
 */

header .header-anniversary {
	text-align: center;
	margin-top: 10px;
	font-size: 30px;
	font-weight: bold;
	color: #42210b;
}

@media screen and (max-width: 680px) {
	header .header-anniversary {
		font-size: 14px;
		margin-top: 8px;
	}
}

nav {
	position: fixed;
	width: 100%;
	top: 0px;
	z-index: 10000;
}

.menu-container {
	margin: 0;
}

.menu-container .menu {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-container .menu .menu-item {
	flex: 1;
}

.menu-container .menu .menu-item a {
	background: rgb(66, 33, 11);
	border: 1px solid #ccc;
	border-right: none;
	color: #fff;
	font-weight: bold;
	display: block;
	padding: 0.6em 0.4em;
	text-align: center;
	text-decoration: none;
}

.menu-container .menu .menu-item a:hover {
	background: #ccc;
	color: #ffffff;
}

.menu-container .menu .menu-item:last-child a {
	border-right: 1px solid #ccc;
}

.info {
	padding: 0 300px 10px 300px;
}

.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: 16px;
	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 20px;
	font-size: 12px;
	line-height: 1;
}

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

.news-list .item .new span {
	background: #f80000;
	color: #FFF;
	text-align: center;
	display: inline-block;
	padding: 5px 20px;
	font-size: 12px;
	line-height: 1;
}

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

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

.panmap img {
	width: 80%;
}

.pmap {
	font-size: 40px;
	font-weight: 600;
}

.event_box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 2px dotted #AB8656;
	gap: 50px;
}

.event_box_left1 {
	flex: 1;
	text-align: left;
}

.event_box_right {
	flex: 1;
}

.time_box {
	margin-top: 20px;
	text-align: center;
	gap: 60px;
}

.no01 {
	font-weight: bold;
}

.in__box {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.imgbox img {
	max-width: 100%;
	height: auto;
}

.in__text {
	text-align: center;
	margin-top: 10px;
}

.margin-bottom {
	margin-bottom: 25px;
}

.anchor {
	scroll-margin-top: 80px;
}

@media screen and (max-width: 768px) {
	header {
		padding-top: 150px;
	}

	.menu-container .menu {
		flex-wrap: wrap;
		width: 100%;
	}

	.menu-container .menu .menu-item {
		flex: auto;
		width: 33.33333333%;
	}

	.menu-container .menu .menu-item:nth-child(3n) a {
		border-right: 1px solid #ccc;
	}

	.menu-container .menu .menu-item:nth-child(n + 4) a {
		border-top: none;
	}

	.info {
		padding: 0 0 10px 0;
	}

	.news-list .item a {
		flex-wrap: wrap;
	}

	.news-list .item .date {
		min-width: 100px;
	}

	.panmap img {
		width: 100%;
	}

	.pmap {
		font-size: 20px;
		font-weight: 600;
	}

	.event_box {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.event_box_left1 {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.event_box_right {
		margin-right: 0;
	}

	.time_box {
		margin-top: 20px;
		text-align: center;
		gap: 10px;
	}

	.anchor {
		scroll-margin-top: 130px;
	}

	.event_box_right1 .in__box .in__text {
		font-size: 10px;
	}
}

@media screen and (max-width: 680px) {
	.event_box_left1 .time_box .no01 {
		width: 30%;
		background: #604C34;
		color: #fff;
		padding: 2px 0;
		margin-bottom: 5px;
	}
}

.floating-banner {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	display: block;
	width: 150px;
}

.instagram-icon {
	font-size: 1.15em;
}

.floating-banner img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	animation: smoothSwing 4s linear infinite;
}

@keyframes smoothSwing {
	0% {
		transform: rotate(0deg);
	}
	10% {
		transform: rotate(10deg);
	}
	20% {
		transform: rotate(-10deg);
	}
	30% {
		transform: rotate(10deg);
	}
	40% {
		transform: rotate(-10deg);
	}
	50% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

@media screen and (max-width: 600px) {
	.floating-banner {
		width: 100px;
		bottom: 10px;
		right: 10px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	}
}

@media screen and (max-width: 600px) {
	.event_box_right1 .in__box {
		width: 32%;
		margin-right: 1%;
	}
}

.notice-bar {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px 25px;
	background-color: #fff8e1;
	color: #5d4037;
	border: 1px solid #ffe0b2;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	line-height: 1.8;
	font-size: 16px;
	text-align: left;
}

.notice-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #d84315;
	border-left: 6px solid #ffcc80;
	padding-left: 10px;
}

.notice-body {
	font-size: 16px;
	color: #5d4037;
}

@media (max-width: 600px) {
	.notice-bar {
		margin: 20px 10px;
		padding: 20px 15px;
		font-size: 15px;
		line-height: 1.6;
		text-align: left;
	}

	.notice-title {
		font-size: 18px;
	}

	.notice-body {
		font-size: 15px;
	}
}
