/*
Theme Name: 小林記念財団
Theme URI: https://kobayashi-ikuseikai.or.jp
Author: Keizgroup
Author URI: https://keizgroup.jp
Description: 公益財団法人小林記念財団 公式ホームページテーマ。柔道整復師・鍼灸師などの医療・福祉専門職を目指す学生への奨学金支援財団。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kobayashi-ikuseikai
Tags: japanese, foundation, scholarship, blue, responsive
*/

/* ===================================
   CSS Custom Properties
=================================== */
:root {
  --primary:       #1a3a6b;
  --primary-light: #2563a8;
  --primary-hover: #142d54;
  --accent:        #c9a84c;
  --accent-light:  #e8d08a;
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --light-bg:      #eef2f7;
  --text:          #222222;
  --text-mid:      #555555;
  --text-light:    #888888;
  --border:        #d1d9e3;
  --shadow:        rgba(26, 58, 107, 0.12);
  --shadow-md:     rgba(26, 58, 107, 0.20);
  --radius:        4px;
  --radius-lg:     8px;
  --font-ja:       'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --max-width:     1100px;
  --header-h:      80px;
}

/* ===================================
   Reset & Base
=================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===================================
   Typography
=================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
}
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

/* ===================================
   Layout Utilities
=================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  font-size: 1.7rem;
  letter-spacing: .06em;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-heading .sub {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--text-light);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Page Title Banner */
.page-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 48px 24px;
}
.page-banner h1 {
  color: var(--white);
  font-size: 1.9rem;
  letter-spacing: .1em;
  margin: 0;
}

/* ===================================
   Header
=================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.site-logo img {
  height: 54px;
  width: auto;
}
.site-logo .logo-text {
  line-height: 1.25;
}
.site-logo .logo-sub {
  font-size: .65rem;
  color: var(--text-light);
  letter-spacing: .05em;
}
.site-logo .logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .03em;
}

/* Navigation */
#site-nav { display: flex; align-items: center; }
#site-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
#site-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}
#site-nav ul li a:hover,
#site-nav ul li.current-menu-item > a {
  background: var(--light-bg);
  color: var(--primary);
  text-decoration: none;
}
#site-nav ul li.nav-boshu > a {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius);
}
#site-nav ul li.nav-boshu > a:hover {
  background: var(--primary-hover);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================
   Hero (Front Page) — Split Layout
=================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, #2e6cbf 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 580px;
}
/* Left: text */
.hero-content {
  position: relative;
  color: var(--white);
  padding: 72px 0 72px;
}
.hero-label {
  font-size: .78rem;
  letter-spacing: .2em;
  opacity: .75;
  margin-bottom: 18px;
  display: block;
}
.hero-content h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero-accent { color: var(--accent-light); }
.hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  opacity: .88;
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 4px;
  font-size: .98rem;
  letter-spacing: .06em;
  text-decoration: none !important;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.hero-cta:hover {
  background: #b8943d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.hero-sub-cta {
  color: rgba(255,255,255,.85) !important;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero-sub-cta:hover { color: var(--white) !important; border-color: var(--white); }
/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 16px 24px;
  backdrop-filter: blur(4px);
}
.hero-stat { text-align: center; flex: 1; }
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.3);
}
.stat-num {
  display: block;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
}
.stat-num strong { font-size: 1.5rem; font-weight: 800; color: var(--accent-light); }
.stat-label {
  display: block;
  font-size: .72rem;
  opacity: .7;
  margin-top: 4px;
  letter-spacing: .05em;
}
/* Right: visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-photo {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px 16px 0 0;
}
.hero-illust-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.hero-illust {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.2));
}
.hero-illust-badge {
  position: absolute;
  bottom: 24px;
  left: 16px;
  background: white;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .15em;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.5);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ===================================
   Quick Nav (updated with SVG icons)
=================================== */
.quick-nav { background: var(--primary); }
.quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(255,255,255,.12);
  gap: 1px;
}
.quick-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 12px;
  color: var(--white) !important;
  text-decoration: none !important;
  background: var(--primary);
  transition: background .2s, transform .15s;
  text-align: center;
}
.quick-nav-item:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.quick-nav-item--accent { background: #14285c; }
.quick-nav-item--accent:hover { background: #1e3d7a; }
.quick-nav-item .icon { font-size: 1.8rem; line-height: 1; }
.quick-nav-item .label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.qn-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .05em;
}

/* ===================================
   Mission Section (split layout)
=================================== */
.mission-section { background: var(--white); }
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission-photo-wrap { position: relative; }
.mission-photo-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-md);
}
.mission-photo-inner img { width: 100%; display: block; }
.mission-photo-placeholder {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.mission-photo-placeholder svg { width: 100%; height: auto; display: block; }
.mission-photo-tag {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: var(--primary);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px var(--shadow-md);
}
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-light);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 16px;
}
.mission-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.5;
  margin-bottom: 20px;
}
.mission-text p { color: var(--text-mid); line-height: 1.9; }
.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary);
}
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--light-bg);
  border-radius: 50%;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ===================================
   Scholarship Cards (updated)
