@charset "UTF-8";
/* CSS Document */

*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body{
	color: #290e00;
	font-family: 'Kosugi Maru', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
	margin: 0;

	background-image: url(img/kazari/paper-bg.jpg);
	background-size: contain;
	background-position: top center;
	background-repeat: repeat;
	background-attachment: scroll;
	overflow-x:hidden;
	width: 100%;
}

html{
	scroll-behavior: smooth;
}

#site-header{
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
    display: flex;
	align-items: center;
	justify-content: space-between;
    padding: 0px 20px;  
    width: 100%;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 3px;
	z-index: 1000;
}
@media (max-width: 768px) {
  #site-header {
	background-color: rgba(255, 255, 255, 0.8)
  }
}
/*左上ロゴ画像*/
.site-logo img{
	height: 100px;
	width: auto; 
	transition: transform 0.1s ease; /* ← なめらかに動かす */
}
@media (max-width: 768px) {
  .site-logo img {
    height: 60px;
  }
}
.site-logo img:hover {
	transform: rotate(-5deg); /* ← 左に5度傾ける */
}


/*ナビゲーション*/
.gnav_menu  ul{
    display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gnav_menu_item{
    margin-left: 10px;
}
.gnav_menu_item a{
    color: #f8f6f2;
    text-decoration: none;
	font-size: 0.85em;
}
.menu-text {
  	font-size: 1.1em;
  	color: #290e00;
  	font-weight: bold;
  	text-decoration: none;
}
.menu-icon{
	width: 8rem;
	height: auto;
	vertical-align: bottom;
	opacity: 0.8;
	transition: transform 0.1s ease; /* ← スムーズな動き */
}
.menu-icon:hover {
	transform: rotate(5deg); /* ← 右に5度傾ける */
}
/* ハンバーガーメニューアイコン（スマホ用） */
.hamburger {
  	display: none; /* PCでは非表示 */
  	font-size: 2rem;
  	background: none;
  	border: none;
  	color: rgb(0, 122, 195);
  	cursor: pointer;
  	z-index: 1001;
}

/* スマホ用切り替え */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* スマホでは表示 */
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .gnav_menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8); /* 必要に応じて色調整 */
    width: 100%;
	max-height: 0;
    text-align: center;
    flex-direction: column;

	opacity: 0;
	overflow: hidden;
	transform: translateY(-10px);
  	transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  	pointer-events: none; /* 非表示状態ではクリックできないように */
  }

  .gnav_menu.active {
	max-height: 400px;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
  }

  .gnav_menu ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .gnav_menu_item {
    margin: 10px 0;
  }
}

/* spとpc表示切替 */
.menu-pc {
	display: inline;
} 
.menu-sp {
	display: none;
}
@media (max-width: 768px) {
  .menu-pc {
    display: none;
  }
  .menu-sp {
    display: inline;
  }
}




#top{
	padding: 100px 0 1px 0;
	background-image: url(img/kazari/paper-bg1.jpg);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-attachment: scroll;
}
#top img{
	margin: auto;
	display: block;
	transform: translateX(20px);
	width: 100%;
	max-width: 800px;
	height: auto;
}
.mainvisual{
  	position: relative;
 	width: 100%;
 	height: 380px; /* 必要に応じて調整 */
 	overflow: hidden;
 	margin-top: 2rem;
}
@media (max-width: 768px) {
	#top img{
		max-width: 700px;
		transform: translateX(0px);
	}
	.mainvisual {
 		height: 280px; /* 必要に応じて調整 */
  }
}
.mainvisual .scrolling-bg {
 	position: absolute;
 	top: 0;
 	left: 0;
 	width: 200%;
 	height: 100%;
 	background: url("img/2025mainvisual.png") repeat-x;
 	background-size: auto 100%;
 	animation: slideBg 60s linear infinite;
}
@keyframes slideBg {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

#about{
	background-color: #f8f6f2;
	padding: 1px 1px 40px;
	text-align: center;
	line-height: 3em;
}
.about-inner{
	width: 60%;
	max-width: 600px;
	margin: 0 auto;
}
@media(max-width: 768px){
	#about{
		font-size: 11px;
		line-height: 2.5em;
		padding: 1px 0px 40px;
	}
	.about-inner{
		width: 90%;
	}
}



.img-heading{
	position: relative;
	width: 100%;
	max-width: 320px;
	height: auto;
	display: block;
	margin: 10px auto;
}
@media(max-width: 768px){
	.img-heading{
		max-width: 200px;
	}
}

