body {
  background-color: black;
  color: white;
  font-family: Verdana;
}

.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 100%
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 100%
  
}

a{
font-weight:bold;
text-decoration:none;
}

a:link { /*アクセスしたことのないリンク*/
color:#33CC00;

}

a:visited { /*アクセスしたことのあるリンク*/
color:#366b24;
}

.contents{
  padding: 10px 100px 10px 100px; } /*上右下左*/
  
.header{
  padding: 50px 50px 10px 50px; }
  
body.zen-kaku-gothic-new-light .shirohaikei{
  padding: 10px 100px 10px 100px;
  color: black;
}
  
.flex {
  display: flex; /*横並び*/
}
.flex .image {
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.flex .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex .right {
  margin: 0 0 0 20px;
  padding: 0;
}
.flex .title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 18px;
}
.flex .text {
  margin: 10px 0 0;  
  padding: 0;
}

#container {
  display: flex;
  flex-wrap: wrap;
}
#container.gallery img {
  flex-grow: 1;
  object-fit: cover;
  height: 200px;
  max-width: 400px;
  margin: 0.2rem;
  border-radius: 4px;
  cursor: pointer;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: auto;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  z-index: 9998;
}

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 60px;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  line-height: 1;
  z-index: 10000;
}

#prev {
  left: 20px;
}

#next {
  right: 20px;
}

.nav-btn:hover {
  background: rgba(0,0,0,0.35);
}





  