=================================== */
.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.sc-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-md);
}
.sc-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.sc-card-icon--gold { background: #fdf3d8; color: #c9a84c; }
.sc-card-icon--blue { background: #dce8f5; color: var(--primary); }
.sc-card-icon--green { background: #d8f5e8; color: #2a7a52; }
.sc-card-icon--accent { background: #fdf3d8; color: #b8943d; }
.sc-card h3 { font-size: .95rem; margin-bottom: 12px; color: var(--primary); }
.sc-num {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.sc-num strong { font-size: 1.9rem; font-weight: 800; color: var(--primary); }
.sc-num-sm {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 6px;
}
.sc-note { font-size: .8rem; color: var(--text-light); margin: 0; }
.sc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}
.sc-tag {
  background: var(--light-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}
.btn-lg {
  padding: 16px 48px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.apply-btn-wrap { text-align: center; }

/* ===================================
   Voice (Student Testimonials) Section
=================================== */
.voice-section { background: var(--white); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}
.voice-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.voice-card:hover { box-shadow: 0 6px 20px var(--shadow); }
.voice-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px var(--shadow);
}
.voice-body blockquote {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  padding-top: 16px;
}
.voice-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 3rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .6;
}
.voice-attr {
  font-size: .78rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: .03em;
  margin: 0;
}
.voice-note {
  text-align: center;
  font-size: .75rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ===================================
   News Section (updated layout)
=================================== */
.news-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.news-title-main {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 4px;
}
.news-title-sub {
  font-size: .82rem;
  color: var(--text-light);
  letter-spacing: .1em;
  margin: 0;
}
.news-list { width: 100%; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date {
  font-size: .85rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}
.news-cat {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  background: var(--light-bg);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
}
.news-title a { color: var(--text); font-size: .93rem; }
.news-title a:hover { color: var(--primary-light); }
.news-empty-note {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: .88rem;
}

/* ===================================
   CTA Banner
=================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 10px;
}
.cta-banner-text p {
  color: rgba(255,255,255,.8);
  font-size: .93rem;
  margin: 0;
}
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .98rem;
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  flex-shrink: 0;
}
.cta-banner-btn:hover { background: #b8943d; transform: translateY(-2px); }

/* ===================================
   About Section (legacy, kept for other pages)
=================================== */
.about-section { background: var(--off-white); }
.about-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 20px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 2px;
  margin-bottom: 20px;
}
.about-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  max-width: 800px;
}

/* ===================================
   News Section (TOP)
=================================== */
.news-section { background: var(--white); }
.news-header {
  text-align: center;
  margin-bottom: 32px;
}
.news-header h2 {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 10px 60px;
  font-size: 1.1rem;
  letter-spacing: .2em;
  border-radius: 2px;
}
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date {
  font-size: .88rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
  letter-spacing: .03em;
}
.news-cat {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 700;
  background: var(--light-bg);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
}
.news-title { font-size: .95rem; color: var(--text); }
.news-title a { color: inherit; }
.news-title a:hover { color: var(--primary-light); }
.news-more {
  text-align: center;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none !important;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-md);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
}
.btn-accent {
  background: var(--accent);
  color: var(--white) !important;
}
.btn-accent:hover { background: #b8943d; }

/* ===================================
   Quick Nav (TOP)
=================================== */
.quick-nav { background: var(--primary); }
.quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.15);
}
.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  color: var(--white) !important;
  text-decoration: none !important;
  background: var(--primary);
  transition: background .2s;
  text-align: center;
}
.quick-nav-item:hover {
  background: var(--primary-light);
  text-decoration: none;
}
.quick-nav-item .icon { font-size: 1.8rem; }
.quick-nav-item .label { font-size: .88rem; font-weight: 700; letter-spacing: .05em; }

/* ===================================
   Page Content
=================================== */
.page-content { padding: 60px 0; }
.page-content .container { max-width: 840px; }
.entry-content h2 {
  font-size: 1.4rem;
  margin: 2.5em 0 .8em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--primary);
}
.entry-content h3 {
  font-size: 1.15rem;
  margin: 2em 0 .6em;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  color: var(--primary);
}
.entry-content ul { padding-left: 1.5em; margin-bottom: 1.2em; }
.entry-content ul li { list-style: disc; margin-bottom: .4em; }
.entry-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.entry-content ol li { list-style: decimal; margin-bottom: .4em; }

