html, body {
  margin: 0;
  padding: 0;
  background: #0a1128;
  color: #f0f4f8;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.65;
}

ul.navi_menu_sample {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  height: 56px;
  font-size: 26px;
  font-weight: bold;
  list-style: none;
  background-color: #13294b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

ul.navi_menu_sample li {
  display: flex;
  align-items: center;
}

/*リンク文字(通常)*/
ul.navi_menu_sample li a 
{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 18px;
  color: #f0f4f8; /*リンク文字色(灰色)*/
  text-decoration: none;
  font-weight: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

/*マウスがリンクに乗った時*/
ul.navi_menu_sample li a:hover 
{
  color: #0a1128; /*文字が白に変わる*/
  background-color: #FFB703; /*背景もオレンジに*/
  border-radius: 6px;
}

a {
  color: #9ac6ff;
  text-decoration: underline;
}

a:hover {
  color: #ffd166;
  text-decoration: underline;
}

.content-panel {
  width: 80%;
  max-width: 960px;
  margin: 30px auto;
  padding: 30px;
  background: rgba(19, 41, 75, 0.85);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.content-panel.text-center {
  text-align: center;
}

.content-panel img {
  border-radius: 8px;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 30px 0;
}

footer {
  text-align: center;
  color: rgba(245, 247, 250, 0.75);
  margin: 40px 0 20px;
}

#navigation {
  position: relative;
}

.language-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 80%;
  max-width: 960px;
  margin: 15px auto;
  gap: 10px;
  font-size: 16px;
}

.language-toggle button {
  background: none;
  border: none;
  color: #f0f4f8;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-toggle button.active {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
}

.language-toggle button:hover {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.08);
}

.language-toggle button:focus {
  outline: 2px solid #ffd166;
  outline-offset: 2px;
}

.language-toggle .separator {
  color: rgba(255, 255, 255, 0.6);
}

.language-content {
  display: none;
}

body.lang-ja #content-ja {
  display: block;
}

body.lang-en #content-en {
  display: block;
}

.heading-en {
  display: none;
}

body.lang-en .heading-en {
  display: block;
}

body.lang-en .heading-ja {
  display: none;
}

.recent-comments {
  text-align: center;
  margin: 40px auto;
  width: 80%;
  max-width: 960px;
}

.recent-comments h2 {
  margin-bottom: 10px;
  font-size: 32px;
  font-family: 'Times block', serif;
}

.recent-comments iframe {
  border: none;
  border-radius: 12px;
  background: rgba(19, 41, 75, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
