/* Google Fontsからドット風フォントを読み込み */
@import url('https://googleapis.com');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background-color: #fafafa;
}

/* 見出しだけドット風フォントにする */
h1, h2, .about-label {
  font-family: 'DotGothic16', sans-serif;
  letter-spacing: 0.08em;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #fff;
  border-bottom: 2px solid #333;
  position: sticky; /* スクロールしても上に固定 */
  top: 0;
  z-index: 100;
}

.site-menu {
  display: flex;
  gap: 30px;
  font-family: 'DotGothic16', sans-serif;
}

nav a {
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

nav a:hover {
  color: #e65c5c; /* マウスを乗せると色が変わる */
}

/* トップ部分（方眼紙風のドット背景） */
.top {
  text-align: center;
  padding: 100px 20px;
  background-color: #eef5f8;
  background-image: radial-gradient(#bdd3de 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  border-bottom: 2px solid #333;
}

.top h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* ABOUTセクション */
.about {
  padding-top: 60px;
  padding-bottom: 40px;
}

.about-heading {
  margin-bottom: 30px;
  text-align: center;
}

.about-label {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  margin-bottom: 8px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border: 2px solid #333;
  box-shadow: 6px 6px 0 #333; /* レトロゲーム風の影 */
  padding: 40px;
}

.about-content img {
  width: 220px;
  border: 2px solid #333;
}

/* WORKSセクション */
.works {
  background-color: #f4f4f4;
  padding: 60px 0;
  border-top: 2px solid #333;
}

#works h2 {
  text-align: center;
  margin-bottom: 10px;
}

.works-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 0;
  margin-bottom: 40px;
}

.item-list {
  display: flex;
  padding: 20px 60px 40px;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  gap: 40px;
}

/* 作品1つ1つをカード風にする */
.item-list li {
  flex-shrink: 0;
  width: 260px;
  background-color: #fff;
  border: 2px solid #333;
  box-shadow: 5px 5px 0 #333;
  padding: 15px;
  transition: transform 0.2s;
}

/* マウスを乗せると少し浮き上がる */
.item-list li:hover {
  transform: translateY(-5px);
}

.item-list img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}

.item-list dl {
  margin-top: 15px;
  margin-bottom: 0;
}

.item-list dt {
  font-weight: bold;
  font-size: 16px;
}

.item-list dd {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  margin-left: 0;
}

/* フッター */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-family: 'DotGothic16', sans-serif;
  font-size: 14px;
}