@charset "UTF-8";

/* =========================================================================== */
/* トップページ埋め込み部分 */
/* =========================================================================== */
.news_list {
  display: grid;
  gap: 18px;
}

.news_list li a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  padding: 14px 20px;
  border: 1px solid #e3dce5;
  background: rgba(255, 255, 255, .85);
  font-size: .95em;
  transition: background-color .2s ease, box-shadow .3s ease;
}

.news_list li a:hover,
.news_list li a:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 8px rgba(100, 32, 102, .5);
}

.news_list li a::after {
  content: "↗";
  grid-column: 3;
  color: var(--color_main);
}

.news_list time {
  color: #706974;
  font-size: 1em;
}

.news_list .news_top_title {
  position: relative;
}

.news_list .news_top_title::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 1px;
  height: 1.4em;
  background: var(--color_main);
  content: "";
  transform: translateY(-50%);
}

.pager {
  text-align: center;
  margin-top: 40px;
}

.pager>a {
  margin-right: 8px;
  padding: 4px 12px;
  display: inline-block;
  background-color: rgba(255, 255, 255, .85);
  border: 1px solid #e3dce5;
}

/* スマホ */
@media (max-width: 767px) {
  .news_list {
    gap: 12px;
  }

  .news_list a {
    grid-template-columns: 1fr 18px;
    gap: 4px 12px;
    padding: 14px 16px;
    font-size: 1.25rem;
  }

  .news_list time {
    grid-column: 1;
    font-size: 1.1rem;
  }

  .news_list .news_top_title {
    grid-column: 1;
    margin-top: 4px;
  }

  .news_list .news_top_title::before {
    top: -3px;
    left: 0;
    width: 20px;
    height: 1px;
    transform: none;
  }
}

/* =========================================================================== */
/* ニュースページ */
/* =========================================================================== */

#newsPage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color_pale);
}

.news_page {
  padding: calc(var(--header_height) + 48px) 4vw 88px;
  background-color: transparent;
}

.news_content {
  width: min(100%, 960px);
  margin-inline: auto;
}

button.news_backBtn {
  appearance: none;
  display: block;
  margin-inline: auto;
  padding: 8px 40px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  line-height: inherit;
  background-color: var(--color_main);
  color: #fff;
  cursor: pointer;
}

.news_archive_table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  color: var(--color_text);
  font-size: 1.4rem;
  line-height: 1.7;
}

.news_archive_table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color_border);
  vertical-align: top;
}

.news_archive_table td:first-child {
  width: 132px;
  color: var(--color_muted);
  white-space: nowrap;
}

.news_archive_table td[colspan="2"] {
  width: auto;
}

.news_archive_table font {
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit;
}

.news_archive_table a {
  color: var(--color_main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news_archive_table a:hover,
.news_archive_table a:focus-visible {
  color: var(--color_main_dark);
  opacity: 1;
}

.news_wrap {
  margin-bottom: 80px;
  padding: 30px 40px;
  border: 1px solid var(--color_border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(41, 37, 43, .05);
  color: var(--color_text);
  font-size: 1.5rem;
  line-height: 1.9;
  scroll-margin-top: calc(var(--header_height) + 24px);
}

.news_wrap .news_title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  color: var(--color_main);
  font-size: 1.9rem;
  font-weight: var(--font_weight_bold);
  line-height: 1.6;
}

.news_wrap .news_title::before {
  content: "";
  position: absolute;
  top: .2em;
  left: 0;
  width: 2px;
  height: 1.2em;
  background: var(--color_main);
}

.news_wrap p {
  margin: .8em 0;
}

.news_wrap p:last-child {
  margin-bottom: 0;
}

.news_wrap table {
  width: 100%;
  margin: 18px 0;
}

.news_wrap hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--color_border);
}

.news_wrap img {
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.news_oldlink {
  margin-top: 80px;
  text-align: center;
}

.news_oldlink:not(only-child) {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.news_oldlink a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--color_main);
  border-radius: 6px;
  background: var(--color_main);
  color: #fff;
  font-size: 1.4rem;
  font-weight: var(--font_weight_bold);
}

.news_oldlink a:hover,
.news_oldlink a:focus-visible {
  border-color: var(--color_main_dark);
  background: var(--color_main_dark);
  opacity: 1;
}

.news_back_link {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
  padding: 8px 0;
  color: var(--color_muted);
  font-size: 1.4rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.news_back_link:hover,
.news_back_link:focus-visible {
  color: var(--color_main);
  text-decoration-color: currentColor;
  opacity: 1;
}

.site_header .global_nav a[aria-current="page"] {
  color: var(--color_main);
  font-weight: var(--font_weight_bold);
}

.site_header .global_nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.newsListPHP_body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color_pale);
}

.newsListPHP li {
  margin-bottom: .3em;
}

.newsListPHP li time {
  display: inline-block;
  width: 6em;
}

.newsListPHP_title {
  font-weight: var(--font_weight_bold);
  color: var(--color_main);
}

li.newsPHPList_bottom {
  margin: 2em 0 6em;
  font-size: .9em;
}



/* スマホ */
@media (max-width: 767px) {
  .news_page {
    padding: calc(var(--header_height) + 28px) 20px 56px;
  }

  .news_wrap {
    margin-bottom: 14px;
    padding: 18px 16px 22px;
    border-left-width: 3px;
    border-radius: 3px;
    font-size: 1.35rem;
    line-height: 1.85;
  }

  .news_wrap .news_title {
    font-size: 1.65rem;
  }

  .news_wrap table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .news_wrap td {
    padding: 10px;
  }

  .news_wrap td:first-child:not([colspan]) {
    width: 96px;
  }

  .news_archive_table {
    display: block;
    overflow-x: auto;
    font-size: 1.25rem;
  }

  .news_archive_table td {
    padding: 9px 10px;
  }

  .news_archive_table td:first-child {
    width: 100px;
  }

  .newsListPHP li time {
    display: block;
  }
}