/*竹迫担当部分*/

header,
body,
footer
{
  font-family: 'Zen Maru Gothic', sans-serif;
  background-color:#EEE7CB
}

.red-text {
  color: rgb(247, 67, 31);
  font-size: 50px
}

.brown-text {
  color: rgb(120,56,46);
  font-size: 20px;
}

header{
  margin: 30px;
}

main{
  font-size: 30px;
}

main {
  margin-bottom: 565px; 
}

.text2
{
  animation: fadeInlateAnimation 13s linear forwards;
   opacity: 1;
}

.absolute01{
  position: absolute;
  animation: fadeInAnimation 12s linear forwards;
   opacity: 1;
}


.absolute02{
  position: absolute;
  animation: fadeInlateAnimation 13s linear forwards;
   opacity: 1;
}

.absolute03{
  position: absolute;
  z-index: 10;
}

@keyframes fadeInAnimation {
  0% { opacity: 0; } 
  70%{opacity: 0.2;}
  100% { opacity: 1; } 
}

@keyframes fadeInlateAnimation {
  0% { opacity: 0; } 
  99%{ opacity: 0.000001;}
  100% { opacity: 1; } 
}

.container{
	position:relative;
	width:100%;
	height:350px;
}

.bound span{
	position: absolute;
  bottom: 0px;
	animation: bound-anim 0.8s infinite;
}

@keyframes bound-anim {
	0%,100% {top: 0;transform: scale(1);}
	30% {top: -15%;}
}

/*水島担当部分*/

body {
  margin: 0;
  padding: 0;
  background: rgb(238, 231, 203);
}

  .loading{
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -50px;
  }
  .loading span{
    transition: all 500ms ease;
    background: rgb(102, 181, 117);
    box-shadow: 1px 2px 3px #999;
    height: 10px;
    width: 10px;  
    display: inline-block;
    border-radius: 10px;
    animation: wave 2s ease  infinite;
  }  
  
  .loading span:nth-child(1){  animation-delay: 0; }
  .loading span:nth-child(2){  animation-delay: 100ms; }
  .loading span:nth-child(3){  animation-delay: 200ms; }
  .loading span:nth-child(4){  animation-delay: 300ms; }
  .loading span:nth-child(5){  animation-delay: 400ms; }
  .loading span:nth-child(6){  animation-delay: 500ms; }
  .loading span:nth-child(7){  animation-delay: 600ms; }
  .loading span:nth-child(8){  animation-delay: 700ms; }
  
  @keyframes wave{
    0%, 40%, 100% { 
      transform: translate(0, 0);
      background-color: rgb(102, 181, 117);    
    }
    10% { 
      transform: translate(0, -15px); 
      background-color:rgb(255, 90, 58);    
    }  
  }

  /*田村担当部分*/

  @import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap');

  .photo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeInOutAnimation 14s linear forwards;
    opacity: 1;
    z-index: 3;
  }

  .photo{ 
    width: 100%; /* 写真の幅を100%に設定して全画面に拡大 */
    height: 100%; /* 写真の高さを100%に設定して全画面に拡大 */
    object-fit: cover; /* 写真をアスペクト比を保ったまま、全体的に表示する */
    z-index: 4;
  }


  @keyframes fadeInOutAnimation {
    0% { opacity: 1;
        transform: scale(1); /* 通常のサイズ */ }
    
        90%{ opacity: 0.3;}
        

    100% { opacity: 0; 
        transform: scale(2); /* 2倍の拡大 */}
  }

  .centered-text
  {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
  }

  h1{
    font-size: 58px;
    font-weight: bold;
    color: rgba(255, 90, 58, 0.572);
    font-family: 'Zen Maru Gothic', sans-serif;
  }

  
 /* 白石担当分 */

  @import url('https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&family=Open+Sans:ital,wght@0,300;0,700;1,400&family=Zen+Maru+Gothic:wght@500&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#buttons {
  overflow-y: auto;
  height: 100px;
}

#sidebar {
  position: fixed;
  right: -700px;
  width: 45%;
  height: 100vh; 
  background: #d0be93;
  color: #000; 
  transition: 0.3s;
  padding: 10px;
  overflow-y: auto;
  border-radius: 10px;
  z-index: 8000;
}



#sidebar h2 {
  font-size: 35px;
  margin-bottom: 5px;
  margin-top: 45px;
  font-family: 'Covered By Your Grace', cursive;
  font-family: 'Zen Maru Gothic', sans-serif;
  text-align: center; 

  
  
}

#sidebar p {
  font-size: 30px;
  line-height: 1.4;
  font-family: 'Covered By Your Grace', cursive;
  font-family: 'Zen Maru Gothic', sans-serif;
  text-align: center; 
  
}

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

.sub-images {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.main-image img, .sub-images img {
  margin-bottom: 10px;
  border-radius: 10px;
}

#sidebar.open {
  right: 0;
}

#myRadarChart {
  width: 20%;
  height: 20%;
  background: #ddd0b3;
  border-radius: 10px;
  margin-bottom: 100px;
}

#closeButton {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;

}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 0.95; }
}

.fadeIn {
  animation: fadeIn 1s;
}

/*水島追加分*/
#sidebar {
  position: fixed;
  top: 0px;
  opacity: 0.95;
  /* 他のスタイルが必要な場合はここに追加してください */
}