/* ============================
   ヒーローヘッダー（トップ画像＋中央タイトル）
   ============================ */

.hero-header {
  position: relative;
  width: 100%;
  height: 320px;
  background-image: url("../image/top-BazziteOS-image.jpg"); /* ←これが正しい */
  background-size: cover;
  background-position: center;
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .hero-header {
    height: 220px;
  }
  .hero-header h1 {
    font-size: 1.6rem;
  }
}

/* ============================
   基本レイアウト
   ============================ */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #222;
}

.site-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  background: #fff;
}

/* ============================
   ヘッダー
   ============================ */

header {
  margin-bottom: 24px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

header h1 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

header p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* ============================
   記事内テキスト
   ============================ */

article h1 {
  font-size: 1.6rem;
  margin-top: 0;
}

h2 {
  font-size: 1.3rem;
  margin-top: 2.2em;
  border-left: 4px solid #0078d4;
  padding-left: 8px;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1.2em 1.4em;
}

li {
  margin-bottom: 0.3em;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 2em 0;
}

a {
  color: #0078d4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================
   記事内画像
   ============================ */

.article-main-image,
.article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================
   フッター
   ============================ */

footer {
  margin-top: 32px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

footer {
  text-align: center;
  padding: 1rem 0;
}

