/* ============================================
   Ota Rotary Club - Design System
   Colors: Royal Blue #17458F, Gold #F7A81B
   Typography: Noto Serif JP / Noto Sans JP / Playfair Display
   ============================================ */

:root {
  /* Rotary Brand Colors */
  --rotary-blue: #17458F;       /* Royal Blue - primary */
  --rotary-blue-deep: #0C3C7C;
  --rotary-blue-dark: #05253F;
  --rotary-gold: #F7A81B;       /* Gold - accent */
  --rotary-gold-deep: #D68910;
  --rotary-azure: #005DAA;
  --rotary-sky: #E8EEF6;

  /* Neutrals - warm off-whites */
  --paper: #FBF9F5;
  --paper-2: #F3EFE7;
  --line: #E2DACB;
  --ink: #1A2138;
  --ink-2: #4B5265;
  --ink-3: #7A7E8C;

  /* Layout */
  --nav-h: 88px;
  --max: 1280px;
  --gutter: 40px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { min-height: 100vh; }

/* Typography */
.serif { font-family: 'Noto Serif JP', 'Yu Mincho', serif; }
.display { font-family: 'Playfair Display', 'Noto Serif JP', serif; font-weight: 400; letter-spacing: 0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }

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

/* ==========================================
   Navigation
   ========================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: all 0.3s var(--ease);
}
.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text .brand-en {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--rotary-blue);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
}
.brand-text .brand-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.05em;
}
.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 2px;
  transition: color 0.2s var(--ease);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.04em;
}
.nav-link:hover { color: var(--rotary-blue); }
.nav-link.active { color: var(--rotary-blue); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--rotary-gold);
}
.nav-cta {
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--rotary-blue);
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--rotary-blue-deep); }

/* ==========================================
   Layout Primitives
   ========================================== */
.page { padding-top: var(--nav-h); min-height: 100vh; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }

/* Section header pattern */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--rotary-gold);
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.3;
}
.section-title .accent { color: var(--rotary-blue); }
.section-lead {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 640px;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 640px;
  max-height: 820px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero-cityscape.jpg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.05);
  filter: saturate(0.85) brightness(0.72);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 37, 63, 0.55) 0%, rgba(5, 37, 63, 0.15) 40%, rgba(5, 37, 63, 0.7) 100%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--rotary-gold);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--rotary-gold);
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: white;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-title .em { color: var(--rotary-gold); font-weight: 500; }
.hero-sub {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 44px;
  letter-spacing: 0.05em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--rotary-gold);
  color: var(--rotary-blue-dark);
}
.btn-primary:hover {
  background: white;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-solid {
  background: var(--rotary-blue);
  color: white;
}
.btn-solid:hover { background: var(--rotary-blue-deep); }
.btn-outline {
  background: transparent;
  color: var(--rotary-blue);
  border: 1px solid var(--rotary-blue);
}
.btn-outline:hover {
  background: var(--rotary-blue);
  color: white;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero footer info bar */
.hero-info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(5, 37, 63, 0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(247, 168, 27, 0.3);
  color: white;
}
.hero-info-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.hero-info-item {
  border-left: 1px solid rgba(247, 168, 27, 0.3);
  padding-left: 20px;
}
.hero-info-item:first-child { border-left: none; padding-left: 0; }
.hero-info-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--rotary-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-info-val {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: white;
  letter-spacing: 0.05em;
}

/* ==========================================
   President Message Section
   ========================================== */
.president {
  background: var(--paper);
  position: relative;
}
.president-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}
.president-photo {
  position: relative;
}
.president-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.95);
}
.president-photo::before {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--rotary-gold);
  z-index: -1;
}
.president-photo::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 60px;
  background: var(--rotary-gold);
  z-index: 2;
  display: flex;
  transform: translate(-16px, -16px);
}
.president-photo-badge {
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 60px;
  background: var(--rotary-gold);
  z-index: 3;
  transform: translate(-16px, -16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rotary-blue-dark);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
}
.president-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin: 24px 0 32px;
  padding-left: 20px;
  border-left: 3px solid var(--rotary-gold);
}
.president-body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.president-sign {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.president-sign-title {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.president-sign-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* ==========================================
   Next Meeting Card
   ========================================== */
.meeting-strip {
  background: var(--rotary-blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.meeting-strip-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(45deg, var(--rotary-gold) 1px, transparent 1px),
    linear-gradient(-45deg, var(--rotary-gold) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Anniversary strip (Home) */
.anniversary-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.anniversary-num {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  font-style: italic;
  color: var(--rotary-gold);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .anniversary-grid { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .anniversary-grid > div:last-child { text-align: center; }
}

/* Mobile nav hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.04em;
}
.nav-mobile-link.active { color: var(--rotary-blue); font-weight: 600; }
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
}
.meeting-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.meeting-cal {
  text-align: center;
  padding: 0 40px 0 0;
  border-right: 1px solid rgba(247, 168, 27, 0.3);
}
.meeting-cal-month {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--rotary-gold);
  margin-bottom: 4px;
}
.meeting-cal-day {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 1;
  color: white;
  margin-bottom: 8px;
}
.meeting-cal-weekday {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
}
.meeting-info-eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--rotary-gold);
  margin-bottom: 12px;
}
.meeting-info-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.meeting-info-detail {
  display: flex;
  gap: 32px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.meeting-info-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meeting-info-detail-icon {
  color: var(--rotary-gold);
  font-size: 12px;
}

/* ==========================================
   Service Pillars (4大奉仕)
   ========================================== */
.services {
  background: var(--paper-2);
  position: relative;
}
.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .eyebrow { justify-content: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.services-grid.services-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.service-card {
  background: var(--paper);
  padding: 44px 32px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  position: relative;
}
.service-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.service-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.24em;
  margin-bottom: 20px;
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--rotary-blue);
}
.service-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.service-title-en {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.service-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ==========================================
   Projects Gallery
   ========================================== */
.projects { background: var(--paper); }
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.project-card {
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-6px); }
.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-image img { transform: scale(1.05); }
.project-image-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--rotary-blue);
  color: white;
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.project-date {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.project-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.project-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
}

/* ==========================================
   News List
   ========================================== */
/* Activity row (Service page) */
.activity-row {
  display: grid;
  gap: 60px;
  align-items: center;
}
.activity-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.activity-desc { font-size: 15px; color: var(--ink-2); line-height: 2; }
@media (max-width: 1024px) {
  .activity-row { grid-template-columns: 1fr !important; }
  .activity-row > div { order: 0 !important; }
}

.news { background: var(--paper-2); }
.news-inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 80px;
  align-items: start;
}
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 130px 90px 1fr auto;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s var(--ease);
  align-items: center;
}
.news-item:hover { background: rgba(255,255,255,0.5); }
.news-date {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.news-cat {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: 0.12em;
  text-align: center;
  border: 1px solid;
}
.news-cat.evt   { color: var(--rotary-blue);   border-color: var(--rotary-blue); }
.news-cat.rep   { color: var(--rotary-gold-deep); border-color: var(--rotary-gold-deep); }
.news-cat.info  { color: var(--ink-2); border-color: var(--ink-3); }
.news-title {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.news-arrow { color: var(--rotary-blue); font-size: 14px; }

/* ==========================================
   Join CTA
   ========================================== */
.join {
  position: relative;
  color: white;
  overflow: hidden;
  padding: 120px 0;
}
.join-bg {
  position: absolute;
  inset: 0;
  background: url('/static/images/ota-landmark.jpg') center/cover no-repeat;
  filter: saturate(0.8) brightness(0.5);
}
.join-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,37,63,0.92) 0%, rgba(5,37,63,0.65) 100%);
}
.join-inner {
  position: relative;
  max-width: 720px;
}
.join-eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--rotary-gold);
  letter-spacing: 0.22em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.join-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--rotary-gold);
}
.join-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 52px;
  line-height: 1.4;
  color: white;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.join-title .em { color: var(--rotary-gold); }
