
/*◇共通◇*/
.yomogi-regular {
  font-weight: 400;

  font-style: normal;
  font-family: "Yomogi", cursive;
}

h1 {
  font-size : 2.5em;
  color:#226677;  text-shadow: 2px 2px #ffeeaa79;
  text-align: center;
}

body {
  font-size : 1.5em;  font-weight: bolder;
  text-align: center;  z-index: -2;
  min-height: 100vh;	

  background-image: url(system/haikei.png);
  font-family: 'Yomogi', cursive;
}

.texture {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background-image: url(system/texture.png);
}

.button_hai
{
  position: fixed;
  bottom: 0; left: 0;
  height: 60px;
  width: 100%; height: 6.5%;
  background-image: url(system/button_haikei.png);
  background-repeat:repeat-x;
  z-index: -0.5;
}

.up_hai
{
  position: fixed;
  top: 0; left: 0;
  height: 60px;
  width: 100%; height: 60%;
  background-image: url(system/button_haikei.png);
  background-repeat:repeat-x;
  z-index: -1;
}

p {
  color:#226677; 
}

nav {
  font-size: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  margin: 0 auto;
}

nav a img {
  max-width: 100px;
  border-radius: 10px;
}

.banner
{
  max-width: 100%;
}

.void{
  padding-bottom: 25px;
}


/*index*/
#samune img
{
  max-width: 90vh;
  height: auto;
}


/*◇profile◇*/
#introduction img
{
  max-width: 500px;
  height: auto;
}

#nn
{
  font-size : 2em;
  margin: -15px 0 -15px 0;
}

.box_white
{
  background:rgba(254, 253, 255, 0.9);
  max-width: 450px;
  border-radius:5px;
  font-family: "M PLUS Rounded 1c", cursive;
  margin: 0 auto;
  font-size : 0.8em;
  font-weight: 400;
}





/*◇gallery◇*/
.index
{
  font-size : 1em;

}

.profile
{
  font-size : 1em;
}

.gallery
{
  font-size : 1em;
}


/*◇gallery◇*/
.gallery {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

.picture a img {
  width: 200px;
  height: 200px;
  object-fit: cover;

  /*
  border: 10px solid;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #e0f6ff;
  border-bottom-color: #cee7f0;
  border-radius: 5px;
    box-shadow: 10px 10px 5px #000000aa;

  */
  filter:
  drop-shadow(0 0 0 white);
  margin: 20px;
  transition: transform 0.2s ease;
}

.picture a img {
  filter:drop-shadow(10px 10px 5px #000000aa);
}

#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  flex-direction: column;
}

#modal.active {
  display: flex;
}

#modal-img {
  max-width: 80%;
  max-height: 70vh;
  object-fit: contain;
  filter:drop-shadow(0 0 20px rgb(255, 255, 255));
  /*border-radius: 10px;*/
  margin-bottom: 15px;
  transition: transform 0.2s ease;
}

#modal-img:hover {
  transform: scale(1.02);
}

#modal-title {
  color: white;
  font-size: 2em;
  margin: 5px 0;
  text-shadow: 2px 2px 5px black;
}

#modal-description {
  color: lightgray;
  font-size: 1.1em;
  margin: 5px 0 20px 0;
  max-width: 70%;
  text-align: center;
  text-shadow: 1px 1px 3px black;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3em;
  color: rgb(218, 254, 255);
  cursor: pointer;
  z-index: 1001;
  text-shadow: 1px 1px 5px black;
}




summary {
  padding: 0 525px;
  color: #226677;
  font-weight: 400;
}

details
{
  font-family: "Yomogi", cursive;
  font-weight: 400;
  text-align: left;
  padding: 40px;
}


#update-log
{
  padding: 0 475px;
}




@media (max-width: 500px) {

  nav {
    font-size: 0px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
  }
  
  nav a img {
    max-width: 100px;
    margin: 0;
    border-radius: 10px;
  }

  .box_white
  {
    background:rgba(254, 253, 255, 0.9);
    max-width: 450px;
    border-radius:5px;
    font-family: "M PLUS Rounded 1c", cursive;
    margin: 0 auto;
    font-size : 0.8em;
    font-weight: 400;
  }

  .gallery {
    padding: 0 10px;
    /*max-width: 100%;*/
  }

  #modal-img {
    max-width: 90%;
    max-height: 60vh;
  }

  #modal-title {
    font-size: 1.5em;
  }

  #modal-description {
    font-size: 0.9em;
    max-width: 90%;
  }

  .close-button {
    font-size: 2.5em;
    top: 10px;
    right: 15px;
  }


  #introduction img
  {
    max-width: 400px;
    height: auto;
  }

  

  #update-log
{
  padding: 0px 0px;
}

summary{
  padding: 0px 0px;

}


#samune img
{
  max-width: 65vh;
  height: auto;
}

}