body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  background: #eef3f8;
  color: #222;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* 万博写真＋タイトル */
.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 10px;
}

.hero-title {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: white;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
  text-align: right;
}

.hero-title h1 {
  margin: 0;
  font-size: 2rem;
}

.hero-title p {
  margin: 0;
  font-size: 1.1rem;
}

/* 更新情報 */
.update {
  background: #ffffff;
  padding: 1rem;
  margin-top: 1rem;
  border-left: 6px solid #2a5abf;
  border-radius: 6px;
}

/* コンテンツ一覧 */
.contents {
  background: #ffffff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
}

.content-block {
  margin-bottom: 2rem;
}

.content-block h3 {
  margin-bottom: 0.5rem;
  color: #2a5abf;
}

/* フッター */
.footer {
  text-align: center;
}

.footer-icon {
  width: 22px;
  opacity: 0.45;
  float: right;
  margin: 0 0 0.3rem 0.5rem;
}

/* ============================
   プロフィールページ用
   ============================ */

.profile-photo {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 1.5rem auto;
}

.about-section {
  background: #ffffff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
}

.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: #1e4a9d;
}

.back-home-wrap {
  text-align: center;
  margin: 2rem 0;
}

.about-section h2 {
  margin-top: 0;
  color: #2a5abf;
}

.about-section ul {
  padding-left: 1.2rem;
}

.about-section pre {
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 6px;
}


/* スマホ専用のフォントサイズ・余白調整 */
@media (max-width: 768px) {

  /* 全体の文字サイズと行間 */
  body {
    font-size: 18px;
    line-height: 1.7;
    padding: 0 18px;
  }

  /* 見出しの余白 */
  h1, h2, h3 {
    margin-top: 28px;
    margin-bottom: 16px;
  }

  /* 更新情報ブロックの余白 */
  .update {
    padding: 1.2rem;
    margin-top: 1.5rem;
  }

  .update p,
  .update li {
    margin-bottom: 14px;
  }

  /* コンテンツ一覧の余白 */
  .contents {
    padding: 1.2rem;
    margin-top: 1.5rem;
  }

  .content-block {
    margin-bottom: 2.5rem;
  }

  .content-block h3 {
    margin-bottom: 0.8rem;
  }

  .content-block p {
    margin-bottom: 14px;
  }

  /* ヒーロー画像のタイトル（スマホで少し大きく） */
  .hero-title h1 {
    font-size: 1.6rem;
  }

  .hero-title p {
    font-size: 1.2rem;
  }

  /* フッター直前のマーク（スマホ用） */
  .footer-icon {
    width: 24px;
    opacity: 0.65;
  }

  /* プロフィールページ（スマホ用） */
  .profile-photo {
    max-width: 240px;
  }

  .about-section {
    padding: 1rem;
  }
}

/* 見出し（トップページと同じ） */
h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #2a5abf;
}

/* セクションの白背景 */
section {
  background: #ffffff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
}

/* expo 用 hero-text */
.hero-text {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
  color: white;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
  margin: 0;
  font-size: 1.1rem;
}

/* ホームへ戻るボタン */
.back-home-wrap {
  text-align: center;
  margin-top: 2rem;
}

.back-home {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2a5abf;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

/* 博覧会一覧テーブル */
.expo-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin-top: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.expo-table th {
  background: #2a5abf;
  color: white;
  padding: 0.6rem;
  text-align: left;
}

.expo-table td {
  padding: 0.6rem;
  border-bottom: 1px solid #ddd;
}

.expo-table tr:last-child td {
  border-bottom: none;
}

.expo-table tr:nth-child(even) {
  background: #f5f7fb;
}