:root {
  --color-text: #111111;
  --color-subtext: #666666;
  --color-border: #d9d9d9;
  --color-border-strong: #bbbbbb;
  --color-bg-soft: #f6f6f6;
  --color-bg-placeholder: #e8ebef;
  --color-link: #111111;
  --color-brand: #0051c4;
  --color-brand-bright: #006aff;
  --layout-max: 1200px;
  --layout-narrow: 960px;
  --font-family: "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-shell {
  min-height: 100vh;
  background: #ffffff;
}

/* ページ背景
   page-bg--blue  ... 青グラデーション（お知らせ・ポータルTOP）
   page-bg--white ... 白背景
*/
.page-bg {
  position: relative;
}

.page-bg--blue {
  background:
    linear-gradient(181.22deg, rgba(75, 201, 212, 0.8) 1.51%, rgba(0, 106, 255, 0.8) 98.49%),
    #006aff;
}

.page-bg--white {
  background-color: #ffffff;
}

.container {
  width: min(100% - 32px, var(--layout-max));
  margin: 0 auto;
}

.container--narrow {
  width: min(100% - 32px, var(--layout-narrow));
  margin: 0 auto;
}

/* ポータル共通ヘッダー（9/25 index.html は未使用）: スクロール時に画面上部へ吸着 */
[data-include="site-header"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  height: 80px;
  padding: 0 48px;
  border-bottom: 2px solid #cccccc;
  background: #ffffff;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo {
  display: block;
  width: 226px;
  height: 48px;
  overflow: hidden;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 700;
  font-feature-settings: "pwid" 1;
  line-height: 1;
}

.site-header__nav a {
  color: var(--color-brand);
  white-space: nowrap;
}

.site-header__nav a:hover {
  opacity: 0.7;
}

.site-header__nav .site-header__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 30px;
  background-image: linear-gradient(197deg, var(--color-brand-bright) 0%, var(--color-brand) 100%);
  color: #ffffff;
}

.site-header__nav .site-header__pill:hover {
  opacity: 0.85;
}

.site-footer {
  border-top: 2px solid #00a0e9;
  background: #ffffff;
  padding: 36px 60px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  margin: auto;
}

.site-footer__nav {
  display: flex;
}

.site-footer__nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-footer__nav li:not(:last-of-type)::after {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  margin: 0 20px;
  background: #000;
}

.site-footer__nav a {
  font-size: 13px;
  font-weight: 400;
  font-feature-settings: normal;
  letter-spacing: 0;
}

.site-footer__nav a:hover {
  opacity: 0.7;
}

.site-footer__copy {
  margin-left: auto;
}

.site-footer__copy small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.news-list {
  width: 100%;
}

.news-list__item {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #999999;
}

.news-list__item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.news-list__row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
}

.news-list__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.news-list__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-list__date {
  flex-shrink: 0;
  width: 110px;
  color: #999999;
  font-size: 14px;
  font-weight: 400;
  font-feature-settings: "pwid" 1;
  line-height: 1.8;
}

.news-new[hidden] {
  display: none;
}

.news-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 16px;
  border-radius: 20px;
  background: #b50000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-feature-settings: "pwid" 1;
  line-height: 1.8;
  white-space: nowrap;
}

.news-list__title {
  color: #222222;
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: "pwid" 1;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-list[aria-busy="true"] {
  opacity: 0.6;
}

.news-empty {
  padding: 24px 0;
  color: var(--color-subtext);
  font-size: 14px;
  text-align: center;
}

.news-list__arrow {
  display: block;
  flex-shrink: 0;
  width: 25px;
  height: 20px;
  max-width: none;
  overflow: hidden;
  object-fit: contain;
}

@media (max-width: 767px) {
  .container,
  .container--narrow {
    width: min(100% - 30px, 100%);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }

  .site-header__brand {
    justify-content: center;
    height: 40px;
    border-bottom: 1px solid #cccccc;
  }

  .site-header__logo {
    width: 113px;
    height: 24px;
  }

  .site-header__nav {
    justify-content: center;
    gap: 16px;
    height: 56px;
    padding: 8px;
    font-size: 15px;
    background: #ffffff;
  }

  .site-header__nav .site-header__pill {
    width: 160px;
    padding: 8px;
  }

  .site-footer {
    border-top-width: 4px;
    padding: 17px 30px;
  }

  .site-footer__inner {
    display: block;
  }

  .site-footer__nav {
    display: block;
    margin-bottom: 17px;
  }

  .site-footer__nav li {
    display: block;
    text-align: center;
  }

  .site-footer__nav li:not(:last-of-type)::after {
    width: 100%;
    height: 1px;
    margin: 0;
    position: absolute;
    bottom: 0;
  }

  .site-footer__nav a {
    display: block;
    padding: 21px 0 22px;
    font-size: 13px;
  }

  .site-footer__copy {
    margin-left: 0;
  }

  .site-footer__copy small {
    font-size: 11px;
    text-align: center;
  }

}
