@charset "utf-8";

main img {
  max-width: 100%;
}
li {
  list-style: none;
}


/*-------------------------------------------
main
-------------------------------------------*/
.main {
  padding-top: 0;
  align-items: center;
}

.title {
  height: 310px;
  background-image: url(../images/blog/blog-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
 }

 .title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: bold;
 }

 .title p {
  font-size: 14px;
  margin-top: 15px;
 }

 .wrapper {
  margin: 50px auto;
  padding: 0px;
}

#title  {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  padding: 0.6em;
  color: #7b6459;
  background: -webkit-repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
  background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
  border-radius: 7px;
}

.title-p {
text-align: center;
}

.wrapper p {
  text-align: left;
  line-height: 25px;
}

/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  max-width: 960px;
  margin: 0 auto;
}
.readmore {
  font-size: 0.875rem;
  text-align: center;
}
/*
疑似要素で下線を設定するために、「position: relative;」を設定
*/
.readmore a {
  padding-bottom: 1px;
  color: #333;
  position: relative;
}
/*
「position: absolute;」を設定し、left、bottomで下線の位置を調整
widthとheightで線の長さと高さを設定
疑似要素で線を表示させるためには、「content: '';」を設定すること
「transition: all 200ms ease;」でホバー時の速度などを設定
*/
.readmore a::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  left: 0;
  bottom: 0;
  background: #333;
  transition: all 200ms ease;
}
/*
ホバー時の下線の設定
「opacity: 0;」下線を非表示
「transform: translateY(3px);」下に3px移動
→下に3px移動しながら下線を非表示にする
*/
.readmore a:hover::after {
  opacity: 0;
  transform: translateY(3px);
}

/*-------------------------------------------
pickup
-------------------------------------------*/
#pickup {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  margin-bottom: 10px;
}
#pickup article {
  width: 32%;
}
#pickup .article-title {
  font-size: 1rem;
  margin: 10px 0 15px 0;
}

/*-------------------------------------------
container
-------------------------------------------*/
#container {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 60px;
}
main {
  width: 100%;
}
main article {
  margin-bottom: 80px;
}
main .article-title {
  font-size: 1.5rem;
  margin: 10px 0 15px 0;
}
main ul {
  display: block;
  justify-content: flex-start;
  margin-bottom: 10px;
}
main li {
  font-size: 0.875rem;
  padding: 5px 20px;
}
main .text {
  padding: 10px;
}

/*-------------------------------------------
aside
-------------------------------------------*/
#sidebar {
  width: 33%;
  padding: 20px 0 20px 20px;
}
#sidebar .side-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.archive {
  text-align: center;
  margin-bottom: 60px;
}
.archive ul {
  border-bottom: solid  1px #777;
}
.archive li {
  font-size: 0.875rem;
  border-top: solid  1px #777;
  padding: 20px;
  text-align: center;
}


@media (max-width: 800px) {

  main img {
padding: 10px 20px;
  }
/*-------------------------------------------
  pickup
  -------------------------------------------*/
  #pickup {
    flex-direction: column;
    padding-top: 80px;
  }
  #pickup article {
    width: 100%;
    margin-bottom: 30px;
  }

  /*-------------------------------------------
  container
  -------------------------------------------*/
  #container {
    flex-direction: column;
  }
  main {
    width: 100%;
  }

  main .text {
    padding: 10px 40px 30px 40px;
  }

  .title-p {
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
    }

  /*-------------------------------------------
  aside
  -------------------------------------------*/
  #sidebar {
    width: 100%;
    padding: 20px;
  }

  main .text {
    padding: 20px 20px 30px 20px;
  }

  main .article-title {
    font-size: 1.2rem;
    margin: 10px 0 15px 0;
    padding: 0 20px;
  }

  #title  {
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
  }

}