/* ===================================
   法人概要 Table
=================================== */
.gaiyou-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}
.gaiyou-table th,
.gaiyou-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  vertical-align: top;
}
.gaiyou-table th {
  width: 160px;
  background: var(--light-bg);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.gaiyou-table tr:last-child th,
.gaiyou-table tr:last-child td { border-bottom: none; }

/* ===================================
   理事長挨拶
=================================== */
.president-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.president-photo {
  text-align: center;
}
.president-photo img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow);
}
.president-photo .photo-placeholder {
  width: 180px;
  height: 220px;
  background: var(--light-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .85rem;
  margin: 0 auto;
}
.president-name {
  text-align: center;
  margin-top: 12px;
  font-size: .9rem;
  color: var(--text-mid);
}
.president-name strong { color: var(--primary); display: block; font-size: 1rem; }
.president-message p { line-height: 2.1; margin-bottom: 1.4em; }
.president-sig {
  text-align: right;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 2;
}

/* ===================================
   募集要項
=================================== */
.boshu-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 40px;
  background: var(--light-bg);
  padding: 4px;
  border-radius: var(--radius-lg);
}
.boshu-tab {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none !important;
}
.boshu-tab.active, .boshu-tab:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px var(--shadow);
  text-decoration: none;
}
.boshu-tab.active { color: var(--primary) !important; }

.boshu-panel { display: none; }
.boshu-panel.active { display: block; }

.boshu-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary-light);
  padding: 10px 20px;
  border-radius: var(--radius);
  margin: 2em 0 .8em;
  letter-spacing: .04em;
}
.boshu-title:first-child { margin-top: 0; }

.boshu-sub {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin: 1.8em 0 .6em;
}

.boshu-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 1.2em 0;
}
.boshu-box dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px 20px; }
.boshu-box dt { font-weight: 700; color: var(--primary); font-size: .92rem; }
.boshu-box dd { color: var(--text); font-size: .92rem; }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 1em 0;
}
.doc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  color: var(--primary) !important;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: all .2s;
  line-height: 1.4;
}
.doc-btn:hover {
  background: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}
.doc-btn .doc-icon { font-size: 1.4rem; }

.apply-btn-wrap {
  text-align: center;
  margin: 32px 0;
}
.apply-btn-wrap .btn {
  font-size: 1.05rem;
  padding: 16px 48px;
  box-shadow: 0 4px 16px var(--shadow-md);
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.schedule-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: .9rem;
}
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--off-white); }

/* Q&A */
.qa-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}
.qa-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--off-white);
  user-select: none;
}
.qa-question .q-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
}
.qa-question .q-text { font-weight: 700; font-size: .95rem; flex: 1; }
.qa-question .q-arrow { flex-shrink: 0; color: var(--text-light); transition: transform .3s; }
.qa-item.open .qa-question .q-arrow { transform: rotate(180deg); }
.qa-answer {
  display: none;
  padding: 18px 20px 18px 62px;
  font-size: .93rem;
  line-height: 1.9;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.qa-answer .a-badge {
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
.qa-item.open .qa-answer { display: block; }

/* ===================================
   公開情報
=================================== */
.kokai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 2em 0;
}
.kokai-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
}
.kokai-card-head {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 700;
  font-size: .95rem;
}
.kokai-card-body { padding: 20px; }
.kokai-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.kokai-link:last-child { border-bottom: none; }
.kokai-link::before { content: '📄'; font-size: 1rem; }
.kokai-link:hover { color: var(--primary); text-decoration: underline; }

