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

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background: #f5f5f5;
  color: #333;
  padding: 20px;
}

/* ヘッダー */
header {
  text-align: center;
  margin-bottom: 30px;
}

header a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #007acc;
}

header a:hover {
  text-decoration: underline;
}

/* セクション */
section {
  margin-bottom: 30px;
}

h1, h2 {
  margin-bottom: 15px;
}

/* スクリーンショット */
section img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

section img:hover {
  transform: scale(1.05);
}

/* 技術ポイントリスト */
ul {
  list-style: disc;
  margin-left: 20px;
}

/* カード型レイアウト（ブログ記事風） */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .project-card {
    width: 100%;
  }
}
