/* ベーススタイル */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #fdfaf8; /* オフホワイトで清潔感 */
  padding-top: 30px;
}

/* リンクカラー */
a {
  color: #a08989;  /* くすみブラウンピンク */
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #7b5e5e;
}

/* グローバルナビ（ヘッダー） */
.global-nav {
  background-color: #f5f2f0;
  border-bottom: 1px solid #e4dcdc;
  padding: 12px 0;
}
.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: inline-block;
  background: #ffffff;
  color: #7b5e5e;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.global-nav a:hover {
  background-color: #f2e8e8;
}

/* 記事余白と整えた見出し */
.entry-content {
  padding: 20px;
}
.entry-content > * {
  margin-bottom: 24px;
}

/* H2・H3見出し */
.entry-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 5px solid #d8a7a7; /* くすみピンク */
  color: #7b5e5e;
  font-weight: bold;
}
.entry-content h3 {
  font-size: 17px;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 3px solid #e8dcdc;
  color: #7b5e5e;
  font-weight: bold;
}

/* 画像や下部スペース */
.entry-content img {
  margin: 16px 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.footer {
  margin-top: 40px;
  padding: 20px;
  font-size: 14px;
  color: #999;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding-top: 20px;
  }

  .global-nav a {
    font-size: 13px;
    padding: 5px 12px;
  }

  .entry-content {
    padding: 15px;
  }
/* スマホ表示のときにh2の文字サイズを小さくする */
@media screen and (max-width: 768px) {
  h2 {
    font-size: 1.3em;  /* 必要に応じて1.4emや1.5emに変更可 */
    line-height: 1.4;
  }
}
}
/* パソコン用の文字サイズ */
body {
  font-size: 18px;
}

/* スマホ用の文字サイズ */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }
}

