/* ========== リセット ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Georgia", serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.8;
}

/* ========== ヘッダー ========== */
header {
  background: #cc0000;
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
}

header h1 {
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.tagline {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  font-size: 0.88rem;
  transition: background 0.2s;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
}

/* ========== メイン ========== */
main {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 自己紹介ボックス */
.about-box {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-left: 5px solid #cc0000;
}

.about-photo-placeholder {
  width: 120px;
  height: 120px;
  min-width: 120px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  border: 2px dashed #ccc;
}

.about-text p {
  font-size: 0.95rem;
}

/* セクションタイトル */
.section-title {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cc0000;
}

/* 記事カード */
.posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  gap: 0;
}

.post-image-placeholder {
  width: 200px;
  min-width: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  border-right: 2px dashed #ddd;
  padding: 10px;
}

.post-content {
  padding: 20px 24px;
  flex: 1;
}

.post-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: bold;
  background: #fff0f0;
  color: #cc0000;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.post-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.post-date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
}

.post-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}

.read-more {
  display: inline-block;
  color: #cc0000;
  font-size: 0.88rem;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ========== フッター ========== */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
  margin-top: 60px;
}

.footer-note {
  font-size: 0.75rem;
  margin-top: 6px;
}

/* ========== スマホ対応 ========== */
@media (max-width: 600px) {
  header h1 { font-size: 1.6rem; }

  .about-box {
    flex-direction: column;
    text-align: center;
  }

  .post-card {
    flex-direction: column;
  }

  .post-image-placeholder {
    width: 100%;
    min-width: unset;
    height: 120px;
    border-right: none;
    border-bottom: 2px dashed #ddd;
  }
}
