@charset 'utf-8';
@media all and (-ms-high-contrast:none) {
  .mainvisual .container {
    margin: 0;
  }
}
/* archive */
#news .newsbase li a {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #f2f1ed;
  color: #333;
}
#news .newsbase li:last-child a {
  border-bottom: none;
}
#news .newsbase li .date {
  width: 120px;
}
#news .newsbase li .category {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  margin: 3px 20px;
  height: 20px;
  border: 1px solid #0dacb5;
  color: #0dacb5;
  font-size: 12px;
  line-height: 1;
}
#news .newsbase li .title {
  width: 750px;
  text-align: left;
}

@media screen and (min-width: 0px) and (max-width: 767px) {
  #news .newsbase li a {
    flex-wrap: wrap;
  }

  #news .newsbase li .date {
    width: auto;
    margin-right: 20px;
  }

  #news .newsbase li .category {
    width: 120px;
    height: 24px;
    margin: 0;
    font-size: 12px;
  }

  #news .newsbase li .title {
    width: 100%;
    margin-top: 10px;
  }
}

/* single */
#news .article .tag-category {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 20px;
  border: 1px solid #0dacb5;
  font-size: 12px;
  color: #0dacb5;
  line-height: 1;
}

#news .article h2 {
  margin-bottom: 0;
  text-align: left;
}

#news .article .date {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

#news .gallery .gallery-item:nth-child(n + 3) {
  margin-top: 30px;
}

.gallery-item img {
  width: 100%;
}

@media screen and (min-width: 0px) and (max-width: 767px) {
  #news .gallery .gallery-item + .gallery-item {
    margin-top: 15px;
  }
}