*{ margin: 0;
    padding: 0;}

header{ width: 100%;
        height: 80px;
        padding: 0 5%;
        box-sizing: border-box;
        background: dimgray; 
        display: flex; 
        justify-content: space-between; 
        align-items: center; }

header h1 { font-size: 2em; 
            color: aliceblue; }

nav{ width: 50%; }

nav ul{ display: flex; 
        list-style-type: none; 
        justify-content: space-around; }

nav ul li a{ text-decoration: none; 
             color: aliceblue; }

body { margin-left: 0; 
       margin-right: 0;  
       margin-bottom: 10em; 
       background: aliceblue; 
       font-family: sans-serif; 
       color: black; }

h1 { font-size: 2.5em; 
     text-align: center; 
     line-height: 2em;
     color: teal; }

h2 { font-size: 2.0em; 
     text-align: center; 
     line-height: 2em; }

p { font-size: 1.5em; 
    line-height: 1.5em; 
    text-align: center; }

em { font-style: normal;
     font-weight: bold; 
     color: black; }

a:hover { color: lightsteelblue; 
           }

div.gazou { text-align: center; }

img.a-sha { width: 300px; 
            height: 300px; }

table { margin: 0 auto; }

td { text-align: center; 
     vertical-align: middle;  }

figure.samuneiru { justify-content: space-around; }


img.samune {width: 320px; 
            height: 180px; 
            padding: 10px; 
            margin-left: 20px; 
            margin-right: 20px; 
            figcaption-align: center; }

img.live { width: 800px; 
           height: 600px; 
           text-align: center; }

img.novel { width: 400px; 
            height: 600px; }

img.amaminotizu { width: 400px;
                  height: 400px; }

div.slideshow {
  width: 900px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 0 auto; 
}

div.slides {
  display: flex;
  width: 2700px; 
  height: 100%;
  animation: slide 15s infinite;
}

div.slides img {
  width: 900px;
  height: 600px;
  flex-shrink: 0;
  object-fit: cover;
}

div.slides {
  display: flex;
  width: 2700px;
  height: 100%;
  animation: slide 15s infinite;
}

@keyframes slide {
  0%      { transform: translateX(0); }
  26.66%  { transform: translateX(0); }

  33.33%  { transform: translateX(-900px); }
  60%     { transform: translateX(-900px); }

  66.66%  { transform: translateX(-1800px); }
  93.33%  { transform: translateX(-1800px); }

  100%    { transform: translateX(0); }
}

.button-container {
  text-align: center; 
  margin-bottom: 20px; 
}

.nav-button {
  padding: 12px 24px;
  background-color: #4682B4;      
  color: white;                   
  text-decoration: none;         
  border: none;                  
  border-radius: 6px;            
  font-size: 16px;
  font-weight: bold;             
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  cursor: pointer;               
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.nav-button:hover {
  background-color: #315f7d;     
  transform: translateY(-2px);  
}

.nav-button:active {
  transform: translateY(0);      
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
