/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic", Meiryo, sans-serif;
  background: linear-gradient(#ffffff, #f5f5f5);
  color: #222;
  line-height: 1.6;
}

/* 共通 */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ヘッダー */
header {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
}

/* ヒーロー */
.hero {
  height: 100vh;
  background: url("../images/main.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
}

/* セクション */
section {
  padding: 80px 0;
  background: #fff;
}

.works {
  background: #f3f3f3;
}

/* ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #eee;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
}

/* レスポンシブ */
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}