@charset "utf-8";

/* =========================
   single post
========================= */
/* =========================
   Footerを常に最下部へ
========================= */

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}


.singlePost {
  /* padding: 120px 0; */
}

.singlePost__inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.singlePost__article {
  margin-top: 50px;
}

.singlePost__breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.singlePost__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.singlePost__date {
  color: #666;
  font-size: 14px;
}

.singlePost__tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  background: #2b2f7f;
  color: #fff;
}

.singlePost__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}

.singlePost__thumb {
  margin: 22px 0 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
}

.singlePost__thumbImg {
  width: 100%;
  height: auto;
  display: block;
}

.singlePost__content {
  margin-top: 26px;
  line-height: 2;
      min-height: 300px;
}

.singlePost__content h2 {
  margin: 34px 0 12px;
  font-size: 20px;
}

.singlePost__content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.singlePost__foot {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 16px;
}

.singlePost__pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.singlePost__pager a {
  text-decoration: none;
  font-weight: 700;
  color: #111;
}

@media (max-width: 768px) {
  .singlePost {
    /* padding: 70px 0; */
  }

  .singlePost__pager {
    flex-direction: column;
  }
}


/***************************************************
home.php news　お知らせ一覧
***************************************************/

.newsArchive {
  padding: 80px 0;
  background: #fff;
}

.newsArchive__inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.newsArchive__head {
  margin-bottom: 30px;
}

.newsArchive__title {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

/* リスト */

.newsArchive__list {
  border-top: 1px solid #e5e7eb;
}

.newsArchive__item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.newsArchive__date {
  font-size: 14px;
  color: #666;
}

.newsArchive__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  background: #2b2f7f;
  color: #fff;
}

.newsArchive__link {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 15px;
}

.newsArchive__link:hover {
  color: #d50000;
}

/* ページネーション */

.newsArchive__pagination {
  margin-top: 40px;
  text-align: center;
}

.newsArchive__pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  border: 1px solid #ddd;
}

.newsArchive__pagination .current {
  background: #2b2f7f;
  color: #fff;
  border-color: #2b2f7f;
}

/* SP */

@media (max-width:768px) {

  .newsArchive {
    padding: 60px 0;
  }

  .newsArchive__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

}