/* Theme Name: Kyoto Blog */

/* 基本リセットとレイアウト */
body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #333;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ヘッダー */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  margin: 0;
  font-size: 20px;
}
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

/* トップページ */
.hero {
  background: #f4f1ea;
  text-align: center;
  padding: 80px 20px;
}
.concept, .news-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}
.news-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #ddd;
}
.news-list li {
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  gap: 20px;
}
.news-list time {
  color: #777;
}

/* フッター */
.site-footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
}
.footer-info {
  font-size: 14px;
  color: #ccc;
}
.copyright {
  font-size: 12px;
  color: #888;
  margin-top: 24px;
}

/* 固定ページ・お知らせ個別ページ共通 */
.page-main {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  min-height: 50vh;
}
.page-title {
  font-size: 26px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
  margin-bottom: 32px;
}
.single-header time {
  color: #777;
  font-size: 14px;
}
.single-content {
  margin-bottom: 60px;
}
.single-back {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 32px;
}
.single-back a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #333;
}

/* 観光ブログ用カードレイアウト */
.post-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.section-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.post-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
}
.post-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.no-image {
  width: 100%;
  height: 190px;
  background: #eee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.post-body {
  padding: 16px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}
.post-cat {
  background: #4a6b53;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.post-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

/* アーカイブ・404ページ調整 */
.archive-header {
  text-align: center;
  margin-bottom: 40px;
}
.archive-header .section-title {
  margin-bottom: 12px;
}
.archive-desc {
  color: #666;
  font-size: 14px;
}
.error-404 {
  text-align: center;
}
.error-404 p {
  margin-bottom: 40px;
}

/* 個別記事・アフィリエイト枠（最小限） */
.single-thumb {
  margin-bottom: 32px;
}
.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.single-content h2 {
  font-size: 22px;
  border-left: 4px solid #4a6b53;
  padding-left: 12px;
  margin-top: 48px;
}
.single-content h3 {
  font-size: 18px;
  margin-top: 32px;
}
.affiliate-box {
  background: #f9f8f4;
  border: 1px solid #ddd;
  padding: 24px;
  margin: 48px 0;
  text-align: center;
}
.affiliate-title {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 8px;
}
.affiliate-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.affiliate-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.aff-btn {
  display: inline-block;
  background: #4a6b53;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #ddd;
  padding-top: 24px;
  font-size: 14px;
}

/* 個別記事ページ（最小限） */
.single-thumb {
  margin-bottom: 32px;
}
.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.single-content h2 {
  font-size: 22px;
  border-left: 4px solid #4a6b53;
  padding-left: 12px;
  margin-top: 48px;
}
.single-content h3 {
  font-size: 18px;
  margin-top: 32px;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #ddd;
  padding-top: 24px;
  font-size: 14px;
}
