/* ============================================
   Vertical Edge - News Styles
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;600;700;800&display=swap');

:root {
  --green-deep: #0d3b2e;
  --green-mid: #145c47;
  --orange: #ff6b2b;
  --orange-hover: #e55a1f;
  --white-glacier: #f7f9fc;
  --white-pure: #ffffff;
  --gray-100: #f0f3f5;
  --gray-200: #e2e7eb;
  --gray-500: #6b7b8a;
  --gray-900: #1a2530;
  --text-main: #1e2d38;
  --text-sub: #4a5e6d;
  --shadow-sm: 0 2px 8px rgba(13,59,46,0.08);
  --shadow-md: 0 4px 20px rgba(13,59,46,0.12);
  --shadow-lg: 0 12px 40px rgba(13,59,46,0.18);
  --shadow-card: 0 2px 12px rgba(13,59,46,0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Outfit','Noto Sans JP',sans-serif;
  --font-body: 'Noto Sans JP','Outfit',-apple-system,BlinkMacSystemFont,sans-serif;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--white-glacier);
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:var(--green-mid); transition:var(--transition); }
a:hover { color:var(--orange); }

/* Header */
header {
  background: var(--green-deep);
  color: var(--white-pure);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo a,
.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white-pure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo a::before,
.logo h1::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--orange);
  border-radius: 2px;
}

.logo a:hover { color: var(--orange); }

#nav-menu ul,
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

#nav-menu ul li a,
.nav-menu a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}

#nav-menu ul li a:hover,
.nav-menu a:hover {
  color: var(--white-pure);
  background: rgba(255,255,255,0.12);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white-pure);
  min-width: 200px;
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu li { list-style: none; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-main);
  font-size: 0.9rem;
}

.nav-dropdown-menu a:hover {
  background: var(--green-deep);
  color: var(--white-pure);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white-pure);
  border-radius: 2px;
  transition: var(--transition);
}

/* Main */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

main h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.news-intro {
  color: var(--text-sub);
  margin-bottom: 2rem;
}

/* News List */
.news-list {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  background: var(--white-pure);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-content {
  padding: 1.5rem 2rem;
}

.news-card-content time {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.news-card-summary {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-source {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.news-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--orange);
  color: var(--white-pure);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.news-link:hover {
  background: var(--orange-hover);
  color: var(--white-pure);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white-pure);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  #nav-menu,
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-deep);
    z-index: 999;
  }

  #nav-menu.active,
  .nav-menu.active { display: block; }

  #nav-menu ul,
  .nav-menu {
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
  }

  #nav-menu ul li,
  .nav-menu li { width: 100%; }

  #nav-menu ul li a,
  .nav-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0,0,0,0.15);
    box-shadow: none;
    border-radius: 0;
    transform: none;
    padding: 0;
    min-width: auto;
  }

  .nav-dropdown.active .nav-dropdown-menu { display: block; }

  .nav-dropdown-menu li a {
    padding-left: 2.5rem;
    color: rgba(255,255,255,0.8);
  }

  .header-container { height: 60px; padding: 0 1rem; }
  main { padding: 1.5rem 1rem; }
  main h1 { font-size: 1.6rem; }
}
