:root {
  --bg: #f9fbf6;
  --text: #2f3a2f;
  --subtext: #666;

  --accent: #8fbf7a;
  --accent-dark: #4f7a4f;
  --accent-soft: #eef6ea;

  --border: #dbe7d3;
  --border-soft: #edf4e8;

  --danger: #d9534f;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.05);

  --emergency-height: 0px;

  /* ロゴ追加後のヘッダー実測値
   TOPページのページ内リンク位置（scroll-margin-top）と連動
   ロゴやナビの高さを変更した場合は、この値も確認すること */
  --header-height: 210px;
}

/* ------------------------------------
   基本設定
------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: -apple-system, "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--accent-dark);
}

a:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}

section {
  padding: 32px 16px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.important {
  border-bottom: 3px solid var(--danger);
}

.nowrap {
  white-space: nowrap;
}

/* ------------------------------------
   本文スキップ
------------------------------------ */
.skip-link {
  position: absolute;
  top: -40px;
  left: -9999px;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
  left: 0;
}

/* ------------------------------------
   公式名称
------------------------------------ */
.official-name {
  background: #f5f7f4;
  font-size: 0.85rem;
  text-align: center;
  padding: 6px 0;
}

/* ------------------------------------
   緊急情報
------------------------------------ */
.alert {
  height: 48px;
  display: flex;
  align-items: center;
  background: var(--danger);
  color: #fff;
  margin: 0;
  padding: 10px 16px;
  font-weight: bold;
  font-size: 0.9rem;
}

.mode-normal .alert {
  display: none;
}

.mode-disaster .alert {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
}

.mode-disaster {
  --accent: #b10000;
}

/* ------------------------------------
   ヘッダー
------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f1f7ed;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: var(--subtext);
}

/* ------------------------------------
   ナビゲーション
------------------------------------ */
nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav li {
  width: 160px;
}

nav a {
  display: block;
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: #fafafa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

nav a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

nav a:active {
  transform: translateY(0);
  box-shadow: none;
}

nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ------------------------------------
   ファーストビュー
------------------------------------ */
.hero {
  background: linear-gradient(135deg, #f9fbfd, #eef4f9);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 16px 48px;
  position: relative;
}

.hero-date {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.05em;
}

.hero-copy {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 800px;
}

@media (max-width: 600px) {
  .hero-date {
    position: static;
    text-align: right;
    margin-bottom: 10px;
    font-size: 13px;
  }
}

/* ------------------------------------
   白枠
------------------------------------ */
.white-box {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.white-box p {
  margin-bottom: 0.8em;
}

/* ------------------------------------
   役割
------------------------------------ */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.role-box {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--border-soft);
}

.role-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #35556b;
}

/* ------------------------------------
   お知らせ
------------------------------------ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li,
.news-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.news-date {
  display: inline-block;
  width: 7em;
  color: #777;
}

.new-mark {
  background: #e60033;
  color: #fff;
  font-size: 0.7em;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 4px;
}

/* ------------------------------------
   地域自立支援協議会：TOP入口
------------------------------------ */
#policy {
  background: var(--accent-soft);
}

.policy-gateway {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  transition: all 0.25s ease;
}

.policy-gateway:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.policy-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.policy-gateway h3 {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 1.35em;
  line-height: 1.6;
}

.policy-gateway p {
  margin: 0 0 10px;
}

.policy-gateway p:last-child {
  margin-bottom: 0;
}

.policy-gateway-links {
  min-width: 220px;
  text-align: center;
}

.policy-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #6fa45b);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.policy-btn:hover,
.policy-btn:focus {
  background: #6fa45b;
  color: #fff;
  text-decoration: none;
}

/* ------------------------------------
   アクセス
------------------------------------ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
}

.access-table th {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  width: 110px;
  background: #f5f5f5;
  white-space: nowrap;
}

.access-table td {
  padding: 12px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.tel {
  font-weight: bold;
  font-size: 1.1em;
}

.note {
  font-size: 0.9em;
  color: var(--subtext);
}

.access-alert {
  margin-top: 20px;
  padding: 14px;
  background: #fffdf8;
  border-left: 4px solid #c8d88a;
  box-shadow: -2px 0 0 #f3f7df;
  border-radius: 8px;
  font-size: 0.95em;
}

.map-placeholder iframe,
iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.map-placeholder iframe {
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* ------------------------------------
   アクセス：案内コメント
------------------------------------ */
.access-note-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fffdf8;
  border-left: 4px solid #c8d88a;
  box-shadow: -2px 0 0 #f3f7df;
  border-radius: 8px;
}

.access-note-main {
  font-weight: 500;
  margin-bottom: 6px;
}

.access-note-sub {
  font-size: 0.93em;
  color: var(--subtext);
  line-height: 1.7;
}

