@charset "utf-8";
/*
=======================================
  Reset CSS
=======================================
*/
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;
  
}
h1{
  padding-left:50px; 
}
ul{
  padding-left:150px; 
}
li{
  font-size: 33px;
}
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-size:28px;
  font-family: "le-havre", sans-serif;
  font-weight: 700;
  font-style: italic;


  }
  
  /*　上に上がる　*/
  #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(-300px);
  }
  to {
    opacity: 1;
  transform: translateY(-50px);
  }
  }
  
      
    nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    }
    
    nav ul li a{
    text-decoration: none;
    color: #666;
    padding: 59px;
    }
  
  
body{
  color: #211a18;
  line-height: 1.8;
  font-size: 14px;
  font-family: sans-serif;
    background-image: url("images/back4.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}




ul,ol{
  list-style-type: none;
}

table {
  border-collapse: collapse; 
  border-spacing: 0;
}

img, input, select, textarea { 
  vertical-align: middle;
}

a {
  color: #211a18;
  transition: 0.5s;
  text-decoration: none;
}
a:hover {
  color: #ddd;
}

a:hover img {
  opacity: 0.7;
}



*{
  box-sizing: border-box;
}
/*
=======================================
  popup
=======================================
*/
/* popup_list */

.container{
  margin: 50px auto;
  
}
.popup_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
/* .im01{
  #image1 {
  top: 10%;
  left: 5%;
} */

.popup_list li{
  width: 30.7%;
  margin-bottom: 40px;
}
.popup_list li a{
  display: block;
  width: 100%;
  height: 100%;
}
.popup_list li img{
  width: 40%;
  border-radius: 3px;
}

/* popup_content */
.popup_bg{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  width: 100%;
  height: 100vh;
  background: rgba(64,73,82,0.8);
  transition: 0.4s;
  z-index:101;
}
.popup_content{
  position: relative;	
}
.popup_box{		
  display: none;	
  position: fixed;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-40%);
  z-index: 110;
  width: 550px;
  height: 550px;
  background: #fff;				
  padding: 100px;	
}
.popup_box .tit{
  text-align: center;
  margin:0 auto 0px;
}
.popup_box .tit span{
  display: inline-block;
  width: 127px;
  height: 27px;
  color:#fff;
  font-size: 14px;
  line-height: 27px;
  background: #404952;
  border-radius: 3px;
}
.popup_box img{
  width: 100%;
  border-radius: 3px;
  margin-bottom: 20px;
}
.popup_box p{
  font-size: 14px;
  line-height: 1.3;
}
/* popup_nav */
.popup_nav .prev{
  position:absolute;
  top:50%;
  left:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
  z-index:130;
}
.popup_nav .next{
  position:absolute;
  top:50%;
  right:-40px;
  transform: translateY(-50%);
  width: 30px;
  height: auto;
}
.popup_nav .prev.disabled,
.popup_nav .next.disabled{
  display: none;
}
/*--close btn--*/
.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);
}	
@media screen and (max-width : 768px) {		
  .popup_close{
    top:-10px;
    right:-10px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
  }
  .popup_close span {
    width: 20px;
    height: 2px;
    left: 50%;
    top: 45%;
  }	
  .popup_close span:nth-child(1) {
    transform: translate(-50%, 50%) rotate(45deg);
  }	
  .popup_close span:nth-child(2) {
    transform: translate(-50%, 50%) rotate(-45deg);
  }	
}
@media screen and (max-width : 600px) {
  .popup_box{
    width: 94%;
    height: auto;
    margin: 0 auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .popup_nav .prev{
    left:25px;
    width:20px;
  }
  .popup_nav .next{
    right:25px;
    width: 20px;
  }
}
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: 20px;
  }

.fadeIn2 {
    animation-name: fadeIn2Anime;
    animation-duration:3s;
    animation-fill-mode:forwards;
    opacity: 0;
    }
    
@keyframes fadeIn2Anime{
      0% {
        opacity: 0;
      }
    
      100% {
        opacity: 1;
      }
    }

