@charset "utf-8";

/* =========================================================
   1col layout
========================================================= */
/*======================================
 大枠
 ======================================*/
#content {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto 11.25rem;
}

@media only screen and (max-width: 959px) {

  #content {
    width: 94%;
    margin: 0 auto 6.25rem;
  }
}


/*======================================
 コンテント 
 ======================================*/
.contentWrap {
  margin-top: 3.75rem;
}



@media only screen and (max-width: 959px) {
  .contentWrap {
    margin-top: 2.5rem;
  }

  #content h1 {
    font-size: 1.9rem;
  }
}

/*======================================
 固定ページ
 ======================================*/
.contentPage {
  margin-top: 3.125rem;
}

#page-404 h2 {
  border-radius: 0.625rem;
}

/*======================================
 お知らせ一覧ページ
 ======================================*/

#newsList .doc_link {
    padding: 2.5rem 0;
}

.doc_link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#newsList .txt {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.625rem;
    padding: 2.1875rem 0;
}

#newsList .category {
    flex-direction: row;
}

#newsList .category span {
    display: inline-block;
    width: 6.875rem;
    padding: 0 0.3rem;
    border-radius: 5px;
    text-align: center;
}


.news-event {
    background-color: var(--accent-color-2);
}

.news-info {
    background-color: var(--main-color-9);
}

#newsList .title {
    flex-basis: 100%;
}

/* Media query for phones */
@media screen and (max-width: 559px) {
#newsList .txt {
   padding: 0;
}
}
