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



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

article h1{
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  width: 360px;
}
article h1 a{
  width: 100%;
}
article h1 a img{
  width: 100%;
}

header{
  width: 100%;
  background-image: url(../../img/opneBack.png);
  background-size: cover;
  background-position: center;
  height: 90px;
}

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

article{
  background-image: url("../img/pageBack.jpg");
  background-size: cover;
  background-position: top center;
  border: 20px solid #2a2608;
  border-top: none;
  text-align: center;
  width: 100%;
  padding-bottom: 50px;
}

.headTitle{
  display: block;
  width: 400px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.titleImg{
  margin-bottom: 50px;
  max-width: 80%;
}

@media screen and (max-width: 800px) { 
  header{
    height: 56px;
    display: none;
  }
  
  article h1{
    display: none;
  }
  
  article{
    border: 10px solid #2a2608;
    border-top: none;
  }
  
  .headTitle{
    margin-top: 56px;
    margin-bottom: 50px;
    max-width: 90%;
  }
  
  .titleImg{
    margin-bottom: 30px;
  }
}

.imageBtn{
  display: inline-block;
  max-width: calc(100% - 30px);
}

.imageBtn img{
  width: 100%;
}

/*==============================
メイン
==============================*/

#messageWrap{
  margin-bottom: 100px;
  padding: 0 15px;
}

#messageWrap > div{
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fdf5e8;
  padding: 50px;
}

#messageWrap > div > img{
  position: absolute;
  width: 14%;
  left: 5%;
  top: -140px;
}

#messageWrap > div > hr{
  height: 4px;
  background-color: #000;
  border: none;
  position: relative;
  z-index: 1;
  overflow: inherit;
}

#messageWrap > div > hr:first-of-type::before{
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #000;
  bottom: -7px;
  z-index: 2;
}

#messageWrap > div > hr:last-of-type::before{
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #000;
  top: -5px;
  z-index: 2;
}

#messageWrap > div > div{
  padding: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#messageWrap > div > div img{
  width: 33%;
  display: flex;
  align-self: flex-start;
}

#messageWrap > div > div p:first-of-type{
  width: 65%;
  text-align: justify;
}

#messageWrap > div > div p:last-of-type{
  width: 100%;
  text-align: justify;
}

#aboutWrap{
  margin-bottom: 50px;
  padding: 0 15px;  
}

#aboutWrap > div{
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  padding: 50px;
}

#aboutWrap > div > img{
  position: absolute;
  width: 14%;
  right: 5%;
  top: -120px;
}

#aboutWrap > div > table{
  width: 100%;
}

#aboutWrap > div > table tr td{
  text-align: left;
}

#aboutWrap > div > table tr td:nth-of-type(1),
#aboutWrap > div > table tr td:nth-of-type(3){
  width: 20%;
}

#aboutWrap > div > table tr td:nth-of-type(2),
#aboutWrap > div > table tr td:nth-of-type(4){
  width: 30%;
}

#aboutWrap > div > table tr td img{
  display: inline-block;
  width: 13px;
  margin-right: 5px;
}

#aboutWrap > div > table tr td p{
  display: inline-block;
}


/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) { 
  #messageWrap > div > div{
    justify-content: center;
    padding: 50px 0;
  }
  
  #messageWrap > div > div img{
    width: 70%;
    max-width: 240px;
    margin-bottom: 20px;
  }
  
  #messageWrap > div > div p:first-of-type{
    width: 100%;
  }
  
  #aboutWrap > div > table tr{
    display: flex;
    flex-wrap: wrap;
  }
  
  #aboutWrap > div > table tr td:nth-of-type(1),
  #aboutWrap > div > table tr td:nth-of-type(3){
    width: 40%;
  }
  
  #aboutWrap > div > table tr td:nth-of-type(2),
  #aboutWrap > div > table tr td:nth-of-type(4){
    width: 60%;
  }

  #messageWrap > div > img{
    top: -120px;
  }
  
  #aboutWrap > div > img{
    top: -80px;
  }
}

@media screen and (max-width: 600px){
  #messageWrap > div{
    padding: 50px 20px;
  }
  
  #aboutWrap > div{
    padding: 50px 20px;
  }
  
  #aboutWrap > div > table tr td p{
    font-size: 14px;
    letter-spacing: 0;
  }
  
  #aboutWrap > div > table tr td:nth-of-type(1),
  #aboutWrap > div > table tr td:nth-of-type(3){
    width: 50%;
  }
  
  #aboutWrap > div > table tr td:nth-of-type(2),
  #aboutWrap > div > table tr td:nth-of-type(4){
    width: 50%;
  }

  #messageWrap > div > img{
    width: 20%;
    top: -60px;
  }
  
  #aboutWrap > div > img{
    width: 20%;
    top: -40px;
  }
}

@media screen and (max-width: 414px){
}