@charset "UTF-8";
/* =====================================================
 * 唐津地区PTA連合会 公開サイト
 * 旧サイトの世界観（水色#25BEDD＋写真ヘッダー＋日英併記タブ＋提携バナー列）を
 * 継承しつつ、レスポンシブ・現代化した版。
 * ===================================================== */

:root {
  --accent:      #25BEDD;
  --accent-dark: #1a8fa8;
  --nav:         #333a40;
  --nav-line:    rgba(255,255,255,.10);
  --ink:         #2b3940;
  --muted:       #6b7b85;
  --line:        #e2e9ee;
  --bg:          #eef3f6;
  --card:        #ffffff;
  --radius:      12px;
  --shadow:      0 1px 10px rgba(20,60,80,.06);
  --maxw:        1040px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "メイリオ", "Meiryo", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 15px; line-height: 1.8; letter-spacing: .04em;
  color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s, background .2s; }
a:hover { color: var(--accent); }

/* ===== ヘッダー（水色帯＋写真バナー） ===== */
.topbar { background: var(--accent); }
.topbar p {
  max-width: var(--maxw); margin: 0 auto; padding: 5px 20px;
  color: #fff; font-weight: normal; letter-spacing: normal; line-height: 1.5;
  font-size: 12px;
}
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.banner { display: block; max-width: var(--maxw); margin: 0 auto; padding: 12px 16px; }
.banner img { width: 100%; height: auto; display: block; }

/* ===== ナビ（白背景・日英併記タブ・横スクロール対応） ===== */
.site-nav { background: #fff; border-bottom: 2px solid var(--line); }
.site-nav__inner {
  max-width: var(--maxw); margin: 0 auto; display: flex;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.site-nav__inner::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: 1 0 auto; text-align: center; padding: 11px 16px; color: var(--ink);
  border-bottom: 3px solid transparent; white-space: nowrap; line-height: 1.25;
}
.site-nav a + a { border-left: 1px solid var(--line); }
.site-nav a b { display: block; font-size: 14.5px; font-weight: 700; }
.site-nav a small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; margin-top: 1px; text-transform: uppercase; }
.site-nav a:hover { background: #f1fbfd; color: var(--accent-dark); }
.site-nav a.is-active { color: var(--accent-dark); border-bottom-color: var(--accent); font-weight: 800; }
.site-nav a.is-active small { color: var(--accent-dark); }

/* ===== レイアウト（本文＋提携バナー列） ===== */
.page-wrap { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 26px; padding: 28px 18px 48px; align-items: flex-start; }
.site-main { flex: 1; min-width: 0; }
.page-rail { width: 196px; flex-shrink: 0; }
.page-rail a { display: block; margin-bottom: 12px; transition: transform .15s; }
.page-rail a:hover { transform: translateX(2px); }
.page-rail img { width: 100%; display: block; }
.page-rail__note { font-size: 11px; color: var(--muted); margin: 4px 2px 14px; letter-spacing: .06em; }

/* ===== 見出し・パンくず ===== */
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; letter-spacing: .06em; }
.breadcrumb a { color: var(--muted); }
.page-head { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.page-head h1 { font-size: clamp(21px, 3.2vw, 27px); font-weight: 800; letter-spacing: .03em; }
.page-head p { color: var(--muted); margin-top: 5px; font-size: 14px; }

.section { margin-bottom: 38px; }
.section__title {
  font-size: 18px; font-weight: 800; margin-bottom: 16px; letter-spacing: .03em;
  padding-left: 12px; border-left: 5px solid var(--accent); line-height: 1.35;
}

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 16px; }
.empty { color: var(--muted); padding: 26px 0; text-align: center; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 8px; font-weight: 700; font-size: 14.5px; letter-spacing: .04em;
  border: 0; cursor: pointer; transition: all .2s; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--accent-dark); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: #eef9fc; }
