html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video{
  margin:0;
  padding: 0;
  

  /* padding-left:20px;  */
}
h1{
  padding-left:50px; 
}
li{
  font-size: 25px;
  padding-right:0px; 

}
article,aside,details,figcaption,figure,
footer,header,main,menu,nav,section{
  display:block;
}

html{
  -webkit-text-size-adjust: 100%;
}


#header{
  /*fixedで上部固定*/
position: fixed;
height: 70px;
width:100%;
  z-index: 999;/*最前面へ*/
display: flex;
justify-content: space-between;
align-items: center;
background:white;
color:#000000;
text-align: center;
padding: 20px;
font-family: "le-havre", sans-serif;
font-weight: 700;
font-style: italic;
font-size:20px;
}

/*　上に上がる　*/
#header.UpMove{
animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
from {
  opacity: 1;
transform: translateY(0);
}
to {
  opacity: 0;
transform: translateY(-100px);
}
}

/*　下に下がる　*/

#header.DownMove{
animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
from {
  opacity: 0;
transform: translateY(-100px);
}
to {
  opacity: 1;
transform: translateY(-17px);
}
}

nav ul{
list-style: none;
display: flex;
justify-content: center;
}

nav ul li a{
text-decoration: none;
color: #666;
padding: 30px;
padding-right: 101px;
}

a:hover {
  color: #ddd;
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "le-havre", sans-serif;
    font-weight: 700;
    font-style: italic;
  
  }
  
  #btn {
    padding: 20px;
    font-size: 50px;
    cursor: pointer;

    background-color: #b74767; 
    color: #ffffff;
    border: none;
    border-radius: 50px; 
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease 0s;
    font-family: "le-havre", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  #btn:hover {
    background-color: #e0a7b7; 
    box-shadow: 0px 15px 20px rgba(72, 72, 72, 0.4); 
    color: #fff;
    transform: translateY(-7px); 
  }

  .popup_close{
    width: 30px;
    height: 30px;
    cursor: pointer;
    position:absolute;
    top:20px;
    right:20px;
    z-index:120;
  }  
  .popup_close span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    width: 30px;
    height: 2px;
    background: #434c55;
    position: absolute;
    left: 50%;
    top: 50%;
  }	
  .popup_close span:nth-child(1) {
    transform: translate(-50%, 50%) rotate(45deg);
  }	
  .popup_close span:nth-child(2) {
    transform: translate(-50%, 50%) rotate(-45deg);
  }
  




  img {
    width: 600px;    /* ここに希望する横幅を指定 */
    height: auto;    /* 縦幅を自動調整し、画像のアスペクト比を維持 */
  }
  
  .popup_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .popup_box {
    width: 800px;
    padding: 20px;
    background: white;
    position: relative;
    text-align: center;
  }
  
  .popup_close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
  }
  footer {
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 2em;
    font-family: "le-havre", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 15px;
    }


    
  