/* ===========================================
   Sherpa! for ボランティア  共通スタイル
   =========================================== */

:root {
  --color-primary: #01894d;
  --color-primary-dark: #016c3d;
  --color-primary-light: #4CAF7E;
  --color-primary-bg: #E8F3ED;
  --color-accent: #F39800;
  --color-accent-dark: #d98700;
  --color-sherpa: #00695C;
  --color-sherpa-dark: #004D40;
  --color-sherpa-bg: #E0F2F1;
  --color-white: #FFFFFF;
  --color-cream: #FAFAF7;
  --color-text: #333333;
  --color-text-sub: #666666;
  --color-border: #e0e0e0;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 6px 16px rgba(0, 0, 0, 0.10);
  --radius-btn: 8px;
  --radius-card: 12px;
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

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

/* ===========================================
   レイアウト
   =========================================== */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 48px 0;
}

/* ===========================================
   ヘッダー
   =========================================== */

.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===========================================
   ボタン
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 16px 36px;
  font-size: 17px;
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-ghost {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.btn-ghost:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

/* ===========================================
   カード
   =========================================== */

.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card-hover-lift:hover {
  transform: translateY(-4px);
}

/* ===========================================
   フォーム
   =========================================== */

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(76, 175, 126, 0.2);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 14px;
}

/* ===========================================
   ヒーロー（LP）
   =========================================== */

.hero {
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, #f4faf6 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(1, 137, 77, 0.06);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(243, 152, 0, 0.05);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 18px;
  color: var(--color-text-sub);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ヒーロー：3つの入り口 */
.hero-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 8px;
}

.entry-btn {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
}

.entry-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.entry-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}

.entry-label {
  font-size: 17px;
  font-weight: 700;
}

.entry-sub {
  font-size: 12px;
  color: var(--color-text-sub);
}