/* ------------------------------------
   フッター
------------------------------------ */
footer {
  background: #f1f7ed;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px;
}

.footer-name,
.footer-address,
.footer-copy {
  text-align: center;
}

.footer-name {
  font-weight: 600;
  color: var(--accent-dark);
}

.footer-address {
  font-size: 0.95em;
  margin-top: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85em;
  margin-top: 10px;
  color: #777;
}

footer .tel {
  color: inherit;
  text-decoration: none;
}

.footer-tel {
  color: var(--accent-dark);
}

/* ------------------------------------
   TOPボタン
------------------------------------ */
#floating-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9999;
  text-decoration: none;
}

#floating-top.show {
  opacity: 1;
  pointer-events: auto;
}

#floating-top:hover {
  transform: translateY(-3px);
}

/* ------------------------------------
   タブレット対応
------------------------------------ */
@media (max-width: 900px) {
  .policy-gateway {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .policy-gateway-links {
    min-width: 0;
    text-align: left;
  }

  .policy-btn {
    width: 100%;
    text-align: center;
  }
}

/* ------------------------------------
   スマホ対応
   ※ナビを縦積みにせず、横スクロール型にする
------------------------------------ */
@media (max-width: 768px) {
  :root {
    --header-height: 110px;
  }

  section {
    padding: 28px 12px;
  }

  .section-inner {
    padding: 0 10px;
  }

  .site-header {
    padding: 8px 12px 6px;
  }

  .site-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .site-subtitle {
    font-size: 0.75rem;
  }

  nav {
    width: 100%;
    overflow: hidden;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 0 4px 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  nav li {
    width: auto;
    flex: 0 0 auto;
  }

  nav a {
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 999px;
  }

  .hero-inner {
    padding: 30px 16px 38px;
  }

  .hero-copy {
    font-size: 1.35rem;
  }

  .roles {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .access-table th {
    width: 90px;
  }

  .nowrap {
    white-space: normal;
  }
}

/* ------------------------------------
   生活支援拠点等：スマホ対応
------------------------------------ */
@media (max-width: 760px) {
  .base-gateway {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .base-circle {
    width: 100%;
    height: auto;
    min-height: 120px;
    border-radius: 18px;
  }
}

/* ------------------------------------
   小さめスマホ対応
------------------------------------ */
@media (max-width: 600px) {
  .footer-address {
    flex-direction: column;
    gap: 4px;
  }
}

/* ------------------------------------
   資料室
------------------------------------ */
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.library-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.library-card h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  border-left: 4px solid var(--accent);
  padding-left: 8px;
}

.library-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.library-card li {
  margin-bottom: 6px;
}

.library-card a {
  text-decoration: none;
  font-size: 0.95rem;
}

.library-card a:hover {
  text-decoration: underline;
}

/* スマホ */
@media (max-width: 768px) {
  .library-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------
   最終更新日（資料室・控えめ表示）
------------------------------------ */
.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  margin-top: 12px;
  padding: 4px 10px;

  background: var(--accent-soft);  /* TOPと同じ色 */
  border-radius: 999px;            /* やわらかい丸 */
}

/* 共通 */
.update-badge img {
  display: inline-block;
  max-width: none !important;
  vertical-align: middle;
}

/* 「最終更新日」 */
.update-badge img:first-child {
  width: 144px;
  height: 17px;
}

/* =========================================
   あわいページ導線（TOP用）
========================================= */
.awai-link-text {
  margin-top: 24px;
  color: #5f6f5f;
  font-size: 0.95rem;
}

.awai-link {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* メイン（しろっこのいわれ） */
.awai-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef6ea;
  color: #4f7a4f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.awai-btn:hover {
  background: #dcebd5;
}

/* サブ（あわい） */
.awai-btn-sub {
  background: #fff;
  border: 1px solid #dbe7d3;
  color: #4f7a4f;
}

.awai-btn-sub:hover {
  background: #eef6ea;
}

/* =========================================
   あわい（間）とは ページ
========================================= */

.awai-hero {
  background: linear-gradient(180deg, #f9fbf6 0%, #eef6ea 100%);
  padding: 72px 20px 64px;
  text-align: center;
}

.awai-label {
  color: #6f9f5f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.awai-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #5f8f4f;
  margin: 0 0 18px;
  letter-spacing: 0.06em;
}

.awai-catch {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4f7a4f;
  margin: 0;
}

.awai-page {
  background: #f9fbf6;
  padding: 56px 20px 80px;
}

.awai-intro {
  font-size: 1.05rem;
  border-color: #dbe7d3;
}

.awai-intro p,
.awai-message-box p {
  line-height: 2;
}

.awai-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.awai-card {
  background: #ffffff;
  border: 1px solid #edf4e8;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.awai-card h2 {
  font-size: 1.1rem;
  color: #6f9f5f;
  margin: 0 0 12px;
}

.awai-card p {
  margin: 0;
  line-height: 1.9;
}

.awai-message-box {
  margin-top: 32px;
  border-color: #dbe7d3;
}

.awai-message-box h2 {
  color: #5f8f4f;
  font-size: 1.3rem;
  margin-top: 0;
}

.awai-closing {
  margin: 48px auto 0;
  max-width: 760px;
  background: #eef6ea;
  border: 1px solid #dbe7d3;
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
}

.awai-closing p {
  margin: 0 0 1.4em;
  line-height: 2;
  font-weight: 700;
  color: #2f3a2f;
}

.awai-closing p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .awai-hero {
    padding: 56px 18px 48px;
  }

  .awai-page {
    padding: 42px 18px 64px;
  }

  .awai-three {
    grid-template-columns: 1fr;
  }

  .awai-closing {
    text-align: left;
    padding: 26px 22px;
  }
}

.awai-back-link {
  margin-top: 36px;
  text-align: center;
  font-size: 0.95rem;
}

.awai-back-link a {
  color: #5f8f4f;
  text-decoration: none;
  border-bottom: 1px solid #b8d5aa;
  padding-bottom: 3px;
}

.awai-back-link a:hover {
  color: #4f7a4f;
  border-bottom-color: #4f7a4f;
}

/* あわいページ：シンプルヘッダー調整 */
.awai-simple-header {
  padding: 14px 16px;
}


/* ------------------------------------
   掲示板の見取り図
------------------------------------ */
.board-map {
  padding: 8px 0 44px;
}

.board-map-box {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 4px;
}

.board-map-box h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

.board-map-lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--subtext);
}

.board-map-flow p {
  margin: 0;
  padding: 10px 0;
  border-top: 1px dashed var(--border-soft);
  font-size: 14px;
  line-height: 1.8;
}

.board-map-flow p:first-child {
  border-top: none;
}

.board-map-flow strong {
  display: inline-block;
  min-width: 130px;
  color: var(--text);
  font-weight: 700;
}

.board-map-flow span {
  color: var(--subtext);
}

.board-map-flow a {
  color: var(--accent-dark);
  text-decoration: none;
}

.board-map-flow a:hover,
.board-map-flow a:focus {
  text-decoration: underline;
}

/* しろっこのいわれ：サイトマップ内で少し強調 */
.board-map-flow a[href="/sirocco/"] {
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.board-map-flow a[href="/sirocco/"]:hover,
.board-map-flow a[href="/sirocco/"]:focus {
  text-decoration: none;
  background: #dcebd5;
}

@media (max-width: 700px) {
  .board-map-box {
    padding: 22px 0;
  }

  .board-map-flow strong {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
}

/* ------------------------------------
   SNS：しろっこ公式
------------------------------------ */

.sns-box {
  text-align: center;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;

  background: var(--accent-soft);
  border: 1px solid var(--border);

  border-radius: 999px;

  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;

  transition: all 0.25s ease;
}

.sns-btn:hover,
.sns-btn:focus {
  background: #dcebd5;
  color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.sns-svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sns-name {
  line-height: 1;
}

.rss-box {
  margin-top: 30px;
  padding-top: 22px;

  border-top: 1px dashed var(--border);

  text-align: left;
}

.rss-title {
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.rss-link a {
  word-break: break-all;
}

/* ------------------------------------
   生活支援拠点等：入口
------------------------------------ */
.base-gateway {
  background: #fffdf8;
  border: 1px solid #e6decd;
  border-left: 8px solid var(--accent);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.base-circle {
  width: 210px;
  height: 210px;
  border: 2px solid #d8c89a;
  border-radius: 50%;
  background: #fff9e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  color: #4b4b4b;
  font-weight: 600;
  line-height: 1.8;
}

.base-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.base-text h3 {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 1.25rem;
  line-height: 1.6;
}

.base-text p {
  margin: 0 0 1em;
}

.base-note {
  color: var(--subtext);
  font-size: 0.95em;
}

.base-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.base-point {
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-weight: 600;
  text-align: center;
}

.base-link-area {
  margin-top: 22px;
}

.base-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #6fa45b);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.base-btn:hover,
.base-btn:focus {
  background: #6fa45b;
  color: #fff;
  text-decoration: none;
}

/* ------------------------------------
   生活支援拠点等：スマホ対応
------------------------------------ */
@media (max-width: 760px) {
  .base-gateway {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .base-circle {
    width: 100%;
    height: auto;
    min-height: 120px;
    border-radius: 18px;
  }

  .base-points {
    grid-template-columns: 1fr;
  }

  .base-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   地域生活支援拠点等ページ：完成版
========================================= */

.kyoten-hero {
  background: linear-gradient(180deg, #f9fbf6 0%, #eef6ea 100%);
  border-bottom: 1px solid var(--border-soft);
}

.kyoten-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 420px;
  gap: 32px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.kyoten-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.kyoten-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.45;
  color: #355b3d;
}

.kyoten-title span {
  display: block;
  color: #6f9f5f;
}

.kyoten-lead {
  font-size: 1.02rem;
  line-height: 2;
  color: #445044;
}

.kyoten-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.kyoten-hero-card h2 {
  margin-top: 0;
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.kyoten-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kyoten-badges span {
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.kyoten-marker {
  background: linear-gradient(transparent 60%, #edf6d9 60%);
  font-weight: 700;
}

.kyoten-two-column,
.kyoten-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kyoten-two-column {
  grid-template-columns: 1fr 1fr;
}

.kyoten-info-card h3,
.kyoten-meeting-card h3 {
  margin-top: 0;
  color: var(--accent-dark);
}

.kyoten-soft-list {
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.kyoten-soft-list li {
  margin-bottom: 8px;
}

.kyoten-network-diagram,
.kyoten-flow,
.kyoten-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.kyoten-feature-grid {
  grid-template-columns: repeat(5, 1fr);
}

.kyoten-feature-card,
.kyoten-network-item,
.kyoten-flow-step,
.kyoten-status-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.kyoten-feature-card {
  text-align: center;
}

.kyoten-feature-no {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.kyoten-feature-card h3,
.kyoten-network-item strong,
.kyoten-status-card h3 {
  color: var(--accent-dark);
}

.kyoten-feature-card p,
.kyoten-network-item span,
.kyoten-status-card p {
  color: var(--subtext);
  font-size: 0.92rem;
  line-height: 1.8;
}

.kyoten-network-item {
  text-align: center;
}

.kyoten-network-center {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

.kyoten-flow-step {
  text-align: center;
  height: 100%;
}

.kyoten-flow-step b {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1;
  color: var(--accent-dark);
  font-weight: 700;
}

.kyoten-flow-step span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.kyoten-notice-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: #fffdf8;
  border-left: 4px solid #c8d88a;
  border-radius: 10px;
}

.kyoten-medical-card {
  background: linear-gradient(135deg, #eef7f7, #fffdf8);
}

.kyoten-external-link,
.kyoten-doc-btn {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.kyoten-external-link:hover,
.kyoten-doc-btn:hover {
  background: #dcebd5;
  text-decoration: none;
}

.kyoten-meeting-card {
  border-left: 8px solid var(--accent);
}

.kyoten-meeting-meta {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-soft);
}

.kyoten-meeting-meta dt {
  font-weight: 700;
  color: var(--accent-dark);
}

.kyoten-meeting-meta dd {
  margin: 0;
}

.kyoten-status-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kyoten-document-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.kyoten-document-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px dashed var(--border-soft);
}

.kyoten-document-list li:first-child {
  border-top: none;
}

.kyoten-doc-title {
  display: block;
  font-weight: 700;
}

.kyoten-doc-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--subtext);
}

.kyoten-message-box {
  text-align: center;
}

.kyoten-message-box h2 {
  color: var(--accent-dark);
}

/* スマホ・タブレット */
@media (max-width: 900px) {
  .kyoten-hero-inner,
  .kyoten-two-column,
  .kyoten-network-diagram,
  .kyoten-flow,
  .kyoten-status-grid {
    grid-template-columns: 1fr;
  }

  .kyoten-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .kyoten-title {
    font-size: 2rem;
  }

  .kyoten-hero-inner {
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .kyoten-feature-grid {
    grid-template-columns: 1fr;
  }

  .kyoten-document-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .kyoten-meeting-meta {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   地域生活支援拠点等：微調整完成版
========================================= */

/* ヒーロー文章の読みやすさ */
.kyoten-lead,
.kyoten-lead-box p,
.kyoten-info-card p,
.kyoten-medical-card p,
.kyoten-message-box p {
  line-height: 2;
}

/* 長文時の文字詰まり防止 */
.kyoten-page p {
  letter-spacing: 0.02em;
}

/* カード高さのばらつき軽減 */
.kyoten-feature-card,
.kyoten-status-card,
.kyoten-network-item {
  height: 100%;
}

/* スマホ時の余白最適化 */
@media (max-width: 760px) {

  .kyoten-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .kyoten-hero-card {
    padding: 22px;
  }

  .kyoten-flow-step,
  .kyoten-network-item,
  .kyoten-feature-card,
  .kyoten-status-card {
    padding: 16px;
  }
}

/* ------------------------------------
   面的整備型：関係図 微調整
------------------------------------ */

.kyoten-network-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* 上段 */
.kyoten-network-item strong {
  display: block;
  font-size: 1rem;
  color: var(--accent-dark);
  line-height: 1.4;
  font-weight: 700;
}

/* 下段 */
.kyoten-network-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--subtext);
  line-height: 1.7;
}

/* サイトマップ補足 */
.map-note{
  color:#6b746b;
  font-size:0.85em;
  white-space:nowrap;
}

/* ------------------------------------
   ページ内リンク：地域生活支援拠点等ページ専用
   ※TOPページには影響させない
------------------------------------ */
.kyoten-page .page-anchor {
  display: block;
  position: relative;
  top: -170px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}


/* ------------------------------------
   TOPページ：ページ内リンク補正
   ※ロゴ画像のサイズ・色・ぼかし等には触れず、
     固定ヘッダーの実寸に合わせて停止位置だけを調整します。
------------------------------------ */
body:not(.kyoten-page) section[id] {
  scroll-margin-top: calc(var(--header-height) - 25px);
}

body:not(.kyoten-page) main[id] {
  scroll-margin-top: calc(var(--header-height) - 25px);
}

/* ======================================
   しろっこロゴ・ヘッダー最終調整
   ※ロゴ画像は加工せず、等比表示のみ
====================================== */

.site-header{
  max-width:1080px;
  margin:0 auto;
  padding:8px 16px 10px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}

.site-brand{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:6px 0 6px;
}

.site-logo{
  width:360px;
  max-width:90%;
  height:auto;
  display:block;
}

.site-brand .site-subtitle{
  margin-top:6px;
  font-size:0.8rem;
  color:#666;
}

/* ======================================
   ナビゲーション最終調整
   PC：6列×2段
====================================== */

.site-header nav{
  width:100%;
  margin-top:10px;
}

.site-header nav ul{
  list-style:none;
  display:grid !important;
  grid-template-columns:repeat(6, 160px) !important;
  justify-content:center !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}

.site-header nav li{
  width:160px !important;
}

.site-header nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:38px;
  padding:6px 10px;
  text-align:center;
  line-height:1.35;
}

/* 幅が足りない画面では、崩さず3列にする */
@media (max-width:1040px){
  .site-header nav ul{
    grid-template-columns:repeat(3, 160px) !important;
  }
}

/* スマホだけ横スクロール */
@media (max-width:600px){
  :root{
    --header-height:150px;
  }

  .site-header{
    padding:8px 12px 8px;
  }

  .site-logo{
    width:280px;
    max-width:88%;
  }

  .site-header nav ul{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:0 4px 6px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
  }

  .site-header nav li{
    width:auto !important;
    flex:0 0 auto !important;
  }

  .site-header nav a{
    white-space:nowrap;
    min-height:34px;
    font-size:0.82rem;
    border-radius:999px;
  }
}

/* =========================================
   地域づくりページ
   「地域に、風が通う。」
========================================= */

/* 五行の言葉：ページの心臓部 */
.wind-poem {
  text-align: center;
  margin: 70px 0;
  padding: 48px 40px;
}

.wind-poem p {
  text-align: center;
  line-height: 2.4;
  margin: 1.15em 0;
}

.wind-poem strong {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* 節目の見出しだけ中央 */
.center-title h2 {
  text-align: center;
  margin-bottom: 36px;
}

/* 本文は左から静かに読む */
.center-title p {
  text-align: left;
}

/* 大切な一文の前後に間を置く */
.message-highlight {
  text-align: center !important;
  margin: 42px 0 !important;
  font-size: 1.12rem;
  font-weight: 600;
}

/* 最後の余韻 */
.final-message {
  text-align: center;
  margin: 48px 0 !important;
  font-weight: 700;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .wind-poem {
    margin: 52px 0;
    padding: 36px 20px;
  }

  .wind-poem p {
    line-height: 2.15;
  }

  .center-title h2 {
    margin-bottom: 28px;
  }

  .message-highlight,
  .final-message {
    margin: 36px 0 !important;
  }
}


/* =========================================
   地域の縁側（ふくし放課後）：TOP入口
   ※既存デザインの配色・余白・ボタン表現に合わせる
========================================= */
#hokago {
  background: #f9fbf6;
}

.hokago-gateway {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  transition: all 0.25s ease;
}

.hokago-gateway:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hokago-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.hokago-gateway h3 {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 1.35em;
  line-height: 1.6;
}

.hokago-gateway p {
  margin: 0 0 10px;
}

.hokago-message {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.9;
}

.hokago-gateway-links {
  min-width: 220px;
  text-align: center;
}

.hokago-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #6fa45b);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hokago-btn:hover,
.hokago-btn:focus {
  background: #6fa45b;
  color: #fff;
  text-decoration: none;
}

/* 13番目の新規ナビだけを最終段中央へ配置 */
@media (min-width: 1041px) {
  .site-header nav li.nav-hokago {
    grid-column: 3 / span 2;
    justify-self: center;
  }
}

@media (min-width: 601px) and (max-width: 1040px) {
  .site-header nav li.nav-hokago {
    grid-column: 2;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .hokago-gateway {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hokago-gateway-links {
    min-width: 0;
    text-align: left;
  }

  .hokago-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header nav li.nav-hokago {
    grid-column: auto;
    justify-self: auto;
  }
}



/* =====================================
   TOPページ：三つの役割と具体的な取り組み
   同じ余白・同じ温度で静かに紹介する
===================================== */
.role-box {
  display: flex;
  flex-direction: column;
}

.role-box .role-text {
  flex: 0 0 auto;
}

.role-box .role-text p {
  margin: 0 0 0.75em;
}

.role-box .role-text p:last-child {
  margin-bottom: 0;
}

.role-practice {
  margin-top: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #fbfcfa 0%, #f3f7f1 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--subtext);
  font-size: 0.9rem;
  line-height: 1.85;
}

.role-practice-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.role-practice h3 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 1rem;
  line-height: 1.65;
}

.role-practice p {
  margin: 0;
}

.role-practice-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #b8d5aa;
}

.role-practice-link::after {
  content: "  ›";
}

.role-practice-link:hover,
.role-practice-link:focus {
  color: #35556b;
  text-decoration: none;
  border-bottom-color: currentColor;
}

@media (max-width: 768px) {
  .role-practice {
    padding: 16px;
    border-radius: 12px;
  }
}


/* =========================================
   TOP：お知らせ（重要な一件＋新着情報室）
   ========================================= */
.news-section {
  background: linear-gradient(180deg, #f9fbf6 0%, #f3f8ef 100%);
}

.featured-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 8px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.featured-news-label,
.latest-news-label {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.featured-news-label {
  padding: 5px 14px;
  margin-bottom: 12px;
  background: var(--accent-soft);
  border-radius: 999px;
}

.featured-news-kicker {
  margin: 0 0 5px;
  color: #6c8066;
  font-size: 0.92rem;
}

.featured-news h3 {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 1.35rem;
  line-height: 1.6;
}

.featured-news p:last-child {
  margin-bottom: 0;
}

.featured-news-link-area {
  min-width: 190px;
  text-align: center;
}

.featured-news-link,
.latest-news-room-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
}

.featured-news-link {
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #6fa45b);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-news-link:hover,
.featured-news-link:focus {
  color: #fff;
  background: #6fa45b;
}

.latest-news {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.latest-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-soft);
}

.latest-news-heading h3 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.15rem;
}

.latest-news-room-link {
  padding-bottom: 2px;
  border-bottom: 1px solid #b8d5aa;
  white-space: nowrap;
}

.latest-news-room-link:hover,
.latest-news-room-link:focus {
  border-bottom-color: var(--accent-dark);
}

.news-list-status,
.news-fallback {
  margin: 16px 0 0;
  color: var(--subtext);
  font-size: 0.94rem;
}

.latest-news .news-list {
  margin: 0;
}

.latest-news .news-item {
  display: grid;
  grid-template-columns: 7em auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 13px 0;
}

.latest-news .news-item:last-child {
  border-bottom: none;
}

.latest-news .news-date {
  width: auto;
  font-variant-numeric: tabular-nums;
}

.news-item-link {
  color: var(--text);
  text-decoration: none;
}

.news-item-link:hover,
.news-item-link:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .featured-news {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 22px;
  }

  .featured-news-link-area {
    min-width: 0;
    text-align: left;
  }

  .featured-news-link {
    width: 100%;
    text-align: center;
  }

  .latest-news {
    padding: 22px 20px;
  }

  .latest-news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .latest-news .news-item {
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
  }

  .latest-news .news-item-link {
    grid-column: 1 / -1;
  }
}


/* TOP：新着記事から1記事表示へつなぐ控えめな印 */
.news-item-link::after,
.latest-news-room-link::after {
  content: "  ›";
  color: var(--accent-dark);
}


/* =========================================
   しろっこ共通案内記号：完成版
   「風のおたより」で使用している › に統一

   ・既存の丸いボタン、配色、ホバー効果は維持
   ・案内記号だけを共通化
   ・新しいリンクには class="link-mark" を追加して使用
========================================= */

/* 共通案内記号 */
.link-mark::after,
.awai-btn::after,
.role-practice-link::after,
.news-item-link::after,
.latest-news-room-link::after {
  content: "›";
  display: inline-block;
  margin-left: 0.42em;
  color: currentColor;
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
  transform: translateX(0);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* マウス・キーボード操作時に、風が通るように少しだけ動かす */
.link-mark:hover::after,
.link-mark:focus::after,
.awai-btn:hover::after,
.awai-btn:focus::after,
.role-practice-link:hover::after,
.role-practice-link:focus::after,
.news-item-link:hover::after,
.news-item-link:focus::after,
.latest-news-room-link:hover::after,
.latest-news-room-link:focus::after {
  opacity: 1;
  transform: translateX(3px);
}

/* あわいの丸いボタン：現在の形と反応を保ったまま、動きを少し整える */
.awai-btn {
  transform: translateY(0);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.awai-btn:hover,
.awai-btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.07);
}

.awai-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

/* キーボード操作時にもボタン位置が分かるようにする */
.awai-btn:focus-visible,
.link-mark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 動きを減らす設定を利用している方への配慮 */
@media (prefers-reduced-motion: reduce) {
  .link-mark::after,
  .awai-btn::after,
  .role-practice-link::after,
  .news-item-link::after,
  .latest-news-room-link::after,
  .awai-btn {
    transition: none;
  }

  .link-mark:hover::after,
  .link-mark:focus::after,
  .awai-btn:hover::after,
  .awai-btn:focus::after,
  .role-practice-link:hover::after,
  .role-practice-link:focus::after,
  .news-item-link:hover::after,
  .news-item-link:focus::after,
  .latest-news-room-link:hover::after,
  .latest-news-room-link:focus::after,
  .awai-btn:hover,
  .awai-btn:focus {
    transform: none;
  }
}


/* =========================================
   地域生活支援拠点受託法人連絡会：歩み
   第2回以降も同じ構造で積み重ねる
========================================= */
.kyoten-meeting-intro {
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
}

.kyoten-meeting-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.kyoten-meeting-intro h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.kyoten-meeting-timeline {
  position: relative;
  margin-top: 28px;
  padding-left: 34px;
}

.kyoten-meeting-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 10px;
  width: 2px;
  background: var(--border);
}

.kyoten-meeting-entry {
  position: relative;
  margin-bottom: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.kyoten-meeting-entry:last-child {
  margin-bottom: 0;
}

.kyoten-meeting-entry::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -31px;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--border);
}

.kyoten-meeting-entry.is-upcoming {
  background: linear-gradient(135deg, #fffdf8, #ffffff);
  border-color: #e6decd;
}

.kyoten-meeting-entry.is-upcoming::before {
  background: #d8c89a;
}

.kyoten-meeting-entry-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.kyoten-meeting-entry-head h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.kyoten-meeting-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.is-upcoming .kyoten-meeting-status {
  background: #fff4d8;
  color: #75632f;
}

.kyoten-meeting-entry .kyoten-meeting-meta {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.kyoten-meeting-note {
  color: var(--subtext);
  font-size: 0.9rem;
}

.kyoten-meeting-agenda {
  margin: 0;
  padding-left: 1.4em;
}

.kyoten-meeting-agenda li {
  margin-bottom: 5px;
}

.kyoten-meeting-summary {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.is-upcoming .kyoten-meeting-summary {
  background: #fff9e8;
}

.kyoten-meeting-summary h4 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 1rem;
}

.kyoten-meeting-summary p {
  margin: 0;
  line-height: 1.95;
}

.kyoten-doc-pending {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f5f7f4;
  color: var(--subtext);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .kyoten-meeting-timeline {
    padding-left: 24px;
  }

  .kyoten-meeting-timeline::before {
    left: 6px;
  }

  .kyoten-meeting-entry {
    padding: 20px 18px;
  }

  .kyoten-meeting-entry::before {
    left: -25px;
  }

  .kyoten-meeting-entry-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .kyoten-meeting-summary {
    padding: 16px;
  }

  .kyoten-doc-pending {
    align-self: flex-start;
  }
}


/* =========================================
   地域生活支援拠点等：4機能・拠点コーディネーター更新
   令和6年3月29日通知の整理を反映
========================================= */

.kyoten-page .kyoten-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.kyoten-revision-note {
  margin-bottom: 22px;
  padding: 24px 26px;
  background: #f4f8f1;
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.kyoten-revision-label,
.kyoten-coordinator-label {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kyoten-revision-note h3,
.kyoten-coordinator-intro h3,
.kyoten-person-centered h3,
.kyoten-community-note h3 {
  margin: 0 0 12px;
  color: var(--accent-dark);
  line-height: 1.6;
}

.kyoten-revision-note p {
  margin: 0 0 0.8em;
  line-height: 1.9;
}

.kyoten-revision-note p:last-child {
  margin-bottom: 0;
}

.kyoten-revision-source {
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--subtext);
  font-size: 0.88rem;
}

.kyoten-subheading,
.kyoten-network-caption {
  margin: 26px 0 0;
  color: var(--accent-dark);
  font-size: 1.08rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.kyoten-community-note {
  margin-top: 26px;
  padding: 20px 22px;
  background: #fffdf8;
  border: 1px solid #eee5c9;
  border-radius: 14px;
}

.kyoten-community-note p {
  margin: 0 0 0.7em;
  line-height: 1.9;
}

.kyoten-community-note p:last-child {
  margin-bottom: 0;
}

.kyoten-coordinator-intro {
  border-left: 7px solid var(--accent);
}

.kyoten-coordinator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.kyoten-coordinator-card {
  position: relative;
  min-height: 100%;
  padding: 24px 20px 20px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.kyoten-coordinator-no {
  display: inline-block;
  margin-bottom: 10px;
  color: #8a9b86;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.kyoten-coordinator-card h3 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 1.02rem;
  line-height: 1.55;
}

.kyoten-coordinator-card p {
  margin: 0;
  color: var(--subtext);
  font-size: 0.92rem;
  line-height: 1.85;
}

.kyoten-person-centered {
  margin-top: 8px;
  background: linear-gradient(135deg, #fffdf8, #f5f9f2);
}

@media (max-width: 900px) {
  .kyoten-page .kyoten-feature-grid,
  .kyoten-coordinator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .kyoten-page .kyoten-feature-grid,
  .kyoten-coordinator-grid {
    grid-template-columns: 1fr;
  }

  .kyoten-revision-note {
    padding: 20px;
  }

  .kyoten-subheading,
  .kyoten-network-caption {
    text-align: left;
  }
}


/* =========================================
   しろっこのこと：三つの物語（TOP用）
========================================= */
.about-sirocco {
  background: linear-gradient(180deg, #f9fbf6 0%, #f3f8ef 100%);
}

.about-intro {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.about-intro p {
  margin: 0 0 0.9em;
}

.about-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.95;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.about-story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.about-story-number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #c9dcc0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.about-story-role {
  margin: 0 0 8px;
  color: #6f9f5f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-story-card h3 {
  margin: 0 0 14px;
  padding-right: 34px;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1.5;
}

.about-story-card > p:not(.about-story-role) {
  margin: 0 0 20px;
  color: #4f5d4f;
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.about-story-link::before {
  content: "➤";
  font-size: 0.72em;
  color: #7aaa68;
}

.about-story-link:hover,
.about-story-link:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-story-arrow {
  align-self: center;
  color: #a8c59b;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.about-closing {
  margin: 28px auto 0;
  text-align: center;
  color: var(--accent-dark);
  font-weight: 600;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-story-arrow {
    transform: rotate(90deg);
    justify-self: center;
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .about-intro {
    text-align: left;
  }

  .about-story-card {
    padding: 22px 20px 20px;
  }

  .about-closing {
    text-align: left;
  }
}


/* しろっこのこと：リンク統一 */
.about-story-link{
  color:var(--accent-dark);
  text-decoration-line:underline;
  text-decoration-color:#b8d5aa;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:.2s;
}

.about-story-link::before{
  content:"›";
  margin-right:.35em;
}

.about-story-link:hover,
.about-story-link:focus{
  color:#4f7a4f;
  text-decoration-color:#4f7a4f;
}


/* =========================================
   しろっこのこと：導線の最終統一
   「冊子を見る・ダウンロード」と同じ見え方
========================================= */
.about-story-link {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  margin-top: 13px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #b8d5aa;
  padding-bottom: 0;
}

.about-story-link::before {
  content: none;
}

.about-story-link::after {
  content: "›";
  display: inline-block;
  margin-left: 0.42em;
  color: currentColor;
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
  transform: translateX(0);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.about-story-link:hover,
.about-story-link:focus {
  color: #35556b;
  text-decoration: none;
  border-bottom-color: currentColor;
}

.about-story-link:hover::after,
.about-story-link:focus::after {
  opacity: 1;
  transform: translateX(3px);
}


/* =========================================
   TOP：各案内に紹介リーフレットを添える
   既存の案内を主役にし、表紙は小さな入口として表示
========================================= */
.role-practice-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: start;
  gap: 16px;
}

.role-practice-guide-copy {
  min-width: 0;
}

.guide-leaflet-link {
  display: block;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
}

.guide-leaflet-link img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 7px;
  background: #fff;
  border: 1px solid #dbe7d3;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(62, 89, 56, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.guide-leaflet-link span::after {
  content: "›";
  display: inline-block;
  margin-left: 0.3em;
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.guide-leaflet-link:hover,
.guide-leaflet-link:focus {
  color: #35556b;
  text-decoration: none;
}

.guide-leaflet-link:hover img,
.guide-leaflet-link:focus img {
  transform: translateY(-2px);
  box-shadow: 0 5px 13px rgba(62, 89, 56, 0.14);
}

.guide-leaflet-link:hover span::after,
.guide-leaflet-link:focus span::after {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .role-practice-guide-layout {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .role-practice-guide-layout {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-leaflet-link img,
  .guide-leaflet-link span::after {
    transition: none;
  }

  .guide-leaflet-link:hover img,
  .guide-leaflet-link:focus img,
  .guide-leaflet-link:hover span::after,
  .guide-leaflet-link:focus span::after {
    transform: none;
  }
}
