  /* 1. コンテンツ全体の幅と中央寄せ */
  .top-container {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 20px;
    text-align: left;
  }

  /* 2. ヒーローセクション（メイン画像） */
  .hero-section {
    text-align: center;
    margin-bottom: 10px;
  }

  .hero-section .caption {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    font-size: 1.3rem !important;
  }

  /* 3. 更新情報（Newsボックス）：ここも背景不要なら transparent に */
  .news-box {
    background: transparent !important;
    padding: 0 0 10px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 25px;
    border-bottom: 1px dashed #7B68EE; /* 区切り線として */
  }

  /* 4. タイル状の並び（グリッドレイアウト） */
  .top-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 40px; /* 背景を見せるために隙間を少し広げました */
    margin-bottom: 40px;
  }

/* 5. 各パネルのデザイン：左側に縦棒を追加 */
  .grid-item {
    background: transparent !important;
    padding: 0 0 10px 15px; /* 左側に15pxの余白を作って棒を置くスペースを確保 */
    text-align: left;
    /* 左側の縦棒設定 */
    border-left: 5px solid #7B68EE; /* 太さ5pxの青紫色の棒 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .grid-item h2 {
    font-size: 1.8rem !important;
    margin-top: 0 !important;
    /* h2の下線は縦棒と干渉するため、あえて消すか、控えめにするのがスマートです */
    border-bottom: none; 
    padding-bottom: 5px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  /* リンクの文字色も青紫系に合わせる */
  .grid-item a.nounder {
    text-decoration: none;
    color: #301972; /* 濃いめの紺紫 */
    font-weight: bold;
    transition: color 0.3s;
  }

  .grid-item a.nounder:hover {
    color: #7B68EE; /* ホバーで明るい青紫に */
  }

  /* リンクの色調整（背景に馴染みつつ読みやすく） */
  .grid-item a.nounder {
    text-decoration: none;
    color: #301972;
    transition: color 0.3s;
  }

  .grid-item a.nounder:hover {
    color: #7B68EE; /* ホバー時に色を変えて反応を出す */
  }

  /* 6. サイトについて（下部）：ここも背景なしに */
  .about-site {
    background: transparent !important;
    border-top: 2px solid #DDD;
    padding: 20px 0;
    margin-top: 40px;
  }


/* --- ヘッダー全体の管理 --- */
.top-header {
    text-align: center;
    padding-top: 5px; 
    padding-bottom: 20px;
}

.top-header h1 {
    font-size: 2.6rem; /* PC版サイズ */
    margin-bottom: 10px;
}

/* 画面が小さい時（スマホ）の設定 */
@media screen and (max-width: 479px) {
    .top-header {
        padding-top: 5px;   /* ここでスマホの上を詰める */
        padding-bottom: 5px;
    }
    .top-header h1 {
        font-size: 1.8rem;  /* スマホ版サイズ */
        margin-bottom: 15px;
    }
}

/* --- ロゴ画像の管理 --- */
.top-logo {
    display: block;
    margin: 0 auto 10px; /* 下に少し隙間 */
    max-width: 75%;
}

@media screen and (max-width: 479px) {
    .top-logo {
        max-width: 85%;
        margin-bottom: 10px;
    }
}


  .update {
    font-size: 1.6rem !important; /* 16px相当に大きく */
    margin-bottom: 20px !important; /* 下の画像との隙間 */
    color: #4D4D4D; /* 読みやすいグレー */
    text-align: left;
  }

/* 7. スマホ（479px以下）用の調整 */
  @media screen and (max-width: 479px) {
    /* スマホ専用の背景画像に切り替え
    */
    body.bgsolar {
      background-image: url(/images/warrior-bg.jpg) !important; 
      background-size: 100% auto !important;
      background-attachment: scroll !important; /* 固定せずスクロールさせる */
      background-position: top center !important;
      /* 縦方向にのみリピートさせる */
      background-repeat: repeat-y !important;
    }

    .top-grid {
      grid-template-columns: 1fr !important; /* スマホは1列 */
      gap: 30px;
    }

    .top-container {
      padding: 15px;
    }

    /* スマホでは縦棒を少し細くしてスッキリさせる */
    .grid-item {
      border-left-width: 4px;
      padding-left: 12px;
    }

    .update {
      font-size: 1.4rem !important; /* スマホでは少しだけ抑える */
      margin-left: 5px; /* 画面端から少し離す */
    }
  }