@charset "utf-8";
/* body----------*/
:root {
	/* size */
	--site-max-width: 1280px;
	--space-LR: 40px;
	--space-LR-sp: 16px;
	--space-contents-LR: 15.25%;/* ウィンドウ幅1440pxの時に220pxぐらい*/
	--color-logo: #2E3192;
	--color-orange: #F7931E;
	--color-yellow: #FCEE21;
	--color-text: #333;
	--color-lightG: #ccc;
	--color-wh: #fff;
}
body {
	line-height: 1.5em;
	background-image: url(../images/base.jpg);
	background-repeat: repeat-y;
}
img {
	max-width: 100%;
	height: auto;
}

header,
footer {
	padding: 0 var(--space-LR);
}
main {
	padding-top: 0;
	padding-bottom: 0;
}
.wrapper {
	width: 100%;
	max-width: var(--site-max-width);
	margin: 0 auto;
	box-sizing: border-box; /* paddingやborderを含めて幅を計算*/
}
.sp {
	display: block;
}
a {
	text-decoration: none;
}
/* header----------*/

header {
	background-color: rgba(255, 255,255, 0.7);
	position: sticky;
	z-index: 10;
	top: 0;
	left: 0;
}

.logo-area {
	display: flex;
	justify-content: flex-start;
	padding: 8px 0;
}
.logo-area a {
	width: 48px;
	display: block;	
}
.logo-area p {
	color: var(--color-logo);
	margin-left: 8px;
	font-weight: bold;
}
.logo-area small {
	font-weight: normal;
	margin-left: 8px;
}

nav {
	display: block;
	width: 100%;
}
nav input {
	display: none;
}
.sp {
	display: none;
}
nav ul {
	display: flex;
	justify-content: right;
	gap: 20px;
	font-size: 1.5em;
	font-weight: bold;
	padding-bottom: 16px;
}
nav ul li {
	text-align: center;
	vertical-align: middle;
}
nav ul li a {
	display: block;
	padding: 8px 24px;
	color: var(--color-orange);
}
nav ul li a:hover {
	background-color: var(--color-wh);
	border-radius: 40%;
	color: var(--color-logo);
} 
nav ul li a 
#home nav .nav1 a,
#news nav .nav2 a,
#event nav .nav3 a,
#about nav .nav4 a,
#contact nav .nav5 a {
	text-decoration: underline;
}
/* main-------------------*/

.mainVisual {
    animation: mainVisual 3s ease-in-out infinite  alternate;
    margin: 15px 0 60px;
}
.mainVisual img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.sp-visual {
    display: none;
}
 
@keyframes mainVisual {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}
.button_1 {
	position: fixed; 
    top: 120px; 
    left: 24px;    
    background-color: var(--color-logo); 
    color: var(--color-wh);    
    padding: 10px 32px;   
    border-radius: 10%; 
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 11; 
    transition: background-color 0.3s;
}
.button_1:hover {
       background-color: var(--color-yellow); 
	   color: var(--color-orange);
}
.button_2 {
	position: fixed; 
    bottom: 32px; 
    right: 16px;    
    padding: 10px;   
    cursor: pointer;
    z-index: 11; 
    transition: background-color 0.3s;
}
.button_2:hover {
       background-color: var(--color-wh); 
	   color: var(--color-bk2);
}
.button_pf {
	position: fixed; 
    top: 8px; 
    right: 16px;    
    padding: 10px;   
    cursor: pointer;
    z-index: 20; 
    transition: background-color 0.3s;
}

/* footer -------------------------*/
footer {
	text-align: center;
	padding-top: 24px;
	padding-bottom: 40px;
}
footer,
footer a {
	color: var(--color-text);
	line-height: 2em;
}
footer a {
	font-weight: bold;
}
footer a:hover {
	font-weight: bold;
	background-color: var(--color-wh);
	color: var(--color-orange);
	border-radius: 40%;
	padding: 8px 24px;
}
footer ul {
	display: grid;
	margin: 0 var(--space-contents-LR) 1em;
	grid-template-columns: repeat(5, 1fr);
}
#home footer nav .nav1 a,
#news footer nav .nav2 a,
#event footer nav .nav3 a,
#about footer nav .nav4 a,
#contact footer nav .nav5 a {
	text-decoration: underline;
}

/* レスポンシブデザイン */
 @media (max-width: 600px) {

     	.wrapper {
			flex-direction: column;
			align-items: flex-start;
     	}
		.sp {
			display: block;
			text-align: right;
			padding-bottom: 8px;
		}
		
		header .wrapper {
			align-items: center;
		}

		label[for="menu"] {
			z-index: 20;
		}
		#menu:checked ~ ul {
			display: flex;
		}
		.logo-area {
			display: block;
			text-align: center;	
		}
		.logo-area h1 {
			width: 32px;
			vertical-align: middle;
			margin: 0 auto;
		}
		nav ul {
			display: none;
			flex-direction: column;
			justify-content: center;
			width: 100%;
			padding-top: 60px;
		}
		nav ul li a {
			padding: 5px 0;
		}
		nav ul li a:hover {
			border-radius: 20%;
		}
		nav ul li:last-child {
			margin-bottom: 40px;
		}
		nav ul li a::after {
			background-color: transparent;	
		}

		.mainVisual {
            display: none;
    	}
		.sp-visual {
			animation: mainVisual 3s ease-in-out infinite  alternate;
			display: block;
			max-width: 100%;
			height: auto;
			margin: 48px 0;
			margin-bottom: 32px;
		}
			
			@keyframes sp-visual {
			0% {
				transform:translate(0, 0) rotate(-7deg);
			}
			50% {
				transform:translate(0, -7px) rotate(0deg);
			}
			100% {
				transform:translate(0, 0) rotate(7deg);
			}
		}
    
	
		.button_1 {
			position: fixed; 
			top: 150px;
			left: 24px;
		}
		footer {
			margin: 0;
			padding: 0;
		}
		.footer-nav {
			padding: 32px 0;
			font-size: 0.8em;
		}
		footer ul {
			grid-template-columns: none;
		}
		footer ul li {
			margin-top: 8px;
			width: 100%;
		}

}		

