@charset "utf-8";

/* body----------*/
:root {
	/* size */
	--site-max-width: 1280px;
	--space-LR: 40px;
	--space-LR-sp: 8px;
	--space-contents-LR: 15.25%;/* ウィンドウ幅1440pxの時に220pxぐらい*/
	--color-lightB: #d3e7f5;
	--color-textB: #578886;
	--color-textG: #9c9c9c;
	--color-lightG: #f4f4f4;
	--color-boldB: #1c468b;
	--color-wh: #fff;
}

body {
    line-height: 1.5em;
	  background-color: var(--color-lightB);
    margin: 0;
    overflow-x: hidden;
}
.wrapper {
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
header,
footer {
    padding: 0 var(--space-LR);
    position: sticky;
    top: 0;
    left: 0;
    text-align: center;
    padding-bottom: 16px;
    z-index: 10;
}
main {
    position: relative;
    padding-top: 50px;
    padding-bottom: 0;
}

.sp {
	display: none;
}
#menu {
    display: none;
}
a {
	  text-decoration: none;
}
/* header----------*/

header {
    padding-bottom: 16px;
    background-color: rgba(239, 245, 120, 0.6);
}
.logo-area {
    margin: 0 auto;
    padding-top: 16px;
}
.logo-area h1 {
    margin: 0;
    font-size: 1.5em;
    color: var(--color-textB);
    font-weight: normal;
	  margin: 0;
    padding-top: 16px;
}
.logo-area h1 a {
	  color: var(--color-textB);
}
.logo-area h1 a:hover {
    color: var(--color-lightG);
    font-weight: bold;
}
.logo-area h2 {
	  margin: 0;
    padding: 16px 0 32px;
    font-weight: bold;
    font-size: 2em;
    color: var(--color-wh);
}
.header-nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0 80px;
    margin: 0;
    gap: 15px;
	  color: var(--color-textB);
}
.header-nav ul li {
    display: block;
    width: 110px;
    text-align: center;
}
.header-navul li a {
    display: block;
    padding: 8px 32px;
}
nav ul li a:hover {
    border-radius: 40%;
    color: var(--color-wh);
} 
nav ul li a 
#home nav .nav1 a,
#web_01 nav .nav2 a,
#web_02 nav .nav3 a,
#banner nav .nav4 a,
#illustratiion nav .nav5 a,
#about nav .nav6 a {
	font-weight: bold;
}
/* 落ちるアニメーション ---------------*/
.alphabet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 60%;
}
.alphabet-item {
  position: absolute;
  top: -120px;
  max-width: 120px;
  height: 100%;
}

.alphabet-item img {
  width: 100%;
  height: auto;
  box-shadow: none;
}

@keyframes fall {
      0% { 
      transform: translateY(-120px);
      }
      100% { 
      transform: translateY(110vh);
      }
}

@keyframes float {
    0% { transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(-20px); }
}	
@keyframes fallFloat {
      0% {
        transform: translate(0, -120px) rotate(0deg);
      }
      50% {
        transform: translate(15px, 50vh) rotate(5deg);
      }
      100% {
        transform: translate(-15px, 110vh) rotate(-5deg);
      }
}
.a1 {
  left: 5%;
  animation: fallFloat 12s linear infinite;
}

.a2 {
	left: 15%;
	max-width: 70px;
	height: 100%;
	animation: fallFloat 15s linear infinite;
	animation-delay: 0.5s; 
}

.a3 {
  left: 25%;
  animation: fallFloat 10s linear infinite;
  animation-delay: 2s;
}
.a4 {
  left: 35%;
  animation: fallFloat 17s linear infinite;
  /* animation-delay: 0.5s; */
}

.a5 {
  left: 45%;
  width: 60px;
  animation: fallFloat 14s linear infinite;
  animation-delay: 1.5s;
}

