/* Global enhancements: header NEWS link + footer */
.footer-pro {
  background: #0b1520;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 64px;
  padding: 0;
}

.footer-pro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}

.footer-pro-logo {
  font-family: 'Montserrat', 'Red Hat Display', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-pro-logo:hover { opacity: 0.6; }

.footer-pro-links {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
}

.footer-pro-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #3d6070;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s;
  white-space: nowrap;
}

.footer-pro-links a:hover { color: #7aafc4; }

.footer-pro-cr {
  margin: 0;
  font-size: 0.65rem;
  color: #243344;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .footer-pro-inner {
    padding: 20px 18px;
    gap: 14px;
  }
  .footer-pro-links { gap: 14px; }
  .footer-pro-links a { font-size: 0.62rem; }
  .footer-pro-cr { display: none; }
}

/* News page enhancements */
.news-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.news-feature-card,
.news-feature-side {
  border: 1px solid #d8e5f4;
  border-radius: 10px;
  background: #f7fbff;
  box-shadow: none;
}

.news-feature-card {
  padding: 20px;
}

.news-feature-side {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.news-feature-kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a7598;
  font-family: 'Inter', sans-serif;
}

.news-feature-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.45;
}

.news-feature-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.news-list.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.news-item.news-item-link {
  border: 0;
  border-bottom: 1px solid #dbe6f5;
  border-radius: 0;
  padding: 14px 6px;
  background: transparent;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.news-item.news-item-link:hover {
  transform: none;
  border-color: #b7cde6;
  background: rgba(224, 237, 250, 0.45);
}

.news-item .news-title {
  margin: 8px 0 8px;
  line-height: 1.5;
}

/* Detail enhancements */
.article-shell {
  border: 1px solid #d6e3f3;
  border-left: 4px solid #7ba8cc;
  border-radius: 10px;
  background: #fcfeff;
  box-shadow: none;
  padding: 24px;
}

.article-headline {
  margin: 0 0 12px;
}

.article-content {
  font-size: 1rem;
  line-height: 1.95;
  color: #304663;
}

.article-content p {
  margin: 0 0 1em;
}

.news-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.news-tool {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #547a9a;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
}

.news-notes {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #dbe6f5;
  color: #4b6783;
  font-size: 0.92rem;
}

.news-notes ul {
  margin: 0;
  padding-left: 1.2em;
}

.news-notes li + li {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .news-feature-grid {
    grid-template-columns: 1fr;
  }

  .news-list.news-grid {
    grid-template-columns: 1fr;
  }
}

/* ── news / news-detail page: hero light override ── */
.news-page .page-hero,
.news-detail-page .page-hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(20, 166, 201, 0.10), transparent 42%),
    linear-gradient(145deg, #ffffff 0%, #eef4ff 60%, #e8f0ff 100%);
  color: #24344D;
  position: relative;
}

.news-page .page-hero::after,
.news-detail-page .page-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14a6c9 0%, #6f59ff 55%, transparent 100%);
  pointer-events: none;
}

.news-page .page-hero .page-title,
.news-detail-page .page-hero .page-title {
  color: #24344D;
  text-shadow: none;
}

.news-page .page-hero .page-sub,
.news-detail-page .page-hero .page-sub {
  color: #4E607D;
}

/* ── ブランドロゴ 全ページ統一 ── */
.brand {
  font-family: 'Montserrat', 'Red Hat Display', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  letter-spacing: 0.12em !important;
  color: #24344D !important;
  text-decoration: none !important;
  transition: opacity 0.15s !important;
}
.brand:hover { opacity: 0.65 !important; }

/* ═══════════════════════════════════════
   HAMBURGER & MOBILE NAV  (全ページ共通)
   ═══════════════════════════════════════ */

/* ── ハンバーガーボタン ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.hamburger:hover { background: rgba(36,52,77,0.06); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #24344D;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── モバイルナビオーバーレイ ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--hh, 60px);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 997;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open { display: block; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0 40px;
}

.mobile-nav-links > a,
.mnav-svc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid #dae3f0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #24344D;
  text-decoration: none;
  transition: background 0.12s;
}

.mobile-nav-links > a:hover,
.mnav-svc-title:hover { background: #f5f8ff; }

.mobile-nav-links > a.mnav-cta {
  margin: 20px 24px 0;
  padding: 14px 20px;
  background: #24344D;
  color: #fff;
  border-radius: 8px;
  border-bottom: none;
  justify-content: center;
  gap: 12px;
}

.mobile-nav-links > a.mnav-cta:hover { background: #1a2840; }

.mnav-en {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: #7486A2;
  font-weight: 600;
}

.mobile-nav-links > a.mnav-cta .mnav-en { color: rgba(255,255,255,0.6); }

.mnav-svc-title { cursor: pointer; }
.mnav-arrow { display: flex; align-items: center; gap: 4px; }
.mnav-chevron { transition: transform 0.2s; display: inline-block; }

.mnav-svc-links {
  display: none;
  flex-direction: column;
  background: #f7fbff;
  border-bottom: 1px solid #dae3f0;
}

.mnav-svc-links.open { display: flex; }

.mnav-svc-links a {
  display: block;
  padding: 12px 24px 12px 36px;
  font-size: 0.88rem;
  color: #4E607D;
  text-decoration: none;
  border-bottom: 1px solid #eef3ff;
  transition: background 0.12s, color 0.12s;
}

.mnav-svc-links a:last-child { border-bottom: none; }
.mnav-svc-links a:hover { background: #eef4ff; color: #24344D; }

/* ── モバイル時にデスクトップナビを隠す ── */
@media (max-width: 768px) {
  .site-nav { display: none !important; }
  .hamburger { display: flex !important; }

  /* pg-hero の巨大装飾テキストを隠す */
  .pg-hero-sideword { display: none !important; }

  /* pg-hero をスマホで詰める */
  .pg-hero { padding: 56px 0 44px !important; }
  .pg-hero-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .pg-hero-image-wrap { display: none; }

  /* page-hero (news/faq系) */
  .page-hero { padding: 48px 0 40px !important; }
  .page-title { font-size: clamp(24px, 7vw, 40px) !important; }

  /* コンテナ余白 */
  .container { width: calc(100% - 32px) !important; }

  /* セクション余白 */
  .section { padding: 52px 0 !important; }
}

@media (max-width: 480px) {
  .pg-hero { padding: 44px 0 36px !important; }
  .page-hero { padding: 38px 0 32px !important; }
  .container { width: calc(100% - 24px) !important; }
}