.join-body {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--rotary-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-en {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--rotary-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-brand-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  color: white;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-brand-logo-img {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  background: white;
  padding: 10px 14px;
  border-radius: 2px;
}
.footer-addr {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.65);
}
.footer-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: var(--rotary-gold);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.footer-district {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rotary-gold);
  letter-spacing: 0.14em;
}

/* ==========================================
   Sub-page (Inner) shared
   ========================================== */
.subhero {
  position: relative;
  padding: 100px 0 80px;
  background: var(--rotary-blue-dark);
  color: white;
  overflow: hidden;
}
.subhero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(0.6);
}
.subhero-inner {
  position: relative;
  z-index: 2;
}
.subhero-crumb {
  display: flex;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rotary-gold);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.subhero-crumb .sep { opacity: 0.5; }
.subhero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 56px;
  color: white;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 400;
}
.subhero-title-en {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--rotary-gold);
  letter-spacing: 0.14em;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px; top: 8px;
  width: 9px; height: 9px;
  background: var(--rotary-gold);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--rotary-gold);
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--rotary-blue);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.timeline-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
}

/* Focus goals grid (About) */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.focus-cell { background: var(--paper); padding: 36px 32px; }
.focus-cell-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.focus-cell-ttl {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.focus-cell-sub { font-size: 13px; color: var(--ink-3); }

/* Org heading */
.org-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rotary-gold);
  display: inline-block;
}

