@charset "utf-8";
/* ============================================================
   about.css — /about/ 専用スタイル（グローバルclassに非依存）
   CSS変数は style.css の :root を参照
   ============================================================ */

/* ----------------------------------------------------------
   ページ全体レイアウト
   ---------------------------------------------------------- */
.about-page {
  max-width: 660px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   タイトル
   ---------------------------------------------------------- */
.about-page__title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   メタ（日付・著者）
   ---------------------------------------------------------- */
.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.about-meta__dates {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-meta__author {
  color: var(--text-secondary);
}

/* ----------------------------------------------------------
   リード文
   ---------------------------------------------------------- */
.about-lead {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 0 0 40px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   見出し
   ---------------------------------------------------------- */
.about-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--text-primary);
  line-height: 1.4;
}

.about-page h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text-secondary);
}

/* ----------------------------------------------------------
   本文
   ---------------------------------------------------------- */
.about-page p {
  margin: 1.1em 0;
  color: var(--text-primary);
  text-align: justify;
}

.about-page strong {
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   プロフィール（画像＋テキスト）
   ---------------------------------------------------------- */
.about-profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 20px 0 32px;
}

.about-profile__img img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.about-profile__text {
  flex: 1;
  min-width: 0;
}

.about-profile__text p {
  margin-top: 0;
}

@media (max-width: 500px) {
  .about-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ----------------------------------------------------------
   採点基準
   ---------------------------------------------------------- */
.about-scoring {
  display: grid;
  gap: 10px;
  margin: 16px 0 36px;
}

.about-scoring__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.about-scoring__item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-scoring__item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   略歴タイムライン
   ---------------------------------------------------------- */
.about-history {
  list-style: none;
  padding: 0;
  margin: 16px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-history li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-history time {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   カード（サイト情報テーブル用）
   ---------------------------------------------------------- */
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 0;
  margin: 16px 0 32px;
  overflow: hidden;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.about-table th,
.about-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
  color: var(--text-primary);
}

.about-table th {
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 600;
  width: 80px;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}

.about-table a {
  color: var(--accent);
  text-decoration: none;
}

.about-table a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   ボタン
   ---------------------------------------------------------- */
.about-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.about-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  background: var(--accent);
  color: #fff;
}

.about-btn:hover {
  background: var(--accent-hover);
}

.about-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.about-btn--ghost:hover {
  background: var(--card);
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   リスト（terms / privacy で使用）
   ---------------------------------------------------------- */
.about-list {
  padding: 0 0 0 1.4em;
  margin: 0.8em 0 1.2em;
  color: var(--text-primary);
}

.about-list li {
  margin: 0.5em 0;
  line-height: 1.75;
}

.about-list a {
  color: var(--accent);
  text-decoration: none;
}

.about-list a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   本文内リンク
   ---------------------------------------------------------- */
.about-page a {
  /* color: var(--accent); */
  text-decoration: none;
}

.about-page a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   レスポンシブ
   ---------------------------------------------------------- */
@media (max-width: 640px) {
  .about-page {
    padding: 32px 16px 60px;
  }

  .about-page h2 {
    font-size: 17px;
    margin-top: 36px;
  }

  .about-buttons {
    flex-direction: column;
  }

  .about-btn {
    text-align: center;
  }
}
