@charset "utf-8";
/* CSS Document */

.spnavBack{
  z-index: 9;
}

/*==============================
共通
==============================*/

#headWrap{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 640px;
  background-image: url("../img/headBack.png");
  background-size: cover;
  background-position: center center;
  padding: 0;
}
#headWrap > h1{
  color: #fff;
}


@media screen and (max-width: 1000px){
  #headWrap{
    height: 400px;
  }
}

@media screen and (max-width: 1000px){
  #headWrap{
    height: 200px;
  }
}

/*==============================
境内情報
==============================*/

#infoWrap{
  padding: 100px 180px;  
}

.infoBox{
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.infoBox:nth-of-type(2n - 1){
  flex-direction: row-reverse;
}

.infoBox > img{
  width: 48%;
  align-self: center;
}

.infoBox > div{
  width: 50%;
  align-self: flex-start;
  padding: 0px 0px 50px;
  padding-right: 50px;
}

.infoBox > div > span{
  display: block;
  color: #B2B2B2;
  font-size: 140px;
  height: 140px;
  line-height: 140px;
  margin-bottom: 0px;
}

.infoBox > div > h2{
  margin-bottom: 40px;
}

.infoBox > div > p{
  text-align: justify;
  margin-bottom: 20px;
}
@media screen and (max-width: 1200px){
  #infoWrap{
    padding: 100px 20px;
  }
}

@media screen and (max-width: 1000px){
  #infoWrap{
    padding: 0 0 50px;
  }
  
  .infoBox{
    flex-direction: column-reverse;
    margin-bottom: 50px;
  }
  
  .infoBox:nth-of-type(2n - 1){
    flex-direction: column-reverse;
  }
  
  .infoBox > img{
    width: 100%;
    margin-bottom: 0px;
  }
  
  .infoBox > div{
    width: 100%;
    padding: 50px 20px;
    padding-left: 20px;
  }
  
  .infoBox > div > span{
    font-size: 30px;
    height: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  
  .infoBox > div > h2{
    margin-bottom: 10px;
  }
  
  .infoBox > div > p{
    margin-bottom: 10px;
  }
  
}