/* Officer grid */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--line);
}
.officer-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.officer-cell:nth-child(4n) { border-right: none; }
.officer-role {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.officer-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.officer-note { font-size: 12px; color: var(--ink-3); }

/* Committee cols */
.committee-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.committee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
}
.committee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 4px;
}
.committee-dot { width: 5px; height: 5px; background: var(--rotary-gold); flex-shrink: 0; display: inline-block; }

/* Director grid (理事: 担当委員会 + 氏名) */
.director-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.director-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 20px;
  background: white;
}
.director-dot {
  width: 5px;
  height: 5px;
  margin-top: 7px;
  background: var(--rotary-gold);
  flex-shrink: 0;
  display: inline-block;
}
.director-committee {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.director-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .focus-grid { grid-template-columns: 1fr; }
  .officer-grid { grid-template-columns: repeat(2, 1fr); }
  .officer-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .officer-cell:nth-child(2n) { border-right: none; }
  .committee-cols { grid-template-columns: 1fr; gap: 32px; }
  .director-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .officer-grid { grid-template-columns: 1fr; }
  .officer-cell { border-right: none !important; }
  .committee-grid { grid-template-columns: 1fr; }
  .director-grid { grid-template-columns: 1fr; }
}

/* Officer / member grid */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.member-card { text-align: center; }
.member-photo {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.member-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    var(--paper-2), var(--paper-2) 8px,
    #EDE7DA 8px, #EDE7DA 9px
  );
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.member-role {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.member-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.member-org {
  font-size: 12px;
  color: var(--ink-3);
}

/* ================================
   Meeting Calendar
   ================================ */
/* Program table (Meetings) */
.program-table {
  max-width: 720px;
  border: 1px solid var(--line);
  background: white;
}
.program-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.program-row:last-child { border-bottom: none; }
.program-time {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--rotary-blue);
  letter-spacing: 0.04em;
}
.program-content {
  font-family: 'Noto Serif JP', serif;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .program-row { grid-template-columns: 80px 1fr; padding: 16px 18px; gap: 14px; }
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.cal-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cal-nav-btn, .cal-nav-today {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.cal-nav-btn:disabled, .cal-nav-today:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cal-nav-btn:disabled:hover, .cal-nav-today:disabled:hover {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.cal-nav-btn:hover, .cal-nav-today:hover {
  background: var(--rotary-blue);
  color: white;
  border-color: var(--rotary-blue);
}
.cal-nav-today {
  background: var(--rotary-blue-dark);
  color: white;
  border-color: var(--rotary-blue-dark);
  font-family: 'Noto Serif JP', serif;
  padding: 10px 20px;
}
.cal-nav-btn span[aria-hidden] {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  vertical-align: -2px;
}

.cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .cal-layout { grid-template-columns: 1fr; }
}

.calendar {
  border: 1px solid var(--line);
  background: white;
}
.calendar-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--rotary-blue-dark);
  color: white;
}
.calendar-head > div {
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
}
.calendar-head > div.sun { color: #ffb0a8; }
.calendar-head > div.sat { color: #a8c8ff; }

.calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-cell {
  min-height: 84px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  position: relative;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.15s;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.other { color: var(--ink-3); background: var(--paper-2); }
.cal-cell.other .cal-cell-day { opacity: 0.5; }
.cal-cell.sun .cal-cell-day { color: #c0392b; }
.cal-cell.sat .cal-cell-day { color: var(--rotary-blue); }
.cal-cell.holiday { background: rgba(192, 57, 43, 0.04); }
.cal-cell.holiday .cal-cell-day { color: #c0392b; }
.cal-cell.has-event {
  background: rgba(247, 168, 27, 0.08);
}
.cal-cell.clickable { cursor: pointer; }
.cal-cell.clickable:hover {
  background: rgba(23, 69, 143, 0.06);
}
.cal-cell.selected {
  background: rgba(23, 69, 143, 0.12);
  box-shadow: inset 0 0 0 2px var(--rotary-blue);
}
.cal-cell.today {
  background: rgba(247, 168, 27, 0.16);
}
.cal-cell.today.selected {
  background: rgba(23, 69, 143, 0.14);
}
.cal-cell-day {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cal-cell.today .cal-cell-day {
  color: var(--rotary-gold-deep);
  font-weight: 700;
}
.cal-cell.today .cal-cell-day::after {
  content: 'TODAY';
  font-family: 'Playfair Display', serif;
  font-size: 8px;
  letter-spacing: 0.14em;
  background: var(--rotary-gold-deep);
  color: white;
  padding: 2px 5px;
  margin-left: 4px;
  border-radius: 2px;
}
.cal-holiday-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #c0392b;
}
.cal-cell-tag {
  margin-top: 6px;
  font-size: 10px;
  padding: 3px 6px;
  background: var(--rotary-blue);
  color: white;
  letter-spacing: 0.08em;
  display: inline-block;
  font-weight: 500;
}
.cal-cell-tag.social  { background: var(--rotary-gold-deep); }
.cal-cell-tag.service { background: var(--rotary-blue); }
.cal-cell-tag.other   { background: var(--ink-3); }
.cal-cell-tag.holiday { background: #c0392b; }

/* Side panel: detail / list */
.cal-side {
  border: 1px solid var(--line);
  background: white;
  min-height: 400px;
}
.cal-list-heading {
  padding: 18px 22px;
  background: var(--rotary-blue-dark);
  color: white;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-list-count {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rotary-gold);
}
.cal-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cal-list-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
  align-items: center;
}
.cal-list-item:hover { background: var(--paper-2); }
.cal-list-item:last-child { border-bottom: none; }
.cal-list-item.service { border-left: 3px solid var(--rotary-blue); }
.cal-list-item.social  { border-left: 3px solid var(--rotary-gold-deep); }
.cal-list-item.other   { border-left: 3px solid var(--ink-3); }
.cal-list-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.cal-list-day {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--rotary-blue-dark);
  line-height: 1;
}
.cal-list-dow {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.cal-list-tag { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-list-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.cal-list-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.cal-list-meta {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.cal-list-empty {
  padding: 40px 22px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
}
.cal-list-hint {
  padding: 12px 22px;
  background: var(--paper-2);
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
}

/* Detail view (day clicked) */
.cal-detail {
  padding: 24px 24px 28px;
  position: relative;
}
.cal-detail-eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--rotary-gold-deep);
  margin-bottom: 14px;
}
.cal-detail-holiday { color: #c0392b; }
.cal-detail-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--rotary-blue);
  color: white;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  font-weight: 500;
}
.cal-detail-badge.social  { background: var(--rotary-gold-deep); }
.cal-detail-badge.service { background: var(--rotary-blue); }
.cal-detail-badge.other   { background: var(--ink-3); }
.cal-detail-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 20px;
}
.cal-detail-list {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px 14px;
  font-size: 13px;
}
.cal-detail-list dt {
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding-top: 3px;
}
.cal-detail-list dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}
.cal-detail-close {
  border: 1px solid var(--line);
  background: white;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
}
.cal-detail-close:hover {
  background: var(--paper-2);
  color: var(--ink);
}

/* Legend */
.cal-legend {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
  align-items: center;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-legend-swatch {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 2px;
}
.cal-legend-swatch.service { background: var(--rotary-blue); }
.cal-legend-swatch.social  { background: var(--rotary-gold-deep); }
.cal-legend-swatch.other   { background: var(--ink-3); }
.cal-legend-swatch.holiday { background: #c0392b; }
.cal-legend-note {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12px;
}

/* FAQ */
/* Ideal member grid (Join) */
.ideal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.ideal-cell {
  background: var(--paper);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.ideal-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--rotary-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.ideal-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Steps grid (Join flow) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.step-cell {
  position: relative;
  background: white;
  padding: 28px 22px;
  border: 1px solid var(--line);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--rotary-gold);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.step-desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }

/* Join CTA box */
.join-cta-box {
  background: var(--rotary-blue-dark);
  color: white;
  padding: 64px 56px;
  text-align: center;
}
.join-cta-eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--rotary-gold);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.join-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.join-cta-body {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 2;
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ideal-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .join-cta-box { padding: 40px 24px; }
  .join-cta-title { font-size: 24px; }
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  gap: 20px;
  align-items: start;
}
.faq-q-mark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--rotary-gold-deep);
  line-height: 1;
  flex-shrink: 0;
}
.faq-q-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: var(--ink);
  flex: 1;
  letter-spacing: 0.04em;
}
.faq-toggle {
  color: var(--rotary-blue);
  font-size: 20px;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 20px;
  padding-top: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 16px;
}
.faq-a-mark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--rotary-blue);
  line-height: 1;
}
.faq-a-text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }
.form-label {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.form-label .req {
  color: var(--rotary-gold-deep);
  margin-left: 4px;
}
.form-input, .form-textarea, .form-select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: white;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-input.has-error, .form-textarea.has-error {
  border-color: #c0392b;
  background: #fdf5f4;
}
.form-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Contact form — submitted state */
.contact-success {
  text-align: center;
  padding: 24px 8px 12px;
}
.contact-success-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--rotary-blue);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
  margin: 0 auto 20px;
}
.contact-success-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.contact-success-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.contact-success-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-3);
  padding: 16px 20px;
  background: var(--rotary-sky);
  border-left: 3px solid var(--rotary-gold);
  text-align: left;
}
.contact-success-mail {
  color: var(--rotary-blue);
  text-decoration: underline;
  font-weight: 500;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--rotary-blue);
}
.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Login */
.login-card {
  max-width: 440px;
  margin: 40px auto;
  background: white;
  padding: 56px 48px;
  border: 1px solid var(--line);
  position: relative;
}
.login-seal {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  padding: 12px 18px;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-members-only {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--rotary-gold-deep);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.login-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
}
.login-footer-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.9;
}

