@charset "utf-8";


body{
  margin:0;
  background-color:white;
  border-top: 10px solid #55b7ff;
  border-bottom: 10px solid #55b7ff;
  font-family: 'Noto Sans JP', sans-serif;              
  line-height: 1.6;
}



#theme{
  background-color:#55b7ff;
  text-align:center;
  padding:12px 0;
  border-top: 5px solid #00c4ab;  
}


#topnav{
  text-align:center;
  margin-top:10px;
}

#topnav a{
  display:inline-block;
  background:#ffffff;
  border:1px solid #999;
  padding:6px 10px;
  margin:3px;
  text-decoration:none;
  color:black;
  font-size:14px;
}

#topnav a:hover{
  background:#f7f7f7;
}

#box{
  display:flex;
  width:1000px;
  margin:0 auto;
  padding:0;
}

#menu{
  width:240px;
  border-left: 5px solid #cce739;
  border-right: 5px solid #cce739;
  padding:10px;
  font-size:16px;
  line-height:28px;
}

#menu ul{
  padding-left:20px;
}


#contents{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; 
}


.wide-box{
  background: #fff;
  padding: 20px;
  margin: 20px auto;
}


.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.gallery-img{
  width: 100%;
  aspect-ratio: 4 / 3;  
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  display: block;
}


.category{
  border-bottom: 3px solid #000;
  background:#e0ffff;
  padding:5px;
  margin-top:18px;
  color:black;
}


.backhome{
  margin:12px 0;
}

.backhome a{
  display:inline-block;
  background:#55b7ff;
  color:white;
  text-decoration:none;
  padding:7px 12px;
  border:1px solid #2d77a6;
  font-size:14px;
}


table{
  border-collapse:collapse;
  width:100%;
  background:white;
}

th, td{
  border:1px solid #666;
  padding:8px;
  font-size:14px;
}

th{
  background:#f0f0f0;
}

#footer{
  text-align:center;
  border-bottom: 5px solid #00c4ab;
  margin-top:20px;
  padding:10px 0;
  font-size:12px;
}



.container{
  width:1000px;
  margin:0 auto;
  padding:10px;
}

.home-two-col{
  display:flex;
  gap:12px;
  margin-top:10px;
}

.home-left{
  width:55%;
  border:1px solid #aaa;
  padding:10px;
  background:#fff;
}

.home-right{
  width:45%;
  border:1px solid #aaa;
  padding:5px;
  background:#fff;
  text-align:center;
}


.wide-box{
  border:1px solid #aaa;
  padding:10px;
  background:#fff;
  margin-top:8px;
}

.gallery-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.thumb{
  width:120px;
  height:80px;
  border:1px solid #999;
  background:#fafafa;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#666;
}

.bigtitle{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;             
  margin: 30px 0 10px;  
}


.bigtitle-icon{
  width: 140px;
  height: auto;
  flex: 0 0 auto;
  opacity: 0.95;
}


.bigtitle-text{
  width: 520px;
  max-width: 70vw;
  height: auto;
  flex: 0 1 auto;
}


@media (max-width: 768px){
  .bigtitle-icon{
    display: none;
  }
}



.subtitle{
  text-align: center;
  margin: 10px 0 30px;
}

.subtitle img{
  width: 420px;      
  max-width: 80vw;   
  height: auto;
}


.note{
  font-size:12px;
  color:#666;
}

.home-img{
  width:65%;
  border:1px solid #999;
}

.members-wrap{
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.members-table{
  flex: 1;
  min-width: 0; /* はみ出し防止 */
}

.members-photos{
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.members-photos img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.schedule{
  line-height: 1.8;
}

.schedule .date{
  display: inline-block;
  width: 80px;      
}


.side-illust{
  position: absolute;
  top: 520px;        
  right: 40px;       
  display: flex;
  flex-direction: column;
  gap: 30px;
  pointer-events: none; 
}

.side-illust img{
  width: 220px;      
  height: auto;
  opacity: 0.9;      
}


.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);  
  gap: 24px;

  max-width: 1200px; 
  margin: 0 auto;
  padding: 10px;
}

.gallery-img{
  width: 100%;
  aspect-ratio: 4 / 3;  
  object-fit: cover;
  display: block;

  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}




.section-title{
  background:#e6ffff;
  border-bottom:3px solid #000;
  padding:10px;
  font-weight:bold;
  text-align:center;
}


.section-box{
  background:#fff;
  margin:20px auto;
  padding:30px;
  max-width:1000px;
  text-align:center;
}


.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
}


.gallery-grid img{
  width:100%;
  aspect-ratio: 1 / 1;   
  object-fit: cover;
  border-radius:12px;
  box-shadow:0 6px 15px rgba(0,0,0,.2);
}


.section-link{
  margin-top:20px;
}

.recruit-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.recruit-text{
  width: 65%;
}

.recruit-image{
  width: 260px;
  text-align: right;
}

.recruit-image img{
  width: 100%;
  height: auto;
}
.future-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.future-text{
  width: 65%;
}

.future-image{
  width: 300px;
  text-align: right;
}

.future-image img{
  width: 100%;
  height: auto;
}
.contact-image{
  text-align: center;
  margin: 20px 0;
}

.contact-image img{
  width: 420px;
  max-width: 90%;
  height: auto;
}
