/* ヘッダー */


.site-header {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-header-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}


/* 海外旅行履歴ページ専用スタイル */

.hero-sub {
  background: linear-gradient(to right, #2a5abf, #4a7bd0);
  color: white;
  padding: 2rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.hero-sub h1 {
  margin: 0;
  font-size: 2rem;
}

.hero-sub p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* 索引ナビゲーション */
.travel-index {
  max-width: 900px;
  margin: 1.5rem auto 0;
  background: #ffffff;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  border: 1px solid #dde3f0;
}

.travel-index-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a5abf;
  margin: 0 0 0.4rem;
}

.travel-index ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.travel-index li {
  margin: 0;
}

.travel-index a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef3f8;
  color: #2a5abf;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.travel-index a:hover {
  background: #2a5abf;
  color: #fff;
}

/* 時期見出し行 */
.period-row th {
  background: #dbe6ff;
  color: #1f3c80;
  font-weight: 600;
  padding: 0.6rem;
  border: 1px solid #bcc8e5;
}

/* 既存のtravel-listなどはそのまま活用 */

.travel-list {
  background: #ffffff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
}

.travel-list h2 {
  color: #2a5abf;
  margin-bottom: 1rem;
}

.travel-table {
  width: 100%;
  border-collapse: collapse;
}

.travel-table th, .travel-table td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: left;
}

.travel-table th {
  background: #eef3f8;
  color: #333;
}

.travel-table tr:nth-child(even) {
  background: #f9fbfd;
}

details summary {
  cursor: pointer;
  color: #2a5abf;
}

/* 戻るボタン */

.day-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #2a5abf;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #1f4690;
}


.back-home {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #2a5abf;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.back-home:hover {
  background: #1f4690;
}
