{% include '../../assets/css/news/reset.css' %}
{% include '../../assets/css/news/base.css' %}

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/


/*****************************************/
/* c-tab  */
/*****************************************/


.c-tab {
	display: -webkit-box;
	display: flex;
  align-items: center;
  flex-wrap: wrap;
}


.c-tab__btn {
  width: 185px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  margin-right: 12px;
	padding: 11px 0 10px;
	padding: 15px;
	padding:0;
  border-radius: 30px 30px 0 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.42;
	color: #fff;
	background-color: #CCC;
	cursor: pointer;
	transition: all 0.2s ease 0s;
	display:inline-block;
	line-height:3.5;
	text-align:center;
}
.c-tab__btn:first-child {
  width: 140px;
}
.c-tab__btn:last-child {
  margin-right: 0;
}
@media screen and (max-width:767px) {
  .c-tab__btn {
    width: 90px;
    margin-right: .130px;
    padding: 4px 0;
		padding: 12px 12px;
		padding:0;
    border-radius: 15px 15px 0 0;
    font-size: 11px;
    line-height: 1.47;
		line-height:3.5;
		display:inline-block;
    white-space: nowrap;
  }
  .c-tab__btn:first-child {
    width: 68px;
  }
}

.c-tab__btn:hover,
.category_btn .c-tab__btn:hover{
	background-color: #dce1e4;
}

.c-tab__btn.active {
    background-color: #bfa51e;
    color:#fff;
}

/*****************************************/
/* c-tag  */
/*****************************************/
.c-tag {
  display: inline-flex;
  justify-content: center;
/*   width: 100px; */
  font-size: 11px;
  line-height: 1.45;
  color: #fff;
  padding: 2px 10px;
  background-color: #bfa51e;
  border-radius: 10px;
}

/*****************************************/
/* 　news_listing   */
/*****************************************/
.p-news-listing {
  padding: 35px 0 40px;
}
@media screen and (max-width:767px) {
  .p-news-listing {
    padding: 25px 0 10px;
  }
}

.p-news-listing__page-title {
  text-align: center;
  margin-bottom: 2em;
}

.p-news-listing__page-title h2 {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.45;
}
@media screen and (max-width:767px) {
  .p-news-listing__page-title h2 {
    font-size: 24px;
  }
}

.p-news-listing__page-title p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.6;
}

.p-news-listing__wrap {
  max-width: 102px;
  width: 100%;
  height: inherit;
  margin-top: 70px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}
@media screen and (max-width:767px) {
  .p-news-listing__wrap {
    max-width: 500px;
    margin-top: 36px;
    padding: 0 12px;
  }
}


/* p-news-listing */
.p-news-listing__items-wrap {
  padding:70px 0 50px;
  border-radius: 0 20px 20px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .16);
}
@media screen and (max-width:767px) {
  .p-news-listing__items-wrap {
    padding: 30px 0 0;
  border-radius: initial;
  box-shadow: none;
  }
}

.p-news-listing__coming-soon {
  max-width: 830px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 334px 50px 350px;
  position: relative;
}
@media screen and (max-width:767px)  {
  .p-news-listing__coming-soon  {
    max-width: 400px;
    padding: 44px 8.40px 0;
  }
}
.p-news-listing__items {
  height: inherit;
  margin: 0 auto;
  max-width: 750px;
  padding-left: 20px;
  padding-right: 20px;
  width: calc(100% - 40px);
  list-style: none;
}
@media screen and (max-width:767px) {
  .p-news-listing__items  {
    padding: 0;
  }
}

.p-news-listing__item {
  margin-bottom: 25px;
  padding: 25px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .16);
  border-radius: 10px;
}
@media screen and (max-width:767px) {
  .p-news-listing__item  {
    margin-bottom: 35px;
    padding: 18px 17px 20px;
    border-radius: 5px;
  }
}

.p-news-listing__item:last-child {
  margin-bottom: 0;
}

.p-news-item {
  position: relative;
}

.p-news-item__category {
  padding-left: 1em;
}
.p-news-item__badge-wrap {
  position: absolute;
  top: -4px;
  left: 0;
  z-index: 2;
}
.p-news-item__badge {
  display: inline-block;
  position: relative;
  height: 20px;
  line-height: 20px;
  text-align: center;
  padding: 0 20px 0 12px;
  font-size: 12px;
  background: #FF1E21;
  color: #FFF;
  font-weight: bold;
  box-sizing: border-box;
}

.p-news-item__badge:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.p-news-item__badge:after {
  top: 0;
  right: 0;
  border-width: 10px 15px 10px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

@media screen and (max-width:767px) {
  .p-news-item__badge  {
    top: -1px;
    width: 710px;
    height: 28px;
  }
}

.p-news-item a {
  display: flex;
}
@media screen and (max-width:767px) {
  .p-news-item a {
    display: block;
  }
}


.p-news-item__img-box {
  width: 193px;
  flex-shrink: 0;
}
@media screen and (max-width:767px) {
  .p-news-item__img-box {
    width: 100%;
  }
}


.p-news-item__img {
  padding-top: 62.176%;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width:767px) {
  .p-news-item__img {
    padding-top: 51.9%;
  }
}


.p-news-item__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-news-item__coming-soon-img,
.p-news-item__noImg {
  width: 100%;
  height: 100%;
  color: rgb(124, 152, 182);
  background-color: rgb(234, 240, 246);
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
}

.p-news-item__body {
  width: 100%;
  padding: 10px 0 10px 10px;
}
@media screen and (max-width:767px) {
  .p-news-item__body {
    width: 100%;
    padding: 25px 0 0;
  }
}

.p-news-item__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.p-news-item__date　{
  margin-right: 15px;
  font-size: 14px;
  line-height: 1.42;
  color: #656565;
}
@media screen and (max-width:767px) {
  .p-news-item__date {
    margin-right: 9px;
    font-size: 15px;
    line-height: 1.46;
  }
}

.p-news-item__title {
  margin-top: 18px;
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
  color: #404040;
}
@media screen and (max-width:767px) {
  .p-news-item__title {
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.4;
  }
}
