@charset "UTF-8";

/* =========================
サブページ共通
========================= */
.sub-header .site-header-logo-img {
  margin-top: 2rem;
}
@media only screen and (max-width: 640px) {
  .sub-header .site-header-logo-img {
    margin-top: 0;
  }
  .sub-header .site-header-nav {
    padding-block: 36px;
  }
  .sub-header .sp-nav-btn {
    top: 25px;
  }
}

/* ================
  お知らせ一覧
================ */
.info-archive {
  background: url(../images/yataimura-bg.jpg) 0 0 no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding-block: 100px;
}
.info-archive .info-title {
  text-align: center;
  margin-bottom: 40px;
}
.info-title img {
  max-width: 600px;
}

/* リスト */
.postlist {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
}
.postlist__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.postlist__link {
  display: block;
  padding: 2rem 0.5rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.postlist__link:hover,
.postlist__link:focus {
  background: rgba(25, 60, 112, 0.05);
}

.postlist__date {
  display: inline-block;
  min-width: 9ch;
  margin-right: 2rem;
  font-size: var(--fz16);
  letter-spacing: 0.02em;
  color: #444444;
}
.postlist__title {
  display: inline;
  font-size: var(--fz20);
  font-weight: bold;
  color: var(--blue);
}
.postlist__excerpt {
  margin-top: 8px;
  font-size: var(--fz18);
  color: #444;
}

/* ページネーション */
.pager {
  margin-block: 5rem;
  display: flex;
  justify-content: center;
}
.pager__list {
  display: flex;
  gap: 12px;
}
.pager__link {
  display: inline-flex;
  min-width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 60, 112, 0.3);
  border-radius: 16px;
  color: var(--blue);
  font-size: var(--fz16);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pager__link:hover,
.pager__link:focus {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.pager__link.is-current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  pointer-events: none;
}
.pager__link.is-prev,
.pager__link.is-next {
  padding: 0 10px;
}
@media only screen and (max-width: 900px) {
  .info-archive .info-title img {
    max-width: 80%;
  }
}
@media (max-width: 767px) {
  .info-archive {
    padding-top: 50px;
  }
  .postlist__link {
    padding: 18px 4px;
  }
  .postlist__title {
    margin-top: 4px;
  }
}
@media only screen and (max-width: 499px) {
  .pager {
    margin-block: 3rem;
  }
  .pager__link {
    min-width: 40px;
    height: 40px;
  }
  .postlist__date {
    margin-right: 10px;
  }
}
/* ================
  お知らせ詳細
================ */
.info-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.info-page {
  background: url(../images/yataimura-bg.jpg) 0 0 no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding-block: 100px;
}

.info-meta {
  display: inline-block;
  width: 20%;
  background: var(--blue);
  font-size: var(--fz18);
  color: var(--white);
  text-align: center;
  padding: 4px 8px;
  margin-bottom: 24px;
}
.info-title {
  text-align: center;
  margin-bottom: 100px;
}
.info-title img {
  max-width: 600px;
}

.info-heading,
.info-figure {
  max-width: 540px;
  margin: 0 auto;
}
.info-heading {
  font-size: var(--fz30);
  color: #444444;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
}
.info-figure {
  margin-bottom: 64px;
}
.info-btn-wrap {
  margin-top: 90px;
}

.info-btn-wrap .news-btn {
  font-size: var(--fz20);
  max-width: 45%;
  padding-block: 1rem;
}
.info-btn-wrap .common-insta-btn {
  max-width: 100%;
}
.info-btn-wrap .common-insta-text {
  padding-block: 0.4rem;
}

@media (max-width: 900px) {
  .info-page {
    padding-top: 50px;
  }
  .info-title img {
    max-width: 80%;
  }
}
@media only screen and (max-width: 640px) {
  .info-btn-wrap .news-btn {
    max-width: 100%;
    padding-block: 0.7rem;
  }
  .info-title {
    margin-bottom: 60px;
  }
  .info-meta {
    width: 33%;
    margin-bottom: 1rem;
  }
  .info-heading {
    margin-bottom: 20px;
  }
  .info-figure {
    margin-bottom: 20px;
  }
  .info-btn-wrap {
    margin-top: 64px;
  }
}
