#wrap {
  background-color: #f7f6f2;
  padding: 180px 0;
  text-align: center;
}

h2 {
  margin-bottom: 60px;
}

#wrap>p {
  margin-bottom: 120px;
  font-size: 20px;
  font-weight: bold;
}

.display {
  display: block !important;
}

.news_link {
  display: flex;
  margin: 0 auto 35px;
  padding: 0;
  list-style-type: none;
  max-width: 1000px;
  width: 100%;
}

.news_link li {
  max-width: 20%;
  margin: 0 1%;
  cursor: pointer;
}

.news_link li:hover {
  opacity: 0.7;
}

.news_link li img {
  width: 100%;
}

.news_link li:first-child {
  margin-left: 0;
}

.news_link li:last-child {
  margin-right: 0;
}

.news-content {
  width: 18.3%;
  margin: 0 10px 30px;
  height: fit-content;
}

.news-content>img {
  width: 100%;
}

.news-content>a>img {
  width: 100%;
}

.news-content .js-modal-open img {
  width: 100%;
}

#inner {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.img01 img {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  h2 {
    width: 70%;
    margin: 0 auto 30px;
  }

  h2 img {
    width: 100%;
  }

  #wrap>p {
    width: 90%;
    margin: 0 auto 120px;
  }
}

@media screen and (max-width: 768px) {
  #wrap {
    padding: 140px 0 70px;
  }

  #wrap>p {
    margin: 0 auto 50px;
    font-size: 16px;
  }
}


/*===================================================

POPUP用

=================================================*/

/* これが無いとモーダルウィンドウ表示の際に余白が出る */
* {
  margin: 0;
  padding: 0;
}

/* モーダル全体(背景＋本体) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  right: 0;
  left: 0;
  z-index: 11111;
}

/* モーダル背景 */
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* モーダル本体 */
.modal-content {
  position: relative;
  background: #ffffff;
  padding: 50px 30px 60px;
  width: auto;
  max-width: 800px;
  margin: 20px auto;
  box-sizing: border-box;
  border: solid 6px #41a9da;
  top: 25%;
  bottom: 25%;

  /*overflow: scroll;*/
  /* はみ出た部分はスクロールさせる */
  /*height: 60%;*/
  /* これが無いと「overflow:scroll」が利かない */
  /*width: 60%;*/
  /* これが無いと「overflow:scroll」が利かない */
}

/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

.popup {
  display: none;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
}

.popup dl {
  background: #fff;
  padding: 30px;
  width: 50%;
}

.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pop_green {
  border: solid 6px #49bb8c;
}

.pop_orange {
  border: solid 6px #e08e35;
}

.pop_gray {
  border: solid 6px #979797;
}

.mfp-bg.mfp-ready {
  opacity: 0.9 !important;
}

.pop_blue>img,
.pop_green>img,
.pop_orange>img,
.pop_gray>img {
  margin: 0 auto;
  display: block;
}

.pop_blue h3,
.pop_green h3,
.pop_orange h3,
.pop_gray h3 {
  font-size: 20px;
  font-weight: bold;
  color: #41a9da;
  text-align: center;
  line-height: 1.5em;
  margin: 30px auto 0;
  padding-bottom: 30px;
  background-image: linear-gradient(to right, #d13243, #d13243 5px, transparent 5px, transparent 14px);
  background-size: 14px 5px;
  /* 幅2の線を作る */
  background-position: left bottom;
  /* グラデーションの幅・高さを指定 */
  background-position: left bottom;
  /* 横向きにのみ繰り返す */
  background-repeat: repeat-x;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";
}

.pop_green h3 {
  color: #49bb8c;
}

.pop_orange h3 {
  color: #e08e35;
}

.pop_gray h3 {
  color: #979797;
}

h4 {
  color: #d13243;
  font-size: 20px;
  margin-top: 30px;
  text-align: left;
  font-family: "游ゴシック体", YuGothic, "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";
}

h4:before {
  content: '';
  background: url(../img/num/a.gif)top center no-repeat;
  background-size: contain;
  width: 36px;
  height: 36px;
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

.pop_blue p,
.pop_green p,
.pop_orange p,
.pop_gray p {
  overflow: hidden;
  display: block;
  width: 100%;
  margin: 30px auto 0;
  font-size: 16px;
  color: #d13243;
  font-weight: bold;
  text-align: left;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
}

@media screen and (max-width: 1200px) {
  .news_link {
    width: 96%;
  }

  .news-content {
    width: 22.5%;
  }
}

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

  #inner {
    width: 96%;
  }

  .news-content {
    width: 31.8%;
    margin: 0 5px 10px;
  }

  .news_link {
    display: inline-block;
  }

  .news_link li {
    max-width: 30%;
    display: inline-block;
    width: 23%;
  }

}

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

  .news-content {
    width: 47.2%;
  }

  .news_link li {
    width: 26%;
  }

  .modal-content {
    width: 90%;
    padding: 50px 20px 40px;
    top: 10%;
    bottom: 0%;
  }

}
