/* Koka city theme — 甲賀市HP風カラー */
:root {
  --city-header-bg: #2d7a3e;
  --city-topbar-bg: #1f5a2d;
  --city-primary-color: #2d7a3e;
}

/* ============================================
   甲賀市 専用スタイル (.koka-*)
   草津の .hp-* クラスとは独立して完結する
   ============================================ */

/* トップバー */
.koka-topbar {
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11px;
  padding: 5px 0;
}

.koka-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.koka-topbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.koka-topbar-link {
  color: #555;
  font-size: 11px;
  padding: 2px 4px;
}

.koka-topbar-sep {
  color: #ccc;
  font-size: 11px;
}

.koka-topbar-menu {
  background: var(--city-primary-color, #2d7a3e);
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  cursor: default;
  white-space: nowrap;
}

/* ヘッダー */
.koka-header {
  background: #fff;
  border-bottom: 3px solid var(--city-primary-color, #2d7a3e);
  padding: 16px 0;
}

.koka-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.koka-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.koka-logo-emblem {
  font-size: 40px;
  line-height: 1;
}

.koka-logo-text {
  display: flex;
  flex-direction: column;
}

.koka-city-name {
  font-size: 34px;
  font-weight: 700;
  color: var(--city-primary-color, #2d7a3e);
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.koka-city-name-en {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ナビゲーション */
.koka-nav {
  background: var(--city-primary-color, #2d7a3e);
  padding: 0;
}

.koka-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.koka-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.15s;
}

.koka-nav-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.koka-nav-icon {
  font-size: 15px;
  line-height: 1;
}

/* ヒーローバナー */
.koka-hero {
  background: linear-gradient(120deg, #1f6b30 0%, #2d7a3e 40%, #3a9150 70%, #4caf64 100%);
  padding: 36px 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.koka-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.koka-hero-character {
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.koka-hero-content {
  flex: 1;
}

.koka-hero-date {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.koka-hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.koka-hero-detail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 10px 20px;
}

.koka-hero-detail-label {
  font-size: 14px;
  color: #ffd54f;
  font-weight: 600;
}

.koka-hero-detail-arrow {
  font-size: 16px;
  color: #fff;
}

.koka-hero-detail-time {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

/* 注目情報セクション */
.koka-info {
  background: #f4f6f4;
  padding: 32px 0;
}

.koka-info-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.koka-info-col {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.koka-info-header {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.koka-info-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
}

.koka-info-badge--green {
  background: var(--city-primary-color, #2d7a3e);
  color: #fff;
}

.koka-info-badge--orange {
  background: #e87722;
  color: #fff;
}

.koka-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.koka-info-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

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

.koka-info-date {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}

.koka-info-text {
  color: #444;
  line-height: 1.5;
}

/* いざという時にセクション */
.koka-emergency {
  background: #fce4ec;
  padding: 28px 0;
}

.koka-emergency-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.koka-emergency-title {
  font-size: 18px;
  font-weight: 700;
  color: #c62828;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 4px solid #c62828;
}

.koka-emergency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.koka-emergency-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(198, 40, 40, 0.1);
  border: 1px solid #ffcdd2;
}

.koka-emergency-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.koka-emergency-label {
  font-size: 13px;
  font-weight: 600;
  color: #c62828;
}

/* フッター */
.koka-footer {
  background: var(--city-primary-color, #2d7a3e);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 20px;
  text-align: center;
}

.koka-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.koka-footer-note {
  font-size: 13px;
  margin: 0 0 6px;
}

.koka-footer-copy {
  font-size: 11px;
  opacity: 0.55;
  margin: 0;
}

/* ============================================
   レスポンシブ (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .koka-topbar {
    display: none;
  }

  .koka-city-name {
    font-size: 26px;
  }

  .koka-nav-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .koka-nav-item {
    padding: 10px 14px;
    font-size: 11px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1 0 45%;
  }

  .koka-nav-item:first-child {
    border-left: none;
  }

  .koka-hero {
    min-height: 120px;
    padding: 20px 16px;
  }

  .koka-hero-character {
    font-size: 48px;
  }

  .koka-hero-title {
    font-size: 18px;
  }

  .koka-hero-date {
    font-size: 14px;
  }

  .koka-hero-detail-time {
    font-size: 15px;
  }

  .koka-info-inner {
    grid-template-columns: 1fr;
  }

  .koka-emergency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
