@charset "UTF-8";

article{
  width: 100%;
  padding: 0 100px 0 100px;
  text-align: center;
  position: relative;
}

.title{
  padding-top: 130px;
}
h1{
  font-size: 50px;
  position: relative;
  top: 1px;
  font-weight: 200px;
  color: gray;
  font-family:  serif;
  padding: 25px;
}

div.m {
  float: left;
  padding-right: 20px;
}

article p{
  font-size: 25px;
  position: relative;
  padding: 25px;
 
  line-height: 2.4;
  font-family: serif;
  text-align: center;
}

article p img{
  position: relative;
  text-align: center;
}

h3{
  font-size: 30px;
  position: relative;
  top: 1px;
  font-weight: 200px;
  color: gray;
  font-family:  serif;
}

h1 {
  display: flex;
  align-items: center;/* 縦位置の調整 */
  justify-content: center;/* 横位置の調整 */
}
          
h1::before,
h1::after {
  content: '';
  flex-grow: 0.05;/* 少数にする */
  height: 3px;
  background: rgba(25, 148, 14, 0.479);
}
          
/* 見出しの文字と横棒の間隔を開ける */
h1::before {
  margin-right: 20px;
}
          
h1::after {
  margin-left: 20px;
}
          
article p img{
  width: 50%;
  height: 450px;
  object-fit: cover;
}

article .ishii,.ushi,.yasai{
  text-align: center;
}

h1 .title {
  padding-top: 100px;
}

/*タブレット・スマホ版*/
@media screen and (max-width: 800px) {
  h1{
    font-size: 35px;
  }
  article{
    padding: 0 50px 0 50px;
  }

  article p{
    font-size: 20px;
  }
  
  article p img{
    width: 50%;
    height: 400px;
    object-fit: cover;
  }

}

/*スマホ版*/
@media (max-width: 500px) {

  h1{
    font-size: 15px;
  }

  h3{
    font-size: 11px;
  }

  article{
    padding: 0;
    width: 100%;
  }

  article p{
    font-size: 5px;
  }  

  article .ishii,.ushi,.yasai{
    padding: 0px;
    width: auto;
    height: auto;
    text-align: center;
  }

  article p img{
    width: 90%;
    height: 50%;
    object-fit: cover;
  }

  .yasai{
    width: 90%;
    height: 200px;
    object-fit: cover;
  }
}
