/*
Theme Name: Twenty Seventeen Child
Theme URI: https://sworks.conohawing.com/
Description: 子テーマ（Twenty Seventeen のカスタマイズ用）
Author: 正悟
Template: twentyseventeen
Version: 1.0
*/

/* ========== 子テーマ用カスタムCSS ========== */

/* 本文の行間とフォントサイズを少し広めに */
/* 全体のレイアウト */
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f9fafb;
  color: #333;
  line-height: 1.8;
}

.site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* 見出し */
h1, h2, h3 {
  font-weight: 600;
  color: #222;
}
/* 見出しの余白調整 */
h2 {
  margin-top: 1em;   /* 上の余白 */
  font-size: 2rem;
  font-weight: bold;
}

/* 段落も共通で調整 */
p {
  margin-top: 0;
  margin-bottom: 1.5em;
  line-height: 1.8;
}

/* セクションの区切り */
.site-main section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* プロフィールセクション */
.profile {
  text-align: left;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 見出し（このサイトについてと同じスタイル） */
.profile h2 {
  font-size: 1.6rem;
  border-left: 4px solid #0073aa;
  padding-left: 0.6rem;
  margin-bottom: 1rem;
}

/* プロフィール画像を中央寄せ（テキストとは分ける） */
.profile img {
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  max-width: 140px;
}


