body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#language-select {
  font-size: 16px;
  position: fixed;
  right: 5px;
}

.headPanel {
  background: black;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: fixed; */
  /* top: 700;
  left: 0;
  width: 100%;
  z-index: 1000; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.headPanel nav {
  display: flex;
  align-items: center; /* ロゴとリンクを縦中央揃えに */
  height: 60px; /* ヘッダー全体の高さを制限 */
}

.headPanel nav ul {
  display: flex;
  gap: 20px; /* リンクの間隔 */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.headPanel img {
  height: 50px; /* 必要に応じて調整 */
  width: auto; /* アスペクト比保持 */
  display: block;
  margin: 0; /* 不要な余白排除 */
  padding: 0;
}

.headPanel.scrolled {
  background: black;
  color: black;
  position: fixed;
  top: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0073e6;
}

.hero {
  background: url("../assets/images/sightseeing_topPage_hero.png") no-repeat
    center center/cover;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: pink;
  text-shadow: 0px 2px 4px black;
  font-size: 24px;
  text-align: center;
}

.hero h2 {
  background: rgba(236, 233, 233, 0.881);
  padding: 20px;
  font-size: 36px;
  border-radius: 10px;
}

h2 {
  padding: 10px;
}

.content-container {
  padding: 10px;
  display: flex; /* 横並び */
  justify-content: center; /* 中央揃え */
  gap: 15px; /* 画像の間隔 */
}

.content {
  background: rgb(253, 233, 244);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column; /* 画像とテキストを縦並び */
  align-items: center; /* 画像とテキストを中央揃え */
  text-align: center;
}

.content:hover {
  transform: scale(1.03);
}

.content img {
  width: 100%; /* 親要素の幅に合わせて縮小 */
  max-width: 400px; /* 画像の最大幅 */
  height: auto; /* 縦横比を維持 */
  border-radius: 10px; /* 角を少し丸く */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* 軽い影をつける */
  transition: transform 0.3s ease-in-out;
}

.content-name {
  justify-content: center;
  margin-top: 5px; /* 画像とタイトルの間隔 */
  font-size: 16px; /* 文字サイズ調整 */
  color: #333; /* 文字色調整 */
}

.newssection {
  display: flex;
  padding: 20px;
}

.news-box {
  width: 700px; /* ボックスの幅 */
  height: 200px; /* 高さを固定 */
  border-radius: 10px; /* 角を丸く */
  background-color: #f9f9f9; /* 背景色 */
  padding: 10px; /* 内側の余白 */
  overflow-y: scroll;
}

.news-box p {
  padding: 10px;
  border-bottom: 1px dashed darkgray;
}

.news-box p:last-child {
  border-bottom: none;
}

.newssection a {
  color: black;
}

footer {
  background: silver;
  color: black;
  text-align: center;
  padding: 10px;
}

.footer_container {
  display: flex;
  justify-self: start;
  gap: 25px;
}

.footer_container img {
  width: 100%;
  max-width: 200px;
  height: auto;
  padding: 10px;
}

.menu-toggle {
  display: none;
  background: #00ade64e;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

.nav-mobile {
  display: none;
}

.nav-mobile img {
  height: 50px; /* 必要に応じて調整 */
  width: auto; /* アスペクト比保持 */
  /* display: block; */
  margin: 0; /* 不要な余白排除 */
  padding: 0;
}

.nav-mobile.open {
  display: flex;
}

@media screen and (max-width: 600px) {
  .hero {
    height: 200px;
    font-size: 18px;
  }
  #language-select {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-mobile {
    display: none;
  }

  .nav-mobile.open {
    display: flex;
  }

  .nav-mobile ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    list-style: none;
    margin: 0;
  }

  .nav-mobile li {
    width: 100%;
  }

  .nav-mobile li a {
    display: block;
    width: 100%;
    padding: 10px;
    color: white;
    text-decoration: none;
  }

  .nav-mobile li a:hover {
    background-color: #333;
  }

  .headPanel {
    display: none;
  }

  /* #language-select {
    font-size: 16px;
    position: fixed;
    // top: 30px; 
    right: 5px;
  } */
  .menu-toggle {
    display: block;
    position: fixed;
    top: 2px;
    right: 10px;
    z-index: 2000;
  }

  .nav-mobile {
    display: none;
    flex-direction: column;
    background-color: rgba(32, 25, 25, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    z-index: 1999;
  }

  .nav-mobile.open {
    display: flex;
  }

  .nav-mobile ul {
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-mobile li {
    width: 100%;
    margin-bottom: 20px;
  }

  .nav-mobile li a {
    display: block;
    width: 100%;
    padding: 15px;
    color: white;
    text-decoration: none;
    font-size: 20px;
  }

  .nav-mobile li a:hover {
    background-color: #333;
  }

  body {
    font-size: 14px;
  }

  h1,
  h2,
  h3 {
    font-size: 18px;
  }

  .content-name,
  .news-box {
    font-size: 12px;
  }

  .content-container {
    display: grid;
  }

  .footer_container img {
    width: 90%;
    max-width: 150px;
    height: auto;
    padding: 5px;
  }
}
