@charset "utf-8";

/* 通常投稿（サイドメニューあり）
============================================================================================================ */
.post-wrap {
  display: flex;
  justify-content: space-between;
  padding: 100px 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.post-wrap article {
  width: 100%;
  max-width: 870px;
  margin-right: 50px;
}
.post-wrap aside {
  width: 100%;
  max-width: 280px;
}
.post-detail-wrap {
  padding-bottom: 50px;
  color: #333;
}
.post-detail-wrap__contents h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin: 20px auto 30px auto;
  border-bottom: 1px solid #CCC;
}
.post-detail-wrap__contents p:first-of-type {
  margin-bottom: 15px;
}
.post-detail-wrap__contents p:first-of-type span {
  display: inline-block;
  background-color: #333;
  color: #FFF;
  width: 150px;
  text-align: center;
  margin-right: 10px;
}
.post-detail-wrap__contents__text {
  margin: 30px 0 100px;
}
/*投稿記事内の画像サイズ制限*/
.post-detail-wrap__contents__text img {
  max-width: 100%;
  height: auto;
}
.post-detail-wrap__contents figure {
  margin: 0;
}
.post-detail-wrap__contents figure img {
  width: 100%;
  height: auto;
  border: 1px solid #CCC;
}

@media screen and (max-width:767px) {
.post-wrap {
  display: block;
  justify-content: initial;
  padding: 50px 10px;
  max-width: 100%;
  margin: 0;
}
.post-wrap article {
  max-width: 100%;
  margin: 0 0 50px 0;
}
.post-wrap aside {
  max-width: 100%;
}
.post-detail-wrap {
  width: 100%;
  margin: 0;
  padding: 0 15px;
}
.post-detail-wrap__contents h2 {
  font-size: 1.6rem;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.post-detail-wrap__contents {
  width: 100%;
  margin: 0;
  font-size: 1.4rem;
}
.post-detail-wrap__contents__text {
  margin: 20px 0 50px;
  padding-top: 0;
}
.post-detail-wrap__contents figure {
  width: 100%;
  margin: 0;
}
}

@media screen and (min-width:768px) and (max-width: 1199px) {
.post-wrap {
  display: block;
  justify-content: initial;
  padding: 100px 10px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.post-wrap article {
  width: 100%;
  max-width: 100%;
  margin: 0 0 50px 0;
}
.post-wrap aside {
  width: 100%;
  max-width: 100%;
}
.post-detail-wrap {
  padding-bottom: 50px;
  color: #333;
}
.post-detail-wrap__contents h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin: 20px auto 30px auto;
  border-bottom: 1px solid #CCC;
}
.post-detail-wrap__contents p:first-of-type {
  margin-bottom: 15px;
}
.post-detail-wrap__contents p:first-of-type span {
  display: inline-block;
  background-color: #333;
  color: #FFF;
  width: 150px;
  text-align: center;
  margin-right: 10px;
}
.post-detail-wrap__contents__text {
  margin: 30px 0 100px;
}
}