* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f1f5f9;
  /* 背景を統一 */
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* ヘッダー */
header {
  background-color: #1e293b;
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  text-align: center;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #38bdf8;
}

/* ヒーローセクション */
#hero {
  background: linear-gradient(to right, #38bdf8, #0ea5e9);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0 0 10px 10px;
}

#hero h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.3rem;
}

/* セクション全体（箱スタイルと余白） */
section.container {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin: 40px auto;
}

/* タイトル強調 */
section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0f172a;
  border-left: 6px solid #38bdf8;
  padding-left: 12px;
}

/* リスト形式 */
ul li {
  margin-bottom: 10px;
  padding-left: 1em;
  text-indent: -1em;
}

ul li::before {
  content: '• ';
  color: #38bdf8;
  font-weight: bold;
}

/* プロジェクト - Gridを用いたレスポンシブ対応 */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.project-item h3 {
  margin-bottom: 15px;
  color: #1e293b;
}

/* 動画の余白調整 */
.project-item video {
  margin-bottom: 15px;
  border-radius: 8px;
  /* 動画の角も少し丸める */
}

/* リンクボタン風のスタイル（PDFリンクなどに適用しやすい形） */
.project-item a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.project-item a:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* フッター */
footer {
  background-color: #1e293b;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}