.a6 {
  left: 55%;
  animation: fallFloat 12s linear infinite;
  animation-delay: 1s;
}
.a7 {
  left: 65%;
  animation: fallFloat 9s linear infinite;
  animation-delay: 2.5s;
}
.a8 {
  left: 75%;
  animation: fallFloat 19s linear infinite;
  animation-delay: 1s;
}
.a9 {
  left: 85%;
  max-width: 150px;
  height: auto;
  animation: fallFloat 10s linear infinite;
  animation-delay: 2s;
}
.a10 {
  left: 95%;
  animation: fallFloat 9s linear infinite;
  animation-delay: 3s;
}

.alphabet-item {
    box-shadow: none;
    width: 100%;
    height: 100%;
    display: block;
}

/* main-------------------*/

main .wrapper {
    padding: 0 var(--space-LR);
	box-sizing: border-box;
}

main h2 {
	color: var(--color-textB);
	font-size: 1.6em; 
    padding: 32px 0;
    text-align: center;
    font-weight: normal;
}

#grid-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 24px;
    
}

.block {
    background-color: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    text-align: center;
}
.block p {
    padding-top: 10px;
    color: var(--color-textB);
    font-size: 0.8em;
    font-weight: bold;
}
.block h3 {
    font-weight: normal;
    color: var(--color-textB);
    border-bottom: 2px solid var(--color-textB); 
    font-size: 1.1em;
    margin: 20px 0;
}
.block li {
    list-style: inside;
    font-size: 0.8em;
    color: #333;
    text-align: left;
    list-style: none;
}
.tool {
    text-align: left;
}
.shadow img,
.tool img {
    box-shadow: none;
}


/* footer -------------------------*/

footer {
	  background-color: #e5eff5;
    text-align: center;
    padding: 48px 0;
}

footer small {
  color: var(--color-textB);
}
footer,
footer a {
	color: var(--color-text);
	line-height: 2em;
}
footer a {
	font-weight: bold;
}
footer a:hover {
	font-weight: bold;
	border-radius: 40%;
}
.footer-nav ul {
  color: var(--color-textB);
	display: grid;
	margin: 0 var(--space-contents-LR) 1em;
	grid-template-columns: repeat(6, 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,
#about .footer-nav .nav6 a {
	text-decoration: underline;
}


/* レスポンシブデザイン ---------------*/
 @media (max-width: 600px) {

  header,
  footer {
        padding: 0 var(--space-LR-sp);
        position: sticky;
        top: 0;
        left: 0;
        text-align: center;
        padding-bottom: 8px;
        z-index: 10;
    }

		.alphabet-item {
        max-width: 60px;
        height: 70px;
		}
		.a2 {
        max-width: 30px;
        height: 30px;
		}
		.sp {
        width: 100%;
        display: block;
        text-align: right;
        padding-bottom: 8px;
		}
    .sp img {
        box-shadow: none;
        }
        
	header {
        position: sticky;
        z-index: 10;
        top: 0;
        left: 0;
        background-color: rgba(239, 245, 120, 0.6);
		}
	header .wrapper {
        align-items: center;
        padding: 0;		
		}

	label[for="menu"] {
			  z-index: 11;
		}
	#menu:checked ~ ul {
			  display: flex;
		}
	.logo-area {
        display: block;
        text-align: center;	
		}
	.logo-area h1 {
        vertical-align: middle;
        margin: 0 auto;
		}

	.header-nav ul {
        display: none;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 40px 0;
        color: var(--color-boldB);

		}
    .header-nav ul li {
        display: block;
        margin: 0 auto;
        }
		.header-nav ul li a {
		    padding: 5px 0;
		}
		.header-nav ul li a:hover {
			  border-radius: 20%;
		}

    main .wrapper {
            flex-direction: column;
            align-items: flex-start;
            padding: 0 var(--space-LR-sp);
        }
        .block {
            padding: 16px 24px;
        }
        .block p {
            font-size: 1em;
        }
        .block h3 {
            font-size: 1.2em;
        }
        .block li {
            font-size: 1em;
        }

		footer {
        margin: 0;
        padding: 0;
		}
		.footer-nav {
        padding: 32px 0;
        font-size: 0.8em;
		}
		.footer-nav ul {
			  grid-template-columns: none;
		}
		.footer-nav ul li {
        margin-top: 8px;
        width: 100%;
		}

}