

/** -----------------------------------
    共通
-------------------------------------**/

body{
  background-color:#fafafa ;
}

.section-inner {
  width: 100%;
  max-width: 1000px;
  margin: 100px auto;
}

.small{
  font-size: 14px;
  font-weight: 400;
}


h3{
  font-size: 20px;
  text-align: center;
  margin: 100px 0px 50px;
}



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


.news-title{
  padding-top: 100px;
}

.news-title p{
  text-align: left;
  margin: 0;
}

.post_title {
  font-size: 16px;
  font-weight: lighter;
  padding-top: 15px;
  color: #444;
  text-align: left;
  margin: 0;
  padding: 20px
}

.post_title a{
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-top: 0;
}


.news_flex{
  display: flex;
  flex-wrap: wrap; /* 画面幅に合わせてカラム落ちさせる */

  justify-content: space-between;
}

.news_flex .news-inner {
  width: 32%;  /* お好みの幅で指定 */
  /* paddingと合わせてbox-sizingも指定 */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}


/* 最後のコンテンツを左寄せにする指定 */
.news_flex:after {
  content: "";
  display: block;
  width: 32%;  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
}

.news_flex:before {
  content: "";
  display: block;
  width: 32%;  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
  order: 1;  /* 疑似要素beforeの順番を必ず指定する*/
}


.news-inner {
  /* width: 300px; */
  margin:0;
}



.news-inner a:hover{
  cursor: pointer;
  cursor: hand;
  opacity: .7;

}

.news_pic img{
  width: 324px;
  height: 200px;  
  text-align: center;
  object-fit: cover; /* この一行を追加するだけ！ */
}



.news_title {
  font-size: 14px;
}

.news_title a{
  color: #333;
}

.news-inner-flex{
  display: flex;
  align-items: center;
  color: var(--water);
  font-size: 12px;
  padding: 0 20px 50px;
  
}


.news_meta{
  display: flex;
  font-size: 12px;
}

.news{
transition: all .3s ease;
width: 245px;
margin-bottom: 15px;

}



/** -------- 950~1024 -------- **/
@media screen and (max-width: 1024px){
  .news{width: calc(29vw - 52px);}
}

@media screen and (max-width: 950px){
  .news-inner{width: calc(100vw - 96px);}
  .news{width: calc(50vw - 56px);}
  .news_pic img{width: 100%;}
  .news_flex{flex-wrap: wrap;}
  #top_news .title {font-size: 1.8em;}
/* 　ここから追記 */

.news_flex .news-inner {
  width: 40%;
}
.news_flex {
  justify-content: center;
}

/* 最後のコンテンツを左寄せにする指定 */
.news_flex:after {
  content: "";
  display: block;
  width: 40%;  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
}

}
  


/** -------- スマホ-------- **/
@media screen and (max-width: 767px) { 
  .title {
    padding-top: 140px;
}

.news-title p{font-size: 0.8em;}
.news_pic img {
  height: 150px;
}
}
  
@media screen and (max-width: 600px) {
  .news-title p{font-size: 0.7em;}
  .news_meta{font-size: 10px;}

  .news_flex {
   display: block;
  }

  .news_flex .news-inner {
    width: 300px;
    margin: 0 auto;
}
.news_pic img {
  height: 180px;
}
}
  
