@charset "UTF-8";
/* ============================================================
   common.css — 全ページ共通の基本スタイル・共通部品
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --navy: #0078ff;
  --navy-dark: #243c86;
  --navy-mid: #3395ff;
  --gold: #daa520;
  --gold-lt: #daa520;
  --gold-dk: #9c7514;
  --gold-hv: #bf8f18;
  --cream: #f0f5ff;
  --bluegray: #eef1f6;
  --bluegray-dk: #dee5f0;
  --white: #fff;
  --gray: #374151;
  --text: #1f2937;
  --border: #dde5f5;
  --line: #d3dbe8;
  --ph: #d1d5db;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP',sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}

/* ---------- HEADER ---------- */
#hdr {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-dark);
  box-shadow: 0 2px 14px rgba(0,0,0,.22);
}
.admin-bar #hdr {
  top: 32px;
}
/* ===== タブレット版（782px以下） ===== */
@media (max-width:782px) {
  .admin-bar #hdr {
    top: 46px;
  }
}
.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.8rem;
  height: 64px;
  max-width: 1300px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  line-height: 1.25;
  cursor: pointer;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
}
/* シンボルマーク：紺地のヘッダーに載せるため白く塗り替えて表示
   （元の青のまま出したい場合は filter の行を削除） */
.logo .logo-mark {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}
.logo-tx {
  display: flex;
  flex-direction: column;
}
.logo-m {
  font-family: 'Noto Serif JP',serif;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.logo-s {
  font-size: .56rem;
  color: var(--gold-lt);
  letter-spacing: .13em;
  white-space: nowrap;
}
nav.gnav {
  display: flex;
  align-items: stretch;
}
nav.gnav a {
  display: flex;
  align-items: center;
  padding: 0 .72rem;
  height: 64px;
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s,border-color .2s;
}
nav.gnav a:hover,nav.gnav a.active {
  color: #fff;
  border-bottom-color: var(--navy);
}
.nav-cta {
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  height: 64px;
  background: var(--gold);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: none !important;
  transition: background .2s;
}
.nav-cta:hover {
  background: var(--gold-hv) !important;
}
.mtog {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.mb {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  display: block;
}

/* ---------- PAGE HERO（下層ページ見出し） ---------- */
.ph {
  background: linear-gradient(135deg,var(--bluegray),#e6ebf3 45%,var(--bluegray-dk));
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.ph::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 36px solid rgba(36,60,134,.055);
}
.ph-in {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bc {
  font-size: .72rem;
  color: var(--gray);
  margin-bottom: .7rem;
}
.bc a {
  cursor: pointer;
  color: var(--gray);
}
.bc span {
  color: var(--gray);
}
.bc a:hover {
  color: var(--navy-dark);
}
.pl {
  font-size: .68rem;
  color: #6b7c9e;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: .42rem;
}
.pt {
  font-family: 'Noto Serif JP',serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
}
.pd {
  margin-top: .7rem;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.85;
}
/* パンくず（テーマ自前実装：nav > ol > li） */
.breadcrumbs {
  font-size: .72rem;
  color: var(--gray);
  margin-bottom: .7rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.breadcrumbs li + li::before {
  content: '›';
  margin: 0 .45rem;
  color: #9aa5b8;
}
.breadcrumbs a {
  color: var(--gray);
  transition: color .2s;
}
.breadcrumbs a:hover {
  color: var(--navy-dark);
}
.breadcrumbs li:last-child span {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(46ch,60vw);
}

/* ---------- SECTIONS ---------- */
.sec {
  padding: 3.5rem 2rem;
}
.si {
  max-width: 1100px;
  margin: 0 auto;
}
.sc {
  background: var(--cream);
}
.sw {
  background: #fff;
}
.sg {
  background: var(--bluegray);
}
.sn {
  background: var(--navy-dark);
}
.sl {
  font-size: .68rem;
  color: var(--navy);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.sn .sl {
  color: rgba(255,255,255,.7);
}
.sh {
  font-family: 'Noto Serif JP',serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: .55rem;
}
.sn .sh {
  color: #fff;
}
.sb {
  width: 38px;
  height: 3px;
  background: var(--navy);
  margin-bottom: 2.2rem;
}

/* ---------- GRIDS ---------- */
.g3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
}
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.g2w {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.gpt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}
.ggg {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ---------- PHOTO PLACEHOLDERS ---------- */
.pph {
  background: var(--ph);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: .82rem;
  overflow: hidden;
}
.pph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.por {
  background: var(--ph);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: .74rem;
  overflow: hidden;
}
.por img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CARDS（理念・活動カード） ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem;
}
/* ホバー演出はリンクになっているカードだけ（div のカードには付けない） */
a.card {
  transition: box-shadow .22s,transform .22s;
}
a.card:hover {
  box-shadow: 0 8px 24px rgba(26,44,94,.1);
  transform: translateY(-2px);
}
.ci {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg,#243c86,#0078ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .95rem;
}
.ct {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: .5rem;
  text-align: center;
}
.cd {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.85;
}

/* ---------- TABLE（新デザイン） ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
}
.tbl th {
  background: var(--navy-dark);
  color: #fff;
  padding: .68rem .9rem;
  text-align: left;
  font-weight: 500;
}
.tbl td {
  padding: .68rem .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
/* 行ホバーは既定では付けない。リンク行のある表（.mtable tr.has-link）だけで指定する */
.tbl caption {
  caption-side: bottom;
  font-size: .74rem;
  color: var(--gray);
  padding-top: .7rem;
  text-align: left;
}
.tbl-wrap {
  overflow-x: auto;
}

/* ---------- BADGE ---------- */
.b {
  font-size: .67rem;
  padding: .12rem .46rem;
  border-radius: 2px;
  display: inline-block;
}
.btx {
  background: #dbeafe;
  color: #1e40af;
}
.bso {
  background: #d1fae5;
  color: #065f46;
}
.bad {
  background: #fef3c7;
  color: #92400e;
}
.btu {
  background: #fce7f3;
  color: #9d174d;
}
.bin {
  background: #e0e7ff;
  color: #3730a3;
}

/* ---------- TABS（役員/会員・活動レポート絞り込み共通） ---------- */
.tabs {
  display: flex;
  gap: .38rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}
.tab {
  padding: .42rem 1.1rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  font-size: .8rem;
  cursor: pointer;
  color: var(--gray);
  transition: all .2s;
  font-family: inherit;
}
.tab.active {
  background: var(--navy-dark);
  color: #fff;
  border-color: var(--navy-dark);
}
.rp {
  display: none;
}
.rp.active {
  display: block;
}

/* ---------- BUTTONS ---------- */
.bp {
  display: inline-block;
  padding: .68rem 1.7rem;
  background: var(--gold);
  color: #fff;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background .2s;
}
.bp:hover {
  background: var(--gold-hv);
  color: #fff;
}
.bo {
  display: inline-block;
  padding: .66rem 1.5rem;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 4px;
  font-size: .85rem;
  cursor: pointer;
  background: none;
  font-family: inherit;
}
.bn {
  display: inline-block;
  padding: .68rem 1.8rem;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background .2s;
}
.bn:hover {
  background: var(--navy);
  color: #fff;
}
.bg {
  display: inline-block;
  padding: .68rem 1.8rem;
  background: var(--gold);
  color: #fff;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background .2s;
}
.bg:hover {
  background: var(--gold-hv);
  color: #fff;
}
.bol {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .66rem 1.6rem;
  background: transparent;
  color: var(--navy-dark);
  border: 1px solid var(--navy-dark);
  border-radius: 4px;
  font-size: .9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  font-weight: 600;
}
.bol:hover {
  background: var(--navy-dark);
  color: #fff;
}
/* 矢印（山形）。currentColor で描いているのでホバー時の色反転にも自動で追従する */
.bol::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.bol:hover::after {
  transform: rotate(45deg) translate(2px,-2px);
}
/* 「戻る」系（.back-btn 内）は矢印を左向きにする */
.back-btn {
  margin-top: 2rem;
  text-align: center;
}
.back-btn .bol::after {
  content: none;
}
.back-btn .bol::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.back-btn .bol:hover::before {
  transform: rotate(45deg) translate(-2px,2px);
}
.bow {
  display: inline-block;
  padding: .66rem 1.8rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  font-size: .84rem;
  cursor: pointer;
  font-family: inherit;
}
.tc {
  text-align: center;
}

/* ---------- BANNER SECTION（フッター上・全ページ共通） ---------- */
.ban-sec {
  background: #f3f4f6;
  padding: 2.5rem 2rem;
}
.ban-sec-in {
  max-width: 1100px;
  margin: 0 auto;
}
.ban-sec-ttl {
  font-size: .68rem;
  color: #6b7280;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-align: center;
}
.ban-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: .85rem;
}
.ban {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  aspect-ratio: 5/2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
  padding: .5rem;
  transition: border-color .2s,color .2s;
  overflow: hidden;
}
a.ban {
  cursor: pointer;
}
a.ban:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.ban img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.ban-img {
  padding: .35rem;
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: #fff;
  color: var(--gray);
  padding: 2.4rem 2rem 1.4rem;
  border-top: 1px solid var(--line);
}
.fi {
  max-width: 1100px;
  margin: 0 auto;
}
.ft-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.fbr {
  margin-bottom: .7rem;
}
.fbr img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}
.ftg {
  font-size: .79rem;
  line-height: 1.9;
  max-width: 280px;
  color: var(--gray);
}
.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  align-items: flex-start;
  justify-content: flex-end;
}
.ft-nav a {
  font-size: .8rem;
  color: var(--gray);
  transition: color .2s;
  white-space: nowrap;
}
.ft-nav a:hover {
  color: var(--navy-dark);
}
.fbot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.fco {
  font-size: .68rem;
  color: #9ca3af;
}
.fln a {
  font-size: .68rem;
  color: #9ca3af;
  margin-left: 1.2rem;
}
.fln a:hover {
  color: var(--navy-dark);
}

/* ---------- 本文（WYSIWYG / 旧ページ互換） ---------- */
.entry {
  font-size: .9rem;
  line-height: 1.95;
  color: var(--text);
}
.entry h1,.entry h2,.entry h3,.entry h4,.entry h5 {
  font-family: 'Noto Serif JP',serif;
  color: var(--navy-dark);
  line-height: 1.4;
  margin: 1.6rem 0 .8rem;
}
.entry h2 {
  font-size: 1.4rem;
  border-left: 5px solid var(--navy);
  padding-left: .7rem;
}
.entry h3 {
  font-size: 1.15rem;
  background: var(--cream);
  padding: .5rem .8rem;
  border-radius: 4px;
}
.entry h4 {
  font-size: 1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: .3rem;
}
.entry p {
  margin: 0 0 1rem;
}
.entry a {
  color: var(--navy);
  text-decoration: underline;
}
.entry a:hover {
  color: var(--gold);
}
.entry ul,.entry ol {
  margin: 0 0 1rem 1.4rem;
}
.entry img {
  border-radius: 6px;
  margin: .4rem 0;
}
.entry hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.entry table,.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  margin: 0 0 1.4rem;
}
.entry table th,.entry table td,.table th,.table td,.table-bordered th,.table-bordered td {
  border: 1px solid var(--border);
  padding: .6rem .8rem;
  text-align: left;
  vertical-align: middle;
}
.entry table th,.table th {
  background: var(--navy-dark);
  color: #fff;
  font-weight: 500;
}
.img-circle {
  border-radius: 50%;
}
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}
.alignleft {
  float: left;
  margin: 0 1.2rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.2rem;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hoshino-img {
  max-width: 180px;
  margin-bottom: 1rem;
}
.hoshino h4,.hoshino h3 {
  margin: .2rem 0;
}
.hoshino h4 {
  font-size: .85rem;
  color: var(--gray);
}
.hoshino h3 {
  font-family: 'Noto Serif JP',serif;
  font-size: 1.25rem;
  color: var(--navy);
}
.hoshino-greeting {
  font-size: .9rem;
  line-height: 2.05;
  color: var(--gray);
}
.yakuin h3,.yakuin h4 {
  margin: 1.4rem 0 .7rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.row [class*="col-"] {
  padding: 0 10px;
}
.col-sm-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.col-sm-9 {
  flex: 0 0 75%;
  max-width: 75%;
}
.col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
/* ===== タブレット版（768px以下） ===== */
@media (max-width:768px) {
  .row [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------- ページャー（テーマ自前実装：nav.pager > ul > li） ---------- */
.pager {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.pager-info {
  font-size: .74rem;
  color: var(--gray);
  letter-spacing: .04em;
}
.pager-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.pager-list li {
  display: flex;
}
.pager-list .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .82rem;
  color: var(--navy);
  background: #fff;
  transition: background .2s,border-color .2s,color .2s;
}
.pager-list a.page-numbers:hover {
  background: var(--cream);
  border-color: var(--navy);
}
.pager-list .page-numbers.current {
  background: var(--navy-dark);
  color: #fff;
  border-color: var(--navy-dark);
  font-weight: 700;
}
.pager-list .page-numbers.dots {
  border-color: transparent;
  background: none;
  color: var(--gray);
  min-width: 22px;
  padding: 0;
}
.pager-list .prev,.pager-list .next {
  font-weight: 500;
}

/* 記事内ページ分割（wp_link_pages） */
.pagination {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination .page-numbers,.pagination a {
  padding: .4rem .75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .82rem;
  color: var(--navy);
}
.pagination .page-numbers.current {
  background: var(--navy-dark);
  color: #fff;
  border-color: var(--navy-dark);
}

/* ===== スマホ版（600px以下） ===== */
@media (max-width:600px) {
  .pager-list .page-numbers {
    min-width: 32px;
    height: 32px;
    padding: 0 .5rem;
    font-size: .78rem;
  }
}

/* ---------- サムネイル未設定時のプレースホルダー ---------- */
.thumb-ph {
  font-size: .6rem;
  letter-spacing: .18em;
  color: #9ca3af;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
  padding: 0 .5rem;
  font-weight: 500;
}

/* ---------- utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- RESPONSIVE（共通） ---------- */
@media (max-width:900px) {
  nav.gnav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: .5rem 1.5rem 1rem;
    z-index: 999;
  }
  nav.gnav.open {
    display: flex;
  }
  nav.gnav a,.nav-cta {
    height: auto;
    padding: .6rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08)!important;
    background: none;
  }
  .nav-cta {
    color: var(--gold-lt)!important;
  }
  .mtog {
    display: flex;
  }
  #hdr .hd {
    position: relative;
  }
  .gpt,.ggg,.g2w {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .g3 {
    grid-template-columns: 1fr 1fr;
  }
  .ft-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .ft-nav {
    justify-content: flex-start;
  }
  .ban-grid {
    grid-template-columns: repeat(3,1fr);
  }
}
/* ===== スマホ版（600px以下） ===== */
@media (max-width:600px) {
  .g2,.g3 {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 2.5rem 1.2rem;
  }
  .ban-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .hd {
    padding: 0 1rem;
  }
  .logo-m {
    font-size: .74rem;
  }
  .logo-s {
    font-size: .5rem;
  }
  .logo {
    gap: .5rem;
  }
  .logo .logo-mark {
    height: 27px;
  }
}