.entry-register {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.entry-register:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

.entry-register .entry-sub {
  color: rgba(255, 255, 255, 0.85);
}

.entry-login:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.entry-sherpa {
  background: linear-gradient(135deg, var(--color-sherpa) 0%, var(--color-sherpa-dark) 100%);
  color: var(--color-white);
  border-color: var(--color-sherpa);
}

.entry-sherpa:hover {
  background: linear-gradient(135deg, var(--color-sherpa-dark) 0%, #003028 100%);
  color: var(--color-white);
  border-color: var(--color-sherpa-dark);
}

.entry-sherpa .entry-sub {
  color: rgba(255, 255, 255, 0.85);
}

.btn-sherpa-mini {
  border-color: var(--color-sherpa);
  color: var(--color-sherpa);
  padding: 8px 14px;
  font-size: 13px;
}

.btn-sherpa-mini:hover {
  background: var(--color-sherpa);
  color: var(--color-white);
}

.hero-visual {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-emoji-card {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: var(--shadow-card);
}

/* ===========================================
   見出し
   =========================================== */

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-lead {
  text-align: center;
  color: var(--color-text-sub);
  font-size: 16px;
  margin-bottom: 56px;
}

h1, h2, h3, h4 {
  color: var(--color-text);
  line-height: 1.4;
}

/* ===========================================
   問題提起セクション
   =========================================== */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-card);
}

.problem-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.problem-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.problem-text {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ===========================================
   特徴セクション（キラーコンテンツ）
   =========================================== */

.feature-section {
  background: var(--color-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-cream);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.feature-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.feature-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-text {
  font-size: 15px;
  color: var(--color-text-sub);
}

/* ===========================================
   フッター
   =========================================== */

.footer {
  background: var(--color-primary-bg);
  padding: 56px 0 32px;
  color: var(--color-text);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-sub);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(1, 137, 77, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ===========================================
   ユーザーホーム
   =========================================== */

.greeting {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.greeting-sub {
  color: var(--color-text-sub);
  font-size: 15px;
  margin-bottom: 32px;
}

.passport-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 8px 24px rgba(1, 137, 77, 0.25);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.passport-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.passport-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 6px;
}

.passport-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.passport-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.passport-stat-label {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.passport-stat-value {
  font-size: 32px;
  font-weight: 700;
}

.passport-stat-value .unit {
  font-size: 16px;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.9;
}

.subsection-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.org-list {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.org-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow var(--transition-fast);
}

.org-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.org-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.org-card-link:hover {
  transform: translateY(-2px);
  border: 1px solid var(--color-primary-light);
  background: #fbfdfb;
}

.org-card-arrow {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
  padding: 0 8px;
  line-height: 1;
}

/* ===========================================
   団体内マイページ（org-member.html）
   =========================================== */

.org-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

.org-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.org-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.org-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.org-hero-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.org-hero-role {
  font-size: 14px;
  opacity: 0.9;
}

.org-hero-back {
  display: inline-block;
  color: var(--color-white);
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
  text-decoration: none;
}

.org-hero-back:hover {
  opacity: 1;
  color: var(--color-white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.stat-tile {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-tile-label {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.stat-tile-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.stat-tile-value .unit {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.cert-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cert-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.cert-text {
  font-size: 13px;
  color: var(--color-text-sub);
  flex: 1;
  line-height: 1.6;
}

.cert-meta {
  font-size: 12px;
  color: var(--color-text-sub);
  padding: 8px 12px;
  background: var(--color-cream);
  border-radius: 6px;
}

.cert-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.cert-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
}

.news-list {
  list-style: none;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

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

.news-date {
  font-size: 12px;
  color: var(--color-text-sub);
  white-space: nowrap;
}

.news-text {
  flex: 1;
  font-size: 14px;
  color: var(--color-text);
}

/* 所属団体セクションのヘッダー（タイトル+作成ボタン） */
.subsection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.subsection-header .subsection-title {
  margin-bottom: 0;
}

.btn-create-org {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 団体作成モーダル */
.modal-wide {
  max-width: 720px;
}

.org-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}

.org-type-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-type-card:hover {
  border-color: var(--color-primary);
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.org-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}

.org-type-brand {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.org-type-brand strong {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 17px;
  margin-left: 2px;
}

.org-type-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* 種類ごとのアクセント */
.org-type-pta:hover { border-color: #01894d; }
.org-type-pta .org-type-icon { background: #E8F3ED; }

.org-type-koenkai:hover { border-color: #C9302C; }
.org-type-koenkai .org-type-icon { background: #FBE9E7; }
.org-type-koenkai .org-type-brand strong { color: #B71C1C; }

.org-type-mansion:hover { border-color: #1565C0; }
.org-type-mansion .org-type-icon { background: #E3F2FD; }
.org-type-mansion .org-type-brand strong { color: #1565C0; }

.org-type-volunteer:hover { border-color: #F39800; }
.org-type-volunteer .org-type-icon { background: #FFF4E0; }
.org-type-volunteer .org-type-brand strong { color: #D17A00; }

/* ===========================================
   シェルパ画面（sherpa-home / sherpa-org-detail）
   =========================================== */

.sherpa-mode-bar {
  background: linear-gradient(135deg, var(--color-sherpa) 0%, var(--color-sherpa-dark) 100%);
  color: var(--color-white);
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 700;
}

.sherpa-mode-bar strong {
  letter-spacing: 0.15em;
}

.sherpa-profile-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  border-left: 4px solid var(--color-sherpa);
}

.sherpa-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sherpa) 0%, var(--color-sherpa-dark) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}

.sherpa-profile-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sherpa-profile-name .role {
  font-size: 13px;
  background: var(--color-sherpa-bg);
  color: var(--color-sherpa-dark);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}

.sherpa-profile-office {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.sherpa-profile-meta {
  font-size: 12px;
  color: var(--color-text-sub);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sherpa-profile-meta span::before {
  content: "・";
  margin-right: 4px;
}

.sherpa-profile-meta span:first-child::before {
  content: "";
  margin-right: 0;
}

.sherpa-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.sherpa-stat-tile {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border-top: 4px solid var(--color-sherpa);
}

.sherpa-stat-tile-label {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.sherpa-stat-tile-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-sherpa);
  line-height: 1;
}

.sherpa-stat-tile-value .unit {
  font-size: 14px;
  font-weight: 600;
  margin-left: 4px;
}

/* シェルパ：担当団体リスト */
.sherpa-org-list {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.sherpa-org-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all var(--transition-fast);
  border-left: 4px solid transparent;
}

.sherpa-org-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
  border-left-color: var(--color-sherpa);
}

.sherpa-org-card .org-avatar {
  width: 56px;
  height: 56px;
}

.sherpa-org-card-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sherpa-org-card-meta {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.sherpa-org-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sherpa-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--color-cream);
  color: var(--color-text-sub);
  font-weight: 600;
}

.sherpa-tag-ok {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.sherpa-tag-warn {
  background: #FFF4E0;
  color: #B7642A;
}

.sherpa-tag-alert {
  background: #FBE9E7;
  color: #C62828;
}

.sherpa-tag-type {
  background: var(--color-sherpa-bg);
  color: var(--color-sherpa-dark);
}

.sherpa-org-arrow {
  font-size: 28px;
  color: var(--color-sherpa);
  font-weight: 700;
}

/* シェルパ：団体詳細ヒーロー */
.sherpa-org-hero {
  background: linear-gradient(135deg, var(--color-sherpa) 0%, var(--color-sherpa-dark) 100%);
  color: var(--color-white);
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

.sherpa-org-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.sherpa-org-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  align-items: center;
}

.sherpa-org-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.sherpa-org-hero-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sherpa-org-hero-sub {
  font-size: 14px;
  opacity: 0.9;
}

.sherpa-org-back {
  color: var(--color-white);
  font-size: 13px;
  opacity: 0.85;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}

.sherpa-org-back:hover {
  opacity: 1;
  color: var(--color-white);
}

/* タブ */
.sherpa-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 32px;
  overflow-x: auto;
}

.sherpa-tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.sherpa-tab.active {
  color: var(--color-sherpa);
  border-bottom-color: var(--color-sherpa);
}

.sherpa-tab:hover {
  color: var(--color-sherpa-dark);
}

.sherpa-panel {
  display: none;
}

.sherpa-panel.active {
  display: block;
}

/* 情報編集フォーム */
.info-form {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.info-form .form-row {
  margin-bottom: 18px;
}

.info-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-form input,
.info-form textarea,
.info-form select {
  border-width: 1.5px;
  border-color: var(--color-border);
}

.info-form input:focus,
.info-form textarea:focus,
.info-form select:focus {
  border-color: var(--color-sherpa);
  box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
}

.sherpa-btn {
  background: var(--color-sherpa);
  color: var(--color-white);
}

.sherpa-btn:hover {
  background: var(--color-sherpa-dark);
  color: var(--color-white);
}

/* 規程・文書リスト */
.doc-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.doc-list {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.doc-item {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

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

.doc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-sherpa-bg);
  color: var(--color-sherpa-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.doc-name {
  font-size: 15px;
  font-weight: 700;
}

.doc-meta {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 2px;
}

.doc-status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.doc-status-ok { background: var(--color-primary-bg); color: var(--color-primary); }
.doc-status-review { background: #FFF4E0; color: #B7642A; }
.doc-status-draft { background: var(--color-cream); color: var(--color-text-sub); }

.doc-actions {
  display: flex;
  gap: 6px;
}

.doc-actions .btn {
  padding: 6px 12px;
  font-size: 12px;
}

/* 投稿フォーム */
.upload-card {
  background: var(--color-sherpa-bg);
  border: 2px dashed var(--color-sherpa);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}

.upload-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.upload-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sherpa-dark);
  margin-bottom: 6px;
}

.upload-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

/* 法務メモ・アドバイザリーログ */
.advisory-list {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 8px 0;
  margin-bottom: 24px;
}

.advisory-item {
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}

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

.advisory-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.advisory-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.advisory-date {
  font-size: 12px;
  color: var(--color-text-sub);
}

.advisory-body {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ===========================================
   会費支払いカード（org-member.html）
   =========================================== */
.fee-card {
  background: linear-gradient(135deg, #FFF8EB 0%, #FFFFFF 100%);
  border: 1px solid rgba(243, 152, 0, 0.4);
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

.fee-card.fee-paid {
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, #FFFFFF 100%);
  border-color: rgba(1, 137, 77, 0.3);
  border-left-color: var(--color-primary);
}

.fee-info {
  flex: 1;
  min-width: 0;
}

.fee-label {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.fee-amount-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 8px;
}

.fee-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fee-yen {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-left: 2px;
}

.fee-period {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 500;
  margin-left: 8px;
}

.fee-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fee-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.fee-status-unpaid { background: #FFE0E0; color: #C62828; }
.fee-status-paid { background: var(--color-primary-bg); color: var(--color-primary); }
.fee-status-optional { background: #FFF4E0; color: #B7642A; }

.fee-due {
  font-size: 12px;
  color: var(--color-text-sub);
}

.fee-action .btn {
  padding: 14px 24px;
  font-size: 15px;
  white-space: nowrap;
}

.fee-action .btn[disabled] {
  background: var(--color-border);
  color: var(--color-text-sub);
  cursor: default;
}

.fee-action .btn[disabled]:hover {
  background: var(--color-border);
}

/* 支払いモーダル */
.fee-modal-amount {
  background: var(--color-cream);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fee-modal-amount-label {
  font-size: 13px;
  color: var(--color-text-sub);
}

.fee-modal-amount-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-accent-dark);
}

.payment-methods {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.payment-method:hover {
  border-color: var(--color-primary-light);
  background: var(--color-cream);
}

.payment-method input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--color-primary);
}

.payment-method:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.payment-method-icon {
  font-size: 20px;
}

.payment-method-label {
  font-size: 14px;
  font-weight: 600;
}

/* 新規登録モーダル */
.register-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 24px;
}

.register-benefit {
  background: var(--color-primary-bg);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.register-benefit-icon {
  font-size: 22px;
  line-height: 1;
}

.register-benefit-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.modal-footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
}

.modal-footer-link a {
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 4px;
}

/* 申請モーダル */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.modal-lead {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.modal-field {
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.modal-actions .btn {
  flex: 1;
}

.org-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.org-info {
  flex: 1;
  min-width: 0;
}

.org-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.org-role {
  font-size: 13px;
  color: var(--color-text-sub);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  margin-left: 6px;
}

.badge-accent {
  background: rgba(243, 152, 0, 0.15);
  color: var(--color-accent-dark);
}

.timeline {
  display: grid;
  gap: 0;
  padding-left: 8px;
  margin-bottom: 60px;
}

.timeline-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 24px;
  border-left: 2px solid var(--color-primary-light);
}

.timeline-item:last-child {
  border-left-color: transparent;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
}

.timeline-time {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.timeline-hours {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

/* タブメニュー（下部） */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  color: var(--color-text-sub);
  font-size: 11px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.tab-item.active {
  color: var(--color-primary);
}

.tab-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 2px;
}

.with-tabbar {
  padding-bottom: 90px;
}

/* ===========================================
   団体ダッシュボード
   =========================================== */

.dashboard-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.dashboard-org-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.dashboard-org-sub {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-top: 4px;
}

.metric-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.metric-label {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}

.metric-value {
  font-size: 96px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-value .metric-unit {
  font-size: 36px;
  font-weight: 700;
  margin-left: 8px;
}

.metric-delta {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-top: 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.chart-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.chart-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.chart-wrap {
  width: 100%;
  height: 220px;
}

.ranking-list {
  list-style: none;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.ranking-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.ranking-rank.gold { background: #FFF4D6; color: #b8860b; }
.ranking-rank.silver { background: #EEEEEE; color: #707070; }
.ranking-rank.bronze { background: #FBE4D0; color: #B7642A; }

.ranking-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.ranking-count {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 600;
}

.member-list {
  list-style: none;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.member-name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.member-date {
  font-size: 12px;
  color: var(--color-text-sub);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.action-btn-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.action-btn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  color: var(--color-primary);
}

.action-btn-icon {
  font-size: 28px;
}

.action-btn-label {
  font-size: 14px;
  font-weight: 700;
}

/* ===========================================
   QR登録
   =========================================== */

.qr-wrapper {
  max-width: 540px;
  margin: 40px auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.qr-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.qr-org {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 32px;
}

.qr-box {
  display: inline-block;
  padding: 20px;
  background: var(--color-white);
  border: 3px solid var(--color-primary-bg);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}

.qr-desc {
  color: var(--color-text-sub);
  font-size: 14px;
  margin-bottom: 8px;
}

.share-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.share-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: var(--radius-btn);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--color-text);
  font-family: inherit;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: var(--color-primary);
}

.share-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-white);
  font-weight: 700;
}

.share-btn-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
}

.share-line .share-btn-icon { background: #06C755; }
.share-x .share-btn-icon { background: #000000; }
.share-fb .share-btn-icon { background: #1877F2; }
.share-ig .share-btn-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-mail .share-btn-icon { background: var(--color-text-sub); }
.share-copy .share-btn-icon { background: var(--color-primary); }

/* ===========================================
   会員証
   =========================================== */

.membership-bg {
  background: linear-gradient(135deg, #f4faf6, #E8F3ED);
  min-height: 100vh;
  padding: 40px 16px 80px;
}

.membership-card-outer {
  max-width: 360px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.mc-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 24px;
  color: var(--color-white);
  text-align: center;
  position: relative;
}

.mc-org-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

.mc-org-name {
  font-size: 16px;
  font-weight: 700;
}

.mc-org-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-top: 2px;
}

.mc-body {
  padding: 28px 24px;
}

.mc-name {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.mc-role {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 24px;
}

.mc-qr {
  display: flex;
  justify-content: center;
  margin: 24px 0 20px;
}

.mc-qr img {
  width: 200px;
  height: 200px;
  border: 8px solid var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mc-qr-meta {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.mc-info-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}

.mc-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}

.mc-info-label {
  color: var(--color-text-sub);
}

.mc-info-value {
  font-weight: 600;
  color: var(--color-text);
}

.mc-switch {
  margin: 20px 0 4px;
  text-align: center;
}

.mc-switch button {
  width: auto;
  padding: 10px 18px;
  font-size: 13px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.mc-switch button:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
}

.mc-footer {
  padding: 14px;
  background: var(--color-cream);
  text-align: center;
  font-size: 10px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--color-border);
}

.mc-footer strong {
  color: var(--color-primary);
}

/* ===========================================
   料金プラン
   =========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.plan-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.plan-card.featured {
  border-color: var(--color-primary);
  position: relative;
}

.plan-card.featured::before {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.plan-range {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.plan-price {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.plan-price-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--color-text);
  margin-right: 4px;
  letter-spacing: -0.02em;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.plan-features li {
  font-size: 13px;
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  color: var(--color-text);
  line-height: 1.6;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--color-primary);
  font-weight: 700;
}

.option-box {
  background: var(--color-primary-bg);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-bottom: 24px;
}

.option-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.option-list {
  list-style: none;
}

.option-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(1, 137, 77, 0.12);
  font-size: 14px;
  gap: 16px;
}

.option-list li:last-child {
  border-bottom: none;
}

.option-name {
  font-weight: 600;
  flex: 1;
}

.option-price {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* ===========================================
   コンテンツ用ヘッダー（LP以外）
   =========================================== */

.page-header {
  background: var(--color-white);
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.page-lead {
  color: var(--color-text-sub);
  margin-top: 6px;
  font-size: 15px;
}

/* ===========================================
   レスポンシブ
   =========================================== */

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .hero-tagline {
    font-size: 26px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .header {
    position: relative;
  }

  .nav-actions .btn {
    display: none;
  }

  .problem-grid,
  .feature-grid,
  .pricing-grid,
  .dashboard-grid,
  .action-grid,
  .cert-grid,
  .org-type-grid,
  .hero-entries,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sherpa-stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .sherpa-stat-tile {
    padding: 14px 8px;
  }

  .sherpa-stat-tile-value {
    font-size: 22px;
  }

  .sherpa-profile-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .sherpa-profile-meta {
    justify-content: center;
  }

  .sherpa-org-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .sherpa-org-card {
    grid-template-columns: 48px 1fr;
  }

  .sherpa-org-card .org-avatar {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .sherpa-org-arrow {
    display: none;
  }

  .doc-item {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .doc-status,
  .doc-actions {
    grid-column: 2;
    margin-top: 4px;
  }

  .info-form .form-row-2col {
    grid-template-columns: 1fr;
  }

  .subsection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-create-org {
    width: 100%;
    justify-content: center;
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat-tile {
    padding: 14px 8px;
  }

  .stat-tile-value {
    font-size: 20px;
  }

  .org-hero-inner {
    gap: 14px;
  }

  .org-hero-logo {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .org-hero-name {
    font-size: 18px;
  }

  .passport-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .passport-stat-value {
    font-size: 24px;
  }

  .metric-value {
    font-size: 72px;
  }

  .share-buttons {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .passport-card {
    padding: 28px 22px;
  }

  .passport-stat-value {
    font-size: 22px;
  }

  .qr-wrapper {
    padding: 32px 20px;
  }

  .fee-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 22px;
    gap: 16px;
  }

  .fee-action .btn {
    width: 100%;
  }

  .register-benefits {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .register-benefit {
    flex-direction: row;
    justify-content: center;
    padding: 8px 12px;
    gap: 8px;
  }

  .register-benefit-icon {
    font-size: 18px;
  }

  .metric-value {
    font-size: 60px;
  }
}
