body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ナビゲーションバー rgba(51, 51, 51, 0.8) */
.navbar {
    background-color: rgba(238, 69, 69, 0.8);
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* メニューリンク共通 */
.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
}

/* 右端のJapaneseボタン */
.navbar .lang-button {
    float: right;
    background-color: #444;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* ホームアイコン */
.home-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.home-button {
    padding: 10px 16px;
}

/* ロゴ部分 */
.logo-container {
    width: 100%;
    text-align: center;
    margin-top: 60px;
}

.main-logo {
    width: 100%;
    height: 60%;
    display: block;
    margin: 0 auto;
    object-fit: fill;
}

/* メッセージボックス rgba(0, 0, 0, 0.6); */
.message-box {
    max-width: 900px;
    margin: 40px auto;
    background-color: rgba(114, 106, 80, 0.6);
    color: #0a0a0a;
    padding: 30px 40px;
    border-radius: 15px;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 強調タイトル */
.highlight-title {
    text-align: center;
    font-size: 26px;
    color: #00e6ff;
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 6px rgba(0, 255, 255, 0.8);
    font-weight: bold;
}

/* 中央画像 */
.center-image {
    text-align: center;
    margin: 20px 0;
}

.custom-image {
    max-width: 80%;
    height: auto;
    display: inline-block;
}

/* 強調見出し（既存） */
.highlight-title {
  text-align: center;
  font-size: 26px;
  color: #00e6ff;
  margin-top: 30px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 6px rgba(0, 255, 255, 0.8);
  font-weight: bold;
}

/* 新しいセクション見出しの強調 */
.section-title {
  text-align: center;
  margin: 36px 0 16px;
  font-weight: 800;
  text-transform: none;
  line-height: 1.3;
}

/* 色とサイズ（見出しごとに変える） */
.section-title.gidm {          /* Game Integration and Data Management */
  color: #ffb84d;             /* 暖色で目立たせる */
  font-size: 24px;
  text-shadow: 0 0 8px rgba(255, 184, 77, 0.6);
}
.section-title.pdap {          /* Player Data Analysis and Promotion */
  color: #7CFC00;              /* ライム系で差別化 */
  font-size: 24px;
  text-shadow: 0 0 8px rgba(124, 252, 0, 0.6);
}

/* 中央画像（共通） */
.center-image { text-align: center; margin: 14px 0 22px; }
.promo-image  { max-width: 360px; width: 60%; height: auto; display: inline-block; }

/* サムネイル行（中央横並び） */
.thumb-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.thumb {
  max-width: 280px;
  width: 46vw;          /* 画面が狭い時にも収まるように */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.thumb:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* CONTACTページ専用 */
.contact-container {
  text-align: center;
  margin-top: 40px;
  color: #f2f2f2;
}

.contactus-image {
  max-width: 500px;
  width: 70%;
  height: auto;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

/* Contact情報（ボックス付き） */
.contact-text {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒背景 */
  border: 2px solid #FFD700;            /* ゴールド枠 */
  border-radius: 15px;                  /* 角丸 */
  padding: 20px 40px;                   /* 内側の余白 */
  margin-top: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); /* 柔らかい光を追加 */
}

.contact-text p {
  font-size: 28px;
  font-weight: bold;
  color: #FFD700; /* ゴールド文字 */
  text-shadow: 1px 1px 6px rgba(255, 215, 0, 0.5);
  margin: 0; /* デフォルトの段落余白を削除 */
  line-height: 1.6;
}

/* 強調メッセージ（index.html専用） */
.footer-message {
  text-align: center;
  margin: 60px auto 80px;
  padding: 30px 40px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.6);  /* 半透明の黒背景 */
  border: 2px solid #FFD700;             /* ゴールドの枠線 */
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.footer-message p {
  font-size: 26px;                      /* 通常より大きめの文字 */
  color: #FFD700;                       /* ゴールド文字 */
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 1px 1px 8px rgba(255, 215, 0, 0.6);
  margin: 0;
}

  .logo-wrap {
      display: block;                 /* ブロック化することでmarginが効く */
      margin: 40px auto;              /* 左右を自動で中央寄せにする */
      padding: 5px;
      border-radius: 12px;
      width: fit-content;             /* 画像のサイズに合わせる */
      box-shadow: 
          0 0 30px 15px rgba(0, 255, 255, 0.7),
          0 0 10px 5px rgba(0, 255, 255, 0.5);
  }

  .logo-wrap img {
      display: block;
      max-width: 300px;  /* 必要なら調整 */
      height: auto;
  }
