@charset "UTF-8";

*{
    box-sizing: border-box;
}


html {
  font-family: 'Cinzel', serif;
}

body {
  margin: 0;
  color: white;
  font-family: 'Cinzel', serif;

  /* 夜明けグラデーション */
  background: linear-gradient(to bottom, #050847 0%, #28305d 40%, #ccae9f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}


/* ここから星空背景だよ */
#starry_sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 200vh;
  z-index: -1; /* 重要：他のコンテンツより後ろすぎないように調整 */
  pointer-events: none;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  top: 0;
  left: 0;
  box-shadow: 0 0 10px white;
  animation: shooting 2s linear infinite;
}

@keyframes shooting {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(300px, 300px);
    opacity: 0;
  }
}
/* ここまで星空背景 */


/*img {
    max-width: 100%;
    z-index: 2;
} */

header{
    text-align: center;
    background-color: #1B2A49;
    padding: 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  z-index: 1000; 
}

.logo img {
 width: 200px;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
}

.logo img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5F7FA, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo img:active::after {
  transform: scaleX(1);
}


.nav ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
   
}

header .nav a:link {
    color: #F5F7FA;
}

header .nav a:visited {
    color: #F5F7FA;
}

.nav a{
    text-decoration: none;
}

.nav a:hover {
    text-decoration:  solid ;
}

/*ナビのキラキラ*/

.nav ul li a {
 width: 200px;
 text-align: center;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  padding-bottom: 0.3em;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5F7FA, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav ul li a:active::after {
  transform: scaleX(1);
}

/*ナビのキラキラ終わり*/

.main {
    margin-left: 250px;
    margin-right: 250px;
}

.hero {
    margin-top: 130px;
    text-align: right; 
    display: grid;
    grid-template-columns: 1fr;
}


.vertical-line {
  height: 100px;
  border-left: 1px solid #f5f7faa6; 
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 150px;
}

h2 {
    margin-top: 200px;
    margin-bottom: 20px;
    font-size: 3rem;
    border-bottom: 1px solid  #f5f7faa6;
    width: 300px;
    text-align: center;
}

#news {
    margin-top: 200px;
}

.news {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 50px;
    justify-content: center;
    align-items: center;
    font-family: none;
}

/*.more {
    align-items: right;
    text-align: center;
    width: 200px;
    border-bottom: 2px solid #F5F7FA;
    margin-top: 50px;
} */

.view {
  display: flex;
  justify-content: flex-end;
  margin: 2rem 0;
  position: relative;
}

.more {
 border-bottom: 1px solid #F5F7FA ;
 width: 200px;
 text-align: center;
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  padding-bottom: 0.3em;
}

.more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5F7FA, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.more:active::after {
  transform: scaleX(1);
}

#plofile {
    margin-top: 200px;
    margin-bottom: 200px;
    z-index: 999;
}

.stela {
    text-align: center;
    font-family: none;
}

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

.member {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    /*max-width: 400px;*/
    text-align: center;
    margin-top: 50px;
    

}

.member img {
    max-width: 400px;
    width: 100%;
  height: auto;
}

.member h3 {
    padding-top: 10px;
    text-align: left;
    font-size: 2.2rem;
}

.member p {
    padding-top: 15px;
    font-family: none;
}

footer {
    text-align: center;
    justify-content: center;
    padding: 50px;
    color: #1B2A49 ;
    background-color: #FBAED2;
}

footer .nav a  {
  color: #1B2A49;
}

.copyright {
    padding-top: 20px;
}


@media(max-width:767px) {

  .nav ul {
 flex-wrap: wrap;
 gap: 20px;
  }

  .hero {
    margin-top: 100px;
    text-align: right; 
    display: grid;
    grid-template-columns: 1fr;
}

  .news {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    font-family: none;
}

.main {
  margin-left: 30px;
  margin-right: 30px;
}

.member {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    /*max-width: 400px;*/
    text-align: center;
    margin-top: 50px;

}

h2 {
    margin-top: 100px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    border-bottom: 1px solid  #f5f7faa6;
    width: 150px;
    text-align: center;
}

.vertical-line {
  height: 50px;
  border-left: 1px solid #f5f7faa6; 
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 75px;
}

}

/*画像のきらん*/
figure {
  padding: 0;
  background: none;
  overflow: hidden;
  position: relative;
  width: 250px;
  height: 189px;
}

figure::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: '';
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
figure:hover::before {
  -webkit-animation: shine .75s;
  animation: shine .75s;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}