* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Noto Sans KR", sans-serif;
  font-weight: 500;
}

/* 상단 고정 헤더 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #4fc3f7; /* 하늘색 */
  color: white;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

header h1 button {
  background: none;
  border: none;
}

header h1 a {
  text-decoration: none;
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
}

header h1 small {
  font-size: 1rem;
  color: #FFA500;
}

/* 본문 전체 영역 - 헤더 아래로 내려오게 */
.travel-section {
  margin-top: 50px; /* 헤더 높이만큼 아래로 */
  padding: 20px;
  background-color: #e1f5fe; /* 연한 하늘색 배경 */
  min-height: 100vh;
}

/* 네비게이션 탭 */
nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #b3e5fc;
  padding: 10px 0;
  border-radius: 10px;
}

nav button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #0277bd;
  border-radius: 5px;
  transition: 0.3s;
}

nav button.active,
nav button:hover {
  background-color: #4fc3f7;
  color: white;
}

/* 콘텐츠 카드 */
.content {
  margin: 20px auto;
  max-width: 700px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.phrase {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-block {
  flex: 1;
}

.jpp {
  font-size: 20px;
  color: #01579b;
}

.romaji {
  font-size: 14px;
  color: #78909c;
}

.krr {
  font-size: 16px;
  color: #333;
}

.play-btn {
  background: #4fc3f7;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.play-btn:hover {
  background: #03a9f4;
}