#schedule{
	margin: 0;
	padding: 10px 100px;
	background-color: rgba(255, 255, 255, 0.342);
}
@media (max-width: 768px) {
  #schedule {
	padding: 10px 60px;
  }
}
/*会場とチラシリスト*/
.event-grid {
  	display: grid;
 	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 	gap: 20px;
 	max-width: 1000px;
 	margin: 0 auto;
  	padding: 10px 20px 30px;
}
.event-card {
 	background-color: #f8f6f2;
 	border: 1px solid #ddd;
 	border-radius: 20px;
 	padding: 10px;
  	text-align: center;
  	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.event-card img {
  	max-width: 100%;
  	height: auto;
  	border-radius: 5px;
  	object-fit: cover;
}
.event-card img:hover {
	opacity: 0.4;
	transition: opacity 0.1s ease;
}
.event-card p {
  	margin: 10px 0 5px;
 	font-weight: bold;
}
@media(max-width: 768px){
	.event-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.event-card p{
		font-weight: lighter;
	}
}

#archive{
	margin: 0;
	padding: 10px 100px 30px 100px;
	text-align: center;
}
@media (max-width: 768px) {
  #archive {
	padding: 10px 10px 30px;
  }
}

#credit{
	background-color: rgb(4, 170, 114);
	color:#fff;
	font-size: 14px;
	line-height: 20px;
	margin: 0 auto;
	padding: 30px  0 100px;
	text-align: center;
}
@media(max-width: 768px){
	#credit{
		padding: 30px 45px 100px;
		width: 100%;
	}
}

#site-footer{
	background-color: rgba(255, 255, 255, 0.342);
	font-size: 12px;
	line-height: 16px;
	margin: 0 auto;
	padding: 6px;
	text-align: center;
}

#backToTop{
	position: fixed;
	bottom: 40px;
	right: 40px;
	display: none;
	z-index: 999;
	background: transparent;
	border: none;
	cursor: pointer;
}
#backToTop .btn-content{
	position: relative;
	display: inline-block;
}
#backToTop img{
	width: 100px;
	height: auto;
	display: block;
	transition: transform 0.1s ease; /* ← スムーズな動き */
}
#backToTop img:hover{
	transform: rotate(5deg); /* ← 右に5度傾ける */
}

#backToTop .btn-text{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: inherit;
	font-size: 16px;
	pointer-events: none;
}

.button {
  	display: inline-block;
  	padding: 0.6em 1.2em;
  	margin: 10px;
  	font-size: 1.2rem;
  	font-weight: bold;
  	line-height: 1.5rem;
  	color: white;
  	background-color: #0056b3;
  	border: none;
  	border-radius: 25px;
  	text-align: center;
  	cursor: pointer;
  	transition: background-color 0.1s ease;
  	text-decoration: none;
}
@media(max-width: 768px){
	.button{
		font-weight: lighter;
	}
}

.button:hover {
 	background-color:rgb(236, 97, 0) ;
}

.button-s {
  	display: inline-block;
  	padding: 0.6em 1.2em;
  	margin: 0;
  	font-size: 0.8rem;
  	font-weight: bold;
  	line-height: 1rem;
  	color: #fff;
  	background-color: rgb(236, 97, 0);
  	border: none;
  	border-radius: 20px;
  	text-align: center;
  	cursor: pointer;
  	transition: background-color 0.1s ease;
  	text-decoration: none;
}
@media(max-width: 768px){
	.button-s{
		font-weight: lighter;
	}
}
.button-s:hover {
  	background-color: #0056b3;
}

th {
    background-color: rgb(255, 123, 154);  /* 背景色指定 */
	color: white;
	border-top:1px solid rgb(255, 123, 154);
	padding:10px;
	text-align: left;
	letter-spacing: 3px;
	border-radius: 5px;
}
td{
	border-bottom:1px solid #666;
	padding:10px;
}
h2{
	position:relative;
	text-align: center;
	font-size: 26px;
	margin: 10px;
	letter-spacing: 2px;
	padding: 10px 20px;
}

h3{
	font-size:22px;
	margin: 10px;
	padding-top: 2px;
	
}
h4{
	font-size: 15px;
	margin: 10px;
}
.font-s{
	font-size: 0.85em;
}
.font-m{
	font-size: 1.15em;
}
.font-l{
	font-size: 1.25em;
}
.spacer-s{
	height: 8px;
}
.spacer-m{
	height: 15px;
}
.spacer-l{
	height: 30px;
}
.goti { 
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 600;
}

