/* u16tanaka.com 拠点ページ用（2026-11-14）。style.css（A案）に足す分だけ。
   /guide/ のスレッドと同じファイルを触らないため、別ファイルにしている */

/* ヘッダーのナビ */
.site-head .in { flex-wrap: wrap; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--full); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4em; }
.nav .head-cta { margin-left: 4px; }

/* 記事の一覧 */
.posts { list-style: none; padding: 0 !important; margin: 0 0 1em; display: grid; gap: 10px; }
.posts li { margin: 0; }
.posts a {
  display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--rule);
  border-radius: 10px; padding: 14px 18px; text-decoration: none; color: var(--ink);
}
.posts a:hover { border-color: var(--ink); color: var(--ink); }
.posts .t { font-weight: 700; line-height: 1.55; }
.posts .m { font-size: 13px; color: var(--sub); }
.more { font-size: 14px; font-weight: 700; }

/* プロフィール */
.prof { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; }
.prof img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.prof .name { font-size: 20px; font-weight: 900; margin: 0 0 2px; line-height: 1.4; }
.prof .name small { font-size: 14px; font-weight: 500; color: var(--sub); margin-left: 8px; }
.prof .role { font-size: 14px; color: var(--sub); margin: 0 0 12px; }

/* 経歴などの表 */
.facts { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0; margin: 0 0 1em; border-top: 1px solid var(--rule); }
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 14px; color: var(--sub); font-weight: 700; }

/* 実績のカード */
.works { display: grid; gap: 12px; margin: 0 0 1em; }
.work { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; }
.work h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.5; }
.work p { margin: 0 0 0.5em; }
.work p:last-child { margin-bottom: 0; }

/* 下書きの空欄（本番の前に全部埋めて消す） */
.todo { background: #fff3cd; color: #5c4400; border-radius: 4px; padding: 0 4px; font-size: 0.92em; }

@media (max-width: 720px) {
  .nav { width: 100%; gap: 4px 16px; }
  .prof { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
}

/* SNS のアイコン（Substack・X・Threads は Simple Icons、CC0。note は公式の「n」アイコンを正方形で使う。ガイドライン: SNS アイコンと並べるときは正方形） */
.links.sns a { display: inline-flex; align-items: center; gap: 8px; }
.links.sns .ico { width: 18px; height: 18px; flex: none; }
.links.sns .ico-n { width: 22px; height: 22px; margin: -2px; border: 1px solid var(--rule); border-radius: 5px; }
