@charset "UTF-8";

/* =============================
   ブログ一覧ページ専用 CSS
   ============================= */

html {
    font-size: 100%;
}
body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* レイアウト */
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
.align-center {
    text-align: center;
}

/* 見出し */
.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}


  /* ヘッダー
------------------------------- */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}

/* --- ページ全体の余白（ロゴが重ならないように） --- */
.blog-list {
  padding-top: 140px;
  padding-bottom: 60px;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

/* --- 見出し --- */
.blog-list h2 {
  font-size: 32px;
  margin-bottom: 32px;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
}

/* --- 記事リスト --- */
#blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

/* --- 記事カード --- */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* --- サムネイル画像 --- */
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* --- カード内容 --- */
.blog-card-content {
  padding: 16px 20px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
}

/* =============================
   スマホ表示（〜768px）
  ============================= */
@media screen and (max-width: 768px) {

  .page-header-space {
    padding-top: 160px; /* ← ロゴ＋ナビの高さに合わせて調整 */
  }

  .blog-list {
    padding-top: 110px;
    width: 92%;
  }

  #blog-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card img {
    height: 150px;
  }

  .blog-card-content {
    padding: 14px 16px;
  }

  .blog-card-title {
    font-size: 16px;
  }

  .logo {
    width: 100px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .main-nav li a {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

 .page-header {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 6px;
    
  }

}



/* デスクトップ版
------------------------------- */
@media (min-width: 800px) {}
    /* 見出し */
    .page-title {
        font-size: 5rem;
    }
    .heading-large {
        font-size: 2rem;
    }

    /* ヘッダー */
    .page-header {
        display: flex;
        justify-content: space-between;
        padding-top: 1.5rem;
    }
    .main-nav {
        font-size: 1rem;
    }

    /* ==== ロゴに白シャドウ ==== */
.logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.8));
}


/* フッター
------------------------------- */

.footer {
  text-align: center;
  font-size: 14px;
  color: #777;
  padding: 30px 0;
  border-top: 1px solid #eee;
  background: #fafafa;
}