.btn-secondary { background: #eef2f4; color: #444; }
.btn-secondary:hover { background: #e1e7ea; color: #444; }

/* ===== クイックリンク（トップ） ===== */
.quicklinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
.quicklink {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s;
  border-left: 5px solid var(--accent);
}
.quicklink:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(20,60,80,.12); color: var(--ink); }
.quicklink b { display: block; font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.quicklink span { font-size: 12.5px; color: var(--muted); }

/* ===== お知らせ ===== */
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list .news-row { display: flex; gap: 16px; align-items: baseline; padding: 14px 4px; color: var(--ink); }
.news-list time { color: var(--accent-dark); font-size: 13px; flex-shrink: 0; width: 116px; font-weight: 700; font-variant-numeric: tabular-nums; }
.news-list .news-ttl { font-weight: 700; }
.news-list .news-body { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.7; }

/* ===== 役員名簿 ===== */
.year-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.year-switch a { padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.year-switch a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.officer-group { margin-bottom: 28px; }
.officer-group__h { font-size: 16px; font-weight: 800; color: var(--accent-dark); border-bottom: 2px solid var(--accent); padding-bottom: 6px; margin-bottom: 4px; letter-spacing: .04em; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.otable { width: 100%; border-collapse: collapse; min-width: 460px; }
.otable th, .otable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.otable th { background: #effafc; color: var(--accent-dark); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.otable td.school { font-weight: 700; background: #fafdfe; }
.otable .nm { font-weight: 700; }
.otable .em { color: #b7c2c8; }

/* ===== 活動報告 ===== */
.activity { margin-bottom: 24px; }
.activity__date { color: var(--accent-dark); font-weight: 700; font-size: 13.5px; }
.activity h3 { font-size: 18px; font-weight: 800; margin: 3px 0 9px; }
.activity__body { line-height: 1.9; }
.activity__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin-top: 14px; }
.activity__photos img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ===== 行事予定 ===== */
.event-row { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.event-date { flex-shrink: 0; text-align: center; background: #effafc; border-radius: 8px; padding: 7px 12px; min-width: 88px; color: var(--accent-dark); font-weight: 800; line-height: 1.3; }
.event-date small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.event-info h3 { font-size: 16px; font-weight: 700; }
.event-info p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ===== 資料(PDF) ===== */
.doc-cat { margin-bottom: 24px; }
.doc-cat__h { font-size: 15.5px; font-weight: 800; margin-bottom: 10px; color: var(--accent-dark); }
.doc-list { list-style: none; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 13px 6px; color: var(--ink); }
.doc-list a:hover { color: var(--accent-dark); }
.doc-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 7px; background: #fdecec; color: #d6453f; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; }
.doc-ico.x { background: #e7f6ec; color: #1f8f4a; }
.doc-ico.w { background: #e8f0fb; color: #2b5fb0; }

/* ===== あいさつ ===== */
.greeting { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.greeting__photo { width: 168px; flex-shrink: 0; }
.greeting__photo img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.greeting__photo figcaption { text-align: center; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.greeting__body { flex: 1; min-width: 240px; line-height: 1.95; white-space: pre-line; }

/* ===== 概要テーブル ===== */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.info-table th { width: 124px; color: var(--accent-dark); font-weight: 700; white-space: nowrap; }

/* ===== フォーム ===== */
.form-field { margin-bottom: 17px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-field .req { color: #d6453f; font-size: 11px; margin-left: 5px; }
.form-field input[type=text], .form-field input[type=email], .form-field select, .form-field textarea {
  width: 100%; padding: 12px 13px; font-size: 16px; border: 1px solid #cdd8de; border-radius: 8px; font-family: inherit; background: #fff;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,190,221,.16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== フラッシュ ===== */
.flash { padding: 13px 17px; border-radius: 9px; margin-bottom: 20px; font-size: 14.5px; font-weight: 700; }
.flash-success { background: #e3f7ea; color: #1f7a43; border: 1px solid #bce6cb; }
.flash-error   { background: #fdeaea; color: #b3322c; border: 1px solid #f3c9c7; }

/* ===== リンク集 ===== */
.linklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 13px; }
.linklist a { display: block; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; border-left: 5px solid var(--accent); }
.linklist a:hover { color: var(--accent-dark); }
.linklist span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 3px; }

/* ===== フッター ===== */
.site-footer { background: #28343b; color: #c2ced4; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 34px 20px 28px; }
.site-footer h2 { font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }
.site-footer p { font-size: 13px; line-height: 1.9; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0; }
.site-footer__nav a { color: #9fb4bd; font-size: 13px; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__copy { border-top: 1px solid #3a4850; margin-top: 16px; padding-top: 15px; font-size: 11.5px; color: #7e929b; letter-spacing: .05em; }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .page-wrap { flex-direction: column; gap: 22px; padding: 22px 14px 40px; }
  .site-main { order: 1; width: 100%; }
  .page-rail { order: 2; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
  .page-rail a { margin-bottom: 0; }
  .page-rail__note { display: none; }
  .site-nav a { padding: 9px 14px; }
  .site-nav a b { font-size: 13.5px; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .banner { padding: 10px 12px; }
  .card { padding: 16px; }
  .news-list .news-row { flex-direction: column; gap: 2px; }
  .news-list time { width: auto; }
  .greeting__photo { width: 134px; margin: 0 auto; }
  .page-rail { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); }
}
