/* ===== Google Fonts読み込み ===== */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400&display=swap');

/* 1. ページ全体設定 */
body.about-page {
  background: radial-gradient(circle at top left, rgba(255,255,255,0.1), rgba(0,0,0,0.4)), #000;
  color: #fff;
  overflow-y: auto;
}

/* 2. メイン構成（1カラム） */
.about-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 24px 0px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

/* 3. タイトル */
.about-main h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* 4. 段落 */
.about-main p {
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
  margin-top: 0em;
  margin-bottom: 1.6em;
}

/* 5. 職務経歴の要約ブロック */
.about-history {
  margin-top: 8px;
  padding: 24px;
  border-left: 3px solid #9dc4d7;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.about-history h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #9dc4d7;
}

.about-history p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.7;
}

/* 6. Contactへの誘導ボタン（contact.cssのボタンとデザインを統一） */
.contact-button-link {
  /* レイアウト */
  display: block;
  width: 100%;
  max-width: 300px; /* ボタンの幅を制限し中央寄せ */
  margin: 50px auto 0; /* historyブロックからの間隔を空ける */
  text-align: center;
  text-decoration: none;

  /* スタイル（contact.cssのボタンと共通） */
  background: #9dc4d7;
  color: #000;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  font-weight: bold;
  border-radius: 9999px;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.contact-button-link:hover {
  opacity: 0.8;
}

/* 7. モバイル調整 */
@media (max-width: 768px) {
  /* 固定ヘッダー（80px）の回避措置を margin-top で追加 */
  .about-main {
    margin-top: 80px;
    padding: 40px 20px 60px; /* 120px から 40px に減らし、margin-topと合わせて120px程度の余白を維持 */
  }
  .about-main h1 {
    font-size: 28px;
  }
  .about-main p {
    font-size: 15px;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}