#top-page {
  text-align: center;
  padding: 0;
}

/* --- 共通: プロフィール専用ラッパー --- */
.profile-card-wrapper {
  width: 100%;
  background-color: #fff;
  /* border: 2px solid #111; */
  /* box-shadow: 5px 5px 0px rgba(0,0,0,0.2); */
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
  color: #111;
    margin-top: -20px;
}

/* ヘッダー部分は変更なし */
.impact-header {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: #111;
  overflow: hidden;
  z-index: 1;
  border-bottom: 2px solid #111;
}
/* ... (ヘッダーの中身のCSSは前回と同じ) ... */
.header-text-pattern {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  transform: rotate(-10deg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
  pointer-events: none; /* 選択不可 */
}

.scrolling-text {
  font-size: 4rem; /* カラム内なので少し文字サイズを抑えめに */
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  text-align: center;
  word-break: break-all;
  text-transform: uppercase;
}

.header-shadow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.8), inset 0 -10px 20px rgba(0,0,0,0.8);
}

/* --- コンテンツボディ --- */
.profile-body {
  padding: 0 30px 40px; /* 横幅が広いなら少し左右の余白を増やすと綺麗です */
}

/* --- ★ここを修正: ユーザー情報（横並び） --- */
.user-info {
  display: flex;
  flex-direction: row; /* 横並び */
  align-items: flex-start; /* 上揃え（アイコンの突き出しに合わせる） */
  gap: 25px; /* 画像と文字の間隔 */
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  text-align: left; /* テキスト左揃え */
}

/* アイコンコンテナ */
.user-avatar-container {
  margin-top: -60px; /* ヘッダーに食い込ませる */
  flex-shrink: 0; /* 画面が狭くなっても画像を潰さない */
}

.user-avatar-img {
  width: 140px; /* 広めなら少し大きくしてもOK */
  height: 140px;
  object-fit: cover;
  background-color: #fff;
  border: 4px solid #fff;
  outline: 2px solid #111;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* テキスト情報エリア */
.user-details {
  padding-top: 15px; /* アイコンは上に突き出すが、文字はカード内に収めるための余白 */
  flex: 1; /* 残りの幅を全部使う */
}

.user-name {
  font-size: 2.5rem; /* 横並びなら少し大きくても入るはず */
  font-weight: 900;
  margin: 0 0 10px 0;
  line-height: 1;
}

/* SNSリンク */
.social-links {
  margin-bottom: 15px;
  font-weight: bold;
}
.social-link {
  margin-right: 15px; /* 左揃えなので右に余白 */
  margin-left: 0;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
}
.social-link:hover {
  border-bottom: 2px solid #111;
}

/* バッジ（左寄せ） */
.badge-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start; /* 左寄せ */
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 2px solid #111;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  background-color: #fff;
  transition: 0.2s;
}
.badge:hover {
  background-color: #111;
  color: #fff;
}

/* --- 3. コメントエリア --- */
.bio-section {
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: left; /* 本文は左揃え */
}

/* --- 4. 記事一覧 --- */
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  border-bottom: 3px solid #111;
  padding-bottom: 5px;
  margin-bottom: 20px;
  text-align: left;
}

#top-page {
  text-align: center;
  line-height: 1;
}

#top-page .article-list > p {
  text-align: center;
  font-weight:bold;
}


#top-page > ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

#top-page-colmn {
  display: block;
}

.article-list {
  min-width: 50%;
}

#top-page-colmn > div:nth-child(2){
  padding-top: 40px;
}

.newslistInner {
    border-bottom: 2px solid #aaa;
    padding-top: 5px;
    margin-top: 5px;
    text-align: left;
}

.newslistInner .title a{
    color: blue;
    text-decoration: none;
    font-size: 20px;
}

.newslistInner  .time{
    font-size: small;
}

.newslistInner  .content{
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --- レスポンシブ対応（スマホなどの狭い画面用） --- */
/* カラムが広めでも、スマホで見たときは縦並びにした方が安全です */
@media (max-width: 600px) {
  .user-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .user-avatar-container {
    margin-top: -70px; /* スマホならもっと被せてもいい */
  }
  .user-details {
    padding-top: 10px;
  }
  .social-link {
    margin: 0 10px; /* 中央揃え用 */
  }
  .badge-list {
    justify-content: center;
  }
}