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

.schoolmap {
width: 70%;
}
.schoolmap外 {
width: 50%;
}

.logo-img {
  width: 10px;
  margin-right: auto;
  display: block;
  transition: width 0.2s, max-height 0.2s;
}

#searchOverlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center; align-items: center;
}
#searchResults {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 0 20px #0004;
  margin: 5vh auto;
}
#closeBtn {
  float: right;
  font-size: 1.2em;
  cursor: pointer;
  color: #888;
}



.shinbun {
	padding-left: 30px;
	text-decoration: none;
	color: #000000;
}

.shinbun:visited {
  color: #000000;
	
}


#principal {
	margin-left: 30px;
	display: flex;
	align-items: center
}



#namae {
	font-size: 50px;
	margin-left: 70px;
}
hr.kocho {
	margin-top: 30px;
}

#greeting {
	margin-left: 30px;
	line-height: 200%;
	margin-right: 30px;
	
}

#site-header {
  display: flex;
  align-items: center;
  padding-bottom: 5px;
  background-color: #00bfff;
  justify-content: space-around;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
	
}

.link {
  text-decoration: none;
  color: #ffffff;
  margin-left: 10px;
}

.link:visited {
  color: #ffffff;
	
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding-left: 0;
  gap: 50px;
  justify-content: space-around;
}

.item a {
  color: #ffffff;
  text-decoration: none;
  font-size-adjust: auto;
	font-size: 20px;
  font-weight: bold;
}

.item a:hover {
  color: #007fa8;
}

#searchInput {
  flex-grow: 0.6;
  min-width: 180px; /* 必要に応じて最小幅を指定 */
  margin-right: 0px;
}

#searchInput::placeholder {
  text-align: left;
  font-size: 80%;
}

#searchBtn {
  height: 28px;
  width: 50px;
  margin-left: 5px;
  margin-right: 10px;
}

#searchOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  overflow-y: auto;
}

#searchResults {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#closeBtn {
  float: right;
  cursor: pointer;
  background: #f44336;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
}

#resultsConsole {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 14px;
  background: #ffffff;
  color: #000000;
  padding: 10px;
  border-radius: 6px;
  min-height: 120px;
  max-height: 360px;
  overflow-y: auto;
  margin-top: 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

footer {
  display: flex;
  padding-left: 10px;
}

footer img {
  width: 100px;
}

#footerh3 {
  align-items: flex-end;
  font-weight: bold;
  margin: 30px;
  font-size: 100%;
  padding-top: 10px;
  color: darkblue;
}

#footerp {
  margin: 30px;
  padding-top: 10px;
}

body.border {
	padding-left: 10px;
}

div.border {
	padding-left: 10px;
}


span.heading{
		font-weight: bold;
		font-size: 20px;
		color: #0B5394
	}

div.border {
  padding: 10px;
  border-top: 3px solid #EAE9E9;
		
}

#table {
	padding-left:  20px;
}


.tenmonbu {
  text-align: center;
  font-size: 550%;
  margin-top: auto;
  margin-bottom: 30px;
  padding: 150px;
  letter-spacing: 6px;
  background-image: url(school.jpg);
  background-color:rgba(255,255,255,0.4);
background-blend-mode:lighten;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #000000;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-style: italic;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}


.bukatsumidashi {
	color: #93C47D;
	font-style: italic;
	font-size:200% ;
	padding-left: 30px;
}

.bukatushoukai  {
	display: flex;
	padding-left:30px;
	margin-bottom: 15px;
	
}

.bukatsunamae {
	font-weight: bold;
	font-size: 180%;
	line-height: 50px;
	
}

.bukatsuimage {
	
	min-width: 450px;
	width: 30%;
	height: 300px;
	object-fit: cover;
}

.bukatsutext {
	display:block;
		padding-left: 50px;
	line-height: 50px;
}



/* ===== レスポンシブ対応 ===== */
@media (max-width: 900px) {
  .logo-img {
    width: 150px;
    max-height: 120px;
    margin-right: 24px;
  }
  .nav-list {
    gap: 16px;
  }
  .item a {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  #site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
    gap: 8px;
  }
  .logo-img {
    width: 120px;
    max-height: 80px;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding-left: 0;
  }
  .item a {
    font-size: 16px;
  }
  #searchInput, #searchBtn {
    width: 80%;
    margin-top: 8px;
  }
}