/* ========================================
   GO!st. 共通CSS
   ======================================== */

   html {
  overflow-y: scroll;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ==== 基本レイアウト ==== */
body {
  font-family: sans-serif;
  margin: 0;
  background: rgb(168, 255, 247);
  color: #000;
  line-height: 1.6;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  max-width: 900px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ==== ナビゲーション（ヘッダー） ==== */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

nav a {
  display: inline-block;
  margin: 0 8px;
  padding: 6px 10px;
  text-decoration: none;
  color: #0077b6;
  font-weight: bold;
  font-size: 16px;
}

nav a:hover {
  color: #0099cc;
}

nav a:focus {
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}

/* ==== 言語切替（ヘッダー直下・右寄せ） ==== */
.lang-switch {
  max-width: 900px;
  margin: 8px auto 0;
  padding: 0 20px;

  text-align: right;
  font-size: 0.9em;
}

.lang-switch a {
  margin-left: 10px;
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
}

.lang-switch a:hover {
  color: #0099cc;
  text-decoration: underline;
}

.lang-switch .active {
  color: #555;
  pointer-events: none;
}

/* ==== 見出し ==== */
h1, h2 {
  margin-top: 0;
  color: #0077b6;
}

/* ==== 動画 ==== */
.video-box {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==== 汎用ボックス ==== */
.news,
.content-box,
.contact-box {
  margin-top: 30px;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* ==== メンバー ==== */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ==== ボタン ==== */
.download-button,
.email-link {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #0077b6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.download-button:hover,
.email-link:hover {
  background-color: #005f95;
}

/* ==== フッター ==== */
footer {
  margin-top: auto;
  background: #ffffff;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer a {
  color: #0077b6;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* ==== レスポンシブ ==== */
@media (max-width: 480px) {
  .container {
    padding: 16px;
  }

  nav {
    gap: 8px;
    padding: 8px;
  }

  .lang-switch {
    padding: 0 16px;
    font-size: 0.85em;
  }

  .download-button,
  .email-link {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .members {
    grid-template-columns: 1fr;
  }
}