/* ===================================
   活動報告
=================================== */
.coming-soon {
  text-align: center;
  padding: 80px 24px;
}
.coming-soon .cs-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: .6;
}
.coming-soon h3 {
  font-size: 1.6rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.coming-soon p {
  color: var(--text-light);
  font-size: .95rem;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.report-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-md);
}
.report-card-img {
  height: 200px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .9rem;
}
.report-card-body { padding: 20px; }
.report-card-date { font-size: .82rem; color: var(--text-light); margin-bottom: 6px; }
.report-card-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.report-card-excerpt { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ===================================
   お問い合わせ
=================================== */
.contact-info {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}
.contact-info p { margin-bottom: .6em; font-size: .95rem; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-note {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--light-bg);
  border-radius: var(--radius);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-group label .req {
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  padding: 1px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,168,.15);
}
.form-group textarea { resize: vertical; min-height: 160px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { min-width: 240px; font-size: 1rem; }

/* ===================================
   個人情報保護方針
=================================== */
.privacy-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2em 0 .5em;
  padding-left: 12px;
  border-left: 3px solid var(--primary-light);
}
.privacy-content ol { padding-left: 1.5em; margin: .5em 0 1em; }
.privacy-content ol li { list-style: decimal; margin-bottom: .3em; font-size: .93rem; }
.privacy-date { text-align: right; font-size: .88rem; color: var(--text-light); margin-top: 40px; }

/* ===================================
   Breadcrumb
=================================== */
.breadcrumb {
  background: var(--light-bg);
  padding: 12px 0;
  font-size: .82rem;
  color: var(--text-light);
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* ===================================
   Footer
=================================== */
#site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  padding-top: 0;
}
.footer-nav {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  justify-content: center;
}
.footer-nav ul li a {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s, color .2s;
  letter-spacing: .04em;
}
.footer-nav ul li a:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding: 18px 24px;
}
.footer-bottom small {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}

/* ===================================
   Single Post
=================================== */
.single-header { margin-bottom: 32px; }
.post-meta { font-size: .85rem; color: var(--text-light); margin-bottom: 8px; }
.post-title { font-size: 1.6rem; }
.post-body { line-height: 2; }

/* ===================================
   Pagination
=================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  text-decoration: none;
  transition: all .2s;
}
.pagination .current, .pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 900px) {
  /* Nav */
  #site-nav { display: none; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--white); overflow-y: auto; padding: 20px; z-index: 999; }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; width: 100%; gap: 4px; }
  #site-nav ul li a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  /* Hero */
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 48px 24px; }
  .hero-visual { display: none; }
  .hero-content { padding: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .hero-stat-divider { width: 80px; height: 1px; }
  /* Mission */
  .mission-layout { grid-template-columns: 1fr; gap: 32px; }
  .mission-photo-tag { bottom: 8px; }
  /* Quick nav */
  .quick-nav-inner { grid-template-columns: repeat(3, 1fr); }
  /* News layout */
  .news-layout { grid-template-columns: 1fr; gap: 24px; }
  .news-heading-wrap { text-align: center; }
  /* CTA banner */
  .cta-banner-inner { flex-direction: column; text-align: center; }
  /* Other */
  .president-wrap { grid-template-columns: 1fr; }
  .president-photo { text-align: center; }
  .boshu-box dl { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-logo img { height: 42px; }
  .site-logo .logo-name { font-size: .95rem; }
  .section { padding: 40px 0; }
  .page-content { padding: 40px 0; }
  .boshu-tabs { flex-direction: column; }
  .contact-form-wrap { padding: 20px; }
  .gaiyou-table th { width: 100px; }
  .quick-nav-inner { grid-template-columns: repeat(2, 1fr); }
  .scholarship-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .hero-cta { width: 100%; justify-content: center; }
  .hero-sub { display: none; }
}