/* Member directory (会員名簿) */
.directory-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: white;
}
.directory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.directory-table thead th {
  text-align: left;
  padding: 14px 18px;
  background: var(--paper-2);
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.directory-row { border-bottom: 1px solid var(--line); }
.directory-row:last-child { border-bottom: none; }
.directory-row:hover { background: var(--paper-2); }
.directory-cell {
  padding: 12px 18px;
  color: var(--ink);
  vertical-align: top;
}
.directory-cell-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
}
.directory-cell-name {
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.directory-cell-join { color: var(--ink-3); white-space: nowrap; }
.directory-cell-contact { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 720px) {
  .directory-table { font-size: 12px; }
  .directory-table thead th, .directory-cell { padding: 10px 10px; }
}

/* Access heading (Contact) */
.access-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

/* Contact form box */
.contact-form-box { background: white; padding: 40px; border: 1px solid var(--line); }
.contact-form-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .login-card { padding: 40px 24px; margin: 24px auto; }
  .contact-form-box { padding: 24px; }
}

/* Two-col utility */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.info-row:first-child { border-top: 1px solid var(--line); }
.info-row-label {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  padding-top: 3px;
}
.info-row-val {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.9;
}

/* Small badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rotary-gold-deep);
  border: 1px solid var(--rotary-gold-deep);
}

/* Responsive niceties */
@media (max-width: 1024px) {
  .president-inner,
  .news-inner,
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .services-grid,
  .services-grid.services-grid-5,
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-info-inner { grid-template-columns: repeat(2, 1fr); }
  .meeting-strip-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .meeting-cal { border-right: none; padding: 0 0 24px 0; border-bottom: 1px solid rgba(247,168,27,0.3); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --nav-h: 68px; }
  .nav-menu { display: none; }
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .hero-title { font-size: 38px; }
  .subhero-title { font-size: 34px; }
  .services-grid,
  .services-grid.services-grid-5,
  .projects-grid,
  .member-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .president-quote { font-size: 20px; }
  .join-title { font-size: 30px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--rotary-blue); }

/* fade-in on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.7s var(--ease) both; }
.fade-in.d1 { animation-delay: 0.1s; }
.fade-in.d2 { animation-delay: 0.25s; }
.fade-in.d3 { animation-delay: 0.4s; }
.fade-in.d4 { animation-delay: 0.55s; }
