@charset "UTF-8";
img{
  width: 100%;
}
body{
  z-index: 0;
  font-family: "ITC Galliard", 'Garamond', 'Yu Mincho', 'YuMincho', 'Meiryo', serif;
     /* font-family: 'Futura', 'Yu Gothic', "游ゴシック", 'YuGothic', "游ゴシック体", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; */
}
.mask1{
  z-index: 4;
  height: 45%;
  background: #faf0e6;
  width: 100%;
  position: fixed;
}
.mask2{
  z-index: 4;
  height: 45%;
  background: #faf0e6;
  width: 100%;
  position: fixed;
  top:57%;
}
.initial{
  position: fixed;
  width: 100%;
  height: 100%;
  background: #faf0e6;
  z-index: 3;
  /* display: none; */

}
.initial p{
  font-size: 4rem;
  position: relative;
  top:60%;
  text-align: center;
  transform: translateY(-50%);
  background: #faf0e6;
}
header{
  display: flex;
  flex-direction: column;
}
.wrapper{
  margin: 0 3%;
}
nav{
 width: 94%;
 position: fixed;
  display: flex;
  justify-content:space-between;
background: #fff;
  padding: 30px 0;
  z-index: 1;
}
.logo{
  width: 50px;
  object-fit: contain;

}
#slide{
  position:absolute;
  height: 680px;
width: 94%;


   overflow: hidden;
}
#slide li{
  position: absolute;


}
.main-img{

/* margin-top:80px; */
position: relative;
/* top:80px; */
height: 600px;

margin-top: 80px;
/* overflow: hidden; */
  left: -9%;
  width: 118%;




}
#main-content{
  margin-top: 850px;
}
.main-img img{
position: relative;
  object-fit: cover;
   width: 100%;
  height: 114%;
  top:-40px;


  animation: animationZoom 6s ease-in forwards;

}
@keyframes animationZoom {
  100% {transform: scale(0.9);}
}
.main-img p{
  font-size: 2rem;
  position: absolute;
  top:90%;
  /* position: relative; */
  /* top:-40px; */
   left: 8%;
}
header ul{
  display: flex;
  justify-content: center;
}
header li{
  margin: auto 15px;
}
.sub-nav img{
  width:25px;
  height:25px;
  object-fit: contain;
}
.main-title{
text-align: center;
  margin-top:150px;


}
.main-title h2{
  font-size: 1.5rem;
  border-bottom: 1px #aaa solid;
  padding-bottom: 20px;
 display: inline-block;
}
.sub-content{
  display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
.sub-content li:hover{

opacity: 0.5;
  color: #8b4513;
}

.sub-content li{
  margin: 70px 30px;
}
.sub-title{
  font-size: 1.25rem;
  margin: 40px auto 20px;
}
.sub-img{
  position: relative;
}
.sub-img img{
  height: 300px;
  width: 100%;
  object-fit: cover;
}
.sub-img p{
  position: absolute;
  top: 35px;
  left:40px;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}
.sub-img small{
  position: absolute;
  top: 110px;
  left:40px;
  color: #fff;
}
.cmp-date{
  color:#aaa;
}
.description {

  margin: 20px 0;

}
.footer-content{
  margin: 30px 0;
  display: flex;
  justify-content: space-around;

}
.footer-content li{
  /* margin: auto 10px; */
  width: 100%;
  display: flex;
}
.line-side{
  border-top: 1px #aaa solid;

  width: 100%;
}
.line-ver{
/* width: 1px;
background-color: #aaa; */

border-right:2px #aaa solid;
margin: 0 1rem;
height: 200px;

}
.line-side h3{
  margin: 30px 0;

}
.line-side p{
  margin-top: 100px;
  color: #666;
}
.line-side img{
  width: 40px;
  object-fit: contain;
  margin-top: 20px;
}
.form{
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:rgba(0,0,0,.8);
  display: none;
}
.form button img{
  position: absolute;
  top:28px;
  right: 3.5%;
  width: 40px;
  object-fit: contain;
}
.search-w{
  position: absolute;
  width: 40px;
  object-fit: contain;
  top:50%;

   left: 30%;
          transform:translate(-100%,-50%);
}
input{
    position: absolute;
  top:50%;
left:50%;
  transform: translate(-50%,-50%);
    border-bottom: 1px #fff solid;
    width: 40%;
    color: #fff;
    font-size: 1.25rem;
}
@media screen and (min-width:1025px){
  .menu{
    display: none;
  }
  .sp-menu {
    display: none;
  }

}
@media screen and (max-width:1024px){
  .sub-content{
    display: grid;
  grid-template-columns: 1fr 1fr;
  }
  .grass,.sp-menu{
    display: none;
  }
  .sp-menu{
    position: fixed;
    top:0;
    left:0;
    background: rgba(0,0,0,.8);

    width: 100%;
    height: 100%;

  }
  .main-nav{
    display: none;
  }
  .sp-main-nav{
    color: #fff;
    flex-direction: column;
    text-align: center;
    position: relative;
    transform: translateY(10%);
  }
  .sp-main-nav li{
    margin: 20px 0;
    font-size: 1.5rem;
  }
  .close{
    position: absolute;
    top:28px;
    right: 3.7%;
    width: 40px;
    object-fit: contain;

  }
  .form button img{
    right: 3.7%;
  }
}
  @media screen and (max-width:767px){
    .sub-content{
      display: grid;
    grid-template-columns: 1fr;

    }
    .main-img{

    position: relative;
    height: 600px;

    margin-top: 80px;

      left: -10%;
      width: 120%;
    }
    @keyframes animationZoom {
      100% {transform: scale(0.95);}
}
  }