/* 공통 헤더 및 네비게이션 스타일 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}


.jp-logo {
  font-size: 35px;
  font-weight: 900;
  font-family: 'Arial Black', 'Noto Sans JP', sans-serif;
  letter-spacing: -2px;
  color: #111;
  transform: skewX(-5deg);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.jp-logo a {
  text-decoration: none;
  color: inherit;
}
nav {
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  font-weight: bold;
  color: #006400;
  transition: color 0.3s;
  text-decoration: none; /* 밑선 제거 */
}

nav ul li a:hover {
  color: #228B22;
  text-decoration: none; /* hover 상태에서도 밑선 제거 */
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #006400;
  margin: 4px 0;
}

/* 햄버거 메뉴의 스타일 */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 60px;
    right: 0;
    width: 220px;
    max-width: 90%;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px 0 0 10px;
    z-index: 1001;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* 섹션 카드 스타일 */
.section-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.section-card img {
  max-width: 100%;
  height: auto;
}

.section-text {
  font-size: 1rem;
  color: #333;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

/* 푸터 스타일 */
.site-footer {
  background: #f9f9f9;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.site-footer .footer-top {
  margin-bottom: 10px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.site-footer .footer-info,
.site-footer .footer-links {
  margin-bottom: 5px;
}

.site-footer a {
  color: #444;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}